/* ============================================================
   JUNUCO — design tokens
   ============================================================ */
:root {
  /* Color */
  --ink:        #1A1815;
  --ink-2:      #2A2620;
  --paper:      #F4F1EA;
  --paper-2:    #EDE7DC;
  --paper-3:    #E4DCCD;
  --mute:       #6B6358;
  --mute-2:     #94897B;
  --hair:       rgba(26, 24, 21, 0.12);
  --hair-soft:  rgba(26, 24, 21, 0.06);
  --accent:     #B85C38;
  --accent-ink: #8E4124;

  /* Type */
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans:  "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:  "Geist Mono", ui-monospace, monospace;

  /* Motion */
  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-1: 0.4s;
  --dur-2: 0.8s;
  --dur-3: 1.2s;

  /* Spacing */
  --pad-x: clamp(20px, 5vw, 72px);
  --max:   1440px;
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--paper); color: var(--ink); }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "ss01", "ss02", "cv01";
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
input, textarea { font: inherit; color: inherit; background: transparent; border: 0; outline: 0; }
::selection { background: var(--ink); color: var(--paper); }

/* Grain overlay */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 0 0.08 0 0 0 0.45 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============================================================
   Lenis
   ============================================================ */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* ============================================================
   Layout primitives
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.h-display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 0.96;
  color: var(--ink);
}
.h-display em {
  font-style: italic;
  color: var(--accent);
}

.hairline { border-top: 1px solid var(--hair); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px 16px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  transition: color 0.4s var(--ease);
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(100%);
  transition: transform 0.6s var(--ease);
  z-index: 0;
}
.btn:hover::before { transform: translateY(0); }
.btn > * { position: relative; z-index: 1; }
.btn .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn:hover .dot { background: var(--paper); transform: scale(1.4); }
.btn .arrow {
  width: 14px; height: 14px;
  transition: transform 0.4s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  padding: 14px 22px 14px 26px;
  box-shadow: inset 0 0 0 1px var(--hair);
}
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--paper); }

.btn--lg { padding: 22px 30px 22px 34px; font-size: 15px; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px 0;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(244, 241, 234, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  padding: 14px 0;
  border-bottom-color: var(--hair);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo__mark {
  position: relative;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--ink);
  overflow: hidden;
  transition: transform 0.6s var(--ease);
}
.logo__mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(40%, 40%);
  transition: transform 0.6s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(-90deg); }
.logo:hover .logo__mark::after { transform: translate(0, 0); }
.logo__word { font-feature-settings: "liga"; }

.nav__links {
  display: flex; gap: 32px; align-items: center;
}
.nav__link {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  padding: 4px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: inline-flex; }

@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__mesh {
  position: absolute;
  inset: -10% -10% -10% -10%;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.hero__mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.hero__mesh-blob--a {
  width: 50vw; height: 50vw;
  left: -8vw; top: 8vw;
  background: radial-gradient(circle at 30% 30%, #DCBFA6, transparent 70%);
}
.hero__mesh-blob--b {
  width: 42vw; height: 42vw;
  right: -5vw; top: 22vw;
  background: radial-gradient(circle at 50% 50%, #C9907A, transparent 65%);
  opacity: 0.35;
}
.hero__mesh-blob--c {
  width: 60vw; height: 60vw;
  left: 20vw; top: 40vw;
  background: radial-gradient(circle at 50% 50%, #E8D9C2, transparent 70%);
  opacity: 0.6;
}

.hero__inner {
  position: relative; z-index: 1;
  width: 100%;
}

.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 32px;
}
.hero__meta-right {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: right;
  line-height: 1.7;
}

.hero__title {
  font-size: clamp(56px, 11vw, 184px);
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .line__inner {
  display: block;
  will-change: transform;
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-top: 32px;
}
.hero__sub {
  max-width: 460px;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--mute);
  line-height: 1.55;
}
.hero__sub strong {
  color: var(--ink);
  font-weight: 500;
}

.hero__cta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.scroll-cue__line {
  display: block;
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, currentColor, transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--ink);
  animation: cue 2.4s var(--ease-in-out) infinite;
}
@keyframes cue {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* Floating ticker */
.ticker {
  position: relative;
  padding: 24px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
  background: var(--paper);
  z-index: 2;
}
.ticker__row {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: -0.01em;
  color: var(--ink);
  animation: ticker 36s linear infinite;
  width: max-content;
}
.ticker__row span { display: inline-flex; align-items: center; gap: 56px; }
.ticker__row span::after {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  vertical-align: middle;
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ============================================================
   Services pinned sequence
   ============================================================ */
.services {
  position: relative;
  background: var(--ink);
  color: var(--paper);
}
.services .eyebrow { color: var(--paper-3); }
.services .eyebrow::before { background: var(--paper-3); }

.services__pin {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.services__head {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: var(--pad-x);
  padding-top: 80px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.services__progress {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-3);
  text-align: right;
  min-width: 200px;
}
.services__next {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--mute-2);
  text-transform: uppercase;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  min-height: 14px;
}
.services__next span {
  display: inline-block;
  overflow: hidden;
  height: 14px;
}
.services__next-label {
  color: var(--paper);
  transition: transform 0.6s var(--ease);
  display: block;
}
.services__progress-bar {
  margin-top: 10px;
  width: 120px;
  height: 1px;
  background: rgba(244, 241, 234, 0.15);
  position: relative;
}
.services__progress-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0%;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}

.services__track {
  position: relative;
  width: 100%;
  height: 100%;
}
.service {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 120px var(--pad-x) 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s var(--ease);
}
.service.is-active { opacity: 1; pointer-events: auto; }

/* Staggered text reveals inside active service */
.service__num,
.service__title,
.service__copy,
.service__tags,
.service__visual {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.service.is-active .service__num     { opacity: 1; transform: none; transition-delay: 0.05s; }
.service.is-active .service__title   { opacity: 1; transform: none; transition-delay: 0.15s; }
.service.is-active .service__copy    { opacity: 1; transform: none; transition-delay: 0.30s; }
.service.is-active .service__tags    { opacity: 1; transform: none; transition-delay: 0.40s; }
.service.is-active .service__visual  { opacity: 1; transform: none; transition-delay: 0.20s; }

.service__title {
  /* small per-line stagger via individual lines */
}
.service__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--mute-2);
  margin-bottom: 28px;
}
.service__title {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.service__title em { font-style: italic; color: var(--accent); }
.service__copy {
  font-size: 17px;
  color: var(--paper-3);
  max-width: 440px;
  line-height: 1.55;
  margin-bottom: 32px;
}
.service__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.service__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(244,241,234,0.18);
  color: var(--paper-3);
}

.service__visual {
  --mx: 0;
  --my: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,0.5);
  perspective: 1200px;
  cursor: crosshair;
}
.service__visual-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  transform: translate3d(calc(var(--mx) * 14px), calc(var(--my) * 14px), 0)
             rotateY(calc(var(--mx) * 6deg))
             rotateX(calc(var(--my) * -6deg));
  transition: transform 0.6s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.service__visual:hover .service__visual-inner {
  transition-duration: 0.2s;
}
.visual-grid {
  transform: translate3d(calc(var(--mx) * -6px), calc(var(--my) * -6px), 0);
  transition: transform 0.6s var(--ease);
}

/* Idle motion per visual */
@keyframes orb-spin { to { transform: rotate(360deg); } }
@keyframes orb-pulse { 0%, 100% { opacity: 0.95; } 50% { opacity: 0.75; } }
@keyframes ring-grow { 0% { transform: scale(0.6); opacity: 0; } 30% { opacity: 0.5; } 100% { transform: scale(1.4); opacity: 0; } }
@keyframes prog-fill { 0% { width: 10%; } 100% { width: 86%; } }
@keyframes caret { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
@keyframes type-cycle { 0%, 25% { transform: translateY(0); } 30%, 55% { transform: translateY(-100%); } 60%, 85% { transform: translateY(-200%); } 90%, 100% { transform: translateY(0); } }
@keyframes node-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.6; } }
@keyframes path-flow { to { stroke-dashoffset: -40; } }

.service.is-active .v-orb-spin { animation: orb-spin 30s linear infinite; transform-origin: center; }
.service.is-active .v-orb-pulse { animation: orb-pulse 4s var(--ease-in-out) infinite; }
.service.is-active .v-ring-grow { animation: ring-grow 3.5s var(--ease) infinite; transform-origin: center; transform-box: fill-box; }
.service.is-active .v-ring-grow--2 { animation-delay: 1.2s; }
.service.is-active .v-ring-grow--3 { animation-delay: 2.4s; }

.service.is-active .v-prog-fill { animation: prog-fill 3.2s var(--ease) infinite alternate; }
.service.is-active .v-caret { animation: caret 1s steps(2) infinite; }

.service.is-active .v-node-pulse { animation: node-pulse 2.4s var(--ease-in-out) infinite; transform-origin: center; transform-box: fill-box; }
.service.is-active .v-node-pulse--2 { animation-delay: 0.6s; }
.service.is-active .v-path-flow { stroke-dasharray: 4 6; animation: path-flow 1.6s linear infinite; }

.service.is-active .v-type-track { animation: type-cycle 8s var(--ease-in-out) infinite; }

@media (max-width: 880px) {
  .service { grid-template-columns: 1fr; gap: 32px; padding-top: 140px; }
  .service__visual { max-width: 100%; aspect-ratio: 4/3; margin-left: 0; }
}

/* Service visuals (custom SVG/CSS art per slide) */
.visual-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(244,241,234,0.05) 1px, transparent 1px) 0 0 / 100% 32px,
    linear-gradient(90deg, rgba(244,241,234,0.05) 1px, transparent 1px) 0 0 / 32px 100%;
}
.visual-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), #5a2a14 80%);
  width: 60%; height: 60%;
  filter: blur(0.5px);
  box-shadow: 0 30px 60px -20px rgba(184,92,56,0.5);
}
.visual-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(244,241,234,0.2);
}

/* ============================================================
   Process pinned steps
   ============================================================ */
.process {
  position: relative;
  background: var(--paper);
  padding: 160px 0 0;
}
.process__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
  align-items: end;
}
.process__title {
  font-size: clamp(48px, 6vw, 96px);
}
.process__lede {
  max-width: 440px;
  font-size: 17px;
  color: var(--mute);
  line-height: 1.55;
}

/* Process — pinned stage handles the sticking; .process__pin is just a height wrapper */
.process__pin {
  position: relative;
  /* height extended by ScrollTrigger pinSpacing */
}
.process__stage {
  position: relative;
  height: 100vh;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding: 0 var(--pad-x);
}
.process__index {
  font-family: var(--serif);
  font-size: clamp(120px, 22vw, 360px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--ink);
  position: relative;
}
.process__index sup {
  font-family: var(--mono);
  font-size: 0.08em;
  letter-spacing: 0.2em;
  color: var(--mute);
  vertical-align: top;
  margin-left: 0.2em;
  top: 0.3em;
  position: relative;
}

.process__steps {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.process__steps-track {
  position: relative;
  width: 100%;
  height: 80%;
  max-height: 600px;
}
.process__step {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 56px;
  border-left: 1px solid var(--hair);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.process__step.is-active {
  opacity: 1;
  transform: translateY(0);
}
.process__step::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 50%;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.process__step-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 20px;
}
.process__step-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.022em;
  margin-bottom: 20px;
}
.process__step-copy {
  font-size: 16px;
  color: var(--mute);
  line-height: 1.55;
  max-width: 380px;
}
.process__step-deliv {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.process__step-deliv span { color: var(--mute); }

.process__rail {
  position: absolute;
  bottom: 40px;
  left: var(--pad-x);
  right: var(--pad-x);
  display: flex;
  gap: 8px;
  z-index: 2;
  pointer-events: none;
}
.process__rail-tick {
  flex: 1;
  height: 2px;
  background: var(--hair);
  position: relative;
  overflow: hidden;
}
.process__rail-tick::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.process__rail-tick.is-done::after { transform: scaleX(1); }
.process__rail-tick.is-active::after { transform: scaleX(0.5); background: var(--accent); }

@media (max-width: 880px) {
  .process__intro { grid-template-columns: 1fr; }
  .process__stage { grid-template-columns: 1fr; gap: 32px; padding-top: 100px; }
  .process__index { font-size: 120px; }
  .process__step { padding-left: 32px; }
}

/* ============================================================
   About
   ============================================================ */
.about {
  position: relative;
  padding: 200px 0 160px;
  background: var(--paper);
  overflow: hidden;
}
.about__layout {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 80px;
  align-items: start;
}
.about__statement {
  font-family: var(--serif);
  font-size: clamp(32px, 3.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: pretty;
}
.about__statement em { font-style: italic; color: var(--accent); }
.about__statement .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.about__statement .word__inner { display: inline-block; will-change: transform; }

.about__side {
  padding-top: 12px;
}
.about__pillars {
  display: grid;
  gap: 0;
  margin-top: 48px;
}
.pillar {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--hair);
}
.pillar:last-child { border-bottom: 1px solid var(--hair); }
.pillar__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.1em;
  padding-top: 4px;
}
.pillar__title {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.012em;
  margin-bottom: 6px;
}
.pillar__copy {
  font-size: 14px;
  color: var(--mute);
  line-height: 1.55;
}

.stats {
  margin-top: 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid var(--hair);
  padding-top: 56px;
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 128px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.stat__num em { font-style: italic; color: var(--accent); }
.stat__num small {
  font-size: 0.45em;
  color: var(--mute);
  margin-left: 6px;
  letter-spacing: -0.01em;
}
.stat__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  max-width: 200px;
  line-height: 1.5;
}

@media (max-width: 880px) {
  .about__layout { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: 160px 0 120px;
  overflow: hidden;
}
.contact__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}
.contact__bg::before {
  content: "";
  position: absolute;
  width: 70vw; height: 70vw;
  border-radius: 50%;
  left: -20vw; top: -20vw;
  background: radial-gradient(circle, rgba(184,92,56,0.3), transparent 60%);
  filter: blur(60px);
}

.contact__inner { position: relative; z-index: 1; }
.contact__head {
  margin-bottom: 96px;
  max-width: 900px;
}
.contact__title {
  font-family: var(--serif);
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-top: 24px;
  margin-bottom: 32px;
}
.contact__title em { font-style: italic; color: var(--accent); }
.contact__sub {
  font-size: 18px;
  color: var(--paper-3);
  max-width: 520px;
  line-height: 1.55;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.field {
  position: relative;
  border-bottom: 1px solid rgba(244,241,234,0.18);
  padding: 24px 0 18px;
  transition: border-color 0.4s var(--ease);
}
.field:focus-within { border-bottom-color: var(--accent); }
.field__label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute-2);
  margin-bottom: 10px;
  transition: color 0.4s var(--ease);
}
.field:focus-within .field__label { color: var(--accent); }
.field input,
.field textarea {
  width: 100%;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--paper);
  background: transparent;
  resize: none;
}
.field textarea { min-height: 80px; line-height: 1.4; padding-top: 2px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(244,241,234,0.3); }
.field__error {
  position: absolute;
  bottom: 4px;
  right: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.field.is-invalid .field__error { opacity: 1; }
.field.is-invalid { border-bottom-color: var(--accent); }

.form__submit {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.form__hint {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mute-2);
}

.btn--invert {
  background: var(--paper);
  color: var(--ink);
}
.btn--invert::before { background: var(--accent); }
.btn--invert:hover { color: var(--paper); }
.btn--invert .dot { background: var(--accent); }

.form__success {
  display: none;
  padding: 32px;
  border: 1px solid rgba(244,241,234,0.18);
  border-radius: 4px;
  text-align: left;
}
.form.is-sent .form__success { display: block; animation: rise 0.6s var(--ease); }
.form.is-sent .form__body { display: none; }
.form__success-title {
  font-family: var(--serif);
  font-size: 28px;
  margin-bottom: 8px;
}
.form__success-copy {
  font-size: 14px;
  color: var(--paper-3);
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

.contact__aside {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 24px;
}
.contact__block .eyebrow { color: var(--mute-2); margin-bottom: 12px; }
.contact__block .eyebrow::before { background: var(--mute-2); }
.contact__email {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.01em;
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.4s var(--ease);
}
.contact__email:hover { color: var(--accent); }
.contact__email::after {
  content: "↗";
  font-size: 0.7em;
  transition: transform 0.4s var(--ease);
}
.contact__email:hover::after { transform: translate(2px, -2px); }
.contact__meta {
  font-size: 14px;
  color: var(--paper-3);
  line-height: 1.55;
}

@media (max-width: 880px) {
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: 60px 0 40px;
  border-top: 1px solid rgba(244,241,234,0.08);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}
.footer__center {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-2);
  text-align: center;
}
.footer__right {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer__right a { color: var(--paper-3); transition: color 0.3s var(--ease); }
.footer__right a:hover { color: var(--accent); }
.footer__logo { color: var(--paper); }
.footer__logo .logo__mark { background: var(--paper); }
.footer__logo .logo__mark::after { background: var(--accent); }

.footer__flourish {
  margin-top: 64px;
  font-family: var(--serif);
  font-size: clamp(80px, 18vw, 280px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--paper);
  text-align: left;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}
.footer__flourish em { font-style: italic; color: var(--accent); }

.footer__legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 241, 234, 0.08);
  max-width: 720px;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--mute-2);
}
.footer__legal strong {
  color: var(--paper-3);
  font-weight: 500;
}
.footer__legal .placeholder {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(244, 241, 234, 0.06);
  color: var(--paper-3);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
}

@media (max-width: 720px) {
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__right { justify-content: center; }
}

/* ============================================================
   Reveal helpers (used by JS)
   ============================================================ */
[data-reveal] { will-change: transform, opacity; }
[data-mask] {
  display: inline-block;
  overflow: hidden;
}
[data-mask] > .mask__inner {
  display: inline-block;
  will-change: transform;
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .ticker__row { animation: none; }
  .scroll-cue__line::after { animation: none; }
  .hero__mesh { transform: none !important; }
}
