:root {
  color-scheme: light;
  --graphite: #172126;
  --ink: #1c2b30;
  --muted: #5b6b70;
  --paper: #edf1ef;
  --paper-deep: #dfe7e5;
  --white: #f7faf8;
  --copper: #c76643;
  --copper-dark: #8f452e;
  --cobalt: #315dc3;
  --cobalt-dark: #24458e;
  --violet: #8175bd;
  --green: #3f8d76;
  --yellow: #e3b942;
  --line: rgba(23, 33, 38, .17);
  --line-light: rgba(247, 250, 248, .22);
  --shadow: 0 18px 50px rgba(22, 36, 40, .12);
  --display: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --prose: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --max: 1440px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .24;
  background-image: linear-gradient(rgba(23, 33, 38, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 33, 38, .04) 1px, transparent 1px);
  background-size: 32px 32px;
}

a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--copper-dark); }
button, input { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  padding: .65rem .9rem;
  background: var(--yellow);
  color: var(--graphite);
  font-weight: 750;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.page-shell { max-width: var(--max); margin: 0 auto; overflow: clip; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem clamp(1.1rem, 3vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.wordmark, .header-nav, .eyebrow, .section-marker, .instrument-topline, .mini-label, .status-label, .detail-topline, .card-kicker, .route-label, .status-legend, .source-entry summary span, .metric-card small, .method-line {
  font-family: var(--mono);
  letter-spacing: .055em;
  text-transform: uppercase;
}
.wordmark { font-size: .72rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.wordmark span { margin-left: .8rem; color: var(--muted); font-size: .59rem; font-weight: 600; }
.header-nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.8rem); color: var(--muted); font-size: .65rem; }
.header-nav a { text-decoration: none; }
.header-nav a:hover, .header-nav a:focus-visible { color: var(--ink); }
.header-nav .language-link { padding: .35rem .5rem; border: 1px solid var(--line); color: var(--ink); font-weight: 800; }

main { display: block; }
.section-grid { display: grid; grid-template-columns: minmax(9.5rem, 16%) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4.5rem); padding: clamp(4rem, 8vw, 8rem) clamp(1.1rem, 4.5vw, 4.5rem); border-bottom: 1px solid var(--line); }
.section-marker { align-self: start; padding-top: .55rem; color: var(--muted); font-size: .62rem; line-height: 1.5; }
.eyebrow { margin: 0 0 .85rem; color: var(--muted); font-size: .65rem; font-weight: 800; }
.eyebrow::before { content: "// "; color: var(--copper); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 750; letter-spacing: -.045em; }
h1 { max-width: 9ch; margin-bottom: 1.5rem; font-size: clamp(3.8rem, 9vw, 8.7rem); line-height: .87; }
h2 { margin-bottom: 1.25rem; font-size: clamp(2.2rem, 5.5vw, 5rem); line-height: .92; }
h3 { margin-bottom: .65rem; font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.04; }
p { max-width: 70ch; }
.lead { font-family: var(--prose); font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.35; }
.section-heading-row { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2.6rem; }
.section-note { max-width: 24rem; margin: 0; color: var(--muted); font-size: .88rem; }
.section-conclusion { max-width: 58rem; margin: 2.4rem 0 0; font-family: var(--prose); font-size: clamp(1.18rem, 1.8vw, 1.45rem); line-height: 1.35; }

.hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); padding-top: clamp(3.2rem, 7vw, 6.7rem); padding-bottom: clamp(2.2rem, 4vw, 4rem); background: linear-gradient(125deg, rgba(247, 250, 248, .7), rgba(223, 231, 229, .24)); }
.hero-copy { min-width: 0; }
.hero-deck { max-width: 39rem; margin-bottom: 2rem; font-family: var(--prose); font-size: clamp(1.3rem, 2.3vw, 2rem); line-height: 1.2; }
.hero-thesis { max-width: 43rem; padding: 1.1rem 1.2rem 1.2rem; border-left: 3px solid var(--copper); background: rgba(247, 250, 248, .72); box-shadow: 0 8px 24px rgba(22, 36, 40, .05); }
.hero-thesis p:last-child { margin-bottom: 0; font-family: var(--prose); font-size: 1.08rem; line-height: 1.42; }
.status-label { margin-bottom: .8rem; color: var(--muted); font-size: .62rem; line-height: 1.5; }
.status-label span { color: var(--copper-dark); font-weight: 800; }
.signal-dot { display: inline-block; width: .62rem; height: .62rem; margin-right: .45rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 .25rem rgba(63, 141, 118, .13); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; gap: .65rem; min-height: 2.8rem; padding: .65rem .95rem; border: 1px solid var(--ink); font-family: var(--mono); font-size: .68rem; font-weight: 800; letter-spacing: .03em; text-decoration: none; text-transform: uppercase; }
.button-primary { background: var(--graphite); color: var(--white); }
.button-primary:hover, .button-primary:focus-visible { background: var(--copper-dark); color: var(--white); }
.button-quiet { border-color: var(--line); color: var(--muted); }
.button-quiet:hover, .button-quiet:focus-visible { color: var(--ink); border-color: var(--ink); }

.orientation-section { background: var(--paper-deep); }
.orientation-content { min-width: 0; }
.orientation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.orientation-card { min-height: 18rem; padding: clamp(1.2rem, 2.5vw, 1.8rem); background: var(--white); border-top: 5px solid; }
.orientation-pax { border-color: var(--copper); }
.orientation-waico { border-color: var(--cobalt); }
.orientation-sinica { border-color: var(--green); }
.orientation-kicker { display: block; margin-bottom: 1.4rem; color: var(--muted); font-family: var(--mono); font-size: .59rem; font-weight: 800; letter-spacing: .04em; }
.orientation-card h3 { margin-bottom: .8rem; }
.orientation-card p { margin-bottom: 1.4rem; font-family: var(--prose); font-size: 1rem; line-height: 1.4; }
.orientation-card a { color: var(--copper-dark); font-family: var(--mono); font-size: .64rem; font-weight: 800; text-decoration: none; }
.orientation-card a:hover, .orientation-card a:focus-visible { color: var(--ink); }
.orientation-boundary { margin: 1rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.orientation-boundary strong { color: var(--ink); }

.hero-instrument { min-width: 0; padding: clamp(1rem, 2vw, 1.7rem); background: var(--graphite); color: var(--white); box-shadow: var(--shadow); }
.instrument-topline { display: flex; justify-content: space-between; gap: .8rem; color: rgba(247, 250, 248, .62); font-size: .59rem; }
.stack-hero { position: relative; display: grid; grid-template-columns: 5rem minmax(0, 1fr) 5rem; gap: .55rem; align-items: stretch; min-height: 28rem; margin: 1.2rem 0 1rem; padding: .6rem 0 2.2rem; }
.stack-bands { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.hero-band { display: flex; align-items: center; justify-content: space-between; min-height: 3rem; padding: .55rem .65rem .55rem .85rem; border-left: .36rem solid; color: var(--graphite); font-family: var(--mono); font-size: .59rem; font-weight: 800; letter-spacing: .02em; line-height: 1.15; }
.hero-band span { max-width: 12rem; }
.hero-band b { font-size: .65rem; opacity: .66; }
.band-rules { border-color: var(--green); background: #9bc9bb; }
.band-models { border-color: var(--violet); background: #bcb7e2; }
.band-compute { border-color: var(--cobalt); background: #a3bceb; }
.band-chips { border-color: #8c4bc6; background: #cab1df; }
.band-fabs { border-color: var(--copper); background: #e9b69e; }
.band-energy { border-color: var(--yellow); background: #f1dc90; }
.band-minerals { border-color: #957c58; background: #b9b2a1; }
.stack-side-label { align-self: center; color: rgba(247, 250, 248, .72); font-family: var(--mono); font-size: .57rem; font-weight: 800; letter-spacing: .035em; line-height: 1.35; writing-mode: vertical-rl; transform: rotate(180deg); }
.stack-side-label small { color: rgba(247, 250, 248, .44); font-size: .52rem; font-weight: 500; }
.stack-side-label.pax { justify-self: start; border-right: 2px solid var(--copper); padding-right: .55rem; }
.stack-side-label.china { justify-self: end; border-left: 2px solid var(--cobalt); padding-left: .55rem; }
.stack-un-line { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: center; gap: .75rem; color: #92d0bd; font-family: var(--mono); font-size: .57rem; letter-spacing: .06em; }
.stack-un-line::before { content: ""; flex: 1; border-top: 2px dotted #92d0bd; }
.instrument-caption { margin: 0; color: rgba(247, 250, 248, .72); font-family: var(--prose); font-size: .96rem; line-height: 1.35; }
.hero-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 clamp(1.1rem, 4.5vw, 4.5rem); border-bottom: 1px solid var(--line); }
.hero-fact { min-height: 8.4rem; padding: 1.2rem; border-left: 1px solid var(--line); }
.hero-fact:last-child { border-right: 1px solid var(--line); }
.hero-fact strong { display: block; margin-bottom: .45rem; color: var(--copper-dark); font-family: var(--display); font-size: clamp(2.2rem, 4.5vw, 4.4rem); line-height: .85; }
.hero-fact span { display: block; max-width: 18rem; color: var(--muted); font-size: .76rem; line-height: 1.35; }
.hero-fact a, .metric-card a, .source-note a { color: var(--copper-dark); font-family: var(--mono); font-size: .64rem; font-weight: 800; text-decoration: none; }

.answer-band { background: var(--graphite); color: var(--white); }
.answer-band .section-marker, .answer-band .mini-label { color: rgba(247, 250, 248, .55); }
.answer-band .answer-content { min-width: 0; }
.answer-band h2 { color: var(--white); max-width: 10ch; }
.answer-band .lead { max-width: 50rem; color: rgba(247, 250, 248, .84); }
.answer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 2.3rem; background: var(--line-light); }
.answer-grid > div { padding: 1.25rem; background: var(--graphite); }
.mini-label { display: block; margin-bottom: .55rem; color: var(--muted); font-size: .59rem; font-weight: 800; }
.answer-grid p { margin-bottom: 0; color: rgba(247, 250, 248, .78); font-family: var(--prose); font-size: 1.02rem; line-height: 1.36; }

.stack-section { background: rgba(247, 250, 248, .5); }
.stack-content, .institutions-content, .chokepoint-content, .overlap-content, .illustration-content, .interdependence-content, .performance-content, .cold-war-content, .un-content, .limits-content, .sources-content { min-width: 0; }
.stack-interface { display: grid; grid-template-columns: minmax(11rem, 22%) minmax(0, 1fr); min-height: 23rem; border: 1px solid var(--line); background: var(--white); box-shadow: 0 10px 30px rgba(22, 36, 40, .05); }
.layer-controls { display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--paper-deep); }
.layer-button { display: flex; align-items: center; gap: .7rem; flex: 1; min-height: 3.45rem; padding: .7rem .8rem; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-family: var(--display); font-size: 1.1rem; font-weight: 750; text-align: left; }
.layer-button span { color: var(--muted); font-family: var(--mono); font-size: .61rem; }
.layer-button:hover, .layer-button:focus-visible { background: rgba(255,255,255,.5); color: var(--ink); }
.layer-button.is-active { background: var(--graphite); color: var(--white); }
.layer-button.is-active span { color: var(--yellow); }
.layer-panels { padding: clamp(1.2rem, 3vw, 2.4rem); }
.stack-detail { max-width: 52rem; }
.detail-topline { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; color: var(--muted); font-size: .6rem; }
.status-fact, .status-forecast, .status-inference, .status-unknown { display: inline-flex; align-items: center; width: fit-content; padding: .24rem .45rem; border: 1px solid currentColor; font-family: var(--mono); font-size: .6rem; font-weight: 800; letter-spacing: .035em; line-height: 1.15; text-transform: uppercase; }
.status-fact { color: var(--green); }
.status-forecast { color: #a07911; }
.status-inference { color: var(--violet); }
.status-unknown { color: var(--copper-dark); }
.stack-detail h3 { max-width: 16ch; }
.stack-detail > p:not(.detail-implication):not(.detail-limit) { max-width: 55ch; font-family: var(--prose); font-size: 1.08rem; line-height: 1.42; }
.detail-implication { margin: 1.25rem 0 0; padding: .85rem 1rem; border-left: 3px solid var(--cobalt); background: rgba(49, 93, 195, .07); font-size: .94rem; }
.detail-limit { margin: 1rem 0 0; color: var(--muted); font-size: .79rem; line-height: 1.45; }
.detail-limit span { color: var(--ink); font-family: var(--mono); font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.detail-limit a, .card-status a, .method-line a, .source-entry a, .update-box a { color: var(--copper-dark); font-family: var(--mono); font-size: .65rem; font-weight: 800; text-decoration: none; }
.js-ready .stack-detail:not(.is-active) { display: none; }
.static-summary { display: flex; gap: 1.4rem; align-items: baseline; margin-top: 1rem; color: var(--muted); }
.static-summary p { margin: 0; font-size: .82rem; }

.institutions-section { background: var(--paper-deep); }
.institution-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.institution-card { padding: clamp(1.25rem, 3vw, 2.1rem); background: var(--white); border-top: 5px solid; box-shadow: 0 10px 30px rgba(22, 36, 40, .06); }
.pax-card { border-color: var(--copper); }
.waico-card { border-color: var(--cobalt); }
.card-kicker { display: flex; align-items: center; gap: .55rem; margin-bottom: 1.3rem; font-size: .63rem; font-weight: 800; }
.color-chip { display: inline-block; width: .65rem; height: .65rem; border-radius: 50%; }
.color-chip.copper { background: var(--copper); }
.color-chip.cobalt { background: var(--cobalt); }
.card-lede { min-height: 6.3rem; font-family: var(--prose); font-size: 1.04rem; line-height: 1.38; }
.card-facts { margin: 1.3rem 0 1.4rem; border-top: 1px solid var(--line); }
.card-facts > div { display: grid; grid-template-columns: 5.7rem 1fr; gap: .7rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.card-facts dt { color: var(--muted); font-family: var(--mono); font-size: .58rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.card-facts dd { margin: 0; font-size: .86rem; line-height: 1.35; }
.card-status { margin: 0; color: var(--muted); font-size: .77rem; line-height: 1.45; }
.comparison-note { display: flex; gap: 1.6rem; align-items: baseline; margin-top: 1rem; padding: 1rem 1.2rem; border: 1px dashed var(--line); }
.comparison-note p { margin: 0; max-width: 62ch; font-family: var(--prose); font-size: .98rem; }

.chokepoint-section { background: var(--white); }
.metric-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.metric-card { min-height: 13rem; padding: 1.1rem; background: var(--paper); }
.metric-card strong { display: block; margin-bottom: .85rem; color: var(--copper-dark); font-family: var(--display); font-size: clamp(2.8rem, 5vw, 5rem); line-height: .8; }
.metric-card span { display: block; min-height: 3.5rem; font-family: var(--prose); font-size: .98rem; line-height: 1.33; }
.metric-card small { display: block; margin-top: .9rem; color: var(--muted); font-size: .55rem; line-height: 1.4; }

.overlap-section { background: var(--graphite); color: var(--white); }
.overlap-section .section-marker, .overlap-section .section-note, .overlap-section .eyebrow { color: rgba(247, 250, 248, .58); }
.overlap-section h2 { color: var(--white); }
.overlap-scene { display: grid; grid-template-columns: minmax(0, 1fr) 5rem minmax(0, 1fr); align-items: stretch; gap: 1rem; }
.route-card { display: flex; flex-direction: column; gap: .55rem; min-height: 14rem; padding: 1.3rem; border: 1px solid; background: rgba(247, 250, 248, .06); }
.route-pax { border-color: rgba(199, 102, 67, .8); }
.route-waico { border-color: rgba(49, 93, 195, .85); }
.route-label { color: rgba(247, 250, 248, .55); font-size: .56rem; }
.route-card strong { margin-top: auto; font-family: var(--display); font-size: 2rem; line-height: .9; }
.route-card span:not(.route-label) { color: rgba(247, 250, 248, .74); font-family: var(--prose); font-size: .94rem; line-height: 1.35; }
.route-card a { align-self: start; color: var(--yellow); font-family: var(--mono); font-size: .64rem; font-weight: 800; text-decoration: none; }
.bridge-node { position: relative; display: grid; place-items: center; min-width: 0; }
.bridge-node::before, .bridge-node::after { content: ""; position: absolute; right: 0; left: 0; border-top: 2px solid; }
.bridge-node::before { top: 35%; border-color: var(--copper); }
.bridge-node::after { top: 65%; border-color: var(--cobalt); }
.bridge-node span { z-index: 1; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border: 2px solid var(--violet); border-radius: 50%; background: var(--graphite); color: #c4bcef; font-family: var(--mono); font-size: .58rem; font-weight: 800; text-transform: uppercase; }
.overlap-reading { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 1rem; background: var(--line-light); }
.overlap-reading > div { padding: 1rem; background: var(--graphite); }
.overlap-reading p { margin: .7rem 0 0; color: rgba(247, 250, 248, .77); font-family: var(--prose); font-size: .96rem; line-height: 1.38; }
.overlap-quote { max-width: 50rem; margin: 2.3rem 0 0; color: var(--yellow); font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 3.1rem); font-weight: 750; line-height: .98; }

.illustration-section { background: #d5e2df; }
.illustration-section .editorial-figure { margin-top: 0; }
.editorial-figure { margin: clamp(2.4rem, 6vw, 5rem) 0 0; }
.editorial-figure img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--ink); box-shadow: var(--shadow); }
.editorial-figure figcaption { display: flex; gap: 1rem; align-items: baseline; margin-top: .8rem; color: var(--muted); font-family: var(--prose); font-size: .92rem; line-height: 1.35; }
.editorial-figure figcaption .mini-label { flex: 0 0 auto; margin: 0; color: var(--copper-dark); }

.interdependence-section { background: #d5e2df; }
.scenario-box { padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--ink); background: var(--white); }
.scenario-control { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.switch-label { display: inline-flex; align-items: center; gap: .7rem; cursor: pointer; font-family: var(--mono); font-size: .67rem; font-weight: 800; text-transform: uppercase; }
.switch-label input { position: absolute; opacity: 0; }
.switch-track { display: inline-flex; align-items: center; width: 2.8rem; height: 1.45rem; padding: .18rem; border-radius: 1rem; background: var(--paper-deep); transition: background .2s ease; }
.switch-track span { width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--muted); transition: transform .2s ease, background .2s ease; }
.switch-label input:checked + .switch-track { background: var(--copper); }
.switch-label input:checked + .switch-track span { background: var(--white); transform: translateX(1.35rem); }
.switch-label input:focus-visible + .switch-track { outline: 3px solid var(--yellow); outline-offset: 3px; }
.scenario-output { min-height: 2.7rem; margin: 1.3rem 0; font-family: var(--prose); font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.25; }
.connection-diagram { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: .7rem; margin: 1rem 0 1.7rem; }
.node { display: grid; place-items: center; width: 3.3rem; height: 3.3rem; border: 2px solid; border-radius: 50%; font-family: var(--mono); font-size: .65rem; font-weight: 800; }
.node-us { border-color: var(--copper); }
.node-china { border-color: var(--cobalt); }
.node-world { border-color: var(--green); }
.connection-line { border-top: 3px solid; }
.line-control { border-color: var(--copper); }
.line-market { border-color: var(--green); border-top-style: dotted; }
.scenario-box[data-scenario="tight"] .line-control { border-top-width: 7px; }
.scenario-box[data-scenario="tight"] .line-market { opacity: .56; }
.scenario-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.scenario-columns > div { padding: 1rem; border: 1px solid var(--line); background: var(--paper); }
.scenario-columns p { margin-bottom: .8rem; font-family: var(--prose); font-size: .96rem; line-height: 1.38; }
.scenario-columns a { color: var(--copper-dark); font-family: var(--mono); font-size: .64rem; font-weight: 800; text-decoration: none; }

.performance-section { background: var(--paper); }
.performance-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.performance-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .82rem; }
.performance-table caption { padding: 1rem; color: var(--muted); font-family: var(--mono); font-size: .63rem; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.performance-table th, .performance-table td { padding: .9rem 1rem; border-top: 1px solid var(--line); vertical-align: top; text-align: left; }
.performance-table thead th { background: var(--graphite); color: var(--white); font-family: var(--mono); font-size: .61rem; letter-spacing: .04em; text-transform: uppercase; }
.performance-table tbody th { width: 20%; font-family: var(--display); font-size: 1.08rem; line-height: 1.05; }
.performance-table tbody td:last-child { color: var(--muted); }
.source-note { margin: 1rem 0 0; color: var(--muted); font-size: .79rem; }

.cold-war-section { background: var(--paper-deep); }
.analogy-table { border-top: 1px solid var(--line); }
.analogy-row { display: grid; grid-template-columns: 1.1fr 1.6fr .55fr; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.analogy-row strong { font-family: var(--display); font-size: 1.12rem; line-height: 1; }
.analogy-row span { font-family: var(--prose); font-size: .97rem; line-height: 1.35; }
.analogy-row b { justify-self: end; font-family: var(--mono); font-size: .63rem; letter-spacing: .04em; text-transform: uppercase; }
.analogy-head { padding: .65rem 0; color: var(--muted); font-family: var(--mono); font-size: .58rem; letter-spacing: .04em; text-transform: uppercase; }
.fit-high { color: var(--green); }
.fit-low { color: var(--copper-dark); }
.verdict-box { margin-top: 1.6rem; padding: 1.2rem 1.3rem; border-left: 4px solid var(--violet); background: rgba(129, 117, 189, .1); }
.verdict-box p { max-width: 58rem; margin: .75rem 0 0; font-family: var(--prose); font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.35; }
.method-line { margin: 1.4rem 0 0; color: var(--muted); font-size: .62rem; line-height: 1.55; text-transform: none; }

.un-section { background: #e3eee9; }
.un-grid { display: grid; grid-template-columns: .8fr .8fr 1.5fr; gap: 1px; background: var(--line); }
.un-stat, .un-copy { min-height: 14rem; padding: 1.25rem; background: var(--white); }
.un-stat strong { display: block; color: var(--green); font-family: var(--display); font-size: clamp(3.8rem, 7vw, 6.6rem); line-height: .8; }
.un-stat span { display: block; margin-top: 1rem; font-family: var(--prose); font-size: 1rem; line-height: 1.34; }
.un-stat a { display: inline-block; margin-top: 1rem; color: var(--green); font-family: var(--mono); font-size: .63rem; font-weight: 800; text-decoration: none; }
.un-copy { display: flex; flex-direction: column; justify-content: space-between; }
.un-copy p:first-child { margin-bottom: 1rem; font-family: var(--prose); font-size: 1.16rem; line-height: 1.38; }
.un-copy p:last-child { margin-bottom: 0; }

.limits-section { background: var(--graphite); color: var(--white); }
.limits-section .eyebrow, .limits-section .section-marker { color: rgba(247, 250, 248, .55); }
.limits-section h2 { color: var(--white); max-width: 11ch; }
.limits-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 2rem; background: var(--line-light); }
.limits-grid > div { padding: 1.15rem; background: var(--graphite); }
.limits-grid p { margin: .85rem 0 0; color: rgba(247, 250, 248, .77); font-family: var(--prose); font-size: 1rem; line-height: 1.38; }

.sources-section { background: var(--white); }
.source-intro { display: flex; justify-content: space-between; gap: 2rem; align-items: start; margin-bottom: 1rem; }
.source-intro p { max-width: 50rem; font-family: var(--prose); font-size: 1.05rem; }
.status-legend { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: end; font-size: .58rem; }
.source-list { border-top: 1px solid var(--line); }
.source-entry { border-bottom: 1px solid var(--line); }
.source-entry summary { display: grid; grid-template-columns: 5rem 1fr; gap: .8rem; align-items: center; padding: .82rem 0; cursor: pointer; list-style: none; font-family: var(--display); font-size: 1.1rem; font-weight: 700; line-height: 1.05; }
.source-entry summary::-webkit-details-marker { display: none; }
.source-entry summary::after { content: "+"; justify-self: end; color: var(--copper); font-family: var(--mono); font-size: .9rem; }
.source-entry[open] summary::after { content: "−"; }
.source-entry summary span { color: var(--muted); font-size: .58rem; font-weight: 800; }
.source-entry > p { max-width: 62rem; margin: 0 0 .55rem 5.8rem; color: var(--muted); font-size: .82rem; }
.source-entry > a { display: inline-block; margin: 0 0 .95rem 5.8rem; }
.update-box { display: flex; gap: 1.4rem; align-items: baseline; margin-top: 1.4rem; padding: 1rem 1.2rem; border: 1px dashed var(--copper); background: rgba(199, 102, 67, .07); }
.update-box p { margin: 0; max-width: 62rem; font-family: var(--prose); font-size: .96rem; line-height: 1.38; }

.site-footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2.2rem clamp(1.1rem, 4.5vw, 4.5rem) 3.6rem; background: var(--graphite); color: var(--white); }
.site-footer .eyebrow { color: rgba(247, 250, 248, .55); }
.site-footer p { margin: 0; color: rgba(247, 250, 248, .72); font-family: var(--prose); font-size: .98rem; }
.site-footer a { color: var(--yellow); }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; justify-content: end; gap: 1rem; font-family: var(--mono); font-size: .62rem; text-transform: uppercase; }
.footer-links a { text-decoration: none; }
.back-top { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.8rem; padding: .5rem .65rem; border: 1px solid var(--ink); background: var(--yellow); color: var(--graphite) !important; font-family: var(--mono); font-size: .65rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.js-ready .back-top { opacity: 0; pointer-events: none; visibility: hidden; }
.js-ready .back-top.is-floating { position: fixed; right: 1rem; bottom: 1rem; z-index: 20; min-width: 2.8rem; min-height: 2.8rem; justify-content: center; box-shadow: 0 8px 20px rgba(22, 36, 40, .16); opacity: 1; pointer-events: auto; visibility: visible; }
.back-top:hover, .back-top:focus-visible { background: var(--copper); color: var(--white) !important; }
.reading-progress { position: fixed; inset: 0 0 auto; z-index: 25; height: 4px; background: var(--copper); transform: scaleX(0); transform-origin: left center; pointer-events: none; }

:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

@media (max-width: 980px) {
  .section-grid { grid-template-columns: 1fr; gap: 1rem; }
  .section-marker { padding-top: 0; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 55rem; }
  .hero-instrument { max-width: 54rem; }
  .orientation-grid { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-fact:nth-child(3) { border-left: 1px solid var(--line); }
  .hero-fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading-row { align-items: start; }
  .section-note { max-width: 20rem; }
}

@media (max-width: 720px) {
  .site-header { align-items: start; }
  .wordmark span { display: block; margin: .25rem 0 0; }
  .header-nav { flex-wrap: wrap; justify-content: end; gap: .5rem .8rem; }
  h1 { font-size: clamp(3.6rem, 17vw, 6.1rem); }
  h2 { font-size: clamp(2.35rem, 12vw, 4.2rem); }
  .section-grid { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .hero-facts { margin-right: 1.1rem; margin-left: 1.1rem; }
  .hero-fact { min-height: 7.5rem; padding: 1rem; }
  .hero-fact strong { font-size: 3rem; }
  .stack-hero { grid-template-columns: 3rem minmax(0, 1fr) 3rem; min-height: 24rem; }
  .stack-side-label { font-size: .48rem; }
  .hero-band { min-height: 2.8rem; padding-left: .6rem; font-size: .51rem; }
  .hero-band span { max-width: 9rem; }
  .stack-interface { grid-template-columns: 1fr; }
  .layer-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-right: 0; border-bottom: 1px solid var(--line); }
  .layer-button { min-height: 3.1rem; border-right: 1px solid var(--line); font-size: .95rem; }
  .layer-button:nth-child(3n) { border-right: 0; }
  .institution-grid, .metric-strip, .answer-grid, .overlap-reading, .limits-grid { grid-template-columns: 1fr; }
  .card-lede { min-height: 0; }
  .comparison-note, .update-box, .static-summary, .source-intro { display: block; }
  .comparison-note .mini-label, .update-box .mini-label, .static-summary .mini-label { margin-bottom: .65rem; }
  .status-legend { justify-content: start; margin-top: 1rem; }
  .overlap-scene { grid-template-columns: 1fr; gap: 0; }
  .bridge-node { min-height: 3.4rem; }
  .bridge-node::before { top: 50%; right: 50%; left: 0; }
  .bridge-node::after { top: 50%; right: 0; left: 50%; }
  .bridge-node span { width: 2.7rem; height: 2.7rem; }
  .scenario-control { display: block; }
  .scenario-control .switch-label { margin-top: .8rem; }
  .scenario-columns, .un-grid { grid-template-columns: 1fr; }
  .editorial-figure figcaption { display: block; }
  .editorial-figure figcaption .mini-label { margin-bottom: .65rem; }
  .un-stat, .un-copy { min-height: 0; }
  .analogy-row { grid-template-columns: 1fr; gap: .4rem; }
  .analogy-head { display: none; }
  .analogy-row b { justify-self: start; }
  .source-entry summary { grid-template-columns: 4.2rem minmax(0, 1fr) 1rem; font-size: 1rem; }
  .source-entry > p, .source-entry > a { margin-left: 0; }
  .site-footer { display: block; }
  .footer-links { justify-content: start; margin-top: 1.5rem; }
}

@media (max-width: 410px) {
  body { font-size: 15px; }
  .site-header { display: block; }
  .header-nav { justify-content: start; margin-top: 1rem; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-fact, .hero-fact:nth-child(3), .hero-fact:last-child { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .hero-fact:last-child { border-bottom: 0; }
  .stack-hero { grid-template-columns: 2.2rem minmax(0, 1fr) 2.2rem; }
  .hero-band { min-height: 2.6rem; font-size: .46rem; }
  .hero-band b { display: none; }
  .instrument-topline { font-size: .5rem; }
  .instrument-topline span:last-child { text-align: right; }
  .layer-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layer-button:nth-child(3n) { border-right: 1px solid var(--line); }
  .layer-button:nth-child(2n) { border-right: 0; }
  .layer-button { font-size: .9rem; }
  .route-card { min-height: 11rem; }
  .connection-diagram { gap: .35rem; }
  .node { width: 2.7rem; height: 2.7rem; font-size: .55rem; }
  .back-top span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media print {
  body::before, .site-header, .hero-actions, .back-top, .layer-controls, .scenario-control { display: none; }
  .section-grid { display: block; padding: 1.5rem 0; }
  .section-marker { margin-bottom: .4rem; }
  .stack-detail:not(.is-active) { display: block !important; }
  .page-shell { max-width: none; }
  a { color: inherit; }
}
