/* =========================================================================
   LANG-LANDS UNIVERSE — visual system
   Deep-space editorial: serif Chinese, technical mono, thin gold instruments.
   ========================================================================= */
:root {
  --ink: #03050c;
  --ink-2: #060b15;
  --ink-3: #0a1220;
  --paper: #ece5d6;
  --paper-2: #cfc7b6;
  --muted: #7f8898;
  --muted-2: #596273;
  --gold: #d7b476;
  --gold-hi: #f3d79d;
  --gold-dim: #8d7448;
  --cyan: #75e2da;
  --violet: #a494ff;
  --rose: #ef8ab7;
  --green: #86d5a1;
  --line: rgba(215, 180, 118, .17);
  --line-strong: rgba(215, 180, 118, .34);
  --line-cool: rgba(117, 226, 218, .16);
  --glass: rgba(6, 11, 21, .78);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  --math: "Cambria Math", "STIX Two Math", "Times New Roman", serif;
  --pad: clamp(22px, 6vw, 96px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 68% 32%, rgba(44, 62, 104, .14), transparent 70%),
    radial-gradient(ellipse 45% 55% at 22% 74%, rgba(91, 57, 102, .10), transparent 70%),
    linear-gradient(180deg, #03050c 0%, #040711 48%, #03050c 100%);
  z-index: 0;
  pointer-events: none;
}
::selection { background: rgba(215, 180, 118, .28); color: #fff8e8; }
a { color: var(--gold-hi); text-decoration: none; }
a:hover { color: #fff; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
strong { color: var(--paper); font-weight: 600; }
em { color: var(--gold-hi); font-style: italic; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
sup, sub { line-height: 0; }

.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; left: 16px; top: -80px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 10px 18px;
  font-family: var(--mono); font-size: 12px; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* -------------------------------------------------------------------------
   Universe layer
   ------------------------------------------------------------------------- */
.cosmos {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
#space {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.cosmos .glow-a,
.cosmos .glow-b {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .28;
  mix-blend-mode: screen;
}
.cosmos .glow-a {
  left: -22vmax; top: -22vmax;
  background: radial-gradient(circle, rgba(41, 95, 130, .26), transparent 62%);
  animation: drift-a 34s ease-in-out infinite alternate;
}
.cosmos .glow-b {
  right: -25vmax; bottom: -28vmax;
  background: radial-gradient(circle, rgba(109, 67, 128, .22), transparent 64%);
  animation: drift-b 42s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate3d(8vmax, 6vmax, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-7vmax, -8vmax, 0) scale(1.1); } }

.grid-overlay {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background-image:
    linear-gradient(rgba(160, 185, 205, .030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 185, 205, .030) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 30%, transparent 100%);
  opacity: .7;
}
.grid-overlay::before,
.grid-overlay::after {
  content: ""; position: absolute; background: rgba(215, 180, 118, .22);
}
.grid-overlay::before { left: 50%; top: 0; bottom: 0; width: 1px; opacity: .25; }
.grid-overlay::after { top: 50%; left: 0; right: 0; height: 1px; opacity: .18; }

.scanlines {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0, transparent 3px, rgba(255,255,255,.012) 4px);
  mix-blend-mode: overlay; opacity: .5;
}
.vignette {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(ellipse 78% 70% at 50% 45%, transparent 45%, rgba(0,0,0,.42) 100%);
}
.grain {
  position: fixed; inset: -100%; z-index: 4; pointer-events: none;
  opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  animation: grain 6s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-2%,1%); }
  40% { transform: translate(1%,-2%); }
  60% { transform: translate(-1%,2%); }
  80% { transform: translate(2%,1%); }
}

#node-layer {
  position: fixed; inset: 0; z-index: 7; pointer-events: none;
  transition: opacity .5s var(--ease);
}
.space-node {
  position: absolute; left: 0; top: 0;
  transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), 0) scale(var(--s, 1));
  transform-origin: 50% 50%;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 9px 7px 7px;
  background: rgba(4, 8, 16, .56);
  border: 1px solid rgba(215, 180, 118, .16);
  border-radius: 999px;
  color: var(--paper-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(8px);
  transition: border-color .25s, background .25s, color .25s, opacity .35s;
  opacity: 0;
}
.space-node .dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 9px var(--gold);
  flex: none;
}
.space-node .zh { font-family: var(--sans); font-size: 11px; letter-spacing: .05em; text-transform: none; color: var(--paper); }
.space-node .en { color: var(--muted); font-size: 8px; }
.space-node:hover, .space-node:focus-visible {
  background: rgba(10, 17, 30, .92);
  border-color: var(--gold);
  color: #fff;
  outline: none;
}
.space-node.is-active { border-color: var(--gold); background: rgba(215, 180, 118, .12); }
.space-node.is-visible { opacity: .9; }
.space-node.is-hidden { opacity: 0; pointer-events: none; }
.space-node::after {
  content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 14px;
  background: linear-gradient(180deg, var(--gold-dim), transparent); opacity: .45;
}
#node-layer.hidden { opacity: 0; pointer-events: none; }
/* In reading mode the labels collapse to quiet star dots; hover / focus reveals them. */
body:not(.explore-mode) .space-node {
  width: 22px; height: 22px; padding: 0; gap: 0; border-color: transparent;
  background: transparent; backdrop-filter: none;
}
body:not(.explore-mode) .space-node .zh,
body:not(.explore-mode) .space-node .en { display: none; }
body:not(.explore-mode) .space-node .dot { width: 5px; height: 5px; opacity: .78; }
body:not(.explore-mode) .space-node::after { display: none; }
body:not(.explore-mode) .space-node:hover,
body:not(.explore-mode) .space-node:focus-visible {
  width: auto; height: auto; padding: 7px 9px 7px 7px; gap: 8px;
  border-color: var(--gold); background: rgba(10, 17, 30, .94); backdrop-filter: blur(8px);
}
body:not(.explore-mode) .space-node:hover .zh,
body:not(.explore-mode) .space-node:hover .en,
body:not(.explore-mode) .space-node:focus-visible .zh,
body:not(.explore-mode) .space-node:focus-visible .en { display: inline; }

/* -------------------------------------------------------------------------
   Top bar
   ------------------------------------------------------------------------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: 76px;
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--pad);
  background: linear-gradient(180deg, rgba(3, 5, 12, .92), rgba(3, 5, 12, .34) 70%, transparent);
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s;
}
.topbar.is-scrolled {
  background: rgba(3, 5, 12, .84);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(215, 180, 118, .13);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--paper); flex: none; }
.brand-mark {
  width: 34px; height: 34px; position: relative; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%;
}
.brand-mark::before {
  content: ""; position: absolute; inset: 5px; border: 1px solid rgba(117, 226, 218, .3);
  border-radius: 50%; transform: rotate(-28deg) scaleY(.42);
}
.brand-mark span { font-family: var(--serif); font-size: 19px; color: var(--gold-hi); transform: translateY(-1px); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-family: var(--serif); font-weight: 400; font-size: 16px; letter-spacing: .14em; }
.brand-text small { font-family: var(--mono); font-size: 7px; letter-spacing: .22em; color: var(--muted); margin-top: 3px; }
.topnav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.topnav a {
  font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); position: relative; padding: 6px 0;
}
.topnav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width .3s var(--ease);
}
.topnav a:hover, .topnav a.is-active { color: var(--paper); }
.topnav a:hover::after, .topnav a.is-active::after { width: 100%; }
.top-actions { display: flex; align-items: center; gap: 10px; margin-left: 6px; }
.icon-btn {
  width: 40px; height: 40px; border: 1px solid rgba(215, 180, 118, .22);
  background: rgba(6, 11, 21, .45); display: grid; place-items: center;
  cursor: pointer; color: var(--paper-2); transition: border-color .25s, background .25s, color .25s;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold-hi); background: rgba(215, 180, 118, .08); }
.icon-btn svg { width: 16px; height: 16px; }
.nav-toggle { display: none; }

/* -------------------------------------------------------------------------
   Chapter rail
   ------------------------------------------------------------------------- */
.rail {
  position: fixed; left: 26px; top: 50%; transform: translateY(-50%);
  z-index: 55; display: flex; flex-direction: column; gap: 0;
}
.rail a {
  display: flex; align-items: center; gap: 10px; height: 34px;
  color: var(--muted-2); font-family: var(--mono); font-size: 8px; letter-spacing: .12em;
}
.rail .bar { width: 14px; height: 1px; background: currentColor; transition: width .3s, background .3s; }
.rail .idx { opacity: 0; transform: translateX(-5px); transition: .3s; }
.rail a:hover, .rail a.is-active { color: var(--gold); }
.rail a:hover .bar, .rail a.is-active .bar { width: 26px; }
.rail a:hover .idx, .rail a.is-active .idx { opacity: 1; transform: none; }
.rail a.is-active .bar { background: var(--gold); box-shadow: 0 0 8px rgba(215,180,118,.5); }

/* -------------------------------------------------------------------------
   HUD
   ------------------------------------------------------------------------- */
.hud {
  position: fixed; z-index: 45; font-family: var(--mono); font-size: 8px;
  letter-spacing: .16em; color: var(--muted-2); pointer-events: none;
  display: flex; gap: 18px; align-items: center;
}
.hud-bottom-left { left: var(--pad); bottom: 20px; }
.hud-bottom-right { right: var(--pad); bottom: 20px; text-align: right; }
.hud .live { color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.hud .live::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 6px var(--green); animation: pulse 2.4s infinite;
}
.hud .sep { width: 1px; height: 10px; background: rgba(215,180,118,.2); }
.hud b { font-weight: 400; color: var(--paper-2); }
@keyframes pulse { 50% { opacity: .25; } }
.hud-mobile { display: none; }

/* -------------------------------------------------------------------------
   Shared chapter layout
   ------------------------------------------------------------------------- */
main { position: relative; z-index: 5; }
.chapter {
  position: relative;
  padding: clamp(110px, 14vh, 170px) var(--pad) clamp(90px, 12vh, 150px);
  min-height: 100vh;
}
.chapter:not(.hero) {
  background:
    radial-gradient(ellipse 78% 58% at 54% 36%, rgba(3, 5, 12, .46), rgba(3, 5, 12, .80) 82%),
    linear-gradient(180deg, rgba(3, 5, 12, .52), rgba(3, 5, 12, .72));
}
.chapter-inner { width: 100%; max-width: var(--max); margin: 0 auto; position: relative; }
.chapter-head {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .7fr);
  gap: 48px; align-items: end; margin-bottom: clamp(38px, 6vw, 72px);
  position: relative;
}
.chapter-head .head-left { position: relative; }
.ghost-num {
  position: absolute; right: 0; top: -96px;
  font-family: var(--serif); font-size: clamp(150px, 22vw, 340px);
  line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(215,180,118,.10);
  pointer-events: none; user-select: none; letter-spacing: -.06em;
}
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--gold); opacity: .7; }
.chapter h2 {
  font-family: var(--serif); font-size: clamp(38px, 5.4vw, 74px);
  line-height: 1.14; letter-spacing: -.02em; color: var(--paper);
  max-width: 13ch;
}
.chapter h2 .thin { color: var(--gold); }
.chapter h2 .outline {
  color: transparent; -webkit-text-stroke: 1px rgba(236, 229, 214, .55);
}
.chapter-head .head-right { padding-bottom: 8px; }
.chapter-head .head-right p {
  font-size: 15px; line-height: 1.95; color: var(--paper-2); margin: 0;
  max-width: 38ch;
}
.chapter-head .head-right .meta {
  margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 8px; letter-spacing: .16em; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 8px 18px;
}
.chapter-head .head-right .meta span { display: inline-flex; gap: 6px; }
.chapter-head .head-right .meta b { color: var(--gold); font-weight: 400; }

.body-copy { max-width: 720px; }
.body-copy p { color: var(--paper-2); font-size: 16px; line-height: 1.95; }
.body-copy p:last-child { margin-bottom: 0; }
.body-copy.big p { font-size: 18px; color: var(--paper); }
.small { font-size: 12px; color: var(--muted); line-height: 1.8; }
kbd {
  font-family: var(--mono); font-size: .82em; color: var(--gold-hi);
  border: 1px solid rgba(215,180,118,.25); background: rgba(215,180,118,.06);
  padding: 1px 5px; border-radius: 2px;
}
.mono { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.gold { color: var(--gold); }
.cyan { color: var(--cyan); }
.violet { color: var(--violet); }
.rose { color: var(--rose); }

.panel {
  position: relative;
  background: linear-gradient(150deg, rgba(9, 16, 29, .82), rgba(4, 8, 16, .66));
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.panel::before, .panel::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
}
.panel::before { left: -1px; top: -1px; border-left: 1px solid var(--gold); border-top: 1px solid var(--gold); }
.panel::after { right: -1px; bottom: -1px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.panel-pad { padding: clamp(22px, 3vw, 38px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--paper);
  font-family: var(--mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.btn:hover { background: rgba(215, 180, 118, .09); border-color: var(--gold); color: var(--gold-hi); transform: translateY(-1px); }
.btn.primary { background: var(--gold); color: #080a10; border-color: var(--gold); }
.btn.primary:hover { background: var(--gold-hi); color: #05070c; }
.btn.ghost { border-color: rgba(236,229,214,.18); color: var(--paper-2); }
.btn .arr { font-family: var(--sans); font-size: 14px; letter-spacing: 0; }
.btn.sm { padding: 9px 14px; font-size: 8px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid rgba(215, 180, 118, .18); background: transparent;
  color: var(--muted); padding: 7px 12px; cursor: pointer;
  font-family: var(--mono); font-size: 8px; letter-spacing: .12em; text-transform: uppercase;
  transition: .2s;
}
.chip:hover { color: var(--paper); border-color: var(--line-strong); }
.chip.is-active { color: var(--gold-hi); border-color: var(--gold); background: rgba(215, 180, 118, .08); }

.plate {
  margin: 0; position: relative;
  border: 1px solid var(--line);
  background: #050811;
  overflow: hidden;
}
.plate::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 80px rgba(0,0,0,.5);
}
.plate img { width: 100%; height: auto; display: block; }
.plate figcaption {
  display: flex; gap: 16px; justify-content: space-between;
  padding: 13px 16px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 8px; letter-spacing: .1em; color: var(--muted);
  text-transform: uppercase;
}
.plate figcaption b { color: var(--gold); font-weight: 400; }
.plate figcaption span:last-child { text-align: right; max-width: 48ch; text-transform: none; letter-spacing: .04em; font-family: var(--sans); font-size: 10px; }

.quote-block {
  border-left: 1px solid var(--gold); padding: 4px 0 4px 24px;
  font-family: var(--serif); font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.65; color: var(--paper);
}
.quote-block small {
  display: block; margin-top: 14px; font-family: var(--mono); font-size: 8px;
  letter-spacing: .14em; color: var(--muted); text-transform: uppercase;
}
.callout {
  border: 1px solid var(--line); border-left: 2px solid var(--gold);
  padding: 20px 24px; background: rgba(215, 180, 118, .035);
}
.callout .label { font-family: var(--mono); font-size: 8px; color: var(--gold); letter-spacing: .18em; margin-bottom: 8px; }
.callout p { margin: 0; color: var(--paper-2); font-size: 14px; }

/* Reveal */
body.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
body.js .reveal.in { opacity: 1; transform: none; }
body.js .reveal.d1 { transition-delay: .08s; }
body.js .reveal.d2 { transition-delay: .16s; }
body.js .reveal.d3 { transition-delay: .24s; }

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding-top: 104px; padding-bottom: 60px; overflow: hidden;
}
.hero-inner { width: 100%; max-width: var(--max); margin: 0 auto; position: relative; }
.hero-vertical {
  position: absolute; right: -30px; top: -80px;
  writing-mode: vertical-rl; font-family: var(--mono); font-size: 8px;
  letter-spacing: .4em; color: var(--muted-2); text-transform: uppercase;
  opacity: .75;
}
.hero-vertical::after { content: ""; display: inline-block; width: 1px; height: 110px; background: linear-gradient(180deg, var(--gold-dim), transparent); margin-top: 16px; }
.hero-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.hero-kicker .line { width: 56px; height: 1px; background: var(--gold); opacity: .6; }
.hero-kicker span { font-family: var(--mono); font-size: 9px; letter-spacing: .26em; color: var(--gold); text-transform: uppercase; }
.hero-title {
  position: relative; font-family: var(--serif); font-weight: 400;
  font-size: clamp(66px, 11.5vw, 164px); line-height: .94; letter-spacing: -.04em;
  margin: 0 0 6px; color: var(--paper);
}
.hero-title .row { display: block; }
.hero-title .accent {
  color: transparent; -webkit-text-stroke: 1px rgba(215, 180, 118, .82);
  font-style: italic; letter-spacing: -.02em;
}
.hero-title .dot { color: var(--gold); font-size: .28em; vertical-align: .6em; margin-left: .18em; }
.hero-en {
  font-family: var(--mono); font-size: clamp(11px, 1.4vw, 17px);
  letter-spacing: .55em; color: var(--gold-dim); text-transform: uppercase;
  margin: 14px 0 0 6px;
}
.hero-sub {
  max-width: 610px; margin: 38px 0 0; color: var(--paper-2);
  font-size: clamp(15px, 1.4vw, 18px); line-height: 2;
}
.hero-sub strong { color: var(--paper); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-side {
  position: absolute; right: 0; bottom: 36px; text-align: right;
  font-family: var(--mono); font-size: 8px; line-height: 2.2;
  letter-spacing: .13em; color: var(--muted-2); text-transform: uppercase;
}
.hero-side b { color: var(--gold); font-weight: 400; }
.hero-side .rule { width: 80px; height: 1px; background: var(--line-strong); margin-left: auto; margin-bottom: 10px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: clamp(48px, 8vh, 90px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(4,8,16,.55), transparent);
  max-width: 900px;
}
.hero-stat { padding: 18px 20px 17px 0; border-right: 1px solid var(--line); }
.hero-stat:last-child { border-right: 0; }
.hero-stat .num {
  font-family: var(--serif); font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.1; color: var(--gold-hi);
}
.hero-stat .cap { margin-top: 6px; font-family: var(--mono); font-size: 7px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.scroll-cue {
  position: absolute; left: 0; bottom: -8px; display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 8px; letter-spacing: .2em; color: var(--muted);
  text-transform: uppercase;
}
.scroll-cue .track { width: 1px; height: 34px; background: rgba(215,180,118,.16); position: relative; overflow: hidden; }
.scroll-cue .track::after {
  content: ""; position: absolute; top: -16px; left: 0; width: 1px; height: 16px;
  background: var(--gold); animation: scroll-line 2.4s ease-in-out infinite;
}
@keyframes scroll-line { 0% { top: -16px; } 70%,100% { top: 34px; } }
.hero-tip {
  margin: 18px 0 0; font-family: var(--mono); font-size: 8px;
  letter-spacing: .12em; color: var(--muted); text-transform: uppercase;
}
.hero-tip b { color: var(--gold); font-weight: 400; }

/* -------------------------------------------------------------------------
   Orientation
   ------------------------------------------------------------------------- */
.orient-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.orient-copy p { color: var(--paper-2); font-size: 16px; line-height: 1.95; }
.orient-copy .first { font-size: 17px; color: var(--paper); }
.orient-copy .first::first-letter { color: var(--gold-hi); }
.lang-stack { display: grid; gap: 10px; margin-top: 26px; }
.lang-card {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px;
  padding: 16px 18px; border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(9,16,29,.7), rgba(4,8,16,.3));
  transition: border-color .25s, transform .25s;
}
.lang-card:hover { border-color: var(--line-strong); transform: translateX(3px); }
.lang-card .no { font-family: var(--mono); font-size: 9px; color: var(--gold); letter-spacing: .1em; padding-top: 4px; }
.lang-card h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 4px; }
.lang-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.7; }
.lang-card .glyph { font-family: var(--math); color: var(--cyan); }
.orient-visual { position: relative; }
.orient-visual .plate { margin-bottom: 0; }
.orient-note { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-top: 0; }
.orient-note div { background: #050a13; padding: 15px 18px; }
.orient-note b { display: block; font-family: var(--serif); font-size: 18px; color: var(--gold-hi); font-weight: 400; }
.orient-note span { font-size: 11px; color: var(--muted); }

.one-minute {
  margin-top: clamp(44px, 6vw, 76px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.om-step { background: #050a13; padding: 22px; position: relative; }
.om-step .n { font-family: var(--mono); font-size: 8px; color: var(--gold); letter-spacing: .16em; }
.om-step h4 { font-family: var(--serif); font-size: 18px; margin: 10px 0 6px; }
.om-step p { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 0; }
.om-step::after { content: "→"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 13px; z-index: 1; background: #050a13; }
.om-step:last-child::after { display: none; }

/* -------------------------------------------------------------------------
   Core
   ------------------------------------------------------------------------- */
.core-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .62fr); gap: 54px; align-items: start; margin-bottom: 56px; }
.core-lead .lead-q { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.55; color: var(--paper); }
.core-lead .lead-q span { color: var(--gold); }
.core-lead .body-copy p { font-size: 15px; }
.core-blocks { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.core-block {
  background: #050a13; padding: clamp(24px, 3.4vw, 44px);
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: clamp(20px, 4vw, 54px);
}
.core-block .cb-no { font-family: var(--serif); font-size: 38px; line-height: 1; color: var(--gold-dim); }
.core-block .cb-no small { display: block; margin-top: 8px; font-family: var(--mono); font-size: 7px; letter-spacing: .16em; color: var(--muted); }
.core-block h3 { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 10px; }
.core-block h3 em { font-style: normal; color: var(--gold); }
.core-block p { font-size: 14px; line-height: 1.95; color: var(--paper-2); max-width: 760px; }
.core-block .mini-formula {
  font-family: var(--math); font-size: clamp(16px, 1.8vw, 22px);
  color: var(--cyan); margin: 16px 0 0; padding: 12px 16px;
  border-left: 1px solid rgba(117, 226, 218, .45); background: rgba(117, 226, 218, .035);
  overflow-x: auto;
}
.formula-panel {
  margin: 50px 0 0; padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(215,180,118,.08), transparent 60%),
    #050a13;
  position: relative; overflow: hidden;
}
.formula-panel::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .65;
}
.formula-panel .fp-label { display: flex; justify-content: space-between; gap: 20px; font-family: var(--mono); font-size: 8px; letter-spacing: .18em; color: var(--gold); text-transform: uppercase; margin-bottom: 26px; }
.formula-main {
  font-family: var(--math); font-size: clamp(19px, 3vw, 38px); line-height: 1.5;
  color: var(--paper); overflow-x: auto; padding-bottom: 6px;
}
.formula-main .op { color: var(--gold); }
.formula-main .var { color: var(--cyan); }
.formula-sub { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; color: var(--muted); }
.formula-sub b { color: var(--gold); font-weight: 400; }

.dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 54px; align-items: start; }
.dual-col h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 8px; }
.dual-col .tag { font-family: var(--mono); font-size: 8px; letter-spacing: .18em; color: var(--gold); text-transform: uppercase; }
.dual-col p { font-size: 14px; color: var(--paper-2); line-height: 1.9; }
.dual-col .plate { margin-top: 18px; }
details.deep {
  margin-top: 22px; border: 1px solid var(--line); background: rgba(6,11,21,.6);
}
details.deep summary {
  cursor: pointer; list-style: none; padding: 13px 16px;
  font-family: var(--mono); font-size: 8px; letter-spacing: .14em; color: var(--gold);
  text-transform: uppercase; display: flex; justify-content: space-between; gap: 12px;
}
details.deep summary::-webkit-details-marker { display: none; }
details.deep summary::after { content: "+"; font-size: 14px; line-height: 1; color: var(--gold); }
details.deep[open] summary::after { content: "−"; }
details.deep .deep-body { padding: 0 16px 16px; font-size: 13px; color: var(--muted); line-height: 1.85; }
details.deep .deep-body p:last-child { margin-bottom: 0; }

.dna-strip {
  margin-top: 54px; display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.dna-cell { background: #050a13; padding: 18px; }
.dna-cell b { display: block; font-family: var(--math); color: var(--cyan); font-size: 20px; font-weight: 400; }
.dna-cell span { font-size: 11px; color: var(--muted); }

/* -------------------------------------------------------------------------
   Timeline
   ------------------------------------------------------------------------- */
.timeline-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 34px;
}
.timeline-toolbar .count { font-family: var(--mono); font-size: 8px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.timeline-toolbar .count b { color: var(--gold); font-weight: 400; }
.timeline { position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 92px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 6%, var(--line-strong) 94%, transparent);
}
.tl-item {
  position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr);
  gap: 0; margin-bottom: 6px; transition: opacity .3s, transform .3s;
}
.tl-item.is-hidden { display: none; }
.tl-year {
  padding: 20px 24px 20px 0; text-align: right;
  font-family: var(--serif); font-size: 22px; color: var(--gold);
  line-height: 1.2; position: relative;
}
.tl-year::after {
  content: ""; position: absolute; right: -4px; top: 29px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--ink); border: 1px solid var(--gold);
  box-shadow: 0 0 0 3px var(--ink);
  z-index: 1;
}
.tl-item.is-open .tl-year::after { background: var(--gold); box-shadow: 0 0 14px rgba(215,180,118,.55), 0 0 0 3px var(--ink); }
.tl-year small { display: block; font-family: var(--mono); font-size: 7px; letter-spacing: .14em; color: var(--muted); margin-top: 5px; }
.tl-card {
  margin-left: 26px; border: 1px solid var(--line);
  background: rgba(6, 11, 21, .62); transition: border-color .3s, background .3s;
}
.tl-item:hover .tl-card { border-color: rgba(215,180,118,.3); background: rgba(8, 14, 26, .76); }
.tl-head {
  width: 100%; text-align: left; border: 0; background: transparent; cursor: pointer;
  padding: 18px 22px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: start;
}
.tl-head .tl-title { font-family: var(--serif); font-size: 19px; line-height: 1.4; color: var(--paper); }
.tl-head .tl-en { display: block; font-family: var(--mono); font-size: 7px; letter-spacing: .14em; color: var(--gold-dim); margin-top: 4px; text-transform: uppercase; }
.tl-head .tl-plus { font-family: var(--mono); color: var(--gold); font-size: 15px; line-height: 1; padding-top: 5px; }
.tl-body { padding: 0 22px 18px; }
.tl-body p { font-size: 13px; line-height: 1.85; color: var(--paper-2); margin: 0; max-width: 82ch; }
.tl-more { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.tl-item.is-open .tl-more { max-height: 420px; }
.tl-more-inner { padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--line); }
.tl-more-inner p { font-size: 12px; color: var(--muted); }
.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tl-tags span { font-family: var(--mono); font-size: 7px; letter-spacing: .1em; color: var(--gold-dim); border: 1px solid rgba(215,180,118,.18); padding: 3px 7px; text-transform: uppercase; }

/* -------------------------------------------------------------------------
   People
   ------------------------------------------------------------------------- */
.people-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.people-note {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px;
  border: 1px dashed rgba(215,180,118,.2); color: var(--muted); font-size: 11px; line-height: 1.7;
  margin-bottom: 24px;
}
.people-note b { color: var(--gold); font-weight: 400; }
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.person-card {
  position: relative; border: 1px solid var(--line); background: #050a13;
  cursor: pointer; overflow: hidden; text-align: left;
  width: 100%; padding: 0; color: inherit;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  opacity: 1; transform: none;
}
body.js .person-card:not(.is-in) { opacity: 0; transform: translateY(14px); }
.person-card.is-in { opacity: 1; transform: none; }
.person-card:hover, .person-card:focus-visible {
  transform: translateY(-5px); border-color: var(--gold);
  box-shadow: 0 16px 44px rgba(0,0,0,.45), 0 0 0 1px rgba(215,180,118,.12);
  outline: none;
}
.person-card.is-hidden { display: none; }
.person-card .portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #050811; }
.person-card .portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s; filter: saturate(.85) brightness(.9); }
.person-card:hover .portrait img { transform: scale(1.045); filter: saturate(1) brightness(1); }
.person-card .portrait::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(3,5,12,.88) 100%);
}
.person-card .p-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 15px 15px; z-index: 1; }
.person-card .p-info .p-name { display: block; font-family: var(--serif); font-size: 19px; line-height: 1.3; color: var(--paper); }
.person-card .p-info .p-en { display: block; font-family: var(--mono); font-size: 7px; letter-spacing: .1em; color: var(--gold-dim); text-transform: uppercase; margin-top: 3px; }
.person-card .p-info .p-role { display: block; font-size: 10px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.person-card .p-num {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  font-family: var(--mono); font-size: 7px; color: var(--paper-2);
  border: 1px solid rgba(236,229,214,.16); padding: 2px 5px; background: rgba(3,5,12,.45);
}
.person-card .p-field {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-family: var(--mono); font-size: 7px; letter-spacing: .1em;
  color: var(--gold); text-transform: uppercase;
  writing-mode: vertical-rl; max-height: 90px; overflow: hidden;
}

/* -------------------------------------------------------------------------
   Concepts
   ------------------------------------------------------------------------- */
.concept-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 46px; align-items: start; }
.concept-nav { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.concept-nav button {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center;
  text-align: left; border: 0; background: #050a13; padding: 15px 16px; cursor: pointer;
  transition: background .2s;
}
.concept-nav button:hover { background: #08111e; }
.concept-nav button .cn-no { font-family: var(--mono); font-size: 8px; color: var(--gold-dim); }
.concept-nav button .cn-title { font-family: var(--serif); font-size: 17px; color: var(--paper); }
.concept-nav button .cn-tag { font-family: var(--mono); font-size: 7px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.concept-nav button:hover .cn-title { color: var(--gold-hi); }
.concept-figure .plate { margin: 0; }
.concept-figure .caption { padding: 14px 2px; font-size: 11px; color: var(--muted); line-height: 1.8; }
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 46px; }
.concept-card {
  position: relative; border: 1px solid var(--line); background: rgba(6,11,21,.55);
  padding: 20px 18px; text-align: left; cursor: pointer; min-height: 168px;
  transition: border-color .3s, background .3s, transform .3s;
}
.concept-card:hover { border-color: var(--line-strong); background: rgba(10,18,32,.8); transform: translateY(-3px); }
.concept-card .cc-top { display: flex; justify-content: space-between; gap: 8px; }
.concept-card .cc-index { font-family: var(--mono); font-size: 7px; color: var(--gold-dim); }
.concept-card .cc-status { font-family: var(--mono); font-size: 7px; letter-spacing: .08em; color: var(--cyan); text-align: right; }
.concept-card h4 { font-family: var(--serif); font-size: 19px; margin: 13px 0 8px; }
.concept-card p { font-size: 11px; line-height: 1.75; color: var(--muted); margin: 0; }
.concept-card .cc-en { margin-top: 12px; font-family: var(--mono); font-size: 7px; letter-spacing: .12em; color: var(--muted-2); }

.dependency {
  margin-top: 50px; padding: 26px; border: 1px solid var(--line);
  background: #050a13;
}
.dependency .dep-title { font-family: var(--mono); font-size: 8px; letter-spacing: .14em; color: var(--gold); text-transform: uppercase; margin-bottom: 18px; }
.dep-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dep-chain span { font-family: var(--serif); font-size: 14px; border: 1px solid var(--line); padding: 7px 12px; color: var(--paper-2); }
.dep-chain i { font-style: normal; color: var(--gold); font-size: 12px; }

/* -------------------------------------------------------------------------
   Status
   ------------------------------------------------------------------------- */
.status-key { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 24px; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.status-key span { display: inline-flex; align-items: center; gap: 7px; }
.dot-status { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.dot-status.proved { background: var(--green); box-shadow: 0 0 7px rgba(134,213,161,.5); }
.dot-status.partial { background: var(--gold); box-shadow: 0 0 7px rgba(215,180,118,.45); }
.dot-status.open { background: var(--rose); box-shadow: 0 0 7px rgba(239,138,183,.4); }
.dot-status.geometric { background: var(--violet); box-shadow: 0 0 7px rgba(164,148,255,.5); }

.matrix { border: 1px solid var(--line); background: var(--line); }
.m-row { display: grid; grid-template-columns: 1.05fr 1.35fr 1fr 1fr 1fr; gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.m-row:last-child { border-bottom: 0; }
.m-cell { background: #050a13; padding: 16px 18px; min-width: 0; }
.m-head { background: #08111e; font-family: var(--mono); font-size: 7px; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; }
.m-scope { background: #07101c; }
.m-scope > b { display: block; font-family: var(--serif); font-size: 18px; font-weight: 400; color: var(--paper); }
.m-scope > span { display: block; font-family: var(--mono); font-size: 7px; letter-spacing: .1em; color: var(--muted); margin-top: 4px; }
.m-scope > .m-state { margin-top: 9px; }
.m-scope .chip-state { display: inline-flex; width: auto; margin-top: 0; font-family: var(--mono); letter-spacing: .08em; }
.matrix p { font-size: 11px; line-height: 1.7; color: var(--paper-2); margin: 0; }
.m-headline { font-family: var(--serif); font-size: 14px; line-height: 1.5; color: var(--paper); }
.chip-state { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 7px; letter-spacing: .08em; padding: 3px 7px; border: 1px solid currentColor; }
.chip-state.proved { color: var(--green); }
.chip-state.partial { color: var(--gold); }
.chip-state.open { color: var(--rose); }
.chip-state.geometric { color: var(--violet); }

.frontier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 46px; }
.frontier-card {
  border: 1px solid var(--line); background: rgba(6,11,21,.6);
  padding: 18px; position: relative; transition: border-color .3s, transform .3s;
}
.frontier-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.frontier-card .fc-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.frontier-card h4 { font-family: var(--serif); font-size: 18px; margin: 10px 0 2px; }
.frontier-card .fc-en { font-family: var(--mono); font-size: 6px; letter-spacing: .1em; color: var(--muted-2); text-transform: uppercase; }
.frontier-card p { font-size: 11px; color: var(--muted); line-height: 1.7; margin: 10px 0 0; }
.frontier-card .fc-index { font-family: var(--mono); font-size: 7px; color: var(--gold-dim); }

.geo-proof {
  margin-top: 50px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  border: 1px solid rgba(164,148,255,.28); background:
    radial-gradient(ellipse at 82% 0%, rgba(164,148,255,.1), transparent 55%), #060a16;
}
.geo-proof .gp-main { padding: clamp(26px, 4vw, 44px); }
.geo-proof .gp-main .label { font-family: var(--mono); font-size: 8px; letter-spacing: .18em; color: var(--violet); text-transform: uppercase; }
.geo-proof h3 { font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); margin: 14px 0 12px; }
.geo-proof p { font-size: 13px; color: var(--paper-2); line-height: 1.9; }
.geo-proof .gp-side { border-left: 1px solid rgba(164,148,255,.2); padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; align-content: center; }
.gp-stat { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(164,148,255,.13); padding-bottom: 10px; }
.gp-stat:last-child { border-bottom: 0; }
.gp-stat b { font-family: var(--serif); font-size: 28px; color: var(--violet); font-weight: 400; line-height: 1; }
.gp-stat span { font-family: var(--mono); font-size: 7px; color: var(--muted); text-align: right; letter-spacing: .08em; line-height: 1.6; }

.open-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 46px; }
.open-item { background: #050a13; padding: 20px 22px; display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.open-item .oi-no { font-family: var(--mono); font-size: 9px; color: var(--rose); }
.open-item h4 { font-family: var(--serif); font-size: 18px; margin-bottom: 4px; }
.open-item p { font-size: 11px; color: var(--muted); line-height: 1.7; margin: 0; }

/* -------------------------------------------------------------------------
   Critique
   ------------------------------------------------------------------------- */
.essay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.essay {
  border: 1px solid var(--line); background: rgba(6,11,21,.5);
  padding: clamp(22px, 3vw, 34px); position: relative;
}
.essay .essay-no { font-family: var(--mono); font-size: 8px; color: var(--gold-dim); letter-spacing: .14em; }
.essay h3 { font-family: var(--serif); font-size: clamp(21px, 2.4vw, 29px); margin: 14px 0 10px; line-height: 1.35; }
.essay p { font-size: 13px; line-height: 1.9; color: var(--paper-2); margin: 0; }
.essay .essay-tag { margin-top: 16px; font-family: var(--mono); font-size: 7px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.essay.wide { grid-column: 1 / -1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: center; }
.essay.wide h3 { margin-top: 0; }

.myths { margin-top: 48px; border-top: 1px solid var(--line); }
details.myth { border-bottom: 1px solid var(--line); }
details.myth summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center;
}
details.myth summary::-webkit-details-marker { display: none; }
details.myth summary .q-no { font-family: var(--mono); font-size: 8px; color: var(--gold-dim); }
details.myth summary .q-text { font-family: var(--serif); font-size: 18px; color: var(--paper); }
details.myth summary .q-icon { font-family: var(--mono); color: var(--gold); font-size: 15px; }
details.myth[open] summary .q-icon { transform: rotate(45deg); }
details.myth .q-answer { padding: 0 0 20px 48px; max-width: 820px; }
details.myth .q-answer p { font-size: 13px; color: var(--muted); line-height: 1.9; margin: 0; }

.checklist { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.check-item { background: #050a13; padding: 20px 22px; display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.check-item .ci-no { font-family: var(--mono); font-size: 9px; color: var(--gold); }
.check-item h4 { font-family: var(--serif); font-size: 17px; margin-bottom: 4px; }
.check-item p { font-size: 11px; color: var(--muted); line-height: 1.7; margin: 0; }

/* -------------------------------------------------------------------------
   Library
   ------------------------------------------------------------------------- */
.library-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.book-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.book { display: grid; grid-template-columns: 78px 1fr; gap: 14px; background: #050a13; padding: 16px 18px; transition: background .2s; }
.book:hover { background: #08111e; }
.book .bk-type { font-family: var(--mono); font-size: 7px; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; line-height: 1.8; }
.book h4 { font-family: var(--serif); font-size: 17px; line-height: 1.45; }
.book h4 a { color: var(--paper); }
.book h4 a:hover { color: var(--gold-hi); }
.book .bk-meta { font-size: 10px; color: var(--muted); margin-top: 4px; }
.book p { font-size: 11px; color: var(--muted-2); line-height: 1.6; margin: 6px 0 0; }
.source-list { margin-top: 30px; }
.source-item { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 16px; }
.source-item a { font-size: 12px; color: var(--paper-2); }
.source-item a:hover { color: var(--gold); }
.source-item span { font-family: var(--mono); font-size: 7px; color: var(--muted-2); }
.glossary { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 46px; }
.gloss-item { background: #050a13; padding: 14px 18px; }
.gloss-item dt { font-family: var(--serif); font-size: 15px; color: var(--gold-hi); }
.gloss-item dd { margin: 4px 0 0; font-size: 10px; line-height: 1.7; color: var(--muted); }
.credits {
  margin-top: 54px; border-top: 1px solid var(--line); padding-top: 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
  font-size: 11px; color: var(--muted); line-height: 1.85;
}
.credits b { color: var(--paper-2); font-weight: 500; }
.credits p { margin-bottom: 10px; }

.final-cta {
  margin-top: 70px; padding: clamp(30px, 6vw, 70px);
  border: 1px solid var(--line-strong); text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(215,180,118,.1), transparent 65%), #050a13;
  position: relative;
}
.final-cta h3 { font-family: var(--serif); font-size: clamp(30px, 4.6vw, 56px); line-height: 1.2; margin-bottom: 14px; }
.final-cta p { max-width: 560px; margin: 0 auto 24px; color: var(--muted); font-size: 13px; }
.final-cta .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer {
  position: relative; z-index: 5; padding: 44px var(--pad) 30px;
  border-top: 1px solid var(--line); background: rgba(2,4,9,.82);
  backdrop-filter: blur(10px);
}
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 34px; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand .brand-mark { width: 30px; height: 30px; }
.footer-brand b { font-family: var(--serif); font-size: 15px; font-weight: 400; letter-spacing: .12em; }
.footer-brand p { font-size: 10px; color: var(--muted-2); margin: 5px 0 0; max-width: 36ch; line-height: 1.7; }
.footer-col h4 { font-family: var(--mono); font-size: 7px; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; margin-bottom: 10px; }
.footer-col a, .footer-col span { display: block; font-size: 10px; color: var(--muted); padding: 3px 0; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  max-width: var(--max); margin: 30px auto 0; padding-top: 16px; border-top: 1px solid rgba(215,180,118,.09);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 7px; letter-spacing: .1em; color: var(--muted-2); text-transform: uppercase;
}

/* -------------------------------------------------------------------------
   Modal / overlay
   ------------------------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center;
  padding: 20px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(1,3,7,.78); backdrop-filter: blur(12px); }
.modal-panel {
  position: relative; width: min(820px, 100%); max-height: 88vh; overflow-y: auto;
  background: linear-gradient(160deg, #08101d, #04070f 65%);
  border: 1px solid var(--line-strong);
  padding: clamp(24px, 4vw, 46px);
  transform: translateY(14px) scale(.99); transition: transform .35s var(--ease);
  scrollbar-width: thin; scrollbar-color: var(--gold-dim) transparent;
}
.modal.is-open .modal-panel { transform: none; }
.modal-close {
  position: sticky; top: 0; float: right; margin: -8px -8px 0 12px;
  width: 34px; height: 34px; border: 1px solid var(--line-strong); background: #050a13;
  color: var(--gold); cursor: pointer; z-index: 2; font-family: var(--mono); font-size: 16px;
}
.modal-close:hover { background: var(--gold); color: var(--ink); }
.modal-kicker { font-family: var(--mono); font-size: 8px; letter-spacing: .18em; color: var(--gold); text-transform: uppercase; }
.modal-title { font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); line-height: 1.25; margin: 12px 0 4px; }
.modal-sub { font-family: var(--mono); font-size: 8px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.modal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.modal-meta span { font-family: var(--mono); font-size: 7px; letter-spacing: .1em; border: 1px solid var(--line); padding: 4px 8px; color: var(--paper-2); text-transform: uppercase; }
.modal-body p { font-size: 14px; line-height: 1.95; color: var(--paper-2); }
.modal-body p:last-child { margin-bottom: 0; }
.modal-relations { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.modal-relations button, .modal-relations a {
  border: 1px solid var(--line); background: transparent; padding: 5px 9px;
  font-family: var(--mono); font-size: 7px; color: var(--gold); cursor: pointer; letter-spacing: .08em;
}
.modal-relations button:hover { border-color: var(--gold); background: rgba(215,180,118,.08); }
.modal-sigil { float: right; width: 130px; margin: 0 0 16px 20px; border: 1px solid var(--line); }
.modal-formula { margin: 18px 0; padding: 14px 18px; border-left: 1px solid var(--cyan); background: rgba(117,226,218,.035); font-family: var(--math); color: var(--cyan); font-size: 17px; overflow-x: auto; }

.nav-overlay {
  position: fixed; inset: 0; z-index: 110; background: rgba(2,4,9,.94);
  backdrop-filter: blur(18px); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: .35s;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }
.nav-overlay-inner { width: min(1000px, 88vw); max-height: 86vh; overflow-y: auto; }
.nav-overlay h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 50px); margin-bottom: 26px; }
.nav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.nav-grid a, .nav-filler { background: #050a13; padding: 16px 18px; display: flex; gap: 16px; align-items: baseline; }
.nav-grid a:hover { background: #0a1422; }
.nav-filler { color: var(--muted-2); }
.nav-filler b { font-family: var(--mono); font-size: 8px; color: var(--gold-dim); font-weight: 400; }
.nav-filler span { font-family: var(--serif); font-size: 17px; color: var(--muted); }
.nav-filler em { margin-left: auto; font-family: var(--mono); font-size: 14px; color: var(--gold-dim); font-style: normal; }
.nav-grid a b { font-family: var(--mono); font-size: 8px; color: var(--gold-dim); font-weight: 400; }
.nav-grid a span { font-family: var(--serif); font-size: 19px; color: var(--paper); }
.nav-grid a em { margin-left: auto; font-family: var(--mono); font-size: 7px; color: var(--muted); font-style: normal; }
.nav-overlay .close-overlay { position: absolute; top: 24px; right: 28px; }

/* -------------------------------------------------------------------------
   Explore mode
   ------------------------------------------------------------------------- */
.explore-dock {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 18px);
  z-index: 90; opacity: 0; visibility: hidden; transition: .4s var(--ease);
  display: flex; align-items: center; gap: 1px; background: rgba(4,8,16,.86);
  border: 1px solid var(--line-strong); padding: 5px; backdrop-filter: blur(16px);
  max-width: calc(100vw - 40px); overflow-x: auto;
}
.explore-dock button {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font-family: var(--mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 11px; white-space: nowrap; transition: .2s;
}
.explore-dock button:hover { color: var(--paper); background: rgba(255,255,255,.04); }
.explore-dock button.is-active { color: var(--gold-hi); background: rgba(215,180,118,.12); }
.explore-dock .exit-btn { color: var(--rose); border-left: 1px solid var(--line); margin-left: 4px; }
.explore-panel {
  position: fixed; right: var(--pad); top: 100px; z-index: 90;
  width: min(310px, calc(100vw - 40px)); border: 1px solid var(--line);
  background: rgba(4,8,16,.82); backdrop-filter: blur(16px); padding: 18px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .4s;
}
.explore-panel .ep-kicker { font-family: var(--mono); font-size: 7px; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; }
.explore-panel h3 { font-family: var(--serif); font-size: 23px; margin: 7px 0 6px; }
.explore-panel p { font-size: 11px; line-height: 1.7; color: var(--muted); margin: 0; text-wrap: pretty; }
.explore-panel .ep-hint { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 7px; color: var(--muted-2); letter-spacing: .08em; }
body.explore-mode { overflow: hidden; touch-action: none; }
body.explore-mode .cosmos { pointer-events: auto; cursor: grab; }
body.explore-mode .cosmos:active { cursor: grabbing; }
body.is-dragging { user-select: none; cursor: grabbing; }
body.explore-mode main, body.explore-mode .site-footer { opacity: 0; pointer-events: none; transition: opacity .5s; }
body.explore-mode #node-layer { z-index: 80; }
body.explore-mode .explore-dock { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
body.explore-mode .explore-panel { opacity: 1; visibility: visible; transform: none; }
body.explore-mode .hud { opacity: .5; }
body.explore-mode .grid-overlay { opacity: .35; }

/* -------------------------------------------------------------------------
   Boot
   ------------------------------------------------------------------------- */
#boot {
  position: fixed; inset: 0; z-index: 300; background: #03050c;
  display: grid; place-items: center; transition: opacity .8s var(--ease), visibility .8s;
}
#boot.is-done { opacity: 0; visibility: hidden; }
.boot-inner { width: min(520px, 76vw); }
.boot-mark { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.boot-mark .orb {
  width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%;
  position: relative;
}
.boot-mark .orb::before {
  content: ""; position: absolute; inset: 6px; border: 1px solid rgba(117,226,218,.4);
  border-radius: 50%; animation: boot-spin 3s linear infinite;
  transform: rotate(0) scaleY(.38);
}
@keyframes boot-spin { to { transform: rotate(360deg) scaleY(.38); } }
.boot-mark b { font-family: var(--serif); font-size: 18px; font-weight: 400; letter-spacing: .16em; }
.boot-mark small { display: block; font-family: var(--mono); font-size: 7px; letter-spacing: .18em; color: var(--muted); margin-top: 4px; }
.boot-line { height: 1px; background: rgba(215,180,118,.14); overflow: hidden; }
.boot-line i { display: block; height: 100%; width: 0; background: var(--gold); animation: boot-load 1.25s var(--ease) forwards; }
@keyframes boot-load { to { width: 100%; } }
.boot-meta { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--mono); font-size: 7px; letter-spacing: .12em; color: var(--muted-2); text-transform: uppercase; }

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .people-grid { grid-template-columns: repeat(3, 1fr); }
  .concept-grid { grid-template-columns: repeat(2, 1fr); }
  .frontier-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-side { display: none; }
  .core-lead { gap: 34px; }
}
@media (max-width: 980px) {
  .topnav { display: none; }
  .nav-toggle { display: grid; }
  .rail { display: none; }
  .chapter-head { grid-template-columns: 1fr; gap: 22px; }
  .ghost-num { top: -55px; right: -6px; font-size: 160px; }
  .chapter-head .head-right { max-width: 620px; }
  .orient-grid, .core-lead, .dual-grid, .concept-layout, .library-grid { grid-template-columns: 1fr; gap: 32px; }
  .one-minute { grid-template-columns: 1fr 1fr; }
  .om-step:nth-child(2)::after { display: none; }
  .dna-strip { grid-template-columns: repeat(3, 1fr); }
  .matrix { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--gold-dim) transparent; }
  .m-row { min-width: 880px; }
  .geo-proof { grid-template-columns: 1fr; }
  .geo-proof .gp-side { border-left: 0; border-top: 1px solid rgba(164,148,255,.2); grid-template-columns: 1fr 1fr; }
  .essay.wide { grid-template-columns: 1fr; gap: 14px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --pad: 20px; }
  body { font-size: 15px; }
  .topbar { height: 64px; }
  .brand-text b { font-size: 14px; }
  .brand-text small { display: none; }
  .brand-mark { width: 30px; height: 30px; }
  .top-actions .icon-btn { width: 36px; height: 36px; }
  .hero { padding-top: 90px; padding-bottom: 34px; min-height: 100svh; }
  .hero-title { font-size: clamp(52px, 16vw, 82px); }
  .hero-en { letter-spacing: .28em; font-size: 9px; }
  .hero-sub { margin-top: 28px; font-size: 14px; line-height: 1.9; }
  .hero-stats { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .hero-stat:nth-child(2) { border-right: 0; }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .scroll-cue { display: none; }
  .chapter { padding-top: 92px; padding-bottom: 74px; min-height: auto; }
  .chapter h2 { font-size: clamp(32px, 9vw, 46px); max-width: 12ch; }
  .ghost-num { font-size: 110px; top: -34px; opacity: .8; }
  .hero-vertical, .hud-bottom-right { display: none; }
  .hud-bottom-left { bottom: 12px; gap: 10px; font-size: 7px; }
  .hud .hide-m { display: none; }
  .people-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .person-card .p-info { padding: 10px 11px; }
  .person-card .p-info .p-name { font-size: 15px; }
  .person-card .p-info .p-role { display: none; }
  .person-card .p-en { font-size: 6px; }
  .concept-grid { grid-template-columns: 1fr 1fr; }
  .concept-card { min-height: 150px; padding: 14px; }
  .concept-card h4 { font-size: 16px; }
  .frontier-grid { grid-template-columns: 1fr; }
  .open-list, .checklist, .glossary { grid-template-columns: 1fr; }
  .timeline::before { left: 54px; }
  .tl-item { grid-template-columns: 54px 1fr; }
  .tl-year { font-size: 15px; padding-right: 16px; padding-top: 17px; }
  .tl-year::after { right: -3px; top: 24px; width: 5px; height: 5px; }
  .tl-year small { display: none; }
  .tl-card { margin-left: 18px; }
  .tl-head { padding: 14px 15px; }
  .tl-head .tl-title { font-size: 16px; }
  .tl-body { padding: 0 15px 14px; }
  .timeline-toolbar { align-items: flex-start; flex-direction: column; }
  .chip-row { gap: 6px; }
  .chip { padding: 6px 8px; font-size: 7px; }
  .matrix { overflow: visible; }
  .m-row, .m-row.m-row-head { min-width: 0; grid-template-columns: 1fr; }
  .m-row-head { display: none; }
  .m-cell { padding: 13px 15px; }
  .m-cell[data-label]::before {
    content: attr(data-label);
    display: block; margin-bottom: 5px;
    font-family: var(--mono); font-size: 7px; letter-spacing: .12em;
    color: var(--gold-dim); text-transform: uppercase;
  }
  .m-scope { border-top: 1px solid var(--line); }
  .geo-proof .gp-side { grid-template-columns: 1fr; }
  .essay-grid { grid-template-columns: 1fr; }
  .essay.wide { grid-column: auto; }
  .one-minute { grid-template-columns: 1fr; }
  .om-step::after { display: none; }
  .dna-strip { grid-template-columns: 1fr 1fr; }
  .core-block { grid-template-columns: 1fr; gap: 10px; }
  .core-block .cb-no { font-size: 26px; }
  .core-block .cb-no small { display: inline; margin-left: 10px; }
  .formula-main { font-size: 17px; }
  .orient-note { grid-template-columns: 1fr; }
  .people-toolbar { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .site-footer { padding-bottom: 20px; }
  .credits { grid-template-columns: 1fr; gap: 20px; }
  .modal-panel { padding: 22px 18px; max-height: 90vh; }
  .modal-sigil { width: 90px; }
  .explore-panel { top: 82px; right: 14px; width: 240px; padding: 13px; }
  .explore-panel h3 { font-size: 18px; }
  .explore-panel p { display: none; }
  .explore-dock { bottom: 14px; max-width: calc(100vw - 20px); }
  .explore-dock button { padding: 8px 9px; font-size: 7px; }
  .nav-grid { grid-template-columns: 1fr; }
  .space-node { font-size: 7px; padding: 5px 7px 5px 5px; }
  .space-node .zh { font-size: 9px; }
  .space-node .en { display: none; }
  .plate figcaption { flex-direction: column; gap: 4px; }
  .plate figcaption span:last-child { text-align: left; }
}
@media (max-width: 430px) {
  .concept-grid { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 51px; }
  .hud-bottom-left .sep, .hud-bottom-left .hide-xs { display: none; }
  .source-item { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  body.js .reveal { opacity: 1; transform: none; }
  .grain { display: none; }
}
