:root {
  --paper: #f5f1e9;
  --paper-2: #eee9df;
  --paper-3: #e6e3dc;
  --surface: rgba(255, 253, 248, 0.78);
  --surface-solid: #fbf8f1;
  --ink: #303b4d;
  --ink-2: #4d596a;
  --ink-3: #717988;
  --deep: #344255;
  --deep-2: #435268;
  --mist: #aab7c5;
  --mist-pale: #dfe5e9;
  --sage: #aeb9aa;
  --sage-pale: #e1e6df;
  --lavender: #b8aec4;
  --lavender-pale: #e8e2eb;
  --rose: #c39c98;
  --rose-pale: #eee0dd;
  --sand: #c4af86;
  --sand-pale: #ece4d4;
  --line: rgba(52, 66, 85, 0.16);
  --line-strong: rgba(52, 66, 85, 0.28);
  --white-line: rgba(255, 255, 255, 0.18);
  --shadow: 0 22px 58px rgba(52, 66, 85, 0.08);
  --radius: 18px;
  --display: "Arial Narrow", "DIN Condensed", "Roboto Condensed", "PingFang SC", "Microsoft YaHei", sans-serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Iowan Old Style", "Baskerville", "Songti SC", "STSong", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 5%, rgba(184, 174, 196, 0.14), transparent 24rem),
    radial-gradient(circle at 94% 18%, rgba(170, 183, 197, 0.12), transparent 26rem),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

::selection {
  color: var(--deep);
  background: var(--lavender-pale);
}

.reading-progress {
  position: fixed;
  z-index: 300;
  inset: 0 0 auto;
  height: 3px;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--rose), var(--lavender), var(--mist));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
  min-height: 72px;
  padding: 0 3vw;
  color: #f8f5ef;
  background: rgba(52, 66, 85, 0.94);
  border-bottom: 1px solid var(--white-line);
  backdrop-filter: blur(16px);
}

.wordmark,
.top-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.wordmark {
  gap: 12px;
  width: max-content;
}

.wordmark-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--deep);
  background: var(--mist);
  border-radius: 12px;
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.wordmark-copy {
  display: grid;
  gap: 2px;
}

.wordmark-copy b {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.wordmark-copy small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
}

.top-nav {
  gap: 26px;
  height: 72px;
}

.top-nav a {
  position: relative;
  display: grid;
  align-items: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  transition: color 180ms ease;
}

.top-nav a::after {
  position: absolute;
  content: "";
  inset: auto 0 0;
  height: 2px;
  background: var(--mist);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.top-nav a:hover,
.top-nav a.active {
  color: #fff;
}

.top-nav a:hover::after,
.top-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  justify-self: end;
  gap: 16px;
}

.as-of {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--display);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
}

.menu-button {
  display: none;
  padding: 8px 12px;
  color: #fff;
  background: transparent;
  border: 1px solid var(--white-line);
  border-radius: 8px;
}

.mobile-menu {
  position: fixed;
  z-index: 190;
  inset: 72px 0 0;
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 5vh 8vw;
  color: #f8f5ef;
  background: rgba(52, 66, 85, 0.98);
  overflow-y: auto;
}

.mobile-menu a {
  padding: 16px 0;
  border-bottom: 1px solid var(--white-line);
  font-size: 1rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
  grid-template-rows: 1fr auto;
  gap: 36px 5vw;
  align-items: center;
  padding: clamp(64px, 8vw, 120px) 7vw 48px;
  color: #f8f5ef;
  background:
    linear-gradient(130deg, rgba(52, 66, 85, 0.98), rgba(60, 72, 91, 0.95)),
    var(--deep);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  content: "";
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.watercolor {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.28;
  transform: rotate(-12deg);
}

.wash-a {
  width: 42vw;
  height: 27vw;
  top: 2%;
  right: -12%;
  background: var(--lavender);
}

.wash-b {
  width: 32vw;
  height: 23vw;
  bottom: -11%;
  left: 28%;
  background: var(--sage);
}

.wash-c {
  width: 23vw;
  height: 23vw;
  top: 28%;
  left: -9%;
  background: var(--rose);
}

.hero-copy,
.hero-aside,
.hero-note {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 980px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--ink-3);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--deep);
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.58);
}

.eyebrow.light span {
  color: var(--mist);
}

.hero h1 {
  max-width: 1050px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.5rem, 7.5vw, 7.9rem);
  font-weight: 760;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.hero h1 > span,
.hero h1 > i {
  display: block;
}

.hero h1 i {
  color: #dce2e7;
  font-family: var(--serif);
  font-size: 0.62em;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.hero-deck {
  max-width: 780px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.84rem;
  transition: transform 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: var(--deep);
  background: var(--mist);
  border-color: var(--mist);
}

.button.quiet {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.05);
}

.hero-aside {
  display: grid;
  gap: 22px;
  align-self: center;
}

.edition {
  padding: 26px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--white-line);
  border-radius: 22px;
  backdrop-filter: blur(10px);
}

.edition span {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--display);
  font-size: 0.65rem;
  letter-spacing: 0.17em;
}

.edition strong {
  display: block;
  margin: 12px 0 8px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.7vw, 2.7rem);
  letter-spacing: -0.04em;
}

.edition p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  line-height: 1.7;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--white-line);
  border: 1px solid var(--white-line);
  border-radius: 20px;
}

.hero-stats div {
  padding: 18px;
  background: rgba(52, 66, 85, 0.86);
}

.hero-stats b {
  display: block;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 700;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
}

.hero-note {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  align-items: baseline;
  padding-top: 26px;
  border-top: 1px solid var(--white-line);
}

.hero-note span {
  color: var(--mist);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.hero-note p {
  max-width: 980px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.65;
}

.report-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 13vw) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 72px);
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 4vw;
}

.side-rail {
  position: sticky;
  top: 105px;
  align-self: start;
  max-height: calc(100vh - 128px);
  padding: 70px 0 30px;
  overflow-y: auto;
}

.side-rail > p {
  margin: 0 0 24px;
  color: var(--ink-3);
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.side-rail ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-rail a {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 8px;
  padding: 8px 0;
  color: var(--ink-3);
  font-size: 0.76rem;
  transition: color 160ms ease, transform 160ms ease;
}

.side-rail a span {
  color: var(--mist);
  font-family: var(--display);
  font-size: 0.66rem;
}

.side-rail a:hover,
.side-rail a.active {
  color: var(--deep);
  transform: translateX(3px);
}

.rail-note {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.rail-note span {
  color: var(--ink-3);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.rail-note p {
  margin: 8px 0 0;
  color: var(--ink-3);
  font-size: 0.68rem;
  line-height: 1.65;
}

.report {
  min-width: 0;
}

.section {
  padding: clamp(80px, 9vw, 140px) 0;
  border-bottom: 1px solid var(--line);
}

.section:last-child {
  border-bottom: 0;
}

.section-heading {
  max-width: 1050px;
  margin-bottom: 48px;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
  gap: 48px;
  align-items: end;
}

.section-heading h2 {
  max-width: 920px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--ink-2);
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  line-height: 1.8;
}

.section-heading.split .section-lead {
  margin: 0;
}

.micro-label {
  display: block;
  color: var(--ink-3);
  font-family: var(--display);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.thesis {
  position: relative;
  max-width: 1180px;
  padding: clamp(28px, 5vw, 58px);
  background:
    linear-gradient(120deg, rgba(223, 229, 233, 0.72), rgba(248, 244, 237, 0.6)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.thesis::after {
  position: absolute;
  content: "";
  width: 90px;
  height: 90px;
  right: 28px;
  top: -18px;
  background: rgba(184, 174, 196, 0.22);
  border-radius: 50%;
  filter: blur(6px);
}

.thesis p {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 2.1rem);
  line-height: 1.6;
}

.thesis strong {
  color: var(--deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--rose);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.verdict-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.verdict-grid article {
  min-height: 240px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card-number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--deep);
  background: var(--mist-pale);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 0.68rem;
}

.verdict-grid article:nth-child(2) .card-number { background: var(--sage-pale); }
.verdict-grid article:nth-child(3) .card-number { background: var(--lavender-pale); }
.verdict-grid article:nth-child(4) .card-number { background: var(--rose-pale); }

.verdict-grid h3 {
  margin: 58px 0 10px;
  font-family: var(--display);
  font-size: 1.3rem;
}

.verdict-grid p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.86rem;
  line-height: 1.75;
}

.method-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 42px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.method-panel > div {
  padding: 26px;
  background: rgba(245, 241, 233, 0.96);
}

.evidence {
  display: inline-block;
  padding: 5px 9px;
  color: var(--deep);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.evidence.stable { background: var(--sage-pale); }
.evidence.emerging { background: var(--mist-pale); }
.evidence.frontier { background: var(--lavender-pale); }

.method-panel h3 {
  margin: 22px 0 8px;
  font-family: var(--display);
  font-size: 1.15rem;
}

.method-panel p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.82rem;
  line-height: 1.7;
}

.stack {
  max-width: 1260px;
  display: grid;
  gap: 8px;
}

.stack article {
  display: grid;
  grid-template-columns: 50px minmax(260px, 1fr) minmax(220px, 0.65fr);
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  background: rgba(255, 253, 248, 0.58);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 160ms ease, background 160ms ease;
}

.stack article:hover {
  transform: translateX(5px);
  background: var(--surface-solid);
}

.stack article > span {
  color: var(--ink-3);
  font-family: var(--display);
  font-size: 0.78rem;
}

.stack h3 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 1.08rem;
}

.stack p,
.stack em {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.78rem;
  line-height: 1.55;
}

.stack em {
  color: var(--ink-3);
  font-style: normal;
}

.stack article:nth-child(1) { margin-right: 0; }
.stack article:nth-child(2) { margin-right: 3%; }
.stack article:nth-child(3) { margin-right: 6%; }
.stack article:nth-child(4) { margin-right: 9%; }
.stack article:nth-child(5) { margin-right: 12%; }
.stack article:nth-child(6) { margin-right: 15%; }
.stack article:nth-child(7) { margin-right: 18%; }

.plain-callout {
  max-width: 1080px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 26px;
  margin-top: 30px;
  padding: 26px 28px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.plain-callout span {
  color: var(--rose);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.plain-callout p {
  margin: 0;
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.7;
}

.codex-map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) 70px minmax(0, 1fr);
  gap: 0;
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  background:
    radial-gradient(circle at 10% 10%, rgba(170, 183, 197, 0.18), transparent 36%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.map-core {
  padding: 30px;
  background: rgba(223, 229, 233, 0.58);
  border: 1px solid rgba(52, 66, 85, 0.16);
  border-radius: 20px;
}

.map-core > span {
  color: var(--ink-3);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
}

.map-core h3 {
  margin: 12px 0 5px;
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  letter-spacing: -0.04em;
}

.map-core p {
  margin: 0 0 24px;
  color: var(--ink-2);
}

.map-core small {
  color: var(--ink-3);
  font-size: 0.68rem;
  line-height: 1.7;
}

.map-link {
  height: 1px;
  background: var(--line-strong);
}

.map-side {
  display: grid;
  gap: 12px;
}

.map-side article {
  padding: 18px 20px;
  background: rgba(255, 253, 248, 0.52);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.map-side b {
  font-family: var(--display);
}

.map-side p {
  margin: 5px 0 0;
  color: var(--ink-2);
  font-size: 0.78rem;
  line-height: 1.6;
}

.boundary-table-wrap,
.benchmark-table-wrap {
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(52, 66, 85, 0.05);
}

.boundary-table {
  min-width: 1050px;
}

.boundary-row {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr 1.65fr 1.25fr 1.25fr;
  background: rgba(255, 253, 248, 0.64);
  border-top: 1px solid var(--line);
}

.boundary-row:first-child {
  border-top: 0;
}

.boundary-row > * {
  min-width: 0;
  margin: 0;
  padding: 17px 16px;
  border-left: 1px solid var(--line);
  font-size: 0.76rem;
  line-height: 1.55;
}

.boundary-row > *:first-child {
  border-left: 0;
}

.boundary-row.head {
  color: #f7f4ed;
  background: var(--deep);
}

.boundary-row.head span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.boundary-row b {
  display: block;
  margin-bottom: 5px;
  font-family: var(--display);
  font-size: 0.92rem;
}

.boundary-row small {
  color: var(--ink-3);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
}

.choice-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.choice-cards article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.choice-cards article:nth-child(1) { background: rgba(223, 229, 233, 0.55); }
.choice-cards article:nth-child(2) { background: rgba(225, 230, 223, 0.55); }
.choice-cards article:nth-child(3) { background: rgba(232, 226, 235, 0.55); }

.choice-cards span {
  color: var(--ink-3);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.choice-cards h3 {
  margin: 26px 0 9px;
  font-family: var(--display);
  font-size: 1.22rem;
}

.choice-cards p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.8rem;
  line-height: 1.7;
}

.source-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 30px 0 0;
  color: var(--ink-3);
  font-size: 0.69rem;
}

.source-inline a {
  color: var(--deep);
  border-bottom: 1px solid var(--line-strong);
}

.muted-section {
  position: relative;
}

.muted-section::before {
  position: absolute;
  z-index: -1;
  content: "";
  inset: 30px -4vw;
  background: rgba(230, 227, 220, 0.46);
  border-radius: 28px;
}

.primitive-list {
  display: grid;
  gap: 12px;
}

.primitive {
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.primitive summary {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
}

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

.primitive-no {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--deep);
  background: var(--mist-pale);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 0.7rem;
}

.primitive:nth-child(4n + 2) .primitive-no { background: var(--sage-pale); }
.primitive:nth-child(4n + 3) .primitive-no { background: var(--lavender-pale); }
.primitive:nth-child(4n + 4) .primitive-no { background: var(--rose-pale); }

.primitive summary h3 {
  margin: 0 0 5px;
  font-family: var(--display);
  font-size: 1.25rem;
}

.primitive summary p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.8rem;
  line-height: 1.55;
}

.primitive summary i {
  color: var(--ink-3);
  font-size: 0.66rem;
  font-style: normal;
}

.primitive[open] summary i {
  font-size: 0;
}

.primitive[open] summary i::after {
  content: "收起";
  font-size: 0.66rem;
}

.primitive-body {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.primitive-body > div {
  padding: 24px;
  background: rgba(247, 244, 237, 0.96);
}

.primitive-body h4 {
  margin: 0 0 13px;
  color: var(--deep);
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.primitive-body p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.76rem;
  line-height: 1.72;
}

.primitive-body b {
  color: var(--deep);
}

.primitive-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.primitive-sources a {
  padding: 8px 12px;
  color: var(--ink-2);
  background: rgba(255, 253, 248, 0.58);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.66rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-chip {
  padding: 9px 14px;
  color: var(--ink-2);
  background: rgba(255, 253, 248, 0.55);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  cursor: pointer;
}

.filter-chip:hover,
.filter-chip.active {
  color: #f8f5ef;
  background: var(--deep);
  border-color: var(--deep);
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.framework-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.framework-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.framework-card[hidden] {
  display: none;
}

.framework-card.featured {
  background:
    linear-gradient(145deg, rgba(223, 229, 233, 0.78), rgba(255, 253, 248, 0.68));
  border-color: rgba(52, 66, 85, 0.24);
}

.framework-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-3);
  font-size: 0.57rem;
  letter-spacing: 0.09em;
}

.framework-meta b {
  font-weight: 600;
}

.framework-card h3 {
  margin: 52px 0 9px;
  font-family: var(--display);
  font-size: 1.45rem;
}

.framework-card > p {
  min-height: 70px;
  margin: 0;
  color: var(--ink-2);
  font-size: 0.8rem;
  line-height: 1.7;
}

.framework-card dl {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
}

.framework-card dl div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 9px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.framework-card dt,
.framework-card dd {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.5;
}

.framework-card dt {
  color: var(--ink-3);
}

.framework-card dd {
  color: var(--ink-2);
}

.frontier-section {
  position: relative;
}

.frontier-list {
  display: grid;
  gap: 30px;
}

.frontier-card {
  overflow: hidden;
  background: rgba(255, 253, 248, 0.64);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 45px rgba(52, 66, 85, 0.045);
}

.frontier-card > header {
  display: grid;
  grid-template-columns: 56px minmax(250px, 0.85fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 28px 30px;
}

.route-number {
  color: var(--mist);
  font-family: var(--display);
  font-size: 1.35rem;
}

.frontier-card header h3 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  line-height: 1.15;
}

.frontier-card header > p {
  margin: 0;
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.65;
}

.frontier-evidence {
  display: grid;
  grid-template-columns: minmax(140px, 0.26fr) 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px 30px;
  background: rgba(223, 229, 233, 0.42);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.frontier-card:nth-child(2) .frontier-evidence,
.frontier-card:nth-child(5) .frontier-evidence { background: rgba(225, 230, 223, 0.44); }
.frontier-card:nth-child(4) .frontier-evidence,
.frontier-card:nth-child(7) .frontier-evidence { background: rgba(232, 226, 235, 0.44); }
.frontier-card:nth-child(6) .frontier-evidence { background: rgba(238, 224, 221, 0.4); }

.frontier-evidence b {
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.2vw, 3rem);
  letter-spacing: -0.04em;
}

.frontier-evidence p {
  max-width: 850px;
  margin: 0;
  color: var(--ink-2);
  font-size: 0.78rem;
  line-height: 1.65;
}

.frontier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.frontier-grid > div {
  padding: 25px;
  background: rgba(250, 247, 240, 0.96);
}

.frontier-grid h4 {
  margin: 0 0 14px;
  color: var(--deep);
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.frontier-grid p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.76rem;
  line-height: 1.74;
}

.frontier-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
}

.frontier-card footer a {
  padding: 6px 9px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.63rem;
}

.frontier-card footer a:hover {
  color: var(--deep);
  border-color: var(--line-strong);
}

.blueprint {
  padding: clamp(22px, 4vw, 44px);
  background:
    radial-gradient(circle at 80% 10%, rgba(184, 174, 196, 0.13), transparent 30%),
    rgba(255, 253, 248, 0.58);
  border: 1px solid var(--line);
  border-radius: 26px;
}

.blueprint-row {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr;
  gap: 12px;
  align-items: center;
}

.blueprint-row + .blueprint-row {
  margin-top: 16px;
}

.blueprint-row article {
  min-height: 150px;
  padding: 22px;
  background: rgba(255, 253, 248, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.blueprint-row article.agent-zone {
  background: rgba(223, 229, 233, 0.72);
  border-color: rgba(52, 66, 85, 0.24);
}

.blueprint-row article > span {
  color: var(--ink-3);
  font-family: var(--display);
  font-size: 0.64rem;
}

.blueprint-row h3 {
  margin: 30px 0 8px;
  font-family: var(--display);
  font-size: 1.15rem;
}

.blueprint-row p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.74rem;
  line-height: 1.55;
}

.blueprint-row > i {
  color: var(--mist);
  font-size: 1.2rem;
  font-style: normal;
  text-align: center;
}

.blueprint-foundation {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.blueprint-foundation span {
  padding: 13px 10px;
  color: var(--ink-2);
  background: rgba(225, 230, 223, 0.72);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-align: center;
}

.contract-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.contract-grid article {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contract-grid h3 {
  margin: 30px 0 18px;
  font-family: var(--display);
  font-size: 1.25rem;
}

.contract-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contract-grid li {
  position: relative;
  padding-left: 15px;
  color: var(--ink-2);
  font-size: 0.76rem;
  line-height: 1.55;
}

.contract-grid li::before {
  position: absolute;
  content: "";
  width: 5px;
  height: 5px;
  left: 0;
  top: 0.58em;
  background: var(--mist);
  border-radius: 50%;
}

.anti-patterns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 36px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.anti-patterns > div {
  padding: 21px;
  background: rgba(238, 224, 221, 0.42);
}

.anti-patterns span {
  color: var(--rose);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.anti-patterns p {
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 0.76rem;
  line-height: 1.65;
}

.eval-alert {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 25px 28px;
  background: rgba(238, 224, 221, 0.56);
  border: 1px solid rgba(195, 156, 152, 0.34);
  border-radius: var(--radius);
}

.eval-alert > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--deep);
  background: rgba(195, 156, 152, 0.38);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.3rem;
}

.eval-alert h3 {
  margin: 0 0 7px;
  font-family: var(--display);
  font-size: 1.15rem;
}

.eval-alert p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.78rem;
  line-height: 1.65;
}

.eval-alert a {
  white-space: nowrap;
  font-size: 0.7rem;
  border-bottom: 1px solid var(--line-strong);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.metric-grid article {
  min-height: 170px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.metric-grid article > span {
  color: var(--mist);
  font-family: var(--display);
  font-size: 1.2rem;
}

.metric-grid h3 {
  margin: 43px 0 6px;
  font-family: var(--display);
  font-size: 0.98rem;
}

.metric-grid p {
  margin: 0;
  color: var(--ink-3);
  font-size: 0.68rem;
  line-height: 1.55;
}

.benchmark-table {
  min-width: 930px;
}

.benchmark-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr 1.3fr;
  background: rgba(255, 253, 248, 0.64);
  border-top: 1px solid var(--line);
}

.benchmark-row:first-child {
  border-top: 0;
}

.benchmark-row > * {
  margin: 0;
  padding: 16px;
  border-left: 1px solid var(--line);
  font-size: 0.74rem;
  line-height: 1.55;
}

.benchmark-row > *:first-child {
  border-left: 0;
}

.benchmark-row.head {
  color: #f7f4ed;
  background: var(--deep);
}

.benchmark-row.head span {
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}

a.benchmark-row:hover {
  background: rgba(223, 229, 233, 0.48);
}

.benchmark-row b {
  font-family: var(--display);
  font-size: 0.9rem;
}

.eval-method {
  display: grid;
  grid-template-columns: minmax(230px, 0.5fr) minmax(0, 1.1fr);
  gap: 36px;
  margin-top: 34px;
  padding: clamp(26px, 4vw, 44px);
  color: #f7f4ed;
  background: var(--deep);
  border-radius: 24px;
}

.eval-method h3 {
  margin: 24px 0 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
}

.eval-method .micro-label {
  color: rgba(255, 255, 255, 0.48);
}

.eval-method ol {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--white-line);
  border: 1px solid var(--white-line);
  border-radius: 12px;
  overflow: hidden;
  list-style: none;
}

.eval-method li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  padding: 14px;
  background: rgba(52, 66, 85, 0.98);
  font-size: 0.72rem;
}

.eval-method li span {
  color: var(--mist);
  font-family: var(--display);
  font-size: 0.62rem;
}

.eval-method > p {
  grid-column: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  line-height: 1.65;
}

.failure-taxonomy {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.failure-taxonomy > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: rgba(255, 253, 248, 0.56);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.failure-taxonomy span {
  color: var(--rose);
  font-family: var(--display);
  font-size: 0.67rem;
}

.failure-taxonomy p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.7rem;
  line-height: 1.5;
}

.decision-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.decision-row {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr 1.25fr;
  background: rgba(255, 253, 248, 0.62);
  border-top: 1px solid var(--line);
}

.decision-row:first-child {
  border-top: 0;
}

.decision-row > * {
  margin: 0;
  padding: 20px;
  border-left: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.78rem;
  line-height: 1.65;
}

.decision-row > *:first-child {
  border-left: 0;
}

.decision-row.head {
  color: #f7f4ed;
  background: var(--deep);
}

.decision-row.head span {
  color: inherit;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.decision-row div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 9px;
  align-items: center;
}

.decision-row div b {
  color: var(--mist);
  font-family: var(--display);
}

.decision-row h3 {
  margin: 0;
  color: var(--deep);
  font-family: var(--display);
  font-size: 1rem;
}

.timeline-heading {
  margin: 64px 0 24px;
}

.timeline-heading h3 {
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 3.4rem);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.timeline article {
  min-height: 290px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline article > span {
  color: var(--ink-3);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.timeline article > b {
  display: block;
  margin-top: 28px;
  color: var(--mist);
  font-family: var(--display);
  font-size: 2rem;
}

.timeline h3 {
  margin: 30px 0 18px;
  font-family: var(--display);
  font-size: 1.14rem;
}

.timeline ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 17px;
  color: var(--ink-2);
  font-size: 0.74rem;
  line-height: 1.55;
}

.final-thesis {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  margin-top: 34px;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(120deg, rgba(223, 229, 233, 0.62), rgba(232, 226, 235, 0.44));
  border: 1px solid var(--line);
  border-radius: 24px;
}

.final-thesis span {
  color: var(--ink-3);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.final-thesis p {
  max-width: 1000px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.6;
}

.source-groups {
  display: grid;
  gap: 10px;
}

.source-groups details {
  background: rgba(255, 253, 248, 0.56);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.source-groups summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1rem;
}

.source-groups summary span {
  color: var(--ink-3);
  font-size: 0.7rem;
}

.source-groups details > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.source-groups a {
  padding: 13px 16px;
  color: var(--ink-2);
  background: rgba(250, 247, 240, 0.96);
  font-size: 0.72rem;
  line-height: 1.5;
}

.source-groups a:hover {
  color: var(--deep);
  background: var(--mist-pale);
}

.source-note {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.source-note p {
  margin: 0;
  color: var(--ink-3);
  font-size: 0.68rem;
  line-height: 1.6;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  min-height: 140px;
  padding: 30px 4vw;
  color: rgba(255, 255, 255, 0.62);
  background: var(--deep);
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer > div span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--deep);
  background: var(--mist);
  border-radius: 12px;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 800;
}

.site-footer p {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.site-footer > a {
  justify-self: end;
  font-size: 0.74rem;
}

@media (max-width: 1320px) {
  .verdict-grid,
  .frontier-grid,
  .anti-patterns,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .frontier-card > header {
    grid-template-columns: 48px minmax(240px, 0.9fr) minmax(260px, 1fr);
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .top-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-menu.open {
    display: flex;
  }

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

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

  .report-shell {
    display: block;
    max-width: 1320px;
    padding: 0 5vw;
  }

  .side-rail {
    display: none;
  }

  .section-heading.split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .primitive-body,
  .frontier-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .frontier-card > header {
    grid-template-columns: 48px 1fr;
  }

  .frontier-card header > p {
    grid-column: 2;
  }

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

  .blueprint-row {
    grid-template-columns: 1fr;
  }

  .blueprint-row > i {
    transform: rotate(90deg);
  }

  .blueprint-row.reverse > i {
    transform: rotate(-90deg);
  }

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

  .eval-method {
    grid-template-columns: 1fr;
  }

  .eval-method > p {
    grid-column: auto;
  }

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

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
    padding: 0 18px;
  }

  .wordmark-mark {
    width: 38px;
    height: 38px;
  }

  .wordmark-copy small,
  .as-of {
    display: none;
  }

  .mobile-menu {
    inset: 64px 0 0;
  }

  .hero {
    min-height: calc(100svh - 64px);
    padding: 70px 22px 30px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.35rem);
  }

  .hero h1 > span {
    white-space: nowrap;
  }

  .hero h1 i {
    margin-top: 10px;
    font-size: 0.78em;
    line-height: 1.25;
  }

  .hero-deck {
    line-height: 1.7;
  }

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

  .edition {
    display: none;
  }

  .hero-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .report-shell {
    padding: 0 20px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .verdict-grid,
  .method-panel,
  .choice-cards,
  .framework-grid,
  .primitive-body,
  .frontier-grid,
  .anti-patterns,
  .metric-grid,
  .failure-taxonomy,
  .timeline {
    grid-template-columns: 1fr;
  }

  .verdict-grid article {
    min-height: 200px;
  }

  .method-panel {
    gap: 1px;
  }

  .stack article {
    grid-template-columns: 38px 1fr;
  }

  .stack article em {
    grid-column: 2;
  }

  .stack article:nth-child(n) {
    margin-right: 0;
  }

  .plain-callout {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-inline: 0;
  }

  .codex-map {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .map-link {
    width: 1px;
    height: 30px;
    justify-self: center;
  }

  .primitive summary {
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 18px;
  }

  .primitive summary i {
    display: none;
  }

  .primitive-body > div,
  .frontier-grid > div {
    padding: 20px;
  }

  .frontier-card > header {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }

  .frontier-card header > p {
    grid-column: auto;
  }

  .frontier-evidence {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 22px;
  }

  .blueprint {
    padding: 16px;
  }

  .blueprint-foundation {
    grid-template-columns: 1fr;
  }

  .eval-alert {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 20px;
  }

  .eval-alert > span {
    width: 40px;
    height: 40px;
  }

  .eval-alert a {
    grid-column: 2;
    justify-self: start;
  }

  .eval-method {
    padding: 24px;
  }

  .eval-method ol {
    grid-template-columns: 1fr;
  }

  .decision-table {
    border: 0;
    overflow: visible;
  }

  .decision-row {
    grid-template-columns: 1fr;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
  }

  .decision-row.head {
    display: none;
  }

  .decision-row > * {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .decision-row > *:first-child {
    border-top: 0;
  }

  .final-thesis {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .source-groups details > div {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer > div {
    justify-content: center;
  }

  .site-footer > a {
    justify-self: center;
  }
}

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

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

/* Editorial reset — restrained report layout */
:root {
  --paper: #faf8f3;
  --paper-2: #f3f0e9;
  --paper-3: #ebe8e0;
  --surface: rgba(255, 255, 255, 0.62);
  --surface-solid: #fffdf9;
  --ink: #283447;
  --ink-2: #526072;
  --ink-3: #7a8390;
  --deep: #2e3b4e;
  --deep-2: #3b495c;
  --mist: #94a7b8;
  --mist-pale: #e8edf0;
  --sage: #a1aba0;
  --sage-pale: #e9ece7;
  --lavender: #aaa1b3;
  --lavender-pale: #ece8ee;
  --rose: #b58f8c;
  --rose-pale: #f0e7e4;
  --sand: #b6a37f;
  --sand-pale: #eee9dc;
  --line: rgba(40, 52, 71, 0.13);
  --line-strong: rgba(40, 52, 71, 0.23);
  --shadow: none;
  --radius: 10px;
  --display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Iowan Old Style", "Baskerville", "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
}

body {
  background:
    radial-gradient(circle at 92% 0%, rgba(148, 167, 184, 0.08), transparent 26rem),
    var(--paper);
}

.site-header {
  min-height: 66px;
  grid-template-columns: minmax(230px, 1fr) auto minmax(140px, 1fr);
  color: var(--ink);
  background: rgba(250, 248, 243, 0.94);
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(40, 52, 71, 0.04);
}

.wordmark-mark {
  width: 38px;
  height: 38px;
  color: #f9f7f1;
  background: var(--deep);
  border-radius: 6px;
  font-size: 0.68rem;
}

.wordmark-copy b {
  color: var(--ink);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
}

.wordmark-copy small {
  color: var(--ink-3);
}

.top-nav {
  height: 66px;
}

.top-nav a {
  color: var(--ink-3);
  font-size: 0.76rem;
}

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

.top-nav a::after {
  background: var(--deep);
}

.as-of {
  color: var(--ink-3);
}

.menu-button {
  color: var(--ink);
  border-color: var(--line-strong);
}

.mobile-menu {
  inset: 66px 0 0;
  color: var(--ink);
  background: rgba(250, 248, 243, 0.98);
}

.mobile-menu a {
  border-color: var(--line);
}

.hero {
  min-height: 620px;
  grid-template-columns: minmax(0, 1fr) 270px;
  grid-template-rows: 1fr auto;
  gap: 48px 72px;
  align-items: center;
  padding: 76px max(6vw, calc((100vw - 1320px) / 2)) 36px;
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  opacity: 0.36;
  background-image: linear-gradient(90deg, transparent 49.9%, rgba(40, 52, 71, 0.05) 50%, transparent 50.1%);
  background-size: 25% 100%;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.watercolor {
  filter: blur(54px);
  opacity: 0.11;
}

.wash-a {
  width: 34vw;
  height: 22vw;
  top: -8%;
  right: -5%;
  background: var(--lavender);
}

.wash-b {
  width: 27vw;
  height: 17vw;
  bottom: -6%;
  left: 44%;
  background: var(--sage);
}

.wash-c {
  display: none;
}

.hero-copy {
  max-width: 900px;
}

.eyebrow.light {
  color: var(--ink-3);
}

.eyebrow.light span {
  color: var(--deep);
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(3.7rem, 5.2vw, 5.2rem);
  font-weight: 680;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero h1 i {
  margin-top: 18px;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 0.42em;
  font-weight: 420;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.hero-deck {
  max-width: 700px;
  margin-top: 32px;
  color: var(--ink-2);
  font-size: 1.04rem;
  line-height: 1.9;
}

.button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
}

.button.primary {
  color: #f9f7f1;
  background: var(--deep);
  border-color: var(--deep);
}

.button.quiet {
  color: var(--ink-2);
  background: transparent;
  border-color: var(--line-strong);
}

.hero-aside {
  gap: 28px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.edition {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
}

.edition span,
.edition p {
  color: var(--ink-3);
}

.edition strong {
  margin: 10px 0 8px;
  color: var(--ink);
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.hero-stats div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  align-items: baseline;
  padding: 9px 0;
  background: transparent;
  border-top: 1px solid var(--line);
}

.hero-stats b {
  color: var(--ink);
  font-size: 1rem;
}

.hero-stats span {
  color: var(--ink-3);
  font-size: 0.7rem;
}

.hero-note {
  grid-template-columns: 90px minmax(0, 1fr);
  padding-top: 22px;
  border-color: var(--line);
}

.hero-note span {
  color: var(--ink-3);
}

.hero-note p {
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 0.94rem;
  line-height: 1.7;
}

.report-shell {
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 60px;
  max-width: 1430px;
  padding: 0 40px;
}

.side-rail {
  top: 90px;
  padding-top: 86px;
}

.side-rail a {
  padding: 7px 0;
  font-size: 0.72rem;
}

.section {
  padding: 104px 0;
}

.section-heading {
  max-width: 940px;
  margin-bottom: 42px;
}

.section-heading.split {
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.58fr);
  gap: 56px;
}

.section-heading h2 {
  max-width: 900px;
  font-size: clamp(2.35rem, 3.4vw, 3.35rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.section-lead {
  max-width: 760px;
  font-size: 0.98rem;
  line-height: 1.85;
}

.thesis {
  max-width: 1040px;
  padding: 34px 0 34px 30px;
  background: transparent;
  border: 0;
  border-left: 3px solid var(--mist);
  border-radius: 0;
}

.thesis::after {
  display: none;
}

.thesis p {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: clamp(1.12rem, 1.7vw, 1.48rem);
  line-height: 1.75;
}

.thesis strong {
  text-decoration: none;
}

.verdict-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.verdict-grid article {
  min-height: 170px;
  padding: 28px 28px 28px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.verdict-grid article:nth-child(odd) {
  padding-right: 44px;
  border-right: 1px solid var(--line);
}

.verdict-grid article:nth-child(even) {
  padding-left: 44px;
}

.card-number {
  width: auto;
  height: auto;
  place-items: start;
  color: var(--ink-3);
  background: transparent !important;
  border-radius: 0;
}

.verdict-grid h3 {
  margin: 28px 0 9px;
  font-size: 1.08rem;
}

.method-panel {
  gap: 0;
  margin-top: 42px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.method-panel > div {
  padding: 26px 28px;
  background: transparent;
  border-left: 1px solid var(--line);
}

.method-panel > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.method-panel > div:last-child {
  padding-right: 0;
}

.stack {
  gap: 0;
}

.stack article {
  padding: 17px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.stack article:last-child {
  border-bottom: 1px solid var(--line);
}

.stack article:hover {
  background: transparent;
  transform: none;
}

.plain-callout {
  max-width: 980px;
}

.codex-map {
  padding: 34px;
  background: var(--surface);
  border-radius: var(--radius);
}

.map-core {
  padding: 26px;
  background: var(--mist-pale);
  border-radius: 6px;
}

.map-core h3 {
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.map-side article {
  padding: 16px 18px;
  background: transparent;
  border-radius: 6px;
}

.boundary-table-wrap,
.benchmark-table-wrap {
  border-radius: 6px;
  box-shadow: none;
}

.choice-cards {
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.choice-cards article {
  padding: 28px;
  background: transparent !important;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
}

.choice-cards article:first-child {
  padding-left: 0;
  border-left: 0;
}

.choice-cards article:last-child {
  padding-right: 0;
}

.choice-cards h3 {
  margin-top: 22px;
  font-size: 1.05rem;
}

.muted-section::before {
  display: none;
}

.primitive-list {
  gap: 0;
  border-top: 1px solid var(--line);
}

.primitive {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.primitive summary {
  padding: 20px 0;
}

.primitive-no {
  width: 36px;
  height: 36px;
  background: transparent !important;
  border: 1px solid var(--line-strong);
}

.primitive summary h3 {
  font-size: 1.08rem;
}

.primitive-body {
  border-top: 1px solid var(--line);
}

.primitive-body > div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.38);
}

.filter-chip {
  border-radius: 5px;
}

.framework-grid {
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.framework-card {
  min-height: 280px;
  padding: 24px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.framework-card:hover {
  transform: none;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.34);
}

.framework-card.featured {
  background: var(--mist-pale);
}

.framework-card h3 {
  margin-top: 42px;
  font-size: 1.25rem;
}

.frontier-list {
  gap: 22px;
}

.frontier-card {
  background: rgba(255, 255, 255, 0.46);
  border-radius: 8px;
  box-shadow: none;
}

.frontier-card > header {
  grid-template-columns: 44px minmax(250px, 0.9fr) minmax(280px, 1fr);
  gap: 20px;
  padding: 26px;
}

.frontier-card header h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
}

.frontier-card header > p {
  font-family: var(--sans);
  font-size: 0.9rem;
}

.frontier-evidence {
  padding: 16px 26px;
}

.frontier-evidence b {
  font-size: clamp(1.6rem, 2.3vw, 2.25rem);
}

.frontier-grid > div {
  padding: 22px;
}

.blueprint {
  padding: 34px;
  background: transparent;
  border-radius: 8px;
}

.blueprint-row article {
  min-height: 135px;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 6px;
}

.blueprint-row article.agent-zone {
  background: var(--mist-pale);
}

.contract-grid article {
  background: transparent;
  border-radius: 6px;
}

.anti-patterns {
  border-radius: 6px;
}

.anti-patterns > div {
  background: rgba(240, 231, 228, 0.38);
}

.eval-alert {
  background: rgba(240, 231, 228, 0.5);
  border-radius: 6px;
}

.metric-grid article {
  min-height: 150px;
  background: transparent;
  border-radius: 6px;
}

.eval-method {
  background: var(--deep);
  border-radius: 8px;
}

.decision-table {
  border-radius: 6px;
}

.timeline {
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.timeline article {
  min-height: 270px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.final-thesis {
  background: var(--mist-pale);
  border-radius: 8px;
}

.final-thesis p {
  font-family: var(--sans);
  font-size: clamp(1.08rem, 1.6vw, 1.4rem);
}

.source-groups details {
  background: transparent;
  border-radius: 6px;
}

.source-groups a {
  background: rgba(255, 255, 255, 0.42);
}

.site-footer {
  min-height: 120px;
  background: var(--deep);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .top-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-menu.open {
    display: flex;
  }

  .report-shell {
    display: block;
    max-width: 1120px;
    padding: 0 42px;
  }

  .side-rail {
    display: none;
  }

  .hero {
    padding-inline: 42px;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 42px;
    padding: 72px 24px 32px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12vw, 4.3rem);
  }

  .hero h1 > span {
    white-space: normal;
  }

  .hero h1 i {
    margin-top: 13px;
    font-size: 0.43em;
    letter-spacing: 0.02em;
  }

  .hero-deck {
    margin-top: 26px;
    font-size: 0.95rem;
  }

  .hero-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .edition {
    display: block;
  }

  .hero-note {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .report-shell {
    padding: 0 24px;
  }

  .section {
    padding: 76px 0;
  }

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

  .section-heading h2 {
    font-size: clamp(2rem, 9vw, 2.9rem);
    line-height: 1.16;
  }

  .thesis {
    padding: 24px 0 24px 20px;
  }

  .method-panel,
  .choice-cards,
  .framework-grid,
  .primitive-body,
  .frontier-grid,
  .contract-grid,
  .metric-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .method-panel > div,
  .choice-cards article {
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .method-panel > div:first-child,
  .choice-cards article:first-child {
    border-top: 0;
  }

  .framework-grid,
  .timeline {
    border-left: 0;
  }

  .framework-card,
  .timeline article {
    border-left: 1px solid var(--line);
  }

  .frontier-card > header {
    grid-template-columns: 40px 1fr;
  }

  .frontier-card header > p {
    grid-column: 2;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 62px;
    padding: 0 16px;
  }

  .wordmark-copy small {
    display: none;
  }

  .mobile-menu {
    inset: 62px 0 0;
  }

  .hero {
    padding: 58px 20px 28px;
  }

  .hero h1 {
    font-size: 2.65rem;
    line-height: 1.08;
  }

  .hero h1 i {
    font-size: 0.42em;
    line-height: 1.5;
  }

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

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
  }

  .report-shell {
    padding: 0 20px;
  }

  .section-heading h2 {
    font-size: 2.2rem;
  }

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

  .verdict-grid article:nth-child(n) {
    padding: 24px 0;
    border-right: 0;
  }

  .codex-map {
    padding: 16px;
  }

  .primitive summary {
    grid-template-columns: 40px 1fr;
    padding: 18px 0;
  }

  .frontier-card > header {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .frontier-card header > p {
    grid-column: auto;
  }
}
