/* ============================================
   STUDIO NGAI — Homepage styles
   Builds on tokens.css
   ============================================ */

html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

/* Hide native cursor when custom cursor is active */
body.has-custom-cursor,
body.has-custom-cursor * { cursor: none !important; }

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 200ms var(--ease-out);
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  border-radius: 99px;
  background: var(--paper);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px; height: 36px;
  border-radius: 99px;
  border: 1px solid var(--paper);
  transform: translate(-50%, -50%);
  transition: width 300ms var(--ease-out), height 300ms var(--ease-out), border-radius 300ms var(--ease-out), background 200ms var(--ease-out), opacity 200ms var(--ease-out);
}
.cursor-ring.hover {
  width: 80px; height: 80px;
  border-color: transparent;
  background: rgba(246, 243, 236, 0.10);
}
.cursor-ring.hover.has-label {
  width: auto; height: auto;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--paper);
  mix-blend-mode: normal;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cursor-ring .label { white-space: nowrap; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
  body.has-custom-cursor, body.has-custom-cursor * { cursor: auto !important; }
}

/* ============================================
   TOP NAV
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px clamp(20px, 4vw, 56px);
  transition: background 400ms var(--ease-out), backdrop-filter 400ms var(--ease-out);
}
.nav.scrolled {
  background: rgba(246, 243, 236, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
}
.nav.on-dark { color: var(--paper); }
.nav.on-dark.scrolled {
  background: rgba(26, 24, 22, 0.78);
  border-bottom-color: rgba(246, 243, 236, 0.12);
}
.nav .word {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.01em;
  line-height: 1;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.nav .word .it { font-style: italic; }
.word { font-family: var(--font-display); letter-spacing: -0.01em; white-space: nowrap; }
.word .it { font-style: italic; }
.nav .links {
  display: flex; gap: clamp(20px, 3vw, 48px);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  color: inherit;
}
.nav .links a {
  color: inherit; text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: opacity 200ms var(--ease-out);
}
.nav .links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: currentColor; transition: width 400ms var(--ease-out);
}
.nav .links a:hover::after { width: 100%; }
.nav .cta {
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 500;
  background-color: var(--ink); color: var(--paper);
  border: none;
  padding: 14px 22px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  transition: transform 200ms var(--ease-out);
  will-change: transform;
  white-space: nowrap;
}
.btn-pill { white-space: nowrap; }
.nav.on-dark .cta { background-color: var(--paper); color: var(--ink); }
.nav .cta:hover { background-color: var(--moss); color: var(--paper); }
.nav.on-dark .cta:hover { background-color: var(--garnet); color: var(--paper); }
.nav .cta .arrow { width: 12px; height: 12px; transition: transform 300ms var(--ease-out); }
.nav .cta:hover .arrow { transform: translate(2px, -2px); }

/* ============================================
   HERO (shared)
   ============================================ */
.hero { position: relative; }
.eyebrow-row { display: flex; align-items: center; gap: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); }
.eyebrow-row.on-dark { color: rgba(246, 243, 236, 0.65); }
.eyebrow-row::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: 0.5; }

/* Big button (used across heroes) */
.btn-pill {
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 500;
  padding: 16px 28px;
  border-radius: 999px;
  border: none;
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
  transition: all 250ms var(--ease-out);
  will-change: transform;
  cursor: none;
}
.btn-pill .arrow { width: 14px; height: 14px; transition: transform 300ms var(--ease-out); }
.btn-pill:hover .arrow { transform: translate(2px, -2px); }
.btn-pill.primary { background: var(--ink); color: var(--paper); }
.btn-pill.primary:hover { background: var(--moss); }
.btn-pill.secondary { background: transparent; color: var(--ink); border: 1px solid rgba(26,24,22,0.25); }
.btn-pill.secondary:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-pill.on-dark.primary { background: var(--paper); color: var(--ink); }
.btn-pill.on-dark.primary:hover { background: var(--garnet); color: var(--paper); }
.btn-pill.on-dark.secondary { color: var(--paper); border-color: rgba(246,243,236,0.3); }
.btn-pill.on-dark.secondary:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---------- Variant A — Editorial ---------- */
.hero-a {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 120px clamp(20px, 4vw, 56px) 80px;
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Animated background: drifting gradient orbs + a floating brand monogram */
.hero-a .hero-canvas { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-a .orb {
  position: absolute; border-radius: 50%;
  filter: blur(70px); will-change: transform;
}
.hero-a .orb-1 {
  width: clamp(360px, 46vw, 720px); aspect-ratio: 1;
  right: -8vw; top: 4%;
  background: radial-gradient(circle at 35% 35%, rgba(122, 46, 44, 0.16), transparent 70%);
  animation: orb-drift-1 24s var(--ease-in-out) infinite alternate;
}
.hero-a .orb-2 {
  width: clamp(320px, 40vw, 620px); aspect-ratio: 1;
  left: -10vw; bottom: -10%;
  background: radial-gradient(circle at 50% 50%, rgba(44, 74, 58, 0.14), transparent 70%);
  animation: orb-drift-2 30s var(--ease-in-out) infinite alternate;
}
@keyframes orb-drift-1 { to { transform: translate(-46px, 34px) scale(1.12); } }
@keyframes orb-drift-2 { to { transform: translate(40px, -30px) scale(1.1); } }
.hero-a .hero-glyph {
  position: absolute; right: clamp(0px, 3vw, 80px); bottom: -10%;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(340px, 40vw, 640px);
  line-height: 0.8;
  color: var(--moss);
  opacity: 0.05;
  pointer-events: none;
  animation: glyph-float 16s var(--ease-in-out) infinite alternate;
}
@keyframes glyph-float { to { transform: translateY(-26px); } }

/* Staggered entrance */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
.hero-a .rise {
  opacity: 0;
  animation: hero-rise 0.9s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 0.09s + 0.1s);
}
.hero-a .headline .h-line { display: block; }
.hero-a::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 1100px 700px at 90% 30%, rgba(122, 46, 44, 0.07), transparent 70%),
    radial-gradient(ellipse 800px 600px at 10% 100%, rgba(44, 74, 58, 0.05), transparent 70%);
  pointer-events: none;
}
.hero-a > * { position: relative; z-index: 1; }
.hero-a .head {
  max-width: 1180px;
}
.hero-a .headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin-top: 36px;
  color: var(--ink);
  text-wrap: balance;
}
.hero-a .headline .it { font-style: italic; color: var(--garnet); }
.hero-a .lede {
  margin-top: 40px;
  max-width: 640px;
  font-size: 19px; line-height: 1.5;
  color: var(--ink-soft);
}
.hero-a .ctas { margin-top: 48px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-a .footrow {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  right: clamp(20px, 4vw, 56px);
  bottom: 56px;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.hero-a .city {
  text-align: right;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.hero-a .city .coords {
  display: block; margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--clay);
}
.hero-a .scroll-hint {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--clay);
  display: flex; align-items: center; gap: 12px;
}
.hero-a .scroll-hint .line {
  width: 32px; height: 1px; background: var(--clay);
  animation: scroll-pulse 2.4s var(--ease-in-out) infinite;
  transform-origin: left;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleX(0.5); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* ---------- Variant B — Cinematic full-bleed ---------- */
.hero-b {
  min-height: 100vh;
  background: var(--moss-deep);
  color: var(--paper);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 120px clamp(20px, 4vw, 56px) 80px;
  text-align: center;
}
.hero-b::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 700px at 80% 20%, rgba(122, 46, 44, 0.30), transparent 70%),
    radial-gradient(ellipse 700px 500px at 15% 85%, rgba(44, 74, 58, 0.55), transparent 70%);
  pointer-events: none;
}
.hero-b::after {
  /* subtle film grain */
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 23% 17%, rgba(255,255,255,0.02) 0, transparent 2px),
    radial-gradient(circle at 67% 73%, rgba(255,255,255,0.02) 0, transparent 2px),
    radial-gradient(circle at 89% 39%, rgba(255,255,255,0.02) 0, transparent 2px),
    radial-gradient(circle at 12% 91%, rgba(255,255,255,0.02) 0, transparent 2px);
  background-size: 120px 120px;
  opacity: 0.8;
  pointer-events: none;
}
.hero-b > * { position: relative; z-index: 1; }
.hero-b .hero-b-eyebrow {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(246, 243, 236, 0.55);
  margin-bottom: 56px;
  display: flex; align-items: center; gap: 16px;
  white-space: nowrap;
}
.hero-b .hero-b-eyebrow::before, .hero-b .hero-b-eyebrow::after {
  content: ""; width: 56px; height: 1px;
  background: rgba(246, 243, 236, 0.4);
}
.hero-b .moment {
  font-family: var(--font-display);
  font-size: clamp(60px, 9vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  max-width: 18ch;
  text-wrap: balance;
}
.hero-b .moment .it { font-style: italic; color: var(--garnet-soft); }
.hero-b .below {
  margin-top: 56px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  color: rgba(246, 243, 236, 0.78);
  max-width: 540px;
  line-height: 1.4;
}
.hero-b .ctas { margin-top: 56px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-b .footer-row {
  position: absolute;
  bottom: 32px; left: 0; right: 0;
  padding: 0 clamp(20px, 4vw, 56px);
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.55);
}
.hero-b .footer-row .stamp {
  width: 56px; height: 56px;
  border-radius: 99px; border: 1px solid rgba(246, 243, 236, 0.3);
  display: grid; place-items: center;
  font-family: var(--font-display); font-style: italic; font-size: 28px;
  color: rgba(246, 243, 236, 0.78);
  padding-bottom: 4px;
  line-height: 1;
}

/* ---------- Variant C — Asymmetric layered ---------- */
.hero-c {
  min-height: 100vh;
  background: var(--paper);
  padding: 140px clamp(20px, 4vw, 56px) 60px;
  position: relative; overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 32px clamp(32px, 4vw, 80px);
}
.hero-c .c-meta {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: flex-start;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--clay);
  padding-bottom: 32px; border-bottom: 1px solid var(--hairline);
  white-space: nowrap;
}
.hero-c .c-meta .lhs { display: flex; gap: 32px; align-items: center; flex-wrap: nowrap; }
.hero-c .c-meta .lhs > * { white-space: nowrap; }
.hero-c .c-meta .dot { width: 7px; height: 7px; border-radius: 99px; background: var(--garnet); animation: live-dot 2.5s ease-in-out infinite; }
@keyframes live-dot { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.hero-c .c-main {
  grid-column: 1;
  align-self: center;
}
.hero-c .c-headline {
  font-family: var(--font-display);
  font-size: clamp(54px, 7.5vw, 116px);
  line-height: 0.94;
  letter-spacing: -0.022em;
}
.hero-c .c-headline .it { font-style: italic; color: var(--garnet); }
.hero-c .c-headline .small {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 24px;
  font-style: normal;
}
.hero-c .c-aside {
  grid-column: 2;
  align-self: center;
  display: flex; flex-direction: column; gap: 32px;
}
.hero-c .c-graphic {
  aspect-ratio: 1 / 1.1;
  background: var(--ink);
  border-radius: 4px;
  position: relative; overflow: hidden;
}
.hero-c .c-graphic::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 320px 220px at 85% 25%, rgba(122, 46, 44, 0.35), transparent 70%),
    radial-gradient(ellipse 280px 200px at 15% 80%, rgba(44, 74, 58, 0.55), transparent 70%);
}
.hero-c .c-graphic .glyph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(180px, 22vw, 320px);
  color: var(--paper);
  line-height: 0.85;
  letter-spacing: -0.04em;
  padding-bottom: 30px;
}
.hero-c .c-graphic .corner {
  position: absolute;
  top: 16px; left: 18px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.6);
}
.hero-c .c-graphic .corner-r {
  position: absolute;
  bottom: 16px; right: 18px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.6);
  text-align: right;
}
.hero-c .c-aside .c-paragraph {
  font-size: 16px; line-height: 1.55;
  color: var(--ink-soft);
}
.hero-c .c-footer {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-top: 32px; border-top: 1px solid var(--hairline);
}
.hero-c .c-footer .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-c .c-footer .place {
  text-align: right;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--clay); line-height: 1.7;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: clamp(80px, 10vw, 160px) clamp(20px, 4vw, 56px);
  max-width: 1440px;
  margin: 0 auto;
}
.section-head { margin-bottom: clamp(48px, 6vw, 96px); }
.section-head .num {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--clay);
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
}
.section-head .num::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: 0.5; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 1;
  letter-spacing: -0.018em;
  max-width: 900px;
  text-wrap: balance;
}
.section-head h2 .it { font-style: italic; color: var(--moss); }
.section-head p.lede {
  margin-top: 32px;
  max-width: 640px;
  font-size: 19px; line-height: 1.5;
  color: var(--ink-soft);
}

/* Services — editorial list */
.services-list { border-top: 1px solid var(--hairline); }
.service-row {
  display: grid;
  grid-template-columns: 64px 1.2fr 2fr 0.4fr;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
  position: relative;
  transition: padding 400ms var(--ease-out);
}
.service-row::before {
  content: ""; position: absolute; inset: 0;
  background: var(--bone);
  opacity: 0; transition: opacity 400ms var(--ease-out);
  margin: 0 -24px;
  border-radius: 4px;
  z-index: -1;
}
.service-row:hover { padding-left: 24px; padding-right: 24px; }
.service-row:hover::before { opacity: 0.6; }
.service-row .num {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.16em; color: var(--clay);
}
.service-row .name {
  font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05; letter-spacing: -0.012em;
}
.service-row .name .it { font-style: italic; }
.service-row .desc {
  font-size: 16px; line-height: 1.55; color: var(--ink-soft);
  max-width: 56ch;
}
.service-row .deliv {
  text-align: right;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--clay); line-height: 1.7;
}

/* Work — portfolio grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(36px, 4vw, 64px) clamp(24px, 3vw, 48px);
}
.work-item { display: block; text-decoration: none; color: inherit; }
.work-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bone);
  display: grid; place-items: center;
  transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out);
}
.work-thumb::before {
  content: ""; position: absolute; inset: 0;
}
.work-thumb.accent-moss::before {
  background: radial-gradient(ellipse 70% 65% at 72% 28%, rgba(44, 74, 58, 0.20), transparent 72%);
}
.work-thumb.accent-garnet::before {
  background: radial-gradient(ellipse 70% 65% at 72% 28%, rgba(122, 46, 44, 0.18), transparent 72%);
}
.work-n {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(72px, 9vw, 132px);
  line-height: 1;
  color: var(--ink);
  opacity: 0.13;
}
.work-view {
  position: absolute; left: 20px; bottom: 18px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 8px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 350ms var(--ease-out), transform 350ms var(--ease-out);
}
.work-view .arrow { width: 12px; height: 12px; }
.work-shot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.work-live {
  flex: none;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--moss);
  white-space: nowrap;
}
.work-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--moss);
  animation: work-live-pulse 2.4s var(--ease-out) infinite;
}
@keyframes work-live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(44, 74, 58, 0.45); }
  70%  { box-shadow: 0 0 0 6px rgba(44, 74, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(44, 74, 58, 0); }
}
.work-item:hover .work-thumb {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -28px rgba(26, 24, 22, 0.4);
}
.work-item:hover .work-view { opacity: 1; transform: none; }
.work-meta { margin-top: 20px; }
.work-meta-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
}
.work-name {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1; letter-spacing: -0.01em;
}
.work-tag {
  margin-top: 8px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay);
}

/* Contact / CTA */
.contact {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(80px, 10vw, 160px) clamp(20px, 4vw, 56px);
  position: relative; overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 85% 100%, rgba(122, 46, 44, 0.25), transparent 70%),
    radial-gradient(ellipse 600px 400px at 15% 0%, rgba(44, 74, 58, 0.35), transparent 70%);
  pointer-events: none;
}
.contact .inner { max-width: 1440px; margin: 0 auto; position: relative; }
.contact .num {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(246, 243, 236, 0.6);
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 32px;
}
.contact .num::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: 0.5; }
.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  max-width: 1100px;
  text-wrap: balance;
}
.contact h2 .it { font-style: italic; color: var(--garnet-soft); }
.contact h2 .underline {
  display: inline-block; position: relative;
}
.contact h2 .underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--garnet-soft); opacity: 0.6;
}
.contact .ctas {
  margin-top: 64px;
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
}
.contact .grid {
  margin-top: 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 48px;
  border-top: 1px solid rgba(246, 243, 236, 0.12);
}
.contact .grid .col .k {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.5);
  margin-bottom: 12px;
}
.contact .grid .col .v {
  font-size: 16px; line-height: 1.6;
  color: var(--paper);
}
.contact .grid .col .v a {
  color: inherit; text-decoration: none;
  border-bottom: 1px solid rgba(246,243,236,0.25);
  padding-bottom: 1px;
  transition: border-color 200ms var(--ease-out);
}
.contact .grid .col .v a:hover { border-bottom-color: var(--garnet-soft); }

/* Footer */
.foot {
  background: var(--ink);
  color: rgba(246, 243, 236, 0.65);
  padding: 32px clamp(20px, 4vw, 56px);
  border-top: 1px solid rgba(246, 243, 236, 0.12);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.foot .left { display: flex; gap: 32px; }
.foot .word-mini {
  font-family: var(--font-display); font-size: 18px;
  letter-spacing: -0.005em;
  color: var(--paper);
  text-transform: none;
  letter-spacing: -0.01em;
}
.foot .word-mini .it { font-style: italic; }

/* ============================================
   ANIMATIONS / REVEAL
   ============================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: 100ms; }
.reveal.delay-2 { transition-delay: 200ms; }
.reveal.delay-3 { transition-delay: 300ms; }
.reveal.delay-4 { transition-delay: 400ms; }

/* Focus on dark surfaces needs a light ring to stay visible */
.contact :focus-visible,
.foot :focus-visible { outline-color: var(--paper); }

/* Don't hide content behind a scroll animation for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero-a .rise { animation: none; opacity: 1; }
  .hero-a .orb, .hero-a .hero-glyph { animation: none; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* Tablet and down */
@media (max-width: 900px) {
  .nav .links { display: none; }
  .hero-c { grid-template-columns: 1fr; }
  .hero-c .c-aside { grid-column: 1; }
  .service-row { grid-template-columns: 48px 1fr; gap: 8px 16px; }
  .service-row .desc, .service-row .deliv { grid-column: 2; text-align: left; }
  .contact .grid { grid-template-columns: 1fr 1fr; }
  .foot { flex-direction: column; gap: 16px; text-align: center; }
}

/* Phone */
@media (max-width: 600px) {
  .nav { padding-top: 16px; padding-bottom: 16px; }
  .nav .word { font-size: 24px; }
  .nav .cta { padding: 11px 18px; font-size: 13px; }

  /* Top-align the hero so it flows naturally instead of centering in a tall box */
  .hero-a {
    min-height: auto;
    justify-content: flex-start;
    padding-top: 104px;
    padding-bottom: 64px;
  }
  .hero-a .headline { font-size: clamp(40px, 12vw, 64px); }
  .hero-a .footrow { position: static; margin-top: 48px; }
  .hero-a .hero-glyph { display: none; }

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

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