/* deck.css: the Iran War Proof Points deck. A grid of 16:9 slides: each ROW is one point to
   prove, each CELL across the row is one more slide of proof, most important on the left.
   Spec: ../ui_navigation.mdx. Adapted from the Charlie Kirk Scorecard Tour
   (~/BGit/Bryan_git/charlie-kirk/site/internals/static/scorecard/tour_scorecard/assets/tour.css).

   Look: a briefing board on a wall screen. The page around it is a dark display; each slide
   is a pale board, 1920 x 1080, with a gold tag (row.cell) hanging from its top edge. What
   officials and planners SAID is set in ink; the record that proves the point is marked in red.
   Type: Libre Caslon Text for claims, Public Sans for data and labels. Both vendored (OFL).

   KEEP MOTION TO A MINIMUM: no transitions, no animations, no smooth scrolling. A video plays
   only when the presenter presses play. The one exception is a cell marked data-motion="cycle"
   (see ui_navigation.mdx): its own styles fade a highlight's colour; nothing moves. Slides are authored at 1920 x 1080 px; deck.js scales. */

@font-face { font-family: "Caslon"; src: url("fonts/caslon-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Caslon"; src: url("fonts/caslon-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Caslon"; src: url("fonts/caslon-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/publicsans-var.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/publicsans-var-i.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }

:root {
  /* page chrome: the wall display around the board */
  --chrome: #0b1220;
  --chrome-2: #131d31;
  --chrome-3: #1d2a45;
  --chrome-line: rgba(214, 224, 240, 0.15);
  --chrome-ink: #eef1f6;
  --chrome-muted: #9aa6ba;

  /* the board */
  --board: #f7f6f2;
  --board-2: #eceae2;
  --paper: #ffffff;
  --ink: #14213d;
  --ink-2: #33415c;
  --gov: #5d6675;
  --gov-bg: #e4e5e3;
  --line: #d6d4ca;
  --red: #b3261e;
  --red-soft: #f7e4e1;
  --tag: #f2c230;
  --hi: #ffe27a;

  --serif: "Caslon", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --bar-h: 54px;   /* a NOT very tall top bar: the board gets the room */
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
.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; }

/* ============================== page chrome ============================== */

body.d-page {
  height: 100vh; height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  background: var(--chrome);
  color: var(--chrome-ink);
  font: 16px/1.5 var(--sans);
  overflow: hidden;
}
.d-bar { grid-row: 1; } .d-stage { grid-row: 2; }
body.d-page a { color: inherit; }
body.d-page :focus-visible { outline: 3px solid var(--tag); outline-offset: 2px; border-radius: 4px; }

/* ---- top bar:  [Index] [3 v] title  ....  [^ up]  ....  [<] 2 / 5 [v down] [Continue >] ---- */
.d-bar {
  position: relative; z-index: 30;
  height: var(--bar-h);
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px;
  padding: 0 14px;
  background: var(--chrome);
  border-bottom: 1px solid var(--chrome-line);
}
.d-left { display: flex; align-items: center; gap: 10px; min-width: 0; position: relative; }
.d-mid { display: flex; justify-content: center; }
.d-right { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }

.d-index {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  height: 36px; padding: 0 12px 0 9px;
  border: 1px solid var(--chrome-line); border-radius: 7px;
  color: var(--chrome-muted); text-decoration: none; font-size: 14px; font-weight: 600;
}
.d-index:hover { color: var(--chrome-ink); background: var(--chrome-2); }
.d-index[aria-current="page"] { color: var(--ink); background: var(--tag); border-color: var(--tag); }
.d-index svg { width: 17px; height: 17px; flex: none; }

/* the proof point number: click it for the list of every proof point */
.d-row {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  height: 36px; padding: 0 8px 0 12px;
  border: 1px solid var(--tag); border-radius: 7px;
  background: var(--tag); color: var(--ink); cursor: pointer;
  font: 800 19px/1 var(--sans); font-variant-numeric: lining-nums tabular-nums;
}
.d-row svg { width: 16px; height: 16px; }
.d-row:hover, .d-row[aria-expanded="true"] { background: #ffd54d; }
.d-title {
  min-width: 0; font: 400 24px/1.1 var(--serif); letter-spacing: -0.005em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none;
}

.d-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 36px; padding: 0;
  border: 1px solid var(--chrome-line); border-radius: 7px;
  background: var(--chrome-2); color: var(--chrome-ink);
  text-decoration: none; cursor: pointer; font: inherit;
}
.d-btn svg { width: 21px; height: 21px; }
.d-btn:hover { background: var(--chrome-3); }
.d-btn[aria-disabled="true"], .d-next[aria-disabled="true"] { opacity: 0.3; pointer-events: none; }
.d-btn.is-row { color: var(--tag); border-color: rgba(242, 194, 48, 0.45); }
.d-pos { min-width: 62px; text-align: center; font: 700 16px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--chrome-muted); }
.d-pos b { color: var(--chrome-ink); }

/* Continue: the presenter's main button, top right */
.d-next {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 10px 0 16px; margin-left: 4px;
  border: 1px solid var(--tag); border-radius: 7px;
  background: var(--chrome-2); color: var(--chrome-ink); text-decoration: none;
  font: 700 16px/1 var(--sans);
}
.d-next svg { width: 20px; height: 20px; color: var(--tag); }
.d-next:hover { background: var(--chrome-3); }
.d-next.is-row { background: var(--tag); color: var(--ink); }
.d-next.is-row svg { color: var(--ink); }

/* ---- the proof point list (opens from the number) ---- */
.d-menu {
  position: absolute; top: calc(100% + 9px); left: 0;
  width: min(760px, calc(100vw - 24px));
  max-height: calc(100vh - var(--bar-h) - 30px); overflow: auto;
  padding: 14px;
  background: var(--chrome-2); border: 1px solid var(--chrome-line); border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.d-menu[hidden] { display: none; }
.d-menu-h { display: flex; justify-content: space-between; gap: 12px; padding: 2px 8px 10px; margin-bottom: 6px; border-bottom: 1px solid var(--chrome-line); font-size: 14px; color: var(--chrome-muted); }
.d-menu-h a { color: var(--chrome-ink); font-weight: 600; text-decoration: none; }
.d-menu-h a:hover { text-decoration: underline; }
.d-menu ol { list-style: none; margin: 0; padding: 0; }
.d-menu li a {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px;
  padding: 9px 10px; border-radius: 8px; text-decoration: none; color: var(--chrome-ink);
}
.d-menu li a b { display: grid; place-items: center; height: 34px; border-radius: 6px; background: var(--chrome-3); color: var(--tag); font: 800 18px/1 var(--sans); }
.d-menu li a span { font: 400 22px/1.2 var(--serif); }
.d-menu li a small { color: var(--chrome-muted); font-size: 13px; white-space: nowrap; }
.d-menu li a:hover { background: var(--chrome-3); }
.d-menu li a[aria-current="true"] { background: var(--tag); color: var(--ink); }
.d-menu li a[aria-current="true"] b { background: var(--ink); color: var(--tag); }
.d-menu li a[aria-current="true"] small { color: var(--ink-2); }

/* ---- the stage that holds the scaled 16:9 board ---- */
.d-stage { min-height: 0; display: grid; place-items: center; padding: 8px 12px 10px; }
.d-frame { position: relative; width: 1920px; height: 1080px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45); }

/* ---- small screens: the board scales to the width and the page scrolls ---- */
@media (max-width: 900px), (max-height: 520px) {
  body.d-page { height: auto; min-height: 100vh; overflow: auto; }
  :root { --bar-h: 50px; }
  .d-bar { grid-template-columns: minmax(0, 1fr) auto; gap: 6px; padding: 0 8px; }
  .d-mid { display: none; }
  .d-index span, .d-title, .d-pos { display: none; }
  .d-btn { width: 36px; }
  .d-next { padding: 0 6px 0 10px; }
  .d-next span { display: none; }
  .d-stage { padding: 6px; }
}

/* ================================ the board ================================ */

.slide {
  position: absolute; left: 0; top: 0;
  width: 1920px; height: 1080px;
  transform-origin: 0 0;
  display: flex; flex-direction: column;
  padding: 68px 104px 46px;
  overflow: hidden;
  background: var(--board);
  color: var(--ink);
  font: 400 30px/1.38 var(--sans);
  font-variant-numeric: lining-nums;
  color-scheme: light;
}
.slide a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.slide b, .slide strong { font-weight: 700; }
.slide p { margin: 0; }
.slide .s-lede { margin-top: 20px; }
.slide .s-verdict { margin-top: 30px; }

/* the gold tag hanging from the top edge, top right: proof point . cell */
.s-tag {
  position: absolute; top: 0; right: 88px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 108px; padding: 14px 16px 12px;
  background: var(--tag); color: var(--ink);
  border-radius: 0 0 8px 8px;
  font: 600 17px/1 var(--sans);
}
.s-tag b { font: 800 40px/1 var(--sans); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }

/* headline: the one sentence the room must carry out */
.s-claim { margin: 0; max-width: 1480px; font: 400 76px/1.07 var(--serif); letter-spacing: -0.014em; text-wrap: balance; }
.s-claim.is-xl { font-size: 96px; }
.s-claim.is-md { font-size: 64px; }
.s-claim.is-sm { font-size: 54px; }
.s-kicker { display: block; margin: 0 0 14px; font: 700 24px/1.2 var(--sans); color: var(--red); }
.s-lede { margin-top: 20px; max-width: 1440px; font-size: 33px; line-height: 1.34; color: var(--ink-2); }
.s-label { display: block; margin: 0 0 12px; font: 650 23px/1.2 var(--sans); letter-spacing: 0.01em; color: var(--gov); }
.s-label.is-red { color: var(--red); }

/* the body fills the board between the headline and the footer: one row by default */
.s-body { flex: 1; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr); gap: 52px; margin-top: 40px; align-content: start; }
.s-body.is-center { grid-template-rows: auto; align-content: center; }
.s-body.is-tight { margin-top: 26px; gap: 40px; }
.s-cols-2 { grid-template-columns: 1fr 1fr; }
.s-cols-3 { grid-template-columns: repeat(3, 1fr); }
.s-split { grid-template-columns: 1.2fr 1fr; }
.s-split-r { grid-template-columns: 1fr 1.2fr; }
.s-stack { display: grid; gap: 26px; align-content: start; }

/* footer of the board: sources on the left, the cell id on the right */
.s-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 48px;
  margin-top: 24px; padding-top: 14px; border-top: 2px solid var(--line);
  font-size: 19px; line-height: 1.35; color: var(--gov);
}
.s-foot .s-src { max-width: 1420px; }
.s-foot .s-id { flex: none; font-weight: 600; color: var(--ink-2); }

/* closing strip: the line that says what this proves, in red */
.s-verdict { padding: 22px 36px; background: var(--red); color: #fff; font: 400 40px/1.2 var(--serif); }
.s-verdict b { font-weight: 700; }
.s-verdict.is-ink { background: var(--ink); }
.s-verdict.is-gov { background: var(--gov-bg); color: var(--ink); font: 400 30px/1.3 var(--sans); padding: 18px 30px; }

/* what the public was told vs what the record shows */
.s-vs { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.s-side { padding: 32px 38px 36px; }
.s-side.is-gov { background: var(--gov-bg); color: var(--ink-2); }
.s-side.is-rec { background: var(--paper); border: 4px solid var(--red); }
.s-side .s-label { margin-bottom: 16px; }
.s-side-text { font: 400 40px/1.2 var(--serif); }
.s-strike { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 4px; }

/* two-column ledger, row by row */
.s-ledger { display: grid; grid-template-columns: 1fr 1fr; border-top: 3px solid var(--ink); }
.s-ledger > div { padding: 18px 26px 20px 0; border-bottom: 2px solid var(--line); font-size: 28px; line-height: 1.3; }
.s-ledger > div:nth-child(2n) { padding-left: 30px; border-left: 4px solid var(--red); }
.s-ledger .s-lh { font: 650 23px/1.2 var(--sans); color: var(--gov); padding-top: 14px; padding-bottom: 12px; }
.s-ledger .s-lh.is-red { color: var(--red); }

/* big number */
.s-stat { display: grid; gap: 10px; align-content: start; }
.s-stat-n { font: 700 180px/0.88 var(--serif); letter-spacing: -0.03em; color: var(--red); }
.s-stat-n small { font-size: 0.32em; letter-spacing: 0; margin-left: 0.15em; }
.s-stat-n.is-ink { color: var(--ink); }
.s-stat-n.is-md { font-size: 120px; }
.s-stat-l { max-width: 640px; font-size: 28px; line-height: 1.32; color: var(--ink-2); }

/* supporting points, each with a red ring */
.s-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.s-points > li { position: relative; padding-left: 48px; font-size: 30px; line-height: 1.32; }
.s-points > li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 26px; height: 26px; border: 5px solid var(--red); border-radius: 50%; }
.s-points.is-sm > li { font-size: 26px; padding-left: 42px; }
.s-points.is-sm > li::before { width: 22px; height: 22px; border-width: 4px; }
.s-points .s-note { display: block; margin-top: 4px; font-size: 0.8em; color: var(--gov); }

/* a quotation, the speaker's own words */
.s-quote { margin: 0; padding: 0 0 0 34px; border-left: 8px solid var(--red); font: 400 44px/1.22 var(--serif); }
.s-quote.is-md { font-size: 36px; }
.s-quote.is-sm { font-size: 30px; border-left-width: 6px; padding-left: 26px; }
.s-quote cite { display: block; margin-top: 16px; font: 600 22px/1.3 var(--sans); font-style: normal; color: var(--gov); }

/* a document excerpt with highlighter marks */
.s-doc { position: relative; background: var(--paper); border: 2px solid var(--line); border-top: 10px solid var(--ink); padding: 32px 42px 28px; font: 400 34px/1.4 var(--serif); }
.s-doc .s-doc-src { margin-top: 16px; font: 500 20px/1.35 var(--sans); color: var(--gov); }
.slide mark { background: linear-gradient(transparent 10%, var(--hi) 10%, var(--hi) 90%, transparent 90%); color: inherit; padding: 0 0.08em; }

/* horizontal timeline in HTML (use SVG for anything to scale) */
.s-tl { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 22px; padding-top: 34px; border-top: 6px solid var(--ink); }
.s-tl-ev { position: relative; }
.s-tl-ev::before { content: ""; position: absolute; top: -50px; left: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--board); border: 6px solid var(--ink); }
.s-tl-ev.is-red::before { border-color: var(--red); background: var(--red); }
.s-tl-t { font: 700 32px/1.1 var(--sans); }
.s-tl-ev.is-red .s-tl-t { color: var(--red); }
.s-tl-d { margin-top: 8px; font-size: 24px; line-height: 1.3; color: var(--ink-2); }

/* a card */
.s-card { background: var(--paper); border: 2px solid var(--line); padding: 28px 32px; }
.s-card.is-gov { background: var(--gov-bg); border-color: var(--gov-bg); }
.s-card.is-red { border: 4px solid var(--red); }
.s-card.is-ink { background: var(--ink); border-color: var(--ink); color: var(--board); }
.s-card h3 { margin: 0 0 10px; font: 400 38px/1.15 var(--serif); }
.s-card p { font-size: 26px; line-height: 1.34; color: var(--ink-2); }
.s-card.is-ink p { color: #d7dceb; }

/* figures: inline SVG or an image fills its cell and shrinks to fit */
.s-fig { min-height: 0; height: 100%; margin: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.s-fig svg { display: block; flex: 0 1 auto; min-height: 0; width: 100%; height: auto; overflow: visible; }
.s-fig img { display: block; flex: 0 1 auto; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.s-fig figcaption { margin-top: 10px; font-size: 21px; color: var(--gov); }
.f-ink { fill: var(--ink); } .f-ink2 { fill: var(--ink-2); } .f-gov { fill: var(--gov); } .f-red { fill: var(--red); }
.f-board { fill: var(--board); } .f-board2 { fill: var(--board-2); } .f-paper { fill: var(--paper); } .f-tag { fill: var(--tag); } .f-none { fill: none; }
.k-ink { stroke: var(--ink); } .k-gov { stroke: var(--gov); } .k-red { stroke: var(--red); } .k-line { stroke: var(--line); }
.svg-serif { font-family: var(--serif); } .svg-sans { font-family: var(--sans); }

/* ---- video cells: the IPFS video is the hero, about 70% of the board's width ----
   .s-vid           video on the left (70%), a narrow column of quotes/points on the right
   .s-vid.is-center video centred alone (70%), the caption under it
   The <video> carries one <source> per gateway (tools/ipfs_gateways.py order); deck.js drops
   a source that stalls, like the site's ipfsVideoFallback.js. */
.s-vid { flex: 1; min-height: 0; display: grid; grid-template-columns: 1240px 1fr; gap: 48px; margin-top: 30px; align-items: start; }
.s-vid.is-center { grid-template-columns: 1fr; justify-items: center; }
.s-vid-box { position: relative; width: 100%; min-height: 0; max-height: 100%; aspect-ratio: 16 / 9; background: #000; display: grid; place-items: center; }
.s-vid.is-center .s-vid-box { width: 1240px; }
.s-vid video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.s-vid-cap { margin-top: 12px; font-size: 21px; line-height: 1.35; color: var(--gov); }
.s-vid-side { display: grid; gap: 26px; align-content: start; min-height: 0; }
.s-vid.is-center .s-vid-cap { width: 1240px; }

.s-fine { font-size: 21px; line-height: 1.38; color: var(--gov); }

/* ---- the toll: one country per slide (row 8) ----
   .tl-body    two columns: the country (locator map, people dot grid) | the toll (stat tiles)
   .tl-map     the locator map card; maps/make_toll_maps.py writes its SVG between MAP markers
   .tl-dots    100 dots = the pre-war population; the red ones are the share named in the caption
   .tl-grid    the stat tiles: .tl-stat > .tl-l (icon + what) .tl-n (the number) .tl-s (source)
   .tl-bars    two bars inside a tile: before the war, and after
   Icons: add one of .i-dead .i-hurt .i-fled .i-home .i-gdp .i-hunger .i-child .i-cost to .tl-l */
.tl-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 560px 1fr; gap: 40px; margin-top: 30px; }
.tl-left { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 18px; min-height: 0; }
.tl-map { position: relative; min-height: 0; margin: 0; background: #d4e1ea; border: 2px solid var(--line); overflow: hidden; }
.tl-map svg { display: block; width: 100%; height: 100%; }
.tl-map figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px; background: rgba(20, 33, 61, 0.88); color: #fff; font: 600 21px/1.25 var(--sans); }
.tl-map figcaption b { color: var(--tag); }
.tl-people { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 16px 20px; background: var(--paper); border: 2px solid var(--line); }
.tl-dots { display: grid; grid-template-columns: repeat(10, 17px); gap: 5px; }
.tl-dots i { width: 17px; height: 17px; border-radius: 50%; background: #c9d0dc; }
.tl-dots i.on { background: var(--red); }
.tl-people p { font-size: 23px; line-height: 1.28; color: var(--ink-2); }
.tl-people p b { display: block; font: 700 46px/1 var(--serif); color: var(--red); margin-bottom: 6px; }
.tl-right { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 22px; min-height: 0; }
.tl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 18px; min-height: 0; }
.tl-stat { display: flex; flex-direction: column; gap: 5px; min-height: 0; padding: 14px 20px 12px; overflow: hidden; background: var(--paper); border: 2px solid var(--line); border-top: 8px solid var(--ink); }
.tl-stat.is-red { border-top-color: var(--red); }
.tl-l { display: flex; align-items: center; gap: 10px; font: 700 23px/1.15 var(--sans); color: var(--ink); }
.tl-n { font: 700 68px/0.95 var(--serif); letter-spacing: -0.02em; color: var(--red); white-space: nowrap; }
.tl-n small { font-size: 0.46em; letter-spacing: 0; margin-left: 0.12em; }
.tl-n.is-ink { color: var(--ink); }
.tl-d { font-size: 20px; line-height: 1.22; color: var(--ink-2); }
.tl-s { margin-top: auto; font-size: 19px; line-height: 1.22; color: var(--gov); }
.tl-bars { display: grid; gap: 6px; margin-top: 4px; }
.tl-bars div { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 10px; font: 600 19px/1 var(--sans); color: var(--gov); }
.tl-bars i { display: block; height: 22px; background: var(--ink); }
.tl-bars div + div i { background: var(--red); }
.tl-l::before { content: none; flex: none; width: 30px; height: 30px; background: var(--red); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.tl-l[class*=" i-"]::before { content: ""; }
.i-dead { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c-4.4 0-8 3.4-8 7.9 0 2.6 1.2 4.6 3 5.9V19h2v-2h2v2h2v-2h2v2h2v-3.7c1.8-1.3 3-3.3 3-5.9 0-4.5-3.6-7.9-8-7.9zM8.7 13a2 2 0 110-4 2 2 0 010 4zm6.6 0a2 2 0 110-4 2 2 0 010 4zM7 20.5h10V23H7z'/%3E%3C/svg%3E"); }
.i-hurt { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 2h7v6.5H22v7h-6.5V22h-7v-6.5H2v-7h6.5z'/%3E%3C/svg%3E"); }
.i-fled { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5L1 21.5h22zM12 9l-4.2 10.5h8.4z' fill-rule='evenodd'/%3E%3C/svg%3E"); }
.i-home { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L1 11h3v11h6.5l1.8-4.5-2.6-3 3.3-3.2-1.5-3.3 3.2 3.4-2.9 3 2.4 3.4L12.6 22H20V11h3z'/%3E%3C/svg%3E"); }
.i-gdp { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 4l7 7 4-4 6.5 6.5V10H22v8h-8v-2.5h3.7L13 10.8l-4 4-8.8-8.8z'/%3E%3C/svg%3E"); }
.i-hunger { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 11h20c0 5-3.6 9-8.5 9.8V22h-3v-1.2C5.6 20 2 16 2 11zM9 3h2v6H9zm4-1h2v7h-2z'/%3E%3C/svg%3E"); }
.i-child { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='5' r='3.2'/%3E%3Cpath d='M7 10h10l-1.6 6H14v7h-4v-7H8.6z'/%3E%3C/svg%3E"); }
.i-cost { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 21h18v2H3zM4 10h3v9H4zm6.5 0h3v9h-3zM17 10h3v9h-3zM12 1l10 6v2H2V7z'/%3E%3C/svg%3E"); }

/* ======================= the index: the spreadsheet of every cell ======================= */
/* Rows are the proof points, columns are the slides of proof, most important on the left.
   Click any cell to go to it. */
.slide.is-index { padding: 56px 72px 40px; }
.x-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.x-title { margin: 0; font: 400 58px/1.08 var(--serif); letter-spacing: -0.012em; }
.x-sub { margin-top: 10px; font-size: 25px; color: var(--gov); }
.x-start { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; background: var(--ink); color: var(--board) !important; text-decoration: none !important; font: 700 26px/1 var(--sans); }
.x-start svg { width: 26px; height: 26px; color: var(--tag); }
.x-grid { flex: 1; min-height: 0; margin-top: 30px; display: grid; align-content: stretch; border-top: 3px solid var(--ink); }
.x-hrow, .x-row { display: grid; grid-template-columns: 410px repeat(var(--cols), minmax(0, 1fr)); }
.x-hrow > div { padding: 10px 12px; font: 650 20px/1.2 var(--sans); color: var(--gov); border-bottom: 2px solid var(--line); }
.x-row { border-bottom: 2px solid var(--line); min-height: 0; }
.x-rh { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 6px 18px 6px 0; text-decoration: none !important; }
.x-rh b { display: grid; place-items: center; height: 64px; background: var(--tag); font: 800 34px/1 var(--sans); color: var(--ink); }
.x-rh span { font: 400 25px/1.08 var(--serif); }
.x-cell {
  margin: 5px 5px; padding: 7px 12px; justify-content: flex-start; min-height: 0; overflow: hidden;
  display: flex; flex-direction: column; gap: 4px;
  background: var(--paper); border: 2px solid var(--line); text-decoration: none !important;
}
.x-cell i { font: 700 19px/1 var(--sans); font-style: normal; color: var(--gov); }
.x-cell span { font-size: 21px; line-height: 1.24; color: var(--ink); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.x-cell.is-first { border: 3px solid var(--red); }
.x-cell.is-first i { color: var(--red); }
.x-cell.is-video i::after { content: "  video"; color: var(--red); }
a.x-cell:hover, a.x-rh:hover span { background: var(--board-2); }
.x-cell.is-empty { background: transparent; border: 2px dashed var(--line); }

/* ================================ print ================================ */
@page { size: 1920px 1080px; margin: 0; }
@media print {
  body.d-page { display: block; height: auto; overflow: visible; background: #fff; }
  .d-bar, .d-menu { display: none !important; }
  .d-stage { display: block; padding: 0; }
  .d-frame { width: 1920px !important; height: 1080px !important; box-shadow: none; }
  .slide { transform: none !important; }
}
