/* ===========================================================================
   Theme — Report 2026-46, "Human Survivability Under the Global Polycrisis"

   Aesthetic: seismogram. The masthead is a seismograph trace of a century and
   a quarter of disasters: one ivory spike for every year from 1900 to 2024,
   its height the logarithm of the recorded disaster death toll, red where a
   year killed more than 100,000 people — then four dashed projection lines
   to 2100, one per scenario, from this report's model (inline SVG data URI)
   on charcoal. Below it the page is ivory record paper with faint ruled
   lines. Scenario colours are fixed: SSP1 green, SSP2 slate, SSP3 red, SSP5
   amber; every h2 opens with a small trace glyph. Prata for display, Mona
   Sans for prose, Syne Mono for figures.

   Loaded after report.css; report.js reads these tokens for chart colours,
   and charts.js reads the --s, --f and --m tokens so no hex lives in the script.
   =========================================================================== */

:root {
  --bg: #f6f1e6;
  --bg-card: #fffcf5;
  --bg-accent: #ebe3d3;
  --bg-dark: #1b1813;
  --bg-dark-2: #110f0b;

  --text: #1d1a15;
  --text-secondary: #463f35;
  --text-muted: #7a7062;
  --text-inverse: #f6f1e6;

  --primary: #26211a;
  --primary-light: #8a3324;
  --accent: #c23b2a;
  --accent-light: #ff8a78;

  --border: #ddd2bd;
  --border-light: #ece4d4;
  --rule: #c9bba2;

  /* scenarios */
  --s1: #3f9d6e;
  --s2: #5b6b86;
  --s3: #c23b2a;
  --s5: #d9932b;
  /* factors */
  --f-pop: #7a5aa8;
  --f-haz: #c23b2a;
  --f-cap: #3f9d6e;
  /* map: fall to rise */
  --m-down: #3f9d6e;
  --m-0: #f6f1e6;
  --m-up: #c23b2a;
  --m-muted: #d6ccb8;

  --chart-blue: #2b6cb0;
  --chart-blue-light: #9cc7e6;
  --chart-gold: #e0a020;
  --chart-red: #e2574c;
  --chart-teal: #1fb58f;
  --chart-gray: #8a91ab;
  --chart-orange: #f0883a;
  --chart-purple: #7b5ce0;

  --serif: "Prata", "Didot", Georgia, serif;
  --sans: "Mona Sans", -apple-system, BlinkMacSystemFont, "system-ui", "Segoe UI", sans-serif;
  --mono: "Syne Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --seis: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='300' viewBox='0 0 900 300'%3E%3Cline x1='20.0' y1='30' x2='20.0' y2='270' stroke='%23efe7d6' stroke-opacity='0.08'/%3E%3Cline x1='127.5' y1='30' x2='127.5' y2='270' stroke='%23efe7d6' stroke-opacity='0.08'/%3E%3Cline x1='235.0' y1='30' x2='235.0' y2='270' stroke='%23efe7d6' stroke-opacity='0.08'/%3E%3Cline x1='342.5' y1='30' x2='342.5' y2='270' stroke='%23efe7d6' stroke-opacity='0.08'/%3E%3Cline x1='450.0' y1='30' x2='450.0' y2='270' stroke='%23efe7d6' stroke-opacity='0.08'/%3E%3Cline x1='557.5' y1='30' x2='557.5' y2='270' stroke='%23efe7d6' stroke-opacity='0.08'/%3E%3Cline x1='665.0' y1='30' x2='665.0' y2='270' stroke='%23efe7d6' stroke-opacity='0.08'/%3E%3Cline x1='772.5' y1='30' x2='772.5' y2='270' stroke='%23efe7d6' stroke-opacity='0.08'/%3E%3Cline x1='880.0' y1='30' x2='880.0' y2='270' stroke='%23efe7d6' stroke-opacity='0.08'/%3E%3Cline x1='20' y1='240' x2='880' y2='240' stroke='%23efe7d6' stroke-opacity='0.35'/%3E%3Cline x1='20.0' y1='240' x2='20.0' y2='100.5' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='20.0' y1='240' x2='20.0' y2='274.9' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='24.3' y1='240' x2='24.3' y2='237.6' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='24.3' y1='240' x2='24.3' y2='240.6' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='28.6' y1='240' x2='28.6' y2='148.7' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='28.6' y1='240' x2='28.6' y2='262.8' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='32.9' y1='240' x2='32.9' y2='176.8' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='32.9' y1='240' x2='32.9' y2='255.8' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='37.2' y1='240' x2='37.2' y2='226.4' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='37.2' y1='240' x2='37.2' y2='243.4' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='41.5' y1='240' x2='41.5' y2='161.0' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='41.5' y1='240' x2='41.5' y2='259.8' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='45.8' y1='240' x2='45.8' y2='154.0' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='45.8' y1='240' x2='45.8' y2='261.5' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='50.1' y1='240' x2='50.1' y2='167.6' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='50.1' y1='240' x2='50.1' y2='258.1' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='54.4' y1='240' x2='54.4' y2='142.2' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='54.4' y1='240' x2='54.4' y2='264.4' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='58.7' y1='240' x2='58.7' y2='178.4' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='58.7' y1='240' x2='58.7' y2='255.4' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='63.0' y1='240' x2='63.0' y2='161.0' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='63.0' y1='240' x2='63.0' y2='259.8' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='67.3' y1='240' x2='67.3' y2='135.2' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='67.3' y1='240' x2='67.3' y2='266.2' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='71.6' y1='240' x2='71.6' y2='143.4' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='71.6' y1='240' x2='71.6' y2='264.1' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='75.9' y1='240' x2='75.9' y2='162.5' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='75.9' y1='240' x2='75.9' y2='259.4' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='80.2' y1='240' x2='80.2' y2='160.7' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='80.2' y1='240' x2='80.2' y2='259.8' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='84.5' y1='240' x2='84.5' y2='154.7' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='84.5' y1='240' x2='84.5' y2='261.3' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='88.8' y1='240' x2='88.8' y2='213.6' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='88.8' y1='240' x2='88.8' y2='246.6' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='93.1' y1='240' x2='93.1' y2='159.3' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='93.1' y1='240' x2='93.1' y2='260.2' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='97.4' y1='240' x2='97.4' y2='170.1' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='97.4' y1='240' x2='97.4' y2='257.5' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='101.7' y1='240' x2='101.7' y2='180.6' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='101.7' y1='240' x2='101.7' y2='254.9' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='106.0' y1='240' x2='106.0' y2='109.1' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='106.0' y1='240' x2='106.0' y2='272.7' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='110.3' y1='240' x2='110.3' y2='101.3' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='110.3' y1='240' x2='110.3' y2='274.7' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='114.6' y1='240' x2='114.6' y2='137.8' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='114.6' y1='240' x2='114.6' y2='265.5' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='118.9' y1='240' x2='118.9' y2='131.6' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='118.9' y1='240' x2='118.9' y2='267.1' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='123.2' y1='240' x2='123.2' y2='188.0' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='123.2' y1='240' x2='123.2' y2='253.0' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='127.5' y1='240' x2='127.5' y2='177.1' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='127.5' y1='240' x2='127.5' y2='255.7' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='131.8' y1='240' x2='131.8' y2='181.1' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='131.8' y1='240' x2='131.8' y2='254.7' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='136.1' y1='240' x2='136.1' y2='147.3' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='136.1' y1='240' x2='136.1' y2='263.2' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='140.4' y1='240' x2='140.4' y2='87.8' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='140.4' y1='240' x2='140.4' y2='278.1' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='144.7' y1='240' x2='144.7' y2='187.6' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='144.7' y1='240' x2='144.7' y2='253.1' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='149.0' y1='240' x2='149.0' y2='172.9' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='149.0' y1='240' x2='149.0' y2='256.8' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='153.3' y1='240' x2='153.3' y2='84.6' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='153.3' y1='240' x2='153.3' y2='278.8' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='157.6' y1='240' x2='157.6' y2='181.8' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='157.6' y1='240' x2='157.6' y2='254.6' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='161.9' y1='240' x2='161.9' y2='155.0' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='161.9' y1='240' x2='161.9' y2='261.2' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='166.2' y1='240' x2='166.2' y2='160.3' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='166.2' y1='240' x2='166.2' y2='259.9' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='170.5' y1='240' x2='170.5' y2='123.2' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='170.5' y1='240' x2='170.5' y2='269.2' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='174.8' y1='240' x2='174.8' y2='179.8' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='174.8' y1='240' x2='174.8' y2='255.1' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='179.1' y1='240' x2='179.1' y2='168.3' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='179.1' y1='240' x2='179.1' y2='257.9' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='183.4' y1='240' x2='183.4' y2='193.6' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='183.4' y1='240' x2='183.4' y2='251.6' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='187.7' y1='240' x2='187.7' y2='112.5' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='187.7' y1='240' x2='187.7' y2='271.9' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='192.0' y1='240' x2='192.0' y2='179.8' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='192.0' y1='240' x2='192.0' y2='255.1' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='196.3' y1='240' x2='196.3' y2='164.1' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='196.3' y1='240' x2='196.3' y2='259.0' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='200.6' y1='240' x2='200.6' y2='97.0' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='200.6' y1='240' x2='200.6' y2='275.8' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='204.9' y1='240' x2='204.9' y2='94.4' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='204.9' y1='240' x2='204.9' y2='276.4' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='209.2' y1='240' x2='209.2' y2='161.6' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='209.2' y1='240' x2='209.2' y2='259.6' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='213.5' y1='240' x2='213.5' y2='170.0' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='213.5' y1='240' x2='213.5' y2='257.5' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='217.8' y1='240' x2='217.8' y2='153.2' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='217.8' y1='240' x2='217.8' y2='261.7' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='222.1' y1='240' x2='222.1' y2='176.3' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='222.1' y1='240' x2='222.1' y2='255.9' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='226.4' y1='240' x2='226.4' y2='135.2' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='226.4' y1='240' x2='226.4' y2='266.2' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='230.7' y1='240' x2='230.7' y2='134.8' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='230.7' y1='240' x2='230.7' y2='266.3' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='235.0' y1='240' x2='235.0' y2='177.4' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='235.0' y1='240' x2='235.0' y2='255.7' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='239.3' y1='240' x2='239.3' y2='162.7' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='239.3' y1='240' x2='239.3' y2='259.3' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='243.6' y1='240' x2='243.6' y2='181.3' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='243.6' y1='240' x2='243.6' y2='254.7' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='247.9' y1='240' x2='247.9' y2='168.2' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='247.9' y1='240' x2='247.9' y2='257.9' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='252.2' y1='240' x2='252.2' y2='150.2' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='252.2' y1='240' x2='252.2' y2='262.4' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='256.5' y1='240' x2='256.5' y2='180.4' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='256.5' y1='240' x2='256.5' y2='254.9' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='260.8' y1='240' x2='260.8' y2='170.8' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='260.8' y1='240' x2='260.8' y2='257.3' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='265.1' y1='240' x2='265.1' y2='171.0' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='265.1' y1='240' x2='265.1' y2='257.2' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='269.4' y1='240' x2='269.4' y2='184.9' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='269.4' y1='240' x2='269.4' y2='253.8' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='273.7' y1='240' x2='273.7' y2='114.3' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='273.7' y1='240' x2='273.7' y2='271.4' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='278.0' y1='240' x2='278.0' y2='104.0' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='278.0' y1='240' x2='278.0' y2='274.0' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='282.3' y1='240' x2='282.3' y2='112.1' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='282.3' y1='240' x2='282.3' y2='272.0' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='286.6' y1='240' x2='286.6' y2='163.6' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='286.6' y1='240' x2='286.6' y2='259.1' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='290.9' y1='240' x2='290.9' y2='152.9' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='290.9' y1='240' x2='290.9' y2='261.8' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='295.2' y1='240' x2='295.2' y2='168.8' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='295.2' y1='240' x2='295.2' y2='257.8' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='299.5' y1='240' x2='299.5' y2='112.4' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='299.5' y1='240' x2='299.5' y2='271.9' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='303.8' y1='240' x2='303.8' y2='113.7' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='303.8' y1='240' x2='303.8' y2='271.6' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='308.1' y1='240' x2='308.1' y2='114.0' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='308.1' y1='240' x2='308.1' y2='271.5' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='312.4' y1='240' x2='312.4' y2='160.2' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='312.4' y1='240' x2='312.4' y2='260.0' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='316.7' y1='240' x2='316.7' y2='174.4' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='316.7' y1='240' x2='316.7' y2='256.4' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='321.0' y1='240' x2='321.0' y2='118.0' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='321.0' y1='240' x2='321.0' y2='270.5' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='325.3' y1='240' x2='325.3' y2='165.2' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='325.3' y1='240' x2='325.3' y2='258.7' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='329.6' y1='240' x2='329.6' y2='161.6' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='329.6' y1='240' x2='329.6' y2='259.6' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='333.9' y1='240' x2='333.9' y2='169.1' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='333.9' y1='240' x2='333.9' y2='257.7' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='338.2' y1='240' x2='338.2' y2='139.9' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='338.2' y1='240' x2='338.2' y2='265.0' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='342.5' y1='240' x2='342.5' y2='146.6' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='342.5' y1='240' x2='342.5' y2='263.3' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='346.8' y1='240' x2='346.8' y2='121.3' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='346.8' y1='240' x2='346.8' y2='269.7' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='351.1' y1='240' x2='351.1' y2='151.1' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='351.1' y1='240' x2='351.1' y2='262.2' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='355.4' y1='240' x2='355.4' y2='146.8' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='355.4' y1='240' x2='355.4' y2='263.3' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='359.7' y1='240' x2='359.7' y2='177.3' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='359.7' y1='240' x2='359.7' y2='255.7' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='364.0' y1='240' x2='364.0' y2='160.8' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='364.0' y1='240' x2='364.0' y2='259.8' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='368.3' y1='240' x2='368.3' y2='153.9' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='368.3' y1='240' x2='368.3' y2='261.5' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='372.6' y1='240' x2='372.6' y2='155.0' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='372.6' y1='240' x2='372.6' y2='261.3' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='376.9' y1='240' x2='376.9' y2='128.3' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='376.9' y1='240' x2='376.9' y2='267.9' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='381.2' y1='240' x2='381.2' y2='123.7' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='381.2' y1='240' x2='381.2' y2='269.1' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='385.5' y1='240' x2='385.5' y2='134.1' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='385.5' y1='240' x2='385.5' y2='266.5' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='389.8' y1='240' x2='389.8' y2='176.4' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='389.8' y1='240' x2='389.8' y2='255.9' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='394.1' y1='240' x2='394.1' y2='162.5' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='394.1' y1='240' x2='394.1' y2='259.4' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='398.4' y1='240' x2='398.4' y2='150.8' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='398.4' y1='240' x2='398.4' y2='262.3' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='402.7' y1='240' x2='402.7' y2='170.7' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='402.7' y1='240' x2='402.7' y2='257.3' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='407.0' y1='240' x2='407.0' y2='147.9' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='407.0' y1='240' x2='407.0' y2='263.0' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='411.3' y1='240' x2='411.3' y2='131.1' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='411.3' y1='240' x2='411.3' y2='267.2' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='415.6' y1='240' x2='415.6' y2='168.8' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='415.6' y1='240' x2='415.6' y2='257.8' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='419.9' y1='240' x2='419.9' y2='160.8' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='419.9' y1='240' x2='419.9' y2='259.8' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='424.2' y1='240' x2='424.2' y2='167.9' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='424.2' y1='240' x2='424.2' y2='258.0' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='428.5' y1='240' x2='428.5' y2='159.8' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='428.5' y1='240' x2='428.5' y2='260.0' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='432.8' y1='240' x2='432.8' y2='166.1' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='432.8' y1='240' x2='432.8' y2='258.5' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='437.1' y1='240' x2='437.1' y2='162.6' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='437.1' y1='240' x2='437.1' y2='259.3' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='441.4' y1='240' x2='441.4' y2='148.1' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='441.4' y1='240' x2='441.4' y2='263.0' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='445.7' y1='240' x2='445.7' y2='143.2' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='445.7' y1='240' x2='445.7' y2='264.2' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='450.0' y1='240' x2='450.0' y2='172.3' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='450.0' y1='240' x2='450.0' y2='256.9' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='454.3' y1='240' x2='454.3' y2='155.2' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='454.3' y1='240' x2='454.3' y2='261.2' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='458.6' y1='240' x2='458.6' y2='169.0' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='458.6' y1='240' x2='458.6' y2='257.7' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='462.9' y1='240' x2='462.9' y2='136.6' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='462.9' y1='240' x2='462.9' y2='265.9' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='467.2' y1='240' x2='467.2' y2='124.9' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='467.2' y1='240' x2='467.2' y2='268.8' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='471.5' y1='240' x2='471.5' y2='139.7' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='471.5' y1='240' x2='471.5' y2='265.1' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='475.8' y1='240' x2='475.8' y2='159.1' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='475.8' y1='240' x2='475.8' y2='260.2' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='480.1' y1='240' x2='480.1' y2='164.2' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='480.1' y1='240' x2='480.1' y2='258.9' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='484.4' y1='240' x2='484.4' y2='125.4' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='484.4' y1='240' x2='484.4' y2='268.7' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='488.7' y1='240' x2='488.7' y2='170.7' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='488.7' y1='240' x2='488.7' y2='257.3' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='493.0' y1='240' x2='493.0' y2='121.4' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='493.0' y1='240' x2='493.0' y2='269.7' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='497.3' y1='240' x2='497.3' y2='151.0' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='497.3' y1='240' x2='497.3' y2='262.2' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='501.6' y1='240' x2='501.6' y2='172.4' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='501.6' y1='240' x2='501.6' y2='256.9' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='505.9' y1='240' x2='505.9' y2='160.4' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='505.9' y1='240' x2='505.9' y2='259.9' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='510.2' y1='240' x2='510.2' y2='175.2' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='510.2' y1='240' x2='510.2' y2='256.2' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='514.5' y1='240' x2='514.5' y2='159.7' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='514.5' y1='240' x2='514.5' y2='260.1' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='518.8' y1='240' x2='518.8' y2='174.4' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='518.8' y1='240' x2='518.8' y2='256.4' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='523.1' y1='240' x2='523.1' y2='172.2' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='523.1' y1='240' x2='523.1' y2='257.0' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='527.4' y1='240' x2='527.4' y2='168.5' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='527.4' y1='240' x2='527.4' y2='257.9' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='531.7' y1='240' x2='531.7' y2='169.2' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='531.7' y1='240' x2='531.7' y2='257.7' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='536.0' y1='240' x2='536.0' y2='165.3' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='536.0' y1='240' x2='536.0' y2='258.7' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='540.3' y1='240' x2='540.3' y2='171.1' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='540.3' y1='240' x2='540.3' y2='257.2' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='544.6' y1='240' x2='544.6' y2='142.0' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='544.6' y1='240' x2='544.6' y2='264.5' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='548.9' y1='240' x2='548.9' y2='133.5' stroke='%23ff5b4a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='548.9' y1='240' x2='548.9' y2='266.6' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cline x1='553.2' y1='240' x2='553.2' y2='141.3' stroke='%23efe7d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='553.2' y1='240' x2='553.2' y2='264.7' stroke='%23efe7d6' stroke-opacity='0.25' stroke-width='1.2'/%3E%3Cpolyline fill='none' stroke='%237fd1a3' stroke-width='2' stroke-dasharray='5 4' points='536.0,145.0 557.5,147.8 579.0,150.0 600.5,152.1 622.0,154.1 643.5,155.9 665.0,157.4 686.5,158.8 708.0,160.2 729.5,161.6 751.0,163.0 772.5,164.3 794.0,165.6 815.5,166.8 837.0,168.0 858.5,169.1 880.0,170.2'/%3E%3Cpolyline fill='none' stroke='%23c9d3e6' stroke-width='2' stroke-dasharray='5 4' points='536.0,145.0 557.5,146.6 579.0,148.0 600.5,149.5 622.0,150.9 643.5,152.2 665.0,153.3 686.5,154.5 708.0,155.6 729.5,156.6 751.0,157.7 772.5,158.6 794.0,159.4 815.5,160.2 837.0,160.9 858.5,161.5 880.0,162.2'/%3E%3Cpolyline fill='none' stroke='%23ff5b4a' stroke-width='2' stroke-dasharray='5 4' points='536.0,145.0 557.5,146.4 579.0,147.6 600.5,148.4 622.0,149.0 643.5,149.3 665.0,149.5 686.5,149.6 708.0,149.6 729.5,149.4 751.0,149.0 772.5,148.6 794.0,148.1 815.5,147.7 837.0,147.1 858.5,146.6 880.0,146.1'/%3E%3Cpolyline fill='none' stroke='%23f2b33d' stroke-width='2' stroke-dasharray='5 4' points='536.0,145.0 557.5,147.7 579.0,149.6 600.5,151.4 622.0,152.9 643.5,154.1 665.0,154.9 686.5,155.6 708.0,156.2 729.5,156.7 751.0,157.5 772.5,158.2 794.0,158.7 815.5,159.3 837.0,159.8 858.5,160.3 880.0,160.9'/%3E%3Cline x1='557.5' y1='26' x2='557.5' y2='274' stroke='%23efe7d6' stroke-opacity='0.6' stroke-dasharray='2 3'/%3E%3C/svg%3E");
  --ramp: linear-gradient(90deg, var(--s1), var(--s2), var(--s5), var(--s3));

  --max-width: 1200px;
}

body { font-size: 1rem; line-height: 1.66; background-image: linear-gradient(rgba(138, 51, 36, 0.05) 1px, transparent 1px); background-size: 100% 28px; }

::selection { background: rgba(194, 59, 42, 0.18); }
:where(a, button, [tabindex], input, select):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

a { color: var(--primary-light); }
a:hover { color: var(--accent); }

.progress__bar { background: var(--ramp); }
.skip-link { background: var(--primary); }

/* --- masthead: the signal bars -------------------------------------------------- */

.masthead {
  position: relative;
  color: var(--text-inverse);
  border-bottom: 0;
  padding: 3.3rem var(--gutter) 4.2rem;
  background:
    linear-gradient(90deg, rgba(17, 15, 11, 0.97) 0 40%, rgba(17, 15, 11, 0.72) 58%, rgba(17, 15, 11, 0.08) 88%),
    var(--seis) right center / 900px auto no-repeat,
    linear-gradient(180deg, #221e18, #110f0b);
}
.masthead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--ramp); }
.masthead .overline { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; color: var(--accent-light); margin-bottom: 1rem; }
.masthead .overline::before { content: "1900 ─╫─ 2025 ─ ─ 2100 · "; color: #fff; }
.masthead h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.1rem, 4.8vw, 3.5rem); line-height: 1.06; letter-spacing: -0.005em; max-width: 22ch; color: #fff; }
.masthead .subtitle { font-family: var(--sans); font-weight: 500; font-size: 1.2rem; color: #e6dcc8; max-width: 56ch; }
.masthead .strapline { font-family: var(--sans); font-style: normal; font-size: 1.02rem; color: #f3ecdf; border-left: 4px solid var(--accent); max-width: 64ch; background: rgba(17, 15, 11, 0.74); }
.masthead .meta-row { border-top: 1px solid rgba(255, 255, 255, 0.16); color: #c2b6a0; font-family: var(--mono); font-size: 0.78rem; position: relative; }
.masthead .meta-row strong { color: var(--accent-light); font-family: var(--mono); font-weight: 700; font-size: 0.66rem; letter-spacing: 0.1em; }

/* --- nav --------------------------------------------------------------------- */

.sticky-nav { background: rgba(246, 241, 230, 0.96); border-bottom: 1px solid var(--border); }
.nav-inner a { color: var(--text-muted); font-family: var(--mono); font-size: 0.76rem; }
.nav-inner a:hover { color: var(--text); }
.nav-inner a.is-active { color: var(--primary); border-bottom-color: var(--accent); }

/* --- headings with a signal glyph ------------------------------------------------ */

section > h2 {
  position: relative;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.8vw, 2.4rem);
  letter-spacing: -0.012em;
  line-height: 1.1;
  color: var(--primary);
  border-bottom: 1px solid var(--rule);
  padding: 0 0 0.55rem 1.9rem;
}
section > h2::before {
  content: "";
  position: absolute; left: 0; top: 0.3em;
  width: 1.3rem; height: 0.95rem;
  background: linear-gradient(var(--accent), var(--accent)) 0 50% / 100% 1.5px no-repeat,
    linear-gradient(var(--text), var(--text)) 0.28rem 20% / 2px 60% no-repeat,
    linear-gradient(var(--text), var(--text)) 0.55rem 0 / 2px 100% no-repeat,
    linear-gradient(var(--text), var(--text)) 0.82rem 35% / 2px 30% no-repeat;
}
.abstract h2, .endmatter h2 { padding-left: 0; border-bottom: 0; font-family: var(--mono); font-size: 0.86rem; }
.abstract h2::before, .endmatter h2::before { content: none; }
section > .section-dek { font-family: var(--sans); font-style: normal; font-weight: 500; color: var(--text-muted); font-size: 1.15rem; line-height: 1.45; max-width: none; }

.section-rule { border-top: 1px solid var(--border-light); margin: 2.6rem 0 2.8rem; }

/* --- abstract, endmatter ------------------------------------------------------------- */

.abstract { background: var(--bg-card); border: 1px solid var(--border); border-top: 6px solid transparent; border-image: var(--ramp) 1; border-radius: 0; }
.abstract h2 { color: var(--primary); letter-spacing: 0.12em; }
.endmatter .kw { background: var(--bg-accent); border-color: var(--border); font-family: var(--mono); font-size: 0.72rem; }
.endmatter dt { font-family: var(--mono); font-size: 0.72rem; }

/* --- KPI board ------------------------------------------------------------------------- */

.kpi-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 1.6rem 0; }
.kpi { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: 2px; padding: 1.15rem 1.05rem 0.85rem; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.kpi::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--k, var(--accent)); }

.kpi--s1 { --k: var(--s1); }
.kpi--s2 { --k: var(--s2); }
.kpi--s3 { --k: var(--s3); }
.kpi--s5 { --k: var(--s5); }
.kpi--pop { --k: var(--f-pop); }
.kpi-value { font-family: var(--serif); font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.35rem); letter-spacing: -0.02em; line-height: 1; color: var(--text); font-variant-numeric: lining-nums tabular-nums; }
.kpi-label { font-size: 0.86rem; line-height: 1.42; color: var(--text-secondary); margin-top: 0.45rem; flex: 1; }
.kpi-source { font-family: var(--mono); font-size: 0.66rem; color: var(--text-muted); margin-top: 0.6rem; border-top: 1px solid var(--border-light); padding-top: 0.4rem; margin-bottom: 0.3rem; }

/* --- readout ----------------------------------------------------------------------------- */

.readout { background: var(--bg-dark); border-radius: 2px; padding: 1.15rem 1.4rem 0.45rem; margin: 1.6rem 0; position: relative; overflow: hidden; border-top: 6px solid transparent; border-image: var(--ramp) 1; }
.readout-title { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-light); margin: 0 0 0.4rem !important; }
.readout p { color: #e8dfcf; text-align: justify; hyphens: auto; -webkit-hyphens: auto; position: relative; }
.readout strong { color: #fff; }

/* --- panels ------------------------------------------------------------------------------ */

.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 1.2rem 0; }
.panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: 2px; padding: 1.05rem 1.15rem 0.95rem; min-width: 0; }
.panel--wide { grid-column: 1 / -1; }
.panel--hero { margin: 1.2rem 0; padding: 1.15rem 1.25rem 1.05rem; border-top: 5px solid transparent; border-image: var(--ramp) 1; }
.panel-head { border-bottom: 1px solid var(--border-light); margin-bottom: 0.75rem; padding-bottom: 0.55rem; }
.panel-title { font-family: var(--serif); font-weight: 800; letter-spacing: -0.01em; font-size: 1.18rem; line-height: 1.2; color: var(--text); margin: 0 !important; }
.panel-meta { font-family: var(--mono); font-size: 0.7rem; color: var(--text-muted); margin: 0.25rem 0 0.4rem !important; }
.panel-note { font-size: 0.85rem; line-height: 1.5; color: var(--text-muted); margin: 0.6rem 0 0 !important; text-align: left !important; }
.panel canvas { max-width: 100%; }
.panel .chart-frame { height: 310px; }
.panel .chart-frame--tall { height: 440px; }
.panel .chart-frame--short { height: 240px; }

.stat-tile { background: var(--bg-card); border: 1px solid var(--border); border-radius: 2px; padding: 0.85rem 1rem; border-left: 6px solid var(--k, var(--accent)); min-width: 0; }
.stat-tile--hf { --k: var(--q-hf); }
.stat-tile--hc { --k: var(--q-hc); }
.stat-tile--lf { --k: var(--q-lf); }
.stat-tile--lc { --k: var(--q-lc); }
.stat-tile--s1 { --k: var(--s1); }
.stat-tile--s2 { --k: var(--s2); }
.stat-tile--s3 { --k: var(--s3); }
.stat-tile--s5 { --k: var(--s5); }
.stat-tile--pop { --k: var(--f-pop); }
.stat-tile--haz { --k: var(--f-haz); }
.stat-tile--cap { --k: var(--f-cap); }
.stat-tile-value { font-family: var(--serif); font-weight: 800; letter-spacing: -0.02em; font-size: 1.6rem; line-height: 1.05; color: var(--text); margin: 0 !important; font-variant-numeric: lining-nums tabular-nums; }
.stat-tile-label { font-size: 0.82rem; color: var(--text-muted); margin: 0.2rem 0 0 !important; text-align: left !important; line-height: 1.4; }
.tile-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 1rem 0; }

/* --- controls ------------------------------------------------------------------------------ */

.controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px 22px; margin-bottom: 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--border-light); }
.slider { display: grid; gap: 3px; }
.slider-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.slider label, .seg-wrap .seg-label { font-family: var(--sans); font-weight: 600; font-size: 0.9rem; color: var(--text); }
.slider output { font-family: var(--mono); font-weight: 700; font-size: 0.84rem; color: var(--accent); white-space: nowrap; }
.slider .hint { font-size: 0.78rem; line-height: 1.35; color: var(--text-muted); margin: 0 !important; text-align: left !important; }
.slider input[type="range"] { width: 100%; accent-color: var(--accent); margin: 2px 0; }
.seg-wrap { display: grid; gap: 5px; }
.segmented { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--rule); border-radius: 2px; overflow: hidden; background: var(--bg-card); width: fit-content; max-width: 100%; }
.segmented button { font: inherit; font-family: var(--mono); font-size: 0.76rem; padding: 0.38rem 0.66rem; border: 0; background: transparent; color: var(--text-secondary); cursor: pointer; }
.segmented button + button { border-left: 1px solid var(--rule); }
.segmented button.is-on { background: var(--primary); color: #fff; }
.calc-note { font-family: var(--mono); font-size: 0.7rem; color: var(--text-muted); margin: 0.6rem 0 0 !important; line-height: 1.5; }
select.pick { font: inherit; font-family: var(--sans); font-size: 0.92rem; padding: 0.35rem 0.5rem; border: 1px solid var(--rule); border-radius: 2px; background: var(--bg-card); color: var(--text); max-width: 100%; }

/* --- atlas and country card ------------------------------------------------------------------- */

.atlas-layout { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.atlas-wrap { position: relative; border-radius: 2px; overflow: hidden; background: #efe8da; border: 1px solid var(--border); }
.atlas { display: block; width: 100%; height: auto; }
.atlas .atlas-sea { fill: #efe8da; }
.atlas .atlas-land path { fill: #dcd2bf; stroke: #fff; stroke-width: 0.45; stroke-linejoin: round; transition: fill 0.25s; }
.atlas .atlas-dots circle { fill: #dcd2bf; stroke: var(--text); stroke-width: 0.5; }
.atlas [data-iso].is-in { cursor: pointer; }
.atlas [data-iso].is-in:hover { stroke: var(--text); stroke-width: 1.3; }
.atlas [data-iso].is-pick { stroke: var(--text); stroke-width: 2.2; }
.atlas-corner { position: absolute; left: 10px; bottom: 8px; font-family: var(--mono); font-size: 0.62rem; color: var(--text-muted); background: rgba(255, 255, 255, 0.85); padding: 1px 6px; border-radius: 2px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0.6rem 0 0; }
.legend span { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 0.72rem; color: var(--text-secondary); }
.legend i { width: 14px; height: 10px; border-radius: 1px; flex: none; }
.country-card { border: 1px solid var(--border); border-radius: 2px; background: var(--bg); padding: 0.85rem 0.95rem; min-height: 300px; border-top: 6px solid var(--cc, var(--rule)); }
.country-card .cc-kicker { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin: 0 !important; }
.country-card h3 { font-family: var(--serif); font-weight: 800; font-size: 1.45rem; color: var(--primary); margin: 0.05rem 0 0.15rem; line-height: 1.1; }
.country-card .cc-class { font-family: var(--mono); font-size: 0.72rem; margin: 0 0 0.55rem !important; color: var(--text-secondary); text-align: left !important; }
.kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: 0.86rem; margin: 0; }
.kv dt { color: var(--text-secondary); }
.kv dd { margin: 0; font-family: var(--mono); font-size: 0.8rem; color: var(--text); text-align: right; }
.tag-row { display: flex; flex-wrap: wrap; gap: 5px; margin: 0.5rem 0 0; }
.tag-row span { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.04em; padding: 2px 6px; border-radius: 2px; background: var(--bg-accent); color: var(--text-secondary); }
.tag-row span.on { background: var(--accent); color: #fff; }

/* --- breaker cards -------------------------------------------------------------- */

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 1.2rem 0; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 2px; padding: 0.95rem 1rem; border-top: 5px solid var(--k, var(--primary-light)); }
.card h3 { font-family: var(--serif); font-weight: 800; font-size: 1.15rem; line-height: 1.2; color: var(--primary); margin: 0 0 0.35rem; }
.card p { font-size: 0.88rem; line-height: 1.5; color: var(--text-secondary); margin: 0 !important; text-align: left !important; }
.card .tag { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 0.25rem !important; }
.card--a { --k: var(--s1); }
.card--b { --k: var(--f-cap); }
.card--c { --k: var(--s5); }
.card--d { --k: var(--s3); }

/* --- references, footer --------------------------------------------------------------------- */

.ref-list .ref-org { font-family: var(--mono); color: var(--primary-light); font-size: 0.7rem; }
.report-footer { border-top: 0; position: relative; padding-top: calc(3rem + 6px); }
.report-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--ramp); }
.footer-inner h3 { color: #fff; font-family: var(--serif); font-weight: 800; font-size: 1.45rem; }
.footer-inner a { color: var(--accent-light); }
.cite-box { border-left-color: var(--accent); }

/* --- responsive ------------------------------------------------------------------------------ */

@media (max-width: 1000px) {
  .kpi-board, .tile-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atlas-layout { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .dash-grid, .cards { grid-template-columns: minmax(0, 1fr); }
  .masthead { padding-top: 2.2rem; background: linear-gradient(180deg, rgba(17, 15, 11, 0.94) 0 62%, rgba(17, 15, 11, 0.7)), var(--seis) 70% 100% / 640px auto no-repeat, linear-gradient(180deg, #221e18, #110f0b); }
  .segmented button { padding: 0.34rem 0.5rem; font-size: 0.7rem; }
}
@media (max-width: 420px) {
  .kpi-board, .tile-row { grid-template-columns: minmax(0, 1fr); }
}

@media print {
  .controls { display: none; }
  .masthead, .readout, .report-footer::before, .atlas-wrap, .strip { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* --- quadrant tiles ---------------------------------------------------------------- */

.q-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0.9rem 0; }
.q-tile { border: 1px solid var(--border); border-left: 6px solid var(--k); background: var(--bg-card); border-radius: 2px; padding: 0.6rem 0.75rem; }
.q-tile b { font-family: var(--serif); font-size: 1.5rem; display: block; line-height: 1.05; color: var(--text); }
.q-tile span { font-size: 0.78rem; color: var(--text-muted); display: block; line-height: 1.35; }
.marg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0.6rem 0 0.9rem; }
@media (max-width: 680px) { .q-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .marg { grid-template-columns: minmax(0, 1fr); } }

/* --- scenario switch, race bars, threat table ------------------------------------- */

.scn button[data-ssp="1"].is-on { background: var(--s1); }
.scn button[data-ssp="2"].is-on { background: var(--s2); }
.scn button[data-ssp="3"].is-on { background: var(--s3); }
.scn button[data-ssp="5"].is-on { background: var(--s5); }
.race { display: grid; gap: 6px; margin: 0.6rem 0 0.2rem; }
.race-row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) 4.2rem; gap: 10px; align-items: center; font-size: 0.84rem; }
.race-row b { position: relative; display: block; height: 14px; background: var(--bg-accent); border-radius: 2px; }
.race-row b::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1.5px; background: var(--text); }
.race-row b i { position: absolute; top: 0; bottom: 0; border-radius: 2px; }
.race-row em { font-style: normal; font-family: var(--mono); font-size: 0.8rem; text-align: right; }
.race-row span { color: var(--text-secondary); }
table.threats { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
table.threats th, table.threats td { text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--border-light); vertical-align: top; }
table.threats thead th { font-family: var(--mono); font-weight: 400; font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); border-bottom: 2px solid var(--rule); }
table.threats td.v { font-family: var(--serif); font-size: 1.05rem; white-space: nowrap; color: var(--accent); }
.threats-wrap { overflow-x: auto; }
@media (max-width: 680px) { .race-row { grid-template-columns: 6rem minmax(0, 1fr) 3.6rem; } }
.mixbar { display: flex; height: 10px; border-radius: 2px; overflow: hidden; margin: 0.55rem 0 0.2rem; background: var(--bg-accent); }
.mixbar span { display: block; height: 100%; }
.mixlab { font-family: var(--mono); font-size: 0.66rem; color: var(--text-muted); }
