/* modern.css — 2026-09 refresh layered over style.css.
 * Register borrowed from quaesitor.eu (same author): flat exhibit panels,
 * square corners, one grotesk for everything, mono only for what a machine
 * produced (data, labels, footnotes), and the asterisk rule — a strong claim
 * ends with * and a mono note on the page backs it. Palette stays the atlas's
 * own: token names navy / cream / oxblood, values now the A24 register below.
 */

:root {
  --font-display: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --paper: #ffffff;
  --topbar-h: 56px;
  --container: 1120px;
  --t-micro: 0.6875rem;
}

html { scroll-padding-top: calc(var(--topbar-h) + 12px); }
body { font-weight: 400; letter-spacing: 0; line-height: 1.55; }

/* ---- type ---- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.75rem); line-height: 1.05; }
h3 { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem); line-height: 1.15; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
em { font-style: italic; }

/* mono stays only for source lines, footnotes, the masthead credibility
   line, table numbers and code (task 12, mono discipline) */
th {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
/* everything else that reads as a "kicker" is sans small caps, not mono —
   metric shorthand and codes belong in chapter IV or a title tooltip, not
   in the typeface used to signal "a machine produced this" */
.masthead-kicker, .hero-kicker, .role-kicker, .cluster-tactical-label,
.cycle-section-label, .analog-label, .roadmap-label, .llm-brief-heading,
.toc-sticky .toc-heading, .cluster-meta-inline, .masthead-meta dt,
.cycle-stats dt, .video-poc-metrics dt, .analog-cohort, .cycle-cluster-tag,
.analog-traj-label, .cycle-traj-dir, .toc-mobile summary, .tile-club, .tile-pos {
  font-family: var(--font-sans);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-kicker { color: var(--cream-on-navy-muted); }
.cluster-tactical-label, .cycle-section-label, .llm-brief-heading, .analog-label, .roadmap-label { color: var(--navy-700); }
.masthead-kicker::before, .hero-kicker::before { display: none; }
.masthead-kicker, .hero-kicker { padding-left: 0; }

/* human-written small labels stay sentence case */
h4, .movers-col h4 { text-transform: none; letter-spacing: -0.01em; font-family: var(--font-display); font-size: 1rem; color: var(--ink); }

/* observations are not a sequence */
.observation::before { content: none; }

/* links */
a { border-bottom: none; text-decoration: none; color: var(--navy-700); }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

/* ---- square everything (bust-style circles only for people) ---- */
.hero, .hero-stamp, .chapter-divider, .capita, .capita-bar, .capita-bar-fill, table, .observation,
.cluster-tactical, .llm-brief, .analog-target, .analog-list, .analog-rank,
.cycle-card, .cycle-stats, .cycle-traj-delta, .video-poc, .video-poc img,
.video-poc-metrics, .roadmap-mockup, .limitations, .toc-sticky, .toc-mobile, .toc-toggle, footer .role-block,
.cycle-analog-country, .analog-row-country, figure.figure-bleed img, .lang-switch, .lang-switch a, .lang-switch span,
.atlas-switch, .atlas-switch a, .atlas-switch span,
.pchip, .cast, .topbar-links a { border-radius: 0 !important; }

/* =========================================================================
   Top bar — flat, ruled
   ========================================================================= */
.topbar {
  position: sticky; top: 0; z-index: 80;
  display: flex; align-items: center; gap: var(--space-4);
  height: var(--topbar-h);
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: var(--cream-50);
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-sans);
}
.topbar a { text-decoration: none; }
.topbar-brand { font-weight: 700; letter-spacing: -0.01em; color: var(--ink); font-size: 1.05rem; white-space: nowrap; }
.topbar-brand span { color: var(--ink); }
.topbar-links { display: none; gap: 0.25rem; margin-left: var(--space-2); }
.topbar-links a { color: var(--ink-soft); font-size: 0.9rem; font-weight: 500; padding: 0.35rem 0.7rem; }
.topbar-links a:hover { background: var(--ink); color: var(--cream-50); text-decoration: none; }
@media (min-width: 720px) { .topbar-links { display: flex; } }
.atlas-switch, .lang-switch {
  display: inline-flex;
  border: 1px solid var(--ink);
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em;
}
.atlas-switch { margin-left: auto; }
.lang-switch { margin-left: 0.4rem; }
.atlas-switch a, .atlas-switch span, .lang-switch a, .lang-switch span { padding: 0.4rem 0.75rem; color: var(--ink); line-height: 1; }
.atlas-switch span[aria-current], .lang-switch span[aria-current] { background: var(--ink); color: var(--cream-50); }
.atlas-switch a:hover, .lang-switch a:hover { background: var(--cream-200); text-decoration: none; }

/* =========================================================================
   Masthead
   ========================================================================= */
.report-header { padding-top: var(--space-6); border-bottom: 1px solid var(--rule); }
.report-header h1 {
  font-size: clamp(2.6rem, 1.6rem + 4.5vw, 5.4rem);
  line-height: 0.98; letter-spacing: -0.035em; font-weight: 700; max-width: 14ch;
}
.report-header h1 em { font-style: normal; color: var(--navy-700); font-weight: 400; }
.masthead-subtitle { font-family: var(--font-sans); font-style: normal; font-size: 1.15rem; line-height: 1.5; color: var(--ink-soft); max-width: 46ch; }
.masthead-meta { border-top: 1px solid var(--rule); padding-top: var(--space-3); }
.masthead-meta strong { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }

.cast {
  display: inline-flex; align-items: center; gap: var(--space-3);
  margin-top: var(--space-4); padding: 0.45rem 1rem 0.45rem 0.5rem;
  background: var(--paper); border: 1px solid var(--rule);
  text-decoration: none; color: var(--ink-soft); font-size: 0.88rem; font-weight: 500;
  transition: transform 0.2s, border-color 0.2s;
}
.cast:hover { transform: translateY(-2px); border-color: var(--ink); text-decoration: none; }
.cast-stack { display: inline-flex; }
.cast-stack img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 12%;
  background: var(--navy-100); border: 2px solid var(--paper); margin-left: -12px;
}
.cast-stack img:first-child { margin-left: 0; }

/* =========================================================================
   Hero — the exhibit: number left, posterised player cut-out bleeding right
   ========================================================================= */
.hero { position: relative; overflow: hidden; }
.hero-num-figure { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.05em; font-size: clamp(4.5rem, 8.5vw, 9.5rem); }
.hero-num-figure .ast { color: var(--oxblood-700); font-size: 0.55em; vertical-align: super; margin-left: 0.05em; }
.hero-lead p { font-family: var(--font-sans); font-size: 1.3rem; line-height: 1.35; font-weight: 400; letter-spacing: -0.01em; }
.hero-pull { color: var(--ink); font-weight: 700; }
.hero-footnote {
  margin: var(--space-3) 0 0; max-width: 60ch;
  font-family: var(--font-mono); font-size: 0.72rem; line-height: 1.6; color: var(--cream-on-navy-muted);
}
.hero-footnote a { color: inherit; text-decoration: underline; text-underline-offset: 0.18em; }
.hero-cutout {
  position: absolute; right: 0; bottom: 0; z-index: 0;
  height: min(60%, 360px);
  filter: grayscale(1) contrast(1.55) brightness(0.95);
  opacity: 0.9;
  mix-blend-mode: luminosity;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.hero > .container { position: relative; z-index: 1; }
@media (max-width: 1100px) { .hero-cutout { height: 40%; opacity: 0.45; } }
.hero-stamp { border: 1px solid var(--navy-divider); background: var(--navy-900); }

/* =========================================================================
   Sections & chapters
   ========================================================================= */
section { border-bottom: 1px solid var(--rule); }
.framing { font-family: var(--font-sans); font-style: normal; font-size: 1.25rem; line-height: 1.45; color: var(--ink-soft); max-width: 46ch; }
.chapter-divider { background: var(--page-bg); border-top: 1px solid var(--ink); }
.chapter-numeral { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.16em; font-size: 0.8rem; color: var(--muted); }
.chapter-title { font-weight: 700; letter-spacing: -0.03em; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
.chapter-synopsis { font-family: var(--font-mono); font-style: normal; font-size: 0.78rem; line-height: 1.6; color: var(--muted); max-width: 56ch; }
.continue { font-style: normal; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted); }

/* =========================================================================
   Exhibit panels — flat paper, 1px rule, mono label
   ========================================================================= */
.capita, .observation, .llm-brief, .analog-target, .cycle-card, .video-poc, .roadmap-mockup, .limitations, .cluster-tactical, .toc-mobile {
  background: var(--paper); border: 1px solid var(--rule); box-shadow: none;
}
.capita { padding: var(--space-3) var(--space-4); }
.capita-bar-fill { transform-origin: left; transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1); }
.capita[data-animate] .capita-bar-fill { transform: scaleX(0); }
.capita[data-animate="in"] .capita-bar-fill { transform: scaleX(1); }
.capita-value { font-family: var(--font-mono); font-weight: 500; }
.capita-country .capita-code { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: 0.1em; }

table { border: 1px solid var(--rule); background: var(--paper); }
th { border-bottom: 1px solid var(--ink); }
.cohort-table td.cohort-cze { background: color-mix(in oklch, var(--oxblood-200), transparent 45%); }

figure.figure-bleed img { border: 1px solid var(--rule); background: var(--paper); padding: 0.5rem; }
figcaption { font-family: var(--font-mono); font-style: normal; font-size: 0.72rem; line-height: 1.6; color: var(--muted); }

.observations { gap: var(--space-4); }
.observation { padding: var(--space-4); border-top: 3px solid var(--navy-700); }
.observation:nth-child(2) { border-top-color: var(--ink); }
.observation:nth-child(3) { border-top-color: var(--navy-300); }

.cluster-tactical { font-style: normal; font-family: var(--font-sans); padding: var(--space-3) 0; border-top: 1px solid var(--rule); }

/* =========================================================================
   Player chips & avatars — the bust rule: people are circles
   ========================================================================= */
.pchip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.2rem 0.7rem 0.2rem 0.2rem; margin: 0.2rem 0.35rem 0.2rem 0;
  background: var(--paper); border: 1px solid var(--rule);
  font-family: var(--font-sans); font-size: 0.86rem; font-weight: 500; color: var(--ink); line-height: 1; vertical-align: middle;
}
.pchip-img, .pchip-initials { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.pchip-img { object-fit: cover; object-position: 50% 12%; background: var(--navy-100); }
.pchip-initials { display: none; place-items: center; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500; color: var(--navy-700); background: var(--navy-100); }
.pchip-mono .pchip-initials { display: grid; }
.pchip-sm { font-size: 0.82rem; padding-right: 0.55rem; border: 0; background: transparent; margin: 0; }
.pchip-sm .pchip-img, .pchip-sm .pchip-initials { width: 26px; height: 26px; }
.cluster-top { display: block; line-height: 1.2; }
.cluster-top::before { display: inline-block; margin-right: 0.4rem; vertical-align: middle; font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.avatar { border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: var(--navy-100); flex: none; }
.avatar-lg { width: 64px; height: 64px; }
.avatar-xl { width: 88px; height: 88px; }

/* LLM briefs */
.llm-brief { padding: var(--space-4); }
.llm-brief-head { display: flex; align-items: center; gap: var(--space-3); border-bottom: 1px solid var(--rule); padding-bottom: var(--space-3); margin-bottom: var(--space-2); }
.llm-brief-title { margin: 0; font-size: 1.35rem; letter-spacing: -0.02em; }
.llm-brief-meta-line { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted); margin: 0.15rem 0 0; }

/* analogs */
.analog-target { padding: var(--space-4); }
/* the grid tracks must shrink below the min-content of the analog rows on phones */
.analog-block { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 880px) { .analog-block { grid-template-columns: 220px minmax(0, 1fr); } }
.analog-block > * { min-width: 0; }
.analog-target .avatar { margin-bottom: var(--space-2); }
.analog-name { font-size: 1.4rem; letter-spacing: -0.02em; }
.analog-stats { font-family: var(--font-mono); font-size: 0.74rem; }

/* =========================================================================
   Cycle cards — the one loud element: photo header, then a flat data sheet
   ========================================================================= */
.cycle-grid { gap: var(--space-4); }
.cycle-card { position: relative; padding: 0; overflow: hidden; transition: transform 0.2s; }
.cycle-card:hover { transform: translateY(-2px); }
.cycle-card > :not(.cycle-card-visual):not(.cycle-tile) { margin-left: var(--space-4); margin-right: var(--space-4); }
.cycle-card > .cycle-section:last-child { margin-bottom: var(--space-4); }
/* .gk-card-visual (task 24): same header treatment as the outfield cards'
   .cycle-card-visual, kept as its own class since it sits inside .gk-card,
   not .cycle-card -- see site/enrich_index.py's gk_card_repl comment. */
.cycle-card-visual, .gk-card-visual {
  position: relative; height: 190px; isolation: isolate;
  background: var(--surface);
}
.cycle-card-visual::before, .gk-card-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--hero); background-size: cover; background-position: 50% 30%;
  filter: grayscale(1) contrast(1.15) brightness(0.85) blur(6px);
  transform: scale(1.08);
  mix-blend-mode: luminosity; opacity: 0.28;
}
.cycle-card-visual::after, .gk-card-visual::after { content: ""; position: absolute; inset: 0; }
.cycle-card-mug { position: absolute; right: 12px; bottom: 0; height: 178px; z-index: 2; }
.cycle-card-jersey {
  position: absolute; left: 18px; bottom: -14px; z-index: 1;
  font-family: var(--font-display); font-weight: 700; font-size: 7rem; line-height: 1; letter-spacing: -0.06em;
  color: rgba(0, 0, 0, 0.07); pointer-events: none;
}
.cycle-card-team {
  position: absolute; top: 14px; left: 18px; z-index: 2;
  font-family: var(--font-mono); font-size: var(--t-micro); font-weight: 500; letter-spacing: 0.16em;
  color: var(--cream-50); background: var(--ink); padding: 0.25rem 0.55rem;
}
.cycle-card-head { margin-top: var(--space-4); }
.cycle-card-name { font-size: 1.5rem; letter-spacing: -0.025em; }
.cycle-card-meta { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted); }
.cycle-stats { background: var(--cream-100); padding: var(--space-2) var(--space-3); border: 1px solid var(--rule); }
.cycle-stats dd { font-family: var(--font-mono); font-weight: 500; }
.cycle-brief-excerpt { font-style: normal; color: var(--ink-soft); }

/* video / roadmap / limitations */
.video-poc { padding: var(--space-4); }
.roadmap-mockup { padding: var(--space-4); }
.roadmap-caption { font-style: normal; }
.limitations { padding: var(--space-4) var(--space-5); }

/* =========================================================================
   TOC rail
   ========================================================================= */
@media (min-width: 1280px) {
  .toc-sticky {
    top: calc(var(--topbar-h) + 1.25rem); right: 1.25rem; width: 200px;
    background: var(--paper); border: 0; border-left: 1px solid var(--rule); box-shadow: none;
    max-height: calc(100vh - var(--topbar-h) - 3rem);
  }
  :root { --container: min(1120px, calc(100vw - 2 * (200px + 3rem))); }
  .toc-sticky li > a { text-decoration: none; padding: 0.15rem 0.4rem; margin-left: -0.4rem; }
  .toc-sticky li > a[aria-current="true"] { background: var(--ink); color: var(--cream-50); }
  .toc-sticky li > a:hover { background: var(--cream-200); text-decoration: none; }
}
.toc-mobile { padding: var(--space-2) var(--space-3); }

/* footer */
.role-author-name { font-family: var(--font-display); font-weight: 700; }
.rendered-at { font-family: var(--font-mono); font-size: 0.72rem; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .capita[data-animate] .capita-bar-fill { transform: none; }
  .cycle-card:hover, .cast:hover { transform: none; }
}

/* hero layout: text keeps the left 60 %, the cut-out owns the right */
@media (min-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-6); padding-right: 260px; }
  .hero-lead p { font-size: 1.25rem; max-width: 30ch; }
  .hero-cutout { height: min(64%, 380px); right: calc((100vw - var(--container)) / 2 - 1rem); }
}

/* formulas: KaTeX display, mono fallback until it renders */
.formula { font-family: var(--font-mono); font-size: 0.85rem; background: var(--paper); border: 1px solid var(--rule); padding: var(--space-3) var(--space-4); max-width: none; overflow-x: auto; }
.formula.formula-tex { font-family: KaTeX_Main, "Times New Roman", serif; font-size: 1.05rem; }
.formula .katex-display { margin: 0; }

/* =========================================================================
   Interactive atlases (atlas.js)
   ========================================================================= */
.atlas-wrap { position: relative; border: 1px solid var(--rule); background: var(--paper); padding: 0.5rem; }
.atlas-svg { display: block; width: 100%; height: auto; }
.atlas-pt { cursor: crosshair; transition: opacity 0.25s; }
.atlas-hl { stroke: var(--oxblood-700); pointer-events: none; }
.atlas-name { cursor: default; }
.atlas-name-card { cursor: pointer; }
.atlas-name-card:hover path, .atlas-name-card:focus-visible path { fill: var(--ink); }
.atlas-name:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.atlas-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin: 0 0 0.6rem; }
.atlas-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.6rem; border: 1px solid var(--rule); background: var(--paper); color: var(--ink);
  font-family: var(--font-sans); font-size: 0.78rem; line-height: 1; cursor: pointer;
}
.atlas-chip b { font-family: var(--font-mono); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.08em; }
.atlas-chip small { font-family: var(--font-mono); font-size: 0.66rem; color: var(--muted); margin-left: 0.15rem; }
.atlas-chip i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.atlas-chip i.ring { background: none; border: 1.5px solid var(--oxblood-700); }
.atlas-chip[aria-pressed="false"] { color: var(--muted); border-style: dashed; }
.atlas-chip[aria-pressed="false"] i { opacity: 0.25; }
.atlas-chip:hover { border-color: var(--ink); }
.atlas-chip-reset { color: var(--muted); }
.atlas-hint { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.04em; color: var(--muted); margin-left: auto; }
.atlas-tip {
  position: absolute; z-index: 5; pointer-events: none;
  min-width: 150px; max-width: 260px; padding: 0.5rem 0.65rem;
  background: var(--navy-900); color: var(--cream-on-navy); border: 1px solid var(--navy-divider);
  font-family: var(--font-sans); font-size: 0.8rem; line-height: 1.4;
}
.atlas-tip strong { display: block; font-size: 0.95rem; letter-spacing: -0.01em; margin-bottom: 0.15rem; }
.atlas-tip span { display: flex; align-items: center; gap: 0.4rem; color: var(--cream-on-navy-soft); }
.atlas-tip span i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.atlas-tip .mono { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; }
.atlas-tip .ring-tag { color: #7FA6FF; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; }
.atlas-tip .tip-open { color: var(--cream-on-navy-soft); font-size: 0.72rem; margin-top: 0.2rem; }
.hm-cell { fill: transparent; stroke: none; cursor: crosshair; }
.hm-cell.on { stroke: var(--ink); stroke-width: 1.5; fill: rgba(0, 0, 0, 0.06); }
.hm-row { fill: rgba(0, 0, 0, 0.04); pointer-events: none; }
.cycle-card.flash { outline: 2px solid var(--ink); outline-offset: 3px; }

/* figures: no bleed under the TOC rail; captions get a readable measure */
@media (min-width: 1280px) {
  .figure-bleed { margin-left: clamp(-3rem, calc(-1 * (100vw - var(--container)) / 2 + 200px + 3rem), 0px); margin-right: clamp(-3rem, calc(-1 * (100vw - var(--container)) / 2 + 200px + 3rem), 0px); }
  .figure-bleed figcaption { padding-left: 0; padding-right: 0; }
}
.figure-bleed figcaption { max-width: 70ch; }
.atlas-tip strong { color: var(--cream-on-navy); }

/* wide data tables scroll inside their own box on narrow screens */
@media (max-width: 760px) {
  .loadings-table, .sensitivity-table, .cohort-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .atlas-hint { display: none; }
}
.formula .katex-display { overflow-x: auto; overflow-y: hidden; padding: 0.25rem 0; }

/* figure-bleed below the rail breakpoint: the original calc turns positive on
   narrow viewports and collapses the figure — keep it flush with the column */
@media (max-width: 1279px) {
  .figure-bleed { margin-left: 0; margin-right: 0; }
  .figure-bleed figcaption { padding-left: 0; padding-right: 0; }
}

/* formatting pass 2026-09-12 */
/* chapter bands go full-bleed; text stays centred in a measure */
.chapter-divider { max-width: none; margin: 0; padding: var(--space-7) max(1.4rem, 4vw) var(--space-6); }
.chapter-title { color: var(--ink); max-width: 22ch; margin: 0 auto; }
.chapter-mark { background: var(--ink); }
/* movers: names and headers on one line, league codes as codes */
.movers-table { width: 100%; }
.movers-table th, .movers-table .pchip-name { white-space: nowrap; }
.movers-table td:nth-child(2) { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.movers-table td:nth-child(3) { font-family: var(--font-mono); font-size: 0.78rem; white-space: nowrap; }
/* notes under exhibits: one consistent small size */
.capita-note, .muted.small { font-size: 0.88rem; line-height: 1.5; max-width: 64ch; }
.kv-table td:first-child, .sensitivity-table td:first-child { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* folds: progressive disclosure — text stays, screen gets lighter */
details.fold { border-top: 1px solid var(--rule); margin-top: var(--space-3); }
details.fold > summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 0; font-family: var(--font-mono); font-size: var(--t-micro); font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy-700);
}
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::before { content: "+"; display: inline-grid; place-items: center; width: 1.1rem; height: 1.1rem; border: 1px solid currentColor; font-size: 0.8rem; line-height: 1; }
details.fold[open] > summary::before { content: "−"; }
details.fold > summary:hover { color: var(--ink); }
details.fold > :not(summary) { animation: fold-in 0.25s ease-out; }
@keyframes fold-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
details.fold-lim { margin-top: 0; }
details.fold-lim:first-child { border-top: 0; }
details.fold-lim > summary { font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; text-transform: none; color: var(--ink); padding: 0.85rem 0; }
details.fold-lim > p { margin: 0 0 var(--space-3) 1.7rem; max-width: 62ch; }
.cycle-card details.cycle-section { margin-top: var(--space-3); }
.cycle-card details.cycle-section > summary.cycle-section-label { padding: 0.6rem 0; margin: 0; }
.video-poc details.fold .roadmap-caption { margin: 0 0 var(--space-3); max-width: 70ch; }
/* clusters: description and tactical read side by side */
@media (min-width: 900px) {
  .cluster-list dd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: var(--space-5); align-items: start; }
  .cluster-list dd .cluster-tactical { margin-top: 0; }
  .cluster-list dd .cluster-top { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { details.fold > :not(summary) { animation: none; } }

/* =========================================================================
   UX pass 2026-09-12 (b): numbers over prose, folds, mobile
   ========================================================================= */
.fold-hero { border-top-color: var(--navy-divider); }
.fold-hero > summary { color: var(--cream-on-navy-muted); }
.fold-hero > summary:hover { color: var(--cream-on-navy); }
.fold-hero .hero-sublead { margin-top: 0.2rem; }

/* clusters as accordion */
.cluster-list { border-top: 1px solid var(--rule); }
details.cluster { border-bottom: 1px solid var(--rule); }
details.cluster > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-3); row-gap: var(--space-2); align-items: start; padding: var(--space-3) 0; }
details.cluster > summary::after { content: "+"; grid-column: 2; grid-row: 1; font-family: var(--font-mono); font-size: 1rem; line-height: 1.4; color: var(--muted); width: 1.4rem; height: 1.4rem; border: 1px solid var(--rule); display: grid; place-items: center; }
details.cluster[open] > summary::after { content: "−"; }
/* the cluster code (e.g. "C3") lives in .cluster-name's title tooltip, not as
   visible text — abbreviations stay out of sight before chapter IV */
details.cluster > summary::-webkit-details-marker { display: none; }
/* Method's rail entry (Task 25e): same +/- disclosure glyph as .fold, sat
   after the link rather than the grid layout .cluster uses. */
.toc-sticky details.toc-method > summary::after { content: " +"; color: var(--muted); font-family: var(--font-mono); }
.toc-sticky details.toc-method[open] > summary::after { content: " −"; }
details.cluster > summary .cluster-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
details.cluster > summary .cluster-meta-inline { display: block; margin-top: 0.15rem; }
details.cluster > summary .cluster-top { grid-column: 1 / -1; margin: 0; }
details.cluster > summary:hover .cluster-name { color: var(--ink); }
.cluster-body { padding: 0 0 var(--space-4); }
@media (min-width: 900px) {
  .cluster-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: var(--space-5); align-items: start; }
  .cluster-body .cluster-tactical { margin-top: 0; }
}
.cluster-list dd { display: block; }  /* old rule no longer applies */

/* read-more clamp */
p.clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; margin-bottom: 0.3rem; }
p.clamp.clamp-open { display: block; -webkit-line-clamp: unset; }
.clamp-btn { border: 0; background: none; padding: 0; margin: 0 0 var(--space-3); cursor: pointer; font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy-700); }
.clamp-btn::before { content: "+ "; }
.clamp-btn[aria-expanded="true"]::before { content: "− "; }
.clamp-btn:hover { color: var(--ink); }

/* contents button + panel on narrow screens */
.toc-btn { display: none; margin-left: auto; border: 1px solid var(--ink); background: none; padding: 0.4rem 0.7rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; color: var(--ink); }
.toc-btn[aria-expanded="true"] { background: var(--ink); color: var(--cream-50); }
@media (max-width: 1279px) {
  .toc-btn { display: inline-block; }
  .atlas-switch { margin-left: 0; }
  .lang-switch { margin-left: 0.4rem; }
  body.toc-open .toc-sticky { display: block; position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 70; max-height: calc(100vh - var(--topbar-h)); overflow: auto; padding: var(--space-3) clamp(1rem, 3vw, 2rem) var(--space-4); background: var(--cream-50); border-bottom: 1px solid var(--ink); font-family: var(--font-sans); font-size: 0.95rem; line-height: 1.6; }
  body.toc-open .toc-sticky .toc-toggle { display: none; }
  body.toc-open .toc-sticky ol { list-style: none; padding: 0; margin: 0; }
  body.toc-open .toc-sticky ol ol { margin: 0.1rem 0 0.7rem 1rem; }
  body.toc-open .toc-sticky li > a { text-decoration: none; color: var(--ink); display: block; padding: 0.15rem 0; }
  body.toc-open .toc-sticky > ol > li > a,
  body.toc-open .toc-sticky > ol > li > details.toc-method > summary > a { font-weight: 700; }
  body.toc-open .toc-sticky details.toc-method > summary { padding: 0.15rem 0; }
  body.toc-open .toc-sticky li > a[aria-current="true"] { color: var(--ink); }
}

/* mobile layout */
@media (max-width: 719px) {
  .topbar { gap: var(--space-2); padding: 0 1rem; }
  .topbar-brand { font-size: 0.95rem; }
  .atlas-switch { display: none; }  /* keep the phone top bar to brand + contents + EN/CS */
  .masthead-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
  .masthead-meta strong { font-size: 1.15rem; }
  .masthead-meta dt { font-size: 0.6rem; letter-spacing: 0.1em; }
  .hero { padding-top: var(--space-6); }
  .hero-cutout { display: none; }
  .hero-stamp { display: none; }
  .capita-value { white-space: nowrap; }  /* "13,2 %" must not wrap in the exhibit rows */
  .capita-country { min-width: 0; overflow-wrap: anywhere; }  /* raw league keys shrink instead of pushing the value */
  .cast { width: 100%; flex-wrap: wrap; }
  .cast-stack > :nth-child(n+7) { display: none; }  /* twelve portraits do not fit a phone row */
  .cast-caption { font-size: 0; }
  .cast-caption::after { content: attr(data-short); font-size: 0.85rem; }
  .cycle-card-visual, .gk-card-visual { height: 150px; }
  .cycle-card-mug { height: 140px; }
  .cycle-card-jersey { font-size: 5rem; }
  .observations { grid-template-columns: 1fr; }
  .analog-target { padding: var(--space-3); }
  .analog-target .avatar { width: 56px; height: 56px; }
  section { padding-top: var(--space-5); padding-bottom: var(--space-4); }
  .chapter-divider { padding: var(--space-6) 1rem var(--space-5); }
  h2 { font-size: 1.9rem; }
  .report-header h1 { font-size: 2.8rem; }
}

/* mobile: scrolling tables, tighter clamp (cards are compact tiles now, no carousel needed) */
@media (max-width: 719px) {
  .movers-table { display: block; overflow-x: auto; }
  .movers-table .pchip-name { white-space: normal; }
  p.clamp { -webkit-line-clamp: 3; }
  .llm-briefs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--space-3); margin-left: -1rem; margin-right: -1rem; padding: 0 1rem var(--space-3); }
  .llm-brief { flex: 0 0 86vw; scroll-snap-align: start; }
}
.fold-table > summary { padding: 0.6rem 0; }
.fold-table table { margin-top: 0.5rem; }
@media (max-width: 719px) { .movers-grid { grid-template-columns: minmax(0, 1fr); } }
/* two columns must not grow past the container: min-content of the nowrap league / minutes cells */
@media (min-width: 760px) { .movers-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.movers-col { min-width: 0; }
.movers-col .movers-table { display: block; overflow-x: auto; }
.movers-table td:nth-child(2) { white-space: nowrap; }
@media (max-width: 719px) {
  .analog-row-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.5rem; }
  .analog-row-context { flex-basis: 100%; white-space: normal; }
  .analog-list { grid-template-columns: minmax(0, 1fr); }
  .analog-row-trajectory { display: flex; flex-wrap: wrap; gap: 0.15rem 0.8rem; }
}
/* =========================================================================
   Football atlas 2026-09: card kickers, position glyph, monogram cards,
   cast strip with monograms, exhibit E examples, player index
   ========================================================================= */
/* card rows: one mono kicker per selection rule */
.cycle-row-kicker {
  font-family: var(--font-sans); font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink); margin: var(--space-5) 0 var(--space-2);
  padding-top: var(--space-3); border-top: 1px solid var(--rule);
}
.cycle-row-kicker:first-of-type { margin-top: var(--space-3); }
.cycle-stats-head { margin-top: var(--space-3); margin-bottom: 0.3rem; }
/* position code as the ghosted glyph (no jersey numbers in the data) */
.cycle-card-pos {
  position: absolute; left: 18px; bottom: -14px; z-index: 1;
  font-family: var(--font-display); font-weight: 700; font-size: 7rem; line-height: 1; letter-spacing: -0.06em;
  color: rgba(0, 0, 0, 0.07); pointer-events: none;
}
/* portraits are rectangular JPGs: keep them inside the header, fade the edges */
.cycle-card-mug {
  height: 100%; max-height: 190px; width: auto; object-fit: cover; object-position: 50% 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
}
/* cards without a portrait: monogram in the same header */
.cycle-card-monogram {
  position: absolute; right: 18px; bottom: 18px; z-index: 2;
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 1.6rem; font-weight: 500; letter-spacing: 0.08em;
  color: var(--ink); background: var(--cream-50); border: 1px solid var(--rule);
}
.cycle-card-visual-mono::before, .gk-card-visual-mono::before { display: none; }
/* cast strip: monogram discs for players without a portrait */
.cast-stack .cast-mono {
  width: 40px; height: 40px; border-radius: 50%; margin-left: -12px; flex: none;
  display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500;
  color: var(--cream-50); background: var(--navy-700); border: 2px solid var(--paper);
}
.cast-stack .cast-mono:first-child { margin-left: 0; }
/* hero cut-out is a photo, not a transparent PNG: fade top and left edges */
.hero-cutout {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%), linear-gradient(180deg, transparent 0%, #000 30%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%), linear-gradient(180deg, transparent 0%, #000 30%);
  mask-composite: intersect;
  filter: grayscale(1) contrast(1.4) brightness(0.9);
  opacity: 0.55;
}
/* exhibit E: example names per bucket */
.dest-examples { list-style: none; padding: 0; margin: var(--space-2) 0 0; display: grid; gap: 0.25rem; }
.dest-examples li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; }
.dest-examples code { font-size: 0.78rem; background: none; padding: 0; }
.kv-table { width: 100%; }
@media (max-width: 719px) { .kv-table { display: block; overflow-x: auto; } }
/* player index */
.player-index { padding-top: var(--space-6); padding-bottom: var(--space-6); border-top: 1px solid var(--rule); }
.player-index-tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin: var(--space-3) 0 var(--space-2); }
.player-index-tools label { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.player-index-tools input[type="search"] {
  flex: 1 1 16rem; max-width: 26rem; border: 1px solid var(--ink); background: var(--paper); border-radius: 0;
  padding: 0.5rem 0.7rem; font-family: var(--font-sans); font-size: 1rem; color: var(--ink); -webkit-appearance: none;
}
.player-index-tools input[type="search"]:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.player-index-count { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
.player-index-count::after { content: " ▸"; }
.player-index-table { width: 100%; font-size: 0.9rem; }
.player-index-table th, .player-index-table td { padding: 0.4rem 0.6rem; vertical-align: baseline; }
.player-index-table td:nth-child(2), .player-index-table td:nth-child(5) { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.player-index-table td:nth-child(3), .player-index-table td:nth-child(6), .player-index-table td:nth-child(7) { font-family: var(--font-mono); font-size: 0.8rem; text-align: right; white-space: nowrap; }
.player-index-table th:nth-child(3), .player-index-table th:nth-child(6), .player-index-table th:nth-child(7) { text-align: right; }
.player-index-table td:nth-child(9) { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oxblood-700); }
.player-index-table tr[hidden] { display: none; }
.player-index-table a { color: var(--ink); border-bottom: 1px solid var(--rule); }
.player-index-table a:hover { color: var(--ink); text-decoration: none; border-bottom-color: currentColor; }
@media (max-width: 719px) {
  .player-index-fold { display: block; }
  .player-index-fold > table { display: block; overflow-x: auto; }
  .player-index-table td:nth-child(8) { white-space: nowrap; }
}

/* =========================================================================
   Task 10 de-clutter: cards as a roster of compact tiles, expanded on
   demand; chapter ledes clamped to a fast-scan two lines.
   ========================================================================= */
/* the roster: 3-up desktop, 2-up tablet, 1-up phone; an open card takes the
   full row so the expanded body has room */
.cycle-grid { grid-template-columns: 1fr; }
@media (min-width: 620px) { .cycle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cycle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cycle-card.is-open { grid-column: 1 / -1; }

/* collapsed by default: only the tile shows until its button opens the card;
   each child's open display matches its own layout (grid/flex/block) rather
   than a blanket "block", so the stats grid and cluster rows keep working */
.cycle-card > :not(.cycle-tile) { display: none; }
.cycle-card.is-open > .cycle-card-visual,
.cycle-card.is-open > .cycle-card-head,
.cycle-card.is-open > p { display: block; }
.cycle-card.is-open > .cycle-stats,
.cycle-card.is-open > .cycle-cluster { display: grid; }
.cycle-card.is-open > .cycle-section { display: flex; }
.cycle-card.is-open > details.cycle-section { display: block; }

/* every child gets an explicit cell — grid auto-placement would otherwise
   pack a text row into the button's column instead of under the name. The
   button sits on its own full-width row rather than a third column, so the
   name/club/numbers column keeps the full card width to work with (a real
   club name like "Wolverhampton Wanderers" needs it). */
.cycle-tile {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: auto auto auto auto;
  column-gap: var(--space-3);
  row-gap: 0.25rem;
  padding: var(--space-3);
}
.tile-mug, .tile-mono {
  grid-column: 1;
  grid-row: 1 / 4;
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  object-fit: cover; object-position: 50% 12%; background: var(--navy-100);
}
.tile-mono { display: grid; place-items: center; font-family: var(--font-mono); font-size: 1rem; font-weight: 500; color: var(--navy-700); }
.tile-name { grid-column: 2; grid-row: 1; align-self: center; display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.015em; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* meta (club + position) stays one line: the club chip shrinks and truncates
   rather than wrapping its own text, so it never grows the row's height */
.tile-meta { grid-column: 2; grid-row: 2; display: flex; flex-wrap: nowrap; align-items: baseline; gap: 0.4rem; min-width: 0; }
.tile-numbers { grid-column: 2; grid-row: 3; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem; min-width: 0; }
.tile-club {
  flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background: var(--cream-100); border: 1px solid var(--rule); padding: 0.1rem 0.4rem;
}
.tile-pos { flex: none; }
/* stat: the number in the figure style, the unit as a plain (not mono) small
   label with the long form in its title tooltip — no "NPG+A/90 Q" shorthand
   on the roster before chapter IV */
.tile-stat { display: inline-flex; align-items: baseline; gap: 0.3rem; }
.tile-stat-figure {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  letter-spacing: -0.01em; color: var(--navy-700); font-feature-settings: "tnum", "lnum";
}
.tile-stat-label { font-family: var(--font-sans); font-size: 0.74rem; font-weight: 400; color: var(--ink-soft); text-transform: none; letter-spacing: 0; }
.tile-traj { font-family: var(--font-sans); font-size: 0.8rem; color: var(--ink-soft); text-transform: none; letter-spacing: 0; }
.tile-traj-none { color: var(--muted); }
.tile-actions { grid-column: 2; grid-row: 4; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.15rem; }
.tile-career { text-decoration: none; }
.tile-more {
  justify-self: start; margin-top: 0.15rem;
  border: 1px solid var(--ink); background: none; padding: 0.35rem 0.7rem;
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); cursor: pointer; white-space: nowrap;
}
.tile-more:hover { background: var(--ink); color: var(--cream-50); }
.cycle-card.is-open .tile-more:not(.tile-career) { background: var(--ink); color: var(--cream-50); }
@media (max-width: 480px) {
  .cycle-tile { grid-template-columns: 44px minmax(0, 1fr); }
  .tile-mug, .tile-mono { width: 44px; height: 44px; }
}

/* chapter ledes: two-line preview with the existing More/Less clamp control */
.framing.lede { margin-bottom: 0; }
.framing.lede.clamp { -webkit-line-clamp: 2; }

/* =========================================================================
   A24 register (2026-09-29) — the author's own system from bsandova.com,
   applied to the atlas. Loaded last, so it wins the cascade.
     paper    #ffffff, hairlines #d9d9d5 / #ececea, black 1px rules for the
              major dividers
     text     #111111 ink ("hot" is ink now), #666666 grey
     held     #1F5FD6 — the jersey blue held in the hero photograph; the
              home nation, and nothing else. Comparison countries are ink
              and #8a8a8a; categorical colours only past two categories.
     type     Inter Tight 400/500 for everything; JetBrains Mono only for
              small labels, source lines and tables
   The token names --hot / --acid are kept so charts.js, atlas.app.js and
   nations.app.js read the same custom properties as before.
   ========================================================================= */
:root { --container: min(1200px, calc(100vw - 4rem)); --measure: 100%; --measure-wide: 100%; --hot: #111111; --acid: #1F5FD6; --grey: #8a8a8a; }
html { font-size: 16px; }
body { background: var(--page-bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
@media (min-width: 1280px) and (max-width: 1599px) {
  .toc-sticky { display: none !important; }
  body.toc-open .toc-sticky { display: block !important; }
}
@media (min-width: 1600px) { :root { --container: min(1200px, calc(100vw - 2 * (200px + 3rem))); } }
/* a phone: a 16px gutter, not a 4rem one on top of the padding */
@media (max-width: 719px) {
  :root { --container: 100%; }
  .container { padding-left: 16px; padding-right: 16px; }
  /* a wide table scrolls inside its own box instead of running off the page */
  table:not(.ax-grid) { display: block; max-width: 100%; overflow-x: auto; }
  .katex-display { overflow-x: auto; overflow-y: hidden; }
  /* a long URL (photo credits, references) breaks instead of widening the page */
  p, li, dd, figcaption { overflow-wrap: break-word; }
}

/* --- type: one grotesk, solid ink; mono labels --- */
h1, h2, h3, .slide-q, .quickread-figure, .hero-num-figure, .changes-tier-n, .funnel-take-one-thing, .pool-card {
  font-family: var(--font-display);
}
h1, h2 { font-weight: 500; letter-spacing: -0.04em; color: var(--ink); }
h1 em { font-style: normal; font-weight: 500; color: var(--grey); }
.slide-q { font-weight: 500; font-size: clamp(2.2rem, 1.4rem + 2.8vw, 4rem); letter-spacing: -0.04em; line-height: 1; max-width: 24ch; color: var(--ink); }
.slide-a { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.8rem); line-height: 1.3; letter-spacing: -0.02em; max-width: none; color: var(--ink); }
.slide-a strong { font-weight: 400; color: var(--ink); border-bottom: 2px solid var(--acid); }
.quickread-figure { font-weight: 500; font-size: clamp(2.6rem, 2rem + 2.6vw, 4rem); letter-spacing: -0.04em; color: var(--ink); }
.hero-num-figure { font-weight: 500; font-size: clamp(5.5rem, 12vw, 13rem); letter-spacing: -0.06em; line-height: 0.86; color: var(--cream-on-navy); }
.hero-num-figure .ast { color: #7FA6FF; }
.hero-lead p { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.3; max-width: none; color: var(--cream-on-navy); }
h3 { font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
h4, .movers-col h4 { font-family: var(--font-sans); font-weight: 500; color: var(--ink); }
/* two weights, 400 and 500: nothing bolder, nothing lighter */
h1, h2, h3, h4, h5, h6, .chapter-title, .cluster-name, details.cluster > summary .cluster-name, .role-author-name,
details.fold-lim > summary, .masthead-meta strong, .llm-brief-title, .analog-name, .cycle-card-name, .tile-name { font-weight: 500; }
strong, b, li strong, .hero strong { font-weight: 500; }
h1, h2, h3 { font-weight: 500 !important; }   /* headings are never light, whatever section styles them */
.hero-pull { color: #7FA6FF; font-weight: 500; }
.chapter-title { font-family: var(--font-display); letter-spacing: -0.04em; }

/* mono capitals: every label, kicker, fold summary, table head */
.slide-aq-label, .slide-did-label, .slide-how-label, .act-kicker, .cycle-row-kicker,
.funnel-metric-label, .changes-tier-label, .pool-head, .masthead-subtitle, .quickread-note, .capita-code,
details.fold > summary, .slide-method > summary, .funnel-caveats > summary, .pool-fold > summary, .brief-body > summary,
.capita-note, .slide-how, .hero-num-unit, .hero-footnote, .quickread-line, .changes-tier-min, th, .pool-control, .pool-count,
.topbar-links a, .toc-sticky li > a, .toc-sticky .toc-heading, .lang-switch, .atlas-switch, .tile-club, .tile-pos, .print-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.8;
}
.slide-how-label, .cycle-row-kicker, .act-kicker { color: var(--ink); }
.quickread-line, .hero-num-unit, .changes-tier-label { color: var(--ink); text-transform: none; letter-spacing: 0.04em; font-size: 12px; max-width: 26ch; }
.quickread-line { max-width: 22ch; }
.slide-aq, .slide-did, .slide-detail, .slide-so { font-family: var(--font-sans); font-size: 0.95rem; text-transform: none; letter-spacing: 0; color: var(--ink-soft); }
.slide-so { font-style: normal; color: var(--muted); }
.masthead-subtitle { max-width: 40rem; }
details.fold > summary::before { content: "+"; width: auto; height: auto; border: 0; transform: none; margin-right: 0.6rem; color: var(--muted); }
details.fold[open] > summary::before { content: "−"; transform: none; }
details.fold > summary:hover, details.fold > summary:hover::before { color: var(--ink); }
details.fold { border-top: 1px solid var(--rule); }
.topbar { background: var(--page-bg); border-bottom: 1px solid var(--rule-soft); }
.topbar-brand { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--ink); }
.topbar-brand span { color: var(--grey); }
.topbar-links a:hover { background: transparent; color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink); }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 0.2em; }
a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink); }
.toc-sticky { background: var(--page-bg); border-left: 1px solid var(--rule); }
.toc-sticky li > a[aria-current="true"] { background: var(--hot); color: var(--page-bg); }

/* --- sections: hairline grid, air, no cards --- */
section.slide, .slide { border-top: 1px solid var(--rule); padding: var(--space-7) 0 var(--space-6); }
.act { border-top: 1px solid var(--rule); padding-top: var(--space-6); }
figure.figure-bleed img { border: 0; background: transparent; padding: 0; }
.figure-bleed { margin-left: 0; margin-right: 0; }
.figure-bleed figcaption { padding-left: 0; padding-right: 0; }
.capita, .cohort-grid-wrap, .tier-bars { border: 0 !important; background: transparent !important; padding-left: 0 !important; padding-right: 0 !important; }
.capita-bar { height: 4px; background: var(--rule); }
.capita-bar-fill { height: 4px; background: var(--hot); }
.capita-row { padding: 0.6rem 0; border-bottom: 1px solid var(--rule-soft); }
.capita-row[data-highlight="cze"] { background: transparent; }
.capita-row[data-highlight="cze"] .capita-bar-fill { background: var(--acid); }
.capita-row[data-highlight="cze"] .capita-value, .capita-row[data-highlight="cze"] .capita-country { color: var(--acid); }
.capita-row:hover { background: var(--hot); color: var(--page-bg); }
.capita-row[data-highlight="cze"]:hover .capita-bar-fill { background: var(--page-bg); }
.capita-row:hover .capita-code, .capita-row:hover .capita-value, .capita-row:hover .capita-country { color: var(--page-bg); }
.capita-row:hover .capita-bar-fill { background: var(--page-bg); }
.slide-method, .funnel-caveats { max-width: none; }
.slide-method > p, .funnel-caveats li { max-width: var(--measure-wide); }

/* --- the opening: the masthead on paper, then the film --- */
/* masthead as an article head on bsandova.com: black title, its second half grey, a mono line, a black rule */
.report-header { background: var(--page-bg); border-bottom: 1px solid var(--ink); padding: clamp(56px, 8vw, 120px) 0 clamp(28px, 4vw, 48px); }
.report-header h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(48px, 7.2vw, 112px); line-height: 0.94; letter-spacing: -0.05em; color: var(--ink); max-width: 12ch; margin: 0; }
.report-header h1 em { font-style: normal; font-weight: 500; color: var(--grey); }
.report-header .masthead-subtitle { color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; margin: var(--space-4) 0 0; }
/* the hero is a film: the rink in black and white with the jersey blue held, the number and the finding over it */
.hero {
  position: relative; overflow: hidden; margin: 0; border-bottom: 1px solid var(--ink);
  display: flex; align-items: flex-end;
  min-height: max(560px, min(92svh, 64vw));
  padding: var(--space-7) 0 clamp(32px, 6vh, 72px);
  background: var(--navy-900); color: var(--cream-on-navy);
  --hot: var(--cream-on-navy); --ink: var(--cream-on-navy); --ink-soft: var(--cream-on-navy-soft); --muted: var(--cream-on-navy-muted); --rule: var(--navy-divider);
}
.hero-photo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; display: block; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.35) 48%, rgba(0, 0, 0, 0.05) 75%),
              linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 62%);
}
.hero > .container { position: relative; z-index: 2; width: 100%; }
.hero-cutout { display: none; }
.hero a { color: var(--cream-on-navy); text-decoration-color: currentColor; }
.hero-credit {
  position: absolute; right: clamp(1rem, 3vw, 2rem); bottom: 10px; z-index: 2; margin: 0; max-width: none;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; line-height: 1.4; color: var(--cream-on-navy-muted);
}
.hero-credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); }
@media (min-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-6); padding-right: 0; }
  .hero-lead { max-width: 46ch; }
}
.hero-footnote { color: var(--cream-on-navy-muted); }
/* a phone: the photograph above, the text on black below it */
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; padding: 0 0 var(--space-5); }
  .hero-photo { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; }
  .hero::before { display: none; }
  .hero > .container { padding-top: var(--space-4); }
  .hero-credit { position: static; padding: 0.4rem 1rem 0; text-align: right; }
}
.quickread-grid { gap: 0; background: transparent; border-top: 0; border-bottom: 0; }
.quickread-tile { border-left: 1px solid var(--rule); background: transparent; }
.quickread-tile:first-child { border-left: 0; }
.quickread-tile a { padding: var(--space-2) var(--space-4); }
.quickread-tile:first-child a { padding-left: 0; }
.quickread-tile a:hover .quickread-figure { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }

/* --- rows that invert on hover, like the works list on the author's site --- */
.pool-row > summary:hover, .pool-row[open] > summary { background: var(--hot); color: var(--page-bg); }
.pool-row > summary:hover *, .pool-row[open] > summary * { color: var(--page-bg) !important; border-color: var(--page-bg) !important; }
.pool-summary { font-size: 0.95rem; }
.pool-card { font-weight: 400; font-size: 1.15rem; line-height: 1.35; }
.pool-nt { border-color: var(--rule); color: var(--acid); }
.changes-list li:hover { background: var(--hot); color: var(--page-bg); }
.changes-list li:hover * { color: var(--page-bg) !important; }
.changes-curr { color: var(--ink); font-weight: 500; }

.cycle-card, .gk-card { background: var(--surface); border: 1px solid var(--rule); }

.brief, #brief { background: var(--surface) !important; }
.print-link { border: 1px solid var(--rule); background: transparent; color: var(--ink); }
.print-link:hover { background: var(--hot); color: var(--page-bg); }
.pool-control input, .pool-control select { background: var(--surface); color: var(--ink); border-color: var(--rule); }
.sensitivity-live-table { display: block; overflow-x: auto; max-width: 100%; }
.funnel-country[data-highlight="cze"] { color: var(--acid); }
.funnel-take-one-thing { font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }

/* text runs the full column (the author's call, 2026-09-21) */
.container > p, .container p, .explore-block p, .methodology p, p.plain, .slide-so, .slide-detail, .slide-aq, .slide-did, .slide-method > p,
.funnel-caveats li, .capita-note, .pool-card, .brief-intro, .quickread-note, .funnel-lead, .act-line, .methodology ul, .methodology ol, .methodology dl { max-width: none; }
p.plain { max-width: none; }

/* --- interactive charts (charts.js) --- */
.chart { position: relative; margin: var(--space-3) 0 0; }
.chart svg { display: block; width: 100%; height: auto; }
.chart-fallback { display: none; }
@media print { .chart { display: none; } .chart-fallback { display: block; } }
.chart-controls { display: flex; flex-direction: column; gap: 0.5rem; margin: 0 0 var(--space-3); }
.chart-row { display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; align-items: center; }
.chart-chip {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); background: transparent; border: 1px solid var(--rule); padding: 0.35rem 0.6rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.45rem; line-height: 1;
}
.chart-chip i { width: 8px; height: 8px; display: inline-block; }
.chart-chip[aria-pressed="true"] { color: var(--page-bg); background: var(--hot); border-color: var(--hot); }
.chart-chip[aria-pressed="true"] i { outline: 1px solid var(--page-bg); }
.chart-chip:hover { border-color: var(--ink); color: var(--ink); }
.chart-chip[aria-pressed="true"]:hover { color: var(--page-bg); background: var(--ink-soft); border-color: var(--ink-soft); }
.chart-search {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink); background: var(--surface);
  border: 1px solid var(--rule); padding: 0.35rem 0.6rem; min-width: 14rem; margin-left: auto;
}
.chart-search:focus-visible { outline: 1px solid var(--ink); outline-offset: 1px; }
.chart-axis-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--muted); }
.chart-note { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0.6rem 0 0; line-height: 1.8; }
.chart-tip {
  position: fixed; z-index: 90; max-width: 26rem; padding: 0.6rem 0.75rem; pointer-events: none;
  background: var(--hot); color: var(--page-bg); font-family: var(--font-sans); font-size: 0.85rem; line-height: 1.4;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.chart-tip b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; margin-bottom: 0.15rem; }
.chart-tip span { display: block; }
.chart-tip .mono { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 0.3rem; opacity: .75; }
.chart-tip .tag { font-family: var(--font-mono); font-style: normal; font-size: 9px; letter-spacing: 0.12em; border: 1px solid currentColor; padding: 0 0.3rem; margin-left: 0.3rem; vertical-align: 0.15em; }
.chart-tip .tag.acid { background: var(--acid); border-color: var(--acid); color: #ffffff; }
.atlas-tabs { margin: var(--space-5) 0; }
.atlas-tabs figure { margin-top: var(--space-2); }
.atlas-tabbar { margin-bottom: var(--space-2); }
figure[data-chart="changes"] { margin-bottom: var(--space-4); }

/* captions are prose now ("how to read it"): sans, sentence case, the full column */
figcaption, .figure-bleed figcaption { font-family: var(--font-sans); font-size: 0.92rem; letter-spacing: 0; text-transform: none; color: var(--ink-soft); line-height: 1.5; max-width: none; margin-top: 14px; }

/* --- cards: compact tile spacing, and the open card's visual in the register --- */
.tile-club { flex: 0 1 auto; max-width: 60%; }
.tile-meta { gap: 0.6rem; }
.cycle-tile { row-gap: 0.4rem; padding: var(--space-3) var(--space-3) var(--space-3); }
.tile-more { margin-top: 0.4rem; }
.tile-name { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--ink); }
.tile-stat-figure { color: var(--ink); font-weight: 500; }
.cycle-card-visual, .gk-card-visual { height: 150px; background: var(--surface); }
.cycle-card-visual::before, .gk-card-visual::before { filter: grayscale(1) contrast(1.1) brightness(1.1) blur(7px); opacity: 0.14; mix-blend-mode: multiply; }
.cycle-card-visual::after, .gk-card-visual::after { background: linear-gradient(90deg, var(--surface) 0%, transparent 60%); }
.cycle-card-mug { height: 140px; filter: grayscale(1) contrast(1.2); }
.cycle-card > :not(.cycle-card-visual):not(.cycle-tile) { margin-left: var(--space-4); margin-right: var(--space-4); }
.cycle-card h4.cycle-card-name { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; letter-spacing: -0.03em; color: var(--ink); margin-top: var(--space-3); }
.cycle-stats { border: 1px solid var(--rule); }
.cycle-stats dd { font-family: var(--font-mono); color: var(--hot); }
.cycle-section-label { color: var(--muted); }
.tile-club { white-space: normal; overflow: visible; text-overflow: clip; max-width: none; line-height: 1.5; }

/* --- percentile profile in the pool card (SkillCorner-style benchmark bars) --- */
.pool-profile { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0.35rem 2rem; padding: 0.6rem 0.5rem 0.2rem; }
.pool-axis { display: grid; grid-template-columns: 7.5rem 1fr 2.2rem; align-items: center; gap: 0.6rem; }
.pool-axis-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pool-axis-bar { display: block; height: 4px; background: var(--rule); position: relative; }
.pool-axis-fill { display: block; height: 4px; background: var(--ink); }
.pool-axis-pct { font-family: var(--font-mono); font-size: 11px; color: var(--hot); text-align: right; }
.pool-profile-note { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0.3rem 0 0; }
.pool-row[open] > summary { background: transparent; }
.pool-row[open] > summary * { color: inherit !important; }
.pool-row[open] > summary .pool-name { color: var(--ink) !important; text-decoration: underline; text-decoration-color: var(--acid); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.pool-row[open] > summary { background: transparent; color: var(--ink); }
.hero-finding { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.6rem); line-height: 1.3; letter-spacing: -0.02em; color: var(--cream-on-navy); margin: 0 0 var(--space-3); }
.hero-path { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-on-navy-soft); line-height: 1.8; margin: 0 0 var(--space-3); }
.hero-sublead { font-family: var(--font-sans); font-size: 0.95rem; color: var(--ink-soft); }
.hero-lead p.hero-path { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-on-navy-soft); line-height: 1.8; }
.hero-lead p.hero-sublead { font-family: var(--font-sans); font-size: 0.95rem; color: var(--ink-soft); line-height: 1.5; }
.hero-lead p.hero-finding { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.6rem); }
.slide-caveat { font-family: var(--font-sans); font-size: 0.95rem; color: var(--ink-soft); border-left: 0; margin: -0.6rem 0 var(--space-4); max-width: none; }
.funnel-note-small { font-size: 10px; color: var(--muted); }

/* charts: an honest empty / failed state instead of blank space */
.chart-empty { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: var(--space-3) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
/* chart control folds: the long chip rows sit behind one line */
details.chart-fold { border-top: 0; margin: 0; }
details.chart-fold > summary { padding: 0.35rem 0; font-size: 10px; }
/* cut-outs: the player stands on the panel; the card mug gets a soft base shadow */
.cycle-card-mug { filter: grayscale(1) contrast(1.15) drop-shadow(0 6px 10px rgba(0,0,0,.18)); object-fit: contain; object-position: 50% 100%; }

/* --- close: the last beat mirrors the hero --- */
.close { border-top: 1px solid var(--ink); padding: var(--space-7) 0; }
.close-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--space-3); }
.close-statement { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.12; letter-spacing: -0.04em; color: var(--ink); max-width: 30em; margin: 0 0 var(--space-4); }
.close-line { font-family: var(--font-sans); font-size: 1.05rem; color: var(--ink-soft); max-width: 60em; margin: 0 0 var(--space-4); }
.close-links { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.close-links a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.close-links a:hover { color: var(--ink); border-color: var(--ink); }
/* tiles: the explaining line in sentence-case sans, not tracked capitals */
.quickread-line { font-family: var(--font-sans); font-size: 0.95rem; letter-spacing: 0; text-transform: none; color: var(--ink-soft); max-width: 24ch; line-height: 1.4; }
/* pool: the deep link */
.pool-link { margin: -0.4rem 0 0.8rem 0.5rem; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.pool-link a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--rule); }
.pool-link a:hover { color: var(--ink); border-color: var(--ink); }

/* =========================================================================
   Player atlas (docs/atlas/, atlas.app.js) — the same register, one more
   surface: the pool chart, then a list to find in; a player opens under his row.
   ========================================================================= */
.ax-page .topbar-links a[aria-current="page"] { color: var(--hot); }
.ax { padding-top: calc(var(--topbar-h) + var(--space-4)); padding-bottom: var(--space-5); }
.ax-head { border-bottom: 1px solid var(--ink); padding-bottom: var(--space-4); margin-bottom: var(--space-4); }
.ax-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 1.6rem + 3vw, 4.4rem); letter-spacing: -0.045em; line-height: 1; margin: var(--space-2) 0 var(--space-3); color: var(--ink); max-width: 22ch; }
.ax-lead { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1.35; letter-spacing: -0.015em; max-width: 62ch; margin: 0; color: var(--ink); }
.ax-lead a { color: var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; }
/* one column, full width: the pool chart, a row of controls, the rung legend,
   then the list as a table; a player opens in a row under his own */
.ax-body { display: block; }
.ax-body[hidden], .ax-eras[hidden] { display: none; }
.ax-kicker, .ax-browse-label, .ax-count, .ax-calls-label, .ax-panel-meta, .ax-panel-rank, .ax-legend, .ax-note, .ax-foot p, .ax-grid th, .ax-c-age, .ax-c-pos, .ax-c-club, .ax-c-min, .ax-table th, .ax-table .mono, .ax-check {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); line-height: 1.8;
}
.ax-overview { padding-top: var(--space-2); margin-bottom: var(--space-4); }
.ax-overview .ax-statement { max-width: 52ch; }
.ax-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.6rem 1rem; padding-top: var(--space-2); }
.ax-controls .pool-control { flex: 0 1 11rem; min-width: 8.5rem; }
.ax-controls .pool-control-search { flex: 1 1 16rem; }
.ax-controls .pool-control input, .ax-controls .pool-control select { width: 100%; box-sizing: border-box; }
.ax-controls .pool-control input[type=search], .ax-controls .pool-control select { height: 2.25rem; line-height: normal; }
.ax-checks { display: flex; flex-direction: column; gap: 0.1rem; flex: 1 1 14rem; padding-bottom: 0.2rem; }
.ax-check { flex-direction: row; align-items: center; gap: 0.5rem; min-width: 0; }
.ax-controls .ax-check { flex: 0 0 auto; min-width: 0; }
.ax-controls .ax-check input { accent-color: var(--ink); width: auto; flex: 0 0 auto; margin: 0; }
.ax-browse-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.8rem; margin: 0.8rem 0 0; }
.ax-browse-label { margin: 0; }
.ax-browse { display: flex; flex-wrap: wrap; gap: 0.2rem 0.9rem; margin: 0; }
.ax-browse .chart-chip { all: unset; cursor: pointer; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--rule); padding: 0.1rem 0; }
.ax-browse .chart-chip:hover { border-bottom-color: var(--ink); }
.ax-browse .chart-chip[aria-pressed="true"] { color: var(--ink); background: transparent; border-bottom: 2px solid var(--ink); }
.ax-browse .chart-chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ax-rungs { margin: var(--space-3) 0 0; }
.ax-legend-none { outline: 1px solid #d9d9d5; outline-offset: -1px; }
.ax-count { margin: 0.4rem 0 0; padding: 0.4rem 0; border-top: 1px solid var(--rule); }
/* the list */
.ax-grid { --sp-col: 30px; --sp-gap: 3px; width: 100%; border-collapse: collapse; table-layout: auto; border: 0; background: transparent; margin: 0; }
.ax-grid th { text-align: left; font-weight: 400; font-size: 10px; letter-spacing: 0.12em; padding: 0.3rem 0.8rem 0.3rem 0; border-bottom: 1px solid var(--ink); white-space: nowrap; vertical-align: bottom; }
.ax-grid th.num, .ax-grid td.num { text-align: right; padding-right: 0.5rem; }
.ax-grid td { padding: 0 0.8rem 0 0; border-bottom: 1px solid var(--rule); height: 42px; box-sizing: border-box; vertical-align: middle; white-space: nowrap; }
.ax-row { cursor: pointer; }
.ax-row:hover td, .ax-row:focus-within td { background: var(--surface); }
.ax-row.is-open td { background: var(--surface); border-bottom-color: transparent; }
.ax-row.is-open .ax-c-name { box-shadow: inset 3px 0 0 var(--ink); }
.ax-row.is-pinned td { border-top: 1px solid var(--ink); }
.ax-c-name { width: 30%; max-width: 0; overflow: hidden; text-overflow: ellipsis; padding-left: 0.5rem !important; }
.ax-row-btn { all: unset; cursor: pointer; display: inline-flex; align-items: baseline; max-width: 100%; min-width: 0; color: var(--ink); }
.ax-row-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ax-row-name { font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--hot); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ax-c-age, .ax-c-pos { width: 1%; }
.ax-c-age, .ax-c-pos, .ax-c-club, .ax-c-min { letter-spacing: 0.08em; }
.ax-c-club { max-width: 0; width: 26%; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.ax-c-spark, .ax-col-spark { width: 1%; }
.ax-c-min { width: 1%; color: var(--ink); font-variant-numeric: tabular-nums; }
.ax-grid .ax-c-age, .ax-grid .ax-c-min { text-align: right; }
.ax-nt { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; border: 1px solid var(--rule); color: var(--acid); padding: 0 0.3rem; margin-left: 0.4rem; flex: 0 0 auto; align-self: center; line-height: 1.5; }
/* the sparkline: one fixed column per season, the header carries the labels */
.ax-sp { display: grid; grid-template-columns: repeat(var(--n), var(--sp-col)); column-gap: var(--sp-gap); align-items: end; height: 22px; }
.ax-sp-past { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); column-gap: 1px; width: calc(7 * var(--sp-col) + 6 * var(--sp-gap)); }
.ax-sp-c { display: flex; align-items: flex-end; height: 100%; }
.ax-sp-c i { display: block; width: 100%; }
.ax-sp-head { height: auto; align-items: end; }
.ax-sp-head .ax-sp-c { justify-content: center; font-size: 9px; letter-spacing: 0; height: auto; }
/* an open player: his panel in a row of its own, under his row */
.ax-detail-row > td { height: auto; white-space: normal; padding: 0 0 var(--space-4); background: var(--surface); border-bottom: 1px solid var(--ink); }
.ax-panel { padding: var(--space-2) var(--space-3) 0; min-width: 0; }
.ax-panel-folds { grid-column: 1 / -1; }
@media (min-width: 960px) {
  .ax-panel { display: grid; grid-template-columns: minmax(260px, 320px) minmax(0, 1fr); column-gap: var(--space-4); align-items: start; }
  .ax-panel > .ax-panel-head { grid-template-columns: 1fr; }
}
.ax-panel .ax-chart svg { background: var(--page-bg); }
.ax-panel-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-3); align-items: start; margin-bottom: var(--space-3); }
.ax-panel-id { min-width: 0; }
.ax-mug { display: grid; place-items: center; width: 84px; height: 84px; background: var(--surface); border: 1px solid var(--rule); overflow: hidden; position: relative; }
.ax-mug img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.15); background: var(--surface); }
.ax-mug-cut img { object-fit: contain; object-position: 50% 100%; filter: grayscale(1) contrast(1.2) drop-shadow(0 6px 8px rgba(0,0,0,.5)); }
.ax-mug > span { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.1em; color: var(--muted); }
/* three across: a smaller head so the names keep their line */
.ax-panel-name { overflow-wrap: anywhere; }
.ax-panel-name { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); letter-spacing: -0.04em; line-height: 1; margin: 0 0 0.4rem; color: var(--ink); }
.ax-panel-meta, .ax-panel-rank { margin: 0; text-transform: none; letter-spacing: 0.06em; font-size: 12px; color: var(--ink); }
.ax-panel-rank { color: var(--muted); }
.ax-tier { border-bottom: 2px solid var(--tier, var(--rule)); color: var(--hot); }
.ax-calls { margin: 0.4rem 0 0; display: flex; flex-wrap: wrap; gap: 0.3rem 0.4rem; align-items: center; }
.ax-calls-label { color: var(--muted); margin-right: 0.3rem; }
.ax-call { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; border: 1px solid var(--rule); padding: 0.05rem 0.4rem; color: var(--ink); }
.ax-panel-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.ax-btn { all: unset; box-sizing: border-box; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid var(--rule); padding: 0.3rem 0.6rem; color: var(--ink); cursor: pointer; text-align: center; white-space: nowrap; }
.ax-btn { border-color: var(--ink); }
.ax-btn:hover, .ax-btn:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--page-bg); }
.ax-chart { position: relative; margin: 0 0 var(--space-2); }
.ax-chart svg { display: block; width: 100%; height: auto; overflow: hidden; }
.ax-legend { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; margin: 0.4rem 0 0; }
.ax-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.ax-legend i { display: inline-block; width: 10px; height: 10px; }
.ax-legend-line { width: 14px !important; height: 0 !important; border-top: 2px solid var(--seq-orange); }
.ax-fold > summary { padding: 0.55rem 0; }
.ax-table-wrap { overflow-x: auto; }
.ax-table { width: 100%; border-collapse: collapse; font-family: var(--font-sans); font-size: 0.9rem; margin: 0.4rem 0 0; }
.ax-table th, .ax-table td { padding: 0.35rem 0.5rem 0.35rem 0; border-bottom: 1px solid var(--rule); text-align: left; white-space: nowrap; }
.ax-table th.num, .ax-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.ax-table .mono { letter-spacing: 0.06em; color: var(--ink); }
.ax-table .ax-under td { color: var(--muted); }
.ax-dot { display: inline-block; width: 8px; height: 8px; margin-right: 0.4rem; vertical-align: 0.05em; }
.ax-note, .ax-foot p { text-transform: none; letter-spacing: 0.04em; font-size: 12px; line-height: 1.6; margin: 0.6rem 0 0; }
.ax-foot { border-top: 1px solid var(--rule); margin-top: var(--space-5); padding-top: var(--space-3); }
.ax-foot a, .ax-note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); }
.ax-profile { padding-left: 0; padding-right: 0; }
.ax-statement { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.25; letter-spacing: -0.015em; margin: 0.3rem 0 var(--space-3); color: var(--ink); max-width: 40ch; }
@media (max-width: 719px) {
  /* a phone: the table becomes stacked cards -- a name line, a meta line, then the seasons and the minutes */
  .ax-grid, .ax-grid tbody, .ax-grid thead { display: block; }
  .ax-grid thead tr { display: flex; justify-content: space-between; align-items: end; width: 100%; box-sizing: border-box; }
  .ax-grid thead th { display: none; border: 0; }
  .ax-grid thead th.ax-col-spark, .ax-grid thead th:last-child { display: block; padding: 0.3rem 0 0.2rem; width: auto; }
  .ax-grid thead th:last-child { justify-self: end; text-align: right; padding-right: 0.5rem; }
  .ax-grid thead tr { border-bottom: 1px solid var(--ink); padding-left: 0.5rem; }
  .ax-row { display: grid; grid-template-columns: max-content max-content minmax(0, 1fr) auto; grid-template-areas: "name name name name" "age pos club club" "spark spark spark min"; column-gap: 0; padding: 0.5rem 0.5rem; border-bottom: 1px solid var(--rule); }
  .ax-grid .ax-row td { display: block; height: auto; border: 0; padding: 0; background: transparent !important; width: auto; max-width: none; }
  .ax-row:hover, .ax-row.is-open { background: var(--surface); }
  .ax-row.is-open .ax-c-name { box-shadow: none; }
  .ax-row.is-open { box-shadow: inset 3px 0 0 var(--ink); }
  .ax-c-name { grid-area: name; padding-left: 0 !important; }
  .ax-c-age { grid-area: age; text-align: left !important; }
  .ax-c-pos { grid-area: pos; }
  .ax-c-club { grid-area: club; overflow: hidden; text-overflow: ellipsis; }
  .ax-c-pos::before, .ax-c-club::before { content: " · "; white-space: pre; color: var(--muted); }
  .ax-grid .ax-row .ax-c-spark { grid-area: spark; padding-top: 0.35rem; }
  .ax-c-min { grid-area: min; align-self: end; text-align: right; }
  .ax-detail-row { display: block; }
  .ax-detail-row > td { display: block; padding: 0 0 var(--space-3); }
  .ax-panel { padding: var(--space-2) 0.5rem 0; }
  .ax-controls .pool-control, .ax-controls .pool-control-search { flex: 1 1 100%; }
  .ax-controls .pool-control:not(.pool-control-search):not(.ax-check) { flex: 1 1 calc(50% - 0.5rem); min-width: 0; }
  .ax-grid { --sp-col: 28px; }
}
.ax-tabs { display: flex; flex-wrap: wrap; gap: 0; margin-top: var(--space-3); border-bottom: 1px solid var(--rule); }
.ax-head:has(.ax-tabs) { border-bottom: 0; padding-bottom: 0; }
.ax-tab { all: unset; box-sizing: border-box; cursor: pointer; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding: 0.6rem 1rem 0.6rem 0; margin-right: 1.2rem; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.ax-tab:hover { color: var(--ink); }
.ax-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.ax-tab:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ax-eras { padding-top: var(--space-2); }
.ax-era { margin-top: var(--space-4); }
.ax-era-title { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; letter-spacing: -0.01em; color: var(--hot); margin: 0 0 0.4rem; }
.ax-era .ax-table a, .ax-eras .ax-table a { color: var(--hot); text-decoration: none; border-bottom: 1px solid var(--rule); }
.ax-era .ax-table a:hover, .ax-eras .ax-table a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.ax-eras .ax-table tr.is-open td { color: var(--hot); }
.ax-past { color: var(--muted); }
@media print { .ax-controls, .ax-browse-row, .ax-more-row { display: none; } }
.ax-more-row { margin: var(--space-3) 0 0; text-align: center; }
.ax-more-row .ax-btn[hidden] { display: none; }

/* --- the nations page (docs/nations/, nations.app.js) --- */
.nx-section { border-top: 1px solid var(--hot); padding-top: var(--space-3); margin-top: var(--space-5); }
.nx-h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; letter-spacing: -0.03em; color: var(--hot); margin: var(--space-4) 0 var(--space-2); }
.nx-lead { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; line-height: 1.35; color: var(--ink); margin: 0 0 var(--space-3); }
.nx-table, .nx-table th, .nx-table td, .nx-table tr { background: transparent; }
.nx-table th.is-home, .nx-table td.is-home { color: var(--acid); }
.nx-table td.is-best { color: var(--hot); font-weight: 500; }
.nx-table th a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--rule); }
.nx-table th a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nx-table td:first-child { white-space: normal; min-width: 12rem; }
.nx-decomp { margin-bottom: var(--space-4); }
.nx-bars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); gap: var(--space-3) var(--space-5); }
.nx-contrast .ax-kicker { margin: 0 0 0.4rem; }
.nx-bar { display: grid; grid-template-columns: 11rem 1fr 7.5rem; gap: 0.6rem; align-items: center; margin-bottom: 0.35rem; }
.nx-bar-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.nx-bar-track { display: block; height: 6px; background: var(--rule); }
.nx-bar-fill { display: block; height: 6px; background: var(--hot); }
.nx-bar-fill.is-neg { background: var(--seq-orange); }
.nx-bar-val { font-family: var(--font-mono); font-size: 11px; color: var(--ink); text-align: right; white-space: nowrap; }
.nx-within { margin-top: var(--space-4); max-width: 60ch; }
.take { border-top: 1px solid var(--ink); padding: var(--space-5) 0 var(--space-4); }
.take .close-kicker { margin-bottom: var(--space-3); }
.take-line { margin-top: var(--space-3); }
.nx-take { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: var(--space-2); padding: var(--space-3) 0; border-top: 1px solid var(--rule); }
.nx-take:first-child { border-top: 0; padding-top: 0; }
.nx-take-n { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; letter-spacing: -0.04em; color: var(--ink); margin: 0; line-height: 1; }
.nx-take-head { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.7rem); line-height: 1.2; letter-spacing: -0.03em; color: var(--hot); margin: 0 0 0.5rem; max-width: 40ch; }
.nx-take-body { font-family: var(--font-sans); font-size: 0.95rem; line-height: 1.55; color: var(--ink); margin: 0 0 0.6rem; max-width: 72ch; }
.nx-take-body:last-child { margin-bottom: 0; }
.nx-within strong { font-weight: 400; color: var(--hot); border-bottom: 2px solid var(--acid); }
.nx-limits { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.nx-limits li { font-family: var(--font-sans); font-size: 0.95rem; line-height: 1.55; color: var(--ink); border-top: 1px solid var(--rule); padding-top: var(--space-2); }
.nx-limits strong { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--ink); margin-right: 0.4rem; }
.nx-refs { font-family: var(--font-sans); font-size: 0.85rem; line-height: 1.5; color: var(--ink-soft); padding-left: 1.2rem; overflow-wrap: anywhere; }
.nx-refs li { margin-bottom: 0.4rem; }
.nx-page .ax-chart .chart-controls, .nx-page .ax-chart > .chart-row { margin: 0 0 var(--space-2); }
@media (max-width: 640px) { .nx-bar { grid-template-columns: 1fr; gap: 0.2rem; } .nx-bar-val { text-align: left; } }
/* a reference's archive URL must wrap on a phone, not widen the page */
.references-list, .references-list li, .references-list a { overflow-wrap: anywhere; }

/* the cross-links to the nations page and the atlas: their own line under the slide's last note */
.pool-link.nations-link { margin: 0.6rem 0 0.4rem; }

/* --- one rung palette on every page: the held colour for a top-9 league,
   ink for a stepping stone, grey for another covered league, the pale base
   for the home league, a hairline for no minutes (atlas.app.js TIER) --- */
:root { --rung-top9: var(--acid); --rung-stepping: #111111; --rung-other: #8a8a8a; --rung-home: #c9c9c4; --rung-none: #e6e6e3; }
.squad-swatch-top9, .tier-swatch.tier-top9, .tier-seg.tier-top9 { background: var(--rung-top9); }
.squad-swatch-stepping, .tier-swatch.tier-stepping, .tier-seg.tier-stepping { background: var(--rung-stepping); }
.squad-swatch-other, .tier-swatch.tier-other, .tier-seg.tier-other { background: var(--rung-other); }
.squad-swatch-domestic, .tier-swatch.tier-domestic, .tier-seg.tier-domestic { background: var(--rung-home); }
.squad-tile[data-tier="top9"] .squad-portrait, .squad-tile[data-tier="top9"] .squad-mono { border-color: var(--rung-top9); }
.squad-tile[data-tier="stepping_stone"] .squad-portrait, .squad-tile[data-tier="stepping_stone"] .squad-mono { border-color: var(--rung-stepping); }
.squad-tile[data-tier="other"] .squad-portrait, .squad-tile[data-tier="other"] .squad-mono { border-color: var(--rung-other); }
.squad-tile[data-tier="domestic"] .squad-portrait, .squad-tile[data-tier="domestic"] .squad-mono { border-color: var(--rung-home); }

/* =========================================================================
   Hockey atlas (2026-09-29): the pieces the football page does not have —
   the scope block, the chart legends and fallback tables, the methodology
   tables — and the hero set on the rink photograph (the jersey blue held).
   ========================================================================= */
.hero-photo { object-position: 72% 40%; }
@media (max-width: 760px) { .hero-photo { object-position: 62% 30%; } }
.hero-footnote a, .hero-credit a { color: inherit; }
.slide .close-kicker { margin: 0 0 var(--space-2); }
.slide-q { margin-top: 0; }
/* the scope: three columns on a wide screen, one on a phone */
.scope-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); gap: var(--space-4) var(--space-5); margin-top: var(--space-4); }
.scope-grid h3 { font-size: 1.15rem; margin: 0 0 var(--space-2); border-top: 1px solid var(--ink); padding-top: var(--space-2); }
.scope-grid p, .scope-grid li, .scope-grid dd { font-family: var(--font-sans); font-size: 0.95rem; line-height: 1.55; color: var(--ink); }
.scope-list { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.35rem 0.9rem; margin: 0 0 var(--space-2); }
.scope-list dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: 0.45rem; padding-top: 0.2rem; }
.scope-list dd { margin: 0; }
.sw { display: inline-block; width: 10px; height: 10px; }
.scope-ol, .scope-ul { padding-left: 1.1rem; margin: 0 0 var(--space-2); }
.scope-ol li, .scope-ul li { margin-bottom: 0.45rem; }
.scope-note { color: var(--ink-soft) !important; }
/* chart legends: swatches and line keys in mono capitals */
.chart-legend { margin: 0.2rem 0 0; }
.chart-legend i, .ax-legend i { flex: 0 0 auto; }
.lg-line { width: 18px !important; height: 0 !important; border-top: 2px solid var(--ink); background: transparent !important; }
.chart-plot { width: 100%; }
.chart-plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-controls { gap: 0.55rem; }
/* the plain tables behind each figure (no scripts, print) */
.fig-table { width: 100%; border-collapse: collapse; margin: var(--space-2) 0; font-size: 0.9rem; }
.fig-table th, .fig-table td { padding: 0.3rem 0.6rem 0.3rem 0; border-bottom: 1px solid var(--rule); text-align: left; }
.fig-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.fig-table tr.is-home td { color: var(--acid); }
.chart-fallback.fig-table { display: none; }
@media print { .chart-fallback.fig-table { display: table; } }
/* methodology tables */
.sources-table, .linking-table { width: 100%; border-collapse: collapse; font-family: var(--font-sans); font-size: 0.9rem; margin: var(--space-2) 0 var(--space-3); }
.sources-table th, .sources-table td, .linking-table th, .linking-table td { padding: 0.45rem 0.8rem 0.45rem 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.linking-table th.num, .linking-table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.linking-table th { white-space: normal; vertical-align: bottom; }
.sources-table td.mono { font-family: var(--font-mono); font-size: 12px; white-space: nowrap; }
.table-scroll { overflow-x: auto; max-width: 100%; }
.defs { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.4rem 1.2rem; font-family: var(--font-sans); font-size: 0.95rem; }
.defs dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 0.2rem; }
.defs dd { margin: 0; }
.changelog { list-style: none; padding: 0; margin: 0; }
.changelog li { font-family: var(--font-sans); font-size: 0.95rem; line-height: 1.55; border-top: 1px solid var(--rule); padding: var(--space-2) 0; }
.changelog .mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); margin-right: 0.8rem; }
.methodology h3 { margin-top: var(--space-5); }
.rendered-at { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); margin-top: var(--space-3); }
/* the pool page: the league after the team, a goalie's table */
.ax-lg { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--muted); margin-left: 0.3rem; }
.ax-overview .ax-chart { margin-bottom: 0.2rem; }
.ax-panel-hk { display: block !important; }
.ax-panel-hk .ax-table-wrap { max-width: 56rem; }
@media (max-width: 719px) {
  .scope-list { grid-template-columns: 1fr; gap: 0.1rem; }
  .scope-list dd { margin-bottom: 0.5rem; }
  .defs { grid-template-columns: 1fr; gap: 0.1rem; }
  .defs dd { margin-bottom: 0.6rem; }
  .sources-table, .sources-table tbody, .sources-table tr, .sources-table td { display: block; width: 100%; }
  .sources-table thead { display: none; }
  .sources-table tr { border-bottom: 1px solid var(--rule); padding: 0.5rem 0; }
  .sources-table td { border: 0; padding: 0.1rem 0; }
}
/* the rink photograph is bright and the player stands right of centre: the
   number and the finding stack in the left column, over a darker left wash */
.hero::before {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.3) 45%, rgba(0, 0, 0, 0) 75%),
              linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 38%, rgba(0, 0, 0, 0) 60%);
}
@media (min-width: 761px) {
  .hero-grid { display: block; max-width: 38rem; }
  .hero-lead { max-width: 34rem; margin-top: var(--space-3); }
}
.scope-list dt { align-self: start; }
.lg-hollow { background: #ffffff !important; outline: 1px solid #8a8a8a; outline-offset: -1px; border-radius: 50%; }
.close { border-bottom: 0; }
footer { margin-top: 0; }
/* an open player's season table sits inside the list table: keep it a table on a phone */
.ax-grid .ax-table td { height: auto; padding: 0.35rem 0.6rem 0.35rem 0; }
@media (max-width: 719px) {
  .ax-grid .ax-table { display: table; min-width: 100%; }
  .ax-grid .ax-table thead { display: table-header-group; }
  .ax-grid .ax-table tbody { display: table-row-group; }
  .ax-grid .ax-table thead tr { display: table-row; border: 0; padding: 0; }
  .ax-grid .ax-table thead th, .ax-grid .ax-table thead th:last-child { display: table-cell; width: auto; padding: 0.3rem 0.6rem 0.3rem 0; text-align: left; border-bottom: 1px solid var(--ink); }
  .ax-grid .ax-table th.num, .ax-grid .ax-table thead th.num:last-child { text-align: right; }
}
/* "This autumn" (#autumn): dated news beside the snapshot, as in the football atlas */
.autumn-asof { font-family: var(--font-mono); font-size: var(--t-micro); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0.25rem 0 1.25rem; }
.autumn-body { max-width: 72ch; }
.autumn .container .autumn-body p { max-width: 72ch; }
.autumn-body h3 { font-size: 1.125rem; margin: 1.75rem 0 0.5rem; }
.autumn-body sup.fn { font-size: 0.7em; line-height: 0; margin-left: 0.1em; }
.autumn-body sup.fn a { text-decoration: none; }
.autumn-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 0; margin: 1rem 0 0.5rem; border-top: 4px solid var(--acid); }
.autumn-stats > div { border-bottom: 1px solid var(--rule); padding: 0.6rem 1rem 0.6rem 0; }
.autumn-stats dt { font-family: var(--font-mono); font-size: var(--t-micro); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.autumn-stats dd { margin: 0.2rem 0 0; font-family: var(--font-display); font-size: 1.5rem; font-variant-numeric: tabular-nums; line-height: 1.2; }
.autumn-stats dd .muted { display: block; font-family: var(--font-sans); font-size: 0.8125rem; color: var(--muted); }
.autumn-sources-h { font-size: 0.9375rem !important; }
.autumn-sources { font-size: 0.8125rem; padding-left: 1.4em; overflow-wrap: anywhere; }
.autumn-sources li { margin: 0.3rem 0; }
.autumn-sources li:target { background: color-mix(in srgb, var(--acid) 14%, transparent); }
/* =========================================================================
   Split pages (summary, /q/<slug>/, /this-autumn/, /methodology/, /players/):
   one top bar with a Questions menu, a pager between questions, the
   "What this does not show" block. Same register: mono caps, hairlines, ink.
   ========================================================================= */
.topbar-links { align-items: center; }
.topbar-links a[aria-current="page"], .nav-q > summary.is-current { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink); text-underline-offset: 0.35em; }
.nav-q { position: relative; }
.nav-q > summary {
  list-style: none; cursor: pointer; padding: 0.35rem 0.7rem;
  font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); line-height: 1.8;
}
.nav-q > summary::-webkit-details-marker { display: none; }
.nav-q > summary::after { content: " +"; }
.nav-q[open] > summary::after { content: " −"; }
.nav-q > summary:hover, .nav-q[open] > summary { color: var(--ink); }
.nav-q-list {
  position: absolute; top: calc(100% + 0.6rem); left: 0; z-index: 90;
  width: min(26rem, calc(100vw - 2rem)); margin: 0; padding: 0.4rem 0; list-style: none;
  background: var(--page-bg); border: 1px solid var(--ink); box-shadow: 0 8px 24px rgb(0 0 0 / 0.08);
}
.nav-q-list li { margin: 0; }
.topbar-links .nav-q-list a {
  display: grid; grid-template-columns: 1.6rem 1fr; padding: 0.45rem 0.9rem;
  font-family: var(--font-sans); font-size: 0.9rem; letter-spacing: 0; text-transform: none; color: var(--ink); line-height: 1.35;
}
.topbar-links .nav-q-list a:hover { background: var(--ink); color: var(--page-bg); text-decoration: none; }
.topbar-links .nav-q-list a[aria-current="page"] { text-decoration: none; box-shadow: inset 3px 0 0 var(--acid); }
.nav-q-n { font-family: var(--font-mono); font-size: 11px; color: var(--muted); padding-top: 0.15em; }
.nav-q-list a:hover .nav-q-n { color: inherit; }
@media (max-width: 719.98px) {
  :root { --topbar-h: 84px; }
  .topbar { height: auto; flex-wrap: wrap; row-gap: 0.1rem; padding-top: 0.55rem; padding-bottom: 0.35rem; }
  .topbar-links { display: flex; flex-wrap: wrap; width: 100%; margin-left: -0.5rem; gap: 0; }
  .topbar-links a, .nav-q > summary { padding: 0.25rem 0.5rem; letter-spacing: 0.1em; }
  .nav-q { position: static; }
  .nav-q-list { top: 100%; left: 0.75rem; right: 0.75rem; width: auto; }
}

/* the summary: the news teaser and the findings' evidence links */
.autumn-teaser { border-top: 1px solid var(--ink); padding: var(--space-5) 0; }
.autumn-teaser .slide-q { margin: 0.25rem 0 0; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.autumn-teaser .slide-q a { text-decoration: none; }
.autumn-teaser .slide-q a:hover { text-decoration: underline; }
.autumn-teaser-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
.autumn-teaser-list li { margin: 0; }
.autumn-teaser-list a { font-size: 1.05rem; }
.autumn-teaser-list a::after { content: " →"; }
.nx-take-link { margin: 0.5rem 0 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.nx-take-link a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.nx-take-link a:hover { border-color: var(--ink); }

/* page heads: the methodology and the question pages */
.page-head { padding: var(--space-6) 0 var(--space-3); }
.page-title { font-weight: 500; font-size: clamp(2.2rem, 1.4rem + 2.8vw, 4rem); letter-spacing: -0.04em; line-height: 1; margin: 0; }
.page-methodology .slide.scope { border-top: 1px solid var(--ink); padding-top: var(--space-5); }
.qpage .slide, .autumn { border-top: 0; padding-top: var(--space-6); }
h1.slide-q { margin-bottom: var(--space-4); }
.q-limits { margin-top: var(--space-6); border-top: 1px solid var(--ink); padding-top: var(--space-4); max-width: var(--measure-wide, 72ch); }
.q-sub { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 var(--space-3); }
.q-limits .nx-limits { margin-top: 0; }
.q-limits-more { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin-top: var(--space-3); }
.q-pager { margin-top: var(--space-6); border-top: 1px solid var(--rule); padding-top: var(--space-4); display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--space-3); align-items: start; }
.q-pager a { text-decoration: none; color: var(--ink); font-size: 1rem; line-height: 1.3; }
.q-pager a:hover { text-decoration: underline; }
.q-pager-label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.q-pager-next { text-align: right; }
.q-pager-home { font-family: var(--font-mono); font-size: 11px !important; letter-spacing: 0.16em; text-transform: uppercase; padding-top: 0.1rem; }
@media (max-width: 719.98px) {
  .q-pager { grid-template-columns: 1fr 1fr; }
  .q-pager-home { grid-column: 1 / -1; grid-row: 2; text-align: center; }
}

/* --- editorial standard v1 (29 September 2026): facts strip, short version, metadata, references --- */
.report-header .masthead-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--space-3); }
.report-header h1 { max-width: 28ch; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--space-4); margin: 0; padding: var(--space-5) 0; }
.fact { display: flex; flex-direction: column; gap: 0.3rem; border-top: 1px solid var(--rule); padding-top: var(--space-3); }
.fact dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.fact-n { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.fact-note { font-family: var(--font-mono); font-size: 11px; line-height: 1.5; color: var(--ink-soft); }
/* the front page: one figure, large (the other measures are in the findings) */
.facts-one { grid-template-columns: minmax(0, 30rem); }
.facts-one .fact-n { font-size: clamp(4rem, 2.6rem + 6vw, 8rem); }
.front-intro, .front-question, .front-foot { padding: var(--space-5) 0; }
.tldr { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: var(--space-3) 0; margin: 0 0 var(--space-4); }
.tldr > summary { cursor: pointer; font-family: var(--font-sans); font-weight: 500; color: var(--ink); }
.tldr ul { margin: var(--space-3) 0 0; padding-left: 1.2rem; line-height: 1.5; }
.tldr li + li { margin-top: 0.4rem; }
.meta-block { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1rem; margin: 0; font-family: var(--font-mono); font-size: 12px; line-height: 1.5; color: var(--ink-soft); }
.meta-block > div { display: contents; }
.meta-block dt { color: var(--muted); text-transform: lowercase; }
.meta-block dd { margin: 0; overflow-wrap: anywhere; }
.page-head .meta-block { margin-top: var(--space-4); }
.front-question p, .front-foot p { max-width: 70ch; line-height: 1.6; }
.references { padding-left: 1.4rem; line-height: 1.5; font-size: 0.92rem; }
.references li { margin: 0 0 0.5rem; overflow-wrap: anywhere; }
.ref a { text-decoration: none; }
.q-evidence, .q-means { margin-top: var(--space-5); }
.q-means p { max-width: 70ch; line-height: 1.6; }
.fig-table caption { caption-side: top; text-align: left; font-family: var(--font-sans); font-size: 0.86rem; color: var(--ink-soft); padding: 0 0 0.4rem; }
.q-evidence > .fig-table { display: block; overflow-x: auto; max-width: 100%; margin: var(--space-3) 0; }
.page-meta { font-family: var(--font-mono); font-size: 11px; line-height: 1.6; color: var(--muted); margin: var(--space-5) 0 var(--space-3); overflow-wrap: anywhere; }
pre.mono { overflow-x: auto; max-width: 100%; font-size: 12px; line-height: 1.6; }
@media (max-width: 560px) { .meta-block { grid-template-columns: 1fr; } .meta-block dt { margin-top: 0.4rem; } }
.report-header .masthead-deck { font-family: var(--font-sans); font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem); line-height: 1.45; max-width: 60ch; color: var(--ink-soft); text-transform: none; letter-spacing: 0; margin: var(--space-3) 0 0; }
