/* ═══════════════════════════════════════════════════════════════════
   THE COST OF WAR — Blueprint × StudioEX
   ═══════════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* ── DOSSIER IDENTITY (rev 10) ──────────────────────────────────────
   The colour law of the whole piece:
     red  = what war TAKES (spend, destruction, warnings)
     cyan = what we could BUILD (opportunity cost, the interactive half)
   The old "Have Your Say" green and the teal CTA are absorbed into that one
   build-cyan, so every screen states the same argument. Amber stays for the
   $21.8T impact reading; purple/blue remain categorical data colours.
   Display face is the condensed grotesque; mono is the machine talking. */
:root {
  --black: #000;
  --near-black: #0a0b0d;
  --panel: #0e1013;
  --red: #ff3b30;
  --red-dim: #7d1b15;
  --amber: #ffb020;
  --green: #31d0d6; /* → build cyan (was the have-your-say green) */
  --green-dim: #0a3d3f;
  --teal: #31d0d6; /* → build cyan (was the CTA teal) */
  --teal-dim: #0a3d3f;
  --purple: #b967ff;
  --blue: #4488ff;
  --text: #e8e6e0;
  --muted: #708090;
  --border: #1a1a2e;
  --fd: "Anton", "Bebas Neue", sans-serif;
  --fm: "IBM Plex Mono", monospace;
  --fb: "IBM Plex Sans", sans-serif;
}
html {
  /* NOT scroll-behavior: smooth. GSAP warns against it with ScrollTrigger:
     ScrollTrigger sets scroll position itself, the CSS then animates those
     writes too, and the two fight — which shows up as pinned scenes that
     stutter and a page that feels like it is resisting you. The site's own
     "continue" buttons pass behavior:"smooth" to scrollIntoView explicitly,
     so those still glide. */
  scroll-behavior: auto;
}
body {
  background: var(--black);
  color: var(--text);
  font-family: var(--fb);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.025) 2px,
    rgba(0, 0, 0, 0.025) 4px
  );
  pointer-events: none;
  z-index: 999;
}
canvas#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ── SCROLL REVEAL ── */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.rv.on {
  opacity: 1;
  transform: translateY(0);
}
.rv-d1 {
  transition-delay: 0.12s;
}
.rv-d2 {
  transition-delay: 0.24s;
}
.rv-d3 {
  transition-delay: 0.36s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 2;
}
.eyebrow {
  font-family: var(--fm);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0;
  animation: ri 0.8s 0.3s ease forwards;
}
.hero-title {
  font-family: var(--fd);
  font-size: clamp(4rem, 14vw, 11rem);
  line-height: 0.85;
  color: #fff;
  opacity: 0;
  animation: ri 0.8s 0.5s ease forwards;
}
.hero-title span {
  color: var(--red);
  display: block;
  text-shadow: 0 0 60px rgba(255, 59, 48, 0.4);
}
.hero-sub {
  font-family: var(--fm);
  font-size: clamp(0.65rem, 1.2vw, 0.85rem);
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
  margin-top: 1.5rem;
  opacity: 0;
  animation: ri 0.8s 0.7s ease forwards;
}
.hero-counters {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  margin: 3rem 0 1.5rem;
  opacity: 0;
  animation: ri 0.8s 0.9s ease forwards;
}
.hc {
  text-align: center;
}
.hc-lbl {
  font-family: var(--fm);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.hc-num {
  font-family: var(--fd);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1;
  text-shadow: 0 0 40px currentColor;
}
.hc-num.red {
  color: var(--red);
}
.hc-num.amber {
  color: var(--amber);
}
.hc-sub {
  font-family: var(--fm);
  font-size: 0.52rem;
  color: var(--muted);
  margin-top: 0.3rem;
}
.live-spend {
  font-family: var(--fm);
  font-size: 0.68rem;
  color: var(--text);
  border: 1px solid #1a0505;
  background: rgba(10, 0, 0, 0.5);
  padding: 0.8rem 1.4rem;
  margin-top: 1rem;
  opacity: 0;
  animation: ri 0.8s 1.1s ease forwards;
  line-height: 1.9;
}
.live-spend b {
  font-family: var(--fd);
  font-size: 1.4rem;
  color: var(--red);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-shadow: 0 0 18px rgba(255, 59, 48, 0.35);
}
.scroll-cue {
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  animation: blink 2s infinite;
  margin-top: 1.5rem;
}
@keyframes blink {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.8;
  }
}
@keyframes ri {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SECTIONS / CHAPTERS ── */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.chapter-num {
  font-family: var(--fm);
  font-size: 0.58rem;
  letter-spacing: 0.4em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  opacity: 0.75;
}
.chapter-num::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  background: var(--red-dim);
  margin-top: 0.7rem;
}
.sec-title {
  font-family: var(--fd);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
}
.sec-title.red {
  color: var(--red);
  text-shadow: 0 0 30px rgba(255, 59, 48, 0.2);
}
.sec-title.teal {
  color: var(--teal);
  text-shadow: 0 0 30px rgba(49, 208, 214, 0.2);
}
.sec-title.amber {
  color: var(--amber);
}
.sec-desc {
  font-family: var(--fm);
  font-size: 0.7rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  margin-top: 0.6rem;
  margin-bottom: 2rem;
}

/* ── COST CARDS (machine + destruction) ── */
.war-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  background: var(--red-dim);
  border: 1px solid var(--red-dim);
}
.war-grid.amber-grid {
  background: #5a3a00;
  border-color: #5a3a00;
}
.wc {
  background: var(--near-black);
  padding: 1.3rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.25s;
}
.wc:hover {
  background: #0d0003;
}
.amber-grid .wc:hover {
  background: #0d0700;
}
.wc::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.amber-grid .wc::after {
  background: var(--amber);
}
.wc:hover::after {
  transform: scaleX(1);
}
.wc-tag {
  font-family: var(--fm);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.amber-grid .wc-tag {
  color: var(--amber);
}
.wc-amt {
  font-family: var(--fd);
  font-size: 2.3rem;
  color: #fff;
  line-height: 1;
}
.wc-name {
  font-family: var(--fb);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin: 0.3rem 0;
}
.wc-sum {
  font-family: var(--fb);
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.55;
}
.wc-expand {
  display: none;
  font-family: var(--fb);
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
}
.wc.open .wc-expand {
  display: block;
}
.wc-bar {
  height: 2px;
  background: var(--border);
  margin: 0.75rem 0 0.4rem;
  overflow: hidden;
}
.wc-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red-dim), var(--red));
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.amber-grid .wc-bar-fill {
  background: linear-gradient(90deg, #5a3a00, var(--amber));
}
.wc-src {
  font-family: var(--fm);
  font-size: 0.52rem;
}
.wc-src a {
  color: #e8e8e8;
  text-decoration: none;
  border-bottom: 1px solid #2a2a2a;
  transition: color 0.2s;
}
.wc-src a:hover {
  color: var(--red);
}
.wc-more {
  font-family: var(--fm);
  font-size: 0.52rem;
  color: var(--red);
  margin-top: 0.4rem;
  cursor: pointer;
  opacity: 0.6;
}
.amber-grid .wc-more {
  color: var(--amber);
}

/* ── TOP SPENDERS CHART ── */
.spenders {
  margin-top: 3rem;
}
.sp-head {
  font-family: var(--fm);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.sp-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.55rem;
}
.sp-name {
  font-family: var(--fd);
  font-size: 1.05rem;
  color: var(--text);
  width: 150px;
  flex-shrink: 0;
  text-align: right;
  line-height: 1;
}
.sp-track {
  flex: 1;
  height: 18px;
  background: #070709;
  position: relative;
  overflow: hidden;
}
.sp-fill {
  height: 100%;
  background: linear-gradient(90deg, #3a0000, var(--red));
  width: 0%;
  transition: width 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 14px rgba(255, 59, 48, 0.25);
}
.sp-amt {
  font-family: var(--fm);
  font-size: 0.62rem;
  color: #fff;
  width: 64px;
  flex-shrink: 0;
}
.sp-chg {
  font-family: var(--fm);
  font-size: 0.55rem;
  width: 54px;
  flex-shrink: 0;
  text-align: right;
}
.sp-chg.up {
  color: var(--red);
}
.sp-chg.down {
  color: var(--green);
}
.sp-note {
  font-family: var(--fm);
  font-size: 0.5rem;
  color: #333;
  margin-left: 150px;
  margin-top: -0.3rem;
  margin-bottom: 0.55rem;
  padding-left: 0.8rem;
}

/* ── DISPLACED ── */
.disp-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}
@media (max-width: 820px) {
  .disp-wrap {
    grid-template-columns: 1fr;
  }
}
.disp-big {
  font-family: var(--fd);
  font-size: clamp(4rem, 9vw, 7rem);
  color: var(--teal);
  line-height: 0.95;
  text-shadow: 0 0 40px rgba(49, 208, 214, 0.25);
}
.disp-big-sub {
  font-family: var(--fm);
  font-size: 0.66rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 0.8rem;
  max-width: 420px;
}
.disp-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}
.ds {
  min-width: 100px;
}
.ds-num {
  font-family: var(--fd);
  font-size: 1.9rem;
  color: #fff;
  line-height: 1;
}
.ds-lbl {
  font-family: var(--fm);
  font-size: 0.52rem;
  color: var(--muted);
  margin-top: 0.25rem;
  line-height: 1.5;
}
#dotField {
  width: 100%;
  display: block;
}
.dot-cap {
  font-family: var(--fm);
  font-size: 0.52rem;
  color: #333;
  margin-top: 0.5rem;
}
.gap-box {
  border: 1px solid #111;
  background: var(--near-black);
  padding: 1.6rem;
  margin-top: 2.5rem;
}
.gap-title {
  font-family: var(--fm);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.gap-row {
  margin-bottom: 1.1rem;
}
.gap-lbl {
  font-family: var(--fm);
  font-size: 0.6rem;
  color: var(--text);
  margin-bottom: 0.4rem;
  display: flex;
  justify-content: space-between;
}
.gap-lbl span {
  color: var(--muted);
}
.gap-track {
  height: 14px;
  background: #070709;
  overflow: hidden;
}
.gap-fill {
  height: 100%;
  width: 0%;
  transition: width 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gap-note {
  font-family: var(--fb);
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 1.2rem;
}
.gap-note b {
  color: var(--amber);
  font-weight: 600;
}

/* ── HUMAN COST ── */
.human {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #000 0%, #030303 50%, #000 100%);
  border-top: 1px solid #0d0d0d;
  border-bottom: 1px solid #0d0d0d;
}
.human-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 7rem 2rem;
}
.human-head {
  margin-bottom: 5rem;
}
.human-title {
  font-family: var(--fd);
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: #fff;
  line-height: 1;
}
.human-sub {
  font-family: var(--fm);
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 1rem;
  max-width: 560px;
}
.hstat {
  padding: 4.5rem 0;
  border-top: 1px solid #0c0c0c;
}
.hstat-num {
  font-family: var(--fd);
  font-size: clamp(4.5rem, 12vw, 9rem);
  color: #fff;
  line-height: 0.95;
  letter-spacing: 0.01em;
}
.hstat-unit {
  font-family: var(--fm);
  font-size: clamp(0.7rem, 1.4vw, 0.85rem);
  color: #999;
  margin-top: 0.8rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
}
.hstat-body {
  font-family: var(--fb);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.95;
  max-width: 600px;
  margin-top: 1.4rem;
}
.hstat-src {
  font-family: var(--fm);
  font-size: 0.52rem;
  margin-top: 1.1rem;
}
.hstat-src a {
  color: #2e2e2e;
  text-decoration: none;
  border-bottom: 1px dotted #222;
  transition: color 0.2s;
}
.hstat-src a:hover {
  color: #888;
}
#livesCanvas {
  width: 100%;
  display: block;
  margin: 1.8rem 0 0.4rem;
}
.lives-cap {
  font-family: var(--fm);
  font-size: 0.54rem;
  color: #333;
  line-height: 1.7;
}
.human-close {
  padding: 5rem 0 1rem;
  border-top: 1px solid #0c0c0c;
  text-align: center;
}
.human-close p {
  font-family: var(--fd);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: #fff;
  line-height: 1.25;
  max-width: 700px;
  margin: 0 auto;
}
.human-close p span {
  color: var(--red);
}

/* ── DIVIDER ── */
.divider {
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}
.div-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  margin: 0.75rem 0;
}
.div-text {
  font-family: var(--fd);
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--amber);
}
.div-sub {
  font-family: var(--fm);
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 0.6rem;
  line-height: 1.8;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── STICKY TRACKER ── */
.tracker {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #111;
  padding: 0.85rem 2rem;
}
.tracker-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.ti {
  min-width: 0;
}
.ti-lbl {
  font-family: var(--fm);
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 0.15rem;
  white-space: nowrap;
}
.ti-val {
  font-family: var(--fd);
  font-size: 1.5rem;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.4s;
}
.ti-val.g {
  color: var(--green);
  text-shadow: 0 0 15px rgba(49, 208, 214, 0.3);
}
.ti-val.a {
  color: var(--amber);
  text-shadow: 0 0 15px rgba(245, 166, 35, 0.3);
}
.ti-val.r {
  color: var(--red);
  text-shadow: 0 0 15px rgba(255, 59, 48, 0.3);
}
.ti-bar-w {
  flex: 1;
  min-width: 120px;
}
.ti-bar {
  height: 4px;
  background: #111;
  border-radius: 2px;
  overflow: hidden;
}
.ti-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green), var(--teal));
  transition:
    width 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s;
}
.ti-bar-fill.a {
  background: linear-gradient(90deg, var(--amber), #ff6b00);
}
.ti-bar-fill.r {
  background: var(--red);
}
.ti-count {
  font-family: var(--fm);
  font-size: 0.62rem;
  color: var(--teal);
  white-space: nowrap;
}

/* ── ISSUE CARDS ── */
.detail-section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.875rem;
  margin-top: 1.5rem;
}
.ic {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  transition:
    border-color 0.2s,
    transform 0.15s,
    box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.ic:hover:not(.cant) {
  border-color: #2a2a4e;
  transform: translateY(-1px);
}
.ic.sel {
  border-color: var(--teal);
  box-shadow:
    0 0 18px rgba(49, 208, 214, 0.1),
    inset 0 0 18px rgba(49, 208, 214, 0.03);
  animation: glow 2.5s ease infinite;
}
.ic.cant {
  opacity: 0.4;
  cursor: not-allowed;
}
@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(49, 208, 214, 0.05);
  }
  50% {
    box-shadow: 0 0 25px rgba(49, 208, 214, 0.18);
  }
}
.ic-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.ic-sdg {
  font-family: var(--fm);
  font-size: 0.52rem;
  letter-spacing: 0.15em;
  color: var(--purple);
  text-transform: uppercase;
}
.ic-chk {
  width: 15px;
  height: 15px;
  border: 1px solid var(--border);
  flex-shrink: 0;
  transition: all 0.2s;
}
.ic.sel .ic-chk {
  background: var(--teal);
  border-color: var(--teal);
}
.ic-name {
  font-family: var(--fd);
  font-size: 1.35rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.ic-cost {
  font-family: var(--fd);
  font-size: 1.7rem;
  line-height: 1;
  margin-bottom: 0.15rem;
}
.ic-unit {
  font-family: var(--fm);
  font-size: 0.52rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.ic-pb {
  height: 2px;
  background: var(--border);
  margin-bottom: 0.3rem;
  overflow: hidden;
}
.ic-pct {
  font-family: var(--fm);
  font-size: 0.52rem;
  color: var(--muted);
}
.ic-pct span {
  color: var(--teal);
}
.ic-sum {
  font-family: var(--fb);
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 0.45rem;
}
.ic-detail {
  display: none;
  font-family: var(--fb);
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--border);
}
.ic.exp .ic-detail {
  display: block;
}
.ic-more {
  font-family: var(--fm);
  font-size: 0.52rem;
  color: var(--teal);
  margin-top: 0.35rem;
  opacity: 0.65;
  cursor: pointer;
  user-select: none;
}
.ic-src {
  font-family: var(--fm);
  font-size: 0.52rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.ic-src a {
  color: #3a3a3a;
  text-decoration: none;
  border-bottom: 1px dotted #333;
  transition: color 0.2s;
}
.ic-src a:hover {
  color: var(--teal);
}
.cant-tag {
  font-family: var(--fm);
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  color: var(--red);
  border: 1px solid var(--red-dim);
  padding: 2px 5px;
  display: inline-block;
  margin-top: 0.35rem;
}

/* ── VIS ── */
.vis-section {
  padding: 2rem 0;
  width: 100%;
  position: relative;
  z-index: 2;
  background: var(--black);
}
.vis-header {
  padding: 2rem 2rem 0.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.vis-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 0;
  align-items: start;
  width: 100%;
}
#flowC {
  display: block;
  background: transparent;
  border: none;
  flex-shrink: 0;
  margin: 0 auto;
}
.vis-issue-panel {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  height: 700px;
  overflow-y: auto;
  padding: 0.75rem 1.5rem 0.75rem 0.75rem;
  border-left: 1px solid #111;
}
.vis-issue-panel::-webkit-scrollbar {
  width: 3px;
}
.vis-issue-panel::-webkit-scrollbar-track {
  background: #000;
}
.vis-issue-panel::-webkit-scrollbar-thumb {
  background: #1a1a1a;
}
.vis-panel-title {
  font-family: var(--fm);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 0.25rem 0 0.5rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid #111;
}
.pic {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 0.6rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    border-color 0.2s,
    background 0.2s;
  position: relative;
}
.pic:hover:not(.pcant) {
  background: #0a0a0f;
  border-color: #1a1a2e;
}
.pic.psel {
  background: #05080f;
  border-color: var(--teal);
}
.pic.pcant {
  opacity: 0.4;
  cursor: not-allowed;
}
.pic-chk {
  width: 14px;
  height: 14px;
  border: 1px solid #333;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s;
}
.pic.psel .pic-chk {
  background: var(--teal);
  border-color: var(--teal);
}
.pic-body {
  flex: 1;
  min-width: 0;
}
.pic-name {
  font-family: var(--fd);
  font-size: 1.05rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.1rem;
}
.pic-cost {
  font-family: var(--fm);
  font-size: 0.62rem;
  margin-bottom: 0.15rem;
  font-weight: 500;
}
.pic-sum {
  font-family: var(--fb);
  font-size: 0.62rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 0.2rem;
}
.pic-detail {
  display: none;
  font-family: var(--fb);
  font-size: 0.6rem;
  color: #444;
  line-height: 1.55;
  margin-top: 0.2rem;
  padding-top: 0.2rem;
  border-top: 1px solid #111;
}
.pic.pexp .pic-detail {
  display: block;
}
.pic-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.2rem;
}
.pic-more {
  font-family: var(--fm);
  font-size: 0.5rem;
  color: var(--teal);
  opacity: 0.6;
  cursor: pointer;
  user-select: none;
}
.pic-src a {
  font-family: var(--fm);
  font-size: 0.5rem;
  color: #333;
  text-decoration: none;
  border-bottom: 1px dotted #333;
  transition: color 0.2s;
}
.pic-src a:hover {
  color: var(--teal);
}
.pic-pct-bar {
  height: 1.5px;
  background: #111;
  margin-top: 0.3rem;
  overflow: hidden;
}
@media (max-width: 900px) {
  .vis-layout {
    grid-template-columns: 1fr;
  }
  .vis-issue-panel {
    height: auto;
    max-height: none;
    flex-direction: row;
    flex-wrap: wrap;
    border-left: none;
    border-top: 1px solid #111;
    padding: 1rem;
  }
  .pic {
    min-width: 200px;
    flex: 1;
  }
}

/* ── SUMMARY ── */
.summary {
  padding: 5rem 2rem;
  text-align: center;
  border-top: 1px solid #111;
  position: relative;
  z-index: 2;
}
.sum-big {
  font-family: var(--fd);
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1rem;
}
.sum-big .g {
  color: var(--green);
  text-shadow: 0 0 30px rgba(49, 208, 214, 0.3);
}
.sum-big .r {
  color: var(--red);
}
.sum-stmt {
  font-family: var(--fm);
  font-size: 0.72rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.9;
}
.sum-btns {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.btn {
  font-family: var(--fm);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  border: none;
}
.btn-r {
  color: var(--red);
  border: 1px solid var(--red-dim);
  background: transparent;
}
.btn-r:hover {
  background: var(--red);
  color: #000;
}
.btn-t {
  color: var(--teal);
  border: 1px solid var(--teal-dim);
  background: transparent;
}
.btn-t:hover {
  background: var(--teal);
  color: #000;
}
.btn-w {
  color: #999;
  border: 1px solid #222;
  background: transparent;
}
.btn-w:hover {
  background: #fff;
  color: #000;
}
.btn:disabled {
  cursor: not-allowed;
}

/* ── SHARE OVERLAY ── */
.share-ov {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 600;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.share-ov.open {
  display: flex;
}
.share-box {
  background: var(--near-black);
  border: 1px solid var(--border);
  padding: 2.5rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
}
.share-title {
  font-family: var(--fd);
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.75rem;
}
.share-sub {
  font-family: var(--fm);
  font-size: 0.62rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.share-inp {
  width: 100%;
  background: #0a0a0f;
  border: 1px solid var(--border);
  color: #fff;
  font-family: var(--fm);
  font-size: 0.72rem;
  padding: 0.7rem 1rem;
  outline: none;
  margin-bottom: 0.6rem;
  transition: border-color 0.2s;
}
.share-inp:focus {
  border-color: var(--teal);
}
.share-thanks {
  display: none;
  font-family: var(--fm);
  font-size: 0.7rem;
  color: var(--green);
  padding: 0.75rem;
  border: 1px solid var(--green-dim);
  margin-top: 0.6rem;
}
.share-note {
  font-family: var(--fm);
  font-size: 0.52rem;
  color: var(--muted);
  margin-top: 0.6rem;
  line-height: 1.6;
}
.share-links-row {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.s-lbtn {
  font-family: var(--fm);
  font-size: 0.58rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}
.s-lbtn:hover {
  background: #fff;
  color: #000;
}
.share-close {
  font-family: var(--fm);
  font-size: 0.58rem;
  color: var(--muted);
  cursor: pointer;
  margin-top: 1rem;
  display: block;
  text-decoration: underline;
}

/* ── DISCLAIMER / STUDIO / FOOTER ── */
.disclaimer {
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.disc-box {
  border: 1px solid #2a1500;
  background: #050200;
  padding: 1.5rem 2rem;
}
.disc-title {
  font-family: var(--fm);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.disc-text {
  font-family: var(--fb);
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.85;
}
.studio {
  padding: 4rem 2rem 2rem;
  text-align: center;
  border-top: 1px solid #0d0d0d;
  position: relative;
  z-index: 2;
}
.st-name {
  font-family: var(--fd);
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: #fff;
  letter-spacing: 0.04em;
}
.st-name span {
  color: var(--red);
}
.st-sub {
  font-family: var(--fm);
  font-size: 0.58rem;
  color: var(--muted);
  margin-top: 0.4rem;
  letter-spacing: 0.12em;
}
.st-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}
.st-links a {
  font-family: var(--fm);
  font-size: 0.58rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dotted #333;
  transition: color 0.2s;
}
.st-links a:hover {
  color: var(--teal);
}
footer {
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}
footer p {
  font-family: var(--fm);
  font-size: 0.52rem;
  color: #2a2a2a;
  line-height: 2.2;
  max-width: 900px;
  margin: 0 auto;
}
footer a {
  color: #2a2a2a;
  text-decoration: none;
  border-bottom: 1px dotted #2a2a2a;
}
footer a:hover {
  color: var(--muted);
}

/* ── JOURNEY ── */
.journey-section {
  border-top: 1px solid #0d0d0d;
  position: relative;
  z-index: 2;
}
.journey-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.journey-label {
  font-family: var(--fm);
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  opacity: 0.6;
}
.journey-desc {
  font-family: var(--fm);
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.85;
  margin: 0.75rem 0 2rem;
  max-width: 580px;
}
.journey-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ── RANKING ── */
.rank-ui {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (max-width: 680px) {
  .rank-ui {
    grid-template-columns: 1fr;
  }
}
.rank-col-head {
  font-family: var(--fm);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #111;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.rank-counter {
  color: var(--amber);
  margin-left: auto;
}
.rank-drop {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 80px;
}
.rank-pool {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.rank-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  background: var(--panel);
  border: 1px solid var(--border);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  user-select: none;
}
.rank-pill:hover {
  border-color: #2a2a4e;
  background: #0a0a14;
}
.rank-pill.in-top {
  opacity: 0.3;
  pointer-events: none;
}
.rank-pill.is-ranked {
  background: #050d05;
  border-color: var(--amber);
}
.rp-num {
  font-family: var(--fd);
  font-size: 1.5rem;
  color: #111;
  width: 26px;
  flex-shrink: 0;
  transition: color 0.25s;
  text-align: center;
  line-height: 1;
}
.rank-pill.is-ranked .rp-num {
  color: var(--amber);
}
.rp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.rp-name {
  font-family: var(--fd);
  font-size: 1rem;
  color: #fff;
  flex: 1;
  line-height: 1;
}
.rp-cost {
  font-family: var(--fm);
  font-size: 0.5rem;
  color: var(--muted);
  white-space: nowrap;
}
.rp-rm {
  font-family: var(--fm);
  font-size: 0.5rem;
  color: var(--red);
  opacity: 0;
  transition: opacity 0.2s;
  margin-left: 0.25rem;
  cursor: pointer;
  flex-shrink: 0;
}
.rank-pill.is-ranked:hover .rp-rm {
  opacity: 0.7;
}
.rank-empty-msg {
  font-family: var(--fm);
  font-size: 0.6rem;
  color: #1a1a1a;
  padding: 1.5rem;
  border: 1px dashed #0f0f0f;
  text-align: center;
  line-height: 1.6;
}

/* ── COUNTRY ── */
.country-ui {
  margin-top: 1.5rem;
}
.country-select {
  background: #0a0a0f;
  border: 1px solid var(--border);
  color: #fff;
  font-family: var(--fm);
  font-size: 0.7rem;
  padding: 0.75rem 1.25rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  max-width: 400px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.country-select:focus {
  border-color: var(--teal);
}
.country-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 1.75rem 2rem;
  margin-top: 1.25rem;
}
.cc-name {
  font-family: var(--fd);
  font-size: 2.2rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.cc-spend {
  font-family: var(--fd);
  font-size: 3.5rem;
  color: var(--red);
  text-shadow: 0 0 20px rgba(255, 59, 48, 0.2);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.cc-meta {
  font-family: var(--fm);
  font-size: 0.58rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.cc-meta a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px dotted var(--teal-dim);
}
.cc-bars {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.cc-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cc-bar-lbl {
  font-family: var(--fm);
  font-size: 0.54rem;
  color: var(--muted);
  width: 170px;
  flex-shrink: 0;
  line-height: 1.3;
}
.cc-bar-track {
  flex: 1;
  height: 2px;
  background: #0f0f0f;
  overflow: hidden;
}
.cc-bar-fill {
  height: 100%;
  transition: width 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cc-bar-val {
  font-family: var(--fm);
  font-size: 0.54rem;
  text-align: right;
  flex-shrink: 0;
  width: 48px;
}
.cc-note {
  font-family: var(--fm);
  font-size: 0.58rem;
  color: var(--teal);
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--teal-dim);
  background: #00050a;
  margin-top: 1.25rem;
  line-height: 1.7;
}

/* ── LETTER ── */
.letter-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 1.25rem;
}
@media (max-width: 600px) {
  .letter-fields {
    grid-template-columns: 1fr;
  }
}
.field-inp {
  background: #0a0a0f;
  border: 1px solid var(--border);
  color: #fff;
  font-family: var(--fm);
  font-size: 0.68rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.field-inp:focus {
  border-color: var(--teal);
}
.letter-wrap {
  border: 1px solid var(--border);
  background: #030303;
}
.letter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #0f0f0f;
  background: #050505;
}
.letter-toolbar-label {
  font-family: var(--fm);
  font-size: 0.48rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}
.letter-toolbar-actions {
  display: flex;
  gap: 0.4rem;
}
.tool-btn {
  font-family: var(--fm);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid #1a1a1a;
  background: transparent;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s;
}
.tool-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.letter-body {
  padding: 2rem 2.5rem;
  font-family: var(--fm);
  font-size: 0.68rem;
  color: #708090;
  line-height: 2.1;
  min-height: 260px;
  outline: none;
  white-space: pre-wrap;
}
.letter-body:focus {
  color: #888;
}
.letter-placeholder {
  color: #1a1a1a;
  font-style: italic;
  display: block;
  text-align: center;
  padding: 2rem 0;
}
.letter-contact-note {
  font-family: var(--fm);
  font-size: 0.55rem;
  color: var(--muted);
  margin-top: 0.75rem;
  line-height: 1.8;
}
.letter-contact-note a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dotted #333;
}

/* ── COALITION ── */
.coalition-display {
  margin: 1.5rem 0 2rem;
  text-align: left;
}
.coalition-num {
  font-family: var(--fd);
  font-size: clamp(4rem, 11vw, 8rem);
  color: var(--green);
  text-shadow: 0 0 40px rgba(49, 208, 214, 0.18);
  line-height: 1;
}
.coalition-suffix {
  font-family: var(--fm);
  font-size: 0.62rem;
  color: var(--muted);
  margin: 0.3rem 0 1rem;
  letter-spacing: 0.1em;
}
.live-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 0.35rem;
  animation: livePulse 1.2s ease infinite;
  vertical-align: middle;
}
@keyframes livePulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.6);
  }
}
.coalition-bar-wrap {
  max-width: 500px;
  margin-bottom: 1.5rem;
}
.coalition-bar {
  height: 2px;
  background: #0a0a0a;
  overflow: hidden;
}
.coalition-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--teal));
  width: 0%;
  transition: width 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.coalition-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}
.cti {
  font-family: var(--fm);
  font-size: 0.52rem;
  padding: 0.22rem 0.65rem;
  border: 1px solid #0f0f0f;
  color: #222;
}
.cti.hot {
  border-color: var(--teal-dim);
  color: var(--teal);
}
.coalition-form {
  max-width: 500px;
}
.coalition-thanks {
  font-family: var(--fm);
  font-size: 0.68rem;
  color: var(--green);
  padding: 0.75rem;
  border: 1px solid var(--green-dim);
  margin-top: 0.75rem;
}

/* ── SHARE CARD ── */
.sc-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.97);
  z-index: 900;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  flex-direction: column;
  gap: 0.875rem;
  overflow-y: auto;
}
.sc-overlay.open {
  display: flex;
}
.sc-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  max-width: 480px;
  width: 100%;
}
#shareCard {
  width: 100%;
  background: #000;
  border: 1px solid #111;
  padding: 1.75rem;
  font-family: "IBM Plex Mono", monospace;
}
.sc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.sc-eyebrow {
  font-size: 0.48rem;
  letter-spacing: 0.25em;
  color: var(--red);
  text-transform: uppercase;
  line-height: 1.6;
}
.sc-logo {
  font-family: var(--fd);
  font-size: 0.9rem;
  color: var(--red);
  text-align: right;
  line-height: 1.2;
}
.sc-headline {
  font-family: var(--fd);
  font-size: 2rem;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.1rem;
}
.sc-issues {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.875rem;
}
.sc-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.sc-rn {
  font-family: var(--fd);
  font-size: 1rem;
  color: #333;
  width: 16px;
  flex-shrink: 0;
}
.sc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sc-in {
  font-size: 0.6rem;
  color: var(--text);
  flex: 1;
}
.sc-ic {
  font-size: 0.55rem;
}
.sc-divider {
  border: none;
  border-top: 1px solid #0f0f0f;
  margin: 0.65rem 0;
}
.sc-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.sc-stat {
  font-size: 0.52rem;
  color: var(--muted);
  line-height: 1.8;
  flex: 1;
}
.sc-stat-right {
  font-family: var(--fd);
  font-size: 1.8rem;
  color: var(--green);
  text-align: right;
  line-height: 1;
  text-shadow: 0 0 12px rgba(49, 208, 214, 0.22);
}
.sc-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 0.4rem;
}
.sc-footer-left {
  font-size: 0.5rem;
  color: #333;
  line-height: 1.6;
  flex: 1;
}
.sc-footer-right {
  font-size: 0.46rem;
  color: #1a1a1a;
  text-align: right;
  line-height: 1.7;
}
.sc-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.sc-close {
  font-family: var(--fm);
  font-size: 0.55rem;
  color: var(--muted);
  cursor: pointer;
  text-align: center;
  text-decoration: underline;
}

.burst {
  position: fixed;
  pointer-events: none;
  z-index: 500;
  font-family: var(--fd);
  font-size: 1.05rem;
  animation: burstUp 0.9s ease forwards;
  white-space: nowrap;
}
@keyframes burstUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-65px) scale(0.55);
  }
}

/* ── SCROLL PROGRESS ── */
#scrollBar {
  position: fixed;
  right: 0;
  top: 0;
  width: 3px;
  height: 0%;
  background: linear-gradient(180deg, var(--red), var(--amber), var(--teal));
  z-index: 1000;
  transition: height 0.1s linear;
  pointer-events: none;
}
#scrollDot {
  position: fixed;
  right: -3px;
  top: 0;
  width: 9px;
  height: 9px;
  background: var(--teal);
  border-radius: 50%;
  z-index: 1001;
  transition: top 0.1s linear;
  pointer-events: none;
  box-shadow: 0 0 8px var(--teal);
}

/* ── MOBILE ── */
@media (max-width: 620px) {
  .tracker-inner,
  .sum-btns {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .ti-bar-w {
    width: 100%;
  }
  .sp-name {
    width: 92px;
    font-size: 0.85rem;
  }
  .sp-chg {
    display: none;
  }
  .sp-note {
    margin-left: 92px;
  }
  .hero-counters {
    gap: 1.5rem;
  }
  .section {
    padding: 3.5rem 1.25rem;
  }
  .human-inner {
    padding: 4.5rem 1.25rem;
  }
  .hstat {
    padding: 3rem 0;
  }
  .journey-inner {
    padding: 3.5rem 1.25rem;
  }
  .letter-body {
    padding: 1.25rem 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .rv {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   ▓▓▓  2026 REVISION PASS  ▓▓▓
   Data-viz, condensed length, clearer journey, green "Have Your Say"
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --say: #31d0d6; /* "Have Your Say" = the BUILD accent (interactive half) */
  --say-dim: #0a3d3f;
  --say-glow: rgba(49, 208, 214, 0.32);
  --gold: #ffb020; /* selection highlight → amber, off the build/war axis */
  --ink: #c7d0d9; /* readable body on black */
  --ink-soft: #93a0ad; /* secondary readable */
  --link: #8aa7c4; /* small links, readable */
}

/* ── READABILITY: lift dark text / small links ── */
footer p {
  color: #8a97a6;
}
footer a {
  color: #9fb3c9;
  border-bottom-color: #2f3a47;
}
footer a:hover {
  color: #fff;
}
.wc-src a,
.ic-src a,
.pic-src a,
.hstat-src a,
.cc-meta,
.dot-cap,
.lives-cap,
.sp-note {
  color: var(--link);
}
.pic-detail,
.ic-detail,
.wc-expand {
  color: var(--ink-soft);
}
.cti {
  color: #6b7682;
  border-color: #20262e;
}
.sec-desc,
.journey-desc,
.disc-text {
  color: var(--ink-soft);
}

/* ── CONDENSE LENGTH ── */
.section {
  padding: 3.5rem 2rem;
}
.detail-section {
  padding: 3rem 2rem;
}
.divider {
  padding: 3.5rem 2rem;
}
.summary {
  padding: 3.5rem 2rem;
}
.journey-inner {
  padding: 3.75rem 2rem;
}
.human-inner {
  padding: 4.5rem 2rem;
}

/* ── SUBHEAD (inside a merged chapter) ── */
.subhead {
  font-family: var(--fm);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 3rem 0 1.25rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid #161616;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.subhead::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}
.subhead.amber {
  color: var(--amber);
}
.subhead.teal {
  color: var(--teal);
}
.subhead.white {
  color: #d8dde2;
}

/* ── CONTINUE / STAGE CTA ── */
.continue-wrap {
  text-align: center;
  padding: 2.25rem 1rem 0.5rem;
  position: relative;
  z-index: 2;
}
.continue-btn {
  font-family: var(--fm);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  border: 1px solid #2a2a3a;
  padding: 0.9rem 1.9rem;
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s,
    transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.continue-btn .ar {
  display: inline-block;
  animation: nudge 1.6s ease-in-out infinite;
}
@keyframes nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}
.continue-btn:hover {
  transform: translateY(-2px);
}
.continue-btn.red {
  border-color: var(--red-dim);
  color: #ff8a8a;
}
.continue-btn.red:hover {
  background: var(--red);
  color: #000;
  border-color: var(--red);
}
.continue-btn.amber {
  border-color: #5a3a00;
  color: var(--amber);
}
.continue-btn.amber:hover {
  background: var(--amber);
  color: #000;
  border-color: var(--amber);
}
.continue-btn.say {
  border-color: var(--say-dim);
  color: var(--say);
}
.continue-btn.say:hover {
  background: var(--say);
  color: #000;
  border-color: var(--say);
  box-shadow: 0 0 30px var(--say-glow);
}

/* ── DONUT (military spend by sector) ── */
.machine-viz {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 1.5rem;
}
@media (max-width: 860px) {
  .machine-viz {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.donut-card,
.impact-card {
  border: 1px solid #15151c;
  background: linear-gradient(180deg, #08080c, #050507);
  padding: 1.6rem 1.5rem;
}
.viz-h {
  font-family: var(--fm);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}
.donut-layout {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
@media (max-width: 420px) {
  .donut-layout {
    flex-direction: column;
  }
}
.donut-svg {
  flex-shrink: 0;
  width: 188px;
  height: 188px;
  overflow: visible;
}
.donut-seg {
  transition: opacity 0.25s;
  cursor: default;
}
.donut-seg.dim {
  opacity: 0.28;
}
.donut-center-v {
  font-family: var(--fd);
  fill: #fff;
}
.donut-center-l {
  font-family: var(--fm);
  fill: var(--ink-soft);
}
.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.dleg {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--fm);
  font-size: 0.62rem;
  color: var(--ink);
  cursor: default;
  transition: color 0.2s;
}
.dleg:hover {
  color: #fff;
}
.dleg-sw {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
.dleg-amt {
  margin-left: auto;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* ── IMPACT FIGURE (clickable → Impact chapter) ── */
.impact-card {
  cursor: pointer;
  transition:
    border-color 0.25s,
    background 0.25s;
}
.impact-card:hover {
  border-color: #3a2a10;
}
.impact-fig {
  font-family: var(--fd);
  font-size: clamp(3.4rem, 8vw, 5.2rem);
  line-height: 0.92;
  color: var(--amber);
  text-shadow: 0 0 38px rgba(245, 166, 35, 0.25);
}
.impact-sub {
  font-family: var(--fm);
  font-size: 0.64rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-top: 0.5rem;
}
.impact-gdp {
  margin-top: 1.3rem;
}
.impact-gdp-track {
  height: 30px;
  background: #0b0b10;
  border: 1px solid #15151c;
  display: flex;
  overflow: hidden;
}
.impact-gdp-fill {
  height: 100%;
  background: linear-gradient(90deg, #6a4a10, var(--amber));
  width: 0%;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.impact-gdp-cap {
  font-family: var(--fm);
  font-size: 0.55rem;
  color: var(--ink-soft);
  margin-top: 0.45rem;
  display: flex;
  justify-content: space-between;
}
.impact-cta {
  font-family: var(--fm);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 1.2rem;
  opacity: 0.85;
}

/* ── COMPARATIVE STAT ROW ── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #15151c;
  border: 1px solid #15151c;
  margin-top: 2.5rem;
}
@media (max-width: 680px) {
  .stat-row {
    grid-template-columns: 1fr;
  }
}
.statc {
  background: var(--near-black);
  padding: 1.3rem 1.4rem;
}
.statc-num {
  font-family: var(--fd);
  font-size: 2.6rem;
  line-height: 1;
  color: #fff;
}
.statc-num.red {
  color: var(--red);
}
.statc-num.amber {
  color: var(--amber);
}
.statc-lbl {
  font-family: var(--fm);
  font-size: 0.6rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* ── DUAL SPENDER BARS ── */
.dual-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1.25rem;
}
@media (max-width: 760px) {
  .dual-bars {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}
.bars-col .sp-head {
  margin-bottom: 1rem;
}
.b2-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}
.b2-name {
  font-family: var(--fd);
  font-size: 0.95rem;
  color: var(--ink);
  width: 96px;
  flex-shrink: 0;
  text-align: right;
  line-height: 1;
}
.b2-track {
  flex: 1;
  height: 16px;
  background: #08080c;
  overflow: hidden;
}
.b2-fill {
  height: 100%;
  width: 0%;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.b2-fill.red {
  background: linear-gradient(90deg, #3a0000, var(--red));
}
.b2-fill.amber {
  background: linear-gradient(90deg, #5a3a00, var(--amber));
}
.b2-val {
  font-family: var(--fm);
  font-size: 0.6rem;
  color: #fff;
  width: 52px;
  flex-shrink: 0;
}
.b2-row.peak .b2-val {
  color: var(--amber);
}

/* ── IMPACT: reconstruction + emissions ── */
.impact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 1rem;
}
@media (max-width: 820px) {
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}
.recon-row {
  margin-bottom: 1.1rem;
}
.recon-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
}
.recon-name {
  font-family: var(--fb);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text);
}
.recon-amt {
  font-family: var(--fd);
  font-size: 1.5rem;
  color: var(--amber);
}
.recon-track {
  height: 12px;
  background: #08080c;
  overflow: hidden;
}
.recon-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #5a3a00, var(--amber));
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.recon-note {
  font-family: var(--fm);
  font-size: 0.56rem;
  color: var(--ink-soft);
  margin-top: 0.35rem;
  line-height: 1.5;
}
.recon-src {
  font-family: var(--fm);
  font-size: 0.52rem;
  margin-top: 1rem;
}
.recon-src a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px dotted #2f3a47;
}
.bigstat {
  border: 1px solid #15151c;
  background: var(--near-black);
  padding: 1.4rem;
  margin-bottom: 1rem;
}
.bigstat-num {
  font-family: var(--fd);
  font-size: 3rem;
  line-height: 1;
  color: #fff;
}
.bigstat-num.amber {
  color: var(--amber);
}
.bigstat-lbl {
  font-family: var(--fm);
  font-size: 0.6rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-top: 0.5rem;
}
.emissions-mini {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 3px;
  margin-top: 0.9rem;
}
.em-cell {
  aspect-ratio: 1;
  background: #14171a;
  border-radius: 1px;
}
.em-cell.on {
  background: #4a7a55;
  box-shadow: 0 0 6px rgba(49, 208, 214, 0.25);
}

/* ── DOT FIELD LEGEND (displacement) ── */
.dot-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 0.5rem 0 0.2rem;
}
.dot-leg {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--fm);
  font-size: 0.56rem;
  color: var(--ink);
}
.dot-leg i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

/* ── HUMAN STAT STRIP (condensed) ── */
.human-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #121212;
  border: 1px solid #121212;
  margin: 1.5rem 0 2.5rem;
}
@media (max-width: 720px) {
  .human-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
.hsc {
  background: #030303;
  padding: 1.4rem 1.2rem;
}
.hsc-num {
  font-family: var(--fd);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  line-height: 1;
  color: #fff;
}
.hsc-lbl {
  font-family: var(--fm);
  font-size: 0.56rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-top: 0.5rem;
}
.hsc-src {
  font-family: var(--fm);
  font-size: 0.5rem;
  margin-top: 0.6rem;
}
.hsc-src a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px dotted #2f3a47;
}
#livesCanvas {
  margin-top: 0.5rem;
}

/* ═══ HAVE YOUR SAY — interactive back half (green) ═══ */
.hys-divider {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4.5rem 2rem 3.25rem;
  border-top: 1px solid var(--say-dim);
  background: radial-gradient(
    ellipse at center top,
    rgba(49, 208, 214, 0.05),
    transparent 60%
  );
}
.hys-eyebrow {
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--say);
  margin-bottom: 1.4rem;
}
.hys-eyebrow .live-dot {
  background: var(--say);
}
.hys-title {
  font-family: var(--fd);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1;
  color: #fff;
}
.hys-title span {
  color: var(--say);
  text-shadow: 0 0 38px var(--say-glow);
}
.hys-lead {
  font-family: var(--fm);
  font-size: 0.74rem;
  color: var(--ink);
  line-height: 1.9;
  max-width: 620px;
  margin: 1.4rem auto 0;
}
.hys-lead b {
  color: var(--say);
  font-weight: 500;
}
.hys-garden {
  font-family: var(--fb);
  font-size: clamp(1.1rem, 2.6vw, 1.6rem);
  color: #fff;
  line-height: 1.5;
  max-width: 640px;
  margin: 1.75rem auto 0;
}
.hys-garden span {
  color: var(--say);
}

/* tracker recolour in say-mode */
.tracker.say .ti-val.g {
  color: var(--say);
  text-shadow: 0 0 15px var(--say-glow);
}
.tracker.say .ti-bar-fill {
  background: linear-gradient(90deg, var(--say), #31d0d6);
}

/* ── COMBINED REDISTRIBUTION ── */
.redist {
  position: relative;
  z-index: 2;
  max-width: 1500px;
  margin: 0 auto;
  padding: 1rem 1.5rem 1rem;
}
.redist-instruct {
  text-align: center;
  font-family: var(--fm);
  font-size: 0.72rem;
  color: var(--ink);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}
.redist-instruct b {
  color: var(--gold);
  font-weight: 500;
}
.redist-layout {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 460px) 1fr;
  gap: 1rem;
  align-items: start;
}
@media (max-width: 1040px) {
  .redist-layout {
    grid-template-columns: 1fr;
  }
  .redist-canvas-col {
    order: -1;
    position: relative !important;
    top: 0 !important;
  }
  .issue-col {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.5rem;
    align-content: start;
  }
}
.redist-canvas-col {
  position: sticky;
  top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#flowC {
  margin: 0 auto;
}
.redist-prompt {
  font-family: var(--fm);
  font-size: 0.62rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 0.5rem;
  min-height: 1.2rem;
  transition: color 0.3s;
}
.redist-prompt.go {
  color: var(--gold);
}
.issue-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* compact selectable issue card */
.ix {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 2px solid transparent;
  padding: 0.6rem 0.7rem;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.12s;
  position: relative;
}
.ix:hover:not(.ix-cant) {
  background: #0c0c14;
  border-color: #24243a;
  transform: translateY(-1px);
}
.ix.ix-sel {
  border-color: var(--gold);
  border-left-color: var(--gold);
  background: #14110a;
  box-shadow: 0 0 16px rgba(255, 176, 32, 0.1);
}
.ix.ix-cant {
  opacity: 0.4;
  cursor: not-allowed;
}
.ix-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.ix-chk {
  width: 14px;
  height: 14px;
  border: 1px solid #333;
  flex-shrink: 0;
  transition: all 0.2s;
  position: relative;
}
.ix.ix-sel .ix-chk {
  background: var(--gold);
  border-color: var(--gold);
}
.ix.ix-sel .ix-chk::after {
  content: "✓";
  position: absolute;
  inset: 0;
  color: #000;
  font-size: 0.6rem;
  text-align: center;
  line-height: 13px;
  font-family: var(--fm);
}
.ix-name {
  font-family: var(--fd);
  font-size: 1.05rem;
  color: #fff;
  line-height: 1;
  flex: 1;
}
.ix-cost {
  font-family: var(--fm);
  font-size: 0.6rem;
  font-weight: 500;
  white-space: nowrap;
}
.ix-sum {
  font-family: var(--fb);
  font-size: 0.62rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}
.ix-detail {
  display: none;
  font-family: var(--fb);
  font-size: 0.6rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-top: 0.4rem;
  padding: 0.4rem 0 0 1.1rem;
  border-top: 1px solid #15151c;
}
.ix.ix-exp .ix-detail {
  display: block;
}
.ix-foot {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-top: 0.35rem;
  padding-left: 1.1rem;
}
.ix-more,
.ix-src a {
  font-family: var(--fm);
  font-size: 0.52rem;
  cursor: pointer;
}
.ix-more {
  color: var(--gold);
  opacity: 0.7;
  user-select: none;
}
.ix-src a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px dotted #2f3a47;
}
.ix-cant-tag {
  font-family: var(--fm);
  font-size: 0.48rem;
  color: var(--red);
  margin-top: 0.3rem;
  padding-left: 1.1rem;
  display: block;
}

/* ── GATING ── */
.gated {
  position: relative;
}
.gated-content {
  transition:
    filter 0.7s,
    opacity 0.7s;
}
.gated.locked .gated-content {
  filter: blur(8px) saturate(0.35);
  opacity: 0.3;
  pointer-events: none;
  user-select: none;
}
.gate-msg {
  position: sticky;
  top: 38vh;
  z-index: 5;
  height: 0;
  overflow: visible;
  display: none;
  text-align: center;
  pointer-events: none;
}
.gated.locked .gate-msg {
  display: block;
}
.gate-msg-inner {
  pointer-events: auto;
  display: inline-block;
  background: rgba(2, 6, 4, 0.7);
  border: 1px solid var(--say-dim);
  backdrop-filter: blur(3px);
  padding: 1.6rem 2rem;
}
.gate-lock {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  opacity: 0.7;
}
.gate-msg p {
  font-family: var(--fm);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--say);
  line-height: 1.7;
  max-width: 360px;
}
.gate-msg .continue-btn {
  margin-top: 1.2rem;
}

/* journey accent → green for the back half */
.journey-section .journey-label {
  color: var(--say);
}

/* ── LETTER red placeholders ── */
.letter-redfill {
  color: var(--red);
  font-weight: 600;
}
.letter-prefill-note {
  font-family: var(--fm);
  font-size: 0.62rem;
  color: var(--red);
  border: 1px solid var(--red-dim);
  background: rgba(40, 0, 0, 0.25);
  padding: 0.7rem 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  display: none;
}
.letter-prefill-note.show {
  display: block;
}

@media (max-width: 620px) {
  .stat-row {
    grid-template-columns: 1fr;
  }
  .donut-svg {
    width: 160px;
    height: 160px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   ▓▓▓  2026 REVISION 3  ▓▓▓
   Dedicated teal CTA system · more data-viz · ranking overlay
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --cta: #31d0d6; /* the ONE call-to-action colour = the build cyan */
  --cta-dim: #0a3d3f;
  --cta-glow: rgba(49, 208, 214, 0.35);
}

/* ── DEDICATED CTA STYLING (all actions look the same) ── */
.btn-t,
.continue-btn,
.continue-btn.red,
.continue-btn.amber,
.continue-btn.say {
  color: #00171c !important;
  background: var(--cta) !important;
  border: 1px solid var(--cta) !important;
  font-weight: 600;
  letter-spacing: 0.12em;
  box-shadow: 0 0 22px var(--cta-glow);
}
.btn-t:hover,
.continue-btn:hover,
.continue-btn.red:hover,
.continue-btn.amber:hover,
.continue-btn.say:hover {
  background: #6df3ff !important;
  border-color: #6df3ff !important;
  color: #00171c !important;
  box-shadow: 0 0 34px var(--cta-glow);
}
.continue-btn {
  font-size: 0.72rem;
  padding: 1rem 2.1rem;
}
/* outline CTA (secondary action) */
.btn-cta-out {
  color: var(--cta);
  background: transparent;
  border: 1px solid var(--cta);
  font-family: var(--fm);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-cta-out:hover {
  background: var(--cta);
  color: #00171c;
}
.impact-cta {
  color: var(--cta) !important;
  font-weight: 600;
}

/* ── REMOVE teal from non-CTA chrome → green / blue / white ── */
.sec-title.teal {
  color: var(--say);
  text-shadow: 0 0 30px var(--say-glow);
}
.cti.hot {
  border-color: var(--say-dim);
  color: var(--say);
}
.coalition-bar-fill {
  background: linear-gradient(90deg, var(--say), #8affc4);
}
.tracker.say .ti-bar-fill {
  background: linear-gradient(90deg, var(--say), #8affc4);
}
.cc-note {
  color: var(--say);
  border-color: var(--say-dim);
  background: #021008;
}
.cc-meta a {
  color: var(--say);
  border-bottom-color: var(--say-dim);
}
.field-inp:focus,
.country-select:focus,
.share-inp:focus {
  border-color: var(--say);
}
.wc-src a:hover,
.ic-src a:hover,
.pic-src a:hover,
.st-links a:hover,
.cc-meta a:hover {
  color: var(--say);
}

/* ── HERO: third figure (coalition) ── */
.hc-num.say {
  color: var(--say);
  text-shadow: 0 0 40px var(--say-glow);
}

/* ── CHAPTER 1: two info cards, each with a pie below ── */
.machine-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (max-width: 860px) {
  .machine-cols {
    grid-template-columns: 1fr;
  }
}
.mcol {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.figcard {
  border: 1px solid #15151c;
  background: linear-gradient(180deg, #08080c, #050507);
  padding: 1.6rem 1.5rem;
}
.figcard.clickable {
  cursor: pointer;
  transition: border-color 0.25s;
}
.figcard.clickable:hover {
  border-color: #3a2a10;
}
.figcard .impact-fig.red {
  color: var(--red);
  text-shadow: 0 0 38px rgba(255, 59, 48, 0.25);
}
.piecard {
  border: 1px solid #15151c;
  background: linear-gradient(180deg, #08080c, #050507);
  padding: 1.6rem 1.5rem;
  flex: 1;
}
.pie-layout {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}
@media (max-width: 480px) {
  .pie-layout {
    flex-direction: column;
  }
}
.pie-svg {
  flex-shrink: 0;
  width: 172px;
  height: 172px;
  overflow: visible;
}
.pie-seg {
  transition: opacity 0.25s;
  cursor: default;
}
.pie-seg.dim {
  opacity: 0.25;
}
.pie-srcs {
  margin-top: 1.1rem;
  padding-top: 0.8rem;
  border-top: 1px solid #15151c;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}
.pie-srcs a {
  font-family: var(--fm);
  font-size: 0.52rem;
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px dotted #2f3a47;
}

/* ── BIG SECTION TITLES inside the Impact chapter ── */
.bigsub {
  font-family: var(--fd);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 0.95;
  margin: 3.5rem 0 0.4rem;
}
.bigsub.amber {
  color: var(--amber);
}
.bigsub.blue {
  color: #4f7cff;
}
.bigsub.white {
  color: #fff;
}
.bigsub-tag {
  font-family: var(--fm);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
  display: block;
}

/* ── CONFLICT COST BARS ── */
.conflict-bars {
  margin-top: 1rem;
}
.cf-row {
  margin-bottom: 1rem;
}
.cf-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
}
.cf-name {
  font-family: var(--fd);
  font-size: 1.5rem;
  color: #fff;
}
.cf-amt {
  font-family: var(--fd);
  font-size: 1.5rem;
  color: var(--amber);
}
.cf-track {
  height: 13px;
  background: #08080c;
  overflow: hidden;
}
.cf-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #5a3a00, var(--amber));
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cf-note {
  font-family: var(--fm);
  font-size: 0.56rem;
  color: var(--ink-soft);
  margin-top: 0.3rem;
}
.cf-note a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px dotted #2f3a47;
}

/* ── ENV / SYSTEMIC FACT CARDS ── */
.env-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #121212;
  border: 1px solid #121212;
  margin-top: 1.25rem;
}
@media (max-width: 720px) {
  .env-grid {
    grid-template-columns: 1fr;
  }
}
.envc {
  background: #030303;
  padding: 1.4rem 1.3rem;
}
.envc-fig {
  font-family: var(--fd);
  font-size: 2.8rem;
  line-height: 1;
  color: #4a9a6a;
}
.envc-lbl {
  font-family: var(--fm);
  font-size: 0.58rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-top: 0.5rem;
}
.envc-src {
  font-family: var(--fm);
  font-size: 0.5rem;
  margin-top: 0.6rem;
}
.envc-src a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px dotted #2f3a47;
}

/* ── CHILDREN DISPLACED bar ── */
.children-wrap {
  margin-top: 1.5rem;
  border: 1px solid #101820;
  background: #03070b;
  padding: 1.4rem 1.5rem;
}
.children-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.6rem;
}
.children-num {
  font-family: var(--fd);
  font-size: 2.4rem;
  color: #31d0d6;
}
.children-lbl {
  font-family: var(--fm);
  font-size: 0.6rem;
  color: var(--ink-soft);
}
.children-track {
  height: 22px;
  background: #4f7cff22;
  display: flex;
  overflow: hidden;
}
.children-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2a4fb0, #31d0d6);
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── HUMAN IMPACT mini pies ── */
.hi-pies {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0;
}
@media (max-width: 640px) {
  .hi-pies {
    grid-template-columns: 1fr;
  }
}
.hi-pie {
  border: 1px solid #15151c;
  background: #050507;
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.hi-pie svg {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}
.hi-pie-txt {
  flex: 1;
}
.hi-pie-big {
  font-family: var(--fd);
  font-size: 2.6rem;
  line-height: 1;
  color: #fff;
}
.hi-pie-lbl {
  font-family: var(--fm);
  font-size: 0.6rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-top: 0.4rem;
}
.hi-pie-src {
  font-family: var(--fm);
  font-size: 0.5rem;
  margin-top: 0.5rem;
}
.hi-pie-src a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px dotted #2f3a47;
}

/* ── REDISTRIBUTION rework ── */
.redist {
  max-width: 1600px;
}
.fund-cta {
  text-align: center;
  font-family: var(--fd);
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  color: var(--cta);
  letter-spacing: 0.02em;
  margin: 0.5rem auto 0.3rem;
  text-shadow: 0 0 26px var(--cta-glow);
}
.fund-cta-sub {
  text-align: center;
  font-family: var(--fm);
  font-size: 0.64rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.redist-layout {
  grid-template-columns: 1fr minmax(420px, 620px) 1fr;
}
@media (max-width: 1100px) {
  .redist-layout {
    grid-template-columns: 1fr;
  }
}
.redist-canvas-col {
  top: 64px;
}
#flowC {
  max-width: 100%;
}

/* condensed issue card: tighter horizontally, taller */
.ix {
  padding: 0.7rem 0.8rem;
}
.ix-top {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
}
.ix-sdg {
  font-family: var(--fm);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  width: 100%;
  order: -1;
}
.ix-cost {
  font-family: var(--fd);
  font-size: 1.5rem;
  font-weight: 400;
}
.ix-cost .yr {
  font-family: var(--fm);
  font-size: 0.5rem;
  color: var(--ink-soft);
}
.ix-pct {
  color: #5ad1ff;
  font-weight: 500;
}
.ix-foot {
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
}

/* save bar under the tool */
.redist-save {
  text-align: center;
  margin-top: 1.5rem;
  min-height: 3rem;
}

/* ── RANKING OVERLAY (modal) ── */
.rank-ov {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 5, 3, 0.92);
  backdrop-filter: blur(6px);
  z-index: 800;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.rank-ov.open {
  display: flex;
}
.rank-modal {
  background: var(--near-black);
  border: 1px solid var(--say-dim);
  box-shadow: 0 0 60px rgba(49, 208, 214, 0.12);
  max-width: 720px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2rem 2.2rem;
}
.rank-modal h3 {
  font-family: var(--fd);
  font-size: 2.2rem;
  color: var(--say);
  line-height: 1;
}
.rank-modal .rm-sub {
  font-family: var(--fm);
  font-size: 0.66rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0.6rem 0 1.3rem;
}
.rm-count {
  color: var(--say);
}
.rm-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.rm-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  background: var(--panel);
  cursor: pointer;
  transition: all 0.18s;
  user-select: none;
}
.rm-item:hover {
  border-color: #2a3a4e;
}
.rm-item.picked {
  background: #04140c;
  border-color: var(--say);
}
.rm-rank {
  font-family: var(--fd);
  font-size: 1.4rem;
  width: 28px;
  text-align: center;
  color: #1a1a1a;
  flex-shrink: 0;
}
.rm-item.picked .rm-rank {
  color: var(--say);
}
.rm-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.rm-name {
  font-family: var(--fd);
  font-size: 1.1rem;
  color: #fff;
  flex: 1;
}
.rm-cost {
  font-family: var(--fm);
  font-size: 0.56rem;
  color: var(--ink-soft);
}
.rm-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.rm-close {
  font-family: var(--fm);
  font-size: 0.56rem;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  margin-left: auto;
}

/* ── COUNTRY trend + priorities ── */
.cc-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid #15151c;
}
@media (max-width: 640px) {
  .cc-extra {
    grid-template-columns: 1fr;
  }
}
.cc-extra-h {
  font-family: var(--fm);
  font-size: 0.54rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}
.trend-ind {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.trend-arrow {
  font-family: var(--fd);
  font-size: 3.2rem;
  line-height: 1;
}
.trend-arrow.up {
  color: var(--red);
}
.trend-arrow.down {
  color: var(--say);
}
.trend-val {
  font-family: var(--fd);
  font-size: 2rem;
  line-height: 1;
}
.trend-val.up {
  color: var(--red);
}
.trend-val.down {
  color: var(--say);
}
.trend-cap {
  font-family: var(--fm);
  font-size: 0.56rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: 0.4rem;
}
.prio-bar-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.4rem;
}
.prio-bar-name {
  font-family: var(--fm);
  font-size: 0.54rem;
  color: var(--ink);
  width: 92px;
  flex-shrink: 0;
  text-align: right;
}
.prio-bar-track {
  flex: 1;
  height: 10px;
  background: #08080c;
  overflow: hidden;
}
.prio-bar-fill {
  height: 100%;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.prio-bar-pct {
  font-family: var(--fm);
  font-size: 0.54rem;
  color: var(--ink-soft);
  width: 32px;
  flex-shrink: 0;
}

/* ── COALITION global priority bars ── */
.global-prio {
  max-width: 620px;
  margin: 1.5rem 0;
}
.global-prio-h {
  font-family: var(--fm);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

@media (max-width: 620px) {
  .machine-cols {
    gap: 1rem;
  }
  .bigsub {
    font-size: 2.4rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   ▓▓▓  2026 REVISION 4  ▓▓▓  formatting consistency · colour-coding
   ═══════════════════════════════════════════════════════════════════ */

/* ── CH1: matching cards in a 2×2 grid (cards row, pies row) ── */
.machine-cols {
  align-items: stretch;
}
.figcard,
.piecard {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.figcard .impact-sub {
  flex: 1;
}
.figcard-src {
  margin-top: 1.1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #15151c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.figcard-src a {
  font-family: var(--fm);
  font-size: 0.54rem;
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px dotted #2f3a47;
}
.figcard-src .impact-cta {
  margin-top: 0;
  font-size: 0.55rem;
}
.impact-gdp-fill.red {
  background: linear-gradient(90deg, #4d0a0a, #ff4d4d);
}
.piecard .pie-layout {
  flex: 1;
  align-items: center;
}
/* keep both donuts the same footprint */
.pie-svg {
  width: 180px;
  height: 180px;
}

/* ── WAR ON THE PLANET → orange ── */
.envc-fig {
  color: #e8893a;
}
.em-cell.on {
  background: #e8893a;
  box-shadow: 0 0 6px rgba(232, 137, 58, 0.3);
}

/* ── GLOBAL ALIGNMENT / RHYTHM ── */
.viz-h {
  min-height: 2.1em;
}
.impact-grid,
.disp-wrap {
  align-items: stretch;
}
.gap-box,
.bigstat {
  height: 100%;
}

/* ── COALITION side-by-side ── */
.coalition-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 1rem;
}
@media (max-width: 820px) {
  .coalition-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.coalition-layout .global-prio {
  margin: 0;
  max-width: none;
}
.coalition-display {
  margin: 0 0 1.5rem;
}

/* ── STUDIO logo ── */
.st-logo-img {
  height: 46px;
  width: auto;
  display: block;
  margin: 0 auto 0.4rem;
  opacity: 0.95;
}
.st-credit-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════
   ▓▓▓  2026 REVISION 5  ▓▓▓  contrast · compactness · polish
   ═══════════════════════════════════════════════════════════════════ */

/* ── GLOBAL: lighten greys a notch ── */
:root {
  --ink: #d2dae2;
  --ink-soft: #aab4c0;
  --muted: #8f9caa;
  --link: #a8c3df;
}
footer p {
  color: #9aa7b4;
}
.cti {
  color: #7e8a97;
}

/* ── WHITE figure headings (capitalised labels above figures) ── */
.hc-lbl {
  color: #fff;
}
.viz-h {
  color: #e3e8ee;
}

/* ── lighter, friendlier scroll cue ── */
.scroll-cue {
  color: #b8c2cc;
  animation: blinkLight 2s infinite;
}
@keyframes blinkLight {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* ── slightly more compact vertical rhythm ── */
.section {
  padding: 3rem 2rem;
}
.journey-inner {
  padding: 3.25rem 2rem;
}
.hys-divider {
  padding: 3.5rem 2rem 2.5rem;
}
.human-inner {
  padding: 4rem 2rem;
}
.bigsub {
  margin-top: 2.75rem;
}
@media (max-width: 620px) {
  .section {
    padding: 2.5rem 1.1rem;
  }
  .journey-inner {
    padding: 2.5rem 1.1rem;
  }
  .human-inner {
    padding: 3rem 1.1rem;
  }
  .hstat {
    padding: 2.25rem 0;
  }
  .hys-divider {
    padding: 2.75rem 1.1rem 2rem;
  }
  .hys-lead {
    font-size: 0.68rem;
  }
}

/* ── CH1: big % inside the GDP-share caption (no extra space) ── */
.impact-gdp-cap {
  align-items: baseline;
}
.gdp-pct {
  font-family: var(--fd);
  font-size: 1.7rem;
  line-height: 0.8;
  margin-right: 0.3rem;
  vertical-align: baseline;
}
.gdp-pct.red {
  color: var(--red);
}
.gdp-pct.amber {
  color: var(--amber);
}

/* ── CH1: mobile pairing — card → its pie → card → its pie ── */
@media (max-width: 860px) {
  .machine-cols {
    grid-template-columns: 1fr;
  }
  .machine-cols > *:nth-child(1) {
    order: 0;
  }
  .machine-cols > *:nth-child(3) {
    order: 1;
  } /* spend pie after spend card */
  .machine-cols > *:nth-child(2) {
    order: 2;
  } /* impact card */
  .machine-cols > *:nth-child(4) {
    order: 3;
  } /* impact pie */
}

/* ── CH2: emitter comparison bar chart ── */
.emit-chart {
  margin-top: 1.25rem;
}
.emit-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
}
.emit-name {
  font-family: var(--fm);
  font-size: 0.56rem;
  color: var(--ink);
  width: 130px;
  flex-shrink: 0;
  text-align: right;
}
.emit-row.hot .emit-name {
  color: #e8893a;
  font-weight: 600;
}
.emit-track {
  flex: 1;
  height: 16px;
  background: #0a0a0c;
  overflow: hidden;
}
.emit-fill {
  height: 100%;
  width: 0%;
  background: #2f3a45;
  transition: width 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.emit-row.hot .emit-fill {
  background: linear-gradient(90deg, #9c4a1a, #e8893a);
  box-shadow: 0 0 12px rgba(232, 137, 58, 0.3);
}
.emit-val {
  font-family: var(--fm);
  font-size: 0.56rem;
  color: var(--ink-soft);
  width: 38px;
  flex-shrink: 0;
}
.emit-cap {
  font-family: var(--fm);
  font-size: 0.54rem;
  color: var(--ink-soft);
  margin-top: 0.6rem;
  line-height: 1.6;
}

/* ── CH2: hi-pie worded titles ── */
.hi-pie-big {
  font-family: var(--fd);
  font-size: 1.5rem;
  line-height: 1.05;
  color: #fff;
}

/* ── REDISTRIBUTION mobile: keep the graph in view, compact cards ── */
@media (max-width: 760px) {
  /* let the tracker scroll away; the pie's centre shows budget remaining */
  .tracker {
    position: static;
  }
  /* pin the graph to the top while the cards scroll under it */
  .redist-canvas-col {
    position: sticky !important;
    top: 0 !important;
    z-index: 20;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    padding: 0.4rem 0 0.3rem;
    margin: 0 -1.1rem;
    border-bottom: 1px solid #15151c;
  }
  .redist-prompt {
    margin-top: 0.15rem;
    font-size: 0.58rem;
  }
  /* compact cards so more fit per screen */
  .ix {
    padding: 0.5rem 0.65rem;
  }
  .ix-sum {
    font-size: 0.58rem;
    margin-top: 0.22rem;
  }
  .ix-name {
    font-size: 1rem;
  }
  .ix-detail {
    font-size: 0.58rem;
  }
}

/* ── COUNTRY: personal tax-to-war ── */
.tax-box {
  margin-top: 1.4rem;
  padding-top: 1.3rem;
  border-top: 1px solid #15151c;
}
.tax-box-h {
  font-family: var(--fm);
  font-size: 0.54rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.7rem;
}
.tax-select {
  background: #0a0a0f;
  border: 1px solid var(--border);
  color: #fff;
  font-family: var(--fm);
  font-size: 0.66rem;
  padding: 0.6rem 1rem;
  outline: none;
  width: 100%;
  max-width: 360px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s;
}
.tax-select:focus {
  border-color: var(--say);
}
.tax-result {
  margin-top: 1rem;
  display: none;
}
.tax-result.show {
  display: block;
}
.tax-amt {
  font-family: var(--fd);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1;
  color: var(--red);
  text-shadow: 0 0 24px rgba(255, 59, 48, 0.2);
}
.tax-lbl {
  font-family: var(--fm);
  font-size: 0.62rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-top: 0.4rem;
}
.tax-lbl b {
  color: var(--ink);
}
.tax-note {
  font-family: var(--fm);
  font-size: 0.5rem;
  color: var(--muted);
  margin-top: 0.6rem;
  line-height: 1.5;
}

/* ── LETTER: read like a real document (white paper, black ink) ── */
.letter-body {
  background: #f6f4ec;
  color: #1c1a17;
  font-family: "IBM Plex Mono", monospace;
}
.letter-body:focus {
  color: #1c1a17;
}
.letter-redfill {
  color: #c0392b;
  background: #fbe3df;
  padding: 0 0.15em;
  border-radius: 2px;
}
.letter-wrap {
  background: #f6f4ec;
}

/* ═══════════════════════════════════════════════════════════════════
   ▓▓▓  2026 REVISION 6  ▓▓▓  itinerary · titles · slider · top-5
   ═══════════════════════════════════════════════════════════════════ */

/* ── ITINERARY / CONTENTS ── */
.itin {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 1rem;
  position: relative;
  z-index: 2;
}
.itin-eyebrow {
  font-family: var(--fm);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: 1rem;
}
.itin-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  align-items: stretch;
}
.itin-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 0.6rem 0.9rem;
  min-width: 150px;
  transition:
    border-color 0.2s,
    transform 0.15s,
    background 0.2s;
}
.itin-item:hover {
  transform: translateY(-2px);
}
.itin-n {
  font-family: var(--fd);
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}
.itin-body {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.itin-t {
  font-family: var(--fd);
  font-size: 1.05rem;
  color: #fff;
}
.itin-d {
  font-family: var(--fm);
  font-size: 0.5rem;
  color: var(--ink-soft);
}
.itin-item.info {
  border-left: 2px solid var(--red-dim);
}
.itin-item.info .itin-n {
  color: var(--red);
}
.itin-item.info:hover {
  border-color: var(--red-dim);
  background: #0d0305;
}
.itin-item.act {
  border-left: 2px solid var(--say-dim);
}
.itin-item.act .itin-n {
  color: var(--say);
}
.itin-item.act:hover {
  border-color: var(--say);
  background: #041009;
}
.itin-split {
  display: flex;
  align-items: center;
  font-family: var(--fm);
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--say);
  padding: 0 0.4rem;
}
.itin-split span {
  border-left: 1px dashed var(--say-dim);
  padding-left: 0.7rem;
}
@media (max-width: 760px) {
  .itin-track {
    flex-direction: column;
  }
  .itin-item {
    width: 100%;
  }
  .itin-split {
    justify-content: center;
    padding: 0.3rem 0;
  }
  .itin-split span {
    border-left: none;
    padding-left: 0;
  }
}

/* ── LIVES artwork title ── */
.lives-title {
  font-family: var(--fd);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  margin: 2.5rem 0 0.5rem;
}
.lives-intro {
  font-family: var(--fm);
  font-size: 0.6rem;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 1.1rem;
}

/* ── TOP-5 cards: green badge + outline ── */
.ix {
  position: relative;
}
.ix.ix-top5 {
  border-color: var(--say);
  border-left-color: var(--say);
  background: #04140c;
  box-shadow: 0 0 16px rgba(49, 208, 214, 0.14);
}
.ix.ix-top5 .ix-chk {
  background: var(--say);
  border-color: var(--say);
}
.ix-rank {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--say);
  color: #00160c;
  font-family: var(--fd);
  font-size: 0.85rem;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 3px;
  z-index: 2;
  box-shadow: 0 0 10px rgba(49, 208, 214, 0.4);
}

/* ── BIGGER, BOLDER WHITE CHART TITLES ── */
.viz-h,
.gap-title,
.cc-extra-h,
.tax-box-h,
.global-prio-h,
.sp-head,
.bars-col .sp-head {
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.14em;
}
.gap-title,
.global-prio-h {
  font-family: var(--fm);
  text-transform: uppercase;
}
.tax-box-h.big {
  font-family: var(--fd);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  letter-spacing: 0.01em;
  text-transform: none;
  color: #fff;
}

/* ── TAX SLIDER ── */
.tax-intro {
  font-family: var(--fm);
  font-size: 0.62rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0.3rem 0 1.2rem;
}
.tax-slider-wrap {
  max-width: 460px;
}
.tax-income {
  font-family: var(--fm);
  font-size: 0.7rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.tax-income-cur,
#taxIncomeVal {
  font-family: var(--fd);
  font-size: 1.6rem;
  color: #fff;
}
.tax-income-yr {
  color: var(--ink-soft);
  margin-left: 0.3rem;
}
.tax-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #5a0000, var(--red));
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}
.tax-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--red);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 59, 48, 0.5);
}
.tax-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--red);
  cursor: pointer;
}
.tax-slider-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--fm);
  font-size: 0.5rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* ═══════════════════════════════════════════════════════════════════
   ▓▓▓  2026 REVISION 7  ▓▓▓  hero itinerary (desktop) · logos · top-5
   ═══════════════════════════════════════════════════════════════════ */

/* ── HERO logo (top-left) ── */
.hero-logo {
  position: absolute;
  top: 1.4rem;
  left: 1.7rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  z-index: 4;
}
.hero-logo img {
  height: 30px;
  width: auto;
}
.hero-logo-wm {
  font-family: var(--fd);
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: 0.02em;
}
.hero-logo-wm b {
  color: var(--red);
  font-weight: 400;
}

/* ── STUDIO credit row (bottom) ── */
.st-credit-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.st-logo-img {
  margin: 0;
}
.st-x {
  font-family: var(--fd);
  font-size: 1.7rem;
  color: var(--ink-soft);
}
.st-wordmark {
  font-family: var(--fd);
  font-size: 2.1rem;
  color: var(--red);
  letter-spacing: 0.03em;
}

/* ── TOP-5 cards: clearer green fill ── */
.ix.ix-top5 {
  background: #0b2a1a;
}

/* ── DESKTOP: itinerary vertical, to the right of the centred title ── */
@media (min-width: 1100px) {
  .hero {
    padding-right: 300px;
  }
  .hero-title {
    font-size: clamp(4rem, 11vw, 8rem);
  }
  .itin {
    position: absolute;
    top: 50vh;
    transform: translateY(-50%);
    right: clamp(1rem, 3vw, 3.5rem);
    width: 240px;
    max-width: 240px;
    margin: 0;
    padding: 0;
    z-index: 3;
  }
  .itin-eyebrow {
    text-align: left;
    margin-bottom: 0.8rem;
  }
  .itin-track {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }
  .itin-item {
    width: 100%;
    min-width: 0;
  }
  .itin-split {
    padding: 0.25rem 0;
  }
  .itin-split span {
    border-left: none;
    padding-left: 0;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   ▓▓▓  2026 REVISION 8  ▓▓▓  interactive 3D globe (coalition)
   ═══════════════════════════════════════════════════════════════════ */
.globe-block {
  margin: 1.5rem 0 2.5rem;
  text-align: center;
}
.globe-title {
  font-family: var(--fd);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #fff;
  line-height: 1;
}
.globe-sub {
  font-family: var(--fm);
  font-size: 0.6rem;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  margin: 0.5rem 0 1rem;
}
.globe-wrap {
  position: relative;
  width: 100%;
  height: clamp(360px, 56vh, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.globe-wrap canvas {
  outline: none;
  display: block;
  margin: 0 auto;
}
.globe-loading {
  font-family: var(--fm);
  font-size: 0.62rem;
  color: var(--ink-soft);
  letter-spacing: 0.15em;
  animation: blinkLight 1.6s infinite;
}
.globe-tip {
  font-family: var(--fm);
  font-size: 0.62rem;
  color: #fff;
  background: rgba(2, 8, 6, 0.92);
  border: 1px solid var(--say-dim);
  padding: 0.4rem 0.6rem;
  border-radius: 3px;
  box-shadow: 0 0 14px rgba(49, 208, 214, 0.18);
}
.globe-tip b {
  color: var(--say);
}
@media (max-width: 760px) {
  .globe-wrap {
    height: clamp(300px, 46vh, 420px);
  }
}

/* ── CONSENT + TURNSTILE (coalition form) ── */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.6rem;
  font-family: var(--fm);
  font-size: 0.55rem;
  line-height: 1.6;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent-row input {
  margin-top: 0.15rem;
  accent-color: var(--say);
  flex-shrink: 0;
}
.consent-row a {
  color: var(--say);
  text-decoration: none;
  border-bottom: 1px dotted var(--say-dim);
}
.turnstile-box {
  display: none;
  margin-top: 0.7rem;
}

/* ── PRIVACY PAGE ── */
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
  position: relative;
  z-index: 2;
}
.legal-wrap h1 {
  font-family: var(--fd);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  color: #fff;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.legal-wrap .legal-sub {
  font-family: var(--fm);
  font-size: 0.6rem;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}
.legal-wrap h2 {
  font-family: var(--fm);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--say);
  margin: 2rem 0 0.6rem;
}
.legal-wrap p,
.legal-wrap li {
  font-family: var(--fb);
  font-size: 0.82rem;
  color: var(--ink);
  line-height: 1.8;
}
.legal-wrap ul {
  padding-left: 1.1rem;
  margin: 0.4rem 0;
}
.legal-wrap a {
  color: var(--say);
}
.legal-wrap .legal-flag {
  color: var(--amber);
}
.legal-back {
  font-family: var(--fm);
  font-size: 0.62rem;
  color: var(--say);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════════════════════════════
   ▓▓▓  2026 REVISION 9  ▓▓▓  UX / journey overhaul
   Hero as one held breath · lives-breath · select=rank panel ·
   card affordance · single letter CTA · tightened close · 72× feature
   ═══════════════════════════════════════════════════════════════════ */

/* ── P1 · HERO: the live counter is the centrepiece ── */
.live-spend.hero-centre {
  border: none;
  background: none;
  padding: 0;
  margin: 2.6rem auto 0;
  max-width: 680px;
  text-align: center;
  line-height: 1.2;
}
.live-spend-lbl,
.live-spend-foot {
  font-family: var(--fm);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.live-spend.hero-centre b {
  display: block;
  font-family: var(--fd);
  font-size: clamp(3.4rem, 12vw, 7rem);
  line-height: 1;
  color: var(--red);
  letter-spacing: 0.02em;
  margin: 0.45rem 0 0.3rem;
  font-weight: 400;
  /* PERF: small blur — this number repaints every frame */
  text-shadow: 0 0 14px rgba(255, 59, 48, 0.5);
  font-variant-numeric: tabular-nums;
}

/* desktop: keep the itinerary a calm horizontal nav BELOW the hero,
   not an absolute rail overlapping it — the hero stays one held breath */
@media (min-width: 1100px) {
  .hero {
    padding-right: 0;
  }
  .itin {
    position: static;
    transform: none;
    top: auto;
    right: auto;
    width: auto;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem 1rem;
    z-index: 2;
  }
  .itin-track {
    flex-direction: row;
    gap: 0.7rem;
  }
  .itin-item {
    width: auto;
    min-width: 210px;
  }
}

/* ── COPY MOVE 1 · the 72× line, made screenshot-able ── */
.hunger-stat {
  max-width: 900px;
  margin: 2.6rem auto 0.5rem;
  text-align: center;
  border: 1px solid #1a0505;
  background: linear-gradient(
    180deg,
    rgba(22, 0, 0, 0.5),
    rgba(8, 0, 0, 0.15)
  );
  padding: clamp(1.8rem, 5vw, 3.4rem) 1.4rem;
}
.hunger-mult {
  font-family: var(--fd);
  font-size: clamp(4.6rem, 16vw, 11rem);
  line-height: 0.88;
  color: var(--red);
  letter-spacing: 0.01em;
  text-shadow: 0 0 46px rgba(255, 59, 48, 0.4);
}
.hunger-copy {
  font-family: var(--fb);
  font-weight: 300;
  font-size: clamp(1rem, 2.7vw, 1.65rem);
  line-height: 1.5;
  color: var(--text);
  max-width: 24ch;
  margin: 0.7rem auto 0;
}
.hunger-copy b {
  color: #fff;
  font-weight: 600;
}
.stat-row.duo {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 620px) {
  .stat-row.duo {
    grid-template-columns: 1fr;
  }
}

/* ── P2 · the lives-lost line gets a full viewport, alone ── */
.lives-breath {
  text-align: center;
  padding-bottom: 16vh;
}
.lives-breath > p {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  font-family: var(--fd);
  font-size: clamp(2rem, 6vw, 4.6rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: #fff;
}
.lives-breath-cta {
  margin-top: 4vh; /* below the fold of the 100vh line → found on scroll */
}

/* ── P3 · cause-card affordance + teaching pulse (select = rank) ── */
.ix:hover:not(.ix-cant):not(.ix-sel) {
  border-color: var(--say);
  border-left-color: var(--say);
  background: #07140d;
  box-shadow: 0 0 14px rgba(49, 208, 214, 0.12);
}
@keyframes ixTeach {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(49, 208, 214, 0);
    border-left-color: var(--border);
  }
  50% {
    box-shadow: 0 0 16px 2px rgba(49, 208, 214, 0.28);
    border-left-color: var(--say);
  }
}
.ix.ix-pulse {
  animation: ixTeach 1.9s ease-in-out infinite;
}

/* ── P3 · the live ordered priorities panel (the folded-in ranking) ── */
.prio-panel {
  display: none;
  max-width: 580px;
  margin: 0 auto 1.4rem;
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid var(--say-dim);
  background: #04140c;
  border-radius: 4px;
}
.prio-panel.show {
  display: block;
}
.prio-head {
  font-family: var(--fd);
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.03em;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.prio-hint {
  font-family: var(--fm);
  font-size: 0.5rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}
.prio-list {
  margin-top: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.prio-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.6rem;
  background: rgba(49, 208, 214, 0.05);
  border: 1px solid var(--say-dim);
}
.prio-rank {
  font-family: var(--fd);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--say);
  width: 1.4rem;
  flex-shrink: 0;
  text-align: center;
}
.prio-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.prio-name {
  font-family: var(--fb);
  font-size: 0.74rem;
  color: var(--text);
  flex: 1;
}
.prio-cost {
  font-family: var(--fm);
  font-size: 0.58rem;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.prio-moves {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
}
.prio-mv,
.prio-rm {
  width: 1.55rem;
  height: 1.55rem;
  font-family: var(--fm);
  font-size: 0.72rem;
  line-height: 1;
  background: transparent;
  border: 1px solid var(--say-dim);
  color: var(--say);
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.15s;
}
.prio-mv:hover:not(:disabled),
.prio-rm:hover {
  background: var(--say-dim);
}
.prio-mv:disabled {
  opacity: 0.3;
  cursor: default;
}
.prio-rm {
  color: var(--red);
  border-color: var(--red-dim);
}
.prio-rm:hover {
  background: var(--red-dim);
}
.redist-prompt.go {
  color: var(--say);
}

/* ── P5 · letter: one primary action, the rest demoted ── */
.letter-primary {
  text-align: center;
  margin: 1.7rem 0 0.7rem;
}
.letter-secondary {
  text-align: center;
  margin-bottom: 0.4rem;
}
.link-btn {
  background: none;
  border: none;
  color: var(--ink-soft);
  font-family: var(--fm);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.2rem 0.35rem;
  transition: color 0.15s;
}
.link-btn:hover {
  color: var(--text);
}
.link-sep {
  color: var(--border);
  font-family: var(--fm);
  font-size: 0.62rem;
}

/* ── P7 · disclaimer collapses; the close stands alone ── */
.disc-box summary.disc-title {
  cursor: pointer;
  margin-bottom: 0;
  list-style: none;
  user-select: none;
}
.disc-box summary.disc-title::-webkit-details-marker {
  display: none;
}
.disc-box[open] summary.disc-title {
  margin-bottom: 0.8rem;
}
.closing-line {
  max-width: 760px;
  margin: 0 auto;
  padding: 6vh 2rem 9vh;
  text-align: center;
  font-family: var(--fd);
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1.26;
  letter-spacing: 0.01em;
  color: #fff;
  position: relative;
  z-index: 2;
}

/* ── COPY MOVE 2 · qualitative coalition headline until ~10k ── */
.coalition-num.soft {
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  line-height: 1.12;
}

@media (prefers-reduced-motion: reduce) {
  .ix.ix-pulse {
    animation: none;
  }
}
