/* Flight M1 (flight.html): full-bleed pinned stage, bench-instrument HUD (narrow uppercase Archivo, no new family),
   the two-voice lines, the 4:3 overhead brackets and the inspection callouts. */
html, body { margin: 0; background: var(--wall-2); color: var(--ivory); }
body { font-family: 'Archivo', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
#fl-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; display: block; z-index: 0; }
/* FULL SITE: the scroll spacer exists only for the A/B model (?nav=scroll); the default flight does not scroll the page */
.fl-spacer { display: none; }
.fl-scrollnav .fl-spacer { display: block; height: 2332vh; pointer-events: none; }
.stage-labels { position: fixed !important; inset: 0; pointer-events: none; z-index: 2; }

#fl-hud { position: fixed; inset: 0; z-index: 3; pointer-events: none;
  --pad: clamp(16px, 2.2vw, 32px);
  --mono: 500 10.5px/1.5 'Archivo', system-ui, sans-serif; }
.fl-loading #fl-hud { opacity: 0; }
#fl-hud { transition: opacity 0.8s ease; }
.fl-c, .fl-readout, .fl-callouts, .fl-bracket span, .fl-counter span, .fl-kicker {
  font: var(--mono); font-stretch: 62%; letter-spacing: 0.08em; text-transform: uppercase; font-variant-numeric: tabular-nums;
  color: rgba(var(--ivory-rgb), 0.7); }
.fl-c { position: absolute; display: flex; flex-direction: column; gap: 3px; }
.fl-c b { font-weight: 700; color: rgba(var(--ivory-rgb), 0.92); letter-spacing: 0.14em; }
.fl-tl { top: var(--pad); left: var(--pad); }
.fl-tr { top: var(--pad); right: var(--pad); align-items: flex-end; }
.fl-bl { bottom: var(--pad); left: var(--pad); }
.fl-br { bottom: var(--pad); right: var(--pad); align-items: flex-end; }
#fl-scene { white-space: pre; color: rgba(var(--ivory-rgb), 0.92); }
#fl-bar { display: block; width: 120px; height: 1px; background: rgba(var(--ivory-rgb), 0.18); }
#fl-bar i { display: block; height: 1px; background: rgba(var(--ivory-rgb), 0.85); transform-origin: 0 0; transform: scaleX(0); }
/* round 16: the loop's indicator, in the HUD's mono label voice: a loop glyph beside the counter while the wrap runs (turned by
   the wrap's progress, not a clock), and the scroll hint's place shared with "keep scrolling" (at 13) / "back at the start" */
.fl-scenerow { display: inline-flex; align-items: center; gap: 6px; }
.fl-loopg { width: 9px; height: 9px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; }
.fl-scenerow .fl-loopg { opacity: 0; color: rgba(var(--ivory-rgb), 0.78); }
.fl-hints { display: grid; }
.fl-hints > * { grid-area: 1 / 1; white-space: nowrap; }
.fl-loophint { display: inline-flex; align-items: center; gap: 6px; opacity: 0; }
.fl-loophint .m { display: none; }
@media (max-width: 700px), (max-aspect-ratio: 1/1) { .fl-loophint .d { display: none; } .fl-loophint .m { display: inline; } }
.fl-chip { padding: 3px 7px; border: 1px solid rgba(var(--ivory-rgb), 0.22); border-radius: 2px; color: rgba(var(--ivory-rgb), 0.82); }


/* the lines: Archivo wdth 125 / 780, at most two on screen, over the defocused part of the frame */
.fl-lines { position: absolute; max-width: min(36vw, 560px); opacity: var(--a, 0); transition: none; }
.fl-big { margin: 0; font-weight: 780; font-stretch: 125%; font-size: clamp(26px, 2.75vw, 42px); line-height: 1.04;
  letter-spacing: -0.012em; color: var(--ivory); text-wrap: balance;
  text-shadow: 0 1px 24px rgba(var(--wall-2-rgb), 0.55); }
.fl-big span { display: inline-block; transform: translateY(calc((1 - var(--a, 0)) * 28%)); }
.fl-small { margin: 14px 0 0; max-width: 34ch; font-size: 15px; line-height: 1.5; font-stretch: 100%;
  color: rgba(var(--ivory-rgb), 0.78); text-shadow: 0 1px 14px rgba(var(--wall-2-rgb), 0.7); }
.fl-kicker { margin: 0 0 12px; color: var(--accent-text); }
.fl-cta { pointer-events: auto; display: inline-block; margin-top: 22px; padding: 11px 16px; border-radius: 999px;
  background: var(--noodle); color: var(--on-accent); font-weight: 700; font-size: 14px; text-decoration: none; }
.at-l { left: calc(var(--pad) * 2.2); top: 50%; transform: translateY(-50%); }
.at-tl { left: calc(var(--pad) * 2.2); top: 17vh; }
.at-bl { left: calc(var(--pad) * 2.2); bottom: 15vh; }
.at-col { left: calc(var(--pad) * 2.2); top: 50%; transform: translateY(-50%); max-width: min(34vw, 520px); }

.fl-counter { position: absolute; left: calc(var(--pad) * 2.2); bottom: calc(15vh - 64px); opacity: 0;
  font-size: 30px; font-weight: 300; font-stretch: 100%; color: rgba(var(--ivory-rgb), 0.6); font-variant-numeric: tabular-nums; }
.fl-counter b { font-weight: 780; font-stretch: 125%; color: var(--noodle); }
.fl-counter span { display: block; margin-top: 4px; }

.fl-readout { position: absolute; display: flex; flex-direction: column; gap: 2px; }
.fl-readout.at-br2 { right: var(--pad); bottom: calc(var(--pad) + 52px); text-align: right; align-items: flex-end; }
.fl-readout.at-bracket { display: none; }
.fl-readout.at-none { display: none; }

/* 4:3 brackets of the overhead camera (centred, 4:3 of the viewport height) */
.fl-bracket { position: absolute; left: 50%; top: 50%; height: 78vh; aspect-ratio: 4 / 3; transform: translate(-50%, -50%); opacity: 0; }
.fl-bracket i { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(var(--ivory-rgb), 0.85); }
.fl-bracket i:nth-child(1) { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.fl-bracket i:nth-child(2) { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.fl-bracket i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.fl-bracket i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.fl-bracket span { position: absolute; left: 0; top: -20px; }

/* inspection callouts: hairline leader + a small mono block */
.fl-leader { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; }
.fl-leader path { fill: none; stroke: rgba(var(--ivory-rgb), 0.7); stroke-width: 1; }
.fl-leader circle { fill: none; stroke: rgba(var(--ivory-rgb), 0.9); stroke-width: 1; }
.fl-callouts { position: absolute; right: calc(var(--pad) * 2.4); top: 30vh; width: 330px; opacity: 0;
  border-top: 1px solid rgba(var(--ivory-rgb), 0.35); padding-top: 9px; }
.fl-c-title { color: rgba(var(--ivory-rgb), 0.95); font-weight: 700; letter-spacing: 0.14em; margin-bottom: 8px; }
.fl-c-row { display: grid; grid-template-columns: 62px 1fr; gap: 10px; padding: 3px 0; border-bottom: 1px solid rgba(var(--ivory-rgb), 0.08); }
.fl-c-row b { font-weight: 500; color: rgba(var(--ivory-rgb), 0.45); }
.fl-c-row span { color: rgba(var(--ivory-rgb), 0.92); white-space: nowrap; }

/* phone / portrait: lines stack at the foot, callouts become a block without the leader */
@media (max-width: 700px), (max-aspect-ratio: 1/1) {
  #fl-hud { --pad: 16px; --mono: 500 9.5px/1.45 'Archivo', system-ui, sans-serif; }
  .fl-tl span { display: none; }
  .fl-lines, .at-l, .at-tl, .at-bl, .at-col { left: 16px; right: 16px; top: auto; bottom: 21vh; transform: none; max-width: none; }
  .fl-big { font-size: 27px; }
  .fl-small { font-size: 14px; }
  .fl-counter { left: 16px; bottom: calc(21vh - 58px); font-size: 22px; }
  .fl-readout.at-br2 { bottom: calc(var(--pad) + 46px); max-width: 62vw; }
  .fl-chip { font-size: 8.5px; max-width: 60vw; text-align: right; }
  .fl-callouts { left: 16px; right: 16px; width: auto; top: auto; bottom: 14vh; padding: 9px 10px; background: rgba(var(--wall-2-rgb), 0.62); }
  .fl-leader { display: none; }
  .fl-bracket { height: auto; width: 86vw; }
}
@media (prefers-reduced-motion: reduce) { #fl-hud { transition: none; } }
.stage-label--joint { transition: opacity 0.25s ease; }
.fl-insp .stage-label--joint { opacity: 0 !important; }

/* sound toggle (js/flight/sound.js): bottom-left above SCROLL, the HUD's narrow uppercase Archivo; a real button outside the
   aria-hidden HUD, so it takes focus (visible ring) and reports aria-pressed */
.fl-sound { position: fixed; z-index: 4; left: clamp(16px, 2.2vw, 32px); bottom: calc(clamp(16px, 2.2vw, 32px) + 22px);
  margin: 0 0 0 -6px; padding: 4px 6px; border: 0; border-radius: 2px; background: none; cursor: pointer;
  font: 500 10.5px/1.5 'Archivo', system-ui, sans-serif; font-stretch: 62%; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(var(--ivory-rgb), 0.6); transition: color 0.2s ease, opacity 0.8s ease; }
.fl-sound span { display: inline-block; min-width: 3ch; color: rgba(var(--ivory-rgb), 0.85); }
.fl-sound[aria-pressed="true"] span { color: var(--noodle); }
.fl-sound:hover { color: rgba(var(--ivory-rgb), 0.92); }
.fl-sound:focus-visible { outline: 1px solid rgba(var(--ivory-rgb), 0.9); outline-offset: 2px; color: var(--ivory); }
.fl-doc .fl-sound { display: none; } /* the toggle shows from the first frame (loader, opening) */
@media (max-width: 700px), (max-aspect-ratio: 1/1) {
  .fl-sound { left: 16px; bottom: 36px; font-size: 9.5px; padding: 8px 6px; }
}
@media (prefers-reduced-motion: reduce) { .fl-sound { transition: none; } }

/* ======================================================================================================================
   FULL SITE (2026-10-30): every index.html chapter as a scene of the flight. ONE DOM, two layouts:
   - default / html.fl-doc: a plain readable document (no JS, no hardware WebGL, a GPU too slow to fly);
   - html.fl-live: each <section class="fls"> is a fixed full-viewport layer faded by flight progress (--a, scenes.js);
     inactive scenes are moved off-screen (still in the accessibility tree; IntersectionObservers see them leave).
   ====================================================================================================================== */
:root { --pad: clamp(16px, 2.2vw, 32px); --mono-f: 500 10.5px/1.5 'Archivo', system-ui, sans-serif; }
.fl-skiplink { position: fixed; left: 12px; top: -60px; z-index: 30; padding: 8px 12px; border-radius: 2px; background: var(--noodle);
  color: var(--on-accent); font-weight: 700; font-size: 14px; text-decoration: none; }
.fl-skiplink:focus { top: 12px; }
#fl-warp { position: fixed; inset: 0; z-index: 2; background: #000; opacity: 0; pointer-events: none; }
.fl-live.fl-loading #fl-warp { opacity: 1; background: var(--wall-2); transition: opacity 0.9s ease; }
.fl-live.fl-loading #fl-warp::after { content: ''; position: absolute; left: 50%; top: 50%; width: 140px; height: 1px; margin-left: -70px;
  background: rgba(var(--ivory-rgb), 0.85); transform-origin: 0 0; transform: scaleX(var(--fl-load, 0.05)); }

/* ---------- shared atoms ---------- */
.fls-kick, .fls-ct, .fl-rows dt, .fl-index, .fl-pin, .fl-explore, .fl-info, .fl-feedtag, .fl-skip, .fl-index-links a {
  font: var(--mono-f); font-stretch: 62%; letter-spacing: 0.08em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.fls-kick { margin: 0 0 10px; color: var(--accent-text); }
.fls-ct { margin: 0 0 10px; color: rgba(var(--ivory-rgb), 0.95); font-weight: 700; letter-spacing: 0.14em; }
.fl-h { margin: 0 0 14px; font-weight: 780; font-stretch: 125%; font-size: clamp(28px, 2.9vw, 44px); line-height: 1.02; letter-spacing: -0.012em;
  color: var(--ivory); text-wrap: balance; text-shadow: 0 1px 24px rgba(var(--wall-2-rgb), 0.55); }
.fl-h--xl { font-size: clamp(38px, 4.4vw, 68px); }
.fl-h--xl span { display: inline-block; }
.fl-h--xl span:first-child { color: var(--ivory); }
.fl-h--xl span:last-child { color: rgba(var(--ivory-rgb), 0.62); }
.fl-cap, .fls p, .fls li { font-size: 15px; line-height: 1.5; color: rgba(var(--ivory-rgb), 0.82); }
.fl-cap { margin: 0 0 16px; max-width: 46ch; text-shadow: 0 1px 14px rgba(var(--wall-2-rgb), 0.7); }
.fl-note { margin: 12px 0 0; font-size: 12.5px !important; line-height: 1.45 !important; color: rgba(var(--ivory-rgb), 0.6) !important; max-width: 52ch; }
.fl-rows { margin: 0; display: grid; gap: 0; }
.fl-rows > div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 4px 0; border-bottom: 1px solid rgba(var(--ivory-rgb), 0.09); }
.fl-rows dt { color: rgba(var(--ivory-rgb), 0.45); }
.fl-rows dd { margin: 0; font-size: 13px; line-height: 1.35; color: rgba(var(--ivory-rgb), 0.94); font-variant-numeric: tabular-nums; }
.fl-rows dd.t { color: var(--trained-text); } .fl-rows dd.h { color: var(--held-text); }
.fl-stat { margin: 12px 0 0; font-size: 13px !important; line-height: 1.35 !important; }
.fl-stat b { display: block; font-weight: 780; font-stretch: 125%; font-size: 26px; color: var(--noodle); line-height: 1.1; }
.fl-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid rgba(var(--ivory-rgb), 0.3);
  background: rgba(var(--wall-2-rgb), 0.35); color: var(--ivory); font: 600 13.5px/1 'Archivo', system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.fl-btn:hover { border-color: rgba(var(--ivory-rgb), 0.7); }
.fl-btn--primary { background: var(--noodle); border-color: var(--noodle); color: var(--on-accent); }
.fl-btn--ghost { border-color: transparent; background: none; color: rgba(var(--ivory-rgb), 0.75); }
.fl-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fl-explore, .fl-info { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 7px 10px 7px 8px; border: 1px solid rgba(var(--ivory-rgb), 0.28);
  border-radius: 2px; background: rgba(var(--wall-2-rgb), 0.3); color: rgba(var(--ivory-rgb), 0.92); cursor: pointer; }
.fl-explore::before { content: '+'; display: inline-grid; place-items: center; width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 50%; font-size: 11px; line-height: 1; }
.fl-explore[aria-expanded="true"]::before { content: '−'; }
.fl-explore:hover, .fl-info:hover { border-color: rgba(var(--ivory-rgb), 0.7); color: var(--ivory); }
:is(.fl-btn, .fl-explore, .fl-info, .fl-index a, .fl-skip, .seg-btn, .cell-btn, .fl-close, .fl-ctoggle, .fs-btn, .reel-play, .vc button, .nav-btn):focus-visible {
  outline: 2px solid var(--noodle); outline-offset: 2px; }
.fl-table { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.fl-table th, .fl-table td { text-align: left; padding: 5px 6px 5px 0; border-bottom: 1px solid rgba(var(--ivory-rgb), 0.1); color: rgba(var(--ivory-rgb), 0.9); font-weight: 400; vertical-align: top; }
.fl-table thead th { font: var(--mono-f); font-stretch: 62%; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(var(--ivory-rgb), 0.45); }
.fl-table tbody th { font-weight: 600; }
.fl-table td span { color: rgba(var(--ivory-rgb), 0.5); }
.fl-rounds { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.fl-rounds li { display: grid; gap: 2px; font-size: 13px !important; }
.fl-rounds b { font: var(--mono-f); font-stretch: 62%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.fl-rounds i { font-style: normal; font-size: 11.5px; color: rgba(var(--ivory-rgb), 0.5); }
.fl-glance { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 4px 18px; }
.fl-glance li { font-size: 13px !important; color: rgba(var(--ivory-rgb), 0.72) !important; }
.fl-glance b { font-weight: 780; font-stretch: 125%; font-size: 19px; color: var(--ivory); margin-right: 3px; font-variant-numeric: tabular-nums; }
/* real-footage cards */
.fl-clip { margin: 0 0 12px; }
.fl-clip figcaption { margin-top: 6px; font: var(--mono-f); font-stretch: 62%; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(var(--ivory-rgb), 0.6); }
.fl-vbox { position: relative; overflow: hidden; border-radius: 2px; background: #000; aspect-ratio: 848 / 464; box-shadow: 0 0 0 1px rgba(var(--ivory-rgb), 0.18); }
.fl-clip--hero .fl-vbox { aspect-ratio: 420 / 249; }
.fl-clip--feed .fl-vbox { aspect-ratio: 600 / 225; }
.fl-vbox video { display: block; width: 100%; height: 100%; object-fit: cover; }
.fl-ctoggle, .fs-btn { position: absolute; bottom: 6px; z-index: 2; width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%;
  background: rgba(10, 12, 13, 0.7); color: var(--media-ink); cursor: pointer; }
.fl-ctoggle { right: 42px; } .fs-btn { right: 6px; }
.fl-ctoggle svg, .fs-btn svg { width: 15px; height: 15px; fill: var(--media-ink); }
.reel .fs-btn { top: 8px; bottom: auto; }
.fl-feedtag { position: absolute; top: 6px; padding: 2px 5px; background: rgba(10, 12, 13, 0.65); color: var(--media-ink); font-size: 9px !important; }
.fl-feedtag.l { left: 6px; } .fl-feedtag.r { left: calc(53% + 6px); }
/* policies */
.seg { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid rgba(var(--ivory-rgb), 0.25); margin-bottom: 12px; }
.seg-btn { min-height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: rgba(var(--ivory-rgb), 0.75); font: 700 13px/1 'Archivo', system-ui, sans-serif; cursor: pointer; }
.seg-btn[aria-pressed="true"] { background: var(--ivory); color: var(--on-accent); }
.spec-lead { margin: 0 0 6px; font-weight: 780; font-stretch: 125%; font-size: 21px !important; color: var(--ivory) !important; line-height: 1.15 !important; }
.specs ul { margin: 0; padding: 0; list-style: none; }
.specs li { padding: 4px 0; border-bottom: 1px solid rgba(var(--ivory-rgb), 0.09); font-size: 13.5px !important; }
/* results */
.rows { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 16px; }
.row-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid rgba(var(--ivory-rgb), 0.18); padding-bottom: 4px; }
.row-head h3 { margin: 0; font: var(--mono-f); font-size: 11.5px; font-stretch: 62%; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ivory); font-weight: 700; }
.row-score { margin: 0; font-size: 13px !important; } .row-score .num { font-weight: 780; font-stretch: 125%; font-size: 22px; color: var(--noodle); }
.dots { display: grid; grid-template-columns: repeat(20, 1fr); gap: 4px; margin: 9px 0 8px; }
.dot { aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(var(--ivory-rgb), 0.4); }
.dot.is-hit { background: var(--noodle); box-shadow: 0 0 10px -2px rgba(var(--noodle-rgb), 0.8); }
.dots.is-armed .dot.is-hit:not(.is-on) { background: none; box-shadow: inset 0 0 0 1px rgba(var(--ivory-rgb), 0.4); }
.dot.is-on { transition: background 0.5s ease, box-shadow 0.5s ease; }
.track { position: relative; height: 14px; }
.track::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: rgba(var(--ivory-rgb), 0.25); }
.range { position: absolute; top: 3px; height: 7px; left: calc(var(--lo) * 1%); width: calc((var(--hi) - var(--lo)) * 1%); background: rgba(var(--noodle-rgb), 0.32);
  border-left: 1px solid var(--noodle); border-right: 1px solid var(--noodle); transition: left 0.9s cubic-bezier(.2,.8,.2,1), width 0.9s cubic-bezier(.2,.8,.2,1); }
.interval.is-armed .range { left: calc(var(--pt, 50) * 1%); width: 0; }
.point { position: absolute; top: 0; width: 2px; height: 14px; margin-left: -1px; left: calc(var(--pt) * 1%); background: var(--ivory); }
.ticks { display: flex; justify-content: space-between; font: var(--mono-f); font-size: 9.5px; font-stretch: 62%; color: rgba(var(--ivory-rgb), 0.45); margin-top: 3px; }
.ci { display: flex; justify-content: space-between; margin: 3px 0 0; font-size: 12.5px !important; color: rgba(var(--ivory-rgb), 0.7) !important; }
.ci .num { color: var(--ivory); font-weight: 600; }
/* limits, built, bars */
.fl-limits, .fl-built { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.fl-limits li { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 12px 0; border-top: 1px solid rgba(var(--ivory-rgb), 0.14); font-size: 15.5px !important; max-width: 46ch; }
.fl-limits .n { font: var(--mono-f); font-stretch: 62%; color: var(--accent-text); padding-top: 4px; }
.fl-built li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(var(--ivory-rgb), 0.12); }
.fl-built b { font: var(--mono-f); font-weight: 700; font-stretch: 62%; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ivory); padding-top: 3px; }
.fl-built span { font-size: 14.5px; line-height: 1.45; color: rgba(var(--ivory-rgb), 0.84); }
.fl-foot { margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(var(--ivory-rgb), 0.14); display: flex; flex-wrap: wrap; gap: 4px 18px; }
.fl-foot p { margin: 0; font-size: 12px !important; color: rgba(var(--ivory-rgb), 0.55) !important; }
.fl-foot .fl-foot-name { color: var(--ivory) !important; font-weight: 700; }
.bars { margin: 0; }
.bars ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.bars li { display: grid; grid-template-columns: 96px 1fr 34px; gap: 10px; align-items: center; font-size: 13px !important; }
.b-bar { height: 5px; background: rgba(var(--ivory-rgb), 0.1); }
.b-bar i { display: block; height: 100%; width: calc(var(--v) / 152 * 100%); background: linear-gradient(90deg, rgba(var(--held-rgb), 0.5), var(--held)); }
.b-val { text-align: right; color: var(--ivory); font-variant-numeric: tabular-nums; }
.picker-wrap { flex: none; }
.picker-arm { margin: 0 0 6px !important; padding-bottom: 4px; border-bottom: 1px solid rgba(var(--ivory-rgb), 0.2); text-align: center; font: var(--mono-f) !important; font-stretch: 62% !important; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(var(--ivory-rgb), 0.5) !important; }
.picker { display: grid; grid-template-columns: repeat(3, 52px); gap: 6px; }
.cell-btn { height: 40px; border: 0; border-radius: 2px; background: rgba(var(--trained-rgb), 0.16); box-shadow: inset 0 0 0 1px rgba(var(--trained-rgb), 0.6); color: var(--ivory);
  font: 700 13px/1 'Archivo', system-ui, sans-serif; cursor: pointer; }
.cell-btn:hover:not([aria-disabled="true"]) { background: rgba(var(--trained-rgb), 0.34); }
.cell-btn--held { background: rgba(var(--held-rgb), 0.18); box-shadow: inset 0 0 0 1px var(--held); color: var(--held-text); }
.cell-btn.is-running { background: var(--noodle); color: var(--on-accent); box-shadow: none; }
.cell-btn[aria-disabled="true"] { opacity: 0.45; cursor: progress; }
.cell-btn.is-running[aria-disabled="true"] { opacity: 1; }
.picker-status { margin: 12px 0 0; min-height: 1.5em; font-weight: 600; color: var(--ivory) !important; }
.fl-sbrow { display: flex; gap: 22px; align-items: flex-start; }
.fl-live-joints { flex: 1; min-width: 150px; }
.fl-live-joints > div { grid-template-columns: 84px 1fr; padding: 2px 0; }
.fl-live-joints dd { font-size: 12px; }
/* reels */
.strip { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; }
.reel figure { margin: 0; }
.frame { position: relative; overflow: hidden; aspect-ratio: 9 / 16; border-radius: 3px; background: #000; box-shadow: 0 0 0 1px rgba(var(--ivory-rgb), 0.2), 0 20px 50px -20px #000; }
.frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.reel-play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border: 0; border-radius: 50%; background: rgba(10, 12, 13, 0.55); cursor: pointer; display: grid; place-items: center; z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(var(--ivory-rgb), 0.5); }
.reel-play svg { width: 20px; height: 20px; fill: var(--media-ink); }
.reel.is-engaged .reel-play { display: none; }
.reel figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; color: var(--ivory); }
.reel figcaption strong { font-weight: 650; }
.tag { font: var(--mono-f); font-size: 9.5px; font-stretch: 62%; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 6px; border-radius: 2px; }
.tag--held { color: var(--held-text); box-shadow: inset 0 0 0 1px var(--held); }
.tag--trained { color: var(--trained-text); box-shadow: inset 0 0 0 1px rgba(var(--trained-rgb), 0.7); }
.vc { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 2px; padding: 22px 4px 4px; background: linear-gradient(to top, rgba(10,12,13,0.85), rgba(10,12,13,0)); opacity: 0; transition: opacity 0.3s; z-index: 3; }
.is-engaged .vc, .vc:focus-within { opacity: 1; }
.vc button { width: 34px; height: 34px; display: grid; place-items: center; flex: none; border: 0; border-radius: 50%; background: none; color: var(--media-ink); cursor: pointer; padding: 0; }
.vc svg { width: 16px; height: 16px; fill: var(--media-ink); }
.vc-bar { flex: 1; height: 34px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.vc-bar span { display: block; position: relative; width: 100%; height: 3px; background: rgba(243, 234, 214, 0.32); border-radius: 2px; }
.vc-bar i { position: absolute; inset: 0; background: var(--noodle); transform-origin: 0 50%; transform: scaleX(var(--t, 0)); }
.vc-cc { font: 700 10px/1 'Archivo', system-ui, sans-serif !important; }
.vc .vc-cc[aria-pressed="true"] { background: var(--noodle); color: var(--on-accent); }
.strip-nav, .strip-progress { display: none; }
.nav-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(var(--ivory-rgb), 0.3); background: rgba(var(--wall-2-rgb), 0.5); display: grid; place-items: center; cursor: pointer; }
.nav-btn svg { width: 16px; height: 16px; fill: none; stroke: var(--ivory); stroke-width: 2; }
.gl-note { position: fixed; left: 16px; bottom: 16px; z-index: 40; display: flex; gap: 10px; max-width: 420px; padding: 10px 12px; border-radius: 4px; background: rgba(var(--wall-2-rgb), 0.92);
  box-shadow: 0 0 0 1px rgba(var(--ivory-rgb), 0.2); font-size: 13px; color: var(--ivory); }
.gl-note p { margin: 0; } .gl-note button { background: none; border: 0; color: var(--noodle); cursor: pointer; font: inherit; text-decoration: underline; }
.gl-note > button { width: 24px; height: 24px; padding: 0; } .gl-note svg { width: 14px; height: 14px; stroke: var(--ivory); stroke-width: 2; }
.fl-close { display: none; }
.fl-info { display: none; }

/* ---------- the document (default; no 3D) ---------- */
html:not(.fl-live) #fl-canvas, html:not(.fl-live) #fl-hud, html:not(.fl-live) .fl-sound, html:not(.fl-live) .fl-index-toggle,
html:not(.fl-live) .fl-explore, html:not(.fl-live) #fl-warp { display: none; }
html:not(.fl-live) body { background: radial-gradient(120% 60% at 70% 0%, #11203a 0%, var(--wall-2) 60%) fixed; }
html:not(.fl-live) .fl-index { position: sticky; top: 0; z-index: 10; padding: 10px var(--pad); background: rgba(var(--wall-2-rgb), 0.9); backdrop-filter: blur(8px); }
html:not(.fl-live) .fl-index ol { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; }
html:not(.fl-live) .fl-index a { color: rgba(var(--ivory-rgb), 0.7); text-decoration: none; }
html:not(.fl-live) .fl-index .n { margin-right: 4px; color: rgba(var(--ivory-rgb), 0.4); }
html:not(.fl-live) .fl-index-links { margin: 6px 0 0; display: flex; gap: 14px; }
html:not(.fl-live) .fl-index-links a, html:not(.fl-live) .fl-skip { color: var(--accent-text); }
html:not(.fl-live) .fl-skip { display: none; }
html:not(.fl-live) .fl-main { max-width: 760px; margin: 0 auto; padding: 24px var(--pad) 80px; }
html:not(.fl-live) .fls { padding: 48px 0; border-bottom: 1px solid rgba(var(--ivory-rgb), 0.1); }
html:not(.fl-live) .fls h1, html:not(.fl-live) .fls-copy h2 { margin: 0 0 14px; font-weight: 780; font-stretch: 125%; font-size: clamp(30px, 5vw, 46px); line-height: 1.04; color: var(--ivory); }
html:not(.fl-live) .fls-card, html:not(.fl-live) .fls-drawer { margin-top: 18px; padding: 16px; border: 1px solid rgba(var(--ivory-rgb), 0.12); border-radius: 4px; background: rgba(var(--wall-2-rgb), 0.5); }
html:not(.fl-live) .fls-card--hero .fl-clip { max-width: 420px; }
html:not(.fl-live) .strip { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
html:not(.fl-live) .reel { flex: none; width: min(46vw, 220px); scroll-snap-align: start; }
html:not(.fl-live) .fl-sandbox-note { display: block; }

/* ---------- the flight (html.fl-live) ---------- */
.fl-live, .fl-live body { overflow: hidden; height: 100%; overscroll-behavior: none; }
.fl-live.fl-scrollnav, .fl-live.fl-scrollnav body { overflow: visible; height: auto; }
.fl-live .fl-main { position: fixed; inset: 0; z-index: 3; pointer-events: none; outline: none; }
.fl-live .fls { position: fixed; inset: 0; pointer-events: none; opacity: var(--a, 0); outline: none; }
.fl-live .fls:not(.is-on) { transform: translateX(-400vw); }
.fl-live .fls.is-live :is(.fls-card, .fls-main, .fls-drawer.is-open, .strip-wrap) { pointer-events: auto; }
.fl-live .fls-copy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* the HUD lines show it */
.fl-live .fls-card { position: absolute; right: calc(var(--pad) * 2.4 + 30px); bottom: calc(var(--pad) + 58px); width: 300px; /* bottom-right: the subject sits centre-right, the big line left */
  padding-top: 10px; border-top: 1px solid rgba(var(--ivory-rgb), 0.35); text-shadow: 0 1px 12px rgba(var(--wall-2-rgb), 0.8); }
.fl-live .fls-card::before { content: ''; position: absolute; inset: -14px -16px -16px; z-index: -1; border-radius: 4px;
  background: radial-gradient(closest-side, rgba(var(--wall-2-rgb), 0.55), rgba(var(--wall-2-rgb), 0)); transform: scale(1.35); pointer-events: none; }
.fl-live .fls-card p { margin: 0 0 8px; font-size: 13.5px; }
.fl-live .fls-card--wide { width: 360px; }
.fl-live .fls-card--b2, .fl-live #task .fls-card { top: 15vh; bottom: auto; width: 320px; }
.fl-live #policies .fls-card { right: auto; left: calc(var(--pad) * 2.2); width: 330px; } /* the arm fills the right half there */
.fl-live #policies .fls-drawer { right: auto; left: calc(var(--pad) * 2.2 + 360px); }
.fl-live #task .fls-drawer { top: 15vh; bottom: auto; }
.fl-live .fls-card--hero { left: calc(var(--pad) * 2.2); right: auto; top: auto; bottom: calc(var(--pad) + 64px); transform: none; width: min(640px, 52vw);
  display: grid; grid-template-columns: 200px 1fr; gap: 0 22px; align-items: start; border-top: 0; padding-top: 0; }
.fl-live .fls-card--hero .fl-glance { grid-column: 2; grid-row: 1; }
.fl-live .fls-card--hero .fl-clip { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
.fl-live .fls-card--hero .fl-actions { grid-column: 2; margin-top: 12px; }
.fl-live .fls-card--hero .fl-note { grid-column: 2; margin-top: 8px; }
.fl-live .fls-drawer { position: absolute; right: calc(var(--pad) * 2.4 + 30px + 300px + 28px); bottom: calc(var(--pad) + 58px); width: 380px; max-height: 74vh; overflow: auto;
  padding: 16px 18px 18px; border-radius: 4px; background: rgba(var(--wall-2-rgb), 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(var(--ivory-rgb), 0.16), 0 30px 80px -30px #000; display: none; }
.fl-live .fls-drawer.is-open { display: block; animation: fl-drop 0.35s cubic-bezier(.2,.8,.2,1); }
@keyframes fl-drop { from { opacity: 0; transform: translateY(10px); } }
.fl-live .fl-close { display: grid; place-items: center; position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none;
  color: var(--ivory); font-size: 20px; cursor: pointer; }
.fl-live .fls-drawer p { font-size: 14px; }
.fl-live #results .fls-drawer, .fl-live #results .fls-drawer.is-open { right: auto; left: calc(var(--pad) * 2.2 + min(520px, 38vw) + 28px); top: 50%; bottom: auto; transform: translateY(-50%); }
.fl-live #results .fls-drawer.is-open { animation: none; }
/* the big scenes: one column over the defocused / dark side of the frame */
.fl-live .fls-main { position: absolute; left: calc(var(--pad) * 2.2); top: 50%; transform: translateY(-50%); width: min(520px, 38vw); }
.fl-live .fls-main::before { content: ''; position: absolute; inset: -12vh -12vw -12vh -20vw; z-index: -1;
  background: radial-gradient(closest-side, rgba(var(--wall-2-rgb), 0.62), rgba(var(--wall-2-rgb), 0)); pointer-events: none; }
.fl-live .fls-main--film { top: 15vh; transform: none; width: min(400px, 30vw); }
.fl-live #film .strip-wrap { position: absolute; right: calc(var(--pad) * 2.4 + 30px); top: 13vh; }
.fl-live #film .strip { gap: 18px; }
.fl-live #film .reel { width: clamp(118px, 10.4vw, 160px); }
.fl-live #film .reel:nth-child(3) { order: -1; } /* A2 left, the two B2 runs centre, C3 right: the leaders never cross */
.fl-live .fls-main--sandbox { top: auto; bottom: calc(var(--pad) + 60px); transform: none; width: 400px; }
.fl-live .fls-main--sandbox .fl-cap { font-size: 13.5px; }
.fl-live .fls-main--built { width: min(560px, 40vw); }
/* the chapter index: a quiet rail on the right edge, labels on hover / focus / current */
.fl-live .fl-index { position: fixed; z-index: 6; right: 12px; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
.fl-live .fl-index :is(ol, button, .fl-index-links) { pointer-events: auto; }
.fl-live .fl-index ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fl-live .fl-index ol a { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 8px; height: 22px; padding: 0 4px; color: rgba(var(--ivory-rgb), 0.42); text-decoration: none; }
.fl-live .fl-index ol a::after { content: ''; width: 10px; height: 1px; background: currentColor; transition: width 0.25s ease; }
.fl-live .fl-index .t { position: absolute; right: 52px; opacity: 0; transform: translateX(6px); transition: opacity 0.2s, transform 0.2s; white-space: nowrap; }
.fl-live .fl-index ol a:hover, .fl-live .fl-index ol a:focus-visible { color: var(--ivory); }
.fl-live .fl-index a:hover .t, .fl-live .fl-index a:focus-visible .t, .fl-live .fl-index a[aria-current] .t { opacity: 1; transform: none; }
.fl-live .fl-index a[aria-current] { color: var(--noodle); }
.fl-live .fl-index a[aria-current]::after { width: 22px; }
.fl-live .fl-index .n { width: 16px; text-align: right; }
.fl-live .fl-index-toggle { display: none; }
.fl-live .fl-index-links { position: fixed; right: var(--pad); top: calc(var(--pad) + 30px); margin: 0; display: flex; gap: 14px; }
.fl-live .fl-index-links a { color: rgba(var(--ivory-rgb), 0.6); text-decoration: none; }
.fl-live .fl-index-links a:hover { color: var(--ivory); }
.fl-live .fl-skip { position: fixed; z-index: 5; right: var(--pad); bottom: calc(var(--pad) + 26px); color: rgba(var(--ivory-rgb), 0.7); text-decoration: none; }
.fl-live .fl-skip:hover { color: var(--ivory); }
/* pinned callouts */
.fl-pins { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fl-pins path { fill: none; stroke: rgba(var(--ivory-rgb), 0.72); stroke-width: 1; }
.fl-pins circle { fill: rgba(var(--wall-2-rgb), 0.4); stroke: rgba(var(--ivory-rgb), 0.95); stroke-width: 1; }
.fl-pins .reels path { stroke: rgba(var(--ivory-rgb), 0.45); stroke-dasharray: 2 3; }
.fl-pinlabels { position: absolute; inset: 0; }
.fl-pin { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; gap: 1px; opacity: 0; color: rgba(var(--ivory-rgb), 0.78);
  text-shadow: 0 1px 10px rgba(var(--wall-2-rgb), 0.9); white-space: nowrap; }
.fl-pin.r { align-items: flex-end; text-align: right; }
.fl-pin .h { color: var(--ivory); font-weight: 700; letter-spacing: 0.12em; }
.fl-pin i { display: block; width: 90px; height: 3px; margin-top: 3px; background: rgba(var(--ivory-rgb), 0.15); }
.fl-pin i::after { content: ''; display: block; height: 100%; width: calc(var(--v) * 100%); background: var(--held); }
@media (prefers-reduced-motion: reduce) { .fl-live .fls-drawer.is-open { animation: none; } .range { transition: none; } }

/* ---------- the flight on phones / portrait: big lines at the foot (existing), panels become bottom sheets ---------- */
@media (max-width: 700px), (max-aspect-ratio: 1/1) {
  :root { --mono-f: 500 9.5px/1.45 'Archivo', system-ui, sans-serif; }
  .fl-live .fls-card { display: none; }
  .fl-live .fls.is-sheet .fls-card { display: block; }
  .fl-live .fls-card, .fl-live .fls-drawer, .fl-live .fls-main { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: auto; max-height: 56vh; overflow: auto;
    padding: 16px 16px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(var(--ivory-rgb), 0.25); border-radius: 10px 10px 0 0;
    background: rgba(var(--wall-2-rgb), 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .fl-live .fls-card::before, .fl-live .fls-main::before { display: none; }
  .fl-live .fls.is-sheet .fls-card--hero { display: block; width: auto; left: 0; bottom: 0; }
  .fl-live .fls-card--hero .fl-clip { width: 46%; float: right; margin: 0 0 6px 12px; }
  .fl-live .fls-drawer { z-index: 2; max-height: 70vh; }
  .fl-live .fls-drawer.is-open { animation: none; }
  .fl-live .fl-info { display: inline-flex; position: absolute; right: 16px; top: 66px; margin: 0; pointer-events: auto; }
  .fl-live .fls-main--film { top: 64px; bottom: auto; max-height: none; padding: 0; background: none; border: 0; left: 16px; right: 16px; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .fl-live .fls-main--film .fl-h { font-size: 24px; } .fl-live .fls-main--film .fl-cap { font-size: 13px; margin: 0; }
  .fl-live #film .strip-wrap { left: 0; right: 0; top: auto; bottom: 62px; }
  .fl-live #film .strip { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px; gap: 12px; }
  .fl-live #film .reel { flex: none; width: 30vw; scroll-snap-align: start; }
  .fl-live .fl-desk { display: none; }
  .fl-live #film .strip-wrap { bottom: 74px; }
  .fl-live :is(.fls-card, .fls-main):not(.fls-main--film) { padding-bottom: calc(78px + env(safe-area-inset-bottom)); max-height: 60vh; } /* the HUD's bottom row sits over the sheet's foot */
  .fl-live .fls-main--sandbox { bottom: 0; width: auto; max-height: 50vh; }
  .fl-live .fls-main--sandbox .fl-cap { display: none; }
  .fl-live .fl-live-joints { display: none; }
  .fl-live .fls-main .fl-h { font-size: 26px; }
  .fl-live .fl-h--xl { font-size: 34px !important; }
  .fl-live .fl-index ol { display: none; }
  .fl-live .fl-index { top: 12px; right: 12px; bottom: auto; display: block; }
  .fl-live .fl-index.is-open .t { position: static; }
  .fl-live .fl-index-toggle { display: inline-flex; padding: 8px 10px; border: 1px solid rgba(var(--ivory-rgb), 0.3); border-radius: 2px; background: rgba(var(--wall-2-rgb), 0.5); color: var(--ivory);
    font: var(--mono-f); font-stretch: 62%; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
  .fl-live .fl-index.is-open { inset: 0; top: 0; right: 0; padding: 64px 20px 20px; background: rgba(var(--wall-2-rgb), 0.94); }
  .fl-live .fl-index.is-open .fl-index-toggle { position: absolute; right: 12px; top: 12px; }
  .fl-live .fl-index.is-open ol { display: grid; gap: 4px; }
  .fl-live .fl-index.is-open a { justify-content: flex-start; height: 40px; font-size: 13px; }
  .fl-live .fl-index.is-open a::after { display: none; }
  .fl-live .fl-index.is-open .t { opacity: 1; transform: none; }
  .fl-live .fl-index-links { display: none; }
  .fl-live .fl-index.is-open .fl-index-links { display: flex; position: static; margin-top: 18px; }
  .fl-live .fl-tr { right: 76px; }
  .fl-live .fl-skip { display: none; }
  .fl-pin { font-size: 8.5px; }
  .fl-pin i { width: 60px; }
  .fl-live .fls:is(#film, #results, #limits, #touch, #sandbox, #built) ~ * { }
}

/* honesty read-outs (hud.js): bottom centre, clear of the scene cards (bottom right) and the sound toggle (bottom left) */
.fl-readout.at-br2 { right: auto !important; left: 50%; transform: translateX(-50%); bottom: calc(var(--pad) + 2px) !important; align-items: center !important; text-align: center !important; }
@media (max-width: 700px), (max-aspect-ratio: 1/1) { .fl-readout.at-br2 { bottom: calc(var(--pad) + 30px) !important; max-width: 70vw; } }
/* reel captions sit over the moving arm: a quiet backing keeps them legible */
.fl-live #film .reel figcaption { padding: 4px 6px; border-radius: 2px; background: rgba(var(--wall-2-rgb), 0.62); }
@media (max-width: 700px), (max-aspect-ratio: 1/1) { .fl-live .fl-index.is-open ol a { color: rgba(var(--ivory-rgb), 0.88); } .fl-live .fl-index.is-open ol a[aria-current] { color: var(--noodle); } }

/* ======================================================================================================================
   ROUND 6 (2026-10-30): clean holds (Igloo bar). Each hold = one headline, one short line, tiny mono pins on objects.
   Cards (01-07) and the rest of a big scene's column (08-13) open behind "Explore +" (scenes.js toggles .is-sheet on the
   section; the no-3D document is untouched). Colour is reserved for events: chrome is ivory, never accent.
   ====================================================================================================================== */
.fl-live .fls-card { display: none; }
.fl-live .fls.is-sheet .fls-card { display: block; }
.fl-live .fls.is-sheet .fls-card--hero { display: grid; }
.fl-live .fls:not(.is-sheet) .fls-main > :not(.fls-kick, .fl-h, .fl-cap, .fl-info, .fl-keep) { display: none; }
.fl-live .fls:not(.is-sheet) .fl-more, .fl-live .fls:not(.is-sheet) .fl-live-joints { display: none; }
/* the Explore control: tiny mono, a hairline, no box (bottom-left column with SOUND for 01-07; under the line for 08-13) */
.fl-live .fl-info { display: inline-flex; position: fixed; z-index: 4; left: var(--pad); bottom: calc(var(--pad) + 46px); margin: 0 0 0 -6px;
  padding: 4px 6px; border: 0; border-radius: 0; background: none; pointer-events: auto; color: rgba(var(--ivory-rgb), 0.82);
  box-shadow: inset 0 -1px 0 rgba(var(--ivory-rgb), 0.35); }
.fl-live .fl-info:hover, .fl-live .fl-info[aria-expanded="true"] { color: var(--ivory); box-shadow: inset 0 -1px 0 rgba(var(--ivory-rgb), 0.85); }
.fl-live .fl-info--in { position: static; margin: 2px 0 0 -6px; }
.fl-live .fls:not(.is-live) .fl-info { pointer-events: none; }
/* scrim behind the HUD lines: the 3D stays full-bleed behind the text, the text stays legible (owner: never "fix" it) */
.fl-lines::before { content: ''; position: absolute; inset: -14vh -10vw -14vh -18vw; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--wall-2-rgb), 0.5), rgba(var(--wall-2-rgb), 0.22) 55%, rgba(var(--wall-2-rgb), 0)); }
.fl-small { font-size: 14px; max-width: 36ch; color: rgba(var(--ivory-rgb), 0.74); }
.fl-live .fls-main::before { background: radial-gradient(closest-side, rgba(var(--wall-2-rgb), 0.55), rgba(var(--wall-2-rgb), 0.2) 60%, rgba(var(--wall-2-rgb), 0)); }
/* quiet chrome: Igloo-small corners, index rail and kickers in ivory (colour is for events) */
.fl-c { color: rgba(var(--ivory-rgb), 0.5); }
.fl-c b { color: rgba(var(--ivory-rgb), 0.78); }
#fl-scene { color: rgba(var(--ivory-rgb), 0.78); }
.fl-chip { border-color: rgba(var(--ivory-rgb), 0.14); color: rgba(var(--ivory-rgb), 0.62); }
.fls-kick, .fl-kicker { color: rgba(var(--ivory-rgb), 0.55); }
.fl-live .fl-index ol { gap: 0; }
.fl-live .fl-index ol a { height: 17px; color: rgba(var(--ivory-rgb), 0.26); }
.fl-live .fl-index ol a::after { width: 7px; }
.fl-live .fl-index .n { font-size: 9px; }
.fl-live .fl-index a[aria-current] { color: rgba(var(--ivory-rgb), 0.92); }
.fl-live .fl-index a[aria-current]::after { width: 18px; }
.fl-live .fl-index-links a, .fl-live .fl-skip { color: rgba(var(--ivory-rgb), 0.45); }
.fl-pins path { stroke: rgba(var(--ivory-rgb), 0.55); }
.fl-pin { color: rgba(var(--ivory-rgb), 0.66); }
.fl-pin .h { color: rgba(var(--ivory-rgb), 0.95); }
@media (max-width: 700px), (max-aspect-ratio: 1/1) {
  .fl-live .fl-info { position: absolute; left: auto; right: 16px; top: 66px; bottom: auto; margin: 0; }
  .fl-live .fl-info--in { position: static; margin: 4px 0 0 -6px; }
  .fl-lines::before { inset: -6vh -16px -4vh -16px; background: linear-gradient(to top, rgba(var(--wall-2-rgb), 0.55), rgba(var(--wall-2-rgb), 0)); }
  /* collapsed: no sheet, the 3D runs full-bleed behind the line; a bottom scrim keeps it legible. Explore opens the sheet. */
  .fl-live .fls:not(.is-sheet) .fls-main:not(.fls-main--film, .fls-main--sandbox) { max-height: none; overflow: visible; border-top: 0; border-radius: 0;
    background: linear-gradient(to top, rgba(var(--wall-2-rgb), 0.82) 0%, rgba(var(--wall-2-rgb), 0.55) 60%, rgba(var(--wall-2-rgb), 0));
    -webkit-backdrop-filter: none; backdrop-filter: none; padding-top: 44px; }
}

/* ======================================================================================================================
   ROUND 7 (2026-10-30): transition grammar. Text never changes while the camera moves: the line exits as a move begins
   (0.26 s lift + blur) and enters ~0.3 s after it settles, line by line under a mask (hud.js). Big-scene columns (08-13)
   rise child by child when their section turns live (scenes.js eases --a on the clock, not by p). The veil (#fl-warp,
   director.js) is an ink / light / warm wash, opacity only.
   ====================================================================================================================== */
#fl-warp { background: radial-gradient(120% 90% at 50% 62%, #2b3550 0%, #141d31 52%, #0a111f 100%); will-change: opacity; }
.fl-big .ln { display: block; overflow: hidden; padding: 0 0 0.1em; margin: 0 0 -0.1em; transform: none; }
.fl-big .ln > span { display: inline-block; transform: none; animation: fl-rise 0.95s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes fl-rise { from { transform: translateY(108%); } }
.fl-small { animation: fl-soft 0.9s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes fl-soft { from { opacity: 0; transform: translateY(10px); } }
/* round 12: the exit-on-move blur (.fl-lines.is-out) is gone: text crossfades by scroll position (hud.js) */
.fl-lines.no-anim *, .fl-lines.no-anim { animation: none !important; transition: none !important; }
.fl-counter { transition: opacity 0.3s ease; }
/* round 12: no clock on the columns either: they ride the section's --a (a function of where the camera is, scenes.js) */
.fl-live .fls .fls-main > * { transform: translateY(calc((1 - var(--a, 1)) * 12px)); }
.fl-live.fl-still .fls .fls-main > * { transition: none !important; }
@media (prefers-reduced-motion: reduce) { .fl-big .ln > span, .fl-small { animation: none; } .fl-lines > *, .fl-live .fls .fls-main > * { transition: none; } }
.fl-callouts, .fl-leader { transition: opacity 0.25s ease; }
.fl-live.fl-still .fl-callouts, .fl-live.fl-still .fl-leader { transition: none; }

/* ======================================================================================================================
   ROUND 8 fixes (2026-10-31): keyboard, text off the subject, phone swipes. Every state change here is a class or attribute
   flipped on a scene enter / leave (scenes.js), never per frame.
   ====================================================================================================================== */
/* a scene that is not on is not focusable and not in the a11y tree either (it was only moved off-screen: 26 of 45 desktop
   tab stops sat on invisible controls). `is-on` already flips on enter / leave only. */
.fl-live .fls:not(.is-on) { visibility: hidden; }
/* the Explore sheet takes focus when it opens: a container, not a control, so no ring */
.fl-live :is(.fls-card, .fls-main):focus { outline: none; }
.fl-link { color: var(--accent-text); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(var(--ivory-rgb), 0.28); padding-bottom: 1px; }
.fl-link:hover { color: var(--ivory); border-bottom-color: rgba(var(--ivory-rgb), 0.8); }
.fl-link:focus-visible { outline: 1px solid rgba(var(--ivory-rgb), 0.9); outline-offset: 3px; }
/* "Skip to results" lives top-right under the project links (the corner nothing important ever fills); it sat on the arm
   at the bottom right of the halo */
.fl-live .fl-skip { top: calc(var(--pad) + 52px); bottom: auto; }
/* the document layout: anchor jumps clear the sticky index bar (its height is measured by boot.js into --fl-idx-h) */
html:not(.fl-live) .fls { scroll-margin-top: calc(var(--fl-idx-h, 100px) + 12px); }

@media (min-width: 701px) and (min-aspect-ratio: 1/1) {
  /* the honesty chip leaves the bottom-right where the arm stands (01 halo, 04 the 160): under the brand line */
  .fl-br[data-pos="tl"] { right: auto; bottom: auto; left: var(--pad); top: calc(var(--pad) + 44px); align-items: flex-start; animation: fl-chip-a 0.5s ease both; }
  .fl-br[data-pos="br"] { animation: fl-chip-b 0.5s ease both; } /* two names: the fade replays at every move between the corners */
  /* 04 the 160: the headline keeps to the left margin, clear of the grid columns; the counter hangs under it, off the
     bottom-left control stack (Explore / Sound / hint) */
  .fl-lines.narrow { max-width: min(27vw, 400px); }
  .fl-lines { --fs: clamp(26px, 2.75vw, 42px); }
  .fl-counter { --fs: clamp(26px, 2.75vw, 42px); bottom: auto; top: calc(50% + var(--hrows, 3) * var(--fs) * 0.52 + 18px); }
  /* 08 real runs: smaller cards, further right, so the first caption is off the arm's head */
  .fl-live #film .strip-wrap { right: calc(var(--pad) * 2 + 8px); }
  .fl-live #film .strip { gap: clamp(10px, 1vw, 16px); }
  .fl-live #film .reel { width: clamp(104px, 8.2vw, 150px); }
}

@keyframes fl-chip-a { from { opacity: 0; } }
@keyframes fl-chip-b { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fl-br[data-pos] { animation: none !important; } }
@media (max-width: 700px), (max-aspect-ratio: 1/1) {
  /* the line sits lower, under the subject (the arm stands in the middle of these frames); the chrome row is ~60 px */
  .fl-lines, .at-l, .at-tl, .at-bl, .at-col { bottom: 10vh; }
  .fl-lines.has-counter { bottom: 21vh; }
  .fl-counter { top: auto; }
  .fl-bracket span { display: none; } /* "OVERHEAD 800x600" lands inside the grid; the read-out and card carry it */
  /* the servo inspection block: a compact scrim at the foot instead of a boxed panel over the macro */
  .fl-callouts { left: 0; right: 0; bottom: 0; padding: 36px 16px calc(9vh + 4px); border-top: 0; background: linear-gradient(to top, rgba(var(--wall-2-rgb), 0.82) 0%, rgba(var(--wall-2-rgb), 0.6) 65%, rgba(var(--wall-2-rgb), 0)); }
  .fl-c-title { margin-bottom: 4px; }
  .fl-c-row { grid-template-columns: 54px 1fr; gap: 8px; padding: 1px 0; border-bottom: 0; }
}

/* ======================================================================================================================
   ROUND 12 (2026-11-01, NAV+TEXT): text keyed to the scroll position. hud.js builds one block per stop text (#fl-text >
   .fl-tx, kicker + headline + explanatory body + facts) and sets each block's --a from where the camera is between two
   stops; scenes 08-13 show copy.js's body in their own column by default. No CSS clocks on any of it: the rise is (1 - a).
   ====================================================================================================================== */
.fl-text { position: absolute; inset: 0; pointer-events: none; }
.fl-tx { max-width: min(38vw, 560px); }
.fl-tx > * { transform: translateY(calc((1 - var(--a, 0)) * 12px)); transition: none !important; animation: none !important; }
.fl-tx .fl-big { font-size: clamp(26px, 2.5vw, 40px); }
.fl-tx .fl-small { margin-top: 14px; max-width: 36ch; font-size: clamp(15px, 1.12vw, 18px); line-height: 1.55; color: rgba(var(--ivory-rgb), 0.94);
  text-shadow: 0 1px 14px rgba(var(--wall-2-rgb), 0.85); } /* integrator 2026-11-01: the body was 14.5 px at 0.86 grey and hard to read */
.fl-tx .fl-note-l { margin: 10px 0 0; max-width: 46ch; font-size: 13px; line-height: 1.45; color: rgba(var(--ivory-rgb), 0.72);
  text-shadow: 0 1px 12px rgba(var(--wall-2-rgb), 0.7); }
.fl-facts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 14px 0 0; padding: 0; list-style: none; max-width: 46ch;
  font: var(--mono, 500 10.5px/1.5 'Archivo', system-ui, sans-serif); font-stretch: 62%; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(var(--ivory-rgb), 0.62); }
.fl-facts li { padding-left: 9px; border-left: 1px solid rgba(var(--ivory-rgb), 0.3); }
.fl-live .fls-main .fl-facts { margin-top: 12px; }
.fl-live .fls-main .fl-facts li { font: 500 10.5px/1.5 'Archivo', system-ui, sans-serif; font-stretch: 62%; letter-spacing: 0.08em; color: rgba(var(--ivory-rgb), 0.62); }
.fl-tx .fl-counter { position: static; display: block; margin-top: 16px; opacity: 1; transition: none; }
.fl-tx.narrow { max-width: min(27vw, 400px); }
/* round 13: a merged stop's second headline + body (copy.js `more`), under the first body */
.fl-tx .fl-more2 { margin-top: 10px; }
.fl-tx .fl-more2 b { font-weight: 600; color: rgb(var(--ivory-rgb)); }
@media (min-width: 701px) and (min-aspect-ratio: 1/1) { .fl-tx.at-tl { top: 13vh; } }
/* 08-13: the explanatory body shows by default (it was behind Explore + as .fl-more) */
.fl-live .fls:not(.is-sheet) .fl-more { display: inline; }
@media (max-width: 700px), (max-aspect-ratio: 1/1) {
  .fl-tx, .fl-tx.narrow { max-width: none; }
  .fl-tx .fl-big { font-size: 23px; }
  .fl-tx .fl-small { margin-top: 8px; font-size: 14.5px; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
  .fl-tx .fl-facts, .fl-tx .fl-note-l { display: none; }
  .fl-tx .fl-more2 { margin-top: 6px; -webkit-line-clamp: 3; }
  .fl-tx .fl-counter { margin-top: 8px; font-size: 20px; }
  .fl-tx.has-counter { bottom: 10vh; }
  .fl-live .fls-main .fl-facts { display: none; }
  /* the servo inspection: its read-out owns the foot, so the text goes to the top (scrim flipped) */
  .fl-tx.ph-top { top: 64px; bottom: auto; }
  .fl-tx.ph-top::before { inset: -64px -16px -6vh -16px; background: linear-gradient(to bottom, rgba(var(--wall-2-rgb), 0.6), rgba(var(--wall-2-rgb), 0)); }
  .fl-live .fls-main--film .fl-cap { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
}

/* 2026-11-01 phone check: Stage B's B2 tag ("Reconstruction, staged light") ran off the right edge at 390 px; on phones the
   footer chip carries the same honesty line */
@media (max-width: 700px) { .fl-live .stage-label--tag { display: none; } }

/* 2026-11-02 (owner: "the start is just a little crowded"): on short desktop windows the fact tags give way so the text
   block never reaches the top-left chip or the bottom controls */

/* 2026-11-02 responsive fit (hud.js fit(); owner: "make it responsive to all screen sizes"): type follows the window's
   height as well as its width, and a block that still doesn't fit between the top-left chrome and the controls steps down */
@media (min-width: 701px) {
  .fl-tx .fl-big { font-size: clamp(22px, min(2.5vw, 4.4vh), 40px); }
  .fl-tx .fl-small { font-size: clamp(14px, min(1.12vw, 2.15vh), 18px); }
  .fl-tx.fit-1 .fl-facts, .fl-tx.fit-2 .fl-note-l { display: none; }
  .fl-tx.fit-3 { zoom: 0.9; }
  .fl-tx.fit-4 { zoom: 0.8; }
  .fl-tx.fit-5 .fl-more2 { display: none; }
  .fl-tx.fit-6 .fl-small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
}
/* short desktop windows (fitpanels check 2026-11-02: the sandbox panel ran 34 px into the controls at 1000x550): a smaller
   picker and no caption row */
@media (min-width: 701px) and (max-height: 640px) {
  .fls-main--sandbox .picker { grid-template-columns: repeat(3, 40px); gap: 4px; }
  .fls-main--sandbox .fl-cap, .fls-main--sandbox .picker-arm { display: none; }
  .fls-main--sandbox .fl-h { font-size: clamp(22px, 4.4vh, 34px); }
}
