/* ═══════════════════════════════════════════════════════════
   王昊 · 信号名片 — 黑白双态
   tokens: 无彩色。唯一的强调手段是「反转」与「运动」。
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink: #0E0E0C;          /* 近黑（暖） */
  --ink-soft: #4A4A45;     /* 纸上次级文字 */
  --paper: #F5F5F3;        /* 骨白 */
  --paper-dim: #ECECE8;    /* 骨白（沉） */
  --line-on-paper: rgba(14, 14, 12, 0.16);
  --line-on-ink: rgba(245, 245, 243, 0.22);
  --ghost: rgba(245, 245, 243, 0.6);

  --f-display: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --f-latin: "Baskerville", "Palatino", "Times New Roman", serif;
  --f-mono: "SF Mono", ui-monospace, "Menlo", "Consolas", "Liberation Mono", monospace;
  --f-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;

  --pad-x: clamp(24px, 5vw, 72px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.mono { font-family: var(--f-mono); }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus { outline: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* ── 语言切换：中英成对文本 ─────────────────────────────── */
html[data-lang="zh"] .en { display: none; }
html[data-lang="en"] .zh { display: none; }

/* ── 顶栏（difference 混合，黑白两幕都可见）───────────────── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px var(--pad-x);
  mix-blend-mode: difference;
  color: var(--paper);
  pointer-events: none;
  transition: transform 0.45s var(--ease-out), opacity 0.45s var(--ease-out);
}
.topbar.hide { transform: translateY(-110%); opacity: 0; }
.topbar .brand {
  font-size: 11px;
  letter-spacing: 0.22em;
}
.topbar .brand em {
  font-style: normal;
  opacity: 0.45;
  margin-left: 0.8em;
  letter-spacing: 0.12em;
}
.controls { display: flex; gap: 10px; pointer-events: auto; }
.ctl {
  border: 1px solid rgba(245, 245, 243, 0.4);
  color: var(--paper);
  padding: 5px 13px;
  font-size: 11px;
  letter-spacing: 0.14em;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.ctl:hover { background: var(--paper); color: #000; }
.ctl .st, .ctl .lg { font-weight: 400; opacity: 0.35; transition: opacity 0.3s; }
.st-sep { opacity: 0.35; margin: 0 5px; }
html[data-state="flow"]  .st-flow  { opacity: 1; font-weight: 700; }
html[data-state="field"] .st-field { opacity: 1; font-weight: 700; }
html[data-lang="zh"] .lg-zh { opacity: 1; font-weight: 700; }
html[data-lang="en"] .lg-en { opacity: 1; font-weight: 700; }

/* ═══════════ 第一幕 · 黑 · 信号场 ═══════════ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(76px, 12vh, 128px) var(--pad-x) clamp(20px, 4vh, 44px);
  position: relative;
  overflow: hidden;
}
.hero ::selection { background: var(--paper); color: var(--ink); }

.name {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(88px, 15vw, 196px);
  line-height: 0.98;
  letter-spacing: 0.05em;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s var(--ease-out) 0.15s;
  user-select: none;
  width: fit-content;
}
html.is-in .name { clip-path: inset(0 0 -8% 0); }

.name-latin {
  font-family: var(--f-latin);
  font-style: italic;
  font-size: clamp(28px, 4.6vw, 60px);
  letter-spacing: 0.03em;
  line-height: 1;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s var(--ease-out) 0.7s, transform 0.8s var(--ease-out) 0.7s;
  margin: clamp(-18px, -1.2vw, -8px) 0 0 clamp(56px, 22vw, 340px);
  width: fit-content;
}
html.is-in .name-latin { opacity: 0.88; transform: none; }

.thesis {
  max-width: 36em;
  margin: clamp(14px, 2.5vh, 26px) 0 0;
  color: rgba(245, 245, 243, 0.82);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s var(--ease-out) 0.9s, transform 0.8s var(--ease-out) 0.9s;
}
html.is-in .thesis { opacity: 1; transform: none; }

/* 信号舞台 */
.signal-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: clamp(200px, 34vh, 400px);
  margin: clamp(16px, 3.5vh, 40px) 0 0;
}
.sig {
  position: absolute;
  left: 0; top: 0;
  font-family: var(--f-display);
  letter-spacing: 0.05em;
  white-space: nowrap;
  color: var(--paper);
  padding: 1px 5px;
  border: 1px solid transparent;
  transition: opacity 0.25s, background 0.25s, border-color 0.25s;
  will-change: transform;
  opacity: 0;
}
html.is-in .sig { opacity: var(--o, 0.8); }
.sig.d1 { font-size: clamp(23px, 3vw, 31px);   font-weight: 700; --o: 0.96; }
.sig.d2 { font-size: clamp(18px, 2.3vw, 23px); font-weight: 600; --o: 0.78; }
.sig.d3 { font-size: clamp(14px, 1.8vw, 17px); font-weight: 400; --o: 0.6; }
.sig.d4 { font-size: clamp(12px, 1.5vw, 14px); font-weight: 400; --o: 0.48; }
.sig:hover, .sig:focus-visible { opacity: 1 !important; }
.sig.active {
  background: var(--paper);
  color: var(--ink);
  opacity: 1 !important;
}

/* 解码行 */
.decode {
  width: min(760px, 100%);
  min-height: 2.4em;
  border-top: 1px solid var(--line-on-ink);
  padding-top: 12px;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--ghost);
}
.decode.lit { color: var(--paper); }

.hero-status {
  margin-top: clamp(12px, 2vh, 20px);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(245, 245, 243, 0.58);
}
.scrollcue {
  position: absolute;
  right: var(--pad-x);
  bottom: clamp(20px, 4vh, 44px);
  font-size: 14px;
  opacity: 0.5;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(7px); } }

/* ═══════════ 第二幕 · 白 · 档案纸 ═══════════ */
.proof, .files, .skills {
  background: var(--paper);
  color: var(--ink);
}
.proof ::selection, .files ::selection, .skills ::selection {
  background: var(--ink); color: var(--paper);
}

.proof { padding: clamp(52px, 9vh, 104px) var(--pad-x); }
.counters {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.counters li {
  border-left: 1px solid var(--line-on-paper);
  padding-left: clamp(12px, 1.6vw, 22px);
}
.num {
  display: block;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.cap {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-top: 6px;
  line-height: 1.6;
}
.cap i {
  display: block;
  font-family: var(--f-latin);
  font-style: italic;
  font-size: 11px;
  opacity: 0.62;
  letter-spacing: 0.04em;
}
.cnt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
}
.cnt:hover .num { text-decoration: underline; text-underline-offset: 6px; }
.inv-link {
  margin-top: clamp(22px, 4vh, 36px);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  border: 1px solid var(--line-on-paper);
  padding: 7px 16px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.inv-link:hover, .inv-link:focus-visible {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* 档案 */
.files { padding: clamp(52px, 9vh, 110px) var(--pad-x) clamp(60px, 10vh, 120px); }
.eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
  margin-bottom: clamp(26px, 5vh, 52px);
}

.file { border-top: 1px solid var(--line-on-paper); }
.file:last-of-type { border-bottom: 1px solid var(--line-on-paper); }

.file-head {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: clamp(14px, 3vw, 40px);
  padding: clamp(20px, 3.6vh, 34px) 0;
  text-align: left;
}
.file-no {
  font-size: 12px;
  letter-spacing: 0.16em;
  padding: 3px 9px;
  border: 1px solid var(--line-on-paper);
  transition: background 0.3s, color 0.3s;
}
.file-head[aria-expanded="true"] .file-no,
.file-head:hover .file-no { background: var(--ink); color: var(--paper); }
.file-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(26px, 4.2vw, 52px);
  line-height: 1.18;
  letter-spacing: 0.02em;
  transition: transform 0.4s var(--ease-out);
}
.file-head:hover .file-title { transform: translateX(10px); }
.file-meta {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  text-align: right;
}

.file-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
}
.file.open .file-body { grid-template-rows: 1fr; }
.file-inner { overflow: hidden; min-height: 0; }
.file-lead {
  font-size: 17.5px;
  max-width: 42em;
  margin-bottom: 14px;
  font-weight: 500;
}
.file-facts {
  list-style: none;
  max-width: 48em;
}
.file-facts li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.file-facts li::before {
  content: "—";
  position: absolute;
  left: 0;
  opacity: 0.55;
}
.file-stack {
  margin: 18px 0 clamp(22px, 4vh, 36px);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: rgba(14, 14, 12, 0.48);
}

.file-link { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: baseline; }
.att {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding: 2px 3px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.att:hover, .att:focus-visible { background: var(--ink); color: var(--paper); }

/* ALL 抽屉：全部作品与内容清单 */
.inv { padding-bottom: clamp(20px, 3.5vh, 32px); }
.inv-group {
  display: grid;
  grid-template-columns: minmax(110px, 190px) 1fr;
  gap: clamp(14px, 3vw, 36px);
  padding: 14px 0;
  border-top: 1px dashed var(--line-on-paper);
}
.inv-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
}
.inv-items { list-style: none; }
.inv-it {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 14px;
  color: var(--ink-soft);
}
.inv-it::before { content: "—"; position: absolute; left: 0; opacity: 0.5; }
.inv-t { color: var(--ink); }
.inv-note { margin-left: 8px; font-size: 12px; opacity: 0.7; }
.inv-it .go { margin-left: 10px; }

/* 内嵌音乐播放器 */
.player {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
  vertical-align: middle;
}
.play-btn {
  flex: none;
  width: 24px; height: 24px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 9px;
  line-height: 1;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 1px;
  transition: background 0.2s, color 0.2s;
}
.play-btn:hover, .player.on .play-btn { background: var(--ink); color: var(--paper); }
.play-title { font-size: 10.5px; letter-spacing: 0.1em; color: var(--ink-soft); font-style: italic; }
.play-bar {
  position: relative;
  width: 90px; height: 2px;
  background: var(--line-on-paper);
  cursor: pointer;
}
.play-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: var(--ink); }
.play-time { font-size: 10px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
@media (max-width: 620px) {
  .player { margin-left: 0; margin-top: 6px; flex-wrap: wrap; }
}
.inv-it.pend .inv-t { color: var(--ink-soft); }
.inv-it.pend::before { content: "◌"; }
.inv-tail {
  margin-top: 14px;
  font-family: var(--f-latin);
  font-style: italic;
  font-size: 12.5px;
  color: var(--ink-soft);
}
@media (max-width: 860px) {
  .inv-group { grid-template-columns: 1fr; gap: 4px; }
}

/* 能力结构 */
.skills {
  background: var(--paper-dim);
  padding: clamp(52px, 9vh, 104px) var(--pad-x);
}
.grp-list { display: block; }
.grp {
  display: grid;
  grid-template-columns: minmax(130px, 230px) 1fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  padding: clamp(16px, 2.6vh, 24px) 0;
  border-top: 1px solid var(--line-on-paper);
}
.grp:last-of-type { border-bottom: 1px solid var(--line-on-paper); }
.grp-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 21px);
  letter-spacing: 0.04em;
}
.grp-words {
  font-size: 12px;
  letter-spacing: 0.12em;
  line-height: 2.3;
  color: var(--ink-soft);
}

/* ═══════════ 第三幕 · 黑 · 封底 ═══════════ */
.coda {
  background: var(--ink);
  color: var(--paper);
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 12vh, 140px) var(--pad-x);
}
.coda ::selection { background: var(--paper); color: var(--ink); }
.coda .eyebrow { color: var(--ghost); }
.coda-line {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(28px, 4.6vw, 54px);
  line-height: 1.42;
  max-width: 19em;
  margin-bottom: clamp(30px, 6vh, 60px);
  letter-spacing: 0.02em;
}
.links { border-top: 1px solid var(--line-on-ink); max-width: 860px; }
.link {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: baseline;
  padding: 17px 14px;
  margin: 0 -14px;
  border-bottom: 1px solid var(--line-on-ink);
  color: var(--paper);
  text-decoration: none;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
a.link:hover, a.link:focus-visible,
button.link:hover, button.link:focus-visible { background: var(--paper); color: var(--ink); }
button.link { width: 100%; text-align: left; }
.copy-hint { font-size: 11px; letter-spacing: 0.16em; opacity: 0.5; margin-left: 10px; }
.link-k { font-size: 11px; letter-spacing: 0.22em; opacity: 0.55; }
.link-v { font-size: clamp(15px, 2.2vw, 21px); overflow-wrap: anywhere; }
.link-muted {
  display: block;
  opacity: 0.42;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.rewrite {
  margin-top: clamp(44px, 8vh, 84px);
  font-size: 12px;
  letter-spacing: 0.2em;
  opacity: 0.72;
}
.caret {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  background: var(--paper);
  margin-left: 7px;
  vertical-align: text-bottom;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.colophon {
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: 0.26em;
  opacity: 0.35;
}

/* ── 收束 · 此刻（滚动汇聚舞台）───────────────────────── */
.conv-wrap {
  height: 170vh;
  background: var(--paper-dim);
  color: var(--ink);
}
.conv-wrap ::selection { background: var(--ink); color: var(--paper); }
.conv-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 var(--pad-x);
}
.conv-eyebrow {
  position: absolute;
  top: clamp(48px, 8vh, 88px);
  left: var(--pad-x);
  margin-bottom: 0;
}
.conv-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.fg {
  position: absolute;
  left: 0; top: 0;
  white-space: nowrap;
  will-change: transform, opacity;
  opacity: 0;
}
.fg-b { font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 2.6vw, 30px); }
.fg-m { font-family: var(--f-display); font-weight: 400; font-size: clamp(15px, 1.9vw, 20px); }
.fg-n { font-family: var(--f-mono); font-size: clamp(11px, 1.4vw, 13px); letter-spacing: 0.12em; color: var(--ink-soft); }

.conv-core {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.conv-core.lit { opacity: 1; transform: none; }
.conv-line {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(26px, 3.8vw, 46px);
  line-height: 1.55;
  letter-spacing: 0.02em;
  margin-bottom: clamp(14px, 2.6vh, 24px);
  min-height: 3.2em;   /* 打字过程中不让下方内容跳动 */
}
.type-caret {
  display: none;
  width: 3px;
  height: 0.92em;
  background: currentColor;
  margin-left: 5px;
  vertical-align: -0.08em;
  animation: blink 1s steps(1) infinite;
}
.conv-core.lit .type-caret { display: inline-block; }
.conv-intro {
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0 auto clamp(24px, 4.5vh, 44px);
}
.conv-core .conv-intro,
.conv-core .now-mini {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.conv-core.lit .conv-intro { opacity: 1; transform: none; transition-delay: 1s; }
.conv-core.lit .now-mini  { opacity: 1; transform: none; transition-delay: 1.35s; }

/* 此刻在做：小入口，不占据主线 */
.now-mini { margin-top: clamp(14px, 2.6vh, 24px); }
.now-tgl {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  border: 1px solid var(--line-on-paper);
  padding: 7px 16px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.now-tgl:hover, .now-tgl:focus-visible,
.now-mini.open .now-tgl {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.now-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
}
.now-mini.open .now-body { grid-template-rows: 1fr; }
.now-clip { overflow: hidden; min-height: 0; }
.conv-core .now-list {
  max-width: 560px;
  margin: 18px auto 0;
  text-align: left;
}
.conv-core .now-item { grid-template-columns: 74px 1fr; padding: 12px 0; }
.conv-core .now-t { font-size: clamp(15px, 1.8vw, 18px); }
.conv-core .now-d { font-size: 12.5px; }
.conv-core .now-upd { text-align: center; margin-top: 14px; }

.conv-cue {
  position: absolute;
  bottom: clamp(18px, 4vh, 40px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  transition: opacity 0.6s var(--ease-out);
}
.conv-cue.done { opacity: 0; }
.cue-bar {
  position: relative;
  width: 130px;
  height: 1px;
  background: var(--line-on-paper);
}
.cue-bar i {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: var(--ink);
}
.go {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding: 1px 2px;
  margin-left: 10px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.go:hover, .go:focus-visible { background: var(--ink); color: var(--paper); }

/* 此刻在做 · 状态行 */
.now-list { list-style: none; }
.now-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: clamp(14px, 3vw, 32px);
  align-items: baseline;
  padding: clamp(14px, 2.4vh, 20px) 0;
  border-top: 1px solid var(--line-on-paper);
}
.now-item:last-of-type { border-bottom: 1px solid var(--line-on-paper); }
.now-st { font-size: 11px; letter-spacing: 0.14em; color: var(--ink-soft); }
.now-t {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: 0.02em;
}
.now-d { font-size: 14px; color: var(--ink-soft); max-width: 44em; }
.now-upd { margin-top: 16px; font-size: 10.5px; letter-spacing: 0.2em; color: rgba(14, 14, 12, 0.42); }

/* ── 滚动显现 ─────────────────────────────────────────── */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease-out) var(--d, 0s),
              transform 0.75s var(--ease-out) var(--d, 0s);
}
.rv.rv-in { opacity: 1; transform: none; }

/* ── 自定义光标（仅精确指针）──────────────────────────── */
.cursor { display: none; }
html.has-cursor .cursor {
  display: block;
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}
html.has-cursor * { cursor: none !important; }
.cursor-dot, .cursor-ring {
  position: absolute;
  top: 0; left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 6px; height: 6px; background: var(--paper); }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(245, 245, 243, 0.75);
  transition: width 0.28s var(--ease-out), height 0.28s var(--ease-out), opacity 0.28s;
}
html.has-cursor.cursor-hot .cursor-ring { width: 52px; height: 52px; opacity: 0.95; }

/* ── 响应式 ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .counters { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); row-gap: 30px; }
  .file-head { grid-template-columns: auto 1fr; }
  .file-meta { grid-column: 2; text-align: left; margin-top: 2px; }
  .grp { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 620px) {
  body { font-size: 15px; }
  .hero { padding-top: 88px; }
  .name-latin { font-size: 24px; margin: -4px 0 0 44px; }
  .sig.d1 { font-size: 21px; }
  .sig.d2 { font-size: 17px; }
  .sig.d3 { font-size: 13.5px; }
  .sig.d4 { font-size: 12px; }
  .signal-stage { min-height: 46vh; }
  .topbar .brand em { display: none; }
  .link { grid-template-columns: 1fr; gap: 2px; padding: 14px; }
  .now-item { grid-template-columns: 74px 1fr; }
  .conv-wrap { height: 150vh; }
  .conv-line { font-size: 22px; }
}

/* ── 降低动态 ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .name { clip-path: none; }
  .name-latin, .thesis { opacity: 1; transform: none; }
  html.is-in .sig, .sig { opacity: var(--o, 0.8); }
  .rv { opacity: 1; transform: none; }
  .scrollcue, .caret { animation: none; }
  .conv-wrap { height: auto; }
  .conv-stage { position: static; height: auto; overflow: visible;
    padding: clamp(52px, 9vh, 104px) var(--pad-x); }
  .conv-eyebrow { position: static; margin-bottom: clamp(26px, 5vh, 52px); }
  .conv-field { display: none; }
  .conv-core { opacity: 1; transform: none; }
  .conv-core .conv-intro, .conv-core .now-mini {
    opacity: 1; transform: none; }
  .conv-cue, .type-caret { display: none !important; }
  .topbar { transition: none; }
  html.has-cursor .cursor { display: none; }
  html.has-cursor * { cursor: auto !important; }
}
