/* ============================================================
   MAIN — Project Genesis (Milestone 001 foundation)
   Base, the Signature layer (Field + Trace), Hero shell,
   nav, Beacon, micro-motions. Scene-specific styles arrive
   with their milestones.
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: var(--black); }
a { color: inherit; text-decoration: none; }

.mono    { font-family: var(--font-mono); font-weight: 400; letter-spacing: .08em; }
.display { font-family: var(--font-display); }

/* ---- The Field: blueprint grid over the whole page ---- */
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right,  rgba(51,65,85,.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(51,65,85,.10) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
  animation: field-breath 6s var(--ease) infinite;   /* Field Breath */
}
@keyframes field-breath { 0%,100%{opacity:.9} 50%{opacity:.65} }

/* ---- The Trace: the persistent gold line (the signature) ---- */
.trace {
  position: fixed; left: 34px; top: 0; bottom: 0; width: 2px;
  z-index: 5; pointer-events: none;
  background: rgba(51,65,85,.35);
}
.trace-fill {
  position: absolute; left: 0; top: 0; width: 100%; height: 0%;
  background: linear-gradient(to bottom, var(--gold-bright), var(--gold));
}
.trace-head {                               /* The Pen */
  position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%);
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 12px 2px rgba(228,199,126,.7);
}

/* ---- nav ---- */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(20px, 6vw, 72px);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em;
  color: var(--gold); border: 1px solid var(--line-lit);
  padding: 6px 8px; border-radius: 6px;
}
.brand-name { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
.brand-name span { color: var(--gold); }

/* ---- buttons ---- */
.btn-wa {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--wa); color: #04371C; font-weight: 600;
  font-family: var(--font-body); font-size: 14px;
  padding: 11px 18px; border-radius: 10px;
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.btn-wa svg { width: 16px; height: 16px; fill: #04371C; }
.btn-wa:hover { transform: translateY(-2px);            /* Lift */
  box-shadow: 0 10px 30px -8px rgba(37,211,102,.55); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line-lit); color: var(--white);
  padding: 11px 18px; border-radius: 10px; font-size: 14px;
  transition: border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); } /* Warm */

/* ---- shared section primitives (used by all content scenes) ---- */
section { position: relative; z-index: 2; padding: clamp(90px, 13vh, 150px) clamp(20px, 6vw, 72px); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
h2.head {
  font-family: var(--font-display); font-weight: 600; line-height: 1.08;
  letter-spacing: -.02em; font-size: clamp(30px, 5vw, 58px); max-width: 18ch;
}
.lead {
  color: var(--white-dim); font-size: clamp(16px, 1.7vw, 19px);
  max-width: 52ch; margin-top: 20px; font-weight: 300;
}

/* ---- Hero (Scene 2) — dual-headline rotator ---- */
#hero {
  position: relative; z-index: 2; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(20px, 6vw, 72px);
  max-width: var(--maxw); margin: 0 auto;
}
/* Inactive slide is pulled OUT of flow (absolute) so the stage sizes to the
   ACTIVE slide only — no reserved gap from the taller variant. */
.hero-stage { position: relative; }
.hero-slide {
  position: absolute; top: 0; left: 0; width: 100%;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.hero-slide.is-active {
  position: relative;                 /* this one defines the stage height */
  opacity: 1; visibility: visible; pointer-events: auto;
}

.hero-tag {
  font-family: var(--font-mono); font-size: 12px; color: var(--gold);
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 22px;
}
.hero-h {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(36px, 6.6vw, 84px); line-height: 1.02;
  letter-spacing: -.03em; max-width: 17ch;
}
.hero-h .word { display: inline-block; }
.hero-h .g { color: var(--gold); }
.hero-h .soft { color: var(--white-dim); }        /* Version B mid-clause */
.hero-q {
  display: block; margin-top: .35em;
  font-size: clamp(26px, 5vw, 60px); color: var(--white);
}
.hero-sub {
  margin-top: 28px; max-width: 52ch;
  color: var(--white-dim); font-size: clamp(15px, 2vw, 19px);
}
.hero-sub b { color: var(--white); font-weight: 500; }
.hero-cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* The Turn — rotator control (now visible + discoverable) */
.hero-dots { display: flex; align-items: center; gap: 14px; margin-top: 44px; }
.hero-dots::before {
  content: "Two ways to say it";
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--white-dim); margin-right: 6px;
}
.hero-dot {
  width: 40px; height: 5px; border-radius: 3px; border: 0; padding: 0;
  background: rgba(156,163,175,.4); cursor: pointer;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.hero-dot:hover { background: var(--gold); transform: translateY(-1px); }
.hero-dot.is-active { background: var(--gold-bright); box-shadow: 0 0 10px rgba(228,199,126,.5); }
.hero-dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.scroll-hint {
  margin-top: 40px; font-family: var(--font-mono);
  font-size: 12px; color: var(--white-dim); letter-spacing: .1em;
}

/* ---- The Beacon: floating WhatsApp ---- */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 10px 30px -6px rgba(37,211,102,.6);
  cursor: pointer; opacity: 0; transform: scale(.6);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.fab.show { opacity: 1; transform: scale(1); }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; fill: #04371C; }

/* ---- reveal utility (used by The Surface / Rooms / etc.) ---- */
.reveal { opacity: 0; transform: translateY(28px); }

/* ---- Scene 3 · The Surface (problem cards) ---- */
.pains {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px;
}
@media (max-width: 1024px) { .pains { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .pains { grid-template-columns: 1fr; } }
.pain {
  border: 1px solid var(--line); border-radius: 14px; padding: 28px 26px;
  background: linear-gradient(160deg, rgba(15,23,42,.5), rgba(10,10,11,.2));
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.pain:hover { border-color: rgba(200,162,76,.45); transform: translateY(-4px); }
.pain .n { font-size: 12px; color: var(--gold); letter-spacing: .15em; }
.pain p { margin-top: 14px; font-size: 18px; color: var(--white); font-weight: 400; line-height: 1.4; }
.pain small { display: block; margin-top: 12px; color: var(--white-dim); font-size: 14px; }

/* ---- Scene 5 · The Rooms (capabilities) ---- */
.caps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; margin-top: 52px;
}
@media (max-width: 1024px) { .caps { grid-template-columns: repeat(2, 1fr); } }  /* 2×N */
@media (max-width: 440px)  { .caps { grid-template-columns: 1fr; } }             /* stacked */
.cap {
  border: 1px solid var(--line); border-radius: 13px; padding: 24px 22px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.cap:hover {                                     /* Lift + Warm */
  border-color: rgba(200,162,76,.45); transform: translateY(-4px);
  background: rgba(15,23,42,.4);
}
.cap .ico { font-size: 24px; }
.cap h4 { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.cap small { color: var(--white-dim); font-size: 13.5px; line-height: 1.45; }
.trust {
  display: flex; flex-wrap: wrap; gap: 12px 26px;
  margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--line);
}
.trust span {
  font-family: var(--font-mono); font-size: 13px; color: var(--white-dim);
  display: flex; align-items: center; gap: 9px;
}
.trust span::before { content: "✓"; color: var(--emerald); font-family: var(--font-body); }

/* ---- Scene 6 · The Case File (portfolio) ---- */
.chapter {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px;
  align-items: center; margin-top: 64px;
}
.chapter.flip .chapter-visual { order: 2; }        /* alternate sides */
.chapter-index { font-size: 13px; color: var(--gold); letter-spacing: .18em; }
.chapter h3 {
  font-weight: 600; font-size: clamp(24px, 3.2vw, 38px);
  margin-top: 14px; letter-spacing: -.01em;
}
.psr { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.psr div { display: flex; gap: 14px; }
.psr .k { font-size: 12px; color: var(--gold); min-width: 74px; letter-spacing: .1em; padding-top: 3px; }
.psr .v { color: var(--white); font-size: 16px; }
.psr .v.dim { color: var(--white-dim); }

/* framed, clickable cover panel */
.chapter-visual {
  appearance: none; border: 1px solid var(--line); border-radius: 16px;
  height: 320px; position: relative; overflow: hidden; cursor: pointer;
  background: linear-gradient(150deg, var(--navy), var(--black));
  text-align: left; padding: 0; width: 100%; will-change: transform;
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.chapter-visual:hover { border-color: rgba(200,162,76,.5); }
.chapter-visual:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.frame-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 34px; z-index: 2;
  display: flex; align-items: center; gap: 7px; padding: 0 14px;
  background: rgba(10,10,11,.6); border-bottom: 1px solid var(--line);
}
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-lit); }
.frame-bar i:first-child { background: rgba(200,162,76,.7); }
.cover { position: absolute; inset: 34px 0 0 0; z-index: 1; display: block; }
.cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
/* placeholder shown until a real screenshot is dropped in */
.cover.empty::after {
  content: "Screenshot →\A drop into static/images/projects/"; white-space: pre;
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  color: rgba(156,163,175,.5); text-transform: uppercase; padding: 24px;
}
.chapter-visual .tag {
  position: absolute; top: 46px; left: 20px; z-index: 3;
  font-family: var(--font-mono); font-size: 11px; color: var(--white-dim);
  letter-spacing: .15em; text-transform: uppercase;
}
.chapter-visual .metric { position: absolute; left: 24px; bottom: 24px; z-index: 3; }
.chapter-visual .metric b {
  font-family: var(--font-display); font-size: 42px; font-weight: 700;
  color: var(--gold); display: block; line-height: 1;
}
.chapter-visual .metric small {
  color: var(--white-dim); font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em;
}
.cf-cue {
  position: absolute; right: 20px; bottom: 24px; z-index: 3;
  font-size: 12px; color: var(--wa); letter-spacing: .05em;
  opacity: 0; transform: translateX(-6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.chapter-visual:hover .cf-cue { opacity: 1; transform: translateX(0); }
.link-cf {
  margin-top: 24px; background: none; border: 0; cursor: pointer; padding: 0;
  color: var(--gold); font-size: 13px; letter-spacing: .04em;
  border-bottom: 1px solid rgba(200,162,76,.4); transition: color var(--dur-fast) var(--ease);
}
.link-cf:hover { color: var(--gold-bright); }
@media (max-width: 760px) {
  .chapter { grid-template-columns: 1fr; gap: 26px; }
  .chapter.flip .chapter-visual { order: 0; }
}

/* ---- case file modal ---- */
html.cf-lock { overflow: hidden; }
.casefile {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-items: center; padding: clamp(16px, 4vw, 48px);
}
.casefile[hidden] { display: none; }
.casefile-backdrop {
  position: absolute; inset: 0; background: rgba(5,7,12,.8);
  backdrop-filter: blur(6px); opacity: 0; transition: opacity var(--dur) var(--ease);
}
.casefile.is-open .casefile-backdrop { opacity: 1; }
.casefile-panel {
  position: relative; z-index: 1; width: min(920px, 100%);
  max-height: 88vh; overflow-y: auto;
  background: linear-gradient(160deg, var(--navy-soft), var(--black));
  border: 1px solid var(--line-lit); border-radius: 18px;
  padding: clamp(24px, 4vw, 44px);
  opacity: 0; transform: translateY(24px) scale(.98);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.casefile.is-open .casefile-panel { opacity: 1; transform: none; }
.casefile-close {
  position: absolute; top: 16px; right: 18px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: rgba(10,10,11,.6); border: 1px solid var(--line-lit);
  color: var(--white); font-size: 24px; line-height: 1;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.casefile-close:hover { border-color: var(--gold); color: var(--gold); }
.cf-head h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 3vw, 34px); margin-top: 10px; }
.cf-gallery {
  margin-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (max-width: 620px) { .cf-gallery { grid-template-columns: 1fr; } }
.cf-shot {
  position: relative; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; background: linear-gradient(150deg, var(--navy), var(--black));
  aspect-ratio: 16 / 10;
}
.cf-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.cf-shot.empty::after {
  content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(156,163,175,.5);
}
.cf-shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px;
  background: linear-gradient(transparent, rgba(5,7,12,.85));
  font-size: 11px; letter-spacing: .1em; color: var(--white-dim); text-transform: uppercase;
}

/* ---- Scene 4 · The Genesis Sequence (pinned 3D) ---- */
#transform { position: relative; z-index: 2; padding: 0; }
.pin-wrap {
  height: 100vh; overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
}
/* premium: a soft gold glow pooling behind the device */
.pin-wrap::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 46% 40% at 50% 52%,
    rgba(200,162,76,.14), transparent 70%);
}
.stage3d {
  position: relative; z-index: 1;
  width: min(820px, 94vw); height: min(66vh, 600px);
  transition: opacity var(--dur) var(--ease);
}
#devCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dev-fallback {
  position: absolute; inset: 0; display: none; place-items: center;
  color: var(--white-dim); font-size: 13px;
}
.t-progress {
  position: absolute; top: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 10px;
}
.t-progress::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.t-progress::after { content: ""; width: 22px; height: 1px; background: var(--gold); }
.t-caption {
  position: absolute; bottom: 8%; left: 0; right: 0; z-index: 3;
  text-align: center; padding: 0 24px;
  font-weight: 500; font-size: clamp(19px, 2.8vw, 32px); letter-spacing: -.01em;
  transition: opacity var(--dur) var(--ease);
}
.t-final {
  position: absolute; inset: 0; z-index: 4; opacity: 0; pointer-events: none;
  display: grid; place-items: center; text-align: center; padding: 0 20px;
}
.t-final h3 {
  font-weight: 600; font-size: clamp(28px, 5vw, 62px); line-height: 1.05; letter-spacing: -.02em;
}
.t-final h3 .g { color: var(--gold); }

/* ---- Scene 7 · The Path (process timeline) ---- */
.steps { margin-top: 56px; position: relative; padding-left: 34px; }
.steps-track { position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: rgba(51,65,85,.5); }
.steps-line {
  position: absolute; left: 0; top: 0; width: 100%; height: 0%;
  background: linear-gradient(var(--gold-bright), var(--gold));
  box-shadow: 0 0 10px rgba(200,162,76,.6);
}
.step {
  position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 30px;
  padding: 26px 0; border-top: 1px solid var(--line); align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .node {
  position: absolute; left: -34px; top: 32px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--black); border: 2px solid var(--line-lit); transform: translateX(1px);
  transition: border-color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.step.lit .node { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 12px 2px rgba(200,162,76,.6); }
.step .when { font-size: 13px; color: var(--gold); letter-spacing: .08em; padding-top: 4px; }
.step h4 { font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 2.4vw, 26px); }
.step p { color: var(--white-dim); margin-top: 8px; font-size: 15.5px; max-width: 56ch; }
@media (max-width: 640px) { .step { grid-template-columns: 1fr; gap: 6px; } .step .when { padding-top: 0; } }

/* ---- Section 7 · Conversion grid (builder cards) ---- */
#build { background: linear-gradient(180deg, var(--black), var(--navy) 60%, var(--black)); }
.build-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px;
}
@media (max-width: 1024px) { .build-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px)  { .build-grid { grid-template-columns: 1fr; } }
.bcard {
  text-align: left; cursor: pointer; border: 1px solid var(--line); border-radius: 15px;
  padding: 26px 24px; background: rgba(10,10,11,.4); color: var(--white);
  font-family: inherit; display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.bcard::after {                                  /* pointer-follow gold glow */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,50%), rgba(200,162,76,.12), transparent 45%);
  opacity: 0; transition: opacity var(--dur-fast) var(--ease);
}
.bcard:hover { border-color: rgba(200,162,76,.55); transform: translateY(-5px); background: rgba(15,23,42,.55); }
.bcard:hover::after { opacity: 1; }
.bcard:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.bcard .ico { font-size: 30px; }
.bcard h4 { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.bcard small { color: var(--white-dim); font-size: 13.5px; line-height: 1.45; }
.bcard .go { margin-top: auto; font-size: 12px; color: var(--wa); display: flex; align-items: center; gap: 8px; letter-spacing: .05em; }
.bcard .go svg { width: 14px; height: 14px; fill: var(--wa); }

/* ---- Scene 8 · The Signal (final CTA) ---- */
#cta { position: relative; text-align: center; padding-top: clamp(110px, 16vh, 180px); padding-bottom: clamp(110px, 16vh, 180px); }
.signal-dot {
  width: 14px; height: 14px; border-radius: 50%; margin: 0 auto 26px;
  background: var(--gold-bright); box-shadow: 0 0 18px 4px rgba(228,199,126,.6);
}
#cta h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 6vw, 72px); line-height: 1.05; letter-spacing: -.025em; max-width: 16ch; margin: 0 auto; }
#cta h2 .g { color: var(--gold); }
#cta .lead { margin: 24px auto 40px; }
.cta-btn-wrap { display: flex; justify-content: center; }
.btn-wa.lg { font-size: 16px; padding: 16px 30px; border-radius: 12px; }
.btn-wa.lg svg { width: 20px; height: 20px; }
.cta-note { margin-top: 18px; color: var(--white-dim); font-size: 12px; letter-spacing: .1em; }

footer { border-top: 1px solid var(--line); padding: 40px clamp(20px, 6vw, 72px); position: relative; z-index: 2; }
.foot { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; align-items: center; }
.foot .mono { color: var(--white-dim); font-size: 13px; }

/* ---- Law of Grace: honor reduced-motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .grid-bg { animation: none !important; }
  .reveal, .hero-word, .word { opacity: 1 !important; transform: none !important; }
}