/* ============================================================
   Wentao Hu · Personal Homepage —— 亮色版「纸上的日光」
   配色：暖纸底 + 浓墨字 + 朱砂红（印章色）
   字体：中文宋体（Mac 原生 Songti SC）× 西文衬线 × 等宽
   ============================================================ */

:root {
  --bg: #f5f2ea;            /* 纸色（会被「此刻的光线」微调） */
  --bg-soft: #efeade;
  --surface: #fbf9f3;       /* 卡片纸面 */
  --ink: #1c1915;           /* 浓墨 */
  --ink-dim: #6f695c;
  --ink-faint: #a89f8e;
  --line: rgba(28, 25, 21, 0.10);
  --accent: #c8402a;        /* 朱砂 */
  --accent-soft: rgba(200, 64, 42, 0.08);
  --sun: rgba(255, 243, 214, 0.9);   /* 日光 */
  --serif: "New York", "Songti SC", "STSong", "SimSun", ui-serif, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", "Menlo", monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-swift: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 1.2s ease; /* 换时段时纸色缓缓过渡 */
}

::selection { background: var(--accent); color: #fff; }

.mono { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; }

kbd {
  font-family: var(--mono);
  font-size: 0.68rem;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 0.1em 0.45em;
  color: var(--ink-dim);
  background: var(--surface);
}

a { color: inherit; }

/* ---------- 纸张噪点 ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1.5%); }
  50% { transform: translate(1.5%, -1%); }
  75% { transform: translate(-1%, -2%); }
  100% { transform: translate(0, 0); }
}

/* ---------- 日光层：跟随鼠标的暖光 ---------- */
.sunlight {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(560px circle at var(--sx, 72%) var(--sy, 18%),
              var(--sun), rgba(255, 243, 214, 0) 68%);
  opacity: 0.8;
}

/* ---------- 自定义光标 ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 3000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 6px; height: 6px; background: var(--accent); }
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(28, 25, 21, 0.35);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              border-color 0.35s, background 0.35s;
}
.cursor-ring.is-hover {
  width: 64px; height: 64px;
  border-color: var(--accent);
  background: rgba(200, 64, 42, 0.07);
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- 转场圆 ---------- */
.wipe {
  position: fixed;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: 1500;
}
.wipe.is-open {
  transition: transform 0.7s var(--ease-swift);
  transform: translate(-50%, -50%) scale(300);
}
.wipe.is-close {
  transition: transform 0.6s var(--ease-swift);
  transform: translate(-50%, -50%) scale(0);
}

/* ---------- 顶栏 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-seal {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  background: var(--accent);
  color: #f8f3e8;
  font-family: var(--serif);
  font-weight: 700; font-size: 0.8rem;
  border-radius: 6px;
  transform: rotate(-4deg);
  box-shadow: 0 6px 18px rgba(200, 64, 42, 0.28);
  transition: transform 0.5s var(--ease-out);
}
.brand:hover .brand-seal { transform: rotate(4deg) scale(1.08); }
.brand-name {
  font-family: var(--mono);
  font-size: 0.72rem; letter-spacing: 0.22em;
  color: var(--ink);
}
.nav-right { display: flex; align-items: center; gap: 1.4rem; }
.nav-clock { color: var(--ink-faint); }

.mode-switch {
  position: relative;
  display: flex;
  border: 1px solid rgba(28, 25, 21, 0.25);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  padding: 3px;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em;
  color: var(--ink);
}
.mode-option {
  position: relative; z-index: 1;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  transition: color 0.4s;
  color: var(--ink-dim);
}
.mode-option.is-on { color: #f8f3e8; }
.mode-pill {
  position: absolute; top: 3px; bottom: 3px;
  border-radius: 999px;
  background: var(--ink);
  transition: left 0.45s var(--ease-swift), width 0.45s var(--ease-swift);
  z-index: 0;
}

/* ---------- 通用区块 ---------- */
main { position: relative; z-index: 1; }
section { padding: 8rem 6vw; }
.section-label {
  color: var(--ink-faint);
  margin-bottom: 3rem;
  display: flex; align-items: center; gap: 1rem;
}
.section-label::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}

/* 逐行浮现 */
.reveal-line { overflow: hidden; }
.reveal-line > span {
  display: inline-block;
  transform: translateY(120%);
  transition: transform 1.1s var(--ease-out);
}
.reveal-line.is-in > span { transform: translateY(0); }

/* 滚动浮现 */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(6px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 0 6vw;
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* 日晷：右侧缓转的刻度盘 */
.sundial {
  position: absolute;
  right: -10vmin; top: 50%;
  transform: translateY(-50%);
  width: 74vmin; height: 74vmin;
  pointer-events: none;
  opacity: 0.55;
}
.sundial .ticks { transform-box: view-box; transform-origin: center; animation: sundial-spin 600s linear infinite; }
@keyframes sundial-spin { to { transform: rotate(360deg); } }

.hero-inner { position: relative; z-index: 1; width: 100%; }
.hero-eyebrow { color: var(--ink-faint); margin-bottom: 2rem; }
.hero-eyebrow .daylight { color: var(--accent); }
.hero-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(3.2rem, 11vw, 10rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  display: flex; flex-wrap: wrap;
  color: var(--ink);
  /* 长投影由 JS 随鼠标驱动 */
}
.hero-name .ch { display: inline-block; overflow: hidden; }
.hero-name .ch > span {
  display: inline-block;
  transform: translateY(115%) rotate(4deg);
  transition: transform 1.2s var(--ease-out);
}
.hero-name.is-in .ch > span { transform: translateY(0) rotate(0); }
.hero-name .sp { width: 0.35em; }
.hero-tagline {
  margin-top: 2.2rem;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: var(--ink-dim);
}
.hero-rule {
  width: 0;
  height: 2px;
  background: var(--accent);
  margin-top: 2rem;
  transition: width 1.4s var(--ease-out) 0.9s;
}
.hero-rule.is-in { width: 120px; }
.hero-foot {
  margin-top: 5rem;
  display: flex; justify-content: space-between; align-items: flex-end;
  color: var(--ink-faint);
}
.hero-scroll { animation: float-y 2.6s ease-in-out infinite; }
@keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.hero-hint kbd { margin: 0 0.2em; }

/* ---------- 宣言 ---------- */
.manifesto { max-width: 1100px; }
.manifesto-lines p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1.5;
  margin-bottom: 1.6rem;
  color: var(--ink-faint);
  transition: color 0.8s;
}
.manifesto-lines p.is-in { color: var(--ink); }
.manifesto-lines p em { font-style: normal; color: var(--accent); }

/* ---------- 作品列表 ---------- */
.works { position: relative; }
.works-row {
  display: grid;
  grid-template-columns: 5rem 1fr auto 3rem;
  align-items: baseline;
  gap: 2rem;
  padding: 2.6rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  position: relative;
  cursor: pointer;
}
.works-row:last-child { border-bottom: 1px solid var(--line); }
.works-row::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.55s var(--ease-swift);
  z-index: -1;
}
.works-row:hover::before { transform: scaleY(1); }
.works-row > * { transition: color 0.4s, transform 0.55s var(--ease-out); }
.works-row:hover > * { color: var(--bg); }
.works-num { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-faint); }
.works-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
}
.works-title small {
  display: block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink-dim);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}
.works-meta { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-faint); text-align: right; line-height: 2; }
.works-arrow { font-family: var(--serif); font-size: 1.6rem; }
.works-row:hover .works-arrow { transform: rotate(-45deg) translateX(4px); }
.works-row:hover .works-num,
.works-row:hover .works-meta,
.works-row:hover .works-title small { color: rgba(245, 242, 234, 0.55); }

/* 跟随鼠标的悬浮预览卡 */
.works-preview {
  position: fixed;
  width: 300px;
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  pointer-events: none;
  z-index: 900;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.3s, transform 0.35s var(--ease-out);
  box-shadow: 0 24px 70px rgba(28, 25, 21, 0.14);
}
.works-preview.is-on { opacity: 1; transform: scale(1); }
.works-preview h4 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 0.4rem; }
.works-preview p { font-size: 0.82rem; color: var(--ink-dim); line-height: 1.6; }
.works-preview .pv-metrics { display: flex; gap: 1.2rem; margin-top: 0.9rem; }
.works-preview .pv-metrics b { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--accent); }
.works-preview .pv-metrics span { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; color: var(--ink-faint); }

/* ---------- 滚动横幅 ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
  white-space: nowrap;
}
.marquee-track { display: inline-flex; gap: 3.5rem; will-change: transform; }
.marquee-track span {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink-faint);
  display: inline-flex; align-items: center; gap: 3.5rem;
}
.marquee-track span::after { content: "·"; color: var(--accent); }

/* ---------- 页脚 ---------- */
.footer { padding: 7rem 6vw 4rem; text-align: center; }
.footer-seal {
  width: 72px; height: 72px;
  margin: 0 auto 2rem;
  display: grid; place-items: center;
  background: var(--accent);
  color: #f8f3e8;
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem;
  border-radius: 12px;
  transform: rotate(-6deg);
  box-shadow: 0 18px 44px rgba(200, 64, 42, 0.3);
  transition: transform 0.6s var(--ease-out);
}
.footer-seal:hover { transform: rotate(3deg) scale(1.06); }
/* 滚进视口时「盖章」 */
.footer-seal.stamp { animation: stamp-in 0.7s var(--ease-out); }
@keyframes stamp-in {
  0% { transform: scale(1.9) rotate(-24deg); opacity: 0; }
  60% { transform: scale(0.94) rotate(-4deg); opacity: 1; }
  100% { transform: scale(1) rotate(-6deg); opacity: 1; }
}
.footer-line { color: var(--ink-dim); font-size: 0.9rem; }
.footer-links { margin-top: 1rem; display: flex; gap: 1.6rem; justify-content: center; }
.footer-links a { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.footer-hint { margin-top: 2.5rem; color: var(--ink-faint); }
.footer-hint code { color: var(--ink-dim); }

/* ============================================================
   对内 · 驾驶舱
   ============================================================ */

.cockpit-head { padding-top: 10rem; padding-bottom: 3rem; }
.cockpit-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cockpit-sub { color: var(--ink-dim); margin-top: 1rem; max-width: 560px; }

/* 数据带 */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0 6vw;
}
.stat { padding: 2.2rem 1.5rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.14em;
  color: var(--ink-faint);
}

/* 链路图 */
.graph-wrap { width: 100%; overflow: hidden; }
.graph-wrap svg { width: 100%; height: auto; display: block; }
/* 窄屏时 SVG 里的字会缩得太小，换成文字列表 */
.graph-list { display: none; }
@media (max-width: 700px) {
  .graph-wrap svg { display: none; }
  .graph-list { display: block; }
  .graph-list li {
    list-style: none;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--ink-dim);
  }
  .graph-list li b {
    display: block;
    font-family: var(--mono); font-weight: 400; font-size: 0.72rem;
    color: var(--ink);
    margin-bottom: 0.3rem;
    letter-spacing: 0.06em;
  }
}
.g-edge {
  stroke: var(--ink-faint);
  stroke-width: 1;
  stroke-dasharray: 4 5;
  opacity: 0.55;
  transition: opacity 0.4s, stroke 0.4s;
}
.g-edge.is-hot { stroke: var(--accent); opacity: 1; }
.g-flow { fill: var(--accent); opacity: 0.9; }
.g-edge-label {
  font-family: var(--sans); font-size: 12.5px;
  fill: var(--ink-dim);
  opacity: 0;
  transition: opacity 0.4s;
}
.g-edge-label.is-hot { opacity: 1; }
.g-node { cursor: pointer; }
.g-node rect {
  fill: var(--surface);
  stroke: var(--line);
  transition: stroke 0.4s, filter 0.4s;
}
.g-node:hover rect, .g-node.is-hot rect { stroke: var(--accent); filter: drop-shadow(0 10px 22px rgba(28,25,21,0.12)); }
.g-node .g-name { font-family: var(--mono); font-size: 15px; fill: var(--ink); letter-spacing: 0.06em; }
.g-node .g-cn { font-family: var(--serif); font-size: 13px; fill: var(--ink-dim); }
.g-node .g-dot { fill: #3d9e57; }
.g-hub circle { fill: var(--accent); filter: drop-shadow(0 14px 30px rgba(200,64,42,0.35)); }
.g-hub text { font-family: var(--serif); font-size: 17px; font-weight: 700; fill: #f8f3e8; }
.g-hub .g-hub-sub { font-family: var(--mono); font-size: 10px; fill: var(--ink-faint); letter-spacing: 0.2em; }

.shared-base { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2.5rem; }
.shared-base span {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  background: var(--surface);
}

/* 项目档案 */
.dossier {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0;
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: 4rem;
}
.dossier:last-child { border-bottom: 1px solid var(--line); }
.dossier-side { position: sticky; top: 6rem; align-self: start; }
.dossier-num { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-faint); letter-spacing: 0.2em; }
.dossier-name { font-family: var(--mono); font-size: 0.85rem; color: var(--accent); margin-top: 0.6rem; letter-spacing: 0.08em; }
.dossier-title { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; margin-top: 0.6rem; line-height: 1.25; }
.dossier-status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.2rem;
  font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.14em;
  color: #2e7d43;
}
.dossier-status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #3d9e57;
  box-shadow: 0 0 10px rgba(61, 158, 87, 0.7);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.dossier-progress { margin-top: 1.8rem; }
.dossier-progress .bar { height: 2px; background: var(--line); position: relative; overflow: hidden; }
.dossier-progress .bar i {
  position: absolute; inset: 0;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.4s var(--ease-out);
}
.dossier-progress.is-in .bar i { transform: scaleX(var(--p)); }
.dossier-progress .bar-label {
  display: flex; justify-content: space-between;
  margin-top: 0.6rem;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em;
  color: var(--ink-faint);
}
.dossier-metrics { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 1.8rem; }
.dossier-metrics b { display: block; font-family: var(--serif); font-size: 1.3rem; }
.dossier-metrics span { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; color: var(--ink-faint); }

.dossier-body h5 {
  font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.18em;
  color: var(--ink-faint);
  margin: 2rem 0 0.8rem;
  font-weight: 400;
}
.dossier-body h5:first-child { margin-top: 0; }
.dossier-body p { color: var(--ink-dim); font-size: 0.95rem; max-width: 640px; }
.dossier-body ul { list-style: none; }
.dossier-body li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
  color: var(--ink-dim);
  font-size: 0.92rem;
}
.dossier-body li::before {
  content: "";
  position: absolute; left: 0; top: 0.62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.dossier-body ul.next li::before { background: transparent; border: 1.5px solid var(--ink-faint); border-radius: 2px; width: 7px; height: 7px; top: 0.5em; }
.dossier-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.dossier-links a {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  background: var(--surface);
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.dossier-links a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* 时间线 */
.timeline { max-width: 860px; }
.tl-item {
  display: grid;
  grid-template-columns: 7rem 2rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  align-items: baseline;
  position: relative;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: calc(7rem + 1rem + 3px);
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
}
.tl-item:first-child::before { top: 1.4em; }
.tl-item:last-child::before { bottom: auto; height: 1.6em; }
.tl-date { font-family: var(--mono); font-size: 0.68rem; color: var(--ink-faint); letter-spacing: 0.08em; text-align: right; }
.tl-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  justify-self: center;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 4px var(--bg);
}
.tl-text { font-size: 0.92rem; color: var(--ink-dim); }
.tl-text b {
  font-family: var(--mono); font-weight: 400; font-size: 0.68rem;
  color: var(--ink); letter-spacing: 0.08em;
  border: 1px solid var(--line); border-radius: 4px;
  padding: 0.1em 0.5em;
  margin-right: 0.7em;
  background: var(--surface);
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  section { padding: 5rem 6vw; }
  .works-row { grid-template-columns: 2.5rem 1fr 2rem; }
  .works-meta { display: none; }
  .works-preview { display: none; }
  .dossier { grid-template-columns: 1fr; gap: 2rem; }
  .dossier-side { position: static; }
  .nav-clock { display: none; }
  .tl-item { grid-template-columns: 5.5rem 1.5rem 1fr; gap: 0.6rem; }
  .tl-item::before { left: calc(5.5rem + 0.6rem + 3px); }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .sundial { opacity: 0.3; right: -30vmin; }
}

/* ---------- 尊重「减少动态效果」系统设置 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-line > span, .hero-name .ch > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .grain { display: none; }
  .sunlight { opacity: 0.4; }
}
