/* ============================================
   DESIGN TOKENS — INDIE WARM
   ============================================ */
:root {
  --bg: #0e0e0e;
  --bg-warm: #121110;
  --surface: #1a1917;
  --surface-hover: #242320;
  --accent: #e07a5f;        /* terracotta */
  --accent-soft: rgba(224, 122, 95, 0.15);
  --accent2: #81b29a;       /* sage green */
  --accent2-soft: rgba(129, 178, 154, 0.15);
  --accent3: #c9b1ff;       /* soft lavender */
  --text: #f2e9e4;
  --text-dim: #b8b0a8;
  --muted: #6b6560;
  --border: rgba(242, 233, 228, 0.08);
  --border-hover: rgba(242, 233, 228, 0.15);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-hand: 'Caveat', cursive;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-pill: 100px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
  --nav-height: 72px;
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg);
}

html::-webkit-scrollbar { width: 5px; }
html::-webkit-scrollbar-track { background: var(--bg); }
html::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  font-size: clamp(15px, 1.5vw, 17px);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: var(--accent2); }

img { max-width: 100%; display: block; }

::selection {
  background: var(--accent);
  color: var(--bg);
}

em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
}

strong {
  color: var(--text);
  font-weight: 600;
}

/* ============================================
   GRAIN OVERLAY
   ============================================ */
#grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* ============================================
   FLOATING BLOBS
   ============================================ */
.blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.07;
  animation: blobFloat 20s ease-in-out infinite;
}

.blob--1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -10%;
  right: -10%;
  animation-delay: 0s;
}

.blob--2 {
  width: 500px;
  height: 500px;
  background: var(--accent2);
  bottom: -10%;
  left: -10%;
  animation-delay: -7s;
}

.blob--3 {
  width: 400px;
  height: 400px;
  background: var(--accent3);
  top: 40%;
  left: 30%;
  animation-delay: -14s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 40px) scale(0.95); }
  75% { transform: translate(30px, 20px) scale(1.03); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 64px);
  z-index: 1000;
  transition: transform var(--transition), background var(--transition);
}

.nav.scrolled {
  background: rgba(14, 14, 14, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav.hidden { transform: translateY(-100%); }

.nav__logo {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--text);
  letter-spacing: -0.5px;
}

.nav__logo:hover { color: var(--accent); }

.nav__links {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
}

.nav__link {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.2px;
  position: relative;
  padding: 4px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--transition);
  border-radius: 1px;
}

.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }
.nav__link.active { color: var(--accent); }
.nav__link.active::after { width: 100%; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.nav__hamburger.open span:first-child {
  transform: rotate(45deg) translate(3px, 3px);
}

.nav__hamburger.open span:last-child {
  transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: clamp(32px, 8vw, 48px);
  color: var(--text-dim);
  transition: color var(--transition);
}

.mobile-menu__link:hover { color: var(--accent); }

/* ============================================
   SECTIONS (SHARED)
   ============================================ */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 12vh, 140px) clamp(24px, 5vw, 64px);
}

.section__container {
  max-width: 1100px;
  margin: 0 auto;
}

.section__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  position: relative;
  padding-left: 32px;
}

.section__label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: clamp(32px, 4vh, 48px);
}

.section__title em {
  font-style: italic;
}

/* Reveal animations */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-text.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
}

.btn--primary:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(224, 122, 95, 0.2);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--full { width: 100%; justify-content: center; }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  width: 100%;
  max-width: 1500px;
}

.hero__content {
  max-width: 800px;
}

.hero__greeting {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--accent);
  font-weight: 400;
  margin-bottom: 12px;
  font-family: var(--font-hand);
  font-size: clamp(22px, 3vw, 30px);
}

.hero__name {
  font-family: var(--font-display);
  font-weight: 400;
  margin-bottom: 24px;
}

.hero__name-line {
  display: block;
  font-size: clamp(48px, 8vw, 90px);
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text);
}

.hero__dot {
  color: var(--accent);
}

.hero__tagline {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-dim);
  max-width: 550px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero__em {
  color: var(--accent2);
  font-family: var(--font-hand);
  font-size: 1.15em;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Constellation */
.hero__constellation {
  position: relative;
  width: calc(100% + 60px);
  height: clamp(400px, 60vh, 650px);
  margin: -40px -30px -40px 0;
  overflow: visible;
  background: transparent;
}

#constellation-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__constellation-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
  padding: 6px 16px;
  background: rgba(14, 14, 14, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  opacity: 0.7;
  transition: opacity var(--transition);
  white-space: nowrap;
  font-family: var(--font-body);
  pointer-events: none;
  animation: hintFadeInOut 6s ease-in-out forwards;
}

@keyframes hintFadeInOut {
  0% { opacity: 0; transform: translateX(-50%) translateY(6px); }
  15% { opacity: 0.8; transform: translateX(-50%) translateY(0); }
  70% { opacity: 0.8; }
  100% { opacity: 0; }
}

.hero__constellation-hint-icon {
  color: var(--accent);
  font-size: 10px;
  animation: twinkleHint 2s ease-in-out infinite;
}

@keyframes twinkleHint {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.hero__scroll-text {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  position: relative;
  z-index: 1;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee__content {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  flex-shrink: 0;
}

.marquee__content span {
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 18px);
  color: var(--text-dim);
  white-space: nowrap;
  letter-spacing: -0.3px;
  text-transform: lowercase;
}

.marquee__star {
  color: var(--accent) !important;
  font-size: 10px !important;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* ============================================
   ABOUT
   ============================================ */
.about__layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.about__photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transform: rotate(-2deg);
  transition: transform var(--transition);
  background: var(--surface);
  padding: 12px 12px 40px;
}

.about__photo-frame:hover {
  transform: rotate(0deg);
}

.about__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(20%) contrast(1.05);
  transition: filter var(--transition);
}

.about__photo-frame:hover .about__photo {
  filter: grayscale(0%) contrast(1.1);
}

.about__sticker {
  position: absolute;
  font-family: var(--font-hand);
  font-size: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: transform var(--transition);
}

.about__sticker--1 {
  top: 16px;
  right: -8px;
  background: var(--accent);
  color: var(--bg);
  transform: rotate(12deg);
}

.about__sticker--2 {
  bottom: 50px;
  left: -12px;
  background: var(--accent2);
  color: var(--bg);
  transform: rotate(-8deg);
}

.about__photo-frame:hover .about__sticker--1 { transform: rotate(6deg) scale(1.05); }
.about__photo-frame:hover .about__sticker--2 { transform: rotate(-4deg) scale(1.05); }

.about__caption {
  font-family: var(--font-hand);
  font-size: 18px;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
  transform: rotate(-1deg);
}

.handwritten {
  font-family: var(--font-hand);
}

.about__body p {
  color: var(--text-dim);
  margin-bottom: 16px;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.about__stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 48px);
  color: var(--accent);
  display: block;
  line-height: 1;
}

.about__stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  display: block;
}

/* ============================================
   PHILOSOPHY
   ============================================ */
.philosophy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.philosophy__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.philosophy__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.philosophy__card:hover::before { transform: scaleX(1); }

.philosophy__card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.philosophy__num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--accent-soft);
  display: block;
  margin-bottom: 16px;
  line-height: 1;
  color: rgba(224, 122, 95, 0.2);
}

.philosophy__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 400;
}

.philosophy__text {
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 14px;
}

/* ============================================
   WORK / PROJECTS
   ============================================ */
.work__gallery {
  display: flex;
  gap: 24px;
  padding: 0 clamp(24px, 5vw, 64px);
  padding-top: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.work__gallery::-webkit-scrollbar { display: none; }
.work__gallery:active { cursor: grabbing; }

.work-card {
  flex: 0 0 clamp(300px, 40vw, 420px);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.work-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.work-card__cover {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card__cover-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}

.work-card:hover .work-card__cover-bg {
  transform: scale(1.05);
}

.work-card__cover-icon {
  font-size: 48px;
  opacity: 0.6;
}

.work-card__cover-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--surface), transparent);
}

.work-card__body {
  padding: 24px;
}

.work-card__category {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 8px;
  display: block;
}

.work-card__title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--text);
}

.work-card__desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.work-card__tag {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
  color: var(--accent);
  letter-spacing: 0.3px;
}

.work-card__links {
  display: flex;
  gap: 16px;
}

.work-card__link {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.work-card__link:hover { color: var(--accent); }

/* Drag hint */
.work__hint {
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================
   SKILLS — TAG CLOUD
   ============================================ */
.skills__cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  font-size: 14px;
  cursor: default;
  transition: all var(--transition);
  white-space: nowrap;
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.skill-tag--lg {
  font-size: 16px;
  padding: 12px 24px;
  font-weight: 500;
  color: var(--text);
}

.skill-tag--accent {
  border-color: var(--accent);
  color: var(--accent);
}

.skill-tag--accent:hover {
  background: var(--accent);
  color: var(--bg);
}

.skill-tag--accent2 {
  border-color: var(--accent2);
  color: var(--accent2);
}

.skill-tag--accent2:hover {
  background: var(--accent2);
  color: var(--bg);
}

.skill-tag__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

/* ============================================
   JOURNEY / TIMELINE
   ============================================ */
.journey__timeline {
  max-width: 700px;
  position: relative;
}

.journey__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding-bottom: 48px;
  position: relative;
}

.journey__item:last-child { padding-bottom: 0; }

.journey__item::after {
  content: '';
  position: absolute;
  left: 136px;
  top: 8px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.journey__item:last-child::after { display: none; }

.journey__year {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--accent);
  padding-top: 4px;
  text-align: right;
  letter-spacing: -0.3px;
}

.journey__body {
  position: relative;
  padding-left: 32px;
}

.journey__body::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
  z-index: 1;
}

.journey__role {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text);
  font-weight: 400;
  margin-bottom: 2px;
}

.journey__company {
  font-size: 14px;
  color: var(--accent2);
  margin-bottom: 10px;
}

.journey__desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

.journey__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.journey__tag {
  font-size: 11px;
  padding: 3px 10px;
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
  color: var(--accent);
}

/* ============================================
   CONTACT
   ============================================ */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact__heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 20px;
}

.contact__sub {
  color: var(--text-dim);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  font-size: 13px;
  transition: all var(--transition);
}

.contact__pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.contact__pill-icon { font-size: 14px; }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact__label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}

.contact__input {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: all var(--transition);
  outline: none;
  resize: none;
}

.contact__input::placeholder { color: var(--muted); }

.contact__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.contact__textarea { min-height: 120px; }

.contact__status {
  font-size: 14px;
  padding: 14px 18px;
  border-radius: var(--radius);
  display: none;
}

.contact__status.success {
  display: block;
  background: var(--accent2-soft);
  border: 1px solid var(--accent2);
  color: var(--accent2);
}

.contact__status.error {
  display: block;
  background: rgba(220, 80, 80, 0.1);
  border: 1px solid #dc5050;
  color: #dc5050;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  z-index: 1;
  padding: 40px clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--border);
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__text {
  font-family: var(--font-hand);
  font-size: 18px;
  color: var(--text-dim);
}

.footer__copy {
  font-size: 12px;
  color: var(--muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__constellation {
    height: 280px;
  }

  .about__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__photo-frame {
    max-width: 300px;
    margin: 0 auto;
  }

  .about__text-col { text-align: center; }
  .about__stats { text-align: center; }
  .section__label { text-align: center; margin: 0 auto 16px; display: block; }

  .philosophy__grid {
    grid-template-columns: 1fr;
  }

  .contact__layout {
    grid-template-columns: 1fr;
  }

  .work-card {
    flex: 0 0 85vw;
  }

  .journey__item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-left: 24px;
  }

  .journey__year { text-align: left; }
  .journey__item::after { left: 4px; }
  .journey__body { padding-left: 0; }
  .journey__body::before { left: -28px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .about__stats { grid-template-columns: 1fr; gap: 16px; }

  .hero__name-line {
    font-size: clamp(36px, 12vw, 60px);
  }

  .hero__constellation {
    height: 220px;
  }

  .footer__inner { flex-direction: column; gap: 8px; text-align: center; }
}
