/* =========================================================================
   问韬 · 共用样式
   One palette, one type scale and one set of components for all four pages.
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --paper: #ffffff;
  --paper-warm: #fbf8f5;
  --sand: #f4ede6;
  --rule: #ebe2d9;
  --rule-strong: #d8c8b8;

  --ink: #33261d;        /* headings, strong text   14.6:1 */
  --ink-2: #56443a;      /* body text                9.2:1 */
  --ink-3: #76614f;      /* labels, secondary text   5.8:1 */
  --brown: #714329;      /* brand, links, active     8.3:1 */
  --brown-deep: #57321e;
  --brown-soft: #a07a5c; /* decoration only, never small text */
  --red: var(--brown);   /* legacy alias used by inline styles */

  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
          "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;

  --fs-label: 13px;
  --fs-small: 15px;
  --fs-body: 18px;
  --fs-lead: clamp(20px, 1.7vw, 25px);
  --fs-h3: clamp(21px, 1.8vw, 27px);
  --fs-h2: clamp(32px, 3.5vw, 52px);
  --fs-h1: clamp(38px, 4.6vw, 68px);
  --lh: 1.95;

  --header-h: 76px;
  --mark-y: 44svh;       /* where 问韬 sits in the homepage opening */
  /* the opening's unit: led by the width, but held back on wide, short windows, so the orbs,
     问韬 and the question keep their room at 1536×730 as at 1440×900 */
  --u: min(1vw, 1.62svh);
  --mark-size: clamp(112px, calc(16.5 * var(--u)), 260px);   /* 问韬 */
  --gutter: clamp(20px, 4.6vw, 72px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.36, .5, 1);
  --shadow-soft: 0 10px 34px rgba(83, 51, 30, .08);

  /* the orb material, reused by hero orbs, list dots and page orbs */
  --light: #c9ad91; --base: #94694a; --edge: #5e3d28;
  color-scheme: light;
}

/* each viewpoint keeps the same shade wherever it appears */
[data-view="experience"], [data-shade="experience"] { --light: #dbc5ae; --base: #b99a7e; --edge: #8d674e; --label: #2a1c13; }
[data-view="evidence"],   [data-shade="evidence"]   { --light: #82593f; --base: #643d29; --edge: #3d2418; --label: #fff8f0; --hi: .12; --glow: .14; }
[data-view="agency"],     [data-shade="agency"]     { --light: #6f4e3a; --base: #533726; --edge: #2f1f16; --label: #fff8f0; --hi: .12; --glow: .14; }
[data-view="memory"],     [data-shade="memory"]     { --light: #dcc3a5; --base: #b59372; --edge: #7a5639; --label: #2a1c13; }
[data-view="practice"],   [data-shade="practice"]   { --light: #7c5a37; --base: #5f4127; --edge: #3b2717; --label: #fff8f0; --hi: .12; --glow: .14; }
[data-view="relation"],   [data-shade="relation"]   { --light: #d8c1a7; --base: #b39272; --edge: #7a5a40; --label: #2a1c13; }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 28px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font: 400 var(--fs-body)/var(--lh) var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 500; letter-spacing: -.015em; }
h1 { font-size: var(--fs-h1); line-height: 1.42; }
h2 { font-size: var(--fs-h2); line-height: 1.45; }
h3 { font-size: var(--fs-h3); line-height: 1.6; }
strong { font-weight: 600; color: var(--ink); }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 4px; border-radius: 6px; }
::selection { background: #ead9c8; color: var(--ink); }
.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 { position: fixed; left: 20px; top: -80px; z-index: 200; padding: 10px 20px; border-radius: 999px; background: var(--brown); color: #fff; font-size: var(--fs-small); }
.skip:focus { top: 14px; }
.kicker { margin: 0 0 14px; font-size: var(--fs-label); letter-spacing: .12em; color: var(--brown); }
.project-name { overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }
.small { font-size: var(--fs-small); color: var(--ink-3); }

/* small orb used as a bullet everywhere (section labels, lists, notes) */
.dot, .section-label > span:first-child::before, .num::before {
  content: "";
  display: inline-block;
  flex: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #d9c0a5, #94694a 62%, #5e3d28);
}

/* ---------- 3. Header & navigation (identical on every page) ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h); }
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: opacity .35s, border-color .35s;
}
.site-header.is-scrolled::before { border-bottom-color: var(--rule); }
.home .site-header::before { opacity: 0; }
.home .site-header.is-docked::before { opacity: 1; border-bottom-color: var(--rule); }
.header-inner {
  position: relative; height: 100%;
  width: calc(100% - 2 * var(--gutter)); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 16px; color: var(--brown); white-space: nowrap; }
.brand-mark { font-size: 30px; line-height: 1; font-weight: 700; letter-spacing: -.05em; }
.brand-tag { font-size: var(--fs-label); line-height: 1.2; letter-spacing: .16em; color: var(--ink-3); padding-left: 16px; border-left: 1px solid var(--rule-strong); transition: opacity .4s; }
.js .home .brand-mark { opacity: 0; }                 /* the flying 问韬 takes this place */
.home .site-header:not(.is-docked) .brand-tag { opacity: 0; }
.brand:hover .brand-tag { color: var(--brown); }

.site-nav { display: flex; align-items: center; gap: 10px; }
.nav-list {
  position: relative; display: flex; gap: 2px; margin: 0; padding: 4px; list-style: none;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--rule); border-radius: 999px;
  box-shadow: 0 6px 24px rgba(83, 51, 30, .07);
}
.nav-list > li { position: relative; z-index: 2; }
.nav-list a {
  position: relative; display: flex; align-items: center; height: 42px; padding: 0 18px;
  border-radius: 999px; font-size: var(--fs-small); color: var(--ink-2); white-space: nowrap;
  transition: background-color .2s, color .3s;
}
.nav-list a:hover { color: var(--brown); }
.nav-list a[aria-current="page"] { background: var(--brown); color: #fff; }
/* with script: one brown pill marks the current page, a sand pill follows the pointer */
.nav-list > .nav-pill, .nav-list > .nav-ghost {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--w, 0px);
  transform: translateX(var(--x, 0px)); border-radius: 999px; pointer-events: none; display: none;
}
.nav-list > .nav-pill { z-index: 1; background: var(--brown); view-transition-name: nav-pill; transition: transform .6s var(--spring), width .6s var(--spring); }
.nav-list > .nav-ghost { z-index: 0; background: var(--sand); opacity: 0; transition: transform .5s var(--spring), width .5s var(--spring), opacity .25s; }
.nav-list.has-pill > .nav-pill, .nav-list.has-pill > .nav-ghost { display: block; }
.nav-list > .nav-ghost.is-on { opacity: 1; }
.nav-list.has-pill a[aria-current="page"] { background: none; }
.nav-list.has-pill.is-sliding a[aria-current="page"] { color: var(--brown); }
.nav-desc {           /* where this link goes, shown on hover */
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translate(-50%, -4px);
  padding: 5px 12px; border-radius: 10px; border: 1px solid var(--rule);
  background: #fff; box-shadow: var(--shadow-soft);
  font-size: var(--fs-label); line-height: 1.6; color: var(--ink-3); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease);
}
.nav-list a:hover .nav-desc, .nav-list a:focus-visible .nav-desc { opacity: 1; transform: translate(-50%, 0); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--brown);
  background: rgba(255, 255, 255, .92); color: var(--brown); font-size: var(--fs-small); white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.nav-cta:hover { background: var(--brown); color: #fff; }
.nav-cta span[aria-hidden] { transition: transform .25s var(--ease); }
.nav-cta:hover span[aria-hidden] { transform: translate(2px, -2px); }
.menu-toggle { display: none; }

/* ---------- 4. Homepage opening ---------- */
.hero { position: relative; height: 190svh; }
.hero-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; overflow: clip; background: #fff; isolation: isolate; }
.orb-field { position: absolute; inset: 0; z-index: 1; }

.orb {
  position: absolute; left: var(--x); top: var(--y); width: var(--size); aspect-ratio: 1;
  border-radius: 50%; transform: translate(-50%, -50%);
  will-change: transform, opacity;
}
.orb::after {         /* hover ring */
  content: ""; position: absolute; inset: -16px; border-radius: 50%;
  border: 1.5px solid rgba(113, 67, 41, .42);
  opacity: 0; transform: scale(.95);
  transition: opacity .35s, transform .5s var(--ease);
  pointer-events: none;
}
.orb:hover::after, .orb:focus-visible::after { opacity: 1; transform: none; }
.orb:focus-visible { outline: none; }
.orb:focus-visible::after { border: 2px solid var(--brown); }
.orb-surface {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background:
    radial-gradient(ellipse at 33% 21%, rgba(255, 255, 255, var(--hi, .36)) 0, transparent 42%),
    radial-gradient(ellipse at 55% 91%, rgba(244, 209, 169, var(--glow, .38)), transparent 51%),
    radial-gradient(ellipse at 43% 34%, var(--light) 0, var(--base) 57%, var(--edge) 100%);
  box-shadow: inset 1px 1px 2px rgba(255, 255, 255, .54), inset -10px -20px 35px rgba(41, 20, 7, .14),
              inset 10px 10px 28px rgba(255, 255, 255, .09), 0 28px 58px rgba(83, 51, 30, .07);
  transition: scale .55s var(--ease), filter .9s var(--ease), opacity .9s var(--ease), box-shadow .5s;
  animation: orb-float var(--float, 11s) ease-in-out var(--delay, 0s) infinite alternate;
}
.orb-surface::before {
  content: ""; position: absolute; inset: 2%; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .13);
  background: radial-gradient(ellipse at 48% 86%, transparent 48%, rgba(255, 255, 255, .06) 75%, transparent 78%);
  pointer-events: none;
}
.orb:hover .orb-surface, .orb:focus-visible .orb-surface {
  scale: 1.035; filter: brightness(1.06) saturate(1.06);
  box-shadow: inset 1px 1px 2px rgba(255, 255, 255, .66), inset -10px -20px 35px rgba(41, 20, 7, .14),
              0 34px 74px rgba(83, 51, 30, .2);
}
.orb:active .orb-surface { scale: 1.01; transition-duration: .12s; }
/* pointing at one viewpoint lights it and its two neighbours; the rest dim slowly but stay.
   The script holds the choice for a moment, so passing between two orbs does not flicker. */
.orb-field.has-hot .orb:not(.is-hot):not(.is-linked) .orb-surface { opacity: .76; filter: saturate(.8); }
.orb.is-linked::after { opacity: .7; transform: none; border-style: dashed; }
.orb.is-linked .orb-surface { filter: brightness(1.04); }
@keyframes orb-float { from { translate: 0 -7px; } to { translate: 0 8px; } }

.orb-content {
  position: absolute; inset: 0; padding: 20%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  transform: translate(var(--tx, 0%), var(--ty, 0%));
  color: var(--label, #fff8f0);
  opacity: var(--label-fade, 1);
  will-change: opacity;   /* fades on its own layer, so the orb under it is not redrawn */
}
.orb-num { margin-bottom: -8px; font-size: 13px; font-weight: 600; letter-spacing: .16em; opacity: .78; font-variant-numeric: tabular-nums; }
.orb-text {
  font-size: clamp(17px, calc(1.72 * var(--u)), 27px); font-weight: 700; line-height: 1.5; letter-spacing: .03em; text-align: center;
  text-shadow: 0 1px 14px rgba(63, 36, 22, .22);
}
.orb[data-view="experience"] .orb-text, .orb[data-view="memory"] .orb-text, .orb[data-view="relation"] .orb-text { text-shadow: 0 1px 12px rgba(255, 244, 232, .4); }
.orb-cue {            /* "+" at rest, "+ 展开阅读" on hover */
  display: inline-flex; align-items: center; height: 38px; border-radius: 999px;
  border: 1px solid currentColor; background: rgba(255, 255, 255, .1);
  font-size: 14px; letter-spacing: .06em; white-space: nowrap;
  transition: background-color .3s, padding .4s var(--ease);
}
.cue-icon { position: relative; width: 36px; height: 36px; flex: none; }
.cue-icon::before, .cue-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.cue-icon { transition: transform .45s var(--ease); }
.cue-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.cue-text { max-width: 0; opacity: 0; overflow: hidden; transition: max-width .45s var(--ease), opacity .3s, padding .45s var(--ease); }
.orb:hover .cue-text, .orb:focus-visible .cue-text { max-width: 6em; opacity: 1; padding-right: 14px; }
.orb:hover .orb-cue, .orb:focus-visible .orb-cue { background: rgba(255, 255, 255, .2); }
.orb:hover .cue-icon, .orb:focus-visible .cue-icon { transform: rotate(90deg); }

/* first visit: the orbs ripple once so their purpose is noticed */
.hero.is-intro .orb::after { animation: orb-ripple 1.7s var(--ease) calc(var(--i, 0) * 150ms) 1 both; }
.hero.is-intro .orb-cue { animation: cue-pop 1.7s var(--ease) calc(var(--i, 0) * 150ms + 150ms) 1 both; }
@keyframes orb-ripple { 0% { opacity: 0; transform: scale(.93); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.07); } }
@keyframes cue-pop { 0%, 100% { background: rgba(255, 255, 255, .1); } 35% { background: rgba(255, 255, 255, .42); } }

.orb-satellite {
  position: absolute; width: var(--size); aspect-ratio: 1; border-radius: 50%;
  left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  background: radial-gradient(circle at 30% 24%, #d3bda8, #ab8668 65%, #6d4b35);
  box-shadow: inset 1px 1px 2px rgba(255, 255, 255, .5);
  pointer-events: none; will-change: transform, opacity;
}
.satellite-two { background: radial-gradient(circle at 30% 24%, #a7856b, #735139 65%, #49301f); }

.identity-aura {    /* white behind 问韬 and the question, fading into the orbs around them */
  position: absolute; z-index: 4; left: 50%; top: calc(var(--mark-y) + var(--mark-size) * .3);
  width: calc(var(--mark-size) * 3.5); aspect-ratio: 1.75;   /* grows and shrinks with 问韬, and stays clear of the top orb */
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, #fff 0, #fff 30%, rgba(255, 255, 255, .96) 40%, rgba(255, 255, 255, .74) 50%, rgba(255, 255, 255, .3) 61%, transparent 71%);
  pointer-events: none;
}
.identity {
  position: absolute; z-index: 70; left: 50%; top: var(--mark-y);
  transform: translate(-50%, -50%);
  font-size: var(--mark-size); line-height: 1; font-weight: 700; letter-spacing: -.05em;
  color: var(--brown); white-space: nowrap; transform-origin: center;
}
.js .identity { position: fixed; left: 0; top: 0; will-change: transform; }
.js .identity:not(.is-docked) { pointer-events: none; }
.identity.is-docked:hover { color: var(--brown-deep); }
.menu-open .identity:not(.is-docked) { opacity: 0; }

.hero-copy {
  position: absolute; z-index: 6; left: 50%; transform: translateX(-50%);
  top: calc(var(--mark-y) + var(--mark-size) * .55 + 14px);
  width: min(92vw, 820px); text-align: center;
  pointer-events: none;   /* nothing here is clickable; the orbs under its empty corners stay clickable */
}
.hero-question {   /* the question a stranger reads first: large and dark, with a white glow so nothing behind it competes */
  margin: 0; font-size: clamp(24px, calc(2.5 * var(--u)), 42px); line-height: 1.4; font-weight: 700; letter-spacing: .04em; color: var(--ink);
  text-shadow: 0 0 2px #fff, 0 0 10px #fff, 0 0 22px rgba(255, 255, 255, .9);
}
.hero-question .nowrap { display: inline-block; }
.hero-caption { margin: 0; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.85; letter-spacing: .12em; color: var(--ink-2); }
.hero-hint {
  display: inline-flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 6px 16px 6px 9px;
  border-radius: 999px; background: rgba(255, 255, 255, .9);
  font-size: var(--fs-small); line-height: 1.6; color: var(--brown);
}
.hint-orb { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #dcc3a8, #9d7757 60%, #6a4832); animation: hint-pulse 2.4s ease-out infinite; }
@keyframes hint-pulse { 0% { box-shadow: 0 0 0 0 rgba(113, 67, 41, .38); } 70%, 100% { box-shadow: 0 0 0 11px rgba(113, 67, 41, 0); } }
.scroll-cue {
  position: absolute; z-index: 8; left: var(--gutter); bottom: 26px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 20px 0 14px;
  border-radius: 999px; border: 1px solid var(--rule); background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 14px; color: var(--ink-2); transition: color .2s, border-color .2s;
}
.scroll-cue:hover { color: var(--brown); border-color: var(--rule-strong); }
.scroll-arrow { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--sand); }
.scroll-arrow::before { content: ""; position: absolute; left: 50%; top: 42%; width: 7px; height: 7px; border-right: 1.5px solid var(--brown); border-bottom: 1.5px solid var(--brown); transform: translate(-50%, -50%) rotate(45deg); animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { margin-top: -2px; } 50% { margin-top: 2px; } }

/* hero layout, desktop */
.orb[data-view="experience"] { --x: 16%; --y: 21%; --size: calc(24.5 * var(--u)); --i: 0; --float: 10s; }
.orb[data-view="evidence"]   { --x: min(57%, calc(100% - 600px)); --y: 7%;  --size: calc(26 * var(--u)); --i: 1; --float: 12s; --delay: -3s; --ty: 19%; }
.orb[data-view="agency"]     { --x: 91%; --y: 39%; --size: calc(30 * var(--u)); --i: 2; --float: 13s; --delay: -6s; --tx: -12%; }
.orb[data-view="memory"]     { --x: 81%; --y: 86%; --size: calc(28 * var(--u)); --i: 3; --float: 11s; --delay: -2s; --ty: -14%; }
.orb[data-view="practice"]   { --x: 33%; --y: 97%; --size: calc(29 * var(--u)); --i: 4; --float: 14s; --delay: -8s; --ty: -23%; }
.orb[data-view="relation"]   { --x: 9%;  --y: 67%; --size: calc(29 * var(--u)); --i: 5; --float: 12s; --delay: -5s; --tx: 13%; }
.satellite-one { --x: 39%; --y: 15%; --size: calc(12 * var(--u)); }
.satellite-two { --x: 66%; --y: 87%; --size: calc(10 * var(--u)); }

/* ---------- 5. Homepage reading area ---------- */
.reading { position: relative; z-index: 10; margin-top: -74svh; background: #fff; }
.reading::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 140px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.reading-shell { width: min(1180px, calc(100% - 2 * var(--gutter))); margin: 0 auto; }

.section-label {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
  font-size: var(--fs-label); line-height: 1.6; letter-spacing: .08em; color: var(--ink-3);
}
.section-label > span:first-child { display: inline-flex; align-items: center; gap: 10px; color: var(--brown); }
.section-label > span:last-child { text-align: right; }

.intro-section { padding: clamp(36px, 4vw, 56px) 0 clamp(72px, 8vw, 112px); }
.intro-title { font-size: var(--fs-h1); line-height: 1.42; letter-spacing: -.02em; max-width: 15em; margin: 0 0 clamp(34px, 4.5vw, 60px); }
.intro-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); }
.intro-grid > div { max-width: 760px; }
.margin-note { padding-top: 8px; font-size: var(--fs-label); letter-spacing: .08em; color: var(--ink-3); }
.intro-lead { font-size: var(--fs-lead); line-height: 1.85; color: var(--ink); margin-bottom: 26px; }

.home-section { padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--rule); }
.section-title { font-size: var(--fs-h2); line-height: 1.45; letter-spacing: -.02em; margin: 0 0 clamp(30px, 4vw, 52px); }
.section-deck { max-width: 38em; margin-bottom: 44px; }

.principle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(20px, 5vw, 72px); padding: 32px 0; border-top: 1px solid var(--rule); }
.principle > div { display: flex; align-items: baseline; gap: 22px; }
.small-number { font-size: var(--fs-label); letter-spacing: .06em; color: var(--brown); font-variant-numeric: tabular-nums; }
.principle > p { margin: 0; }

/* viewpoint list: the same six orbs, as a readable index */
.viewpoint-block { margin-top: clamp(48px, 6vw, 80px); padding: clamp(24px, 3.5vw, 44px); border-radius: 28px; background: var(--paper-warm); border: 1px solid var(--rule); }
.viewpoint-block .kicker { display: flex; align-items: center; gap: 10px; }
.viewpoint-note { margin: 0; font-size: var(--fs-small); color: var(--ink-3); }
/* six points on one line: the order is the ring of the opening */
.view-chain { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 30px 0 0; padding: 0; list-style: none; }
.view-chain > li { position: relative; }
.view-chain > li::before, .view-chain > li::after {
  content: ""; position: absolute; top: 37px; width: 50%; height: 2px; background: var(--rule-strong);
  transition: background-color .35s;
}
.view-chain > li::before { left: 0; }
.view-chain > li::after { right: 0; }
.view-chain > li:first-child::before, .view-chain > li:last-child::after { display: none; }
.view-chain > li:hover::before, .view-chain > li:hover::after,
.view-chain > li:hover + li::before, .view-chain > li:has(+ li:hover)::after,
.view-chain > li:focus-within::before, .view-chain > li:focus-within::after { background: var(--brown); }
.view-link {
  position: relative; z-index: 1; width: 100%; padding: 16px 10px 18px; border-radius: 22px;
  display: grid; grid-template-areas: "dot" "num" "title" "reach"; justify-items: center; align-content: start; gap: 6px;
  text-align: center; transition: background-color .3s;
}
.view-link:hover { background: rgba(255, 255, 255, .75); }
.view-dot {
  grid-area: dot; width: 42px; height: 42px; margin-bottom: 6px; border-radius: 50%;
  background: radial-gradient(ellipse at 36% 30%, var(--light), var(--base) 60%, var(--edge));
  box-shadow: 0 0 0 7px var(--paper-warm), inset -2px -3px 6px rgba(41, 20, 7, .16);
  transition: scale .45s var(--spring), box-shadow .3s;
}
.view-link:hover .view-dot, .view-link:focus-visible .view-dot { scale: 1.16; }
.view-link.is-read .view-dot { box-shadow: 0 0 0 7px var(--paper-warm), 0 0 0 8.5px var(--brown), inset -2px -3px 6px rgba(41, 20, 7, .16); }
.view-number { grid-area: num; font-size: var(--fs-label); line-height: 1.5; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.view-link.is-read .view-number::after { content: " · 已读"; color: var(--brown); }
.view-title { grid-area: title; font-size: 16px; line-height: 1.6; color: var(--ink); text-wrap: balance; }
.view-link:hover .view-title { color: var(--brown); }
.view-reach { grid-area: reach; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 4px; }
.reach { padding: 1px 9px; border-radius: 999px; border: 1px solid var(--rule); background: #fff; font-size: 12px; line-height: 1.7; color: var(--ink-3); }

/* two project lines */
.project-paths { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.project-path {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  padding: clamp(24px, 3vw, 40px); border-radius: 28px; border: 1px solid var(--rule); background: #fff;
  transition: border-color .3s, box-shadow .35s;
}
.project-path::before {  /* a quiet orb in the corner ties the card to the opening */
  content: ""; position: absolute; top: -90px; right: -90px; width: 220px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(ellipse at 40% 34%, var(--light), var(--base) 58%, var(--edge));
  opacity: .9; transition: transform .6s var(--ease);
}
.project-path:hover { border-color: var(--rule-strong); box-shadow: 0 20px 56px rgba(83, 51, 30, .09); }
.project-path:hover::before { transform: translate(-8px, 8px) scale(1.04); }
.project-path > * { position: relative; }
.path-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: var(--fs-label); letter-spacing: .06em; color: var(--ink-3); padding-right: 96px; flex-wrap: wrap; }
.project-state { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px; border-radius: 999px; background: var(--sand); color: var(--brown); white-space: nowrap; }
.project-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--brown-soft); }
.project-path h3 { font-size: clamp(32px, 3.2vw, 46px); line-height: 1.35; margin: 44px 0 10px; }
.path-subtitle { font-size: var(--fs-small); letter-spacing: .03em; color: var(--ink-3); margin-bottom: 26px; }
.project-link {
  display: flex; justify-content: space-between; align-items: center; gap: 15px;
  margin-top: auto; padding: 8px 8px 8px 24px; border-radius: 999px;
  background: var(--sand); color: var(--brown); font-size: 16px;
  transition: background-color .25s, color .25s;
}
.project-link span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; font-size: 18px; transition: transform .3s var(--ease); }
.project-link:hover { background: var(--brown); color: #fff; }
.project-link:hover span { color: var(--brown); transform: translate(2px, -2px); }

/* progress */
.progress-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(20px, 5vw, 72px); padding: 36px 0; border-top: 1px solid var(--rule); }
.progress-meta { display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-label); line-height: 1.7; color: var(--ink-3); }
.progress-meta > span:first-child { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); color: var(--brown); }
.progress-row h3 { margin: 0 0 14px; }
/* something real under “the first step”: an excerpt, a sketch, a sentence from a paper */
.proof { margin: 22px 0 8px; padding: 18px 20px; border-radius: 18px; background: var(--paper-warm); border: 1px solid var(--rule); }
.proof-label { display: block; margin: 0 0 10px; font-size: 12px; letter-spacing: .1em; color: var(--brown); }
.proof-questions { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.proof-questions li { display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: 8px; font-size: 15px; line-height: 1.75; color: var(--ink); }
.proof-questions b { font-weight: 600; color: var(--brown); }
.proof-pair { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; gap: 16px; margin: 22px 0 8px; }
.proof-pair .proof { margin: 0; }
.proof-sketch img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--rule); }
.proof-sketch figcaption { margin-top: 12px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.proof-sketch figcaption .proof-label { margin-bottom: 4px; }
.proof figcaption a { color: var(--brown); white-space: nowrap; }
.proof-quote blockquote { margin: 0 0 12px; padding-left: 14px; border-left: 2px solid var(--brown); font-size: 16px; line-height: 1.85; color: var(--ink); }
.proof-quote figcaption { font-size: 13px; line-height: 1.75; color: var(--ink-3); }
.review-notice { margin: 4px 0 26px; padding: 14px 18px; border-radius: 14px; background: var(--paper-warm); border: 1px solid var(--rule); font-size: var(--fs-small); color: var(--ink-2); }
/* a link is a point drawing a line: on hover a dot runs along the underline */
.text-link {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 2px 0 5px;
  font-size: 16px; color: var(--brown);
  background:
    linear-gradient(var(--brown), var(--brown)) 0 100% / 0 1.5px no-repeat,
    linear-gradient(var(--rule-strong), var(--rule-strong)) 0 100% / 100% 1px no-repeat;
  transition: background-size .55s var(--ease);
}
.text-link::after { content: ""; position: absolute; left: 0; bottom: -2.5px; width: 7px; height: 7px; border-radius: 50%; background: var(--brown); opacity: 0; transition: left .55s var(--ease), opacity .2s; }
.text-link:hover { background-size: 100% 1.5px, 100% 1px; }
.text-link:hover::after { left: calc(100% - 7px); opacity: 1; }
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span { transform: translate(2px, -2px); }
.body a, .draft a, .cross-note a, .aside-note a {
  color: var(--brown); text-decoration: none; padding-bottom: 2px;
  background:
    linear-gradient(var(--brown), var(--brown)) 0 100% / 0 1.5px no-repeat,
    linear-gradient(var(--rule-strong), var(--rule-strong)) 0 100% / 100% 1px no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .5s var(--ease);
}
.body a:hover, .draft a:hover, .cross-note a:hover, .aside-note a:hover { background-size: 100% 1.5px, 100% 1px; }

/* invitation */
.join-copy { max-width: 680px; margin-left: clamp(0px, 20vw, 300px); }
.contact-link {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  margin-top: 36px; padding: 18px 12px 18px 30px; border-radius: 999px;
  background: var(--brown); color: #fff; font-size: clamp(19px, 1.7vw, 23px);
  transition: background-color .25s;
}
.contact-link span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .14); transition: transform .3s var(--ease); }
.contact-link:hover { background: var(--brown-deep); }
.contact-link:hover span { transform: translate(2px, -2px); }

/* homepage reading text: avoid leaving one character alone on the last line */
.home main p { text-wrap: pretty; }

/* footer, shared */
.home-footer, .footer {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 28px 0 40px; border-top: 1px solid var(--rule);
  font-size: 14px; line-height: 1.7; color: var(--ink-3);
}
.home-footer a, .footer a { color: var(--brown); }
.home-footer a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* scroll-in, used for reading text only */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 6. Viewpoint: the clicked orb grows to fill the view ---------- */
.view-dialog {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; overflow: hidden; background: transparent; color: var(--label, var(--ink));
}
.view-dialog::backdrop { background: transparent; }
/* the rest of the page, 问韬 and the other orbs included, fades back behind a veil */
.bloom-veil { position: absolute; inset: 0; background: rgba(255, 255, 255, .84); }
.bloom {
  position: absolute; left: var(--cx, 50%); top: var(--cy, 50%); width: var(--d, 640px); height: var(--d, 640px);
  margin: calc(var(--d, 640px) / -2) 0 0 calc(var(--d, 640px) / -2); border-radius: 50%;
  will-change: transform;
}
.bloom-surfaces, .bloom-surfaces > .orb-surface { position: absolute; inset: 0; border-radius: 50%; }
.bloom-surfaces > .orb-surface {
  animation: none; transition: none; scale: none; filter: none;
  box-shadow: inset 2px 2px 4px rgba(255, 255, 255, .5), inset -26px -44px 80px rgba(41, 20, 7, .16),
              inset 22px 22px 60px rgba(255, 255, 255, .09), 0 40px 120px rgba(83, 51, 30, .2);
}
.bloom-content {
  position: absolute; left: 50%; top: 50%; width: var(--text-w, 440px); transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--label, var(--ink));
}
.view-dialog .dialog-kicker { margin: 0 0 10px; font-size: 13px; line-height: 1.6; letter-spacing: .1em; color: inherit; }
.view-dialog .dialog-kicker b { font-weight: 600; color: inherit; font-variant-numeric: tabular-nums; }
.view-dialog h2 { margin: 0 0 14px; font-size: clamp(25px, calc(var(--fd, 640px) * .052), 40px); line-height: 1.35; color: inherit; text-wrap: balance; }
.view-dialog-copy { margin: 0; font-size: clamp(15px, calc(var(--fd, 640px) * .025), 19px); line-height: 1.85; text-wrap: balance; }
/* the words still do not fit a short window: slightly smaller type, tighter spacing */
.view-dialog.is-tight h2 { margin-bottom: 8px; font-size: 24px; }
.view-dialog.is-tight .view-dialog-copy { font-size: 15px; line-height: 1.7; }
.view-dialog.is-tight .dialog-kicker { margin-bottom: 4px; }
.view-dialog.is-tight .dialog-links { margin-top: 10px; }
.view-dialog.is-tight .bloom-nav { margin-top: 8px; }
.dialog-copy-label { margin: 0 0 6px; font-size: 13px; letter-spacing: .1em; color: inherit; }
.dialog-links { width: 100%; margin-top: 18px; }
.dialog-links-label { margin: 0 0 8px; font-size: 13px; letter-spacing: .1em; color: inherit; }
.dialog-links-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dialog-link {
  display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(58, 41, 30, .3); background: rgba(255, 255, 255, .34); color: inherit;
  font-size: 14px; line-height: 1.5; transition: background-color .25s, border-color .25s;
}
.dialog-link:hover { background: rgba(255, 255, 255, .6); border-color: rgba(58, 41, 30, .55); }
.dialog-link b { font-weight: 600; }
.dialog-link small { font-size: 13px; opacity: .92; }
.is-light-text .dialog-link { border-color: rgba(255, 248, 240, .42); background: rgba(255, 248, 240, .1); }
.is-light-text .dialog-link:hover { background: rgba(255, 248, 240, .22); border-color: rgba(255, 248, 240, .7); }
.bloom-nav { display: flex; justify-content: center; gap: 8px; width: 100%; margin-top: 16px; }
.bloom-step {
  display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 48%; min-height: 36px; padding: 0 14px;
  border-radius: 999px; border: 1px solid transparent; font-size: 13px; color: inherit;
  transition: border-color .25s, opacity .25s;
}
.bloom-step:hover, .bloom-step:focus-visible { border-color: currentColor; opacity: 1; }
.bloom-step-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dialog-close {   /* top right, just under where the header was */
  position: absolute; z-index: 2; top: calc(var(--header-h) + 14px); right: 24px; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--rule-strong); background: #fff; color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s;
}
.dialog-close::before, .dialog-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.dialog-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.dialog-close:hover { background: var(--brown); border-color: var(--brown); color: #fff; }
.dialog-note { position: absolute; z-index: 2; left: 50%; bottom: 12px; width: max-content; max-width: calc(100% - 32px); transform: translateX(-50%); margin: 0; padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .9); text-align: center; font-size: 13px; line-height: 1.6; color: var(--ink-3); }
/* the circle the viewpoint grew from steps aside while it is open */
.orb.is-lifted .orb-surface, .orb.is-lifted .orb-content, .orb.is-lifted::after,
.view-link.is-lifted .view-dot, .card-link.is-lifted .mini-dot { opacity: 0 !important; transition: opacity .25s; }

/* ---------- 7. Project pages & résumé ---------- */
.editorial-page { padding-top: var(--header-h); }
.page-orbs { position: absolute; top: 0; right: 0; z-index: 0; width: min(42vw, 620px); height: min(42vw, 620px); overflow: hidden; pointer-events: none; }
.page-orb { position: absolute; right: -18%; top: -26%; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(ellipse at 40% 34%, var(--light), var(--base) 58%, var(--edge)); box-shadow: inset -12px -22px 40px rgba(41, 20, 7, .14); }
.page-orb-small { right: 54%; top: 34%; width: 17%; }
.page-interviews { --light: #dbc5ae; --base: #b99a7e; --edge: #8d674e; }
.page-cognitive  { --light: #a37c5d; --base: #6e4831; --edge: #3f291d; }
.page-resume     { --light: #cdb398; --base: #a3805f; --edge: #6c4c33; }

.shell { position: relative; z-index: 1; width: min(1240px, calc(100% - 2 * var(--gutter))); margin: 0 auto; }
.layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); padding-top: clamp(44px, 6vw, 84px); }
aside { position: sticky; top: calc(var(--header-h) + 36px); align-self: start; }
aside > p { margin: 0 0 16px; font-size: var(--fs-label); letter-spacing: .08em; color: var(--brown); }
aside nav { display: flex; flex-direction: column; }
aside nav a { display: flex; align-items: baseline; gap: 12px; padding: 7px 0 7px 16px; border-left: 2px solid var(--rule); font-size: var(--fs-small); line-height: 1.6; color: var(--ink-3); transition: color .2s, border-color .2s; }
aside nav a span { flex: none; font-size: 12px; color: var(--brown-soft); font-variant-numeric: tabular-nums; }
aside nav a:hover { color: var(--brown); }
aside nav a.is-active { color: var(--ink); border-left-color: var(--brown); }
aside nav a.is-active span { color: var(--brown); }
.aside-note { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 14px; line-height: 2; color: var(--ink-3); }

.editorial-page main { min-width: 0; max-width: 880px; padding-bottom: 40px; }
.editorial-page main > #start, .editorial-page main > #profile { padding-bottom: 30px; }
.editorial-page h1 { font-size: clamp(36px, 4vw, 60px); margin: 0 0 28px; }
.lead { font-size: var(--fs-lead); line-height: 1.9; color: var(--ink); max-width: 36em; }
.overview { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--brown-soft); }
.overview p { margin: 0; }
.draft { margin-bottom: 26px; padding: 2px 0 2px 18px; border-left: 3px solid var(--rule-strong); font-size: var(--fs-small); color: var(--ink-3); }
.tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 36px; padding: 18px 0; border-top: 1px solid var(--rule); font-size: var(--fs-small); color: var(--ink-3); }
.tools button { flex: none; height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--rule-strong); font-size: var(--fs-small); color: var(--brown); transition: background-color .2s, color .2s, border-color .2s; }
.tools button:hover { background: var(--brown); border-color: var(--brown); color: #fff; }

.section { padding: 56px 0; border-top: 1px solid var(--rule); scroll-margin-top: calc(var(--header-h) + 20px); }
.section-head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 12px; }
.num { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-label); letter-spacing: .06em; color: var(--brown); font-variant-numeric: tabular-nums; }
.section h2 { font-size: clamp(27px, 2.4vw, 36px); line-height: 1.45; }
.section-intro { margin: 0 0 24px; font-size: 17px; line-height: 1.9; color: var(--ink-3); }
.section > h3 { display: flex; align-items: center; gap: 12px; margin: 40px 0 6px; font-size: var(--fs-small); font-weight: 500; letter-spacing: .04em; color: var(--brown); }
.section > h3::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.tag { margin-left: auto; padding: 4px 12px; border-radius: 999px; background: var(--sand); font-size: var(--fs-label); color: var(--brown); white-space: nowrap; }

details { border-bottom: 1px solid var(--rule); }
details:last-child { border-bottom: 0; }
summary {
  display: flex; align-items: flex-start; gap: 20px; padding: 22px 0;
  list-style: none; cursor: pointer; font-size: 20px; font-weight: 500; line-height: 1.7; color: var(--ink);
  transition: color .2s;
}
summary::-webkit-details-marker { display: none; }
summary::after {      /* a round "+" that turns into "×" when open */
  content: ""; flex: none; width: 34px; height: 34px; margin: 0 0 0 auto; border-radius: 50%;
  border: 1px solid var(--rule-strong);
  background:
    linear-gradient(var(--brown), var(--brown)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--brown), var(--brown)) center / 1.5px 12px no-repeat;
  transition: transform .35s var(--ease), background-color .2s, border-color .2s;
}
summary:hover { color: var(--brown); }
summary:hover::after { border-color: var(--brown); background-color: var(--sand); }
details[open] > summary { color: var(--brown); }
details[open] > summary::after { transform: rotate(45deg); }
.body { padding: 0 56px 28px 0; }
.body p:last-child { margin-bottom: 0; }
.body ul { margin: 14px 0; padding-left: 22px; }
.body li { margin: 12px 0; }
.body li::marker { color: var(--brown-soft); }
.evidence { padding-left: 20px; border-left: 3px solid var(--rule); font-size: 17px; color: var(--ink-3); }
.experience-ref { white-space: normal; }
.closing { margin: 0; padding: 44px 0 24px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.75; font-weight: 500; color: var(--brown); }
.cross-note { font-size: var(--fs-small); color: var(--ink-3); }

.status-note { margin: 28px 0; padding: 16px 22px; border-radius: 16px; border: 1px solid var(--rule); border-left: 3px solid var(--brown); background: var(--paper-warm); }
.status-note p:first-child { margin: 0 0 8px; font-size: var(--fs-small); color: var(--brown); }
.status-note p:last-child { margin: 0; }
.stage-row { padding: 30px 0; border-top: 1px solid var(--rule); }
.stage-row h3 { margin: 0 0 12px; }
.stage-row p { margin: 0; }
.stage-row p.kicker { margin-bottom: 10px; }
.resume-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.resume-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--rule-strong); font-size: var(--fs-small); color: var(--brown);
  transition: background-color .2s, color .2s, border-color .2s;
}
.resume-links a:hover { background: var(--brown); border-color: var(--brown); color: #fff; }

.record { margin-top: 28px; padding: 30px 0 4px; border-top: 1px solid var(--rule); }
.record-header { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: var(--fs-label); letter-spacing: .04em; color: var(--ink-3); }
.record > h3 { margin: 18px 0 28px; font-size: clamp(24px, 2.4vw, 30px); }
.record-fields { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 22px 28px; margin: 0; }
.record-fields dt { padding-top: 4px; font-size: 14px; color: var(--brown); }
.record-fields dd { margin: 0; }

.resume-section { scroll-margin-top: calc(var(--header-h) + 20px); }
.resume-entry { padding: 30px 0; border-bottom: 1px solid var(--rule); }
.resume-entry:last-child { border-bottom: 0; }
.resume-entry h3 { margin: 0 0 12px; }
.resume-entry p { margin: 0 0 14px; }
.resume-meta, .resume-note { font-size: var(--fs-small); color: var(--ink-3); }
.resume-entry details { margin-top: 6px; border-top: 1px solid var(--rule); }
.resume-entry summary { font-size: 17px; padding: 16px 0; }

/* ---------- 7b. Points and the lines between them ---------- */
/* opening: the six viewpoints are threaded into a ring */
.orb-links { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; opacity: 0; transition: opacity 1.2s .5s; }
.orb-links.is-ready { opacity: 1; }
.orb-link { fill: none; stroke: rgba(113, 67, 41, .34); stroke-width: 1.5; stroke-linecap: round; transition: stroke .8s var(--ease), stroke-width .8s var(--ease); }
.orb-link.is-hot { stroke: var(--brown); stroke-width: 2.2; stroke-dasharray: 7 8; animation: link-flow 1.1s linear infinite; }
@keyframes link-flow { to { stroke-dashoffset: -30; } }
.link-node { fill: #fff; stroke: rgba(113, 67, 41, .5); stroke-width: 1.5; transition: fill .8s var(--ease), stroke .8s var(--ease); }
.link-node.is-hot { fill: var(--brown); stroke: var(--brown); }

/* homepage cards: which viewpoints connect to each project line */
.card-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 22px; }
.card-links-label { margin-right: 4px; font-size: var(--fs-label); color: var(--ink-3); }
.card-link {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 6px; border-radius: 999px;
  border: 1px solid var(--rule); background: #fff; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums;
  transition: border-color .2s, color .2s;
}
.card-link:hover { border-color: var(--brown); color: var(--brown); }
.mini-dot { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(ellipse at 36% 30%, var(--light), var(--base) 60%, var(--edge)); transition: scale .35s var(--spring); }
.card-link:hover .mini-dot { scale: 1.12; }

/* project pages: the viewpoints that link here (back-links) */
.backlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 26px; }
.backlinks-label { display: inline-flex; align-items: center; gap: 10px; margin-right: 4px; font-size: var(--fs-label); color: var(--ink-3); }
.backlinks-label::before { content: ""; width: 22px; height: 1px; background: var(--rule-strong); }
.backlink {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 14px 4px 6px; border-radius: 999px;
  border: 1px solid var(--rule); background: #fff; font-size: 14px; line-height: 1.5; color: var(--ink-2);
  transition: border-color .2s, color .2s;
}
.backlink:hover { border-color: var(--brown); color: var(--brown); }
.backlink b { font-weight: 600; color: var(--brown); font-variant-numeric: tabular-nums; }
.backlink-dot { width: 24px; height: 24px; flex: none; border-radius: 50%; background: radial-gradient(ellipse at 36% 30%, var(--light), var(--base) 60%, var(--edge)); }

/* chapter numbers drawn with dots: loose dots in 身处其中, joined dots in 连点成线 */
.num.has-matrix { gap: 0; }
.num.has-matrix::before { display: none; }
.dm { display: block; overflow: visible; }
.dm-dot { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s var(--spring) calc(var(--d, 0) * 14ms); }
.dm-line { stroke: var(--brown-soft); stroke-width: 1.1; stroke-linecap: round; stroke-dasharray: 6; stroke-dashoffset: 6; transition: stroke-dashoffset .5s var(--ease) calc(260ms + var(--d, 0) * 12ms); }
.is-visible .dm-dot { transform: none; }
.is-visible .dm-line { stroke-dashoffset: 0; }

/* index of a project page: a thread that fills as you read (连点成线), rings that light where you are (身处其中) */
@media (min-width: 901px) {
  aside nav.toc-thread, aside nav.toc-rings { position: relative; }
  .toc-thread a, .toc-rings a { position: relative; padding-left: 30px; border-left: 0; }
  .toc-thread::before { content: ""; position: absolute; left: 6px; top: var(--y0, 20px); height: var(--span, 0px); width: 2px; background: var(--rule); }
  .toc-fill { position: absolute; left: 6px; top: var(--y0, 20px); width: 2px; height: var(--fill, 0px); background: var(--brown); transition: height .5s var(--ease); }
  .toc-thread a::before { content: ""; position: absolute; left: 1px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 2px solid var(--rule-strong); background: #fff; transition: border-color .3s, background-color .3s, transform .4s var(--spring); }
  .toc-thread a.is-past::before, .toc-thread a.is-active::before { border-color: var(--brown); background: var(--brown); }
  .toc-thread a.is-active::before { transform: scale(1.3); }
  .toc-rings a::before { content: ""; position: absolute; left: 0; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; border-radius: 50%; border: 1.5px solid var(--rule-strong); transition: border-color .3s, box-shadow .4s, background .3s; }
  .toc-rings a.is-past::before { border-color: var(--brown-soft); background: radial-gradient(circle, var(--brown-soft) 0 2.5px, transparent 3px); }
  .toc-rings a.is-active::before { border-color: var(--brown); background: radial-gradient(circle, var(--brown) 0 3.5px, transparent 4px); box-shadow: 0 0 0 5px rgba(113, 67, 41, .12); }
}

/* ---------- 7c. Openings of the two project pages ---------- */
.has-opening { padding-top: 0; }
.orbit-hero + .shell { margin-top: -58svh; padding-top: 12svh; }   /* the words arrive while the rings are still opening */
.grid-hero + .shell { margin-top: -34svh; padding-top: 20svh; }
/* the reading layer rises over the pinned opening; its paper runs edge to edge */
.orbit-hero + .shell::before, .grid-hero + .shell::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw);
  background: linear-gradient(rgba(255, 255, 255, 0), #fff 18svh); pointer-events: none;
}

/* 身处其中: rings of other people's situations turn around the one who listens */
.orbit-hero { position: relative; height: 175svh; }
.orbit-stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden; overflow: clip;
  background:
    radial-gradient(circle at 50% 50%, #fff 0, #fff 14%, rgba(255, 255, 255, .55) 42%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(circle, #e6dbd0 1.3px, transparent 1.8px) 0 0 / 26px 26px, #fff;
}
.orbit-rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring-wrap { position: absolute; transform-origin: 50% 50%; }
.ring { display: block; overflow: visible; transform-origin: 50% 50%; }
.orbit-hero.is-open .scroll-cue { visibility: hidden; pointer-events: none; transition: visibility 0s .5s; }
.ring-meter { position: absolute; visibility: hidden; }
.ring text { font-family: var(--sans); transition: fill .4s; }
.ring-1 text { font-weight: 700; fill: var(--brown); }
.ring-2 text { font-weight: 500; fill: var(--ink-2); }
.ring-3 text { fill: var(--ink-3); }
.ring-4 text { fill: var(--brown-soft); }
.ring.is-near text { fill: var(--brown-deep); }
.orbit-core {
  position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; text-align: center; pointer-events: none;
}
.orbit-core-dot {
  width: clamp(56px, 8vmin, 92px); aspect-ratio: 1; margin-bottom: 18px; border-radius: 50%;
  background:
    radial-gradient(ellipse at 33% 21%, rgba(255, 255, 255, .4) 0, transparent 44%),
    radial-gradient(ellipse at 43% 34%, #dbc5ae 0, #b99a7e 57%, #8d674e 100%);
  box-shadow: inset -6px -10px 18px rgba(41, 20, 7, .14), 0 18px 40px rgba(83, 51, 30, .16);
  animation: core-breathe 4.8s ease-in-out infinite;
}
@keyframes core-breathe { 0%, 100% { box-shadow: inset -6px -10px 18px rgba(41, 20, 7, .14), 0 0 0 0 rgba(113, 67, 41, .16), 0 18px 40px rgba(83, 51, 30, .16); } 50% { box-shadow: inset -6px -10px 18px rgba(41, 20, 7, .14), 0 0 0 16px rgba(113, 67, 41, 0), 0 18px 40px rgba(83, 51, 30, .16); } }
.orbit-name { margin: 0; font-size: clamp(42px, 5.6vw, 82px); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; color: var(--brown); }
.orbit-sub { margin: 14px 0 0; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.5; letter-spacing: .16em; color: var(--ink-3); opacity: .6; }   /* larger, but kept quiet beside the name */
.orbit-caption {
  position: absolute; z-index: 3; left: 50%; bottom: 92px; transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 2 * var(--gutter)); margin: 0; padding: 9px 22px; border-radius: 999px;
  border: 1px solid var(--rule); background: #fff; box-shadow: 0 10px 28px rgba(83, 51, 30, .08);
  text-align: center; font-size: var(--fs-small); line-height: 1.7; color: var(--ink-2);
}

/* 连点成线: memory points arrive in columns, light up and join, then open around the name */
.grid-hero { position: relative; height: 330svh; }
.grid-stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden; overflow: clip;
  background:
    linear-gradient(rgba(214, 196, 178, .28) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(214, 196, 178, .28) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--paper-warm);
}
.grid-links { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.grid-link { fill: none; stroke: var(--brown); stroke-opacity: .55; stroke-width: 1.6; stroke-linecap: round; }
.grid-link.is-conflict { stroke-opacity: .7; }
.grid-label { font-family: var(--sans); font-size: 12.5px; fill: var(--brown); paint-order: stroke; stroke: var(--paper-warm); stroke-width: 7px; stroke-linejoin: round; }
.grid-port { fill: #fff; stroke: var(--brown); stroke-opacity: .7; stroke-width: 1.5; }
/* no will-change here: the points are re-drawn at their zoomed size, so the words stay sharp */
.memory-grid {
  position: absolute; z-index: 2; left: 50%; top: 57%; width: min(1080px, 92vw);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(20px, 4.4vw, 84px);
  transform: translate(-50%, -50%); transform-origin: 50% 50%;
}
.memory-col { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(22px, 6.2vh, 64px); }
.memory-col:nth-child(2) { align-items: center; }
.memory-col:nth-child(3) { align-items: flex-end; }
.memory-node {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px;
  border-radius: 999px; border: 1px solid var(--rule); background: #fff; box-shadow: 0 10px 26px rgba(83, 51, 30, .07);
  white-space: nowrap; transition: opacity .5s, box-shadow .5s, border-color .5s;
}
.js .memory-node { opacity: 0; }
.js .grid-hero.is-in .memory-node { opacity: 1; }
.node-dot { width: 14px; height: 14px; flex: none; border-radius: 50%; border: 2px solid var(--rule-strong); background: #fff; transition: background-color .5s, border-color .5s, box-shadow .6s, transform .5s var(--spring); }
.node-title { font-size: 16px; font-weight: 600; color: var(--ink); }
.node-field { padding-left: 10px; border-left: 1px solid var(--rule); font-size: 12.5px; color: var(--ink-3); }
.memory-node.is-lit { border-color: var(--rule-strong); box-shadow: 0 12px 30px rgba(83, 51, 30, .1); }
.memory-node.is-lit .node-dot { transform: scale(1.15); }
.memory-node.is-lit.is-agreed .node-dot { border-color: var(--brown); background: var(--brown); box-shadow: 0 0 0 6px rgba(113, 67, 41, .14); }
.memory-node.is-lit.is-open .node-dot { border-color: var(--brown); box-shadow: 0 0 0 6px rgba(113, 67, 41, .08); }
.memory-node.is-lit.is-dormant { opacity: .55; }
.memory-node.is-lit.is-dormant .node-dot { border-color: #cbbcae; background: #cbbcae; }
.grid-title {
  position: absolute; z-index: 3; left: 50%; top: 50%; width: min(92vw, 680px); transform: translate(-50%, -50%);
  text-align: center; opacity: 0; pointer-events: none;
}
.grid-name { margin: 8px 0 10px; font-size: clamp(50px, 7.4vw, 108px); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; color: var(--brown); }
.grid-sub { margin: 0 0 20px; font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); }
.grid-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-3); }
.grid-legend i { display: inline-block; width: 12px; height: 12px; margin-right: 7px; border-radius: 50%; vertical-align: -1px; }
.lg-agreed { background: var(--brown); }
.lg-open { border: 2px solid var(--brown); }
.lg-dormant { background: #cbbcae; }
/* a short introduction sits in the background of the opening, under the points */
.grid-intro { position: absolute; z-index: 1; left: var(--gutter); top: calc(var(--header-h) + 26px); width: min(580px, calc(100% - 2 * var(--gutter))); pointer-events: none; will-change: transform, opacity; }
.grid-intro p { margin: 0; }
.js .grid-intro > * { animation: intro-in .8s .35s cubic-bezier(.2, .7, .2, 1) both; }
.js .grid-intro > :nth-child(2) { animation-delay: .5s; }
.js .grid-intro > :nth-child(3) { animation-delay: .65s; }
@keyframes intro-in { from { opacity: 0; transform: translateY(10px); } }
.grid-intro-kicker { margin-bottom: 8px !important; font-size: var(--fs-label); letter-spacing: .1em; color: var(--brown); }
.grid-intro-lead { margin-bottom: 8px !important; font-size: clamp(20px, 1.75vw, 25px); line-height: 1.55; font-weight: 600; color: var(--ink); }
.grid-intro-text { font-size: 15px; line-height: 1.85; color: var(--ink-2); opacity: .86; }

/* ---------- 7d. 连点成线: three documents in a chain, and a rule you can try ---------- */
.paper-chain { position: relative; margin-top: 10px; padding-left: 38px; }
.paper-chain::before { content: ""; position: absolute; left: 8px; top: var(--y0, 40px); height: var(--span, 0px); width: 2px; background: var(--rule); }
.paper-chain-fill { position: absolute; left: 8px; top: var(--y0, 40px); width: 2px; height: var(--span, 0px); background: var(--brown); transform-origin: 50% 0; transform: scaleY(0); will-change: transform; }
.paper-chain .stage-row { position: relative; }
.paper-chain .stage-row::before { content: ""; position: absolute; left: -37px; top: 34px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--rule-strong); background: #fff; transition: border-color .35s, background-color .35s, box-shadow .5s, transform .5s var(--spring); }
.paper-chain .stage-row.is-reached::before { border-color: var(--brown); background: var(--brown); box-shadow: 0 0 0 6px rgba(113, 67, 41, .12); transform: scale(1.06); }

.gov-demo { margin: 36px 0 0; padding: clamp(20px, 3vw, 32px); border-radius: 24px; border: 1px solid var(--rule); background: var(--paper-warm); }
.gov-demo figcaption { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.gov-label { font-size: var(--fs-label); letter-spacing: .06em; color: var(--ink-3); }
.gov-title { font-size: 20px; font-weight: 500; line-height: 1.6; color: var(--ink); }
.gov-ops { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.gov-op { height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rule-strong); background: #fff; font-size: var(--fs-small); color: var(--brown); transition: background-color .25s, color .25s, border-color .25s; }
.gov-op:hover { border-color: var(--brown); }
.gov-op[aria-pressed="true"] { background: var(--brown); border-color: var(--brown); color: #fff; }
.gov-chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 20px; padding: 0; list-style: none; }
.gov-chain li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; line-height: 1.5; text-align: center; color: var(--ink-3); transition: color .3s calc(var(--k, 0) * 140ms); }
.gov-chain li + li::before { content: ""; position: absolute; top: 12px; right: 50%; width: 100%; height: 2px; background: var(--rule-strong); transition: background-color .3s calc(var(--k, 0) * 140ms); }
.gov-node { position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--rule-strong); background: #fff; transition: background-color .3s calc(var(--k, 0) * 140ms), border-color .3s calc(var(--k, 0) * 140ms), box-shadow .5s calc(var(--k, 0) * 140ms), transform .5s var(--spring) calc(var(--k, 0) * 140ms); }
.gov-chain li.is-on { color: var(--ink); }
.gov-chain li.is-on + li.is-on::before { background: var(--brown); }
.gov-chain li.is-on .gov-node { border-color: var(--brown); background: var(--brown); box-shadow: 0 0 0 6px rgba(113, 67, 41, .12); transform: scale(1.08); }
.gov-effect { min-height: 3.6em; margin: 0 0 6px; font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.gov-note { margin: 0; font-size: 13px; color: var(--ink-3); }

/* moving between pages: the brown pill slides to the new page */
@view-transition { navigation: auto; }
/* Moving between pages: the old page sinks back a little and fades; the new one opens as a circle from the
   point that was clicked (scripted in each page's head), echoing the orbs. The header stays where it is,
   the nav pill slides to its new place, and 问韬 in the header carries over. */
::view-transition-old(root) { animation: vt-recede .6s cubic-bezier(.4, 0, .2, 1) both; }
::view-transition-new(root) { animation: vt-arrive .5s cubic-bezier(.2, .7, .2, 1) both; }
:root[data-vt="circle"]::view-transition-new(root) { animation: none; }
@keyframes vt-recede { to { opacity: 0; transform: scale(.985); } }
@keyframes vt-arrive { from { opacity: 0; } }
/* names are given only while a page change is under way, so the header keeps its frosted glass otherwise */
.vt-names .site-header { view-transition-name: site-header; }
::view-transition-group(site-header) { animation-duration: .45s; }
.vt-names .site-header .brand-mark { view-transition-name: brand; }
.vt-names .home .site-header .brand-mark { view-transition-name: none; }
.vt-names .home .identity.is-docked { view-transition-name: brand; }
/* 问韬 sits in the same place on both pages, so it simply stays: no morph between the large homepage title and the header mark */
::view-transition-group(brand), ::view-transition-new(brand) { animation: none; }
::view-transition-old(brand) { animation: none; opacity: 0; }
/* browsers without page transitions: a short fade out and in */
.no-vt body { animation: page-in .5s cubic-bezier(.2, .7, .2, 1) both; }
.no-vt.is-leaving body { opacity: 0; transition: opacity .22s ease; }
@keyframes page-in { from { opacity: 0; } }
::view-transition-group(nav-pill) { animation-duration: .6s; animation-timing-function: cubic-bezier(.34, 1.36, .5, 1); }
/* the labels ride above the sliding pill, so a name never disappears under it */
@media (min-width: 641px) {
  .nav-list > li:nth-child(3) .nav-label { view-transition-name: nav-l1; }
  .nav-list > li:nth-child(4) .nav-label { view-transition-name: nav-l2; }
  .nav-list > li:nth-child(5) .nav-label { view-transition-name: nav-l3; }
  .nav-list > li:nth-child(6) .nav-label { view-transition-name: nav-l4; }
}
::view-transition-group(nav-l1), ::view-transition-group(nav-l2), ::view-transition-group(nav-l3), ::view-transition-group(nav-l4) { animation-duration: .42s; }

/* ---------- 7d+. 连点成线: what we will do, and why I can do it ---------- */
.plan-note { margin: 18px 0 0; padding-left: 38px; font-size: 16px; color: var(--ink-3); }
.strengths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
.strength {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 18px 50px;
  border-radius: 20px; border: 1px solid var(--rule); background: #fff; transition: border-color .3s, box-shadow .3s;
}
.strength:hover { border-color: var(--rule-strong); box-shadow: 0 16px 40px rgba(83, 51, 30, .07); }
.strength-dot { position: absolute; left: 22px; top: 29px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--brown); background: #fff; transition: background-color .3s, transform .4s var(--spring); }
.strength:hover .strength-dot { background: var(--brown); transform: scale(1.15); }
.strength h3 { margin: 0; font-size: 19px; line-height: 1.5; }
.strength p { margin: 0; font-size: 16px; line-height: 1.85; color: var(--ink-2); }
.strength-link { align-self: flex-start; margin-top: 6px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--rule); font-size: 13px; color: var(--brown); transition: border-color .2s, background-color .2s; }
.strength-link:hover { border-color: var(--brown); background: var(--sand); }
@media (max-width: 640px) {
  .strengths { grid-template-columns: minmax(0, 1fr); }
  .strength { padding: 18px 18px 16px 44px; }
  .strength-dot { left: 18px; top: 25px; }
  .plan-note { padding-left: 30px; }
}

/* ---------- 7e. 连点成线: one map of memories, from laid flat to lit by the task at hand ---------- */
.lightmap { margin: 30px 0 0; padding: clamp(20px, 3vw, 32px); border-radius: 24px; border: 1px solid var(--rule); background: var(--paper-warm); }
.lightmap figcaption { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
/* the map is pinned while the reader scrolls through the scene; the scroll turns the light up */
.lm-scene { position: relative; height: 200svh; }
.lm-sticky { position: sticky; top: calc(var(--header-h) + 18px); }
.lm-sticky > * { width: min(100%, calc((100svh - var(--header-h) - 250px) * 1.613)); margin-left: auto; margin-right: auto; }
.lm-tasks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.lm-tasks-label { margin-right: 6px; font-size: 14px; color: var(--ink-3); }
.lm-task { flex: none; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rule-strong); background: #fff; font-size: var(--fs-small); color: var(--brown); transition: background-color .25s, color .25s, border-color .25s; }
.lm-task:hover { border-color: var(--brown); }
.lm-task[aria-pressed="true"] { background: var(--brown); border-color: var(--brown); color: #fff; }

.lm-stage {
  position: relative; aspect-ratio: 1000 / 620; overflow: hidden; overflow: clip;
  border-radius: 18px; border: 1px solid var(--rule);
  background: radial-gradient(circle, #ebe1d6 1.1px, transparent 1.6px) 0 0 / 22px 22px, #fff;
  isolation: isolate;
}
.lm-map { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.lm-map text { font-family: var(--sans); }
.lm-back { will-change: opacity, filter; }
.lm-front { pointer-events: none; }
.lm-front .lm-node { pointer-events: bounding-box; }
.lm-node { cursor: pointer; pointer-events: bounding-box; }   /* the whole point, label included, can be clicked */
.lm-edge { fill: none; stroke: #ccb6a1; stroke-width: 1.7; }
.lm-dot { fill: var(--brown); }
.lm-label { font-size: 19px; font-weight: 600; fill: var(--ink); transition: fill .2s; }
.lm-node:hover .lm-label { fill: var(--brown); }
.lm-pool { fill: url(#lm-pool); opacity: 0; }
.lm-halo { fill: none; stroke: rgba(113, 67, 41, .2); stroke-width: 6; opacity: 0; transition: opacity .5s var(--ease), stroke .3s; }
.lightmap.is-lit .lm-halo { opacity: 1; }
.lm-node.is-picked .lm-halo { opacity: 1; stroke: rgba(113, 67, 41, .45); }
.lm-node.is-picked .lm-label { fill: var(--brown-deep); }
.lm-peek { pointer-events: none; }
/* the band above the field: the keywords drawn out of the task, and their dotted reach into the memories */
.lm-band-caption { font-size: 16px; letter-spacing: .06em; fill: var(--ink-3); }
.lm-word { opacity: 0; cursor: pointer; pointer-events: bounding-box; }
.lm-word rect { fill: #fff; stroke: var(--brown); stroke-width: 1.4; stroke-dasharray: 5 4; transition: fill .3s, stroke-width .3s; }
.lm-word text { font-size: 19px; font-weight: 600; fill: var(--brown); }
.lm-word:hover rect, .lm-word.is-focus rect { fill: var(--sand); stroke-width: 2; }
.lm-reach { fill: none; stroke: var(--brown); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: .5 7; opacity: 0; transition: stroke-width .3s; }
.lm-reach.is-focus { stroke-width: 3; }
.lm-peek-ring { fill: #fff; stroke: var(--rule-strong); stroke-width: 1.5; stroke-dasharray: 4 4; }
.lm-peek .lm-label { paint-order: stroke; stroke: #fff; stroke-width: 8px; stroke-linejoin: round; }
.lm-peek-note { font-size: 13px; fill: var(--ink-3); paint-order: stroke; stroke: #fff; stroke-width: 6px; stroke-linejoin: round; }

.lm-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 14px; }
.lm-dimmer { display: inline-flex; align-items: center; gap: 12px; }
.lm-mode { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule-strong); background: #fff; font-size: 14px; color: var(--ink-3); transition: border-color .25s, color .25s; }
.lm-mode:hover { border-color: var(--brown); }
.lm-mode[aria-pressed="true"] { border-color: var(--brown); color: var(--brown); }
.lm-track { position: relative; width: clamp(84px, 12vw, 150px); height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--rule-strong), var(--brown)); }
.lm-knob { position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; border: 2px solid var(--brown); background: #fff; will-change: transform; }
.lm-count { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.lm-count b { display: inline-block; min-width: 1.3em; font-size: 20px; font-weight: 600; text-align: right; color: var(--brown); font-variant-numeric: tabular-nums; }
.lm-count span { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--rule-strong); }
.lm-step { min-height: 3.6em; margin-top: 10px; margin-bottom: 0; font-size: 15px; line-height: 1.8; color: var(--ink-2); }

.lm-why { min-height: 3.6em; margin: 20px 0 0; padding: 14px 20px; border-radius: 16px; border: 1px solid var(--rule); background: #fff; font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.lm-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 10px; padding: 0; list-style: none; font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.lm-legend i { display: inline-block; width: 18px; height: 18px; margin-right: 8px; border-radius: 50%; vertical-align: -4px; }
.lm-key-used { background: radial-gradient(circle, #57321e 0 4.5px, rgba(113, 67, 41, .2) 5px 7.5px, #f2d9bb 8px); }
.lm-key-dim { background: radial-gradient(circle, rgba(113, 67, 41, .3) 0 4.5px, transparent 5px); filter: blur(.6px); }
.lm-key-word { width: 30px !important; border-radius: 999px !important; border: 1.4px dashed var(--brown); background: #fff; }
.lm-key-reach { width: 26px !important; height: 2px !important; border-radius: 0 !important; vertical-align: middle !important; background: radial-gradient(circle, var(--brown) 0 1.2px, transparent 1.5px) 0 50% / 7px 3px repeat-x; }

/* ---------- 7f. 简历: experiences in time order, joined to the abilities they built ---------- */
.ledger-hero { position: relative; height: 240svh; }
.ledger-stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden; overflow: clip;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(14px, 3vh, 34px);
  padding: calc(var(--header-h) + 1.5vh) var(--gutter) max(10vh, 86px);
  background:
    radial-gradient(70% 60% at 0% 0%, rgba(244, 237, 230, .9), rgba(244, 237, 230, 0) 70%),
    #fff;
}
.ledger-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 32px; width: min(1080px, 100%); margin: 0 auto; will-change: transform; }
.ledger-head .kicker { flex-basis: 100%; margin: 0; }
.ledger-name { margin: 0; font-size: clamp(38px, min(5.2vw, 8.4vh), 80px); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; color: var(--brown); }
.ledger-sub { margin: 0 0 .35em; font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-2); }

.ledger {
  --cols: 6;
  position: relative; width: min(1080px, 100%); margin: 0 auto;
  display: grid; grid-template-columns: minmax(150px, 230px) repeat(var(--cols), minmax(0, 1fr)) 88px; align-items: stretch;
}
.ledger > :not(.ledger-threads) { position: relative; z-index: 1; }
.ledger-threads { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.lg-warp { stroke: var(--brown); stroke-opacity: .42; stroke-width: 1.6; stroke-linecap: round; transition: stroke-opacity .3s, stroke-width .3s; }
.lg-weft { stroke: var(--brown-soft); stroke-opacity: .55; stroke-width: 2.2; stroke-linecap: round; transition: stroke-opacity .3s, stroke .3s; }
.lg-warp.is-hot { stroke-opacity: .9; stroke-width: 2.2; }
.lg-weft.is-hot { stroke: var(--brown); stroke-opacity: .95; }
.ledger.has-hot .lg-warp:not(.is-hot), .ledger.has-hot .lg-weft:not(.is-hot) { stroke-opacity: .12; }

.lg-corner { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 0 0 12px; border-bottom: 1px solid var(--rule-strong); font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.lg-corner-end { padding: 0; }
.lg-col {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 1px;
  padding: 0 4px 12px; border-bottom: 1px solid var(--rule-strong); text-align: center;
  opacity: .34; transition: opacity .45s var(--ease), color .2s;
}
.lg-col::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 1.5px; height: 9px; margin-left: -.75px; background: var(--rule-strong); transition: background-color .3s; }   /* a tick on the time axis */
.lg-col small { font-size: 12px; line-height: 1.5; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lg-col b { font-size: 15px; line-height: 1.45; font-weight: 600; color: var(--ink); transition: color .2s; }
.lg-col.is-on { opacity: 1; }
.lg-col.is-on::after { background: var(--brown); }
.lg-col:hover b, .lg-col.is-hot b { color: var(--brown); }
.lg-col[href^="/"] b::after { content: " ↗"; font-weight: 400; color: var(--brown-soft); }

.lg-row, .lg-cell, .lg-count { min-height: clamp(38px, 6.4vh, 62px); border-bottom: 1px solid var(--rule); }
.lg-row { display: flex; align-items: center; gap: 12px; padding-right: 14px; font-size: 16px; line-height: 1.45; color: var(--ink-3); transition: color .35s, opacity .3s; }
.lg-row-n { flex: none; font-size: 12px; color: var(--brown-soft); font-variant-numeric: tabular-nums; }
.lg-row.is-on { color: var(--ink); }
.lg-row:hover, .lg-row.is-hot { color: var(--brown); }
.lg-cell { display: grid; place-items: center; }
.lg-cell i { width: 7px; height: 7px; border-radius: 50%; background: #ece3da; transition: transform .5s var(--spring), background-color .35s, box-shadow .45s, opacity .3s; }
.lg-cell.is-link i { width: 15px; height: 15px; border: 2px solid var(--rule-strong); background: #fff; }
.lg-cell.is-link.is-on i { border-color: var(--brown); background: var(--brown); box-shadow: 0 0 0 6px rgba(113, 67, 41, .12); transform: scale(1.08); }
.lg-cell.is-link { cursor: default; }
.lg-cell.is-hot i { box-shadow: 0 0 0 9px rgba(113, 67, 41, .18); transform: scale(1.22); }
.ledger.has-hot .lg-cell.is-on:not(.is-hot) i { opacity: .35; }
.ledger.has-hot .lg-row:not(.is-hot), .ledger.has-hot .lg-col:not(.is-hot) { opacity: .3; }
.lg-count { display: flex; align-items: center; padding-left: 14px; font-size: 13px; white-space: nowrap; color: var(--brown); font-variant-numeric: tabular-nums; }

.ledger-caption { display: flex; justify-content: center; margin: 0; min-height: 46px; }
.ledger-step {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 12px;
  max-width: min(760px, 100%); padding: 9px 22px; border-radius: 999px; border: 1px solid var(--rule); background: #fff;
  box-shadow: 0 10px 28px rgba(83, 51, 30, .07); font-size: var(--fs-small); line-height: 1.6; color: var(--ink-2); text-align: center;
}
.ledger-step b { font-weight: 600; color: var(--brown); }
.js .ledger-hero:not(.is-in) .ledger { visibility: hidden; }

.ledger-hero + .shell { margin-top: -26svh; padding-top: 16svh; }
.ledger-hero + .shell::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw);
  background: linear-gradient(rgba(255, 255, 255, 0), #fff 18svh); pointer-events: none;
}

/* résumé index: dots on a dotted margin line, filled as the reader passes them */
@media (min-width: 901px) {
  aside nav.toc-ledger { position: relative; }
  .toc-ledger::before { content: ""; position: absolute; left: 5px; top: 18px; bottom: 18px; border-left: 2px dotted var(--rule-strong); }
  .toc-ledger a { position: relative; padding-left: 28px; border-left: 0; }
  .toc-ledger a::before { content: ""; position: absolute; left: 1px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; border: 2px solid var(--rule-strong); background: #fff; transition: border-color .3s, background-color .3s, box-shadow .4s; }
  .toc-ledger a.is-past::before { border-color: var(--brown-soft); background: var(--brown-soft); }
  .toc-ledger a.is-active::before { border-color: var(--brown); background: var(--brown); box-shadow: 0 0 0 5px rgba(113, 67, 41, .12); }
}
.dm-cell { fill: #ebe1d6; }
.resume-entry .backlinks { margin: 18px 0 0; }
.resume-entry .backlinks + .resume-links { margin-top: 14px; }
.backlinks-ledger .backlink { padding-left: 12px; }
.ledger-chip-dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--brown); box-shadow: 0 0 0 4px rgba(113, 67, 41, .12); }

/* the 连点成线 opening names its relations once, under the legend */
.grid-relations { margin: 14px 0 0; font-size: 13px; letter-spacing: .1em; color: var(--ink-3); }
/* the pause after the last relation is drawn: the lines brighten once, the points answer, a caption names the moment */
.grid-hold {
  position: absolute; z-index: 3; left: 50%; bottom: 40px; transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 2 * var(--gutter)); margin: 0; padding: 9px 22px; border-radius: 999px;
  border: 1px solid var(--rule); background: #fff; box-shadow: 0 10px 28px rgba(83, 51, 30, .08);
  text-align: center; font-size: var(--fs-small); line-height: 1.7; color: var(--ink-2); opacity: 0; pointer-events: none;
}
.grid-hero.is-complete .grid-link { animation: link-glow 1.3s ease-in-out 1; }
.grid-hero.is-complete .memory-node.is-lit .node-dot { animation: dot-answer .9s var(--spring) 1; }
@keyframes link-glow { 40% { stroke-opacity: 1; stroke-width: 2.8; } }
@keyframes dot-answer { 40% { transform: scale(1.45); } }

/* smoother frames: layers the openings fade or move every frame get their own compositing layer */
.identity-aura, .hero-copy, .orbit-core, .grid-title { will-change: transform, opacity; }

/* the Chinese name sits beside the English one, a little quieter */
.zh-name { display: inline-block; margin-left: .7em; padding-left: .7em; border-left: 1px solid currentColor; letter-spacing: .06em; text-transform: none; white-space: nowrap; opacity: .78; }
.path-en { display: block; margin-top: 4px; font-size: 13px; letter-spacing: .06em; }

/* ---------- 8. Responsive ---------- */
@media (min-width: 1700px) {
  .orb[data-view="experience"] { --size: calc(23.5 * var(--u)); }
}
@media (max-width: 1366px) and (min-width: 901px) {
  .satellite-one { --x: 72%; --y: 22%; }   /* the top orb has moved left; the small one goes to the right, below the menu */
}
@media (max-width: 1100px) {
  .orb[data-view="evidence"] { --ty: 23%; }
  .orb[data-view="practice"] { --x: 38%; --ty: -25%; }   /* clear of the reading prompt at the bottom left */
  .brand-tag { display: none; }
  .nav-list a { padding: 0 14px; }
  .nav-cta { padding: 0 18px; }
  .intro-grid, .progress-row { grid-template-columns: 170px minmax(0, 1fr); }
  .layout { grid-template-columns: 170px minmax(0, 1fr); }
  .join-copy { margin-left: 170px; }
}
@media (max-width: 900px) {
  :root { --fs-body: 17px; }
  .nav-list a { height: 40px; padding: 0 12px; font-size: 14px; }
  .nav-cta { height: 50px; padding: 0 16px; font-size: 14px; }
  .orb[data-view="experience"] { --x: 15%; --y: 22%; --size: calc(34 * var(--u)); }
  .orb[data-view="evidence"]   { --x: 66%; --y: 8%;  --size: calc(34 * var(--u)); --ty: 22%; }
  .orb[data-view="agency"]     { --x: 92%; --y: 40%; --size: calc(40 * var(--u)); --tx: -17%; }
  .orb[data-view="memory"]     { --x: 82%; --y: 86%; --size: calc(39 * var(--u)); --ty: -15%; --tx: -7%; }
  .orb[data-view="practice"]   { --x: 30%; --y: 95%; --size: calc(40 * var(--u)); --ty: -22%; }
  .orb[data-view="relation"]   { --x: 8%;  --y: 66%; --size: calc(38 * var(--u)); --tx: 17%; }
  .satellite-one { --x: 41%; --y: 19%; --size: calc(15 * var(--u)); }
  .satellite-two { --x: 59%; --y: 83%; --size: calc(13 * var(--u)); }
  .orb-text { font-size: 17px; }
  .orb-num { font-size: 12px; }
  .orb-content { padding: 15%; gap: 12px; }
  .scroll-cue { left: auto; right: var(--gutter); }

  .intro-grid, .progress-row { grid-template-columns: 1fr; gap: 12px; }
  .margin-note { padding-top: 0; }
  .principle { grid-template-columns: 1fr; gap: 12px; padding: 26px 0; }
  .principle > p { padding-left: 40px; }
  .project-paths { grid-template-columns: 1fr; }
  .proof-pair { grid-template-columns: 1fr; }
  .progress-meta { flex-direction: row; justify-content: space-between; flex-wrap: wrap; }
  .progress-meta br { display: none; }
  .join-copy { margin-left: 0; }
  .view-chain { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
  .view-chain > li:nth-child(3n)::after, .view-chain > li:nth-child(3n + 1)::before { display: none; }

  .toc-fill { display: none; }
  .memory-grid { width: 94vw; column-gap: 18px; }
  .node-field { display: none; }
  .node-title { font-size: 15px; }
  .orbit-caption { bottom: 84px; }

  /* section index becomes one sticky row of pills under the header */
  .layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 0; }   /* minmax(0,…): the long row of pills must scroll, not widen the page */
  aside {
    position: sticky; top: var(--header-h); z-index: 5; min-width: 0;
    margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter);
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule);
  }
  aside > p, .aside-note { display: none; }
  aside nav { flex-direction: row; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
  aside nav::-webkit-scrollbar { display: none; }
  aside nav a { flex: none; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; font-size: 14px; white-space: nowrap; }
  aside nav a.is-active { background: var(--brown); border-color: var(--brown); color: #fff; }
  aside nav a.is-active span { color: rgba(255, 255, 255, .75); }
  .editorial-page main { padding-top: 28px; }
  .section, .resume-section, .editorial-page main > #start { scroll-margin-top: calc(var(--header-h) + 76px); }
  .page-orb-small { display: none; }
  .body { padding-right: 0; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; --fs-label: 13px; --fs-small: 15px; }
  .brand-mark { font-size: 27px; }
  .menu-toggle {
    position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
    height: 44px; padding: 0 18px 0 14px; border-radius: 999px;
    border: 1px solid var(--rule-strong); background: rgba(255, 255, 255, .94);
    font-size: 15px; color: var(--ink);
  }
  .menu-icon { position: relative; width: 18px; height: 12px; }
  .menu-icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
  .menu-icon i:first-child { top: 2px; }
  .menu-icon i:last-child { top: 9px; }
  .menu-open .menu-icon i:first-child { top: 5px; transform: rotate(45deg); }
  .menu-open .menu-icon i:last-child { top: 5px; transform: rotate(-45deg); }
  /* the menu opens as a circle from the menu button, the way pages and orbs open elsewhere;
     the four pages sit as dots on one thread, the current one filled */
  .site-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: calc(var(--header-h) + 30px) 26px 28px; overflow-y: auto; overscroll-behavior: contain;
    background:
      radial-gradient(circle, #e9ded3 1.1px, transparent 1.6px) 0 0 / 22px 22px,
      var(--paper-warm);
    clip-path: circle(0px at var(--menu-x, calc(100% - 60px)) var(--menu-y, 32px));
    visibility: hidden;
    transition: clip-path .5s cubic-bezier(.65, 0, .35, 1), visibility 0s .5s;
  }
  .menu-open .site-nav {
    clip-path: circle(var(--menu-r, 160vmax) at var(--menu-x, calc(100% - 60px)) var(--menu-y, 32px));
    visibility: visible; transition: clip-path .62s cubic-bezier(.2, .7, .2, 1);
  }
  .menu-open body { overflow: hidden; }
  .js.menu-open .home .brand-mark { opacity: 1; }   /* 问韬 stays in its corner while the menu is open */
  .nav-list { position: relative; flex-direction: column; gap: 4px; padding: 0 0 0 36px; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .nav-list::before { content: ""; position: absolute; left: 10px; top: 34px; bottom: 34px; width: 2px; border-radius: 2px; background: var(--rule-strong); transform-origin: top; transform: scaleY(0); transition: transform .3s ease; }
  .menu-open .nav-list::before { transform: none; transition: transform .7s cubic-bezier(.2, .7, .2, 1) .15s; }
  .nav-list li { border: 0; opacity: 0; transform: translateY(16px); transition: opacity .2s, transform .2s; }
  .menu-open .nav-list li { opacity: 1; transform: none; transition: opacity .5s cubic-bezier(.2, .7, .2, 1) calc(var(--k, 0) * 70ms + 200ms), transform .6s cubic-bezier(.2, .7, .2, 1) calc(var(--k, 0) * 70ms + 200ms); }
  .nav-list > li:nth-child(4) { --k: 1; }
  .nav-list > li:nth-child(5) { --k: 2; }
  .nav-list > li:nth-child(6) { --k: 3; }
  .nav-list > .nav-pill, .nav-list > .nav-ghost, .nav-list.has-pill > .nav-pill, .nav-list.has-pill > .nav-ghost { display: none; }
  .nav-list a { position: relative; flex-direction: column; align-items: flex-start; gap: 2px; height: auto; padding: 14px 4px; border-radius: 0; font-size: 24px; color: var(--ink); }
  .nav-list a::before {
    content: ""; position: absolute; left: -33px; top: 26px; width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid var(--rule-strong); background: var(--paper-warm); transition: background-color .25s, border-color .25s, transform .4s var(--spring);
  }
  .nav-list a[aria-current="page"]::before { border-color: var(--brown); background: var(--brown); box-shadow: 0 0 0 6px rgba(113, 67, 41, .14); }
  .nav-list a:active::before, .nav-list a.is-going::before { border-color: var(--brown); background: var(--brown); transform: scale(1.25); }
  .nav-list a:hover { background: none; }
  .nav-list a[aria-current="page"], .nav-list.has-pill a[aria-current="page"] { background: none; color: var(--brown); }
  .nav-list a[aria-current="page"] .nav-label { display: inline-flex; align-items: center; gap: 10px; }
  .nav-list a[aria-current="page"] .nav-label::after { content: "当前页面"; padding: 2px 10px; border-radius: 999px; background: var(--sand); font-size: 12px; color: var(--brown); }
  .nav-desc { position: static; transform: none; opacity: 1; padding: 0; border: 0; background: none; box-shadow: none; font-size: 14px; }
  .nav-cta { justify-content: center; height: 56px; margin-top: 30px; background: var(--brown); color: #fff; font-size: 17px; opacity: 0; transform: translateY(16px); transition: opacity .2s, transform .2s; }
  .menu-open .nav-cta { opacity: 1; transform: none; transition: opacity .5s cubic-bezier(.2, .7, .2, 1) .5s, transform .6s cubic-bezier(.2, .7, .2, 1) .5s; }

  /* phone: 问韬 a little higher; three orbs in an arc above it, three below; each label stays fully on
     screen and clear of the menu button; the ring of links runs just outside the title */
  :root { --mark-y: 41svh; --u: 1vw; --mark-size: clamp(112px, 31vw, 260px); }
  .hero { height: 181svh; }
  .reading::before { height: 64px; }   /* the white fade above the reading text stays below the bottom orb's words */
  .orb[data-view="experience"] { --x: 15%; --y: 17%; --size: 42vw; --tx: 8%; --ty: 0%; }
  .orb[data-view="evidence"]   { --x: 50%; --y: 10%; --size: 34vw; --tx: 0%; --ty: 4%; }
  .orb[data-view="agency"]     { --x: 86%; --y: 22%; --size: 40vw; --tx: -8%; --ty: 0%; }
  .orb[data-view="relation"]   { --x: 14%; --y: 79%; --size: 42vw; --tx: 9%; --ty: -2%; }
  .orb[data-view="practice"]   { --x: 50%; --y: 95%; --size: 46vw; --tx: 0%; --ty: -21%; }
  .orb[data-view="memory"]     { --x: 86%; --y: 80%; --size: 40vw; --tx: -8%; --ty: -2%; }
  .satellite-one { --x: 63%; --y: 26%; --size: 8vw; }
  .satellite-two { --x: 31%; --y: 69%; --size: 6vw; }
  .orb-text { font-size: 16px; letter-spacing: .02em; line-height: 1.45; }
  .orb-num { font-size: 11px; margin-bottom: -6px; }
  .orb-content { padding: 11%; gap: 7px; }
  .orb-cue { height: 30px; }
  .cue-icon { width: 28px; height: 28px; }
  .cue-icon::before, .cue-icon::after { width: 11px; }
  .orb::after { inset: -9px; }
  .identity-aura { width: 92vw; min-width: 0; max-width: none; top: 46%; aspect-ratio: 1; }
  .hero-question { font-size: 24px; letter-spacing: .02em; line-height: 1.45; }
  .hero-hint { font-size: 14px; }
  .scroll-cue { left: auto; right: 18px; bottom: 18px; width: 46px; height: 46px; padding: 0; justify-content: center; }
  .hero .scroll-cue { display: none; }   /* on a phone the orbs fill the bottom; scrolling needs no prompt */
  .scroll-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .reading { margin-top: -68svh; }

  .section-label { flex-wrap: wrap; gap: 6px 16px; }
  .section-label > span:last-child { text-align: left; }
  .principle > div { gap: 16px; }
  .principle > p { padding-left: 0; }
  .viewpoint-block { padding: 20px 16px; border-radius: 22px; }
  .view-chain { grid-template-columns: 1fr; row-gap: 0; margin-top: 18px; }
  .view-chain > li::before, .view-chain > li::after { display: block; left: 34px; right: auto; width: 2px; height: 50%; }
  .view-chain > li::before { top: 0; }
  .view-chain > li::after { top: 50%; }
  .view-chain > li:first-child::before, .view-chain > li:last-child::after { display: none; }
  .view-link { grid-template-columns: 42px minmax(0, 1fr); grid-template-areas: "dot num" "dot title" "dot reach"; justify-items: start; align-items: center; column-gap: 16px; row-gap: 2px; padding: 12px 8px 12px 13px; text-align: left; }
  .view-dot { margin: 0; align-self: center; }
  .view-reach { justify-content: flex-start; }
  .project-path { border-radius: 22px; }
  .project-path::before { width: 160px; top: -70px; right: -70px; }
  .path-top { padding-right: 60px; }
  .project-path h3 { margin-top: 30px; }
  .contact-link { padding: 14px 10px 14px 22px; }
  .home-footer > span:nth-child(2) { display: none; }
  .bloom-step { max-width: 50%; padding: 0 10px; }
  .dialog-close { top: 12px; right: 12px; }
  .dialog-note { display: none; }   /* on a phone the circle needs the whole height; the close button and Esc remain */
  .view-dialog-copy { text-wrap: pretty; }   /* longer than six lines here, where balancing stops */


  .page-orbs { width: 46vw; height: 46vw; }
  .editorial-page h1 { font-size: 33px; line-height: 1.5; margin-bottom: 22px; }
  .lead { font-size: 19px; }
  .overview { padding-left: 18px; }
  .tools { align-items: flex-start; flex-direction: column; }
  .section { padding: 40px 0; }
  .section h2 { font-size: 26px; }
  .section-intro { font-size: 16px; }
  summary { font-size: 18px; gap: 14px; padding: 18px 0; }
  summary::after { width: 30px; height: 30px; }
  .tag { margin-left: 0; }
  .record-fields { grid-template-columns: 1fr; gap: 4px; }
  .record-fields dd { margin-bottom: 16px; }
  .closing { font-size: 24px; }

  .orbit-name { font-size: 40px; }
  .orbit-sub { font-size: 18px; letter-spacing: .12em; }
  .orbit-caption { bottom: 82px; width: calc(100% - 40px); border-radius: 18px; }
  .grid-hero { height: 300svh; }
  .grid-hold { bottom: 28px; width: calc(100% - 40px); border-radius: 18px; }
  .memory-grid { width: calc(100% - 16px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 6px; top: 63%; }
  .memory-col { gap: 34px; }
  .memory-node { white-space: normal; padding: 7px 9px 7px 7px; gap: 7px; border-radius: 16px; }
  .node-dot { width: 12px; height: 12px; }
  .node-title { font-size: 13px; line-height: 1.4; word-break: keep-all; }   /* break only where the copy allows */
  .grid-intro-lead { font-size: 19px; }
  .grid-intro-text { font-size: 14px; line-height: 1.75; }
  .gov-chain li { font-size: 13px; }
  .paper-chain { padding-left: 30px; }
  .paper-chain .stage-row::before { left: -29px; }
}

/* ---------- 9. Motion & print preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero { height: 100svh; }
  .hero-stage { position: relative; }
  .reading { margin-top: 0; }
  .reading::before { display: none; }
  .js .identity { position: absolute; left: 50%; top: var(--mark-y); transform: translate(-50%, -50%); }
  .js .home .site-header.is-docked .brand-mark { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
  .no-vt body { animation: none; }
  .orbit-hero, .grid-hero { height: auto; }
  .orbit-stage, .grid-stage { position: relative; height: 100svh; }
  .orbit-hero + .shell, .grid-hero + .shell { margin-top: 0; padding-top: 0; }
  .orbit-hero + .shell::before, .grid-hero + .shell::before { display: none; }
  .js .memory-node { opacity: 1; }
  /* still version of 连点成线: the name above, the joined points below */
  .grid-stage { height: auto; min-height: 100svh; display: flex; flex-direction: column; align-items: center; gap: 36px; padding: calc(var(--header-h) + 44px) 0 56px; }
  .grid-title { position: relative; left: auto; top: auto; order: -1; transform: none !important; opacity: 1 !important; }
  .memory-grid { position: relative; left: auto; top: auto; transform: none !important; }
  .grid-intro { position: relative; left: auto; top: auto; width: min(680px, 100%); padding: 0 var(--gutter); text-align: center; transform: none !important; opacity: 1 !important; }
  .grid-intro-kicker { display: none; }
}
@media print {
  .hero, .identity, .site-header, aside, .tools, .skip, .view-dialog, .viewpoint-block, .page-orbs, .orbit-hero, .grid-hero, .gov-demo, .backlinks { display: none !important; }
  .orbit-hero + .shell, .grid-hero + .shell { margin-top: 0; padding-top: 0; }
  .orbit-hero + .shell::before, .grid-hero + .shell::before { display: none; }
  .editorial-page { padding-top: 0; }
  .reading { margin-top: 0; }
  .reading-shell, .shell { width: 100%; }
  .layout { display: block; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .home-section, .intro-section { padding: 24px 0; }
  details { break-inside: avoid; }
}

/* ---------- 10. New components: responsive, motion and print ---------- */
@media (max-width: 900px) {
  .lm-sticky { top: calc(var(--header-h) + 66px); }
  .ledger { grid-template-columns: minmax(130px, 200px) repeat(var(--cols), minmax(0, 1fr)) 74px; }
  .lg-col b { font-size: 14px; }
  .lg-row { font-size: 15px; }
}
@media (max-width: 640px) {
  .lightmap { padding: 16px 14px; border-radius: 20px; }
  .lm-sticky { top: calc(var(--header-h) + 66px); }
  .lm-sticky > * { width: min(100%, calc((100svh - var(--header-h) - 66px - 230px) * .769)); }
  .lm-tasks { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 10px; width: 100%; }
  .lm-tasks::-webkit-scrollbar { display: none; }
  .lm-task { height: 36px; padding: 0 14px; font-size: 14px; }
  .lm-stage { aspect-ratio: 600 / 780; border-radius: 14px; }
  .lm-word text { font-size: 24px; }
  .lm-band-caption { font-size: 22px; }
  .lm-label { font-size: 26px; }
  .lm-peek-note { font-size: 20px; }
  .lm-bar { width: 100%; margin-top: 10px; gap: 8px 14px; }
  .lm-step { width: 100%; font-size: 14px; min-height: 5.4em; margin-top: 6px; }
  .lm-count span { margin-left: 10px; padding-left: 10px; }
  .lm-why { padding: 12px 16px; font-size: 14px; }
  .lm-tasks-label { display: none; }

  .ledger-hero { height: 230svh; }
  .ledger-stage { gap: 14px; padding: calc(var(--header-h) + 10px) 16px max(9vh, 78px); }
  .ledger-head { gap: 4px 16px; }
  .ledger-name { font-size: 42px; }
  .ledger-sub { flex-basis: 100%; font-size: 15px; }
  .ledger { grid-template-columns: minmax(0, 1fr) repeat(var(--cols), 34px); }
  .lg-count, .lg-corner-end { display: none; }
  .lg-corner { padding-bottom: 8px; font-size: 11px; }
  .lg-col { padding: 0 0 8px; }
  .lg-col small { display: none; }
  .lg-col b { writing-mode: vertical-rl; text-orientation: mixed; white-space: nowrap; font-size: 13px; line-height: 1.2; letter-spacing: .04em; }
  .lg-col[href^="/"] b::after { content: ""; }
  .lg-row, .lg-cell { min-height: 46px; }
  .lg-row { gap: 8px; padding-right: 8px; font-size: 14px; line-height: 1.35; }
  .lg-row-n { display: none; }
  .lg-cell.is-link i { width: 13px; height: 13px; }
  .ledger-caption { min-height: 0; }
  .ledger-step { padding: 8px 16px; border-radius: 18px; font-size: 14px; }
  .ledger-hero .scroll-cue { display: none; }
  .zh-name { display: block; width: max-content; margin: 3px 0 0; padding: 0; border: 0; }
}
@media (max-width: 640px) and (max-height: 700px) {
  :root { --mark-y: 39svh; }
  .orb[data-view="experience"] { --y: 17%; --size: 38vw; }
  .orb[data-view="evidence"]   { --y: 9%;  --size: 31vw; }
  .orb[data-view="agency"]     { --y: 21%; --size: 39vw; }
  .orb[data-view="relation"]   { --y: 85%; --size: 38vw; }
  .orb[data-view="practice"]   { --y: 95%; --size: 42vw; }
  .orb[data-view="memory"]     { --y: 86%; --size: 36vw; }
  .satellite-two { --y: 74%; }
  .orb-text { font-size: 14px; }
}
@media (max-height: 760px) and (min-width: 641px) {
  .grid-intro { width: min(940px, calc(100% - 2 * var(--gutter))); }
  .grid-intro-lead { font-size: 21px; margin-bottom: 4px !important; }
  .memory-grid { top: 60%; }
}
@media (max-height: 699px) {
  .lm-scene { height: auto; }
  .lm-sticky { position: static; }
  .lm-sticky > * { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .lm-scene { height: auto; }
  .lm-sticky { position: static; }
  .ledger-hero { height: auto; }
  .ledger-stage { position: relative; height: auto; min-height: 100svh; }
  .ledger-hero + .shell { margin-top: 0; padding-top: 0; }
  .ledger-hero + .shell::before { display: none; }
  .ledger-hero .scroll-cue { display: none; }
}
@media print {
  .ledger-hero, .lightmap, .grid-intro { display: none !important; }
  .ledger-hero + .shell { margin-top: 0; padding-top: 0; }
  .ledger-hero + .shell::before { display: none; }
}
