/* ============================================================
   Israeli Mistakes — styles
   Mobile-first. One typeface (system sans). Light and dark.
   No webfonts, no third-party requests, no build step.
   ============================================================ */

/* ── tokens ───────────────────────────────────────────── */
:root {
  --paper: #fbfaf7;
  --paper-2: #f3f1ec;
  --card: #ffffff;
  --ink: #17181a;
  --ink-2: #3d4145;
  --muted: #666b6f;
  --line: #e2ded5;
  --line-2: #cdc8bd;
  --shadow: 0 1px 2px rgba(20, 18, 12, .04), 0 8px 24px rgba(20, 18, 12, .05);

  --found: #9d2a20;
  --documented: #2c6a52;
  --unaccountable: #2b2b2b;
  --info: #8a8578;

  --kill: #b03a2e;
  --hunger: #a0711c;
  --displace: #65529e;
  --westbank: #2c7355;
  --press: #28648c;
  --law: #54504a;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --rail: 132px;
  --radius: 14px;
  --wrap: 1160px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111110;
    --paper-2: #171716;
    --card: #1b1b1a;
    --ink: #f2f0ea;
    --ink-2: #d3d0c7;
    --muted: #a19d92;
    --line: #2b2b28;
    --line-2: #44443f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);

    --found: #ef8074;
    --documented: #6cc09b;
    --unaccountable: #d8d4c8;
    --info: #8d887c;

    --kill: #e2705f;
    --hunger: #d5a346;
    --displace: #a294e2;
    --westbank: #6cc09b;
    --press: #79b3d8;
    --law: #b3ada0;
  }
}

/* ── reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 68px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.028em; font-weight: 640; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
em { font-style: italic; }

:focus-visible {
  outline: 2.5px solid var(--found);
  outline-offset: 3px;
  border-radius: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 0 0 8px 0;
  font-weight: 600; text-decoration: none;
}
.skip:focus { left: 0; }

/* ── top bar ──────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 14px;
  padding: 10px clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.mark {
  font-size: 11.5px; font-weight: 750; letter-spacing: .14em; text-decoration: none;
  white-space: nowrap;
}
.topbar nav {
  display: none;
  gap: 22px;
  margin-left: auto;
  font-size: 13.5px; font-weight: 550;
}
.topbar nav a { text-decoration: none; color: var(--muted); }
.topbar nav a:hover { color: var(--ink); }
.stamp {
  margin-left: auto;
  font-size: 10.5px; letter-spacing: .1em; color: var(--muted);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
@media (min-width: 720px) {
  .topbar nav { display: flex; }
  .stamp { margin-left: 22px; }
}

/* ── layout ───────────────────────────────────────────── */
main { display: block; }
.hero, .band, .foot {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}
.hero { padding: clamp(40px, 8vw, 88px) 0 clamp(24px, 4vw, 40px); }

/* ── hero ─────────────────────────────────────────────── */
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
h1 {
  font-size: clamp(3rem, 12.5vw, 7.2rem);
  font-weight: 680;
  letter-spacing: -.045em;
  line-height: .92;
  margin-left: -.03em;
}
h1 em {
  font-style: normal;
  color: var(--found);
  font-weight: 380;
  letter-spacing: -.045em;
}
.dek {
  margin-top: clamp(22px, 4vw, 34px);
  max-width: 60ch;
  font-size: clamp(1.02rem, 2.5vw, 1.19rem);
  line-height: 1.58;
  color: var(--ink-2);
}

.pullquote {
  margin: clamp(28px, 5vw, 46px) 0 0;
  padding: clamp(18px, 3vw, 26px) 0 clamp(18px, 3vw, 26px) clamp(16px, 3vw, 24px);
  border-left: 3px solid var(--found);
  max-width: 62ch;
}
.pullquote blockquote {
  margin: 0;
  font-size: clamp(1.12rem, 3.1vw, 1.42rem);
  line-height: 1.42;
  font-weight: 500;
  letter-spacing: -.012em;
}
.pullquote figcaption {
  margin-top: 12px;
  font-size: 13px; color: var(--muted);
}

.scoreboard {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: clamp(30px, 5vw, 52px);
  background: var(--line);
  border-block: 1px solid var(--line);
}
.stat {
  background: var(--paper);
  padding: 16px 4px 18px;
  display: flex; flex-direction: column; gap: 3px;
}
.stat .v {
  font-size: clamp(1.75rem, 6.4vw, 2.6rem);
  font-weight: 640;
  letter-spacing: -.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .l { font-size: 12.5px; line-height: 1.3; color: var(--muted); max-width: 20ch; }
.stat.is-found .v { color: var(--found); }
.stat.is-documented .v { color: var(--documented); }
.stat.is-press .v { color: var(--press); }
@media (min-width: 760px) {
  .scoreboard { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 20px 10px 22px; }
  .stat .l { font-size: 13px; max-width: 22ch; }
}
.scoreboard-note {
  margin-top: 14px; font-size: 13px; color: var(--muted); max-width: 66ch;
}

/* ── bands ────────────────────────────────────────────── */
.band {
  padding: clamp(44px, 8vw, 84px) 0;
  border-top: 1px solid var(--line);
}
.head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.head .num {
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em; color: var(--found);
  font-variant-numeric: tabular-nums;
}
h2 {
  font-size: clamp(1.7rem, 6vw, 2.55rem);
  font-weight: 660;
  letter-spacing: -.035em;
}
h2 em { font-style: normal; font-weight: 350; color: var(--muted); }
.head .sub {
  margin-top: 12px; max-width: 62ch; color: var(--ink-2);
  font-size: clamp(.95rem, 2.4vw, 1.04rem);
}
@media (min-width: 900px) {
  .head { grid-template-columns: 64px 1fr; gap: 0; }
  .head .num { padding-top: 10px; }
}

/* ── timeline ─────────────────────────────────────────── */
.tl { margin-top: 8px; }

.tl-controls {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  padding: 12px 0 14px;
  border-bottom: 1px solid var(--line);
}
.tl-play {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 42px; padding: 0 16px 0 13px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--card); cursor: pointer;
  font-size: 13.5px; font-weight: 600;
  transition: background .18s, border-color .18s;
}
.tl-play:hover { border-color: var(--ink); }
.tl-play-ico {
  width: 0; height: 0;
  border-left: 8px solid var(--found);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.tl-play.is-on .tl-play-ico {
  width: 8px; height: 10px; border: 0;
  background: linear-gradient(to right, var(--found) 0 3px, transparent 3px 5px, var(--found) 5px 8px);
}
.tl-status { display: flex; flex-direction: column; gap: 1px; min-width: 150px; }
.tl-status strong { font-size: 14px; font-variant-numeric: tabular-nums; }
.tl-status span { font-size: 11.5px; color: var(--muted); }
.tl-jumps { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.tl-jumps button {
  min-height: 34px; padding: 0 11px;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--paper-2); color: var(--ink-2);
  font-size: 12px; font-weight: 550; cursor: pointer;
}
.tl-jumps button:hover { border-color: var(--line-2); color: var(--ink); }

.tl-scrubwrap { position: relative; padding: 16px 0 4px; }
.tl-scrub {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 26px; background: transparent; cursor: pointer; margin: 0;
}
.tl-scrub::-webkit-slider-runnable-track {
  height: 3px; background: var(--line-2); border-radius: 2px;
}
.tl-scrub::-moz-range-track { height: 3px; background: var(--line-2); border-radius: 2px; }
.tl-scrub::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; margin-top: -7.5px; border-radius: 50%;
  background: var(--found); border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--found);
}
.tl-scrub::-moz-range-thumb {
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--found); border: 3px solid var(--paper);
}
.tl-scrub-ends {
  display: flex; justify-content: space-between;
  font-size: 10.5px; letter-spacing: .09em; color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.tl-viewport {
  overflow-x: auto; overflow-y: hidden;
  margin: 18px -20px 0;
  padding: 0 20px 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.tl-rail { position: relative; min-width: 880px; }

.tl-axis { display: grid; grid-template-columns: var(--rail) 1fr; align-items: end; }
.tl-axis-plot { position: relative; height: 34px; }
.tl-years { position: absolute; inset: 0 0 auto; height: 16px; }
.tl-year {
  position: absolute; font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  color: var(--muted); padding-left: 5px;
}
.tl-months { position: absolute; inset: 14px 0 0; height: 20px; }
.tl-month {
  position: absolute; top: 0; width: 1px; height: 4px; background: var(--line-2);
}
.tl-month-lb {
  position: absolute; top: 4px; transform: translateX(-50%);
  font-size: 9.5px; letter-spacing: .04em; color: var(--muted);
  text-transform: uppercase; font-variant-numeric: tabular-nums;
}
.tl-month-lb.is-jan { font-weight: 700; color: var(--ink-2); }

.tl-gridlines {
  position: absolute; inset: 34px 0 0 0; z-index: 0; pointer-events: none;
  display: grid; grid-template-columns: var(--rail) 1fr;
}
.tl-gl-plot { position: relative; height: 100%; }
.tl-gl-plot i {
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, var(--line), transparent 92%);
}
.tl-gl-plot i.is-year { background: linear-gradient(to bottom, var(--line-2), transparent 92%); }

.tl-lanes { position: relative; z-index: 1; }
.tl-lane {
  display: grid; grid-template-columns: var(--rail) 1fr;
  border-top: 1px solid var(--line);
  transition: opacity .2s;
}
.tl-lane.is-off .tl-dot { opacity: 0; visibility: hidden; pointer-events: none; }
.tl-lane.is-off .tl-lane-name { opacity: .45; }
.tl-lane-name {
  position: sticky; left: 0; z-index: 3;
  display: flex; align-items: center; gap: 7px;
  padding: 10px 10px 10px 0;
  background: var(--paper);
  font-size: 12px; font-weight: 600; line-height: 1.25;
  color: var(--ink-2);
}
.tl-lane-name span { max-width: 96px; }
.tl-lane-name b {
  font-size: 10px; font-weight: 650; color: var(--muted);
  font-variant-numeric: tabular-nums;
  background: var(--paper-2); border-radius: 999px; padding: 1px 6px;
}
.tl-lane-track { position: relative; }
.tl-lane[data-lane="kill"] .tl-lane-name { border-left: 3px solid var(--kill); padding-left: 8px; }
.tl-lane[data-lane="hunger"] .tl-lane-name { border-left: 3px solid var(--hunger); padding-left: 8px; }
.tl-lane[data-lane="displace"] .tl-lane-name { border-left: 3px solid var(--displace); padding-left: 8px; }
.tl-lane[data-lane="westbank"] .tl-lane-name { border-left: 3px solid var(--westbank); padding-left: 8px; }
.tl-lane[data-lane="press"] .tl-lane-name { border-left: 3px solid var(--press); padding-left: 8px; }
.tl-lane[data-lane="law"] .tl-lane-name { border-left: 3px solid var(--law); padding-left: 8px; }

.tl-dot {
  position: absolute; transform: translate(-50%, 0);
  width: 22px; height: 22px; padding: 0;
  border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center;
  touch-action: manipulation;
}
.tl-mark {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--info);
  box-shadow: 0 0 0 2.5px var(--paper);
  transition: transform .15s, width .15s, height .15s;
}
.tl-dot[data-s="found"] .tl-mark { background: var(--found); }
.tl-dot[data-s="documented"] .tl-mark { background: var(--documented); }
.tl-dot[data-s="unaccountable"] .tl-mark { background: var(--unaccountable); }
.tl-dot[data-s="info"] .tl-mark {
  background: var(--paper); border: 2px solid var(--line-2); width: 8px; height: 8px;
}
.tl-dot.is-key .tl-mark { width: 12px; height: 12px; }
.tl-dot:hover .tl-mark, .tl-dot.is-sel .tl-mark { transform: scale(1.35); }
.tl-dot.is-sel .tl-mark { box-shadow: 0 0 0 2.5px var(--paper), 0 0 0 4px var(--found); }
.tl-dot.is-future { opacity: .28; }
.tl-dot:focus-visible { outline: none; }
.tl-dot:focus-visible .tl-mark {
  box-shadow: 0 0 0 2.5px var(--paper), 0 0 0 4.5px var(--found);
}

.tl-line {
  position: absolute; top: 34px; bottom: 0; width: 2px;
  background: var(--found); opacity: .35; pointer-events: none; z-index: 2;
  transform: translateX(-1px);
}

.tl-tip {
  position: fixed; z-index: 60; max-width: 250px;
  padding: 8px 11px; border-radius: 9px;
  background: var(--ink); color: var(--paper);
  font-size: 12px; line-height: 1.35; font-weight: 500;
  box-shadow: var(--shadow); pointer-events: none;
}
.tl-tip-d { display: block; font-size: 10px; letter-spacing: .09em; opacity: .65; margin-bottom: 2px; }

.tl-panel {
  margin-top: 18px;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  display: grid; gap: 16px;
}
.tl-p-lane {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 11px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted);
}
.tl-p-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--info); }
.tl-p-dot[data-s="found"] { background: var(--found); }
.tl-p-dot[data-s="documented"] { background: var(--documented); }
.tl-p-dot[data-s="unaccountable"] { background: var(--unaccountable); }
.tl-p-sep { opacity: .45; }
.tl-p-tag {
  border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 8px;
  letter-spacing: .04em; font-size: 10px; color: var(--ink-2);
}
.tl-panel h3 {
  font-size: clamp(1.1rem, 3.4vw, 1.4rem);
  letter-spacing: -.025em; margin-top: 8px; line-height: 1.18;
}
.tl-p-body { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.tl-p-side { border-top: 1px dashed var(--line-2); padding-top: 12px; }
.tl-p-src { font-size: 12.5px; color: var(--muted); }
.tl-p-src a { color: var(--ink-2); }
@media (min-width: 820px) {
  .tl-panel { grid-template-columns: 1.65fr 1fr; gap: 26px; align-items: start; }
  .tl-p-side { border-top: 0; border-left: 1px dashed var(--line-2); padding: 0 0 0 20px; }
}

.tl-legend {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin-top: 20px; font-size: 11.5px; color: var(--muted);
}
.tl-legend-key { display: inline-flex; align-items: center; gap: 6px; }
.tl-key { width: 9px; height: 9px; border-radius: 50%; background: var(--info); }
.tl-key[data-s="found"] { background: var(--found); }
.tl-key[data-s="documented"] { background: var(--documented); }
.tl-key[data-s="unaccountable"] { background: var(--unaccountable); }
.tl-key[data-s="info"] { background: var(--paper); border: 2px solid var(--line-2); }
.tl-legend-sep { width: 1px; height: 18px; background: var(--line); }
.tl-chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 32px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--ink-2);
  font-size: 11.5px; font-weight: 550; cursor: pointer;
}
.tl-chip[aria-pressed="true"] { background: var(--paper-2); border-color: var(--line-2); }
.tl-chip[aria-pressed="false"] { opacity: .45; text-decoration: line-through; }
.tl-chip .n { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }

.callout {
  margin: 0 0 clamp(22px, 3vw, 30px);
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--found);
  max-width: 74ch;
}
.callout p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.callout strong { color: var(--ink); }

/* ── ledger scroll region ─────────────────────────────── */
.ledger-scroll {
  max-height: none;
  overscroll-behavior: contain;
}
.ledger-scroll:focus-visible { outline: 2px solid var(--found); outline-offset: 6px; border-radius: 4px; }
@media (min-width: 861px) {
  .ledger-scroll {
    max-height: calc(100svh - 500px);
    min-height: 320px;
    overflow-y: auto;
    padding-right: 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--line-2) transparent;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.25), #000 16px, #000 calc(100% - 34px), rgba(0,0,0,.15));
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.25), #000 16px, #000 calc(100% - 34px), rgba(0,0,0,.15));
    padding: 12px 14px 18px 0;
    scroll-snap-type: y proximity;
    scroll-padding-top: 6px;
  }
  .ledger-scroll.at-end {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.25), #000 16px);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.25), #000 16px);
  }
  .ledger-scroll.at-start {
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), rgba(0,0,0,.15));
    mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), rgba(0,0,0,.15));
  }
  .ledger-scroll.at-end.at-start {
    -webkit-mask-image: none; mask-image: none;
  }
  .ledger-scroll .fact { scroll-snap-align: start; }
  #ledger { padding-block: 52px 44px; }
  #timeline { padding-block: 60px 52px; }
  #numbers { padding-block: 58px 52px; }
  #claims { padding-block: 56px 48px; }
  #method { padding-block: 52px; }
  .ledger-scroll::-webkit-scrollbar { width: 9px; }
  .ledger-scroll::-webkit-scrollbar-thumb {
    background: var(--line-2); border-radius: 99px; border: 3px solid var(--paper);
  }
}

/* ── filters ──────────────────────────────────────────── */
.filters {
  display: flex; flex-wrap: wrap; gap: 7px;
  padding-bottom: clamp(20px, 3vw, 28px);
}
.filters button {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px; padding: 0 13px;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--ink-2);
  font-size: 12.5px; font-weight: 550; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.filters button:hover { border-color: var(--line-2); color: var(--ink); }
.filters button[aria-pressed="true"] {
  background: var(--ink); border-color: var(--ink); color: var(--paper);
}
.filters button .n {
  font-size: 10.5px; opacity: .6; font-variant-numeric: tabular-nums;
}

/* ── facts ────────────────────────────────────────────── */
.facts { display: grid; gap: 0; }
.fact {
  display: flex; flex-direction: column; gap: 8px;
  padding: clamp(18px, 3vw, 26px) 0;
  border-top: 1px solid var(--line);
}
/* on narrow screens the label sits with the date, above the text */
.fact-when { order: 1; }
.fact-verdict { order: 2; }
.fact-body { order: 3; }
.fact:first-child { border-top: 1px solid var(--line-2); }
.fact-when {
  font-size: 11px; font-weight: 650; letter-spacing: .09em; color: var(--muted);
  text-transform: uppercase; font-variant-numeric: tabular-nums;
  display: flex; align-items: center; gap: 8px;
}
.fact-body h3 {
  font-size: clamp(1.05rem, 3.2vw, 1.24rem);
  letter-spacing: -.02em; line-height: 1.24; margin-bottom: 8px;
}
.fact-what, .fact-found { font-size: 15px; line-height: 1.58; color: var(--ink-2); }
.fact-found { margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--line-2); }
.fact-found b {
  display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 3px; font-weight: 700;
}
.fact-src { margin-top: 12px; font-size: 12px; color: var(--muted); }
.fact-src a { text-decoration-color: var(--line-2); }
.fact-verdict { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 9px 3px 7px; border-radius: 999px;
  border: 1px solid currentColor;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill[data-s="found"] { color: var(--found); }
.pill[data-s="documented"] { color: var(--documented); }
.pill[data-s="unaccountable"] { color: var(--unaccountable); }
.cat {
  font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
}
.fact.is-target { animation: flash 2.2s ease-out; }
@keyframes flash {
  0%, 30% { background: color-mix(in srgb, var(--found) 9%, transparent); }
  100% { background: transparent; }
}
@media (min-width: 860px) {
  .fact {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) 168px;
    gap: 0 22px;
    align-items: start;
  }
  .fact-when, .fact-verdict, .fact-body { order: 0; }
  .fact-when { padding-top: 3px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .fact-verdict { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 2px; }
  .fact-found { max-width: 66ch; }
}
.empty { padding: 24px 0; color: var(--muted); }

/* ── before the window ────────────────────────────────── */
.prewindow {
  margin-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.prewindow summary {
  display: flex; flex-direction: column; gap: 3px;
  cursor: pointer; list-style: none; padding: 6px 0;
}
.prewindow summary::-webkit-details-marker { display: none; }
.prewindow summary::after {
  content: "+"; position: absolute; right: 0; top: 4px;
  font-size: 20px; color: var(--muted); font-weight: 300;
}
.prewindow { position: relative; }
.prewindow[open] summary::after { content: "−"; }
.prewindow-k {
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--found);
}
.prewindow-t { font-size: 15px; font-weight: 550; color: var(--ink-2); max-width: 52ch; }
.prewindow-list { margin-top: 14px; display: grid; gap: 0; }
.prewindow-list li {
  display: grid; grid-template-columns: 1fr; gap: 2px;
  padding: 12px 0; border-top: 1px dashed var(--line);
  font-size: 14px; line-height: 1.5; color: var(--ink-2);
}
.prewindow-list .pw-d {
  font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.prewindow-list .pw-t { font-weight: 600; color: var(--ink); }
.prewindow-list .pw-s { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
@media (min-width: 700px) {
  .prewindow-list li { grid-template-columns: 108px minmax(0, 1fr); gap: 0 18px; padding: 14px 0; }
  .prewindow-list .pw-d { padding-top: 2px; }
}

/* ── figures ──────────────────────────────────────────── */
.figures {
  display: grid; gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.figure {
  background: var(--paper);
  padding: 18px 2px 20px;
  display: grid; gap: 4px;
}
.figure .v {
  font-size: clamp(1.6rem, 7vw, 2.35rem);
  font-weight: 640; letter-spacing: -.045em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.figure .l { font-size: 14px; line-height: 1.42; color: var(--ink-2); max-width: 34ch; }
.figure .m {
  font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}
.figure .m a { text-decoration-color: var(--line-2); }
@media (min-width: 640px) { .figures { grid-template-columns: 1fr 1fr; } .figure { padding: 22px 18px 24px; } }
@media (min-width: 1000px) { .figures { grid-template-columns: repeat(3, 1fr); } }
.figures-note { margin-top: 18px; font-size: 12.5px; color: var(--muted); max-width: 70ch; }

/* ── what they said ───────────────────────────────────── */
.qscroll { max-height: none; }
.qscroll:focus-visible { outline: 2px solid var(--found); outline-offset: 6px; border-radius: 4px; }
.quotes { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.quote {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: clamp(15px, 2.4vw, 22px) 0;
  border-top: 1px solid var(--line);
}
.quote blockquote {
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid var(--found);
  font-size: clamp(1rem, 2.6vw, 1.1rem);
  font-weight: 480;
  line-height: 1.44;
  letter-spacing: -.012em;
  color: var(--ink);
  text-wrap: pretty;
}
.q-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; font-size: 12.5px; }
.q-who b { font-weight: 700; letter-spacing: .01em; }
.q-who span { color: var(--muted); }
.q-note { font-size: 13px; line-height: 1.5; color: var(--ink-2); max-width: 68ch; }
.q-meta {
  font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  margin-top: 2px;
}
.q-meta a { text-decoration-color: var(--line-2); }
.quotes-note {
  margin: clamp(20px, 3vw, 28px) 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.55; color: var(--muted); max-width: 76ch;
}
@media (min-width: 720px) {
  .quotes { grid-template-columns: 1fr 1fr; column-gap: clamp(30px, 5vw, 60px); }
  .quote { grid-template-rows: auto auto 1fr auto; }
}
@media (min-width: 861px) {
  #words { padding-block: 56px 46px; }
  .qscroll {
    max-height: calc(100svh - 400px);
    min-height: 300px;
    overflow-y: auto;
    scroll-snap-type: y proximity;
    scroll-padding-top: 8px;
    padding-right: 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--line-2) transparent;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.3), #000 14px, #000 calc(100% - 26px), rgba(0,0,0,.3));
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.3), #000 14px, #000 calc(100% - 26px), rgba(0,0,0,.3));
  }
  .qscroll.at-end {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.05), #000 46px);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.05), #000 46px);
  }
  .qscroll.at-start {
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), rgba(0,0,0,.3));
    mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), rgba(0,0,0,.3));
  }
  .qscroll.at-end.at-start { -webkit-mask-image: none; mask-image: none; }
  .qscroll .quote { scroll-snap-align: start; }
  .qscroll::-webkit-scrollbar { width: 9px; }
  .qscroll::-webkit-scrollbar-thumb {
    background: var(--line-2); border-radius: 99px; border: 3px solid var(--paper);
  }
}

/* ── limits ───────────────────────────────────────────── */
.limits { display: grid; gap: 0 clamp(28px, 4vw, 56px); max-width: 76ch; }
@media (min-width: 900px) {
  .limits { grid-template-columns: 1fr 1fr; max-width: none; }
  .limits li:nth-child(2) { border-top-color: var(--line-2); }
}
  .limits li {
  padding: 15px 0; border-top: 1px solid var(--line);
  display: grid; gap: 6px; align-content: start;
}
.limits li:first-child { border-top: 1px solid var(--line-2); }
.limits b {
  font-size: 16px; font-weight: 620; letter-spacing: -.012em; color: var(--ink);
  display: flex; flex-direction: column; gap: 4px;
}
.limits .fc {
  font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
  color: var(--found);
}
.limits p { font-size: 14.5px; line-height: 1.58; color: var(--ink-2); padding-left: 0; max-width: 66ch; }

.otherside {
  margin-top: clamp(34px, 5vw, 52px);
  padding: clamp(20px, 3.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  max-width: 78ch;
}
.otherside h3 { font-size: 1.1rem; letter-spacing: -.02em; }
.otherside-note { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.otherside ul { margin-top: 14px; display: grid; gap: 10px; }
.otherside li {
  font-size: 14px; line-height: 1.55; color: var(--ink-2);
  padding-left: 16px; position: relative;
}
.otherside li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--line-2);
}

/* ── method ───────────────────────────────────────────── */
.method-grid {
  display: grid; gap: 26px;
  margin-bottom: clamp(30px, 5vw, 44px);
}
.method-grid h3 {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.method-grid h3 + p { margin-bottom: 22px; }
.method-grid p { font-size: 14.5px; line-height: 1.62; color: var(--ink-2); max-width: 60ch; }
@media (min-width: 820px) { .method-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }

.defs { display: grid; gap: 8px; margin: 0 0 22px; }
.defs li { font-size: 14px; line-height: 1.5; color: var(--ink-2); padding-left: 16px; position: relative; }
.defs li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%; background: currentColor;
}
.defs b { font-weight: 650; }
.k-found { color: var(--found); }
.k-documented { color: var(--documented); }
.k-unaccountable { color: var(--unaccountable); }

.src-head {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); padding-top: 22px; border-top: 1px solid var(--line);
}
.sources {
  margin-top: 12px;
  display: grid; gap: 0;
  counter-reset: src;
}
.sources li {
  counter-increment: src;
  position: relative;
  padding: 10px 0 10px 34px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.45; color: var(--ink-2);
}
.sources li::before {
  content: counter(src, decimal-leading-zero);
  position: absolute; left: 0; top: 11px;
  font-size: 10px; letter-spacing: .05em; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.sources a { text-decoration-color: var(--line-2); }
@media (min-width: 760px) {
  .sources { grid-template-columns: 1fr 1fr; gap: 0 34px; }
}

.colophon {
  margin-top: 26px; font-size: 12.5px; line-height: 1.6; color: var(--muted); max-width: 70ch;
}

/* ── footer ───────────────────────────────────────────── */
.foot {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  padding: 22px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.foot span:first-child { font-weight: 700; color: var(--ink-2); }

.noscript {
  margin: 0 auto 40px; width: min(100% - 40px, var(--wrap));
  font-size: 14px; color: var(--muted);
}

/* ── motion ───────────────────────────────────────────── */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ── print ────────────────────────────────────────────── */
@media print {
  .topbar, .tl-play, .tl-jumps, .tl-scrubwrap, .tl-legend, .filters, .skip, .noscript { display: none !important; }
  .tl-viewport { overflow: visible !important; margin: 0 !important; padding: 0 !important; }
  .tl-rail { min-width: 0 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .fact, .figure, .limits li { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
  body { background: #fff; color: #000; font-size: 12pt; }
}
