/* Challenge the Government — design system v4 "broadsheet".
   Decisions this system encodes:
   - No boxes. Structure comes from full-bleed bands, white space and type.
   - Archivo 800 for display, Inter for body and every figure.
   - Grouped top nav (the old map), modernised into wide typeset panels.
   - Full-bleed content: bands span the viewport, only reading text is measure-capped.
   - Every figure earns a visual — a gauge against its target, a trend line, a share bar. */

@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-var.woff2) format('woff2-variations'); }
@font-face { font-family: 'Archivo'; font-weight: 100 900; font-display: swap;
  src: url(fonts/archivo.woff2) format('woff2-variations'); }

:root {
  --paper: #fbfaf8;
  --band: #f1ede6;
  --dark: #101318;
  --dark-2: #191d25;
  --ink: #11131a;
  --body: #464e5c;
  --faint: #79808e;
  --rule: #e2ddd3;
  --bad: #bf1922;
  --good: #0f7b46;
  --warn: #a07800;
  --info: #0f6fb8;
  --accent: var(--bad);
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Archivo', 'Inter', system-ui, sans-serif;
  --measure: 62ch;              /* reading text never exceeds this */
  --shell: 1760px;              /* sanity cap on ultrawide only */
  --gut: clamp(20px, 3.4vw, 68px);
  --ease: cubic-bezier(.2, .7, .3, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--body); font-family: var(--sans);
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; letter-spacing: -.035em;
  line-height: .98; color: var(--ink); margin: 0; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid #ffd43b; outline-offset: 3px; }
img { max-width: 100%; }
::selection { background: #ffd9a8; color: var(--ink); }
.num { font-variant-numeric: tabular-nums lining-nums; font-weight: 800; letter-spacing: -.04em; }
.hidden { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------------ shell -- */
.page { min-height: 100vh; display: flex; flex-direction: column; }
.wrap { max-width: var(--shell); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.band { padding-top: clamp(38px, 4.6vw, 78px); padding-bottom: clamp(38px, 4.6vw, 78px); }
.band--tint { background: var(--band); }
.band--dark { background: var(--dark); color: #b9c0cc; }
.band--dark h1, .band--dark h2, .band--dark h3 { color: #fff; }
.band--flush { padding-top: 0; }
main { flex: 1 1 auto; }

.kicker { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--faint); margin: 0 0 16px; display: block; }
.band--dark .kicker { color: #8794a6; }
.display-1 { font-size: clamp(2.5rem, 5.6vw, 5.4rem); }
.display-2 { font-size: clamp(1.9rem, 3.4vw, 3.4rem); max-width: 30ch; }
.display-3 { font-size: clamp(1.5rem, 2.2vw, 2.2rem); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; max-width: var(--measure); margin: 18px 0 0; }
.prose-note { max-width: var(--measure); }
.note { font-size: .84rem; color: var(--faint); line-height: 1.6; }
.src { font-size: .78rem; color: var(--faint); text-decoration: none; border-bottom: 1px solid var(--rule); }
.src:hover { color: var(--ink); border-bottom-color: currentColor; }
.band--dark .src { color: #8794a6; border-bottom-color: #2b323d; }
.band--dark .src:hover { color: #fff; }

/* ------------------------------------------------------------------- nav -- */
/* The old grouped top nav, modernised: same map (flagship links + four grouped
   dropdowns), but the panels are wide, typeset and borderless instead of boxed
   lists, and the whole bar is sticky and translucent. */
.topbar { position: sticky; top: 0; z-index: 100; background: rgba(251, 250, 248, .92);
  backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--rule); }
.topbar__in { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); padding-top: 11px;
  padding-bottom: 11px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  text-decoration: none; flex: 0 0 auto; line-height: 1.1; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.14rem; letter-spacing: -.045em;
  color: var(--ink); white-space: nowrap; }
.brand__tag { font-size: .57rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint); white-space: nowrap; }
@media (max-width: 700px) { .brand__tag { display: none; } }

.nav { display: flex; align-items: stretch; gap: clamp(2px, 1vw, 18px); list-style: none; margin: 0; padding: 0; }
.nav > li { position: static; }
.nav__link, .nav__btn { display: flex; align-items: center; gap: 6px; font: inherit; font-size: .92rem;
  font-weight: 600; color: var(--body); background: none; border: 0; cursor: pointer; text-decoration: none;
  padding: 12px 4px; position: relative; white-space: nowrap; letter-spacing: -.01em; }
.nav__link::after, .nav__btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px;
  height: 2px; background: var(--bad); transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease); }
.nav__link:hover, .nav__btn:hover, .nav li.open .nav__btn { color: var(--ink); }
.nav__link:hover::after, .nav__btn:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"], .nav__btn[data-active="true"] { color: var(--ink); font-weight: 700; }
.nav__link[aria-current="page"]::after, .nav__btn[data-active="true"]::after { transform: scaleX(1); }
.nav__caret { width: 9px; height: 9px; opacity: .55; transition: transform .2s var(--ease); }
.nav li.open .nav__caret { transform: rotate(180deg); }

/* Dropdown: a full-width panel that previews the sections, with each one's
   headline figure and a featured number, rather than a boxed list of links. */
.nav__panel { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 110;
  background: var(--paper); border-top: 1px solid var(--rule);
  box-shadow: 0 30px 60px -28px rgba(17, 19, 26, .5); }
.nav li.open .nav__panel { display: block; animation: panelIn .2s var(--ease); }
@keyframes panelIn { from { transform: translateY(-8px); } to { transform: none; } }
.nav__panel-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
  gap: clamp(24px, 3vw, 56px); padding-top: 26px; padding-bottom: 30px; align-items: start; }
.np__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 4px clamp(20px, 2.4vw, 40px); }
.np__grid a { display: block; text-decoration: none; padding: 12px 0; border-top: 1px solid transparent;
  transition: border-color .18s; }
.np__grid a:hover { border-top-color: var(--bad); }
.np__t { display: block; font-family: var(--display); font-weight: 800; letter-spacing: -.03em;
  font-size: 1.02rem; color: var(--ink); line-height: 1.2; }
.np__d { display: block; font-size: .8rem; color: var(--faint); line-height: 1.4; margin-top: 3px; }
.np__fig { display: block; font-size: .78rem; color: var(--faint); margin-top: 8px; }
.np__fig b { font-size: 1.02rem; color: var(--bad); letter-spacing: -.03em; margin-right: 6px; }
.np__lead { display: block; text-decoration: none; background: var(--dark); color: #b9c0cc;
  padding: 22px 24px; align-self: stretch; }
.np__lead-k { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #8794a6; }
.np__lead-v { display: block; font-size: clamp(2rem, 2.6vw, 2.8rem); color: #fff; line-height: 1; margin: 14px 0 10px; }
.np__lead-l { display: block; font-size: .9rem; line-height: 1.4; }
.np__lead-go { display: inline-block; margin-top: 14px; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #fff; border-bottom: 2px solid var(--bad); padding-bottom: 3px; }
.np__lead:hover .np__lead-go { border-bottom-color: #fff; }
@media (max-width: 1000px) { .nav__panel-in { grid-template-columns: 1fr; } .np__lead { display: none; } }

/* The bar tightens once the page scrolls. */
.topbar.is-scrolled { box-shadow: 0 10px 30px -22px rgba(17, 19, 26, .55); }
.topbar.is-scrolled .topbar__in { padding-top: 7px; padding-bottom: 7px; }
.topbar__in { transition: padding .2s var(--ease); }

.topbar__end { margin-left: auto; display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.find { position: relative; }
.find input { font: inherit; font-size: .86rem; color: var(--ink); background: none; border: 0;
  border-bottom: 1px solid var(--rule); padding: 7px 2px 7px 22px; width: 170px; transition: width .2s var(--ease); }
.find input::placeholder { color: var(--faint); }
.find input:focus { outline: none; border-bottom-color: var(--ink); width: 240px; }
.find::before { content: ""; position: absolute; left: 2px; top: 50%; width: 14px; height: 14px;
  transform: translateY(-50%); background: currentColor; color: var(--faint); opacity: .8;
  -webkit-mask: var(--mag) center/contain no-repeat; mask: var(--mag) center/contain no-repeat; }
:root { --mag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.8-3.8'/%3E%3C/svg%3E"); }
.results { position: absolute; top: calc(100% + 10px); right: 0; width: 380px; max-height: 60vh;
  overflow-y: auto; background: var(--paper); box-shadow: 0 26px 60px -24px rgba(17, 19, 26, .45); z-index: 120; }
.results button { display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font: inherit; padding: 11px 16px; }
.results button:hover { background: var(--band); }
.results .rv { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); font-size: .95rem; }
.results .rl { font-size: .85rem; color: var(--body); line-height: 1.3; }
.results .rs { font-size: .74rem; color: var(--faint); }
.results .empty { padding: 14px 16px; font-size: .86rem; color: var(--faint); }

/* Icon-only, right-aligned, 44px tap target. It previously sat immediately beside
   the wordmark with a label, which left the whole right side of the bar empty and
   misaligned against the two-line brand. */
.burger { display: none; margin-left: auto; width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center; flex: 0 0 auto; }
.burger i { position: relative; display: block; width: 22px; height: 2px; background: currentColor;
  border-radius: 2px; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; width: 22px;
  height: 2px; background: currentColor; border-radius: 2px; }
.burger i::before { top: -7px; }
.burger i::after { top: 7px; }
.burger:hover { color: var(--bad); }

@media (max-width: 1100px) {
  .burger { display: flex; }
  .nav { display: none; }              /* the desktop bar is replaced, not squeezed */
  /* The whole end group goes, not just the field inside it: an empty container
     still claimed margin-left:auto and split the free space with the burger,
     leaving it stranded mid-bar instead of flush right. */
  .topbar__end { display: none; }
}

/* ------------------------------------------------------------ mobile sheet -- */
/* A dedicated full-screen menu rather than the desktop nav reflowed: big tap
   targets, the search that the top bar has no room for, and each section's
   headline figure so the menu previews the site. */
.sheet { position: fixed; inset: 0; z-index: 200; background: var(--paper); display: none;
  flex-direction: column; }
.sheet.open { display: flex; opacity: 1; animation: sheetIn .22s var(--ease); }
@keyframes sheetIn { from { transform: translateY(-12px); } to { transform: none; } }
.sheet__top { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gut); border-bottom: 1px solid var(--rule); flex: 0 0 auto; }
.sheet__mark { font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: -.04em;
  color: var(--ink); text-decoration: none; }
.sheet__close { background: none; border: 0; padding: 10px; margin: -10px; cursor: pointer;
  color: var(--ink); display: grid; place-items: center; }
.sheet__close svg { width: 22px; height: 22px; }
.sheet__body { flex: 1 1 auto; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  padding: 18px var(--gut) 40px; }
.sheet__find { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--band);
  border: 0; border-radius: 10px; padding: 14px 16px; margin-bottom: 6px; }
.sheet__find::placeholder { color: var(--faint); }
.sheet__find:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.sheet__results { margin: 0 0 10px; }
.sheet__results button { display: block; width: 100%; text-align: left; background: none; border: 0;
  border-bottom: 1px solid var(--rule); padding: 12px 2px; cursor: pointer; font: inherit; }
.sheet__results .rv { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.sheet__results .rl { display: block; font-size: .88rem; color: var(--body); }
.sheet__primary { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 0 4px; }
.sheet__primary a { font-family: var(--display); font-weight: 800; letter-spacing: -.03em;
  font-size: 1.4rem; color: var(--ink); text-decoration: none; padding: 6px 0; }
.sheet__primary a[aria-current="page"] { color: var(--bad); }
.sheet__grp { font-size: .64rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--faint); margin: 26px 0 2px; }
.sheet__link { display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid var(--rule); text-decoration: none; min-height: 48px; }
.sheet__link span { font-size: 1.05rem; font-weight: 600; color: var(--ink); line-height: 1.3;
  flex: 1 1 auto; min-width: 0; }
.sheet__link b { font-size: .92rem; color: var(--bad); font-variant-numeric: tabular-nums;
  letter-spacing: -.02em; flex: 0 1 auto; max-width: 46%; text-align: right; line-height: 1.3; }
.sheet__link[aria-current="page"] span { color: var(--bad); }
.sheet__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 32px; padding-top: 18px;
  border-top: 1px solid var(--rule); }
.sheet__legal a { font-size: .84rem; color: var(--faint); text-decoration: none; }
@media (min-width: 1101px) { .sheet, .sheet.open { display: none; } }

/* ------------------------------------------------------------------- hero -- */
.hero { padding-top: clamp(46px, 5.5vw, 96px); }
.hero h1 { max-width: 20ch; }
.hero__lede { font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 58ch; margin-top: 22px; color: #c8cfdb; }
.hero__fig { margin-top: clamp(34px, 3.6vw, 56px); display: flex; align-items: flex-end; gap: clamp(18px, 2.4vw, 40px);
  flex-wrap: wrap; }
.hero__big { font-size: clamp(3.2rem, 7.6vw, 6.2rem); line-height: .84; color: #fff; text-decoration: none; }
.hero__say { max-width: 30ch; color: #c8cfdb; padding-bottom: .4em; }
.hero__dots { display: flex; gap: 6px; padding-bottom: 1em; }
.hero__dot { width: 7px; height: 7px; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.3);
  transition: background .2s, width .25s var(--ease); }
.hero__dot.on { background: #fff; width: 22px; }
.hero__actions { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 30px; }
.hero__actions a { font-weight: 700; font-size: .95rem; color: #fff; text-decoration: none;
  border-bottom: 2px solid rgba(255,255,255,.35); padding-bottom: 3px; }
.hero__actions a:hover { border-bottom-color: #fff; }

/* ------------------------------------------------------- section opener -- */
/* A data strip, not floating numbers: each figure sits under its own rule with
   the label directly above it, so the pair reads as one unit. */
.openstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 0 clamp(20px, 2.4vw, 48px); margin-top: clamp(30px, 3.4vw, 52px); }
.ostat { padding-top: 14px; border-top: 2px solid rgba(255, 255, 255, .22); }
.ostat__l { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #8794a6; line-height: 1.35; margin-bottom: 8px; min-height: 2.7em; }
.ostat__v { display: block; font-size: clamp(1.7rem, 2.5vw, 2.5rem); line-height: 1.02; color: #fff; }
.ostat__v--word { font-family: var(--display); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(1.15rem, 1.5vw, 1.5rem); line-height: 1.15; }

/* --------------------------------------------------------------- figures -- */
.figrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: clamp(24px, 2.6vw, 46px); grid-auto-rows: min-content; margin-top: 36px; }
.figrow > * { display: grid; grid-template-rows: subgrid; grid-row: span 4; align-content: start;
  text-decoration: none; color: inherit; }
.fig__v { font-size: clamp(2.2rem, 3.4vw, 3.1rem); line-height: .92; color: var(--ink); }
.band--dark .fig__v { color: #fff; }
.fig__word { font-family: var(--display); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem); line-height: 1.1; color: var(--ink); }
.band--dark .fig__word { color: #fff; }
.fig__l { margin-top: 10px; font-size: .95rem; line-height: 1.45; max-width: 26ch; }
.fig__s { margin-top: 12px; width: 100%; height: 56px; display: block; }
.fig__t { margin-top: 8px; font-size: .78rem; color: var(--faint); }
a.fig:hover .fig__v { color: var(--bad); }

/* ---------------------------------------------------------------- gauges -- */
/* The core visual: promised vs delivered, with the gap spelled out. */
.gauges { margin-top: 34px; max-width: 1320px; }
.gauge { padding: 24px 0; border-top: 1px solid var(--rule); }
.gauge:first-child { border-top: 0; padding-top: 6px; }
.band--dark .gauge { border-top-color: #262d38; }
.gauge__head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; margin-bottom: 13px; }
.gauge__name { font-family: var(--display); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem); color: var(--ink); }
.band--dark .gauge__name { color: #fff; }
.gauge__verdict { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.gauge__verdict.miss { color: var(--bad); }
.gauge__verdict.hit { color: var(--good); }
.gauge__track { position: relative; height: 54px; background: #e8e3da; }
.band--tint .gauge__track { background: #e3ddd2; }
.band--dark .gauge__track { background: #232a34; }
.gauge__fill { position: absolute; inset: 0 auto 0 0; background: var(--bad); width: 0;
  transition: width 1s var(--ease); }
.gauge__fill.hit { background: var(--good); }
.gauge__actual { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.75rem); }
.gauge__target { position: absolute; top: -8px; bottom: -8px; width: 2px; background: var(--ink); }
.band--dark .gauge__target { background: #fff; }
.gauge__target span { position: absolute; left: 9px; top: -2px; font-size: .68rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.band--dark .gauge__target span { color: #fff; }
.gauge__target.flip span { left: auto; right: 9px; }
.gauge__gap { margin: 11px 0 0; font-size: .93rem; max-width: var(--measure); }
.gauge__gap strong { color: var(--ink); font-weight: 700; }
.band--dark .gauge__gap strong { color: #fff; }

/* ------------------------------------------------------------- scorecard -- */
.score { display: flex; height: 66px; margin: 26px 0 14px; }
.score__seg { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800;
  font-size: 1.25rem; font-variant-numeric: tabular-nums; text-decoration: none; transition: filter .15s; }
.score__seg:hover { filter: brightness(1.15); }
.score__key { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.score__key span { font-size: .84rem; display: flex; align-items: center; gap: 8px; }
.score__key i { width: 11px; height: 11px; display: block; }

/* ----------------------------------------------------------- ranked bars -- */
.hbars { margin-top: 30px; max-width: 1200px; }
.hbar { display: grid; grid-template-columns: minmax(min(130px, 100%), 230px) minmax(0, 1fr) auto; align-items: center;
  gap: 18px; padding: 8px 0; text-decoration: none; color: inherit; }
.hbar:hover .hbar__name { color: var(--bad); }
.hbar__name { font-size: .95rem; color: var(--ink); font-weight: 600; line-height: 1.25; }
.hbar__name em { display: block; font-style: normal; font-weight: 400; font-size: .78rem; color: var(--faint); }
.hbar__track { height: 26px; background: #e8e3da; }
.band--tint .hbar__track { background: #e3ddd2; }
.hbar__fill { display: block; height: 100%; width: 0; background: var(--ink);
  transition: width .8s var(--ease); transition-delay: var(--d, 0ms); }
.hbar.hl .hbar__fill { background: var(--bad); }
.hbar.hl .hbar__name, .hbar.hl .hbar__val { color: var(--bad); }
.hbar__val { font-size: 1rem; color: var(--ink); white-space: nowrap; }

/* ---------------------------------------------------------------- charts -- */
.chartgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: clamp(30px, 3vw, 56px); margin-top: 34px; }
/* A lone chart in a full-bleed band would scale its own type up to headline size. */
.chart { position: relative; max-width: 920px; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart__title { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; font-size: 1.15rem;
  color: var(--ink); margin-bottom: 3px; }
.chart__sub { font-size: .84rem; color: var(--faint); margin-bottom: 14px; max-width: 60ch; }
.chart__toggle { display: inline-flex; gap: 14px; margin-bottom: 12px; }
.chart__toggle button { font: inherit; font-size: .76rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--faint); background: none; border: 0; padding: 3px 0;
  cursor: pointer; border-bottom: 2px solid transparent; }
.chart__toggle button.on { color: var(--ink); border-bottom-color: var(--bad); }
.c-grid { stroke: #d9d3c8; stroke-width: 1; }
.c-zero { stroke: #b3aca0; stroke-width: 1.5; }
.c-y, .c-x { fill: var(--faint); font-size: 13px; font-weight: 600; font-family: var(--sans); }
.c-line { fill: none; stroke-width: 3.4; stroke-linejoin: round; stroke-linecap: round; }
.c-end { stroke: #fff; stroke-width: 3; }
.c-endlabel { font-family: var(--sans); font-size: 20px; font-weight: 800; fill: var(--ink);
  font-variant-numeric: tabular-nums; }
.c-ref { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 5; opacity: .5; }
.c-reflabel { font-family: var(--sans); font-size: 12px; font-weight: 700; fill: var(--ink);
  letter-spacing: .06em; text-transform: uppercase; }
.c-bar { fill: var(--ink); }
.c-bar.hl { fill: var(--bad); }
.c-catlabel { font-family: var(--sans); font-size: 13px; font-weight: 600; fill: var(--ink); }
.c-hit { fill: transparent; cursor: crosshair; }
.c-guide { stroke: var(--ink); stroke-width: 1; opacity: 0; }
.c-dot { opacity: 0; stroke: #fff; stroke-width: 2.5; }
.chart__tip { position: absolute; transform: translate(-50%, -125%); pointer-events: none;
  background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; padding: 7px 11px;
  white-space: nowrap; opacity: 0; transition: opacity .12s; z-index: 3; }
.chart__cap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 12px;
  font-size: .8rem; color: var(--faint); }
.chart__cap span { max-width: 60ch; }
.chart--pending { padding: 40px 0; color: var(--faint); font-size: .9rem; }

/* Chart entrances. The line draws, the fill follows it, the end value lands last,
   and category bars grow out of the axis in order. All dead under reduced-motion. */
.is-anim .c-draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.is-anim.play .c-draw { animation: cDraw 1.5s var(--ease) forwards; }
.is-anim .c-fill { opacity: 0; }
.is-anim.play .c-fill { animation: cFade .8s ease .55s forwards; }
.is-anim .c-pop { opacity: 0; }
.is-anim.play .c-pop { animation: cPop .5s var(--ease) 1.15s forwards; }
@keyframes cDraw { to { stroke-dashoffset: 0; } }
@keyframes cFade { to { opacity: 1; } }
@keyframes cPop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.c-grow { transform: scaleX(0); }
.play .c-grow { animation: cGrow .75s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms); }
@keyframes cGrow { to { transform: scaleX(1); } }
.fig__s .spark-draw, .detail__spark .spark-draw { stroke-dasharray: 1200; stroke-dashoffset: 1200;
  animation: cDraw 1.4s var(--ease) forwards; }

/* ------------------------------------------------------------ detail list -- */
/* Two columns on a wide screen: one column of evidence left two thirds of the
   viewport empty and doubled the page length. */
.detail { margin-top: 30px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(540px, 100%), 1fr));
  gap: 0 clamp(30px, 4vw, 72px); align-content: start; }
.detail__row { display: grid; grid-template-columns: minmax(min(110px, 100%), 190px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 32px); padding: 22px 0; border-top: 1px solid var(--rule); align-items: start; }
.detail__val { font-family: var(--display); font-weight: 800; letter-spacing: -.03em;
  font-size: 1.5rem; line-height: 1.15; color: var(--ink); font-variant-numeric: tabular-nums; }
.detail__val.cost { color: var(--bad); }
.detail__val.contrib { color: var(--good); }
.detail__val.pending { color: var(--faint); }

.detail__name { font-family: var(--display); font-weight: 800; letter-spacing: -.025em; font-size: 1.12rem;
  color: var(--ink); line-height: 1.15; margin-bottom: 7px; }
.detail__answer { font-size: 1.08rem; font-weight: 600; color: var(--ink); line-height: 1.45; margin: 0 0 9px;
  max-width: var(--measure); }
.detail__answer.pending { color: var(--faint); font-weight: 400; }
.detail__note { font-size: .93rem; line-height: 1.6; max-width: var(--measure); margin: 0 0 9px; }
.detail__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.detail__trend { margin: 12px 0 4px; display: flex; align-items: center; gap: 12px; }
.detail__spark { width: 190px; height: 46px; display: block; flex: 0 0 auto; }
.tagline { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tagline--est { color: #6b46c1; }
.tagline--pending { color: var(--warn); }
.verdict { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff;
  padding: 4px 9px; display: inline-block; }
.verdict--kept { background: var(--good); } .verdict--on-track { background: #2f7fbf; }
.verdict--reset { background: var(--warn); } .verdict--off-track { background: #c2570f; }
.verdict--broken { background: var(--bad); }
.detail__tools { display: flex; gap: 12px; margin-top: 8px; }
.detail__tools button { font: inherit; font-size: .76rem; font-weight: 600; color: var(--faint);
  background: none; border: 0; padding: 0; cursor: pointer; }
.detail__tools button:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 640px) { .detail__row { grid-template-columns: 1fr; gap: 8px; } }

/* ------------------------------------------------------------- lists etc -- */
.rows { margin-top: 26px; }
.row-link { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 20px; align-items: baseline;
  padding: 13px 0; border-top: 1px solid var(--rule); text-decoration: none; color: inherit; }
.row-link:first-child { border-top: 0; }
.row-link:hover .row-link__t { color: var(--bad); }
.row-link__d { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.row-link__t { font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.row-link__s { font-size: .78rem; color: var(--faint); white-space: nowrap; }
@media (max-width: 700px) { .row-link { grid-template-columns: 1fr; gap: 3px; } .row-link__s { display: none; } }

.index-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(24px, 2.6vw, 44px); margin-top: 34px; }
/* Subgrid keeps every card's headline figure on the same line across a row,
   however long the blurbs are; the blurb itself is clamped so cards stay even. */
.index-grid { grid-auto-rows: min-content; }
.index-card { text-decoration: none; color: inherit; display: grid; grid-template-rows: subgrid;
  grid-row: span 4; align-content: start; padding-top: 16px;
  border-top: 3px solid var(--ink); transition: border-color .2s; }
.index-card--brief { display: block; }
.index-card--brief p { margin-top: 8px; }
.index-card:hover { border-top-color: var(--bad); }
.index-card:hover h3 { color: var(--bad); }
.index-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.index-card p { font-size: .92rem; line-height: 1.55; margin: 0 0 12px; max-width: 44ch;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.index-card__stat { font-size: 1.5rem; color: var(--ink); display: block; align-self: end; }
.index-card__lab { font-size: .8rem; color: var(--faint); }

.pull { font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 2.1rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.18; color: var(--ink); max-width: 22ch; }
.cols2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 3.4vw, 70px);
  align-items: start; }
@media (max-width: 900px) { .cols2 { grid-template-columns: 1fr; } .chartgrid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ prose -- */
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.7rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.2rem; margin: 26px 0 10px; }
.prose p, .prose li { font-size: 1.02rem; line-height: 1.75; }
.prose strong { color: var(--ink); }
.prose a { color: var(--bad); }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .88em; background: var(--band);
  padding: 2px 6px; }
.source-list { columns: 2; column-gap: 40px; }
@media (max-width: 700px) { .source-list { columns: 1; } }
.correction { padding: 18px 0; border-top: 1px solid var(--rule); }
.correction__d { font-size: .8rem; color: var(--faint); margin-bottom: 6px; }
.correction__w { margin: 0 0 6px; }
.correction__f { margin: 0; color: var(--good); font-weight: 600; }

/* ----------------------------------------------------------------- footer -- */
.foot { background: var(--dark); color: #8794a6; padding: clamp(40px, 4vw, 64px) 0 40px; margin-top: auto; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 34px 40px; padding-bottom: 34px; border-bottom: 1px solid #232a34; }
.foot__mark { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.04em;
  color: #fff; line-height: 1.05; margin-bottom: 12px; }
.foot__blurb { font-size: .88rem; line-height: 1.6; max-width: 42ch; margin: 0; }
.foot h4 { font-family: var(--sans); font-size: .64rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #6f7c90; margin: 0 0 12px; }
.foot a { display: block; font-size: .87rem; color: #b9c0cc; text-decoration: none; padding: 4px 0; }
.foot a:hover { color: #fff; }
.foot button { display: block; font: inherit; font-size: .87rem; color: #b9c0cc; background: none; border: 0;
  padding: 4px 0; cursor: pointer; text-align: left; }
.foot button:hover { color: #fff; }
.foot__bottom { padding-top: 26px; display: flex; gap: 30px; flex-wrap: wrap; justify-content: space-between; }
.foot__legal { font-size: .78rem; line-height: 1.7; max-width: 92ch; color: #6f7c90; }
.foot__legal a { display: inline; color: #b9c0cc; }
.foot__updated { font-size: .8rem; color: #b9c0cc; white-space: nowrap; }

/* ----------------------------------------------------------------- motion -- */
[data-reveal] { opacity: 0; transform: translateY(14px); }
[data-reveal].in { opacity: 1; transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: var(--delay, 0ms); }
.flashing { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 100% { background: transparent; } 25% { background: #ffe9a8; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
