:root {
  --paper: #f3eee3;
  --paper-deep: #e8dfcf;
  --paper-light: #fbf8f0;
  --ink: #14212b;
  --ink-soft: #42505a;
  --line: rgba(20, 33, 43, 0.2);
  --line-strong: rgba(20, 33, 43, 0.55);
  --accent: #e97931;
  --accent-dark: #b94e19;
  --accent-light: #f3b078;
  --green: #315f4c;
  --yellow: #c99a16;
  --red: #9e3f30;
  --blue: #234b6f;
  --white: #fffdf8;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --shell: min(1180px, calc(100vw - 48px));
  --header-height: 78px;
  --shadow: 0 22px 70px rgba(20, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  overflow-x: clip;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 33, 43, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 33, 43, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
blockquote,
figure,
dl,
dd {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.045em;
}

h3 {
  line-height: 1.28;
}

section,
footer {
  position: relative;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-block {
  padding-block: clamp(90px, 10vw, 150px);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(120px, 0.38fr) minmax(420px, 1.35fr) minmax(260px, 0.72fr);
  gap: 34px;
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 84px);
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.section-index,
.eyebrow {
  margin-bottom: 0;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.section-intro h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(39px, 5.2vw, 76px);
  line-height: 1.08;
}

.section-intro > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  min-height: var(--header-height);
  padding: 12px max(24px, calc((100vw - 1440px) / 2));
  background: rgba(243, 238, 227, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(20, 33, 43, 0.05);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  place-items: center;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 13px;
  letter-spacing: 0.18em;
}

.brand small {
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  justify-content: center;
  align-items: center;
}

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-date {
  color: var(--ink-soft);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 0;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  min-height: calc(100svh - var(--header-height));
  padding-block: clamp(58px, 8vw, 108px) 42px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 9%;
  right: -8vw;
  width: min(52vw, 760px);
  aspect-ratio: 1;
  background: rgba(233, 121, 49, 0.08);
  border: 1px solid rgba(233, 121, 49, 0.2);
  border-radius: 50%;
  content: "";
}

.hero-copy {
  z-index: 2;
}

.hero-copy .eyebrow {
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 32px;
  font-size: clamp(54px, 7.1vw, 104px);
  line-height: 0.99;
}

.hero h1 em {
  color: var(--accent-dark);
  font-style: normal;
}

.hero-lede {
  max-width: 730px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 11px 20px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--ink);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-quiet {
  border: 1px solid var(--line-strong);
}

.button-quiet:hover {
  color: var(--white);
  background: var(--ink);
}

.hero-caveat {
  max-width: 660px;
  margin-bottom: 0;
  padding-left: 14px;
  color: var(--ink-soft);
  border-left: 2px solid var(--accent);
  font-size: 12px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  margin-bottom: 0;
}

.hero-image-frame {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(100%, 520px);
  background: #fff;
  box-shadow: var(--shadow);
  transform: translate(-50%, -53%) rotate(1.5deg);
}

.hero-image-frame::before,
.hero-image-frame::after {
  position: absolute;
  z-index: -1;
  content: "";
}

.hero-image-frame::before {
  inset: -12px 14px 12px -14px;
  border: 1px solid var(--line-strong);
}

.hero-image-frame::after {
  right: 18px;
  bottom: -24px;
  width: 58%;
  height: 22px;
  background: var(--accent);
}

.hero-image-frame img {
  width: 100%;
  height: auto;
}

.hero-visual figcaption {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 30px;
  max-width: 290px;
  padding: 13px 16px;
  color: var(--white);
  background: var(--ink);
  font-size: 11px;
  line-height: 1.5;
}

.hero-visual figcaption span {
  display: block;
  margin-bottom: 2px;
  color: var(--accent-light);
  font-weight: 800;
}

.hero-stamp {
  position: absolute;
  z-index: 4;
  top: 40px;
  right: -10px;
  display: grid;
  width: 112px;
  height: 112px;
  align-content: center;
  color: var(--white);
  background: var(--accent);
  border-radius: 50%;
  text-align: center;
  transform: rotate(8deg);
}

.hero-stamp::before,
.hero-stamp::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  content: "";
}

.hero-stamp::before {
  inset: 8px;
}

.hero-stamp::after {
  inset: 14px;
}

.hero-stamp span,
.hero-stamp strong {
  display: block;
  line-height: 1.1;
}

.hero-stamp span {
  font-size: 12px;
  letter-spacing: 0.18em;
}

.hero-stamp strong {
  font-size: 22px;
}

.visual-orbit {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(20, 33, 43, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 118%;
  aspect-ratio: 1;
}

.orbit-two {
  width: 92%;
  aspect-ratio: 1;
  border-color: rgba(233, 121, 49, 0.4);
}

.research-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.25fr;
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.research-strip > div,
.research-strip > p {
  min-height: 90px;
  margin-bottom: 0;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.research-strip > div {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.research-strip strong {
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
}

.research-strip span {
  color: var(--ink-soft);
  font-size: 12px;
}

.research-strip > p {
  display: flex;
  align-items: center;
  color: var(--ink-soft);
  border-right: 0;
  font-size: 12px;
}

/* Verdict */
.thesis-poster {
  position: relative;
  margin-bottom: 58px;
  padding: clamp(34px, 5vw, 70px);
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.thesis-poster::after {
  position: absolute;
  right: -8%;
  bottom: -65%;
  width: 420px;
  aspect-ratio: 1;
  border: 70px solid rgba(233, 121, 49, 0.7);
  border-radius: 50%;
  content: "";
}

.poster-kicker {
  margin-bottom: 24px;
  color: var(--accent-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.thesis-poster blockquote {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin-bottom: 48px;
  font-family: var(--serif);
  font-size: clamp(29px, 4.2vw, 58px);
  line-height: 1.32;
  letter-spacing: -0.03em;
}

.thesis-poster blockquote strong {
  color: var(--accent-light);
}

.poster-foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.decision-lines {
  border-top: 1px solid var(--line-strong);
}

.decision-lines article {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 128px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.decision-code {
  display: grid;
  width: 54px;
  height: 54px;
  color: var(--white);
  background: var(--ink);
  font-size: 14px;
  font-weight: 900;
  place-items: center;
}

.decision-code.watch {
  background: var(--yellow);
}

.decision-code.stop {
  background: var(--red);
}

.decision-lines h3 {
  margin-bottom: 7px;
  font-size: 23px;
}

.decision-lines p {
  max-width: 790px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.status {
  min-width: 94px;
  padding: 6px 10px;
  border: 1px solid currentColor;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-align: center;
}

.status-advance {
  color: var(--green);
}

.status-watch {
  color: #795a06;
}

.status-stop {
  color: var(--red);
}

.truth-note {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  max-width: 930px;
  margin: 58px 0 0 auto;
  padding: 26px 30px;
  background: var(--paper-light);
  border-left: 4px solid var(--accent);
}

.truth-icon {
  display: grid;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--accent);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 800;
  place-items: center;
}

.truth-note strong {
  display: block;
  margin-bottom: 8px;
}

.truth-note p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

/* Evidence timeline */
.decade-section {
  color: var(--white);
  background: var(--ink);
}

.decade-section::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 18%, rgba(233, 121, 49, 0.2), transparent 34%);
  content: "";
  pointer-events: none;
}

.decade-section .section-intro {
  border-top-color: rgba(255, 255, 255, 0.45);
}

.decade-section .section-index,
.decade-section .eyebrow {
  color: var(--accent-light);
}

.decade-section .section-intro > p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

.evidence-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  margin-bottom: 32px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.evidence-legend span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.grade {
  display: inline-grid;
  min-width: 27px;
  height: 27px;
  padding-inline: 5px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.grade-b {
  background: var(--green);
}

.grade-c {
  color: var(--ink);
  background: var(--accent-light);
}

.grade-d {
  background: #7d626a;
}

.grade-u {
  background: var(--red);
}

.timeline-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}

.filter-button {
  padding: 8px 15px;
  color: rgba(255, 255, 255, 0.74);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.26);
  cursor: pointer;
  font-size: 12px;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--ink);
  background: var(--accent-light);
  border-color: var(--accent-light);
}

.fact-timeline {
  position: relative;
  max-width: 1040px;
}

.fact-timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 150px;
  width: 1px;
  background: rgba(255, 255, 255, 0.22);
  content: "";
}

.timeline-entry {
  display: grid;
  grid-template-columns: 120px 30px minmax(0, 1fr);
  gap: 15px;
  min-height: 255px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.timeline-entry[hidden] {
  display: none;
}

.timeline-entry time {
  padding-top: 2px;
  color: var(--accent-light);
  font-family: var(--serif);
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: right;
}

.timeline-marker {
  position: relative;
}

.timeline-marker::before {
  position: absolute;
  top: 10px;
  left: 9px;
  width: 11px;
  height: 11px;
  background: var(--ink);
  border: 3px solid var(--accent-light);
  border-radius: 50%;
  content: "";
}

.timeline-copy {
  padding: 0 0 54px 20px;
}

.timeline-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}

.tag {
  padding: 3px 8px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.tag-fact {
  background: var(--green);
  border-color: var(--green);
}

.tag-risk {
  background: var(--red);
  border-color: var(--red);
}

.tag-claim {
  color: var(--ink);
  background: var(--accent-light);
  border-color: var(--accent-light);
}

.tag-unknown {
  background: transparent;
  border-color: var(--accent-light);
}

.timeline-copy h3 {
  margin-bottom: 11px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.7vw, 34px);
}

.timeline-copy > p {
  max-width: 750px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.76);
}

.timeline-copy .not-support {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.source-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  text-underline-offset: 4px;
}

.source-link::after {
  content: "↗";
}

.decade-section .source-link {
  color: var(--accent-light);
}

.metric-conflict {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.metric-conflict-title {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 34px;
}

.metric-conflict-title h3 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(29px, 4vw, 50px);
}

.metric-conflict-sequence {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.metric-conflict-sequence > div {
  min-height: 160px;
  padding: 22px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.metric-conflict-sequence > div:last-child {
  border-right: 0;
}

.metric-conflict-sequence span,
.metric-conflict-sequence strong,
.metric-conflict-sequence small {
  display: block;
}

.metric-conflict-sequence span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.metric-conflict-sequence strong {
  margin-block: 8px;
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 30px);
  text-decoration: underline wavy rgba(233, 121, 49, 0.7) 1.5px;
  text-underline-offset: 5px;
}

.metric-conflict-sequence small {
  color: rgba(255, 255, 255, 0.52);
}

.metric-conflict-sequence .safe-number {
  background: rgba(233, 121, 49, 0.15);
}

.metric-conflict-sequence .safe-number strong {
  color: var(--accent-light);
  text-decoration: none;
}

.metric-warning {
  max-width: 900px;
  margin: 24px 0 0 auto;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.67);
  border-left: 2px solid var(--accent-light);
  font-size: 13px;
}

/* Platform */
.platform-map {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
  padding: 20px 0 0;
}

.platform-layer {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 100px;
  margin-inline: auto;
  padding: 20px 30px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.platform-layer > span {
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--serif);
  font-size: 32px;
}

.platform-layer strong,
.platform-layer small {
  display: block;
}

.platform-layer strong {
  font-size: clamp(19px, 2.2vw, 28px);
}

.platform-layer small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
}

.layer-family {
  width: 100%;
  background: #4e5f69;
}

.layer-device {
  width: 92%;
  background: #385565;
}

.layer-engine {
  width: 84%;
  background: var(--blue);
}

.layer-graph {
  width: 76%;
  background: var(--green);
}

.layer-trust {
  width: 68%;
  background: var(--accent-dark);
}

.platform-rule {
  max-width: 760px;
  margin: 30px auto 0;
  padding: 20px 24px;
  color: var(--ink-soft);
  background: var(--paper-light);
  border: 1px solid var(--line);
  font-size: 13px;
  text-align: center;
}

/* Portfolio */
.portfolio-section {
  background: var(--paper-light);
}

.portfolio-rail {
  border-top: 1px solid var(--line-strong);
}

.portfolio-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 220px;
  gap: 30px;
  align-items: start;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.portfolio-item.is-lead {
  padding-block: 50px;
}

.portfolio-item.is-stopped {
  opacity: 0.74;
}

.portfolio-number {
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: 37px;
  line-height: 1;
}

.portfolio-heading {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) 1fr;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 14px;
}

.portfolio-heading p {
  margin-bottom: 0;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.portfolio-heading h3 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(31px, 4vw, 54px);
  letter-spacing: -0.035em;
}

.portfolio-job {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.portfolio-gate {
  padding: 16px 0 0 20px;
  color: var(--ink-soft);
  border-left: 2px solid var(--accent);
  font-size: 12px;
}

.portfolio-gate span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hypothesis-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  max-width: 760px;
  margin-top: 26px;
  background: var(--line);
  border: 1px solid var(--line);
}

.hypothesis-split > div {
  min-height: 135px;
  padding: 20px;
  background: var(--paper);
}

.hypothesis-split strong,
.hypothesis-split span,
.hypothesis-split small {
  display: block;
}

.hypothesis-split strong {
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: 26px;
}

.hypothesis-split span {
  font-size: 13px;
  font-weight: 800;
}

.hypothesis-split small {
  margin-top: 8px;
  color: var(--ink-soft);
}

/* Regions */
.region-explorer {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  min-height: 590px;
  color: var(--white);
  background: var(--ink);
}

.region-tabs {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.region-tabs button {
  flex: 1;
  padding: 22px 24px;
  color: rgba(255, 255, 255, 0.64);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  text-align: left;
  transition: background 180ms ease, color 180ms ease;
}

.region-tabs button:hover,
.region-tabs button[aria-selected="true"] {
  color: var(--ink);
  background: var(--accent-light);
}

.region-panels {
  min-width: 0;
}

.region-panel {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 34px;
  min-height: 590px;
  padding: clamp(38px, 5vw, 70px);
  background-image:
    radial-gradient(circle at 92% 14%, rgba(233, 121, 49, 0.28), transparent 31%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 30px 30px, 30px 30px;
}

.region-panel[hidden] {
  display: none;
}

.region-number span,
.region-number strong {
  display: block;
}

.region-number span {
  color: var(--accent-light);
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
}

.region-number strong {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.region-label {
  margin-bottom: 9px;
  color: var(--accent-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.region-story h3 {
  max-width: 730px;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(31px, 4vw, 51px);
  letter-spacing: -0.035em;
}

.region-story > p:not(.region-label) {
  max-width: 760px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.72);
}

.region-story dl {
  margin-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.region-story dl > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.region-story dt {
  color: var(--accent-light);
  font-size: 11px;
  font-weight: 800;
}

.region-story dd {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.region-story .source-link {
  color: var(--accent-light);
}

/* Reviews */
.reviews-section {
  background: #ebe3d5;
}

.review-table-wrap {
  width: 100%;
  margin-bottom: 70px;
  overflow-x: auto;
  border-top: 2px solid var(--ink);
}

.review-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 13px;
}

.review-table caption {
  padding: 12px 0;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-align: left;
}

.review-table th,
.review-table td {
  padding: 19px 18px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.review-table tr > *:last-child {
  border-right: 0;
}

.review-table thead th {
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-table tbody th {
  width: 22%;
  font-size: 14px;
}

.review-table tbody th a {
  text-underline-offset: 4px;
}

.review-table tbody td:nth-child(2) {
  width: 18%;
  color: var(--accent-dark);
  font-weight: 750;
}

.review-table tbody td:last-child {
  color: var(--red);
}

.failure-map {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 60px;
  padding-top: 36px;
  border-top: 1px solid var(--line-strong);
}

.failure-map-head h3 {
  margin-top: 14px;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
}

.failure-map ol {
  margin: 0;
  padding: 0;
  counter-reset: failure;
  list-style: none;
  border-top: 1px solid var(--line);
}

.failure-map li {
  display: grid;
  grid-template-columns: 42px 180px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: failure;
}

.failure-map li::before {
  color: var(--accent-dark);
  content: counter(failure, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 18px;
}

.failure-map li strong {
  font-size: 14px;
}

.failure-map li span {
  color: var(--ink-soft);
  font-size: 13px;
}

/* Gates */
.gate-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.gate-flow article {
  position: relative;
  min-height: 320px;
  padding: 28px 22px;
  border-right: 1px solid var(--line);
}

.gate-flow article:last-child {
  border-right: 0;
}

.gate-flow article::after {
  position: absolute;
  z-index: 2;
  top: 48px;
  right: -7px;
  width: 12px;
  height: 12px;
  background: var(--paper);
  border-top: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
  content: "";
  transform: rotate(45deg);
}

.gate-flow article:last-child::after {
  display: none;
}

.gate-flow article > span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
  place-items: center;
}

.gate-flow h3 {
  min-height: 52px;
  margin-bottom: 15px;
  font-size: 17px;
}

.gate-flow p {
  color: var(--ink-soft);
  font-size: 13px;
}

.gate-flow small {
  position: absolute;
  right: 22px;
  bottom: 25px;
  left: 22px;
  padding-top: 10px;
  color: var(--red);
  border-top: 1px solid var(--line);
  font-weight: 750;
}

/* 90 days */
.execution-section {
  color: var(--white);
  background: var(--ink);
}

.execution-section::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 33%;
  height: 100%;
  background: rgba(233, 121, 49, 0.08);
  content: "";
}

.execution-section .section-intro {
  border-top-color: rgba(255, 255, 255, 0.45);
}

.execution-section .section-index,
.execution-section .eyebrow {
  color: var(--accent-light);
}

.execution-section .section-intro > p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

.ninety-day {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 90px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.ninety-day article {
  min-height: 430px;
  padding: 32px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.ninety-day article:last-child {
  border-right: 0;
}

.day-range {
  margin-bottom: 50px;
  color: var(--accent-light);
  font-family: var(--serif);
  font-size: clamp(31px, 4vw, 52px);
  font-weight: 700;
}

.ninety-day h3 {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: 30px;
}

.ninety-day ul {
  min-height: 150px;
  margin: 0 0 24px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.75);
}

.ninety-day li + li {
  margin-top: 8px;
}

.ninety-day p {
  margin-bottom: 0;
  padding-top: 15px;
  color: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
}

.unknown-board {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 70px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.unknown-board h3 {
  margin-top: 12px;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 59px);
}

.unknown-board ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.unknown-board li {
  position: relative;
  padding: 14px 0 14px 30px;
  color: rgba(255, 255, 255, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
}

.unknown-board li::before {
  position: absolute;
  top: 14px;
  left: 0;
  color: var(--accent-light);
  content: "?";
  font-family: var(--serif);
  font-weight: 800;
}

/* Evidence downloads */
.download-ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 54px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.download-ledger a {
  position: relative;
  min-height: 180px;
  padding: 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.download-ledger a::after {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: var(--accent-dark);
  content: "↓";
  font-size: 24px;
}

.download-ledger a:hover {
  color: var(--white);
  background: var(--ink);
}

.download-ledger a:hover::after {
  color: var(--accent-light);
}

.download-ledger span,
.download-ledger strong,
.download-ledger small {
  display: block;
}

.download-ledger span {
  margin-bottom: 22px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.download-ledger a:hover span {
  color: var(--accent-light);
}

.download-ledger strong {
  margin-bottom: 7px;
  font-size: 17px;
}

.download-ledger small {
  max-width: 220px;
  color: var(--ink-soft);
}

.download-ledger a:hover small {
  color: rgba(255, 255, 255, 0.6);
}

.methodology {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.methodology summary {
  display: flex;
  min-height: 78px;
  padding: 20px 2px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.methodology summary::-webkit-details-marker {
  display: none;
}

.methodology summary::after {
  color: var(--accent-dark);
  content: "+";
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.methodology[open] summary::after {
  content: "−";
}

.methodology > div {
  max-width: 880px;
  padding: 4px 0 28px;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  display: flex;
  gap: 40px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 60px max(24px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: #0d171e;
}

.site-footer strong {
  color: var(--accent-light);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.site-footer > div:last-child {
  display: flex;
  gap: 24px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-underline-offset: 4px;
}

/* Responsive */
@media (max-width: 1180px) {
  .header-date {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr;
  }

  .site-nav {
    justify-content: flex-end;
  }

  .section-intro {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .section-intro > p:last-child {
    grid-column: 2;
    max-width: 650px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.8fr);
    gap: 40px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .research-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .research-strip > p {
    grid-column: 1 / -1;
    min-height: 52px;
    border-top: 1px solid var(--line);
  }

  .gate-flow {
    grid-template-columns: repeat(3, 1fr);
  }

  .gate-flow article:nth-child(3) {
    border-right: 0;
  }

  .gate-flow article:nth-child(3)::after {
    display: none;
  }

  .gate-flow article:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 34px, 760px);
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding-inline: 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 12px 18px 22px;
    align-items: stretch;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--line-strong);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 9px 0;
    font-size: 14px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-visual {
    min-height: 550px;
  }

  .hero-image-frame {
    width: min(78vw, 490px);
  }

  .research-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .research-strip > div:nth-child(2) {
    border-right: 0;
  }

  .research-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-intro > p:last-child {
    grid-column: auto;
  }

  .metric-conflict-sequence {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-conflict-sequence > div:nth-child(even) {
    border-right: 0;
  }

  .metric-conflict-sequence > div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .metric-conflict-sequence > div:last-child {
    grid-column: 1 / -1;
  }

  .portfolio-item {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .portfolio-gate {
    grid-column: 2;
  }

  .region-explorer {
    grid-template-columns: 1fr;
  }

  .region-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .region-tabs button {
    min-height: 68px;
    padding: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 0;
    text-align: center;
  }

  .region-panel {
    grid-template-columns: 100px 1fr;
  }

  .failure-map,
  .unknown-board {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gate-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .gate-flow article:nth-child(2n) {
    border-right: 0;
  }

  .gate-flow article:nth-child(2n)::after {
    display: none;
  }

  .gate-flow article:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .gate-flow article:nth-child(3)::after {
    display: block;
  }

  .gate-flow article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .ninety-day {
    grid-template-columns: 1fr;
  }

  .ninety-day article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .ninety-day article:last-child {
    border-bottom: 0;
  }

  .ninety-day ul {
    min-height: 0;
  }

  .download-ledger {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100vw - 28px);
    --header-height: 68px;
  }

  body {
    font-size: 15px;
  }

  .brand small {
    display: none;
  }

  .section-block {
    padding-block: 76px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 68px);
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-visual {
    min-height: 440px;
  }

  .hero-image-frame {
    width: min(88vw, 400px);
  }

  .hero-stamp {
    top: 6px;
    right: 0;
    width: 90px;
    height: 90px;
  }

  .hero-stamp strong {
    font-size: 18px;
  }

  .hero-visual figcaption {
    right: -4px;
    bottom: 4px;
    max-width: 240px;
  }

  .research-strip > div {
    min-height: 80px;
    padding: 15px 12px;
    align-items: center;
  }

  .research-strip strong {
    font-size: 31px;
  }

  .section-intro h2 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .thesis-poster {
    margin-inline: -14px;
    padding: 32px 22px;
  }

  .thesis-poster blockquote {
    font-size: 28px;
  }

  .decision-lines article {
    grid-template-columns: 55px minmax(0, 1fr);
    gap: 14px;
  }

  .status {
    grid-column: 2;
    justify-self: start;
  }

  .truth-note {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .fact-timeline::before {
    left: 11px;
  }

  .timeline-entry {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
  }

  .timeline-entry time {
    grid-column: 2;
    padding-top: 0;
    text-align: left;
  }

  .timeline-marker {
    grid-row: 1 / span 2;
    grid-column: 1;
  }

  .timeline-marker::before {
    top: 12px;
    left: 3px;
  }

  .timeline-copy {
    grid-column: 2;
    padding: 0 0 46px;
  }

  .metric-conflict-title {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .metric-conflict-sequence {
    grid-template-columns: 1fr;
  }

  .metric-conflict-sequence > div,
  .metric-conflict-sequence > div:nth-child(even) {
    min-height: 120px;
    border-right: 0;
  }

  .metric-conflict-sequence > div:last-child {
    grid-column: auto;
  }

  .platform-layer {
    grid-template-columns: 45px 1fr;
    width: 100%;
    min-height: 92px;
    padding: 16px;
  }

  .platform-layer > span {
    font-size: 24px;
  }

  .platform-layer small {
    font-size: 11px;
  }

  .portfolio-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .portfolio-number,
  .portfolio-gate {
    grid-column: 1;
  }

  .portfolio-heading {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .region-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .region-panel {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 32px 22px;
  }

  .region-number {
    display: flex;
    gap: 12px;
    align-items: baseline;
  }

  .region-number span {
    font-size: 44px;
  }

  .region-story dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .failure-map li {
    grid-template-columns: 36px 1fr;
  }

  .failure-map li span {
    grid-column: 2;
  }

  .gate-flow {
    grid-template-columns: 1fr;
  }

  .gate-flow article,
  .gate-flow article:nth-child(3) {
    min-height: 270px;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .gate-flow article:first-child {
    border-top: 0;
  }

  .gate-flow article::after,
  .gate-flow article:nth-child(3)::after {
    display: none;
  }

  .download-ledger {
    grid-template-columns: 1fr;
  }

  .download-ledger a {
    min-height: 150px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 48px 22px;
  }

  .site-footer > div:last-child {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  :root {
    --paper: #fff;
    --shell: 100%;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 10pt;
  }

  body::before,
  .site-header,
  .hero-actions,
  .timeline-controls,
  .hero-stamp,
  .visual-orbit,
  .site-footer {
    display: none !important;
  }

  .hero,
  .section-block {
    min-height: 0;
    padding-block: 30px;
    break-inside: avoid;
  }

  .hero {
    grid-template-columns: 1fr 260px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-image-frame {
    width: 250px;
    box-shadow: none;
  }

  .decade-section,
  .execution-section,
  .region-explorer,
  .thesis-poster {
    color: #000;
    background: #fff;
  }

  .timeline-copy > p,
  .timeline-copy .not-support,
  .region-story > p,
  .region-story dd,
  .ninety-day ul,
  .ninety-day p,
  .unknown-board li {
    color: #222 !important;
  }

  .download-ledger,
  .methodology {
    display: none;
  }

  a {
    text-decoration: none;
  }
}
