/* Countless Lab. One stylesheet, written for reading.
   A white page, a serif reading column, a quiet grotesque for navigation and notes, and the brand plum
   kept for the mark, the measured value in a chart, and nothing else. Source Serif 4 and Hanken Grotesk are
   self-hosted under the SIL Open Font License (see /assets/fonts/FONT-LICENSES.txt). */

@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/source-serif.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/hanken-grotesk.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --paper: oklch(100% 0 0);
  --paper-2: oklch(98.2% 0.004 331);
  --paper-3: oklch(95.4% 0.007 331);
  --rule: oklch(92.5% 0.007 331);
  --ink: oklch(22% 0.025 331);
  --ink-2: oklch(35% 0.025 331);
  --muted: oklch(50% 0.02 331);
  --faint: oklch(70% 0.015 331);
  --plum: oklch(26.2% 0.085 331);
  --chart: oklch(38% 0.11 331);
  --chart-context: oklch(84% 0.018 331);
  --chart-band: oklch(38% 0.11 331 / 0.1);
  --focus: oklch(40% 0.12 331);
  --error: oklch(50% 0.17 27);

  --col: 41rem;
  --wide: 68rem;
  --pad: 24px;
  --read: 1.125rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: oklch(17.5% 0.02 331);
    --paper-2: oklch(20.5% 0.022 331);
    --paper-3: oklch(24.5% 0.025 331);
    --rule: oklch(28.5% 0.022 331);
    --ink: oklch(95% 0.006 331);
    --ink-2: oklch(85% 0.01 331);
    --muted: oklch(71% 0.014 331);
    --faint: oklch(52% 0.016 331);
    --plum: oklch(86% 0.07 331);
    --chart: oklch(80% 0.1 331);
    --chart-context: oklch(40% 0.02 331);
    --chart-band: oklch(80% 0.1 331 / 0.14);
    --focus: oklch(82% 0.09 331);
    --error: oklch(76% 0.13 25);
  }
}
@media (max-width: 40rem) { :root { --pad: 20px; --read: 1.0625rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--faint) var(--paper); overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: var(--read); line-height: 1.62; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-optical-sizing: auto;
}
::selection { background: var(--plum); color: var(--paper); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: var(--faint); transition: text-decoration-color 120ms var(--ease), color 120ms var(--ease); }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; overflow-wrap: break-word; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
p, li, dd, figcaption { text-wrap: pretty; }
strong, b { font-weight: 600; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 0.9375rem; border-radius: 4px; }
.skip:focus-visible { top: 12px; }
.no-js .js-only { display: none !important; }
.js .nojs-only { display: none !important; }

/* ---------- header and footer ---------- */
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px clamp(16px, 2vw, 28px); font-family: var(--sans); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand svg { width: auto; height: 26px; flex: none; color: var(--plum); }
.mark { fill: currentColor; }
.wordmark { font-size: 0.9375rem; font-weight: 400; letter-spacing: 0.17em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.site-head nav { display: flex; align-items: center; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 0.9375rem; }
.nav-links a { display: inline-block; padding-block: 8px; text-decoration: none; color: var(--ink-2); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--plum); text-underline-offset: 0.5em; }
.menu { display: none; font-size: 0.9375rem; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--paper-3); }
.menu summary::-webkit-details-marker { display: none; }
.menu-close { display: none; }
.menu[open] .menu-open { display: none; }
.menu[open] .menu-close { display: inline; }
.menu[open] summary { position: fixed; top: 14px; right: 16px; z-index: 102; }
.menu ul { position: fixed; inset: 0; z-index: 101; margin: 0; padding: 88px 24px 40px; list-style: none; background: var(--paper); overflow-y: auto; }
.menu li a { display: block; padding: 10px 0; text-decoration: none; font-size: 1.75rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
@media (max-width: 52rem) { .nav-links { display: none; } .menu { display: block; } .brand svg { height: 24px; } .wordmark { font-size: 0.8125rem; } }

.site-foot { margin-top: clamp(96px, 12vw, 160px); padding: 0 clamp(16px, 2vw, 28px) 56px; font-family: var(--sans); font-size: 0.9375rem; color: var(--muted); }
.foot-inner { max-width: 60rem; margin-inline: auto; padding-top: 44px; border-top: 1px solid var(--rule); }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 32px; }
.foot-grid h2 { font-size: 0.9375rem; font-weight: 400; color: var(--muted); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot-grid a { color: var(--ink); text-decoration: none; }
.foot-grid a:hover { color: var(--muted); }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot-links a { color: var(--ink); text-decoration: none; }
.foot-links a:hover { color: var(--muted); }
.foot-legal { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
@media (max-width: 40rem) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- layout ---------- */
.col { width: min(100% - 2 * var(--pad), var(--col)); margin-inline: auto; }
.wide { width: min(100% - 2 * var(--pad), var(--wide)); margin-inline: auto; }
.container { width: min(100% - 2 * var(--pad), 60rem); margin-inline: auto; }
main { display: block; padding-bottom: 8px; }
.page-head { padding-top: clamp(40px, 6vw, 72px); }
.page-title { font-family: var(--sans); font-size: clamp(1.875rem, 1.4vw + 1.4rem, 2.375rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.12; }
.page-sub { margin-top: 10px; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.5; color: var(--muted); max-width: 34rem; }
.page-head .small-print, .page-head .head-count { margin-top: 18px; }

/* ---------- home masthead ---------- */
.masthead { padding: clamp(36px, 7vw, 84px) var(--pad) 0; text-align: center; font-family: var(--sans); }
.masthead svg { width: clamp(64px, 8vw, 92px); height: auto; margin-inline: auto; color: var(--plum); }
.masthead h1 { margin-top: clamp(20px, 3vw, 32px); font-size: clamp(1.75rem, 5.6vw, 3.5rem); font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.08; color: var(--ink-2); padding-left: 0.16em; }
.masthead .tagline { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: clamp(1.1875rem, 1.2vw + 0.9rem, 1.5rem); color: var(--muted); }
.notice { display: flex; justify-content: center; margin: clamp(28px, 4vw, 44px) auto 0; padding-inline: var(--gutter, 16px); max-width: 48rem; font-family: var(--sans); }
.notice a { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; text-decoration: none; font-size: 0.9375rem; line-height: 1.35; color: var(--ink); text-align: left; }
.notice b { flex: none; padding: 4px 9px; border-radius: 999px; background: var(--paper-3); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; line-height: 1; }
.notice a:hover span { text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- reading prose ---------- */
.prose { margin-top: clamp(32px, 5vw, 56px); }
.prose > * + * { margin-top: 1.15em; }
.prose > h2 { margin-top: 2.8em; margin-bottom: 0; font-family: var(--sans); font-size: 1.625rem; letter-spacing: -0.012em; line-height: 1.2; }
.prose > h2 + * { margin-top: 0.85em; }
.prose > h3 { margin-top: 2em; font-size: 1.1875rem; font-weight: 600; line-height: 1.3; }
.prose > h3 + * { margin-top: 0.5em; }
.prose em, .lead-in { font-style: italic; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.55em; }
.prose ul { list-style: square; }
.prose ul li::marker { font-size: 0.8em; }
.prose strong { font-weight: 600; }
.prose a { text-decoration-color: var(--faint); }
.prose .lead { font-size: 1.3125rem; line-height: 1.5; color: var(--ink); }
.small-print { font-family: var(--sans); font-size: 0.8125rem; line-height: 1.6; color: var(--muted); }
.prose > .small-print { margin-top: 1.1em; }
.prose > .actions { margin-top: 1.8em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-family: var(--sans); }
.more { font-family: var(--sans); font-size: 0.9375rem; }
.more a { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--paper-3); color: var(--ink); font-family: var(--sans); font-size: 0.9375rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: background-color 140ms var(--ease); }
.btn:hover { background: var(--rule); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-2); }
.btn:active { transform: translateY(1px); }

/* ---------- figures ---------- */
.figure { margin-top: clamp(32px, 5vw, 56px); }
.prose > .figure, .prose > .figure-row { margin-top: clamp(32px, 5vw, 52px); }
.figure img, .figure-row img { width: 100%; border-radius: 2px; background: var(--paper-2); }
.figure-row img { aspect-ratio: 3 / 2; object-fit: cover; }
.prose > h2 { scroll-margin-top: 24px; }
.figure figcaption, .figure-row figcaption { margin: 12px auto 0; max-width: var(--col); font-family: var(--sans); font-size: 0.8125rem; line-height: 1.55; color: var(--muted); }
figcaption b { color: var(--ink); font-weight: 600; }
figcaption .label { display: block; margin-top: 2px; }
.figure-row { margin-top: clamp(32px, 5vw, 52px); display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 28px 16px; }
.figure-row figcaption { margin-top: 10px; max-width: none; }
.figure-row--4 { --n: 4; gap: 24px 12px; }
.figure-row--3 { --n: 3; }
@media (max-width: 52rem) { .figure-row--4 { --n: 2; } .figure-row--3 { --n: 1; } }
@media (max-width: 40rem) { .figure-row { --n: 1; } .figure-row--4 { --n: 2; gap: 20px 10px; } }
.figure--shot img { border: 1px solid var(--rule); }

/* ---------- dated index (research, latest) ---------- */
.index, .prose .index { list-style: none; margin: clamp(24px, 3vw, 36px) 0 0; padding: 0; }
.prose .index li + li { margin-top: 0; }
.prose .index li::marker { content: none; }
.index li { border-bottom: 1px solid var(--rule); }
.index li:first-child { border-top: 1px solid var(--rule); }
.index a { display: grid; grid-template-columns: 8.25rem minmax(0, 1fr); gap: 2px 24px; padding: 20px 0; text-decoration: none; }
.index time, .index .kind { font-family: var(--sans); font-size: 0.9375rem; color: var(--muted); padding-top: 0.2em; font-variant-numeric: tabular-nums; }
.index .t { display: block; font-size: 1.1875rem; line-height: 1.35; color: var(--ink); }
.index a:hover .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.index .s { display: block; margin-top: 4px; font-family: var(--sans); font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
.index .ev-line { display: block; margin-top: 8px; }
.index--bare li:first-child { border-top: 0; }
@media (max-width: 40rem) { .index a { grid-template-columns: minmax(0, 1fr); } .index time { padding-top: 0; } }

/* ---------- filters (research, findings) ---------- */
.filters { margin-top: 28px; display: grid; gap: 10px; justify-items: start; font-family: var(--sans); }
.filters-label { margin-top: 8px; font-size: 0.8125rem; color: var(--muted); }
.filters-label:first-child { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); font-family: var(--sans); font-size: 0.875rem; color: var(--ink-2); cursor: pointer; text-decoration: none; transition: border-color 120ms var(--ease), background-color 120ms var(--ease); }
.chip:hover { border-color: var(--faint); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
a.chip:hover { border-color: var(--ink); }
.search { width: min(100%, 26rem); min-height: 44px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); font-family: var(--sans); font-size: 0.9375rem; color: var(--ink); }
.search::placeholder { color: var(--muted); opacity: 1; }
.search:focus-visible { outline-offset: 1px; }
.filters-status { min-height: 1.5em; font-size: 0.875rem; color: var(--ink-2); }
.linklike { appearance: none; background: none; border: 0; padding: 8px 0; min-height: 40px; font-family: var(--sans); font-size: 0.875rem; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; cursor: pointer; }
.head-count { font-family: var(--sans); font-size: 0.9375rem; color: var(--ink-2); }
.head-count .num { font-weight: 600; color: var(--ink); }

/* ---------- evidence marks and findings ---------- */
.evs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.ev { display: inline-flex; align-items: center; min-height: 22px; padding: 0 9px; border-radius: 999px; font-family: var(--sans); font-size: 0.75rem; line-height: 1; color: var(--ink-2); background: var(--paper-3); white-space: nowrap; }
.ev--people { background: var(--ink); color: var(--paper); font-weight: 600; }
.ev--literature, .ev--record { background: transparent; box-shadow: inset 0 0 0 1px var(--faint); }
.verdict { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 0.875rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.verdict .mk { flex: none; width: 12px; height: 12px; border: 2px solid currentColor; border-radius: 50%; }
.verdict--holds .mk { background: currentColor; }
.verdict--partly .mk { background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.verdict--open { color: var(--muted); }
.verdict--open .mk { border-style: dashed; }
.verdict--no { color: var(--error); }
.chip[aria-pressed="true"] .verdict { color: inherit; }

.ev-key { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; margin: 28px 0 0; font-family: var(--sans); }
.ev-key dd { margin: 8px 0 0; font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }
@media (max-width: 40rem) { .ev-key { grid-template-columns: minmax(0, 1fr); } }
.group-head { margin-top: clamp(56px, 8vw, 88px); }
.group-head h2 { font-family: var(--sans); font-size: 1.625rem; letter-spacing: -0.012em; line-height: 1.2; }
.group-head p { margin-top: 10px; color: var(--muted); font-family: var(--sans); font-size: 1rem; line-height: 1.55; }
.claims { margin-top: 24px; border-top: 1px solid var(--rule); }
.claim { border-bottom: 1px solid var(--rule); }
.claim summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px 24px; padding: 20px 28px 20px 0; position: relative; }
.claim summary::-webkit-details-marker { display: none; }
.claim summary::after { content: ""; position: absolute; right: 4px; top: 28px; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform 200ms var(--ease); }
.claim[open] summary::after { transform: rotate(-135deg); top: 31px; }
.claim summary:hover .claim-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.claim-title { font-size: 1.1875rem; line-height: 1.35; }
.claim-meta { display: grid; justify-items: end; gap: 8px; }
.claim-body { padding: 0 28px 24px 0; display: grid; gap: 14px; font-size: 1.0625rem; }
.claim-body p { color: var(--ink-2); }
.claim-watch { padding-left: 16px; border-left: 2px solid var(--rule); }
.claim-watch b { color: var(--ink); }
.claim-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: var(--sans); font-size: 0.9375rem; }
.claim-links a { color: var(--ink); font-weight: 500; text-underline-offset: 4px; }
.claim:target { background: var(--paper-2); box-shadow: -12px 0 0 var(--paper-2); }
@media (max-width: 40rem) { .claim summary { grid-template-columns: minmax(0, 1fr); } .claim-meta { justify-items: start; } }

/* ---------- tables ---------- */
.table-wrap { margin-top: 28px; overflow-x: auto; }
.table-wrap:focus-visible { outline-offset: 2px; }
.tbl { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.9375rem; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 14px 20px 14px 0; border-bottom: 1px solid var(--rule); line-height: 1.5; }
.tbl thead th { font-weight: 500; font-size: 0.8125rem; color: var(--muted); white-space: nowrap; border-bottom-color: var(--ink); padding-top: 0; }
.tbl tbody th { font-weight: 600; color: var(--ink); }
.tbl td { color: var(--ink-2); }
.tbl .num { text-align: right; padding-right: 12px; white-space: nowrap; }
@media (max-width: 40rem) {
  .tbl--stack, .tbl--stack tbody, .tbl--stack tr, .tbl--stack th, .tbl--stack td { display: block; width: auto; }
  .tbl--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tbl--stack tr { padding-block: 14px; border-bottom: 1px solid var(--rule); }
  .tbl--stack th, .tbl--stack td { border: 0; padding: 2px 0; }
}

/* ---------- quotes, callouts, notes ---------- */
.pull { margin-top: 2em; padding-left: 22px; border-left: 2px solid var(--plum); font-size: 1.3125rem; line-height: 1.5; font-style: italic; }
.pull cite { display: block; margin-top: 12px; font-family: var(--sans); font-size: 0.8125rem; font-style: normal; color: var(--muted); line-height: 1.5; }
.callout { margin-top: 1.6em; padding: 4px 0 4px 20px; border-left: 2px solid var(--rule); font-size: 1.0625rem; }
.callout p { max-width: none; }
.update-note { border-left-color: var(--plum); }
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 28px; margin: 0; padding: 18px 0; border-block: 1px solid var(--rule); font-family: var(--sans); }
.glance dt { font-size: 1.625rem; font-weight: 500; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: lining-nums tabular-nums; }
.glance dd { margin: 6px 0 0; font-size: 0.8125rem; color: var(--muted); line-height: 1.35; max-width: 11rem; }
@media (max-width: 36rem) { .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tbl .nw { white-space: nowrap; }
.prose > .glance { margin-top: 2em; }

/* A ruled list of names and one-line jobs. */
.roster { margin-top: 1.4em; border-top: 1px solid var(--rule); font-family: var(--sans); }
.roster > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.roster dt { font-weight: 600; font-size: 0.9375rem; }
.roster dd { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); }
.roster dd small { display: block; margin-top: 4px; font-size: 0.8125rem; color: var(--muted); }
.roster .status { color: var(--muted); font-weight: 400; }
@media (max-width: 40rem) { .roster > div { grid-template-columns: minmax(0, 1fr); } }

.contact { font-family: var(--sans); font-size: clamp(1.375rem, 1.6vw + 0.9rem, 1.875rem); font-weight: 500; letter-spacing: -0.012em; line-height: 1.2; }
.contact a { text-decoration-color: var(--faint); }
.contact-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 6px; }
.contact-copy .linklike { padding-block: 0; min-height: 32px; }
.copy-status { color: var(--ink-2); }
.prose > ul.chips { margin-top: 20px; padding-left: 0; list-style: none; }
.prose > ul.chips li + li { margin-top: 0; }

/* ---------- papers ---------- */
.paper-head { text-align: center; padding: clamp(36px, 6vw, 72px) var(--pad) 0; }
.paper-head h1 { max-width: 22ch; margin-inline: auto; font-family: var(--serif); font-size: clamp(1.875rem, 2.4vw + 1.2rem, 2.875rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; }
.paper-head .byline { margin-top: 22px; font-family: var(--sans); font-size: 0.9375rem; color: var(--ink); }
.paper-head .dateline { margin-top: 2px; font-family: var(--sans); font-size: 0.9375rem; color: var(--muted); }
.paper-head .evs { justify-content: center; margin-top: 14px; }
.paper-head .abstract { margin: 26px auto 0; max-width: 33rem; font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); font-style: italic; }
.paper-grid { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, var(--col)) minmax(0, 1fr); column-gap: 0; }
.paper-grid > .article-body { grid-column: 2; padding-inline: 0; }
.paper-grid { padding-inline: var(--pad); }
.toc { display: none; grid-column: 1; grid-row: 1; justify-self: end; width: 13rem; margin-right: 56px; font-family: var(--sans); font-size: 0.8125rem; }
.toc ul { position: sticky; top: 28px; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.toc a { display: block; text-decoration: none; color: var(--muted); line-height: 1.4; padding-left: 14px; margin-left: -14px; position: relative; }
.toc a:hover { color: var(--ink); }
.toc a[aria-current] { color: var(--ink); }
.toc a[aria-current]::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }
@media (min-width: 78rem) { .toc { display: block; } }
@media (max-width: 78rem) { .paper-grid { display: block; width: min(100%, calc(var(--col) + 2 * var(--pad))); margin-inline: auto; } }
.article-body > * + * { margin-top: 1.15em; }
.article-body h2 { margin-top: 2.6em; font-family: var(--sans); font-size: 1.5rem; letter-spacing: -0.012em; line-height: 1.2; scroll-margin-top: 24px; }
.article-body h2 + * { margin-top: 0.8em; }
.article-body h3 { margin-top: 2em; font-size: 1.1875rem; font-style: italic; font-weight: 500; line-height: 1.3; }
.article-body h3 + * { margin-top: 0.5em; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body ul { list-style: square; }
.article-body li + li { margin-top: 0.5em; }
.article-body blockquote { margin-block: 1.8em; padding-left: 22px; border-left: 2px solid var(--plum); font-size: 1.25rem; line-height: 1.5; font-style: italic; }
.article-body table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.9375rem; margin-block: 24px; }
.article-body th { text-align: left; font-weight: 500; color: var(--muted); padding: 0 14px 8px 0; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.article-body td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.article-body td.num, .article-body th.num { text-align: right; padding-right: 0; }
.article-body figure { margin-block: 2.2em; }
.article-body figcaption { margin-top: 10px; font-family: var(--sans); font-size: 0.8125rem; color: var(--muted); line-height: 1.55; }
.article-body .table-wrap { margin-top: 1.4em; }
.sources { margin-top: 3.4em; padding-top: 1.4em; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 0.8125rem; line-height: 1.6; color: var(--muted); }
.sources > p { font-weight: 600; color: var(--ink-2); }
.sources ol { padding-left: 1.4em; margin: 10px 0 0; }
.next-note { margin-top: 2.4em; font-family: var(--sans); font-size: 0.9375rem; }

/* ---------- charts ---------- */
.chart { margin: 0; font-family: var(--sans); }
.article-body .chart { margin-block: 2.2em; }
.chart-title { font-size: 0.9375rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.chart-note { margin-top: 12px; font-size: 0.8125rem; line-height: 1.55; color: var(--muted); max-width: 40rem; }
.chart-note a { color: var(--ink-2); }
.bars { margin-top: 16px; display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr) 4.25rem; align-items: center; column-gap: 16px; font-size: 0.875rem; }
.bar-label { color: var(--ink-2); line-height: 1.35; }
.bar-track { position: relative; height: 10px; background: var(--paper-3); border-radius: 1px; }
.bar { position: absolute; inset: 0 auto 0 0; background: var(--chart-context); }
.bar.is-hi { background: var(--chart); }
.bar-value { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
@media (max-width: 40rem) { .bar-row { grid-template-columns: minmax(0, 1fr) 4rem; row-gap: 4px; } .bar-track { grid-column: 1 / -1; grid-row: 2; } .bar-label, .bar-value { grid-row: 1; } }
.stack { margin-top: 16px; display: flex; gap: 2px; height: 10px; }
.seg { display: block; height: 100%; }
.seg--hi, .key--hi { background: var(--chart); }
.seg--context, .key--context { background: var(--chart-context); }
.seg--faint, .key--faint { background: var(--paper-3); }
.key--empty { background: transparent; box-shadow: inset 0 0 0 1.5px var(--chart-context); }
.stack-keys { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 0.875rem; color: var(--ink-2); }
.stack-keys b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.key { display: inline-block; width: 10px; height: 10px; margin-right: 0.45em; border-radius: 1px; }
.units { margin-top: 16px; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; max-width: 22rem; }
.unit { aspect-ratio: 1; border-radius: 2px; box-shadow: inset 0 0 0 1.5px var(--chart-context); }
.unit.is-hi { background: var(--chart); box-shadow: none; }
.nl { margin-top: 16px; padding-inline: 6px; }
.nl-labels { position: relative; height: calc(var(--rows) * 2.6rem); }
.nl-label { position: absolute; bottom: 0; padding: 0 0 6px 6px; border-left: 1px solid var(--faint); font-size: 0.75rem; line-height: 1.3; color: var(--ink-2); white-space: nowrap; }
.nl-label b { display: block; font-size: 0.875rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.nl-label--end { transform: translateX(-100%); border-left: 0; border-right: 1px solid var(--faint); padding: 0 6px 6px 0; text-align: right; }
.nl-row-1 { bottom: 2.6rem; } .nl-row-2 { bottom: 5.2rem; }
.nl-track { position: relative; height: 22px; }
.nl-axis { position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--ink); }
.nl-band { position: absolute; top: 3px; bottom: 3px; background: var(--chart-band); border-radius: 2px; }
.nl-mark { position: absolute; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 2px; background: var(--paper); box-shadow: 0 0 0 1.5px var(--ink-2); }
.nl-mark--hi { background: var(--chart); box-shadow: 0 0 0 2px var(--paper); }
.nl-ticks { position: relative; height: 1.3rem; font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.nl-ticks span { position: absolute; transform: translateX(-50%); }
.nl-axis-label { margin-top: 4px; font-size: 0.75rem; color: var(--muted); text-align: right; }
.figure-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
@media (max-width: 52rem) { .figure-pair { grid-template-columns: minmax(0, 1fr); } }
.stat { margin: 0; }
.stat-figure { font-family: var(--sans); font-weight: 500; font-size: clamp(2.25rem, 2.2vw + 0.75rem, 3rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.stat-text { margin-top: 10px; max-width: 24rem; color: var(--ink); }

/* ---------- the dial ---------- */
.dial { margin-top: 28px; font-family: var(--sans); }
.dial-ui { display: grid; gap: 24px; }
.dial-bands { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
.dial-band { appearance: none; min-height: 56px; padding: 8px 6px 10px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: transparent; color: var(--muted); cursor: pointer; display: grid; gap: 2px; justify-items: center; align-content: center; transition: color 120ms var(--ease), border-color 120ms var(--ease); }
.dial-band b { font-size: 0.9375rem; font-weight: 500; line-height: 1.1; }
.dial-band span { font-size: 0.75rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.dial-band:hover { color: var(--ink); }
.dial-band[aria-checked="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.dial-band[aria-checked="true"] b { font-weight: 600; }
.dial-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.dial-plot { position: relative; touch-action: pan-y; }
.dial-plot svg { width: 100%; height: auto; overflow: visible; }
.dial-plot text { font-family: var(--sans); font-size: 12px; fill: var(--muted); }
.dial-plot .tick { stroke: var(--rule); stroke-width: 1; }
.dial-plot .axis { stroke: var(--faint); stroke-width: 1; }
.dial-plot .pt { fill: var(--chart-context); opacity: 0.8; transition: fill 220ms var(--ease), opacity 220ms var(--ease); }
.dial-plot .pt.on { fill: var(--chart); opacity: 0.9; animation: dial-in 420ms var(--ease) both; transform-box: fill-box; transform-origin: center; }
.dial-plot .pt.pick { stroke: var(--ink); stroke-width: 2; opacity: 1; }
.dial-plot .ring { fill: none; stroke: var(--ink); stroke-width: 2; }
@keyframes dial-in { from { opacity: 0; transform: scale(0.3); } to { opacity: 0.9; transform: scale(1); } }
.dial-plot .trace { fill: none; stroke: var(--faint); stroke-width: 1.25; stroke-dasharray: 3 4; }
.dial-plot .mean { fill: var(--paper); stroke: var(--faint); stroke-width: 2; transition: stroke 220ms var(--ease), fill 220ms var(--ease); }
.dial-plot .mean.on { fill: var(--ink); stroke: var(--ink); }
.dial-plot .mean-label { fill: var(--muted); font-size: 11px; }
.dial-plot .mean-label.on { fill: var(--ink); font-weight: 600; paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.dial-plot .axis-title { fill: var(--ink-2); font-size: 12px; }
.dial-plot figcaption { margin-top: 8px; font-size: 0.8125rem; color: var(--muted); min-height: 2.6em; }
.dial-card { display: grid; gap: 16px; }
.dial-card h3 { font-family: var(--serif); font-size: 1.625rem; font-weight: 600; line-height: 1.1; }
.dial-card .dial-what { color: var(--ink-2); font-family: var(--serif); font-size: 1.0625rem; max-width: none; }
.dial-means { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; }
.dial-means dt { font-size: 0.8125rem; color: var(--muted); }
.dial-means dd { margin: 4px 0 0; font-size: 1.75rem; font-weight: 500; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.meter { display: block; height: 4px; margin-top: 10px; background: var(--chart-context); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--chart); transition: width 420ms var(--ease); }
.dial-example { padding-top: 16px; border-top: 1px solid var(--rule); }
.dial-example .dial-kicker { font-size: 0.8125rem; color: var(--muted); }
.dial-example h4 { margin: 4px 0 0; font-family: var(--serif); font-weight: 600; font-size: 1.1875rem; line-height: 1.25; }
.dial-example p.dial-line { margin-top: 6px; color: var(--ink-2); font-family: var(--serif); font-size: 1rem; max-width: none; }
.dial-example .dial-scores { margin-top: 6px; font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.dial-list summary { cursor: pointer; font-size: 0.875rem; color: var(--ink); min-height: 40px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.dial-list ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; font-size: 0.875rem; }
.dial-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding-block: 8px; border-top: 1px solid var(--rule); color: var(--ink-2); margin: 0; }
.dial-list li span:last-child { font-variant-numeric: tabular-nums; color: var(--ink); }
.dial-source { margin-top: 16px; }
.dial.is-ready .dial-static { display: none; }
.dial-static .tbl { font-size: 0.875rem; }
@media (max-width: 52rem) { .dial-body { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 40rem) {
  .dial-band span { display: none; }
  .dial-band b { font-size: 0.8125rem; }
}

/* ---------- the pick test ---------- */
.pick { margin-top: 36px; font-family: var(--sans); }
.pick > * { max-width: 40rem; }
.pick-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 0.9375rem; color: var(--muted); }
.pick-topic { color: var(--ink); }
.pick-progress { height: 2px; margin-top: 8px; background: var(--rule); }
.pick-progress span { display: block; width: 100%; height: 100%; background: var(--plum); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease); }
.pick-cards { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.pick-card { border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); color: var(--ink); transition: border-color 120ms var(--ease), background-color 120ms var(--ease); }
.pick-card:hover { border-color: var(--faint); }
.pick-card.is-picked { border-color: var(--plum); background: var(--paper-2); }
.pick-joke { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: 12px; width: 100%; padding: 16px 16px 8px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); border-radius: 6px; }
.pick-key { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; margin-top: 0.15em; border: 1px solid var(--rule); border-radius: 4px; font-size: 0.8125rem; color: var(--muted); }
.pick-card.is-picked .pick-key { background: var(--plum); border-color: var(--plum); color: var(--paper); }
.pick-text { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.45; }
.pick-seen { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px calc(1.75rem + 28px); font-size: 0.8125rem; color: var(--muted); cursor: pointer; }
.pick-seen input { accent-color: var(--plum); margin: 0; }
.pick-after { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.pick-after-label { width: 100%; font-size: 0.9375rem; color: var(--muted); }
.pick-tags { display: flex; gap: 8px; }
.pick-after .btn { margin-left: auto; }
.pick-help, .pick-loading { margin-top: 24px; font-size: 0.8125rem; color: var(--muted); }
@media (pointer: coarse) { .pick-help { display: none; } }
.pick-result .lead { margin-top: 16px; }
.pick-result h2:focus { outline: none; }
.minds { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 8px; font-size: 0.9375rem; }
.mind { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr) 4.5rem; align-items: center; gap: 16px; padding-block: 4px; color: var(--ink-2); }
.mind.is-top { color: var(--ink); font-weight: 500; }
.mind-bar { position: relative; height: 8px; background: var(--paper-3); border-radius: 2px; }
.mind-bar span { position: absolute; inset: 0 auto 0 0; background: var(--chart-context); border-radius: 2px; }
.mind.is-top .mind-bar span { background: var(--chart); }
.mind-bar i { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--ink); }
.mind-num { text-align: right; color: var(--muted); }
.result-note { margin-top: 16px; font-size: 0.9375rem; color: var(--muted); max-width: 40rem; line-height: 1.55; }
.pick-result .actions { margin-top: 36px; }
.your-picks { margin-top: 36px; }
.your-picks summary { cursor: pointer; font-size: 0.9375rem; color: var(--ink-2); }
.your-picks ol { margin: 16px 0 0; padding-left: 1.4em; display: grid; gap: 12px; font-family: var(--serif); }
.your-picks q { display: block; quotes: none; }
.your-picks .who { display: block; font-family: var(--sans); font-size: 0.8125rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 40rem) {
  .mind { grid-template-columns: minmax(0, 1fr) 4rem; row-gap: 4px; }
  .mind-bar { grid-column: 1 / -1; grid-row: 2; }
  .pick-after .btn { margin-left: 0; width: 100%; }
}
.not-found { min-height: 40svh; }
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 110; transform-origin: 0 50%; transform: scaleX(0); background: var(--plum); pointer-events: none; }

@media print {
  .site-head, .toc, .read-progress, .menu, .filters, .actions .btn, .notice { display: none !important; }
  body { color: #000; background: #fff; }
  .dial.is-ready .dial-static { display: block; }
  .dial-ui { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }

/* Home and plain lists: little text, set larger */
.home-lede { margin-top: clamp(28px, 5vw, 56px); text-align: center; }
.home-lede p { font-size: clamp(1.25rem, 2.4vw, 1.5rem); line-height: 1.5; max-width: 34rem; margin-inline: auto; }
.index--titles a { padding: 15px 0; align-items: baseline; }
.index--titles time { padding-top: 0; }
.index--titles .t { font-size: 1.125rem; }
.home-lede + .figure, .home-lede + figure { margin-top: clamp(36px, 6vw, 64px); }
.figure--narrow { max-width: 26rem; margin-inline: 0; }
