/* =====================================================================
   Ground Truth — design system
   Direction: "The Redaction"
   Display: Archivo · Body: Source Serif 4 · Data: IBM Plex Mono
   Red (#c0392b) is used ONLY for what is hidden / corrections / flags.
   ===================================================================== */

:root {
  --paper:    #ffffff;
  --paper-2:  #f5f5f2;
  --ink:      #17181a;
  --slate:    #25405c;
  --slate-2:  #34506d;
  --red:      #c0392b;
  --red-wash: #faf1ef;
  --muted:    #6b6a63;
  --rule:     #d8d6cd;
  --rule-2:   #cbc8bd;

  --measure: 44rem;   /* unified reading column ~704px — same everywhere */
  --wide:    44rem;   /* unified container width — header, content, bands, footer all align */

  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ---- layout helpers ---- */
.wrap    { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 28px; }
.measure { width: 100%; max-width: var(--measure); margin: 0 auto; padding: 0 28px; }

/* ---- links ---- */
a { color: var(--slate); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
/* long unbreakable strings — bare source URLs in citations/registry — must wrap
   rather than force horizontal page scroll on narrow screens */
main a { overflow-wrap: anywhere; }

/* ---- shared type ---- */
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 14px;
}
.kicker--red { color: var(--red); }

h1, h2, h3 { font-family: var(--display); color: var(--ink); letter-spacing: -0.02em; }
h2 a, h3 a { text-decoration: none; }

/* ===================================================================
   Site header / masthead
   =================================================================== */
.site-header {
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 28px;
  max-width: var(--wide);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand__mark {                 /* the redaction bar */
  width: 34px;
  height: 15px;
  background: var(--ink);
  flex: none;
  display: inline-block;
}
.brand__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.site-nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-nav a { color: var(--ink); text-decoration: none; padding-bottom: 2px; }
.site-nav a:hover { color: var(--red); }
.site-nav a[aria-current="page"] { border-bottom: 2px solid var(--red); color: var(--ink); }

/* ---- the recurring tick "datum" rule (borrowed from the survey motif) ---- */
.datum {
  height: 12px;
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  background-image: repeating-linear-gradient(90deg, var(--ink) 0, var(--ink) 1px, transparent 1px, transparent 15px);
  background-size: 15px 6px;
  background-position: left bottom;
  background-repeat: repeat-x;
  margin: 0;
}

/* ===================================================================
   Homepage
   =================================================================== */
.hero { padding: 72px 0 8px; }
.hero__answer {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 26px;
  max-width: 20em;
}
.hero__answer em { font-style: italic; }
.hero__sub {
  font-size: 20px;
  line-height: 1.55;
  color: #3d3e41;
  max-width: 36em;
  margin: 0;
}
.hero__redact { background: var(--ink); color: transparent; border-radius: 1px; padding: 0 2px; user-select: none; }

/* hero reading actions — the first thing to DO, above the fold: two restrained
   typographic links, not SaaS buttons. Primary carries the ink underline. */
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 12px 30px;
  margin: 28px 0 0;
  font-family: var(--mono); font-size: 13.5px; letter-spacing: 0.04em;
}
.hero__cta a { text-decoration: none; padding: 4px 0 3px; }
.hero__cta-primary { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--ink); }
.hero__cta-primary:hover { color: var(--red); border-bottom-color: var(--red); }
.hero__cta-secondary { color: var(--slate); border-bottom: 1px solid var(--rule-2); }
.hero__cta-secondary:hover { color: var(--red); border-bottom-color: var(--red); }
.hero__aud {
  margin: 20px 0 0; font-style: italic; font-size: 15px; line-height: 1.5;
  color: var(--muted); max-width: 36em;
}

/* hero diagram — a headline refracted into the conditions it compressed; the
   most-often-cut one (safety) in red. Sits inside .wrap, so it keeps the single
   aligned reading column. Pure-white artwork blends into the paper background. */
.hero-figure { margin: 40px 0 0; padding: 26px 0 0; border-top: 1px solid var(--rule); }
.hero-figure img { width: 100%; height: auto; display: block; }
.hero-figure__cap {
  margin: 14px 0 0; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.02em; line-height: 1.6; color: var(--muted); max-width: 40em;
}

/* Redaction hero — the method as a specimen: a claim with its condition cut, then put back in red.
   Pure reflowing type (house fonts) so it reads sharp desktop -> mobile with one artifact. */
.redact-hero { max-width: 42rem; }
.redact-hero__row {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--slate); margin: 0 0 12px;
}
.redact-hero__row--cut { color: var(--red); margin: 26px 0 12px; }
.redact-hero__claim {
  font-family: var(--serif); font-weight: 600; line-height: 1.22; color: var(--ink);
  font-size: clamp(1.5rem, 4.2vw, 2.35rem); margin: 0;
}
.redact-hero__bar {
  display: inline-block; height: 0.82em; width: 11.5em; max-width: 58%;
  background: var(--ink); border-radius: 1px; vertical-align: -0.05em; margin-left: 0.18em;
}
.redact-hero__restore {
  font-family: var(--serif); font-style: italic; line-height: 1.4; color: var(--red);
  font-size: clamp(1.05rem, 2.5vw, 1.45rem); margin: 0; max-width: 34em;
}
@media (max-width: 640px) { .redact-hero__bar { width: 9em; max-width: 66%; } }

.positioning {
  margin: 40px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--slate);
  text-transform: uppercase;
}

/* editorial standard strip */
.standard {
  background: var(--ink);
  color: var(--paper);
  margin-top: 64px;
  padding: 56px 0;
}
.standard .kicker { color: #e08a80; }
.standard h2 {
  color: var(--paper);
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 700;
  margin: 0 0 34px;
  max-width: 20em;
  line-height: 1.15;
}
.standard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(246,245,241,0.16);
  border: 1px solid rgba(246,245,241,0.16);
}
.standard-card { background: var(--ink); padding: 26px 24px; }
.standard-card__n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: #e08a80; }
.standard-card h3 { color: var(--paper); font-size: 18px; font-weight: 600; margin: 12px 0 8px; letter-spacing: -0.01em; }
.standard-card p { margin: 0; font-size: 15.5px; line-height: 1.55; color: #c9c8c2; }

/* piece list (featured + archive) */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 64px 0 8px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}
.section-head h2 { font-size: 22px; font-weight: 700; margin: 0; }
.section-head .kicker { margin: 0 0 0 auto; }

.piece-list { list-style: none; margin: 0; padding: 0; }
.piece {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
/* The archive type-filter sets [hidden] on non-matching pieces; this author rule
   must override .piece's own `display:grid`, which otherwise beats the UA
   `[hidden]{display:none}` and leaves "hidden" pieces visible (filter looks dead). */
.piece[hidden] { display: none; }
.piece__meta { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; line-height: 1.7; }
.piece__tag { color: var(--slate); }
.piece__title { font-family: var(--display); font-weight: 700; font-size: 25px; line-height: 1.14; letter-spacing: -0.02em; margin: 0 0 8px; }
.piece__title a { color: var(--ink); text-decoration: none; }
.piece__title a:hover { color: var(--red); }
.piece__summary { margin: 0; font-size: 17.5px; line-height: 1.5; color: #3d3e41; max-width: 40em; }
.piece--soon .piece__title { color: var(--muted); }
.piece--soon .piece__flag { color: var(--red); }

/* compact piece — homepage tail: date + type + title only, so the homepage
   curates while /articles/ archives. Same row rhythm, half the height. */
.piece--compact { padding: 16px 0; gap: 8px 28px; }
.piece--compact .piece__title { font-size: 19px; line-height: 1.25; margin: 0; }
.piece--compact .piece__meta { line-height: 1.6; align-self: baseline; }

/* archetype chip — shown on a card only once more than one archetype is in play.
   Slate/ink only: red stays reserved for hidden text, corrections, and flags. */
.piece__kind { display: inline-block; white-space: nowrap; color: var(--slate); border: 1px solid var(--rule-2); border-radius: 2px; padding: 0 6px; }

/* type filter on the archive — browse/navigate by archetype (progressive enhancement:
   with JS off every piece stays visible). Slate/ink only. */
.type-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 30px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.type-filter button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--slate); background: transparent; border: 1px solid var(--rule-2); border-radius: 2px; padding: 5px 11px; cursor: pointer; }
.type-filter button:hover { border-color: var(--slate); }
.type-filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.type-filter button:focus-visible { outline: 2px solid var(--slate); outline-offset: 2px; }

/* investigation verdict panel — the visible, honest judgement an investigation
   leads with, kept in lockstep with its ClaimReview rating by the build. */
.verdict { border-left: 3px solid var(--slate); background: var(--paper-2); padding: 18px 22px; margin: 28px 0 36px; }
.verdict__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); margin: 0 0 10px; }
.verdict__scale { color: var(--muted); }
.verdict__claim { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.4; color: var(--ink); margin: 0 0 12px; padding: 0; border: 0; }
.verdict__line { margin: 0; font-size: 17px; line-height: 1.5; color: #3d3e41; }
.verdict__source { margin: 12px 0 0; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.verdict__source a { color: var(--slate); }

/* rating card — the reusable structured claim rating (composite band on the
   shared 1–5 spine, dimension marks, hidden conditions, sources). Generated by
   the build from the manifest `rating` block; kept in lockstep with its
   ClaimReview node. Ink/slate chrome; red ONLY on hidden conditions. */
.rating { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--rule); margin: 28px 0 40px; }
.rating__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--rule); font-family: var(--mono); }
.rating__head-brand { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.rating__path { font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.rating__claim { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.4; color: var(--ink); margin: 20px 0 8px; padding: 0; border: 0; }
.rating__claimant { margin: 0 0 20px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.rating__band { padding: 16px 0 18px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.rating__band-label { margin: 0 0 12px; font-family: var(--display); font-size: 25px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.rating__spine { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 10px; margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.4; }
.rating__spine li { border-top: 1px solid var(--rule-2); padding-top: 8px; color: var(--muted); }
.rating__spine li.is-band { border-top: 3px solid var(--ink); padding-top: 6px; color: var(--ink); font-weight: 600; }
.rating__line { margin: 14px 0 0; font-size: 16.5px; line-height: 1.5; color: #3d3e41; }
.rating__note { margin: 12px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.03em; color: var(--muted); }
/* Two reading speeds: the dimension table folds. Markup ships open (JS-off =
   today's full card); a tiny inline script closes it on phones so mobile readers
   meet the verdict, rationale and sources first and opt into the detail. */
.rating__dimfold { margin: 0; }
.rating__dimfold-head {
  display: block; list-style: none; cursor: pointer;
  padding: 16px 0 8px; font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.rating__dimfold-head::-webkit-details-marker { display: none; }
.rating__dimfold-head::after { content: "· show"; color: var(--muted); font-weight: 400; letter-spacing: 0.06em; margin-left: 8px; }
.rating__dimfold[open] > .rating__dimfold-head::after { content: "· hide"; }
.rating__dimfold-head:hover::after { color: var(--red); }
.rating__dims { width: 100%; border-collapse: collapse; margin: 0; }
.rating__dims caption { text-align: left; padding: 16px 0 8px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.rating__dims tr { border-top: 1px solid var(--rule); }
.rating__dims th { width: 138px; padding: 11px 12px 11px 0; text-align: left; vertical-align: top; font-family: var(--display); font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.rating__dims td { padding: 11px 0; vertical-align: top; font-size: 15px; line-height: 1.5; color: #3d3e41; }
.rating__dims td.rating__mark { width: 96px; padding-right: 12px; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.rating__hidden { display: block; margin-top: 3px; color: var(--red); }
.rating__hidden-tag { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.rating__nohidden { display: block; margin-top: 3px; font-size: 14px; color: var(--muted); }
.rating__sources { padding: 14px 0 16px; border-top: 1px solid var(--rule); }
.rating__sources-head { margin: 0 0 8px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.rating__sources ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 5px; font-size: 15px; line-height: 1.5; }
.rating__sources a { color: var(--slate); }
.rating__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 13px 0 16px; border-top: 2px solid var(--ink); font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.rating__foot a { color: var(--muted); }
@media (max-width: 640px) {
  .rating__spine { grid-template-columns: 1fr; gap: 6px; }
  .rating__spine li { border-top: 0; border-left: 1px solid var(--rule-2); padding: 0 0 0 10px; }
  .rating__spine li.is-band { border-top: 0; border-left: 3px solid var(--ink); padding-left: 8px; }
  .rating__dims, .rating__dims tbody, .rating__dims tr, .rating__dims th, .rating__dims td { display: block; width: auto; }
  .rating__dims tr { padding: 10px 0; }
  .rating__dims th { width: auto; padding: 0 0 2px; }
  .rating__dims td { padding: 0; }
  .rating__dims td.rating__mark { width: auto; padding: 0 0 2px; }
}

/* lead story — the featured piece surfaced directly under the hero */
.lead-story { padding-bottom: 28px; }
.lead-story .section-head { margin-top: 72px; }
.piece--lead {
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 34px 0 48px;
  border-top: 2px solid var(--ink);
}
.piece--lead .piece__meta { display: flex; gap: 16px; }
.piece--lead .piece__title { font-size: clamp(27px, 3.9vw, 37px); line-height: 1.1; margin: 8px 0 16px; }
.piece--lead .piece__summary { font-size: 19px; line-height: 1.62; max-width: 42em; }
.piece__more { margin: 26px 0 0; }
.piece__more a { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: var(--red); text-decoration: none; }
.piece__more a:hover { text-decoration: underline; }
.archive-link { margin: 34px 0 0; }
.archive-link a { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; }

/* ===================================================================
   Article base (shared prose) — bespoke article styling lives in-page
   =================================================================== */
.article { padding: 8px 0 0; }
.article-header { padding: 56px 0 0; }
.article-header h1 {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 800;
  line-height: 1.06;
  margin: 16px 0 20px;
}
.article-standfirst {
  font-size: 22px;
  line-height: 1.5;
  color: #3d3e41;
  margin: 0 0 26px;
  max-width: 34em;
}
.article-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 8px;
}
.article-dates b { color: var(--slate); font-weight: 500; }

.callout {
  margin: 32px 0;
  padding: 22px 26px;
  background: var(--paper-2);
  border-left: 4px solid var(--slate);
}
.callout--correction { background: var(--red-wash); border-left-color: var(--red); }
.callout .kicker { margin-bottom: 8px; }
.callout--correction .kicker { color: var(--red); }
.callout p { margin: 0; font-size: 17px; line-height: 1.55; }

/* ---- disclosure panel — build-injected provenance block at each article's end:
   dates, author identity, funding, AI use, rating/rubric, data, corrections.
   Quiet reference furniture, not editorial. ---- */
.disclosure {
  margin: 56px 0 0;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 0 0 6px;
}
.disclosure__head {
  margin: 0; padding: 14px 0 10px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.disclosure__grid { margin: 0; }
.disclosure__grid > div { display: grid; grid-template-columns: 118px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.disclosure__grid > div:last-child { border-bottom: 0; }
.disclosure__grid dt {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); padding-top: 3px;
}
.disclosure__grid dd { margin: 0; font-size: 15.5px; line-height: 1.55; color: #3d3e41; }
.disclosure__grid dd a { color: var(--slate); }
@media (max-width: 640px) {
  .disclosure__grid > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---- about-org block appended to articles ---- */
.about-org {
  margin: 56px 0 0;
  padding: 28px 30px;
  border: 1px solid var(--rule-2);
  background: var(--paper-2);
}
.about-org .kicker { margin-bottom: 10px; }
.about-org h2 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.about-org p { margin: 0 0 12px; font-size: 16.5px; line-height: 1.6; color: #2a2b2d; }
.about-org p:last-child { margin-bottom: 0; }

/* ===================================================================
   Generic page (about, archive)
   =================================================================== */
.page-header { padding: 64px 0 0; }
.page-header h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; line-height: 1.08; margin: 14px 0 18px; }
.page-header p { font-size: 21px; line-height: 1.5; color: #3d3e41; max-width: 34em; margin: 0; }

.prose { padding: 40px 0 0; }
.prose h2 { font-size: 26px; font-weight: 700; margin: 44px 0 8px; }
.prose h3 { font-size: 19px; font-weight: 600; margin: 28px 0 4px; }
.prose p { font-size: 18px; line-height: 1.65; margin: 0 0 20px; }
.prose ul { font-size: 18px; line-height: 1.6; padding-left: 1.1em; }
.prose li { margin: 0 0 8px; }

/* on-page contents menu (method page) — quiet mono anchor row */
.page-toc {
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline;
  margin: 30px 0 0; padding: 14px 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  font-family: var(--mono); font-size: 13px;
}
.page-toc__label { color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }
.page-toc a { color: var(--slate); text-decoration: none; border-bottom: 1px solid transparent; padding: 4px 0; }
.page-toc a:hover { color: var(--red); border-bottom-color: var(--red); }

/* archive controls */
.archive-groups { margin-top: 8px; }
.archive-year {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red);
  padding: 40px 0 0; margin: 0;
}

/* ratings registry — /ratings/. Ordered by date, never by band: no ranking
   cues, no bars. Month-grouped entry list (mirrors the archive's year groups);
   the full claim always wraps — never truncated. Red ONLY on correction marks. */
/* .prose-qualified so these beat `.prose p { font-size: 18px }` (which out-ranks a
   bare `.registry-note`); these are quiet meta notes, deliberately small. */
.prose .registry-note { margin: 0 0 22px; font-family: var(--mono); font-size: 11.5px; line-height: 1.5; letter-spacing: 0.02em; text-transform: none; color: var(--muted); }
.prose .registry-note--foot { margin: 16px 0 0; letter-spacing: 0.02em; }
.prose .registry-note--foot a { color: var(--muted); }
/* element-qualified selectors: the registry lives inside .prose, whose generic
   `ul`/`p`/`li` rules would otherwise out-rank these class-only selectors */
.reg-group:first-of-type p.reg-month { border-top: 2px solid var(--ink); }
/* single-month registry: no dated heading, but keep the section's top rule */
.reg-group--solo { border-top: 2px solid var(--ink); padding-top: 2px; }
p.reg-month {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink); line-height: 1.4;
  margin: 0; padding: 14px 0 0;
}
ul.reg-list { list-style: none; margin: 0; padding: 0; }
li.reg { margin: 0; padding: 18px 0 20px; border-bottom: 1px solid var(--rule); }
li.reg[hidden] { display: none; }
.reg__head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 18px; flex-wrap: nowrap; }
a.reg__subject { flex: 1 1 auto; min-width: 0; font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; color: var(--ink); text-decoration: none; }
a.reg__subject:hover { color: var(--red); }
.reg__band { flex: 0 0 auto; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
p.reg__claim { margin: 8px 0 10px; font-family: var(--serif); font-style: italic; font-size: 16.5px; line-height: 1.5; color: #3d3e41; max-width: 40em; }
p.reg__meta { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }
.reg__corrected { color: var(--red); font-weight: 600; }

/* ===================================================================
   Footer
   =================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  margin-top: 88px;
  padding: 56px 0 40px;
}
.site-footer .datum { border-bottom-color: rgba(246,245,241,0.5);
  background-image: repeating-linear-gradient(90deg, rgba(246,245,241,0.5) 0, rgba(246,245,241,0.5) 1px, transparent 1px, transparent 15px); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-top: 40px;
}
.footer-brand .brand__mark { background: var(--red); }
.footer-brand .brand__name { color: var(--paper); }
.footer-brand p {
  margin: 16px 0 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: #c9c8c2;
  max-width: 30em;
}
.footer-indep {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #e08a80;
}
.footer-col h3 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #9a9a95; font-weight: 500; margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 10px; }
.footer-col a { color: var(--paper); text-decoration: none; font-size: 15.5px; }
.footer-col a:hover { color: #e08a80; }
.footer-legal {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(246,245,241,0.16);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #8a8a85;
  text-transform: uppercase;
}

/* ===================================================================
   Newsletter subscribe band (injected before the footer on every page)
   =================================================================== */
.subscribe {
  border-top: 3px solid var(--slate);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  scroll-margin-top: 24px;
}
/* Browse band — a slim chip row under the hero to route the homepage deeper */
.browse-band {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px;
  margin: 22px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 13px;
}
.browse-band__label { color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }
.browse-band a { color: var(--slate); text-decoration: none; border-bottom: 1px solid transparent; }
.browse-band a:hover { border-bottom-color: var(--slate); }
.subscribe__inner { padding: 46px 0; }
.subscribe__copy .kicker { color: var(--slate); }
.subscribe h2 { font-size: 27px; line-height: 1.12; margin: 0 0 8px; }
.subscribe__lede { margin: 0 0 22px; color: var(--muted); font-size: 17px; max-width: 34em; }
.subscribe__form { margin: 0; }
.subscribe__label {
  display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--slate); margin: 0 0 8px;
}
.subscribe__row { display: flex; gap: 10px; max-width: 30rem; }
.subscribe__input {
  flex: 1 1 auto; min-width: 0; font-family: var(--serif); font-size: 17px;
  padding: 12px 14px; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--rule-2); border-radius: 2px;
}
.subscribe__input:focus-visible { outline: 3px solid var(--red); outline-offset: 1px; border-color: var(--ink); }
.subscribe__btn {
  flex: 0 0 auto; font-family: var(--display); font-weight: 600; font-size: 15px;
  color: var(--paper); background: var(--ink); border: 1.5px solid var(--ink);
  padding: 12px 20px; border-radius: 2px; cursor: pointer;
}
.subscribe__btn:hover { background: var(--slate); border-color: var(--slate); }
.subscribe__note {
  margin: 12px 0 0; font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em;
  min-height: 1.2em; color: var(--muted);
}
.subscribe__note--ok { color: var(--slate); }
.subscribe__privacy { margin: 14px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; }
.subscribe__privacy a { color: var(--muted); }
.subscribe__privacy a:hover { color: var(--red); }
.subscribe__note--err { color: var(--red); }
.subscribe__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===================================================================
   Accessibility & motion
   =================================================================== */
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; font-family: var(--mono); font-size: 13px; z-index: 50;
}
.skip-link:focus { left: 8px; top: 8px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 760px) {
  body { font-size: 18px; }
  .site-nav { gap: 10px 14px; font-size: 12px; }
  /* larger touch targets on phones — nav, filter chips, footer links (were ~21–32px tall) */
  .site-nav a { padding: 9px 0; }
  .type-filter button { padding: 9px 12px; }
  .footer-col a { display: inline-block; padding: 5px 0; }
  .browse-band a { display: inline-block; padding: 5px 0; }
  .hero-figure__cap { font-size: 13.5px; }
  .standard-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .piece { grid-template-columns: 1fr; gap: 8px; }
  .piece__meta { display: flex; gap: 14px; }
  .article-body h2 { font-size: 24px; }
  .subscribe__inner { padding: 36px 0; }
  .subscribe__row { flex-direction: column; }
  .subscribe__btn { width: 100%; }
}
@media (max-width: 520px) {
  .site-header__inner { flex-wrap: wrap; gap: 12px; }
  /* One tidy line, never a wrapped orphan: the nav becomes a horizontally
     scrollable row on narrow phones. All five items fit at ≥375px; at 320px the
     tail peeks off-screen as its own scroll affordance. */
  .site-nav {
    width: 100%; margin-left: 0;
    flex-wrap: nowrap; gap: 12px;
    letter-spacing: 0.04em;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { flex: none; }
}

/* Citations and chart source lines carry bare DOIs and URLs — unbreakable tokens that
   push the whole page sideways on a 320px phone. Let them break where they must. */
.qc figcaption, .qc .qc-src, .cite .cite-text, .note-src,
.qc-caveat, .tbl-cap { overflow-wrap: anywhere; }

/* Bar charts fill the reading column so the title spans the same width as the chart and
   the body text (it used to overhang a 480–520px-capped chart). Two-class selector so it
   overrides any per-article inline `.qc-bar svg{max-width:…}` cap. */
.qc.qc-bar svg { max-width: 100%; }

/* Title row: title + a "which direction is better" pill, so the reader sees at a glance
   whether up/left or down/short bars are the good outcome. Pill wraps below on narrow. */
.qc-head { display: flex; justify-content: space-between; align-items: baseline;
           gap: .5rem 1rem; flex-wrap: wrap; margin-bottom: .7rem; }
.qc .qc-head .qc-title { margin-bottom: 0; flex: 1 1 14rem; }
.qc-dir { flex: 0 0 auto; align-self: center; font-family: Archivo, 'Space Grotesk', system-ui, sans-serif;
          font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
          white-space: nowrap; padding: .28em .72em; border-radius: 999px; background: #eef1f5; color: #25405c; }
.qc-dir .qc-arw { font-weight: 800; font-size: .95em; }
