/* =========================================================================
   PARALLAX THINKING — homepage
   Surface layer on top of colors_and_type.css (tokens come from there).
   The composition carries the argument: each section is a different room.
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--surface-page);
  color: var(--fg-1);
  font-family: var(--font-sans);
  overflow-x: hidden;
}
::selection { background: var(--deep-space); color: var(--soft-stone); }

/* Focus: the one sanctioned structural use of Solar Gold (accessibility) */
:focus-visible {
  outline: 2px solid var(--solar-gold);
  outline-offset: 2px;
}
:focus:not(:focus-visible) { outline: none; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 80px);
}
.measure-wide  { max-width: 760px; }
.measure-mid   { max-width: 620px; }
.measure-tight { max-width: 540px; }

.eyebrow-hair {
  /* override 2: this hairline is Pale Lunar, never gold */
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--pale-lunar);
  margin-bottom: var(--space-2);
}

/* =========================================================================
   NAV — hairline, flush, no floating shadow
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 40;
  /* one colour throughout, translucent so the section beneath softens it */
  background: rgba(247, 245, 241, 0.8);   /* Soft Stone */
}
.nav-inner {
  max-width: none; margin: 0;
  padding: 18px clamp(28px, 5vw, 72px);   /* match the hero's horizontal inset */
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: block; line-height: 0; }
.nav-logo img { height: 24px; width: auto; display: block; }
.nav-link {
  font-family: var(--font-sans); font-weight: 500;
  font-size: var(--fs-small); letter-spacing: 0.01em;
  color: var(--fg-1); text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-quick) var(--ease-standard);
}
.nav-link:hover { border-bottom-color: var(--pale-lunar); }

/* =========================================================================
   SECTION RHYTHM
   Surfaces alternate quietly (page vs Soft Stone) to mark transitions.
   Vertical pacing varies deliberately section to section.
   ========================================================================= */
.sec { position: relative; }
.sec-stone { background: var(--surface-card); }
.sec-page  { background: var(--surface-page); }

.eyebrow { color: var(--fg-2); }

/* ---- 0 · HERO ---------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: stretch;
  min-height: calc(100vh - 60px);    /* fallback */
  min-height: calc(100svh - 60px);   /* fill the viewport beneath the sticky nav */
  background: var(--surface-card);
}
.hero-text {
  padding: clamp(32px, 5vw, 64px) clamp(28px, 5vw, 72px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-text .eyebrow { margin-bottom: var(--space-3); }
.hero h1 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1.04; letter-spacing: -0.022em;
  margin: 0 0 var(--space-4);
  max-width: 15ch;
  text-wrap: balance;
}
.hero .hero-sub {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45;
  color: var(--fg-1); margin: 0;
  max-width: 30ch;
  padding-left: 18px;
  border-left: 1px solid var(--pale-lunar);
}
.colophon {
  display: flex; align-items: center; gap: var(--space-2);
  margin-top: clamp(28px, 4vw, 48px);
}
.colophon img { height: 38px; width: auto; display: block; opacity: 0.92; }
.colophon .est {
  font-family: var(--font-sans); font-weight: 500;
  font-size: var(--fs-micro); letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: var(--fg-2);
}

/* dark panel — the hero placeholder, carries the gold origin node + filament */
.hero-panel {
  position: relative;
  background: var(--surface-inverse);
  overflow: hidden;
}
.hero-panel svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* drop-in hero image fills the Deep Space panel */
.hero-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-net { will-change: transform; }
.panel-mark {
  position: absolute; left: 18px; bottom: 14px;
  font-family: var(--font-sans); font-weight: 500;
  font-size: 10px; letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--fg-on-inverse-2); opacity: 0.5;
  z-index: 3;
}

/* ---- 1 · THE SYMPTOM --------------------------------------------------- */
.symptom { padding: clamp(80px, 12vh, 150px) 0; }
.symptom h2 {
  font-size: clamp(30px, 4vw, 52px); line-height: 1.08;
  letter-spacing: -0.018em;
  max-width: 15ch; margin: 0 0 var(--space-6);
  text-wrap: balance;
}
.symptom-body {
  font-family: var(--font-sans); font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.62; color: var(--fg-1);
  max-width: 66ch;
}
.symptom-turnline {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(24px, 2.8vw, 36px); line-height: 1.32;
  letter-spacing: -0.014em;
  color: var(--fg-1);
  max-width: 22ch;
  margin: clamp(48px, 7vw, 88px) 0 0;
}

/* ---- 2 · THE TURN: left-aligned in the dominant block, like every section -- */
.turn { padding: clamp(80px, 12vh, 150px) 0; }
.turn-inner { margin: 0; max-width: none; }
.turn h2 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(30px, 4vw, 52px); line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0 0 var(--space-6);
  max-width: 17ch;
  text-wrap: balance;
}
.turn p {
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.5vw, 22px); line-height: 1.62;
  color: var(--fg-1);
  margin: 0 0 var(--space-4);
  max-width: 66ch;
}
.turn p + p { margin-top: 0; }

/* disclosure — quiet, centred */
.disclose { margin-top: var(--space-5); }
.disclose-trigger {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--fg-1);
  background: none; border: 0; cursor: pointer;
  padding: 6px 0; display: inline-flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--pale-lunar);
  transition: border-color var(--dur-quick) var(--ease-standard);
}
.disclose-trigger:hover { border-bottom-color: var(--deep-space); }
.disclose-trigger .chev {
  width: 14px; height: 14px; flex: none;
  transition: transform var(--dur-base) var(--ease-standard);
}
.disclose-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.disclose-panel {
  overflow: hidden; height: 0;
  transition: height var(--dur-slow) var(--ease-out);
}
.turn .disclose-panel { margin-top: var(--space-2); }
.turn-questions {
  list-style: none; margin: 0; padding: var(--space-4) 0 0;
  display: flex; flex-direction: column; gap: var(--space-2);
}
.turn-questions li {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(20px, 2vw, 28px); line-height: 1.35;
  color: var(--fg-1);
}

/* ---- 3 · THE COST — near-empty field, one bare line, zero interaction -- */
.cost {
  min-height: 96vh;
  display: grid;
  align-items: center;
  padding: clamp(80px, 12vh, 160px) 0;
}
.cost-line {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(28px, 4.6vw, 56px); line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  max-width: 19ch;
  /* left-aligned to the shared dominant-block edge, like every section */
  margin: 0;
  text-wrap: pretty;
}

/* ---- 4 · WHAT A FOUNDATION IS — breathing vertical sequence ------------ */
.found { padding: clamp(80px, 12vh, 150px) 0; }
.found-head { max-width: 720px; margin-bottom: clamp(48px, 7vw, 88px); }
.found-head h2 {
  font-size: clamp(30px, 4vw, 52px); line-height: 1.08;
  letter-spacing: -0.018em; margin: 0 0 var(--space-3);
  max-width: 17ch; text-wrap: balance;
}
.found-head .intro {
  font-family: var(--font-sans); font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.62; color: var(--fg-1); max-width: 50ch; margin: 0;
}
.found-seq { display: flex; flex-direction: column; }
.found-item {
  border-top: 1px solid var(--hairline);
  padding: clamp(28px, 3.6vw, 44px) 0;
  /* dominant block 1-7 carries the text; the phase indicator sits at column 8 */
  display: grid;
  grid-template-columns: 7fr 5fr;
  column-gap: var(--grid-gutter);
  align-items: center;
  grid-template-areas:
    "num     phase"
    "phrase  phase"
    "becomes phase";
}
.found-item:last-child { border-bottom: 1px solid var(--hairline); }
.found-item .found-num     { grid-area: num; }
.found-item .found-phrase  { grid-area: phrase; }
.found-item .found-becomes { grid-area: becomes; }
/* phase indicator: start of the supporting block, vertically centred to the row */
.found-phase { grid-area: phase; justify-self: start; align-self: center; display: flex; }
.found-phase svg { width: 28px; height: 28px; display: block; }
.found-row {
  width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0; padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 7fr) 14px;
  align-items: baseline; gap: var(--space-4);
}
.found-num {
  font-family: var(--font-sans); font-weight: 500;
  font-size: var(--fs-micro); letter-spacing: var(--tracking-caps);
  color: var(--fg-2); display: block; margin-bottom: var(--space-2);
}
.found-phrase {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(24px, 3.2vw, 40px); line-height: 1.16;
  letter-spacing: -0.016em; color: var(--fg-1);
  display: block; margin: 0 0 12px;
  max-width: 22ch; text-wrap: balance;
}
.found-becomes {
  font-family: var(--font-sans); font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.55; color: var(--fg-1); max-width: 48ch; margin: 0;
}
.found-row .chev {
  width: 14px; height: 14px; align-self: center; color: var(--pale-lunar);
  transition: transform var(--dur-base) var(--ease-standard);
}
.found-row[aria-expanded="true"] .chev { transform: rotate(180deg); }
.found-more {
  font-family: var(--font-sans); font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.62; color: var(--fg-1);
  max-width: 50ch;
  padding-top: var(--space-3);
}
.found-item .disclose-panel { margin-top: 0; }

/* ---- 5 · WHAT CHANGES: asymmetric split, body in 1-7, image in 8-12 --- */
.changes { padding: clamp(80px, 12vh, 150px) 0; }
.changes-grid {
  display: grid; grid-template-columns: 7fr 5fr;
  column-gap: clamp(32px, 5vw, 80px); align-items: center;
}
.changes-inner { max-width: none; margin: 0; }
.changes h2 {
  font-size: clamp(30px, 4.4vw, 58px); line-height: 1.05;
  letter-spacing: -0.022em; margin: 0 0 var(--space-6);
  max-width: 16ch; text-wrap: balance;
}
/* running body in Hanken, not serif (serif is for statements only) */
.changes p {
  font-family: var(--font-sans); font-weight: 400;
  font-size: var(--fs-body); line-height: var(--lh-body);
  letter-spacing: var(--tracking-flat); color: var(--fg-1);
  max-width: 66ch; margin: 0;
}
/* image slot: invisible but holds its 3:4 cell, so a real image is plug-and-play */
.placeholder-media {
  width: 100%; aspect-ratio: 3 / 4;
  background: transparent;
  border-radius: var(--radius-0);
}
.placeholder-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---- 6 · THE DOORS — most alive; not equal boxes, not a ladder --------- */
.doors { padding: clamp(80px, 12vh, 150px) 0 clamp(64px, 9vh, 120px); }
.doors-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 72px); }
.doors-head h2 {
  font-size: clamp(30px, 4vw, 52px); line-height: 1.08;
  letter-spacing: -0.018em; margin: 0; max-width: 15ch; text-wrap: balance;
}
.door-seq { display: flex; flex-direction: column; }
.door {
  border-top: 1px solid var(--hairline);
  padding: clamp(28px, 3.4vw, 40px) clamp(16px, 2vw, 28px);
  margin: 0 calc(-1 * clamp(16px, 2vw, 28px));
  position: relative;
  transition: background var(--dur-base) var(--ease-standard);
}
.door:last-of-type { border-bottom: 1px solid var(--hairline); }
/* the movement is a quiet wash to cream on hover, not a positional jump */
.door:hover { background: var(--surface-card); }
.door-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline; gap: var(--space-4);
}
.door-label {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(27px, 3.6vw, 44px); line-height: 1.12;
  letter-spacing: -0.016em; color: var(--fg-1); margin: 0;
}
.door-price {
  font-family: var(--font-sans); font-weight: 500;
  font-size: var(--fs-small); letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: var(--fg-2); white-space: nowrap;
}
.door-desc {
  font-family: var(--font-sans); font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.58; color: var(--fg-1);
  max-width: 52ch; margin: var(--space-2) 0 0;
}
.door-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4);
  margin-top: var(--space-3);
}
.door-more-btn, .door-go {
  font-family: var(--font-sans); font-weight: 500; font-size: var(--fs-small);
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  color: var(--fg-1); letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-quick) var(--ease-standard);
}
.door-go { color: var(--fg-1); }
.door-go:hover, .door-more-btn:hover { border-bottom-color: var(--pale-lunar); }
.door-go .arr { transition: transform var(--dur-base) var(--ease-standard); }
.door-go:hover .arr { transform: translateX(3px); }
.door-more-btn .chev {
  width: 13px; height: 13px; color: var(--pale-lunar);
  transition: transform var(--dur-base) var(--ease-standard);
}
.door-more-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.door-scope {
  font-family: var(--font-sans); font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6; color: var(--fg-1); max-width: 50ch;
  padding-top: var(--space-3);
}
.doors-plain {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(18px, 1.7vw, 23px); line-height: 1.5;
  color: var(--fg-1); max-width: 36ch;
  margin: clamp(40px, 6vw, 64px) 0 0;
}
/* structural hairline beneath the plain line, Pale Lunar (gold is reserved
   for the single contact CTA accent below the hero) */
.doors-gold {
  border: 0; border-top: 1px solid var(--pale-lunar);
  width: 64px; margin: var(--space-4) 0 0;
}

/* ---- 6 · THE FOUNDER --------------------------------------------------- */
.founder { padding: clamp(80px, 12vh, 150px) 0; }
.founder-grid {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.founder-portrait {
  position: relative; width: 100%; aspect-ratio: 3/4;
  background: var(--surface-inverse);
  overflow: hidden;
}
.founder-portrait svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.founder-portrait img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.founder-portrait .ph {
  position: absolute; left: 16px; bottom: 13px;
  font-family: var(--font-sans); font-weight: 500;
  font-size: 10px; letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: var(--fg-on-inverse-2); opacity: 0.55;
}
.founder-body { max-width: 56ch; }
/* name reads as a section title in Newsreader; selector beats `.founder-body p` */
.founder-body .founder-name {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(28px, 3vw, 40px); line-height: 1.1;
  letter-spacing: var(--tracking-h2); text-transform: none; color: var(--fg-1);
  margin: 0 0 var(--space-4);
}
.founder-body p {
  font-family: var(--font-sans); font-weight: 400;
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.62;
  letter-spacing: 0; color: var(--fg-1);
  margin: 0 0 var(--space-4);
}
.founder-link {
  font-family: var(--font-sans); font-size: var(--fs-small);
  color: var(--fg-1); text-decoration: none;
  border-bottom: 1px solid var(--pale-lunar); padding-bottom: 2px;
  transition: border-color var(--dur-quick) var(--ease-standard);
  display: inline-block; margin-top: var(--space-2);
}
.founder-link:hover { border-bottom-color: var(--deep-space); }

/* ---- 7 · THE WAY IN — single door -------------------------------------- */
.wayin { padding: clamp(80px, 12vh, 150px) 0 clamp(96px, 14vh, 180px); }
.wayin-grid {
  display: grid; grid-template-columns: 6fr 6fr; gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.wayin h2 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(34px, 4.8vw, 68px); line-height: 1.0;
  letter-spacing: -0.024em; margin: 0 0 var(--space-4); max-width: 11ch;
}
.wayin-body {
  font-family: var(--font-sans); font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.64; color: var(--fg-1); max-width: 48ch; margin: 0;
}
.wayin-email {
  display: inline-flex; align-items: baseline; gap: 10px;
  margin-top: var(--space-5);
  font-family: var(--font-serif); font-size: clamp(20px, 2vw, 27px);
  color: var(--fg-1); text-decoration: none;
  border-bottom: 1px solid var(--pale-lunar); padding-bottom: 4px;
  transition: border-color var(--dur-quick) var(--ease-standard);
}
.wayin-email:hover { border-bottom-color: var(--deep-space); }
.wayin-note {
  font-family: var(--font-sans); font-size: var(--fs-small);
  color: var(--fg-2); margin: var(--space-3) 0 0;
}

/* form */
.form { display: flex; flex-direction: column; gap: var(--space-4); }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label, .scope-label {
  font-family: var(--font-sans); font-weight: 500;
  font-size: var(--fs-micro); letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: var(--fg-2);
}
.form-field input, .form-field textarea {
  font-family: var(--font-sans); font-size: 16px; color: var(--fg-1);
  background: transparent; border: 0;
  border-bottom: 1px solid var(--pale-lunar);
  padding: 10px 0; outline: none; resize: none;
  border-radius: 0;
  transition: border-color var(--dur-quick) var(--ease-standard);
}
.form-field input:focus, .form-field textarea:focus { border-bottom-color: var(--deep-space); }
.form-field textarea { min-height: 96px; line-height: 1.5; }

/* scope chips — pre-selected when arriving from a door */
.scope-set { display: flex; flex-direction: column; gap: 12px; }
.scope-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.scope-chip {
  font-family: var(--font-sans); font-weight: 500;
  font-size: var(--fs-micro); letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--fg-2); background: transparent;
  border: 1px solid var(--pale-lunar); border-radius: var(--radius-xs);
  padding: 9px 15px; cursor: pointer;
  transition: border-color var(--dur-quick) var(--ease-standard),
              background var(--dur-quick) var(--ease-standard),
              color var(--dur-quick) var(--ease-standard);
}
.scope-chip:hover { border-color: var(--deep-space); color: var(--fg-1); }
/* selected reads as a considered outline tag, not a heavy filled button */
.scope-chip[aria-pressed="true"] {
  background: var(--soft-stone); color: var(--deep-space); border-color: var(--deep-space);
}
.form-submit {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-weight: 500; font-size: var(--fs-micro);
  letter-spacing: var(--tracking-caps); text-transform: uppercase;
  background: var(--deep-space); color: var(--soft-stone);
  border: 1px solid var(--deep-space); border-radius: 0;
  padding: 17px 26px; cursor: pointer;
  transition: transform var(--dur-quick) var(--ease-standard);
  margin-top: var(--space-1);
}
.form-submit .arr { transition: transform var(--dur-base) var(--ease-standard); }
.form-submit:hover .arr { transform: translateX(4px); }
.form-submit:active { transform: scale(0.98); }
.form-or {
  font-family: var(--font-sans); font-size: var(--fs-small);
  color: var(--fg-2); margin: 0;
}
/* the single Solar Gold accent below the hero, the email fallback CTA */
.form-or a {
  color: var(--fg-1); text-decoration: none;
  border-bottom: 1px solid var(--solar-gold); padding-bottom: 1px;
  transition: border-color var(--dur-quick) var(--ease-standard);
}
.form-or a:hover { border-bottom-color: var(--solar-gold); }

/* honeypot: off-screen, never shown to people */
.hp {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* submit status (validation / sending / error) */
.form-status {
  font-family: var(--font-sans); font-size: var(--fs-small);
  line-height: var(--lh-small); color: var(--fg-1); margin: 0;
}
.form-status:empty { display: none; }
/* on-page confirmation that replaces the form on success */
.form-success-line {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(20px, 2vw, 27px); line-height: 1.4;
  color: var(--fg-1); margin: 0; max-width: 32ch;
}

/* ---- FOOTER ------------------------------------------------------------ */
.footer { border-top: 1px solid var(--hairline); padding: var(--space-5) 0; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--space-4); flex-wrap: wrap;
}
.footer-left { display: flex; align-items: center; gap: 14px; }
.footer-left img { height: 26px; width: auto; }
.footer-meta {
  font-family: var(--font-sans); font-weight: 500;
  font-size: var(--fs-micro); letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: var(--fg-2);
}

/* =========================================================================
   THE PERSISTENT THROUGH-LINE (tweakable; default OFF)
   A faint vertical thread that thickens imperceptibly toward the doors and
   resolves into the second gold moment. Pale Lunar until the doors.
   ========================================================================= */
.throughline {
  position: fixed;
  top: 0; bottom: 0;
  left: max(28px, calc((100vw - 1180px) / 2 + 40px));
  width: 1px;
  z-index: 5;
  pointer-events: none;
  display: none;
}
html[data-throughline="on"] .throughline { display: block; }
.throughline-track {
  position: absolute; inset: 0;
  background: var(--pale-lunar);
  opacity: 0.28;
}
.throughline-fill {
  position: absolute; left: 0; top: 0; width: 100%;
  height: 0%;
  background: var(--pale-lunar);
  opacity: 0.6;
  transform-origin: top;
}
/* the resolving gold node, parked at the scroll-progress head */
.throughline-head {
  position: absolute; left: 50%; top: 0;
  width: 5px; height: 5px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--pale-lunar);
  opacity: 0;
  transition: background var(--dur-slow) var(--ease-standard);
}
html[data-throughline="on"] .throughline-head { opacity: 1; }
.throughline.is-gold .throughline-fill { background: var(--solar-gold); opacity: 0.85; }
.throughline.is-gold .throughline-head { background: var(--solar-gold); width: 6px; height: 6px; }

/* =========================================================================
   MOTION — settle on arrival (progressive enhancement, never reverses).
   Pre-state is applied by JS only (html.js-settle), so no-JS = fully visible.
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  html.js-settle .settle {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--dur-slow) var(--ease-out),
                transform var(--dur-slow) var(--ease-out);
  }
  html.js-settle .settle.is-in { opacity: 1; transform: none; }
  html.js-settle .settle-d1 { transition-delay: 120ms; }
  html.js-settle .settle-d2 { transition-delay: 240ms; }
  html.js-settle .settle-d3 { transition-delay: 380ms; }

  /* hero orchestrated entrance: the hairline draws, then the node ignites */
  html.js-settle .eyebrow-hair { width: 0; transition: width 760ms var(--ease-out) 120ms; }
  html.js-settle.hero-in .eyebrow-hair { width: 28px; }
  html.js-settle #origin-node {
    opacity: 0; transform: scale(0.25);
    transform-box: fill-box; transform-origin: center;
    transition: opacity 620ms var(--ease-out) 760ms, transform 720ms var(--ease-out) 760ms;
  }
  html.js-settle.hero-in #origin-node { opacity: 1; transform: scale(1); }
}
/* motion turned off via tweak: still everything immediately */
html.motion-off .settle { opacity: 1 !important; transform: none !important; transition: none !important; }
html.motion-off .hero-net { transform: none !important; }
html.motion-off .disclose-panel { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .disclose-panel { transition: none; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  /* brand mobile collapse: panel first (carries node + descending filament), type beneath */
  .hero-panel { order: -1; min-height: 300px; }
  .hero-text { padding: clamp(36px, 8vw, 56px) clamp(24px, 6vw, 40px) clamp(48px, 9vw, 64px); }
  .hero h1 { max-width: 100%; }

  .founder-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .founder-portrait { max-width: 280px; }
  .wayin-grid { grid-template-columns: 1fr; gap: var(--space-7); }

  /* foundations: phase indicator moves inline beside its number */
  .found-item {
    grid-template-columns: auto 1fr;
    column-gap: var(--space-3);
    align-items: center;
    grid-template-areas:
      "num     phase"
      "phrase  phrase"
      "becomes becomes";
  }
  .found-phase svg { width: 24px; height: 24px; }

  /* what changes: image placeholder stacks beneath the paragraph */
  .changes-grid { grid-template-columns: 1fr; row-gap: var(--space-5); }

  /* override 5 in brief: don't let the cost emptiness read as a failed load.
     Hold the space tightly enough that the line reads as deliberate. */
  .cost { min-height: 62vh; padding: clamp(72px, 16vh, 120px) 0; }
  .cost-line { margin-left: 0; font-size: clamp(23px, 6vw, 32px); max-width: 18ch; }

  .throughline { display: none !important; }
}

@media (max-width: 560px) {
  .door-head { grid-template-columns: 1fr; gap: 8px; }
  .door-price { order: 2; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
}

/* print / pdf — everything static and legible */
@media print {
  .nav, .throughline, .hero-net, #tweaks-root { display: none !important; }
  .settle { opacity: 1 !important; transform: none !important; }
}
