:root {
  --paper: #f1ead6;
  --paper-dark: #e6dec5;
  --ink: #181613;
  --ink-soft: #2a2620;
  --chart-bg: #221e18;
  /* dark panel for bar charts */
  --chart-grid: rgba(241, 234, 214, 0.08);
  --hivis: #ff3b1f;
  --hivis-2: #ffd400;
  --teal: #0e5e5b;
  --rule: rgba(24, 22, 19, 0.15);
  --rule-strong: rgba(24, 22, 19, 0.55);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings:
    "SOFT" 30,
    "WONK" 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  background-image:
    radial-gradient(rgba(24, 22, 19, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(24, 22, 19, 0.04) 1px, transparent 1px);
  background-size:
    3px 3px,
    7px 7px;
  background-position:
    0 0,
    1px 1px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0 0.15 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.display {
  font-family: "Bowlby One", Impact, sans-serif;
  letter-spacing: -0.01em;
}

.mono {
  font-family: "DM Mono", ui-monospace, monospace;
}

.scrawl {
  font-family: "Caveat", cursive;
}

/* ---------- masthead ---------- */
.masthead {
  border-bottom: 3px double var(--ink);
  padding: 16px 32px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}

.masthead .left,
.masthead .right {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.masthead .right span {
  padding: 2px 6px;
  background: var(--ink);
  color: var(--paper);
}

/* ---------- hero ---------- */
.hero {
  padding: 60px 6vw 80px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.kicker {
  display: inline-block;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--hivis-2);
  padding: 6px 12px;
  margin-bottom: 28px;
  transform: rotate(-1deg);
}

h1.title {
  font-family: "Bowlby One", Impact, sans-serif;
  font-size: clamp(64px, 12vw, 220px);
  line-height: 0.88;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

h1.title .em {
  color: var(--hivis);
  display: inline-block;
}

h1.title .strike {
  text-decoration: line-through;
  text-decoration-thickness: 6px;
  text-decoration-color: var(--hivis);
  opacity: 0.55;
}

h1.title .wonk {
  font-variation-settings:
    "WONK" 1,
    "SOFT" 100;
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-style: italic;
}

.dek {
  font-family: "Fraunces", serif;
  font-size: clamp(20px, 2.4vw, 28px);
  max-width: 900px;
  line-height: 1.35;
  margin-top: 12px;
  font-weight: 400;
}

.dek em {
  font-style: italic;
  color: var(--teal);
}

.hero-meta {
  margin-top: 40px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  color: var(--ink-soft);
}

.hero-meta span {
  border-left: 3px solid var(--hivis);
  padding-left: 10px;
}

/* sticker */
.sticker {
  position: absolute;
  top: 80px;
  right: 5vw;
  width: 180px;
  height: 180px;
  background: var(--hivis);
  color: var(--paper);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: "Bowlby One", sans-serif;
  font-size: 14px;
  line-height: 1.1;
  padding: 18px;
  transform: rotate(12deg);
  box-shadow: 6px 6px 0 var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sticker span {
  display: block;
}

.sticker .big {
  font-size: 48px;
  line-height: 1;
  margin: 6px 0;
}

/* ---------- sections ---------- */
section.chapter {
  padding: 96px 6vw;
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.chapter-no {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.chapter-no::before {
  content: "§ ";
  color: var(--hivis);
}

h2 {
  font-family: "Bowlby One", sans-serif;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 18ch;
}

h2 .accent {
  color: var(--hivis);
}

h2 .underline {
  background: linear-gradient(transparent 65%, var(--hivis-2) 65%);
  padding: 0 4px;
}

.lede {
  font-size: clamp(18px, 1.6vw, 22px);
  max-width: 64ch;
  margin-bottom: 48px;
  line-height: 1.45;
}

/* ---------- chapter 1: the split ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 32px;
  border: 2px solid var(--ink);
}

.split-grid > div {
  padding: 32px;
  position: relative;
}

.split-grid .top20 {
  background: var(--ink);
  color: var(--paper);
}

.split-grid .bottom40 {
  background: var(--paper-dark);
  border-left: 2px solid var(--ink);
}

.split-num {
  font-family: "Bowlby One", sans-serif;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.85;
  margin-bottom: 8px;
}

.top20 .split-num {
  color: var(--hivis-2);
}

.bottom40 .split-num {
  color: var(--ink);
}

.split-label {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  opacity: 0.7;
}

.split-desc {
  font-size: 18px;
  line-height: 1.4;
}

/* dots visualisation — now on a dark panel for consistency with charts */
.dots-wrap {
  margin-top: 64px;
  padding: 32px;
  background: var(--chart-bg);
  color: var(--paper);
  border: 2px solid var(--ink);
}

.dots-title {
  font-family: "DM Mono", monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  color: var(--paper);
}

.dots {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 4px;
  margin-bottom: 16px;
}

.dot {
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(241, 234, 214, 0.18);
  /* faint paper-tone on dark bg */
}

.dot.rich {
  background: var(--hivis);
}

.dot.middle { background: var(--teal); }

.dots-caption {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  color: rgba(241, 234, 214, 0.7);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.dots-caption .swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 6px;
}

/* ---------- chapter 1: side-by-side panel (dots + wealth doughnut) ---------- */
.dots-wrap {
  /* override existing single-column layout to a two-column split panel */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
}

.dots-wrap > .dots-col,
.dots-wrap > .wealth-col {
  min-width: 0;
  /* lets grid track constrain content */
}

.dots-wrap .dots-title {
  margin-bottom: 14px;
}

/* the connector phrase between the two columns */
.dots-vs {
  font-family: "Caveat", cursive;
  font-size: 22px;
  line-height: 1.15;
  color: var(--hivis);
  text-align: center;
  max-width: 12ch;
  transform: rotate(-3deg);
}

.dots-vs::after {
  content: " →";
}

/* the wealth doughnut column */
.wealth-col .wealth-title {
  font-family: "DM Mono", monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
  color: var(--paper);
}

.wealth-canvas-wrap {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.wealth-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  pointer-events: none;
}

.wealth-center .big {
  font-family: 'Bowlby One', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 0.9;
  color: var(--hivis);
}
.wealth-center .small {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(241,234,214,0.7);
  margin-top: 6px;
  line-height: 1.25;
}

/* legend below the doughnut */
.wealth-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: rgba(241,234,214,0.8);
}
.wealth-legend .lg-row {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}
.wealth-legend .lg-swatch {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border: 1px solid var(--ink);
}
.wealth-legend .lg-pct {
  margin-left: auto;
  font-family: 'Bowlby One', sans-serif;
  color: var(--paper);
  font-size: 13px;
}

.wealth-col .wealth-caption {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: rgba(241, 234, 214, 0.6);
  text-align: center;
  margin-top: 14px;
  line-height: 1.4;
}

/* mobile: stack the three columns vertically */
@media (max-width: 800px) {
  .dots-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dots-vs {
    transform: rotate(0);
    max-width: none;
    font-size: 20px;
  }

  .dots-vs::after {
    content: " ↓";
  }

  .wealth-canvas-wrap {
    max-width: 220px;
  }

  .wealth-center .small {
    max-width: 14ch;
  }
}

/* ---------- chapter 2: primer cards ---------- */
.primer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.primer .card {
  background: var(--paper-dark);
  border: 2px solid var(--ink);
  padding: 24px;
}

.primer .card .label {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hivis);
  margin-bottom: 8px;
}

.primer .card h4 {
  font-family: "Bowlby One", sans-serif;
  font-size: 22px;
  line-height: 1;
  margin-bottom: 10px;
}

.primer .card p {
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 800px) {
  .primer {
    grid-template-columns: 1fr;
  }
}

/* ---------- chapter 3: billionaires bar chart on dark panel ---------- */
.bill-stack {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

.bill-stack .left h3 {
  font-family: "Bowlby One", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  margin-bottom: 18px;
}

.bill-stack .left p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 18px;
  max-width: 50ch;
}

/* ---------- unified Chart.js panel wrapper (used by ch2 + ch3) ---------- */
.chartjs-panel {
  background: var(--chart-bg);
  padding: 32px 28px 24px;
  margin-top: 24px;
  border: 2px solid var(--ink);
  color: var(--paper);
}

.chartjs-panel .panel-title {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(241, 234, 214, 0.6);
  margin-bottom: 8px;
}

.chartjs-panel .panel-sub {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: rgba(241, 234, 214, 0.45);
  margin-bottom: 24px;
  line-height: 1.4;
}

.chartjs-canvas-wrap {
  position: relative;
  width: 100%;
}

.chartjs-footnote {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(241, 234, 214, 0.18);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(241, 234, 214, 0.7);
  max-width: 70ch;
}

.chartjs-footnote strong {
  color: var(--paper);
  font-weight: 500;
}

.bill-scrawl {
  font-family: "Caveat", cursive;
  font-size: 28px;
  color: var(--hivis);
  transform: rotate(-3deg);
  margin-top: 20px;
  line-height: 1.1;
}

.bill-scrawl::before {
  content: "↑ ";
}

.gdp-callout {
  margin-top: 32px;
  padding: 24px;
  border: 3px dashed var(--ink);
  background: var(--hivis-2);
}

.gdp-callout .big-pct {
  font-family: "Bowlby One", sans-serif;
  font-size: clamp(72px, 10vw, 140px);
  line-height: 0.85;
}

.gdp-callout .pct-cap {
  font-size: 16px;
  max-width: 30ch;
  margin-top: 8px;
}

/* ---------- chapter 4: trusts ---------- */
.trust-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 32px;
}

.trust-num {
  font-family: "Bowlby One", sans-serif;
  font-size: clamp(110px, 18vw, 260px);
  line-height: 0.85;
  color: var(--ink);
  position: relative;
  display: inline-block;
}

.trust-num .b {
  color: var(--hivis);
}

.trust-num::after {
  content: "billion";
  display: block;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 0.2em;
  margin-top: 8px;
  font-weight: 400;
  color: var(--ink-soft);
}

.trust-facts {
  font-size: 18px;
  line-height: 1.55;
}

.trust-facts p {
  margin-bottom: 18px;
}

.trust-facts .hi {
  background: var(--hivis-2);
  padding: 0 4px;
}

.trust-perc-list {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-perc-list .stat {
  border-top: 4px solid var(--ink);
  padding-top: 18px;
}

.trust-perc-list .stat .num {
  font-family: "Bowlby One", sans-serif;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  margin-bottom: 12px;
}

.trust-perc-list .stat .num .units {
  font-size: 0.4em;
  vertical-align: super;
  margin-left: 4px;
  color: var(--hivis);
}

.trust-perc-list .stat p {
  font-size: 15px;
  line-height: 1.4;
}

/* ---------- chapter 5: tax ---------- */
.tax-vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 48px;
}

.tax-card {
  padding: 32px;
  border: 2px solid var(--ink);
  text-align: center;
  position: relative;
}

.tax-card.you {
  background: var(--paper-dark);
}

.tax-card.them {
  background: var(--ink);
  color: var(--paper);
}

.tax-card .who {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  opacity: 0.7;
}

.tax-card .rate {
  font-family: "Bowlby One", sans-serif;
  font-size: clamp(64px, 10vw, 130px);
  line-height: 0.9;
}

.tax-card.them .rate {
  color: var(--hivis);
}

.tax-card .rate .pct {
  font-size: 0.5em;
  vertical-align: super;
}

.tax-card .desc {
  font-size: 14px;
  max-width: 30ch;
  margin: 12px auto 0;
  line-height: 1.3;
}

.vs-divider {
  font-family: "Bowlby One", sans-serif;
  font-size: clamp(40px, 5vw, 80px);
  color: var(--hivis);
  transform: rotate(-4deg);
}

.tax-note {
  margin-top: 32px;
  font-family: "Caveat", cursive;
  font-size: 26px;
  text-align: center;
  transform: rotate(-1deg);
  color: var(--teal);
}

/* ---------- chapter 6: meanwhile ---------- */
.meanwhile {
  background: var(--ink);
  color: var(--paper);
}

.meanwhile h2 {
  color: var(--paper);
}

.meanwhile h2 .accent {
  color: var(--hivis-2);
}

.meanwhile h2 .underline {
  background: linear-gradient(transparent 65%, var(--hivis) 65%);
}

.meanwhile .lede {
  color: rgba(241, 234, 214, 0.85);
}

.grim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.grim-stat {
  border-top: 2px solid var(--paper);
  padding-top: 18px;
  min-width: 0;
  /* allow grid track to constrain content */
}

.grim-stat .num {
  font-family: "Bowlby One", sans-serif;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.95;
  color: var(--hivis-2);
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.grim-stat .num .small {
  font-size: 0.4em;
  color: var(--paper);
}

.grim-stat p {
  font-size: 15px;
  line-height: 1.4;
  margin-top: 12px;
  opacity: 0.85;
}

/* ---------- chapter 7: quote ---------- */
.quote-callout {
  margin-top: 48px;
  padding: 48px;
  border-left: 8px solid var(--hivis);
  background: var(--paper-dark);
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.3;
  max-width: 80ch;
}

.quote-callout .who {
  font-style: normal;
  font-family: "DM Mono", monospace;
  font-size: 14px;
  margin-top: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

/* ---------- footer ---------- */
footer {
  padding: 64px 6vw 96px;
  background: var(--paper-dark);
  border-top: 3px double var(--ink);
}

footer h3 {
  font-family: "Bowlby One", sans-serif;
  font-size: 32px;
  margin-bottom: 24px;
}

.sources {
  columns: 2;
  column-gap: 48px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.6;
}

.sources li {
  break-inside: avoid;
  margin-bottom: 10px;
  list-style: none;
  padding-left: 16px;
  position: relative;
}

.sources li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--hivis);
}

.sources a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.sources a:hover {
  color: var(--hivis);
}

.colophon {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- responsive: tablet ---------- */
@media (max-width: 900px) {
  .bill-stack {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .trust-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .trust-perc-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- responsive: mobile ---------- */
@media (max-width: 640px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    line-height: 1.45;
  }

  .masthead {
    padding: 10px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .masthead .left,
  .masthead .right {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .hero {
    padding: 36px 22px 56px;
  }

  .sticker {
    display: none;
  }

  .kicker {
    font-size: 10px;
    padding: 5px 9px;
    margin-bottom: 20px;
    letter-spacing: 0.15em;
  }

  h1.title {
    font-size: clamp(52px, 16vw, 96px);
    line-height: 0.92;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    word-break: break-word;
  }

  h1.title .strike {
    text-decoration-thickness: 4px;
  }

  .dek {
    font-size: 17px;
    line-height: 1.4;
  }

  .hero-meta {
    gap: 14px;
    margin-top: 28px;
    font-size: 11px;
  }

  .hero-meta span {
    padding-left: 8px;
    border-left-width: 2px;
  }

  section.chapter {
    padding: 56px 22px;
  }

  .chapter-no {
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  h2 {
    font-size: clamp(34px, 9vw, 52px);
    line-height: 1;
    letter-spacing: -0.015em;
    max-width: none;
    margin-bottom: 20px;
  }

  h2 .underline {
    padding: 0 2px;
  }

  .lede {
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.45;
  }

  .split-grid {
    grid-template-columns: 1fr;
  }

  .split-grid > div {
    padding: 24px 20px;
  }

  .split-grid .bottom40 {
    border-left: none;
    border-top: 2px solid var(--ink);
  }

  .split-num {
    font-size: 84px;
  }

  .split-desc {
    font-size: 16px;
  }

  .dots-wrap {
    margin-top: 40px;
    padding: 20px;
  }

  .dots-title {
    font-size: 11px;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
  }

  .dots {
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
    margin-bottom: 14px;
  }

  .dots-caption {
    font-size: 11px;
    gap: 12px;
    flex-direction: column;
  }

  /* Chart.js panels — slimmer padding on mobile */
  .chartjs-panel {
    padding: 22px 16px 20px;
  }

  .chartjs-panel .panel-title {
    font-size: 10px;
    letter-spacing: 0.15em;
  }

  .chartjs-panel .panel-sub {
    font-size: 10px;
    margin-bottom: 16px;
  }

  .chartjs-footnote {
    font-size: 11px;
    padding-top: 12px;
    margin-top: 14px;
    line-height: 1.45;
  }

  .bill-stack {
    gap: 32px;
  }

  .bill-stack .left h3 {
    font-size: 24px;
    line-height: 1.05;
    margin-bottom: 14px;
  }

  .bill-stack .left p {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .bill-scrawl {
    font-size: 22px;
    margin-top: 16px;
  }

  .gdp-callout {
    padding: 20px;
    margin-top: 0;
  }

  .gdp-callout .big-pct {
    font-size: 92px;
  }

  .gdp-callout .pct-cap {
    font-size: 14px;
  }

  .trust-hero {
    gap: 16px;
    margin-top: 20px;
  }

  .trust-num {
    font-size: clamp(96px, 30vw, 140px);
    line-height: 0.85;
  }

  .trust-num::after {
    font-size: 0.22em;
    margin-top: 4px;
  }

  .trust-facts {
    font-size: 16px;
    line-height: 1.5;
  }

  .trust-facts p {
    margin-bottom: 14px;
  }

  .trust-perc-list {
    grid-template-columns: 1fr;
    margin-top: 40px;
    gap: 20px;
  }

  .trust-perc-list .stat {
    padding-top: 14px;
    border-top-width: 3px;
  }

  .trust-perc-list .stat .num {
    font-size: 56px;
    margin-bottom: 8px;
  }

  .trust-perc-list .stat p {
    font-size: 14px;
  }

  .tax-vs {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 32px;
  }

  .tax-card {
    padding: 24px 20px;
  }

  .tax-card .rate {
    font-size: 84px;
  }

  .tax-card .who {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .tax-card .desc {
    font-size: 13px;
  }

  .vs-divider {
    transform: rotate(0);
    text-align: center;
    font-size: 36px;
    padding: 4px 0;
  }

  .tax-note {
    font-size: 20px;
    margin-top: 24px;
  }

  .grim-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }

  .grim-stat {
    padding-top: 14px;
  }

  .grim-stat .num {
    font-size: 56px;
  }

  .grim-stat p {
    font-size: 14px;
    margin-top: 8px;
  }

  .quote-callout {
    padding: 24px 20px;
    border-left-width: 6px;
    font-size: 18px;
    margin-top: 32px;
  }

  .quote-callout .who {
    font-size: 11px;
    letter-spacing: 0.08em;
    margin-top: 12px;
  }

  footer {
    padding: 48px 22px 64px;
  }

  footer h3 {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .sources {
    columns: 1;
    font-size: 12px;
  }

  .sources li {
    margin-bottom: 12px;
    padding-left: 14px;
  }

  .colophon {
    margin-top: 32px;
    flex-direction: column;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }
}

/* extra-narrow phones */
@media (max-width: 380px) {
  .hero {
    padding: 32px 16px 48px;
  }

  section.chapter {
    padding: 48px 16px;
  }

  footer {
    padding: 40px 16px 56px;
  }

  .masthead {
    padding: 10px 16px;
  }

  h1.title {
    font-size: 48px;
  }

  .split-num {
    font-size: 72px;
  }

  .trust-num {
    font-size: 92px;
  }

  .gdp-callout .big-pct {
    font-size: 76px;
  }

  .tax-card .rate {
    font-size: 72px;
  }
}

/* entrance animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
