/* ─────────────────────────────────────────────────────────────────────────
   sections.css, THE STANDARD (1.18), the home's five chapters since CLEAR
   (1.20): the film, the Daily Dip (the clock, the deck, the board), the
   road, the Q&A, the closer, and the device frame. On top of
   site.css's tokens and type scale; nothing here is a new palette. Every
   number a component shows is the game's or the live endpoint's
   (scripts/site-v2.mjs); the motion is src/art/sections.js.
   ───────────────────────────────────────────────────────────────────────── */

/* a single-column grid never sizes its one track to its content, and a
   grid child never widens its track: the road, a table, a long label
   overflow or scroll inside it instead of the page */
.sheet, .sheet > section, .dossier, .dossier__main, .dossier__main > section, .lesson, .lesson__top, .lesson__body, .film__sheet, .film__sheet figure, .mast, .daily__grid, .qa, .board__grid, .lede-row { grid-template-columns: minmax(0, 1fr); }
.cols > *, .lede-row > *, .board__grid > *, .daily__grid > *, .qa > *, .lesson__body > *, .dossier > *, .dossier__main > *, .sheet > section, .sheet > section > *, .film__foot > *, .film__top > * { min-width: 0; }

/* ── a section: a chapter label, one statement, one instrument ─────────── */
.sec { position: relative; padding: var(--sec-y) 0; }
.sec--rule { border-top: 1px solid var(--hair); }
.sec--minor { padding: var(--sec-y-minor) 0; }
.chap { display: flex; align-items: center; gap: var(--s3); margin: 0 0 var(--s4); color: var(--ink-mute); }
.chap b { color: var(--gold); font-weight: 600; }
.chap::after { content: ''; flex: 0 0 40px; height: 1px; background: var(--hair-strong); }
.statement .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.statement .ln > span { display: block; transform: translateY(0); }
.will-reveal .statement .ln > span, .statement.will-reveal .ln > span { transform: translateY(104%); }
.is-in .statement .ln > span, .statement.is-in .ln > span { transform: translateY(0); transition: transform 800ms var(--ease-out); }
.is-in .statement .ln:nth-child(2) > span, .statement.is-in .ln:nth-child(2) > span { transition-delay: 90ms; }
.is-in .statement .ln:nth-child(3) > span, .statement.is-in .ln:nth-child(3) > span { transition-delay: 180ms; }
.statement em { font-style: normal; color: var(--gold-lt); }
.lede-row { display: grid; gap: var(--s4); }
@media (min-width: 900px) { .lede-row { grid-template-columns: 7fr 5fr; align-items: end; } }

/* the reveal: a 24 px rise, once, fact surfaces only (src/art/sections.js) */
.will-reveal { opacity: 0; transform: translateY(24px); }
.will-reveal.is-in { opacity: 1; transform: none; transition: opacity var(--d-reveal) var(--ease-out), transform var(--d-reveal) var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }

/* the one gold pulse: a pre-blurred glow under the lit thing, on opacity */
[data-lit] { position: relative; }
[data-lit]::after {
  content: ''; position: absolute; inset: -14px; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--gold-rgb), 0.28), transparent);
  filter: blur(10px); opacity: 0; transition: opacity 600ms var(--ease);
}
[data-lit].is-lit::after { opacity: 1; animation: lit-breathe 3.2s ease-in-out infinite; }
@keyframes lit-breathe { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

/* a hairline skeleton: the board before its rows land (./board.js) */
.skel { display: grid; gap: 10px; padding: var(--s4); }
.skel i { display: block; height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--hair), rgba(140, 160, 190, 0.05), var(--hair)); }

/* the coin card (A9), and a session's card before its coin is dealt */
.coin-card {
  display: grid; gap: 10px; padding: var(--s4); min-width: 150px;
  background: var(--panel); border: 1px solid var(--hair); border-radius: 16px; box-shadow: inset 0 1px 0 var(--rim);
  transition: border-color var(--d-ui) var(--ease), box-shadow var(--d-ui) var(--ease);
}
.coin-card:hover, .coin-card:focus-within { border-color: color-mix(in srgb, var(--acc) 45%, transparent); box-shadow: inset 0 1px 0 var(--rim), 0 0 0 1px color-mix(in srgb, var(--acc) 25%, transparent), 0 16px 34px -20px var(--acc); }
.coin-card img { width: 56px; height: 56px; border-radius: 50%; background: var(--void); }
.coin-card .cc-t { font: 700 18px/1.2 var(--num); color: var(--ink); }
.coin-card .cc-n { font: 400 14px/1.4 var(--sans); color: var(--ink2); }
.coin-card .cc-s { font: 600 12px/1.3 var(--mono); letter-spacing: 0.12em; color: var(--acc); }
.coin-card .cc-g { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 2px; }
.coin-card .cc-g b { font: 700 24px/1 var(--num); color: var(--ink); font-variant-numeric: tabular-nums; }
.coin-card .cc-g small { font: 600 12px/1 var(--mono); letter-spacing: 0.06em; color: var(--ink-mute); }
.coin-card .cc-d { font: 600 12px/1 var(--mono); letter-spacing: 0.06em; }
.coin-card .cc-d.up { color: var(--up); }
.coin-card .cc-d.down { color: var(--down); }
.pips { display: inline-flex; gap: 4px; }
.pips i { width: 10px; height: 4px; border-radius: 2px; background: var(--hair-strong); }
.pips i.on { background: var(--acc, var(--gold)); }
.coin-card--session { align-content: start; }
.coin-card--session .cc-t { letter-spacing: 0.04em; }

/* ── the film: a pinned, scrubbed 45 seconds ─────────────── */
.film { height: 250svh; padding: 0; }
.film__stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto; gap: var(--s4);
  max-width: var(--w-page); margin: 0 auto; padding: calc(var(--site-head-h) + var(--s4)) var(--gutter) var(--s5);
}
.film__top { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: var(--s4); }
.film__bank .t-label, .film__clock .t-label { color: var(--ink-mute); margin: 0 0 4px; }
.film__bank b { display: block; }
.film__clock { text-align: right; }
.film__clock b { display: block; font: 700 clamp(28px, 3vw, 44px)/1 var(--num); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.film__clock b::after { content: 's'; font-size: 0.5em; color: var(--ink-mute); margin-left: 2px; }
.race { position: relative; height: 6px; margin: 10px 0 20px; border-radius: 3px; background: var(--hair); overflow: visible; }
.race::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--fill, 1) * 100%); border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-lt)); box-shadow: 0 0 12px rgba(var(--gold-rgb), 0.5); }
.race::after { content: ''; position: absolute; top: -5px; bottom: -5px; width: 2px; left: calc(var(--tick, 1) * 100%); background: var(--ink); }
.race .race__lab { position: absolute; right: 0; top: 10px; font: 600 12px/1 var(--mono); letter-spacing: 0.12em; color: var(--ink-mute); }
.film__plot { position: relative; align-self: stretch; min-height: 0; transform: scale(calc(1 + 0.08 * var(--zoom, 0))); transform-origin: 62% 70%; transition: transform var(--d-stage) var(--ease-io); }
.film__stage[data-beat="1"] .film__plot { --zoom: 1; }
.film__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.film__plot--tall { display: none; }
.film__line { fill: none; stroke: var(--gold-lt); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--draw, 1)); filter: drop-shadow(0 0 6px rgba(var(--gold-rgb), 0.45)); }
.film__ghost { fill: none; stroke: rgba(var(--pearl-rgb), 0.1); stroke-width: 1; }
.film__grid { stroke: var(--hair); stroke-width: 1; }
.film__entry { stroke: var(--gold); stroke-width: 1; stroke-dasharray: 3 5; }
.film__window { fill: rgba(var(--up-rgb), 0.14); }
.film__tags { position: absolute; inset: 0; pointer-events: none; }
.ftag { position: absolute; transform: translate(-50%, -100%); white-space: nowrap; font: 600 12px/1 var(--mono); letter-spacing: 0.12em; }
.ftag--axis { transform: translate(0, -50%); color: var(--ink-mute); }
.ftag--time { top: 97%; transform: translate(-50%, 0); color: var(--ink-mute); }
.ftag--buy { color: var(--gold-lt); transform: translate(-50%, 14px); }
.ftag--buy::before { content: ''; display: block; width: 1px; height: 10px; margin: 0 auto 4px; background: var(--gold); }
.ftag--sell { color: var(--up); }
.ftag--sell::after { content: ''; display: block; width: 1px; height: 10px; margin: 4px auto 0; background: var(--up); }
.ftag--perfect { color: var(--gold-lt); font: 700 14px/1 var(--num); letter-spacing: 0.04em; text-shadow: 0 0 14px rgba(var(--gold-rgb), 0.7); }
.ftag--strip { left: 50%; top: 8px; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--hair-strong); background: rgba(var(--void-rgb), 0.8); color: var(--ink); }
.ftag--reveal { color: var(--void); background: var(--up); border-color: var(--up); }
.ftag--cleared { left: 50%; top: 42%; transform: translate(-50%, -50%); font: 700 clamp(24px, 3vw, 40px)/1 var(--num); letter-spacing: -0.02em; color: var(--gold-lt); text-shadow: 0 0 30px rgba(var(--gold-rgb), 0.5); }
/* each tag rises at its second (--at) and, if it has one, leaves at --off */
.film__plot .ftag[style*="--at"], .film__plot [data-at] { opacity: calc(clamp(0, (var(--t, 45) - var(--at, 0)) * 4, 1) * clamp(0, (var(--off, 999) - var(--t, 45)) * 4, 1)); }
.film__plot .ftag { transition: opacity 200ms var(--ease); }
/* THE DAY IN CANDLES (1.24): a candle fills as it closes (--at), lit from
   above in a 1px rim; one not yet closed is a faint outline; the last price
   runs from the forming one to a tag at the edge */
.fc-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.fc { stroke-width: 1px; vector-effect: non-scaling-stroke; stroke-linejoin: miter; }
.film__plot .fc[style*="--at"] { --on: clamp(0, (var(--t, 45) - var(--at, 0)) * 1000 + 1, 1); opacity: max(0.13, var(--on)); fill-opacity: var(--on); }
.fc.u { fill: url(#fcg-u) var(--up); stroke: var(--up); }
.fc.d { fill: url(#fcg-d) var(--down); stroke: var(--down); }
.fc--live { stroke-width: 1.5px; }
.fc--live.u { fill: var(--up); filter: drop-shadow(0 0 3px rgba(var(--up-rgb), 0.55)); }
.fc--live.d { fill: var(--down); filter: drop-shadow(0 0 3px rgba(var(--down-rgb), 0.55)); }
.fc--live[data-off] { display: none; }
.fc-last { stroke-width: 1px; vector-effect: non-scaling-stroke; stroke-dasharray: 2 4; opacity: 0.75; }
.fc-last.u { stroke: var(--up); }
.fc-last.d { stroke: var(--down); }
.film__last { position: absolute; inset: 0; pointer-events: none; }
.ftag--last { left: auto; right: 0; transform: translate(0, -50%); padding: 3px 6px; border-radius: 4px; color: var(--void); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.ftag--last.u { background: var(--up); }
.ftag--last.d { background: var(--down); }
/* a trade's tag reads over a candle's body: a plate of the void behind it */
.film__plot--candles .ftag--buy, .film__plot--candles .ftag--sell { padding: 2px 5px; border-radius: 4px; background: rgba(var(--void-rgb), 0.82); }
.film__foot { display: grid; gap: var(--s4); align-items: end; }
.beats { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.beats li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: baseline; font: 600 12px/1.6 var(--mono); letter-spacing: 0.12em; color: var(--ink-mute); transition: color var(--d-ui) var(--ease); }
.beats li b { color: inherit; font-weight: 600; }
.film__stage[data-beat="0"] .beats li:nth-child(1), .film__stage[data-beat="1"] .beats li:nth-child(2), .film__stage[data-beat="2"] .beats li:nth-child(3), .film__stage[data-beat="3"] .beats li:nth-child(4), .film__stage[data-beat="4"] .beats li:nth-child(5) { color: var(--gold-lt); }
.film__text { position: relative; min-height: 3.4em; }
.film__text p { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 300ms var(--ease); }
.film__text p b { color: var(--ink); font-weight: 500; display: block; }
.film__stage[data-beat="0"] .film__text p:nth-child(1), .film__stage[data-beat="1"] .film__text p:nth-child(2), .film__stage[data-beat="2"] .film__text p:nth-child(3), .film__stage[data-beat="3"] .film__text p:nth-child(4), .film__stage[data-beat="4"] .film__text p:nth-child(5) { opacity: 1; }
.film__say { display: grid; gap: var(--s2); justify-items: end; text-align: right; }
.film__say .formula { justify-content: flex-end; }
/* skip the film (EVERY VISITOR, 1.19): on the chapter's line, a 44 px target
   that takes no height from a stage fitted to the phone */
.film__chapline { display: flex; align-items: center; gap: var(--s4); margin: 0 0 var(--s4); }
.film__chapline .chap { margin: 0; }
.film__skip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -14px 0; color: var(--ink-mute); text-decoration: none; }
.film__skip .ico { width: 16px; height: 16px; }
.film__skip:hover, .film__skip:focus-visible { color: var(--gold-lt); }
.film__say .t-statement { font-size: clamp(36px, 4.6vw, 64px); }
.formula { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 0; font: 600 14px/1.3 var(--mono); letter-spacing: 0.02em; color: var(--ink2); }
.formula b { font: 700 18px/1 var(--num); color: var(--ink); font-variant-numeric: tabular-nums; }
.formula .t-label { color: var(--ink-mute); margin-right: 4px; }
.film__sheet { display: none; }
@media (min-width: 900px) {
  .film__foot { grid-template-columns: 4fr 4fr 4fr; }
  .film__text { grid-column: 2; }
  .film__say { grid-column: 3; }
}
@media (max-width: 899px) {
  .film { height: 220svh; }
  .film__stage { grid-template-rows: auto minmax(36svh, 1fr) auto; }
  .film__plot { min-height: 36svh; }
  .film__plot--wide { display: none; }
  .film__plot--tall { display: block; }
  .film__say { justify-items: start; text-align: left; }
  .film__say .formula { justify-content: flex-start; }
  .film__text { min-height: 6.4em; }
  .film__say .t-statement { font-size: clamp(32px, 9vw, 44px); }
  /* a phone's plot is short: the time axis sits under it (in the row's gap)
     so the BUY tag never runs into it, and a headline strip wraps instead
     of running off the screen */
  .ftag--time { top: calc(100% + 3px); }
  .ftag--buy { transform: translate(-50%, 10px); }
  .ftag--buy::before { height: 6px; }
  .ftag--strip { white-space: normal; width: max-content; max-width: calc(100% - 16px); text-align: center; line-height: 1.4; border-radius: 16px; }
  .beats { grid-auto-flow: column; justify-content: start; gap: 10px; }
  .beats li { grid-template-columns: auto; gap: 0; }
  .beats li span { display: none; }
}
/* a phone under 844 px tall (an iPhone in Safari with its toolbars shows about 664 px):
   the plot keeps a third of the screen and the trade's formula steps out;
   the bank is on the top row and the statement stays */
@media (max-width: 899px) and (max-height: 843px) {
  .film__stage { grid-template-rows: auto minmax(32svh, 1fr) auto; }
  .film__plot { min-height: 32svh; }
  .film__say .formula { display: none; }
}
/* reduced motion, no pin, a viewport too short for the stage (a desktop
   needs about 700 px, a phone about 640): the five frames as a sheet */
.film__sheet { gap: var(--s4); max-width: var(--w-page); margin: 0 auto; padding: 0 var(--gutter); }
.film__sheet .film__plot { aspect-ratio: 1000 / 420; transform: none; min-height: 0; }
.film__sheet figure { margin: 0; display: grid; gap: var(--s4); }
.film__sheet figcaption { font: 600 12px/1.4 var(--mono); letter-spacing: 0.12em; color: var(--ink-mute); }
.film__sheet figcaption b { color: var(--gold-lt); font-weight: 600; }
@media (prefers-reduced-motion: reduce), (max-height: 699px) and (min-width: 900px), (max-height: 639px) and (max-width: 899px) {
  .film { height: auto; padding: var(--sec-y) 0; }
  .film__stage { display: none; }
  .film__sheet { display: grid; }
  .film__sheet .film__plot--wide { display: block; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 899px), (max-height: 639px) and (max-width: 899px) {
  .film__sheet .film__plot--wide { display: none; }
  .film__sheet .film__plot--tall { display: block; }
  .film__sheet .film__plot { aspect-ratio: 390 / 330; }
}

/* ── the Daily Dip (1.20: the Daily and its board, one section) ──────────────────────────────────────────── */
.daily__grid { display: grid; gap: var(--s7); }
@media (min-width: 900px) { .daily__grid { grid-template-columns: 5fr 7fr; align-items: center; } }
.sclock { position: relative; width: min(360px, 100%); aspect-ratio: 1; margin: 0 auto; }
/* the disc turns with the scroll (--turn, sections.js); the coins turn back */
.sclock__disc { position: absolute; inset: 0; transform: rotate(var(--turn, 0deg)); }
.sclock svg { width: 100%; height: 100%; overflow: visible; }
.sclock__arc { fill: none; stroke-width: 14; stroke-linecap: butt; opacity: 0.85; }
.sclock__arc:focus-visible { outline: none; stroke-width: 18; opacity: 1; }
.sclock__ring { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--frac, 0.5)); transform: rotate(-90deg); transform-origin: 50% 50%; filter: drop-shadow(0 0 6px rgba(var(--gold-rgb), 0.6)); }
.sclock__ring-base { fill: none; stroke: var(--hair-strong); stroke-width: 1; }
.sclock__mark { position: absolute; width: 28px; height: 28px; border-radius: 50%; background: var(--void); transform: translate(-50%, -50%) rotate(calc(-1 * var(--turn, 0deg))); }
.sclock__centre { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 4px; pointer-events: none; }
.sclock__centre .t-label { color: var(--ink-mute); }
.sclock__centre b { font: 700 clamp(30px, 3vw, 40px)/1 var(--num); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.deckrow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s6); }
@media (max-width: 899px) { .deckrow { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: var(--s6) calc(-1 * var(--gutter)) 0; padding: 2px var(--gutter); scrollbar-width: none; } .deckrow .coin-card { flex: 0 0 168px; scroll-snap-align: start; } .deckrow::-webkit-scrollbar { display: none; } }
.daily__device { justify-self: center; }

/* the device frame (A8): a true 1320 x 2868 screen, no dynamic island */
.device { container-type: inline-size; width: var(--w, 300px); max-width: 100%; display: grid; gap: var(--s3); justify-items: center; margin: 0; }
.device__frame { position: relative; width: 100%; padding: 2.2cqw; border-radius: 16.3cqw; background: var(--panel2); box-shadow: 0 0 0 1px var(--hair), inset 0 1px 0 var(--rim), 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 120px -40px rgba(var(--pearl-rgb), 0.18); }
.device__frame picture, .device__frame video { display: block; }
.device__frame img, .device__frame video { width: 100%; aspect-ratio: 1320 / 2868; height: auto; border-radius: 14.1cqw; object-fit: cover; background: var(--void); }
.device figcaption { font: 600 12px/1.4 var(--mono); letter-spacing: 0.12em; color: var(--ink-mute); text-align: center; }

/* ── the board (inside the Daily Dip, 1.20): the ledger beside the one loop ── */
.board__grid { display: grid; gap: var(--s7); margin-top: var(--s8); }
@media (min-width: 900px) { .board__grid { grid-template-columns: 8fr 4fr; align-items: start; } }
.board__col { display: grid; gap: var(--s4); align-content: start; }
.board__col[hidden] { display: none; }
.board__grid:has(> .board__col[hidden]) { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.board__label { margin: 0; color: var(--ink2); }
.board__label b { color: var(--gold-lt); font-weight: 600; }
.ledger { overflow: hidden; }
.ledger__head, .ledger__row { display: grid; grid-template-columns: 44px 1fr auto auto; gap: var(--s3); align-items: center; padding: 0 var(--s4); }
.ledger__head { min-height: 44px; border-bottom: 1px solid var(--hair); font: 600 12px/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.ledger__head .bank { justify-self: end; }
.ledger__row { position: relative; min-height: 64px; border-bottom: 1px solid var(--hair); color: var(--ink2); transition: background var(--d-ui) var(--ease); }
.ledger__row:last-child { border-bottom: 0; }
.ledger__row:hover { background: var(--panel2); }
.ledger__row::after { content: ''; position: absolute; left: var(--s4); bottom: 0; height: 2px; width: calc(var(--share, 0.5) * (100% - 2 * var(--s4))); background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.65), rgba(var(--gold-rgb), 0.1)); }
.ledger__rank { font: 700 24px/1 var(--num); color: var(--ink2); font-variant-numeric: tabular-nums; }
.ledger__row:first-child .ledger__rank { color: var(--gold-lt); }
.ledger__who { display: grid; grid-template-columns: 32px 1fr; gap: var(--s3); align-items: center; min-width: 0; }
.ledger__who .emblem { width: 32px; height: 32px; }
.ledger__name { display: grid; gap: 3px; min-width: 0; }
.ledger__name b { font: 600 18px/1.2 var(--num); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger__name span { display: flex; align-items: center; gap: 8px; font: 600 12px/1 var(--mono); letter-spacing: 0.1em; color: var(--ink-mute); }
.ledger__chain { font: 600 16px/1 var(--num); color: var(--ink2); font-variant-numeric: tabular-nums; }
.ledger__bank { font: 700 24px/1 var(--num); color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.ledger .pips i { width: 8px; }
.ledger .pips i.on { background: var(--gold); }
@media (max-width: 719px) { .ledger__head { display: none; } .ledger__row { grid-template-columns: 32px 1fr auto; min-height: 56px; } .ledger__chain { display: none; } .ledger__name span .pips { display: none; } }
.ledger__note { padding: var(--s3) var(--s4); font: 600 12px/1.4 var(--mono); letter-spacing: 0.1em; color: var(--ink-mute); border-top: 1px solid var(--hair); }

/* ── the year: a road that scrolls sideways (1.21: never pinned) ───── */
.year { padding: var(--sec-y) 0; }
.year__stage { display: grid; grid-template-columns: minmax(0, 100%); gap: var(--s5); }
.year__stage > * { min-width: 0; }
.year__head { max-width: var(--w-page); margin: 0 auto; padding: 0 var(--gutter); width: 100%; }
.year__head .t-statement { font-size: clamp(36px, 4.6vw, 64px); }
.year__head .lede-row { align-items: end; }
@media (min-width: 900px) { .year__head .t-lede { font-size: 18px; max-width: 44ch; } }
.road { --edge: max(var(--gutter), calc((100% - var(--w-page)) / 2 + var(--gutter))); display: flex; align-items: stretch; gap: var(--s5); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--edge) var(--s4); scroll-padding-inline: var(--edge); scrollbar-width: thin; scrollbar-color: var(--hair-strong) transparent; }
.road:focus-visible { outline-offset: -2px; }
.station { position: relative; flex: 0 0 min(80vw, 340px); scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); border-radius: 16px; background: var(--panel); border: 1px solid var(--hair); box-shadow: inset 0 1px 0 var(--rim); transition: border-color var(--d-ui) var(--ease); }
.station.is-lit { border-color: rgba(var(--gold-rgb), 0.45); }
.station__month { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.station__month b { font: 700 24px/1 var(--num); letter-spacing: -0.02em; color: var(--ink); }
.station__month span { font: 600 12px/1 var(--mono); letter-spacing: 0.14em; color: var(--gold); }
.station__theme { margin: 0; font: italic 500 16px/1.4 var(--disp); color: var(--ink2); }
.station__blurb { margin: 0; font: 400 15px/1.5 var(--sans); color: var(--ink2); }
.station__end { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: var(--s3); border-top: 1px dashed var(--hair-strong); font: 600 12px/1 var(--mono); letter-spacing: 0.12em; color: var(--ink-mute); }
.station__end b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px dashed var(--gold); color: var(--gold-lt); font: 700 14px/1 var(--num); }
.station--end { align-items: center; justify-content: center; min-height: 240px; text-align: center; border-style: dashed; border-color: rgba(var(--gold-rgb), 0.5); background: transparent; }
.station--end .t-label { color: var(--ink2); }
.station--end .q { font: 700 120px/1 var(--num); color: var(--gold-lt); text-shadow: 0 0 40px rgba(var(--gold-rgb), 0.4); }
.months { display: flex; gap: 2px; margin: 0 auto var(--s4); padding: 0 var(--gutter); max-width: var(--w-page); list-style: none; }
.months li { flex: 1; text-align: center; font: 600 12px/1 var(--mono); color: var(--ink-mute); }
@media (max-width: 899px) {
  .road { scrollbar-width: none; }
  .road::-webkit-scrollbar { display: none; }
  .station--end .q { font-size: 96px; }
}
@media (min-width: 900px) { .months { display: none; } }

/* the prestige marks beside a ledger row's title */
.prestige { display: inline-flex; gap: 6px; align-items: center; }
.prestige i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--gold); }
.prestige i.on { background: var(--gold); }

/* ── the questions: editorial Q&A ────────────────────────────────── */
.qa { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .qa { grid-template-columns: 4fr 8fr; } .qa__side { position: sticky; top: calc(var(--site-head-h) + var(--s6)); align-self: start; } }
.qa__index { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: 2px; }
.qa__index a { display: grid; grid-template-columns: 32px 1fr; gap: 10px; min-height: 40px; align-items: center; color: var(--ink-mute); font: 400 15px/1.3 var(--sans); text-decoration: none !important; transition: color var(--d-ui) var(--ease); }
.qa__index a b { font: 600 12px/1 var(--mono); letter-spacing: 0.1em; color: var(--ink-mute); }
.qa__index a.is-on, .qa__index a:hover { color: var(--ink); }
.qa__index a.is-on b { color: var(--gold); }
.qa__list { display: grid; }
.qa__item { position: relative; padding: var(--s6) 0; border-top: 1px solid var(--hair); }
.qa__item:target::before { content: ''; position: absolute; left: calc(-1 * var(--s4)); top: var(--s6); bottom: var(--s6); width: 1px; background: var(--gold); }
.qa__item h3 { margin: 0 0 var(--s3); max-width: 30ch; }
.qa__item p { margin: 0; max-width: 64ch; }

/* ── the closer: the last word, full bleed ───────────────────────── */
.closer2 { position: relative; isolation: isolate; overflow: hidden; min-height: min(100svh, 820px); display: grid; place-items: center; text-align: center; padding: var(--sec-y) 0; }
.closer2__tape { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-46%); width: 100%; height: auto; z-index: -1; opacity: 0.9; }
.closer2__tape path { fill: none; stroke: var(--gold); stroke-width: 1.5; filter: drop-shadow(0 0 8px rgba(var(--gold-rgb), 0.5)); }
.closer2__tape .tape-fill { fill: url(#tapefill); stroke: none; }
.closer2__in { display: grid; gap: var(--s5); justify-items: center; max-width: var(--w-page); padding: 0 var(--gutter); }
.closer2 .eyebrow { margin: 0; color: var(--ink-mute); }
.closer2 .t-statement { font-size: clamp(56px, 10vw, 128px); }
.closer2 .btn-row { justify-content: center; margin-top: var(--s4); }
.closer2 .btn-gold[data-lit]::after { inset: -10px; }
.qr { display: none; align-items: center; gap: var(--s4); margin-top: var(--s5); padding: var(--s3) var(--s4) var(--s3) var(--s3); border-radius: 14px; border: 1px solid var(--hair); color: var(--ink-mute); font: 600 12px/1.4 var(--mono); letter-spacing: 0.12em; text-align: left; }
.qr svg { width: 72px; height: 72px; border-radius: 6px; }
@media (pointer: fine) and (min-width: 900px) { .qr { display: inline-flex; } }
@media (max-width: 560px) { .closer2 .btn { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .will-reveal { opacity: 1; transform: none; }
  .will-reveal .statement .ln > span, .statement.will-reveal .ln > span { transform: none; }
  [data-lit].is-lit::after { animation: none; opacity: 0.8; }
}

/* the film's head: an HTML dot so the plot can stretch without distorting it */
.film__headdot { position: absolute; left: calc(var(--hx, 100) * 1%); top: calc(var(--hy, 50) * 1%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--gold-lt); box-shadow: 0 0 0 6px rgba(230, 189, 92, 0.22), 0 0 18px rgba(230, 189, 92, 0.8); pointer-events: none; }
