/* ================================================================
   REZ: the GridSchool landing (BRAND.md amendment 2026-10-07)
   Law: light is information. Dark is not yet. Motion is current
   arriving somewhere, then it stops.
   ================================================================ */
:root {
  --void: #010205;
  --bg: #02050a;
  --panel: #050a12;
  --line: #101c2c;
  --line-2: #18283d;
  --text: #d9e4ef;
  --soft: #a9b8c8;
  --muted: #7b8ca0;
  --ghost: #44566b;
  --cyan: #2be4ff;
  --cyan-rgb: 43, 228, 255;
  --lumen: #effdff;
  --amber: #ffb32b;
  --ok: #3ddc84;
  --cta-ink: #021219;

  --font-sans: "Geist", "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "Geist Mono", "IBM Plex Mono", ui-monospace, monospace;

  --fs-micro: 11px;
  --fs-meta: 12.5px;
  --fs-body: 15.5px;
  --fs-lead: clamp(17px, 1.35vw, 19px);
  --fs-h3: 17px;
  --fs-h2: clamp(28px, 3.4vw, 44px);
  --fs-h1: clamp(34px, min(4.1vw, 6.6svh), 60px);
  --fs-statement: clamp(30px, 4.6vw, 64px);

  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-6: 48px; --sp-8: 64px; --sp-12: 96px; --sp-16: 128px;

  --radius: 12px;
  --radius-sm: 7px;
  --hair: color-mix(in srgb, var(--text) 7%, transparent);
  --hair-cyan: color-mix(in srgb, var(--cyan) 22%, transparent);

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-rez: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: 140ms;
  --dur-base: 320ms;
  --dur-rez: 900ms;

  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--fs-body)/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; }
::selection { background: rgba(var(--cyan-rgb), .28); color: var(--lumen); }
:focus-visible { outline: 1.5px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.mono { font-family: var(--font-mono); letter-spacing: 0; }
.eyebrow {
  font: 500 var(--fs-micro)/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding-inline: max(16px, calc((100% - var(--wrap)) / 2));
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base);
}
.nav.is-scrolled { border-bottom-color: var(--hair); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
.brand .g-off rect { fill: #0d1826; }
.brand .g-on rect { fill: var(--cyan); }
.brand span { font: 500 13px/1 var(--font-mono); letter-spacing: .22em; color: var(--soft); }
.brand b { color: var(--lumen); font-weight: 500; }
.nav__links { display: flex; gap: 28px; }
.nav__links a, .nav__cta {
  font-size: 13.5px; color: var(--muted); text-decoration: none;
  transition: color var(--dur-fast);
}
.nav__links a:hover { color: var(--text); }
.nav__cta { color: var(--lumen); display: inline-flex; gap: 8px; align-items: center; }
.nav__cta kbd {
  font: 500 10.5px/1 var(--font-mono); color: var(--muted);
  border: 1px solid var(--line-2); border-radius: 4px; padding: 3px 5px;
}
@media (max-width: 860px) { .nav__links { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: var(--radius-sm);
  font: 500 15px/1 var(--font-sans);
  text-decoration: none; white-space: nowrap;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--cyan); color: var(--cta-ink); }
.btn--solid:hover { background: var(--lumen); }
.btn--solid .arr { transition: transform var(--dur-base) var(--ease-out); }
.btn--solid:hover .arr { transform: translateX(3px); }
.link {
  color: var(--soft); text-decoration: none; font-size: 15px;
  border-bottom: 1px solid var(--line-2); padding-bottom: 3px;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.link:hover { color: var(--lumen); border-color: var(--cyan); }

/* ================================================================
   HERO: the compiler
   ================================================================ */
.hero {
  position: relative;
  padding: clamp(28px, 5svh, 72px) 0 var(--sp-8);
  isolation: isolate;
  overflow-x: clip; /* the horizon glow is wider than the page */
}
.hero::before { /* one light source: the horizon behind the map */
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: 58%; width: 140vw; height: 70vh; transform: translate(-50%, -50%);
  background: radial-gradient(50% 40% at 62% 50%, rgba(var(--cyan-rgb), .075), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid; gap: clamp(32px, 4vw, 64px);
  grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr);
  align-items: start; /* the words never wait for the map's list */
}
@media (max-width: 1020px) {
  /* One column, and the map in the first screen: on a phone (where the ads
     land) the order is claim, sentence, map, action, then the explanation. */
  .hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .hero__words, .compiler { display: contents; }
  .hero__eyebrow { order: 1; }
  .hero h1 { order: 2; margin-bottom: 18px; }
  .prompt { order: 3; }
  .map { order: 4; margin-top: 4px; }
  .readout { order: 5; }
  .hero__cta { order: 6; margin-top: 20px; }
  .hero__fine { order: 7; }
  .hero__sub { order: 8; margin: 28px 0 0; }
  .caption { order: 9; }
}
@media (max-width: 600px) {
  .hero { padding-top: 20px; }
  .hero h1 { margin-top: 10px; }
  .prompt { line-height: 1.95; font-size: 13.5px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__cta { gap: 14px; }
}

.hero h1 {
  margin: 16px 0 20px;
  font-size: var(--fs-h1); line-height: 1.02; font-weight: 400;
  letter-spacing: -0.035em; color: var(--lumen);
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--muted); }
.hero__sub {
  margin: 0 0 28px; max-width: 34em;
  font-size: var(--fs-lead); line-height: 1.6; color: var(--soft);
  text-wrap: pretty;
}
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero__fine { margin: 18px 0 0; font: 400 var(--fs-meta)/1.5 var(--font-mono); color: var(--ghost); }

/* the prompt: a sentence you fill in, like a command */
.compiler { position: relative; }
.prompt {
  font: 400 clamp(14px, 1.2vw, 15.5px)/2.1 var(--font-mono);
  color: var(--muted);
  margin: 0 0 6px; padding-left: 22px; position: relative;
}
.prompt::before { content: "›"; position: absolute; left: 2px; color: var(--cyan); }
.prompt label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pick {
  position: relative; display: inline-block;
}
.pick select {
  appearance: none; -webkit-appearance: none;
  font: inherit; color: var(--lumen);
  background: transparent; border: 0;
  border-bottom: 1px dashed color-mix(in srgb, var(--cyan) 55%, transparent);
  padding: 0 18px 0 2px; margin: 0 2px; border-radius: 0;
  cursor: pointer;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.pick::after {
  content: ""; position: absolute; right: 6px; top: 50%; margin-top: -2px;
  border: 4px solid transparent; border-top-color: var(--cyan); pointer-events: none;
}
.pick select:hover { background: rgba(var(--cyan-rgb), .06); border-bottom-style: solid; }
.pick select option { background: var(--panel); color: var(--text); }

.map {
  position: relative;
  margin-top: 14px;
}
.map svg { display: block; width: 100%; height: auto; overflow: visible; }
.map__floor { /* a soft pool of light under the map; the grid itself is drawn in the SVG */
  position: absolute; inset: -8% -6%; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 55% at 55% 50%, rgba(var(--cyan-rgb), .045), transparent 72%);
}

/* svg vocabulary */
.rez-grid__line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rez-grid { opacity: .95; }
.phase-band { fill: rgba(var(--cyan-rgb), .018); }
.phase-rule { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 2 5; }
.phase-label { font: 500 10px var(--font-mono); letter-spacing: .14em; fill: var(--muted); text-transform: uppercase; }
.phase-pace { font: 400 10px var(--font-mono); fill: var(--ghost); }
.lane { stroke: var(--line-2); stroke-width: 1; } /* a lane is a major grid line */
.lane-label { font: 500 9px var(--font-mono); letter-spacing: .14em; fill: var(--ghost); }
.road-ghost { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.road { fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(var(--cyan-rgb), .55)); }
.spark { fill: var(--lumen); filter: drop-shadow(0 0 6px var(--cyan)) drop-shadow(0 0 14px var(--cyan)); }
.node { cursor: pointer; outline: none; }
.node .ring { fill: var(--void); stroke: var(--cyan); stroke-width: 1.5; transition: fill var(--dur-fast), stroke-width var(--dur-fast); }
.node .num { font: 500 10px var(--font-mono); fill: var(--soft); text-anchor: middle; dominant-baseline: central; pointer-events: none; transition: fill var(--dur-fast); }
.node .halo { fill: none; stroke: var(--cyan); stroke-width: 1; opacity: 0; transition: opacity var(--dur-fast), r var(--dur-base) var(--ease-out); }
.node.is-hot .ring, .node:focus-visible .ring { fill: rgba(var(--cyan-rgb), .18); stroke-width: 2; }
.node.is-hot .num, .node:focus-visible .num { fill: var(--lumen); }
.node.is-hot .halo, .node:focus-visible .halo { opacity: .45; }
.node--you .ring { fill: var(--lumen); stroke: var(--lumen); filter: drop-shadow(0 0 8px var(--cyan)); }
.node--you .num { fill: var(--cta-ink); }
.node--end .ring { stroke: var(--ghost); stroke-dasharray: 3 4; fill: var(--void); }
.node--end .num { fill: var(--ghost); }
.end-label, .you-label { font: 500 9.5px var(--font-mono); letter-spacing: .14em; text-anchor: middle; }
.you-label { fill: var(--lumen); }
.end-label { fill: var(--ghost); }
.node-pop { transform-box: fill-box; transform-origin: center; }

/* readout under the map */
.readout {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--hair);
  font: 400 var(--fs-meta)/1.5 var(--font-mono); color: var(--muted);
}
.readout b { color: var(--lumen); font-weight: 500; }
.readout .draft { color: var(--ghost); }

.caption { min-height: 1.5em; margin: 8px 0 0; font: 400 12.5px/1.5 var(--font-mono); color: var(--cyan); }

/* ================================================================
   SECTIONS
   ================================================================ */
.sec { padding: var(--sp-16) 0; position: relative; }
.sec--tight { padding: var(--sp-12) 0; }
.rule { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent); }
.sec h2 {
  margin: 14px 0 18px; font-size: var(--fs-h2); line-height: 1.08;
  font-weight: 400; letter-spacing: -0.03em; color: var(--lumen);
  text-wrap: balance; max-width: 20ch;
}
.lede { max-width: 38em; margin: 0; font-size: var(--fs-lead); color: var(--soft); text-wrap: pretty; }

/* the statement: the market, said once, big */
.statement {
  font-size: var(--fs-statement); line-height: 1.08; letter-spacing: -0.035em;
  font-weight: 400; margin: 0; max-width: 22ch; color: var(--ghost); text-wrap: balance;
}
.statement .lit { color: var(--lumen); transition: color 1.2s var(--ease-rez); }
.statement:not(.is-lit) .lit { color: var(--ghost); }

.who {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin-top: var(--sp-8);
  background: var(--hair); border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden;
}
@media (max-width: 860px) { .who { grid-template-columns: 1fr; } }
.who > div { background: var(--bg); padding: 28px 26px 30px; }
.who h3 { margin: 14px 0 10px; font-size: var(--fs-h3); font-weight: 500; color: var(--lumen); letter-spacing: -0.01em; }
.who p { margin: 0; color: var(--muted); font-size: 14.5px; }
.who .route { margin-top: 18px; font: 400 12px var(--font-mono); color: var(--soft); }
.who .route i { font-style: normal; color: var(--cyan); }
.not-for { margin: 22px 0 0; font-size: 14px; color: var(--muted); max-width: 60em; }
.not-for b { color: var(--soft); font-weight: 500; }

/* specimens: the four things a hiring manager can open */
.specimens {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
  margin-top: var(--sp-8);
}
@media (max-width: 860px) { .specimens { grid-template-columns: minmax(0, 1fr); } }
.spec {
  position: relative; min-width: 0; border-radius: var(--radius);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--hair);
  padding: 22px 22px 24px;
  min-height: 300px;
  display: flex; flex-direction: column;
}
.spec__bar { display: flex; justify-content: space-between; gap: 12px; }
.spec__bar .tag { color: var(--ghost); }
.spec h3 { margin: 16px 0 6px; font-size: var(--fs-h3); font-weight: 500; color: var(--lumen); letter-spacing: -0.01em; }
.spec > p { margin: 0 0 18px; color: var(--muted); font-size: 14px; max-width: 34em; }
.spec__body { margin-top: auto; }

/* rez: content resolves top to bottom as a line of light passes */
.rez .spec__body, .rez h3, .rez > p {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 55%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 55%, transparent 100%);
  -webkit-mask-size: 100% 220%; mask-size: 100% 220%;
  -webkit-mask-position: 0 100%; mask-position: 0 100%;
  transition: -webkit-mask-position var(--dur-rez) var(--ease-rez), mask-position var(--dur-rez) var(--ease-rez);
}
.rez.is-in .spec__body, .rez.is-in h3, .rez.is-in > p { -webkit-mask-position: 0 0; mask-position: 0 0; }
.rez::after { /* the scan line itself */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 12px rgba(var(--cyan-rgb), .8);
  opacity: 0; pointer-events: none;
}
.rez.is-in::after { animation: scan var(--dur-rez) var(--ease-rez) both; }
@keyframes scan { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* specimen 1: a review */
.diff { font: 400 12px/1.75 var(--font-mono); border-radius: var(--radius-sm); background: var(--void); box-shadow: inset 0 0 0 1px var(--hair); overflow: hidden; }
.diff__file { padding: 8px 12px; color: var(--muted); border-bottom: 1px solid var(--hair); display: flex; justify-content: space-between; }
.diff pre { margin: 0; padding: 8px 0; white-space: pre; overflow-x: auto; }
.diff .ln { display: block; padding: 0 12px; color: var(--soft); }
.diff .del { background: rgba(255, 107, 138, .07); color: #f0a3b4; }
.diff .add { background: rgba(61, 220, 132, .07); color: #9de8bd; }
.review {
  margin: 10px 0 0 22px; padding: 10px 12px; border-left: 1.5px solid var(--amber);
  font-size: 13px; color: var(--text); background: rgba(255, 179, 43, .04); border-radius: 0 6px 6px 0;
}
.review .who-said { font: 500 10.5px var(--font-mono); color: var(--amber); letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 3px; }

/* specimen 2: the verdict form, empty on purpose */
.form { display: grid; gap: 14px; }
.form__q { display: grid; gap: 8px; font-size: 13.5px; color: var(--soft); }
.form__q i { display: block; height: 30px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); background: repeating-linear-gradient(90deg, transparent 0 8px, rgba(255,255,255,.012) 8px 9px); }
.form__note { font: 400 11.5px var(--font-mono); color: var(--ghost); margin-top: 4px; }

/* specimen 3: the case study page */
.page { border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px var(--hair); background: var(--void); padding: 16px; display: grid; gap: 10px; }
.page__url { font: 400 11px var(--font-mono); color: var(--ghost); }
.page__h { height: 12px; width: 62%; border-radius: 3px; background: var(--line-2); }
.page__row { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; font: 400 11px var(--font-mono); color: var(--muted); }
.page__row span:last-child { height: 8px; border-radius: 3px; background: var(--line); }
.page__row:nth-child(4) span:last-child { width: 80%; }
.page__row:nth-child(5) span:last-child { width: 66%; }
.page__row:nth-child(6) span:last-child { width: 90%; }
.page__row:nth-child(7) span:last-child { width: 48%; }

/* specimen 4: the recorded defense */
.tape { display: grid; gap: 10px; }
.tape__track { position: relative; height: 54px; border-radius: 6px; background: var(--void); box-shadow: inset 0 0 0 1px var(--hair); overflow: hidden; }
.tape__wave { position: absolute; inset: 10px 12px; display: flex; align-items: center; gap: 2px; }
.tape__wave i { flex: 1; background: var(--line-2); border-radius: 1px; }
.tape__split { position: absolute; top: 0; bottom: 0; left: 25%; width: 1px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.tape__legend { display: grid; grid-template-columns: 1fr 3fr; font: 400 11.5px var(--font-mono); color: var(--muted); }
.tape__legend span + span { padding-left: 12px; }
.tape__legend b { color: var(--soft); font-weight: 500; display: block; }

/* the week: plain, still */
.week { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: var(--sp-8); }
@media (max-width: 860px) { .week { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .week { grid-template-columns: 1fr; } }
.week div { border-top: 1px solid var(--line-2); padding-top: 18px; }
.week .k { font: 500 12px var(--font-mono); color: var(--cyan); }
.week h3 { margin: 10px 0 6px; font-size: var(--fs-h3); font-weight: 500; color: var(--lumen); }
.week p { margin: 0; font-size: 14px; color: var(--muted); }

/* founder + terms */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.founder p:not(.eyebrow) { color: var(--soft); font-size: 16px; max-width: 36em; }
.receipts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.receipts a { font: 400 13px var(--font-mono); color: var(--soft); text-decoration: none; }
.receipts a::before { content: "↗ "; color: var(--cyan); }
.receipts a:hover { color: var(--lumen); }
.terms { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.terms li { padding: 18px 0; border-top: 1px solid var(--hair); color: var(--muted); font-size: 14.5px; }
.terms li:last-child { border-bottom: 1px solid var(--hair); }
.terms b { display: block; color: var(--lumen); font-weight: 500; margin-bottom: 4px; font-size: 15px; }

/* faq: quiet */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--hair); }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 32px 20px 0; position: relative;
  font-size: 16px; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 18px var(--font-mono); color: var(--ghost); transition: transform var(--dur-base) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--cyan); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 40em; }

/* end: the peak. the horizon lights once. */
.final { text-align: center; padding: var(--sp-16) 0 calc(var(--sp-16) + 40px); position: relative; overflow: hidden; }
.final h2 { margin-inline: auto; max-width: 18ch; }
.final .lede { margin: 0 auto 36px; }
.horizon {
  position: absolute; left: 0; right: 0; bottom: 64px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--cyan-rgb), .9) 50%, transparent);
  transform: scaleX(0); transform-origin: center;
  transition: transform 1.6s var(--ease-rez);
}
.horizon::after {
  content: ""; position: absolute; left: 20%; right: 20%; top: -60px; height: 120px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(var(--cyan-rgb), .12), transparent 70%);
}
.final.is-in .horizon { transform: scaleX(1); }

footer { padding: 28px 0 40px; border-top: 1px solid var(--hair); font: 400 12px/1.8 var(--font-mono); color: var(--ghost); }
footer a { color: var(--muted); }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; }
  .rez .spec__body, .rez h3, .rez > p { -webkit-mask-image: none; mask-image: none; }
  .horizon { transform: scaleX(1); }
}

/* A phone's road: one column per step, so rings and numbers stay readable. */
.map svg.is-narrow .node .ring { r: 11px; }
.map svg.is-narrow .node .halo { r: 15px; }
.map svg.is-narrow .node .num { font-size: 10px; }
.map svg.is-narrow .phase-pace { display: none; }

/* A step the last change of answers added: lit until the next change. */
.node.is-new .ring { fill: rgba(var(--cyan-rgb), .22); stroke: var(--lumen); stroke-width: 2; }
.node.is-new .num { fill: var(--lumen); }
.node.is-new .halo { opacity: .5; }

/* ---------- hero, second pass: one focal point ---------- */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero__sub { max-width: 30em; }

/* readout: route, count, then who checks the work, keyed by the rings */
.readout { align-items: center; }
.checks { display: inline-flex; flex-wrap: wrap; gap: 6px 16px; }
.key { display: inline-flex; align-items: center; gap: 7px; }
.key::before { content: ""; width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 1px var(--cyan); }
.key--outside::before { box-shadow: 0 0 0 1px var(--amber); }
.key--alone::before { box-shadow: 0 0 0 1px var(--ghost); }

/* who checks a step, drawn on the step */
.check-ring { fill: none; stroke: var(--cyan); stroke-width: 1; opacity: .38; }
.check--outside .check-ring { stroke: var(--amber); opacity: .8; }
.check--outside .ring { stroke: var(--amber); }
.check--alone .ring { stroke: color-mix(in srgb, var(--cyan) 55%, var(--ghost)); }
.ghost-ring { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 3 4; }

/* phases light as the current reaches them */
.phase { opacity: .28; transition: opacity .6s var(--ease-out); }
.phase.is-lit { opacity: 1; }

/* the grid arrives from the centre outward, once */
.rez-grid.is-arriving { animation: grid-in 900ms var(--ease-out) 450ms both; }
@keyframes grid-in { from { opacity: 0; clip-path: circle(0% at 50% 55%); } to { opacity: .95; clip-path: circle(80% at 50% 55%); } }
/* and notices the cursor: the cells under it brighten, nothing moves */
.rez-grid--hot { pointer-events: none; }
.rez-grid--hot .rez-grid__line, .rez-grid--hot { stroke: color-mix(in srgb, var(--cyan) 30%, var(--line-2)); }
#draft-grid-cell path { stroke: var(--line); }

/* the hover card */
.step-card {
  position: absolute; z-index: 3; width: min(300px, 86%); pointer-events: none;
  padding: 12px 14px 13px; border-radius: 10px;
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--hair-cyan), 0 16px 40px rgba(0, 0, 0, .5);
  animation: card-in 160ms var(--ease-out);
}
@keyframes card-in { from { opacity: 0; transform: translateY(4px); } }
.step-card__n { display: block; font: 400 11px var(--font-mono); color: var(--muted); }
.step-card__title { display: block; margin: 5px 0 4px; font-size: 14.5px; font-weight: 500; color: var(--lumen); line-height: 1.35; }
.step-card__purpose { margin: 0 0 9px; font-size: 13px; line-height: 1.5; color: var(--soft); }
.step-card__check { display: inline-flex; align-items: center; gap: 7px; font: 500 11.5px var(--font-mono); color: var(--cyan); }
.step-card__check::before { content: ""; width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 1px currentColor; }
.step-card__check--outside { color: var(--amber); }
.step-card__check--alone { color: var(--muted); }
.node.is-hot .ring { fill: rgba(var(--cyan-rgb), .18); stroke-width: 2; }
.node.is-hot .halo { opacity: .45; }

/* ---------- the arrival: first view of a session only ----------
   0 headline rises · 300 action · 400 underlines draw · 450 grid · 900 current */
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes underline { from { background-size: 0% 1px; } }
.first-view .hero__eyebrow { animation: fade 500ms var(--ease-out) both; }
.first-view .hero h1 > span, .first-view .hero h1 > em { display: inline-block; animation: rise 620ms var(--ease-out) both; }
.first-view .hero h1 > em { animation-delay: 70ms; }
.first-view .hero__sub { animation: rise 620ms var(--ease-out) 140ms both; }
.first-view .hero__cta, .first-view .nav { animation: fade 500ms var(--ease-out) 300ms both; }
.first-view .hero__fine { animation: fade 500ms var(--ease-out) 380ms both; }
.first-view .prompt { animation: fade 500ms var(--ease-out) 250ms both; }
.pick select {
  border-bottom: 0;
  background-image: repeating-linear-gradient(90deg, color-mix(in srgb, var(--cyan) 55%, transparent) 0 3px, transparent 3px 6px);
  background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 1px;
}
.first-view .pick select { animation: underline 520ms var(--ease-out) 420ms both; }
.first-view .pick:nth-of-type(2) select { animation-delay: 500ms; }
.first-view .pick:nth-of-type(3) select { animation-delay: 580ms; }
.first-view .readout { animation: fade 500ms var(--ease-out) 1500ms both; }
@media (prefers-reduced-motion: reduce) {
  .phase { opacity: 1; }
  .rez-grid.is-arriving { animation: none; }
}

/* the bets: the stance, said plainly, under the statement */
.bets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: var(--sp-8); }
@media (max-width: 960px) { .bets { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .bets { grid-template-columns: 1fr; } }
.bets div { border-top: 1px solid var(--line-2); padding-top: 18px; }
.bets .k { font: 500 12px var(--font-mono); color: var(--cyan); }
.bets h3 { margin: 10px 0 6px; font-size: var(--fs-h3); font-weight: 500; color: var(--lumen); }
.bets p { margin: 0; font-size: 14px; color: var(--muted); }
.founder p:not(.eyebrow) + p { margin-top: 14px; }


/* ================================================================
   HERO, craft pass (2026-10-08): one column, two deliberate lines,
   the map full width, two type styles, nothing under 11px on screen.
   ================================================================ */
@media (min-width: 1021px) {
  .hero { padding-top: clamp(40px, 7svh, 88px); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero__words {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 64px; align-items: end;
  }
  .hero__eyebrow, .hero h1 { grid-column: 1 / -1; }
  .hero__sub { grid-column: 1; grid-row: 3; margin: 0; }
  .hero__cta { grid-column: 2; grid-row: 3; justify-self: end; }
  .hero__fine { grid-column: 2; grid-row: 4; justify-self: end; margin-top: 12px; }
  .compiler { margin-top: clamp(32px, 5svh, 56px); }
  .map svg { max-height: min(400px, 46svh); }
}
.hero h1 { font-size: clamp(36px, 4.6vw, 68px); letter-spacing: -0.04em; line-height: 1.04; margin: 14px 0 22px; text-wrap: balance; }
@media (min-width: 1021px) { .hero h1 > span, .hero h1 > em, .first-view .hero h1 > span, .first-view .hero h1 > em { display: block; } }
.hero h1 em { color: var(--lumen); }
.hero__eyebrow { margin: 0; font-size: 14px; color: var(--muted); }
.hero__sub { font-size: 18px; max-width: 32em; color: var(--soft); text-wrap: balance; }
.hero__fine { font: 400 13px/1.5 var(--font-sans); color: var(--muted); }

/* the map's words: sentence case, one mono size, never under 11px on screen */
.phase-label { font: 500 calc(11px * var(--u, 1)) var(--font-mono); letter-spacing: 0; text-transform: none; fill: var(--soft); }
.phase-pace { font: 400 calc(11px * var(--u, 1)) var(--font-mono); fill: var(--ghost); }
.you-label, .end-label { font: 500 calc(11px * var(--u, 1)) var(--font-mono); letter-spacing: 0; }
.end-label--soft { font-weight: 400; fill: var(--ghost); }
.node .num { font: 500 calc(11px * var(--u, 1)) var(--font-mono); }
.map svg.is-narrow .node .num { display: none; } /* a phone's ring is too small for a number; the card says it */
.map svg.is-narrow .phase-pace { display: none; }

/* the picker: a button sized to its words, a list that opens under it */
.pick.is-enhanced select { position: absolute; inset: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pick.is-enhanced::after { content: none; }
.pick__btn {
  font: inherit; color: var(--lumen); background: none; border: 0; cursor: pointer;
  padding: 0 16px 1px 1px; margin: 0 1px; position: relative;
  background-image: linear-gradient(90deg, color-mix(in srgb, var(--cyan) 70%, transparent), color-mix(in srgb, var(--cyan) 70%, transparent));
  background-repeat: no-repeat; background-position: 0 100%; background-size: calc(100% - 15px) 1px;
  transition: color var(--dur-fast);
}
.pick__btn::after {
  content: ""; position: absolute; right: 2px; top: 50%; margin-top: -1px;
  border: 4px solid transparent; border-top-color: var(--cyan);
  transition: transform var(--dur-base) var(--ease-out); transform-origin: 50% 25%;
}
.pick__btn:hover { color: #fff; }
.pick.is-open .pick__btn::after { transform: rotate(180deg); }
.first-view .pick__btn { animation: underline 520ms var(--ease-out) 420ms both; }
.first-view .pick:nth-of-type(2) .pick__btn { animation-delay: 500ms; }
.first-view .pick:nth-of-type(3) .pick__btn { animation-delay: 580ms; }
.pick__list {
  position: absolute; z-index: 5; left: -10px; top: calc(100% + 6px); min-width: calc(100% + 20px);
  margin: 0; padding: 6px; list-style: none; outline: none;
  background: color-mix(in srgb, var(--panel) 96%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 10px; box-shadow: inset 0 0 0 1px var(--hair-cyan), 0 18px 44px rgba(0, 0, 0, .55);
  animation: card-in 140ms var(--ease-out);
}
.pick__list li {
  padding: 7px 10px; border-radius: 6px; white-space: nowrap; cursor: pointer;
  font: 400 14px/1.4 var(--font-mono); color: var(--soft);
}
.pick__list li.is-active { background: rgba(var(--cyan-rgb), .1); color: #fff; }
.pick__list li[aria-selected="true"] { color: var(--cyan); }
/* the sentence (and its open list) always sits above the map */
.prompt { z-index: 4; }
.pick__list { background: var(--panel); }
.map svg.is-narrow .end-label--soft { display: none; }

/* ================================================================
   A second door and an anchor (2026-10-19). The hero keeps one solid
   button; the free check is a quiet link under it. Lower down, the
   two plans sit side by side, the higher-touch one first.
   ================================================================ */
.hero__alt { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.hero__alt .link { font-size: 14px; color: var(--text); margin-left: 4px; white-space: nowrap; }
@media (min-width: 1021px) {
  .hero__alt { grid-column: 2; grid-row: 5; justify-self: end; margin-top: 10px; }
}
@media (max-width: 1020px) { .hero__alt { order: 7; margin-bottom: 8px; } }
@media (max-width: 600px) {
  .hero__alt .link { display: inline-block; margin: 6px 0 0; }
}
.first-view .hero__alt { animation: fade 500ms var(--ease-out) 420ms both; }

.btn--line { color: var(--lumen); box-shadow: inset 0 0 0 1px var(--hair-cyan); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--cyan); }
.btn--line .arr { color: var(--cyan); transition: transform var(--dur-base) var(--ease-out); }
.btn--line:hover .arr { transform: translateX(3px); }

.plans {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
  margin-top: var(--sp-8);
}
@media (max-width: 860px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan {
  min-width: 0; border-radius: var(--radius);
  background: var(--panel); box-shadow: inset 0 0 0 1px var(--hair);
  padding: 22px 22px 24px;
  display: flex; flex-direction: column;
}
.plan--complete { box-shadow: inset 0 0 0 1px var(--hair-cyan); }
.plan__bar { display: flex; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.plan__bar span:first-child { color: var(--soft); }
.plan__bar .tag { color: var(--ghost); }
.plan h3 { margin: 16px 0 18px; font-size: 20px; line-height: 1.3; font-weight: 500; color: var(--lumen); letter-spacing: -0.015em; max-width: 26em; text-wrap: balance; }
.plan__list { list-style: none; margin: 0 0 24px; padding: 0; }
.plan__list li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid var(--hair); color: var(--muted); font-size: 14.5px; }
.plan__list li::before {
  content: ""; position: absolute; left: 2px; top: 19px;
  width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 0 1px var(--cyan);
}
.plan__foot { margin-top: auto; display: grid; gap: 18px; justify-items: start; }
.plan__price { margin: 0; font-size: 15px; color: var(--soft); }
.plan__price b { color: var(--lumen); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; margin-right: 4px; }
.plan__price span { display: block; margin-top: 4px; font: 400 var(--fs-meta)/1.5 var(--font-mono); color: var(--muted); }
@media (max-width: 600px) {
  .plan__foot { justify-items: stretch; }
  .plan__foot .btn { justify-content: center; white-space: normal; }
}
