/* Hallmark · shape: kept (a film, the call, the replays, the numbers, one way in) · genre: atmospheric · theme: brand · redesign: full
 * paper: oklch(21% 0.06 265) · accent: oklch(77% 0.11 270) · display: Geist 600 · body: Geist · hero: Stage, the words on columns 1 to 4, the film on 5 to 12 · nav: edge-aligned, the mark and one action · footer: a quiet band, the mark and the legal lines · signature: the film of a clip going in and the offside line keyed onto the grass
 * axes: dark/grotesk-sans/cool · posture: Stage · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · dropped #how, "How it works" and its three tiles, "Every angle in the clip", the defender and attacker distance rows (17.04, 16.98) · the three steps now sit under the film that shows them, the replays have one section, and the frame labels name the two players */
/* Hallmark · waive 39b · button.tstep 76px, each a title and a line · the film's three chapter buttons; every hit target is taller than 44px */
/* Hallmark · waive 44c · at 1440x900 the film runs from 144px to 712px, 68px under the nav, and the next head starts at 864px, above the fold · the check stops at the copy's buttons (636px) and misses the film beside them */
/* Hallmark · waive 79 · at 1440x900 the film ends at 712px and "The call" begins at 864px, inside the fold · the same measurement, the film is the hero's visual */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V4 · weakest: R, the call and the replays were the same frame four times; it is now drawn once and the replays carry the rest */
@import url("./tokens.css");
@import url("./base.css");

/* Arclynq's material: deep navy, solid blue hairlines, square boxes, Geist. The footage is the one bright thing;
   red, green and the VAR blue only ever mean the call. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100svh; background: var(--color-paper); }
button { cursor: pointer; color: inherit; }
img, video, canvas { display: block; max-width: 100%; }
.muted { color: var(--color-muted); }
.mono, .num { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }
.ico { display: inline-grid; place-items: center; width: 18px; height: 18px; flex: none; }
.ico svg { width: 100%; height: 100%; }
h1, h2 { color: var(--color-ink); }
h3 { font-size: var(--text-lg); letter-spacing: -0.02em; }

/* ---------------------------------------------------------------- header */
.top { position: fixed; inset: 0 0 auto; z-index: var(--z-sticky-nav); display: flex; justify-content: space-between; align-items: center; gap: var(--space-md);
  padding: max(var(--space-md), env(safe-area-inset-top)) var(--gutter) var(--space-md); transition: background-color var(--dur-long), box-shadow var(--dur-long); }
body.deep .top { background: var(--color-deep); box-shadow: 0 1px 0 var(--color-rule); }
.brand { display: flex; align-items: center; gap: var(--space-sm); font-weight: 600; font-size: var(--text-lg); letter-spacing: -0.02em; color: var(--color-ink); text-decoration: none; }
.brand:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.brand svg { width: 26px; height: 26px; color: var(--color-ink); }
.brand .bar { stroke: var(--color-var); }

/* ---------------------------------------------------------------- buttons: Arclynq's square ones */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-rule-2); border-radius: 0;
  background: transparent; color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-short), color var(--dur-short), border-color var(--dur-short), transform var(--dur-micro); }
.btn:hover { background: var(--color-paper-2); border-color: var(--color-accent); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn.white, .btn.lime { min-height: 52px; padding: 0 var(--space-xs) 0 var(--space-lg); background: var(--color-ink); color: var(--color-accent-ink); border-color: var(--color-ink); }
.btn.white:hover, .btn.lime:hover { background: var(--color-accent); border-color: var(--color-accent); }
.btn .arr { display: grid; place-items: center; width: 36px; height: 36px; background: var(--color-accent-ink); color: var(--color-ink); transition: transform var(--dur-short) var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }
.btn.lime:not(:has(.arr)) { padding: 0 var(--space-lg); }
.btn.line { background: transparent; }
.btn.sm { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.btn.lime.sm { min-height: 44px; padding: 0 var(--space-md); }
.btn.lg { min-height: 52px; }
.btn.ghost { border-color: transparent; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.top .btn { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); background: var(--color-deep); }
.top .btn:hover { background: var(--color-ink); color: var(--color-accent-ink); border-color: var(--color-ink); }

.pillbar { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--color-rule-2); background: var(--color-deep); }
.pill, .chip { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 36px; padding: 0 var(--space-sm); border: 0; border-radius: 0; background: transparent; color: var(--color-ink-2); font: 400 var(--text-xs) var(--font-body);
  transition: background-color var(--dur-short), color var(--dur-short); }
.pill + .pill { border-left: 1px solid var(--color-rule); }
.pill:hover, .chip:hover { color: var(--color-ink); background: var(--color-paper-2); }
.pill:focus-visible, .chip:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.pill.active, .chip.active { background: var(--color-ink); color: var(--color-accent-ink); }
.pill .dot { width: 8px; height: 8px; display: inline-block; }
.pill .role { font-size: var(--text-xs); opacity: .75; }
.pillbar.small .pill { min-height: 32px; padding: 0 var(--space-xs); }
input[type=text], input[type=url], input[type=password], select { min-height: 44px; background: var(--color-deep); border: 1px solid var(--color-rule-2); border-radius: 0; padding: 0 var(--space-sm); color: var(--color-ink); font-size: var(--text-sm);
  transition: border-color var(--dur-short); }
input:hover, select:hover { border-color: var(--color-muted); }
input:focus-visible, select:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 0; }
select option { background: var(--color-paper-2); }

/* ---------------------------------------------------------------- page frame */
main { position: relative; z-index: var(--z-base); max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
section { scroll-margin-top: var(--space-3xl); }
.lead { color: var(--color-ink-2); }
.eyebrow { margin: 0 0 var(--space-sm); color: var(--color-ink-2); font-size: var(--text-sm); }
.row { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.glass, .panel { color: var(--color-ink); background: var(--color-paper-2); border: 1px solid var(--color-rule); border-radius: 0; }
.glass.pad, .panel { padding: var(--space-lg); }
.skeleton { aspect-ratio: 16 / 9; background: var(--color-paper-2); border: 1px solid var(--color-rule); }
.err { border: 1px solid var(--color-off); background: var(--color-deep); color: var(--color-ink); padding: var(--space-sm) var(--space-md); margin-top: var(--space-md); font-size: var(--text-sm); }
.notice { border: 1px solid var(--color-close); color: var(--color-ink); padding: var(--space-sm) var(--space-md); font-size: var(--text-sm); }
.noscript { padding: calc(var(--space-4xl) + var(--space-lg)) 0 var(--space-3xl); }
.noscript p { margin-top: var(--space-lg); color: var(--color-ink-2); font-size: var(--text-lead); }
.noscript a { color: var(--color-accent); }

/* the one reveal: sections rise once as they come into view; without the script they are simply there */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- hero: Stage, the words left, the film right */
.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center;
  min-height: min(100svh, 800px); padding: var(--space-3xl) 0 var(--space-xl); }
.hero-copy { grid-column: 1 / span 4; }
.hero-copy h1 { font-size: clamp(2.75rem, 3.6vw + 0.5rem, 4.5rem); max-width: 10ch; line-height: 1; }
.hero-copy .lead { margin-top: var(--space-lg); max-width: 30ch; }
.hero-film { grid-column: 5 / span 8; }
.ctas { display: flex; gap: var(--space-sm); flex-wrap: wrap; margin-top: var(--space-xl); }
@media (max-width: 1020px) {
  .hero { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); min-height: 0; padding-top: calc(var(--space-3xl) + var(--space-md)); }
  .hero-copy, .hero-film { grid-column: 1; } .hero-copy h1 { max-width: 14ch; }
}

/* the film: the product doing its one job, then the three steps it just showed */
.film { width: 100%; }
.screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--color-rule-2); background: var(--color-screen); transition: opacity var(--dur-long); }
.js .screen.fade { opacity: 0; }
.screen video, .screen .tcv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--color-screen); transition: opacity 350ms; }
.js .screen .tcv { opacity: 0; }
.fctl { position: absolute; top: var(--space-sm); right: var(--space-sm); z-index: var(--z-raised); display: flex; gap: var(--space-2xs); }
.tbtn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 44px; min-width: 44px; padding: 0 var(--space-sm); border: 1px solid var(--color-rule-2); background: var(--color-deep); color: var(--color-ink);
  font: 500 var(--text-xs) var(--font-body); transition: background-color var(--dur-short), color var(--dur-short); }
.tbtn .ico { width: 16px; height: 16px; }
.tbtn.sq { padding: 0; }
.tbtn:hover, .tbtn[aria-pressed="true"] { background: var(--color-ink); color: var(--color-accent-ink); }
.tbtn:active { transform: translateY(1px); }
.tbtn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tdrop { position: absolute; inset: 0; display: grid; place-content: center; gap: var(--space-md); padding: 6%; background: var(--color-paper); transition: opacity 350ms; }
.tdz { display: grid; justify-items: center; gap: var(--space-xs); width: min(440px, 62vw); padding: var(--space-xl) var(--space-lg); border: 1px dashed var(--color-rule-2); background: var(--color-paper-2); text-align: center;
  transition: background-color var(--dur-short), border-color var(--dur-short); }
.tdz .ico { width: 26px; height: 26px; color: var(--color-accent); }
.tdz b { font-size: clamp(15px, 1.7vw, 21px); font-weight: 600; letter-spacing: -0.02em; }
.tdz span { font-size: var(--text-xs); color: var(--color-muted); }
.tdrop.over .tdz { border-color: var(--color-accent); border-style: solid; background: var(--color-paper-3); }
.js .tprog { opacity: 0; transition: opacity var(--dur-short); }
.js .tdrop.busy .tprog { opacity: 1; }
.tbar { height: 3px; background: var(--color-rule); overflow: hidden; }
.tbar i { display: block; height: 100%; background: var(--color-accent); transform-origin: 0 50%; transform: scaleX(0); }
.tmsg { display: flex; justify-content: space-between; gap: var(--space-sm); margin-top: var(--space-xs); font-size: var(--text-xs); color: var(--color-ink-2); }
.tfile, .tcursor { position: absolute; left: 50%; top: 50%; pointer-events: none; will-change: transform, opacity; }
.tfile { display: flex; align-items: center; gap: var(--space-sm); translate: -50% -50%; padding: var(--space-sm) var(--space-md) var(--space-sm) var(--space-sm); background: var(--color-ink); color: var(--color-accent-ink); }
.tfile .ico { width: 26px; height: 26px; }
.tfile b { display: block; font-size: var(--text-xs); font-weight: 600; } .tfile small { font-size: var(--text-xs); opacity: .7; }
.tcursor { width: 26px; height: 26px; translate: 60px 4px; color: var(--color-ink); }
.tcursor path { fill: currentColor; stroke: var(--color-accent-ink); }
.ttl { position: absolute; left: var(--space-md); right: var(--space-md); bottom: var(--space-md); transition: opacity var(--dur-short); }
.ttrack { height: 4px; background: var(--color-rule-2); }
.ttrack i { display: block; height: 100%; background: var(--color-ink); transform-origin: 0 50%; transform: scaleX(0); }
.tpin { position: absolute; right: 0; bottom: var(--space-sm); padding: var(--space-2xs) var(--space-sm); background: var(--color-ink); color: var(--color-accent-ink); font: 500 var(--text-xs) var(--font-outlier);
  transition: opacity var(--dur-short), transform var(--dur-short) var(--ease-out); }
.js .tpin { opacity: 0; transform: translateY(6px); }
.js .tpin.show { opacity: 1; transform: none; }
.tstatus { position: absolute; left: var(--space-md); top: var(--space-md); display: inline-flex; align-items: center; gap: var(--space-xs); padding: var(--space-xs) var(--space-sm); background: var(--color-deep); border: 1px solid var(--color-rule-2);
  font-size: var(--text-xs); transition: opacity var(--dur-short); }
.js .tstatus { opacity: 0; }
/* the call, the way a broadcast shows it: a dark plate with the decision in its colour */
.tcall { position: absolute; right: var(--space-md); bottom: var(--space-md); display: grid; gap: var(--space-2xs); min-width: 180px; padding: var(--space-sm) var(--space-md); background: var(--color-deep); border: 1px solid var(--color-rule-2);
  transition: opacity 350ms, transform var(--dur-long) var(--ease-out); }
.js .tcall { opacity: 0; transform: translateY(10px); }
.js .tcall.show { opacity: 1; transform: none; }
.tcall .k { font-size: var(--text-xs); color: var(--color-ink-2); }
.tcall b { font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.tcall small { font-size: var(--text-xs); color: var(--color-ink-2); }
.tcall.off b { color: var(--color-off); } .tcall.on b { color: var(--color-on); }
.treview { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: var(--space-md); padding: 4%; background: var(--color-paper); transition: opacity var(--dur-long); pointer-events: none; }
.js .treview { opacity: 0; }
.js .treview.show { opacity: 1; }
.treview > p { font-size: var(--text-sm); color: var(--color-ink-2); }
.tshots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs); width: 100%; }
.tshot { margin: 0; border: 1px solid var(--color-rule-2); background: var(--color-screen); transition: opacity var(--dur-long), transform var(--dur-long) var(--ease-out); }
.js .tshot { opacity: 0; transform: translateY(14px); }
.js .tshot.show { opacity: 1; transform: none; }
.tshot img, .tshot canvas { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tshot figcaption { padding: var(--space-xs) var(--space-sm); font-size: var(--text-xs); color: var(--color-ink-2); background: var(--color-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tfinal { display: inline-flex; align-items: baseline; gap: var(--space-md); padding: var(--space-sm) var(--space-lg); background: var(--color-ink); color: var(--color-accent-ink); transition: opacity 350ms, transform var(--dur-long) var(--ease-out); }
.js .tfinal { opacity: 0; transform: scale(.96); }
.js .tfinal.show { opacity: 1; transform: none; }
.tfinal span { font-size: var(--text-sm); }
.tfinal b { font-size: clamp(22px, 2.8vw, 36px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.tfinal.off b { color: var(--color-off); } .tfinal.on b { color: var(--color-on); }
.tsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--color-rule); border-top: 0; }
.tstep { position: relative; display: grid; gap: var(--space-2xs); align-content: start; min-height: 44px; padding: var(--space-md); border: 0; background: transparent; color: var(--color-muted); text-align: left;
  font: inherit; transition: color var(--dur-short), background-color var(--dur-short); }
.tstep + .tstep { border-left: 1px solid var(--color-rule); }
.tstep:hover { background: var(--color-paper-2); color: var(--color-ink-2); }
.tstep:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.tstep.now { color: var(--color-ink); }
.tstep .l { font-size: var(--text-sm); font-weight: 600; }
.tstep .s { font-size: var(--text-xs); line-height: 1.4; }
.tstep > i { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.tstep > i u { display: block; height: 100%; background: var(--color-accent); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 640px) {
  .tbtn .lbl { display: none; } .tbtn { padding: 0; }
  .tstep { padding: var(--space-sm); } .tstep .s { display: none; }
  .tcall { right: var(--space-xs); bottom: var(--space-xs); min-width: 0; padding: var(--space-xs) var(--space-sm); } .tcall small { display: none; }
  .tshots { gap: var(--space-2xs); } .tshot figcaption { display: none; } .tdz span { display: none; } .tfile { scale: .85; }
  .ttl { left: var(--space-xs); right: var(--space-xs); bottom: var(--space-xs); } .tstatus { left: var(--space-xs); top: var(--space-xs); }
}

/* ---------------------------------------------------------------- sections: a head on the left, the thing big */
.call { padding-top: var(--space-2xl); }
.angles, .acc, .second { padding-top: var(--section-gap-s); }
.second .agrid { margin-top: var(--space-2xl); }
.sec-head { display: grid; gap: var(--space-md); margin-bottom: var(--space-xl); }
.sec-head p { color: var(--color-ink-2); font-size: var(--text-lead); max-width: 52ch; }

/* the call: the frame of the pass, with the line, and the decision beside it */
.cgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.cframe { grid-column: 1 / span 7; overflow: hidden; position: relative; margin: 0; border: 1px solid var(--color-rule-2); background: var(--color-screen); aspect-ratio: 16 / 9; }
.ccv { width: 100%; height: 100%; }
.cinfo { grid-column: 8 / span 5; }
.cinfo .tk { font-size: var(--text-sm); color: var(--color-muted); }
.cinfo .big { margin-top: var(--space-xs); font-size: clamp(3.5rem, 5.6vw, 5.75rem); font-weight: 600; letter-spacing: -0.055em; line-height: .9; }
.big.off { color: var(--color-off); } .big.on { color: var(--color-on); }
.cinfo .why { margin: var(--space-lg) 0; color: var(--color-ink-2); font-size: var(--text-md); max-width: 34ch; }
.rows { border-top: 1px solid var(--color-rule); }
.rows > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: var(--space-md); padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-rule); }
.rows span { font-size: var(--text-sm); color: var(--color-muted); }
.rows b { font-weight: 500; font-size: var(--text-md); }
.rows b small { display: block; font-weight: 400; font-size: var(--text-xs); color: var(--color-ink-2); margin-top: var(--space-3xs); }
@media (max-width: 980px) { .cgrid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); } .cframe, .cinfo { grid-column: 1; } }
@media (max-width: 520px) { .rows > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-3xs); } }

/* the replays: the three other cameras, side by side */
.agrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.ashot { margin: 0; }
.ashot .shot { overflow: hidden; border: 1px solid var(--color-rule); background: var(--color-screen); transition: border-color var(--dur-short); }
.ashot:hover .shot { border-color: var(--color-accent); }
.ashot img, .ashot .acv, .ashot video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ashot figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-2); }
.ashot figcaption b { display: block; color: var(--color-ink); font-weight: 600; font-size: var(--text-md); }
.js .agrid .ashot:nth-child(2) { transition-delay: 80ms; } .js .agrid .ashot:nth-child(3) { transition-delay: 160ms; }
@media (max-width: 760px) { .agrid { grid-template-columns: minmax(0, 1fr); } }

/* the numbers: four figures from the scorecard, the full table one click down */
.figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--color-rule-2); }
.fig { padding: var(--space-lg) var(--space-lg) var(--space-lg) 0; }
.fig + .fig { padding-left: var(--space-lg); border-left: 1px solid var(--color-rule); }
.fig b { display: block; font: 600 clamp(2.5rem, 3.8vw, 3.75rem)/1 var(--font-display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.fig span { display: block; margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-2); max-width: 26ch; text-wrap: balance; }
@media (max-width: 900px) { .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fig:nth-child(3) { padding-left: 0; border-left: 0; } .fig:nth-child(n+3) { border-top: 1px solid var(--color-rule); } }
.more { margin-top: var(--space-lg); border-top: 1px solid var(--color-rule); color: var(--color-ink-2); }
.more > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); min-height: 56px; list-style: none; cursor: pointer; color: var(--color-ink); font-weight: 500;
  transition: color var(--dur-short); }
.more > summary:hover { color: var(--color-accent); }
.more > summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: "+"; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--color-rule-2); font: 400 var(--text-md) var(--font-outlier); }
.more[open] > summary::after { content: "−"; }
.more > p { font-size: var(--text-sm); max-width: 72ch; margin-top: var(--space-md); }
.more > :last-child { margin-bottom: var(--space-md); }
table.stats { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
table.stats th, table.stats td { text-align: left; padding: var(--space-sm) var(--space-sm) var(--space-sm) 0; border-bottom: 1px solid var(--color-rule); vertical-align: top; }
table.stats th { color: var(--color-muted); font-weight: 500; font-size: var(--text-xs); }
table.stats td.num { white-space: nowrap; color: var(--color-ink); }

/* one way in */
.endcta { display: flex; flex-direction: column; align-items: start; gap: var(--space-xl); margin-top: var(--section-gap-s); padding: var(--space-2xl) 0 var(--space-xl); border-top: 1px solid var(--color-rule-2); }
.endcta h2 { font-size: var(--text-display); max-width: 12ch; }
.endcta p { margin-top: var(--space-sm); color: var(--color-ink-2); font-size: var(--text-lead); }

/* ---------------------------------------------------------------- footer */
.foot { position: relative; z-index: var(--z-base); margin-top: var(--section-gap-s); border-top: 1px solid var(--color-rule); background: var(--color-deep); }
.foot .inner { max-width: var(--container); margin: 0 auto; padding: var(--space-xl) var(--gutter); display: flex; justify-content: space-between; align-items: start; gap: var(--space-lg); flex-wrap: wrap; }
.foot .brand { font-size: var(--text-md); }
.foot .brand svg { width: 22px; height: 22px; }
.legal { font-size: var(--text-xs); color: var(--color-muted); line-height: 1.6; max-width: 62ch; }
.legal a { color: var(--color-ink-2); text-decoration: underline; text-decoration-color: var(--color-rule-2); transition: color var(--dur-short); }
.legal a:hover { color: var(--color-ink); }
.legal a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.toast { position: fixed; left: 50%; bottom: var(--space-lg); transform: translateX(-50%); z-index: var(--z-toast); background: var(--color-ink); color: var(--color-accent-ink); padding: var(--space-sm) var(--space-md); font-size: var(--text-sm); font-weight: 500; }

/* ---------------------------------------------------------------- analyze, job and shared-result pages */
.page { padding-top: calc(var(--space-3xl) + var(--space-lg)); }
.page > h2, .page .row > h2 { margin-bottom: var(--space-md); }
.page .lead { margin: 0 0 var(--space-lg); }
.drop { border: 1px dashed var(--color-rule-2); background: var(--color-paper-2); padding: var(--space-xl) var(--space-lg); text-align: center; cursor: pointer; transition: background-color var(--dur-short), border-color var(--dur-short); }
.drop:hover, .drop.over { background: var(--color-paper-3); border-color: var(--color-accent); border-style: solid; }
.drop:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.drop b { display: block; font-size: var(--text-xl); font-weight: 600; letter-spacing: -0.02em; margin-bottom: var(--space-xs); }
.drop span { color: var(--color-muted); font-size: var(--text-sm); }
.or { display: flex; align-items: center; gap: var(--space-sm); margin: var(--space-md) 0 var(--space-sm); color: var(--color-muted); font-size: var(--text-xs); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--color-rule); }
.linkrow { display: flex; gap: var(--space-xs); }
.linkrow input { flex: 1; min-width: 0; }
@media (max-width: 520px) { .linkrow { flex-direction: column; } }
.field { display: grid; gap: var(--space-xs); margin-top: var(--space-md); }
.field label { color: var(--color-muted); font-size: var(--text-xs); }
.quota { color: var(--color-muted); font-size: var(--text-xs); margin: var(--space-md) 0 0; }
.progress { margin-top: var(--space-md); }
.progress .bar { height: 3px; background: var(--color-rule); overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 100%; background: var(--color-accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform 500ms var(--ease-out); }
.progress .msg { display: flex; justify-content: space-between; color: var(--color-ink-2); font-size: var(--text-xs); margin-top: var(--space-sm); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.grid3 .card { padding: var(--space-lg); border-top: 1px solid var(--color-rule-2); }
@media (max-width: 760px) { .grid3 { grid-template-columns: minmax(0, 1fr); } }
.card h3 { margin-bottom: var(--space-xs); font-size: var(--text-lg); }
.card p { color: var(--color-ink-2); font-size: var(--text-sm); }
.card .n { font: 400 var(--text-xs) var(--font-outlier); color: var(--color-accent); margin-bottom: var(--space-sm); }
.steps ol { list-style: none; display: flex; padding: 0; margin: 0 0 var(--space-md); flex-wrap: wrap; border: 1px solid var(--color-rule); }
.steps li { display: inline-flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); color: var(--color-muted); font-size: var(--text-xs); }
.steps li + li { border-left: 1px solid var(--color-rule); }
.steps li i { font: 400 var(--text-xs) var(--font-outlier); font-style: normal; }
.steps li.now { color: var(--color-ink); background: var(--color-paper-2); }
.steps li.done { color: var(--color-ink-2); }
.capbox { margin-top: var(--space-md); display: grid; gap: var(--space-sm); padding: var(--space-md); border: 1px solid var(--color-rule); }
.ytbox { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-screen); }
.ytbox iframe, .ytbox #ytp { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ytbox .shield { position: absolute; inset: 0; }
.caprow { display: flex; gap: var(--space-sm); align-items: center; flex-wrap: wrap; }
.caprow label { color: var(--color-ink-2); font-size: var(--text-xs); display: inline-flex; gap: var(--space-xs); align-items: center; }
.caprow input { width: 80px; font-family: var(--font-outlier); }
.capstat { font-size: var(--text-xs); min-height: 1.2em; }
.dash { display: grid; gap: var(--space-lg); }
.clipbox { position: relative; border: 1px solid var(--color-rule); }
.clipbox video { width: 100%; aspect-ratio: 16 / 9; background: var(--color-screen); }
.clipbar { display: flex; gap: var(--space-sm); align-items: center; flex-wrap: wrap; padding: var(--space-sm) var(--space-md); border-top: 1px solid var(--color-rule); }
.goalline { display: flex; gap: var(--space-xs); align-items: center; flex-wrap: wrap; font-size: var(--text-xs); color: var(--color-muted); }
.goalline b { color: var(--color-ink); font-weight: 500; }
.goalline .ball { width: 8px; height: 8px; background: var(--color-ink); display: inline-block; }
.goalline .official { margin-left: auto; color: var(--color-ink-2); }
.topbar:empty, .topbar .pillbar:empty { display: none; }
.other { border-top: 1px solid var(--color-rule); padding-top: var(--space-md); color: var(--color-muted); font-size: var(--text-xs); }
.other summary { cursor: pointer; }
.other input { width: 96px; font-family: var(--font-outlier); }
.working .board { opacity: .5; transition: opacity var(--dur-short); }
.grid3d { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: var(--space-md); align-items: start; }
.grid3d > * { min-width: 0; }
@media (max-width: 980px) { .grid3d { grid-template-columns: minmax(0, 1fr); } }
.stage { position: relative; padding: 0; overflow: hidden; }
.vframe { aspect-ratio: 16 / 9; background: var(--color-screen); }
.vframe > img { width: 100%; height: 100%; object-fit: contain; }
.stage .views { position: absolute; top: var(--space-sm); left: var(--space-sm); z-index: 2; }
.v3d { width: 100%; aspect-ratio: 16 / 8; display: block; cursor: grab; background: var(--color-paper-3); }
.v3d:active { cursor: grabbing; }
.legend3d { position: absolute; left: var(--space-sm); bottom: var(--space-sm); display: flex; gap: var(--space-md); flex-wrap: wrap; margin: 0; font-size: var(--text-xs); color: var(--color-ink); pointer-events: none; }
.legend3d span { display: inline-flex; align-items: center; gap: var(--space-xs); }
.legend3d i { width: 14px; height: 2px; display: inline-block; }
.v3d-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.v3d-tag { position: absolute; left: 0; top: 0; padding: var(--space-2xs) var(--space-xs); font: 500 var(--text-xs) var(--font-body); white-space: nowrap; }
.v3d-tag.def { background: var(--color-var); color: var(--color-accent-ink); }
.v3d-tag.att.off { background: var(--color-off); color: var(--color-accent-ink); } .v3d-tag.att.on { background: var(--color-on); color: var(--color-accent-ink); } .v3d-tag.att.close { background: var(--color-close); color: var(--color-accent-ink); }
.v3d-tag.pass { background: var(--color-ink); color: var(--color-accent-ink); }
.v3d-tag.gap { background: var(--color-deep); color: var(--color-ink); font-size: var(--text-sm); transform-origin: center; }
@media (max-width: 760px) { .v3d { aspect-ratio: 4 / 3.6; } }
.col { display: grid; gap: var(--space-md); align-content: start; }
.verdictcard .eyebrow { margin-bottom: var(--space-sm); }
.verdictcard .word { font-size: 44px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.verdictcard.off .word { color: var(--color-off); } .verdictcard.on .word { color: var(--color-on); } .verdictcard.close .word { color: var(--color-close); }
.verdictcard .sub { margin: var(--space-sm) 0 0; font-size: var(--text-md); }
.verdictcard .why { margin: var(--space-sm) 0 0; color: var(--color-ink-2); font-size: var(--text-sm); }
.verdict { display: grid; gap: var(--space-xs); }
.verdict .word { font-size: 30px; font-weight: 600; letter-spacing: -0.04em; }
.verdict .detail { display: grid; gap: var(--space-2xs); color: var(--color-muted); font-size: var(--text-sm); }
.mbar { position: relative; height: 24px; margin: var(--space-md) 0 var(--space-lg); border: 1px solid var(--color-rule); }
.mbar .zero { position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: var(--color-var); }
.mbar .band { position: absolute; top: 8px; height: 8px; background: var(--color-rule-2); }
.mbar .mark { position: absolute; top: 3px; width: 2px; height: 16px; margin-left: -1px; background: var(--color-ink); }
.mbar .l, .mbar .r { position: absolute; bottom: -20px; font-size: var(--text-xs); color: var(--color-muted); }
.mbar .l { left: 0; } .mbar .r { right: 0; }
.moregrid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-md); padding-bottom: var(--space-lg); }
@media (max-width: 860px) { .moregrid { grid-template-columns: minmax(0, 1fr); } }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--color-rule); border-left: 1px solid var(--color-rule); }
.tile { display: grid; gap: var(--space-3xs); padding: var(--space-md); border: 0; border-right: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); background: transparent; }
.tile .k { font-size: var(--text-xs); color: var(--color-muted); }
.tile b { font-size: var(--text-xl); font-weight: 600; letter-spacing: -0.03em; }
.tile .muted { font-size: var(--text-xs); }
.media { display: grid; gap: var(--space-sm); }
.media .frame { position: relative; overflow: hidden; background: var(--color-screen); }
.media .frame img { width: 100%; height: auto; }
.media .frame.pickable img { cursor: crosshair; }
.pickbox { position: absolute; border: 1px solid var(--color-accent); pointer-events: none; }
.pickbox::after { content: attr(data-label); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; background: var(--color-ink); color: var(--color-accent-ink); font: 500 var(--text-xs) var(--font-body); padding: var(--space-3xs) var(--space-xs); }
.fix { display: grid; gap: var(--space-xs); font-size: var(--text-xs); color: var(--color-muted); }
.assume b { font: 500 var(--text-xs) var(--font-body); color: var(--color-ink-2); }
.notes { margin: var(--space-xs) 0 0; padding-left: var(--space-md); color: var(--color-muted); font-size: var(--text-xs); }
.vote { display: flex; gap: var(--space-xs); align-items: center; flex-wrap: wrap; }
.vote .q { margin-right: var(--space-2xs); }
.vote .chip { border: 1px solid var(--color-rule-2); }
.vote input { flex: 1; min-width: 180px; font-size: var(--text-xs); }
.sharebox { display: flex; gap: var(--space-xs); align-items: center; min-width: 0; }
.share { flex: 1; min-width: 0; font: 400 var(--text-xs) var(--font-outlier); color: var(--color-ink-2); border: 1px solid var(--color-rule); padding: var(--space-xs) var(--space-sm); user-select: all; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
details.people { margin-top: var(--space-md); }
details.people > summary { cursor: pointer; color: var(--color-ink-2); font-size: var(--text-sm); padding: var(--space-xs) 0; }
details.people > summary:hover { color: var(--color-ink); }
details.people table, details.people .panel { margin-top: var(--space-sm); }
.swatch { display: inline-block; width: 10px; height: 10px; vertical-align: -1px; margin-right: var(--space-xs); border: 1px solid var(--color-rule-2); }
.row-att { background: var(--color-paper-3); } .row-def { background: var(--color-paper-2); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover .arr { transform: none; }
}
