/* ============================================================
   旭博综合 · 共享样式表 /assets/site.css
   结构：Token → Reset → 排版 → 布局 → 头部 → 目录抽屉
        → 页脚 → 基础组件 → 响应式 → 动效降级
   ============================================================ */

/* ---------- 1. Token ---------- */
:root {
  --indigo: #12294A;
  --ink-blue: #0A1A30;
  --violet: #3B2F63;
  --wine: #7A2E45;
  --orange: #F26A2E;
  --orange-deep: #C24A16;
  --apricot: #FFD9C0;
  --celadon: #2E8B7A;
  --celadon-light: #CFE7E0;
  --paper: #F8F6F1;
  --paper-line: #E6E3DB;
  --ink: #14181F;
  --muted: #5B6572;
  --white: #FFFFFF;

  --font-head: "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --rail-w: 88px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body, h1, h2, h3, h4, h5, p, figure, blockquote, ul, ol, li, dl, dt, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 1px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: .005em;
  min-height: 100vh;
  padding-left: 0;
  background-image:
    linear-gradient(90deg, rgba(18, 41, 74, .045) 1px, transparent 1px);
  background-size: 25% 100%;
}

/* ---------- 3. 中英混排与层级 ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.25;
  font-weight: 700;
}

.display {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.06;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.2;
}

.sub-title { font-size: 1.25rem; font-weight: 600; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.75;
  color: #2A3140;
}

.note { font-size: 14px; line-height: 1.7; color: var(--muted); }

.annot {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--muted);
}

.annot-vertical {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--muted);
}

.prose { max-width: 68ch; font-size: 17px; line-height: 1.85; }
.prose p + p { margin-top: 16px; }
.prose h2 { margin-top: 40px; margin-bottom: 14px; }
.prose h3 { margin-top: 28px; margin-bottom: 10px; }
.prose ul { margin-top: 14px; display: grid; gap: 8px; }
.prose ul li { padding-left: 20px; position: relative; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 8px;
  height: 2px;
  background: var(--orange);
}

/* ---------- 4. 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tight { padding: clamp(32px, 4vw, 56px) 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--paper-line);
}

.grid { display: grid; gap: 24px; }
.grid-2, .grid-3, .grid-4, .grid-split { display: grid; gap: 24px; }

.band { padding: clamp(40px, 6vw, 72px) 0; }
.band--indigo { background: var(--indigo); color: var(--paper); }
.band--violet { background: var(--violet); color: var(--paper); }
.band--wine { background: var(--wine); color: var(--paper); }
.band--celadon { background: var(--celadon-light); color: var(--ink); }
.band--indigo .section-title, .band--violet .section-title, .band--wine .section-title { color: var(--paper); }
.band--indigo .eyebrow, .band--violet .eyebrow, .band--wine .eyebrow { color: var(--apricot); }
.band--indigo .lede, .band--violet .lede, .band--wine .lede { color: #E3E8F2; }

/* ---------- 5. 头部 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -72px;
  z-index: 100;
  background: var(--orange);
  color: var(--ink-blue);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 2px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* 书脊轨道 */
.brand-rail {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  height: 100dvh;
  width: var(--rail-w);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 22px 0 26px;
  background: var(--ink-blue);
  border-right: 1px solid rgba(255, 217, 192, .14);
  z-index: 60;
}

.rail-mark {
  writing-mode: vertical-rl;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .34em;
  color: var(--paper);
}

.rail-anno {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .28em;
  color: rgba(255, 217, 192, .62);
}

.rail-progress {
  margin-top: auto;
  width: 2px;
  height: 120px;
  background: rgba(255, 217, 192, .18);
  overflow: hidden;
}
.rail-progress-fill {
  display: block;
  width: 100%;
  height: calc(var(--p, 0) * 1%);
  background: var(--orange);
  transition: height .1s linear;
}

/* 品牌层 */
.brand-bar { background: var(--indigo); }

.brand-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 13px 32px;
  min-height: 64px;
  transition: min-height .3s var(--ease), padding .3s var(--ease);
}

.site-header[data-scrolled] .brand-bar-inner { min-height: 36px; padding: 3px 32px; }

.brand-lockup { display: flex; align-items: baseline; gap: 14px; min-width: 0; }

.brand-name {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--white);
  white-space: nowrap;
}

.brand-line {
  font-size: 13px;
  color: var(--apricot);
  letter-spacing: .04em;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 217, 192, .35);
  transition: opacity .24s var(--ease), max-height .24s var(--ease);
  max-height: 24px;
  overflow: hidden;
}

.site-header[data-scrolled] .brand-line { opacity: 0; max-height: 0; }

.header-utils { display: flex; align-items: center; gap: 16px; }

.header-link {
  font-size: 14px;
  color: var(--apricot);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.header-link:hover { color: var(--white); border-bottom-color: var(--orange); }

.header-cta {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 16px;
  background: var(--orange);
  color: var(--ink-blue);
  border: 1px solid var(--orange);
  border-radius: 2px;
  transition: transform .24s var(--ease), background-color .24s var(--ease);
}
.header-cta:hover { background: #FF7D42; transform: translateX(2px); }

/* 栏目层 */
.nav-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--paper-line);
  box-shadow: 0 1px 0 rgba(20, 24, 31, .04);
}

.nav-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

.primary-nav { flex: 1 1 auto; min-width: 0; }

.nav-list { display: flex; flex-wrap: wrap; align-items: stretch; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 15px 16px 13px;
  font-size: 15px;
  font-weight: 600;
  color: #2A3140;
  border-bottom: 3px solid transparent;
  transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}

.nav-link::before {
  content: attr(data-num);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: #9AA3B0;
}

.nav-link:hover { color: var(--indigo); background: rgba(18, 41, 74, .05); }

.nav-link[aria-current="page"] {
  color: var(--indigo);
  border-bottom-color: var(--orange);
}
.nav-link[aria-current="page"]::before { color: var(--orange-deep); }

.nav-tail { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.index-toggle {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--indigo);
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: 2px;
  padding: 7px 12px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.index-toggle:hover { background: var(--apricot); border-color: #F3C4A6; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
  background: var(--white);
  border: 1px solid var(--indigo);
  border-radius: 2px;
}
.nav-toggle[aria-expanded="true"] { background: var(--indigo); color: var(--paper); }

.nav-toggle-box { display: inline-flex; flex-direction: column; justify-content: space-between; width: 16px; height: 12px; }
.nav-toggle-bar { display: block; height: 2px; background: currentColor; border-radius: 1px; }
.nav-toggle-text { letter-spacing: .06em; }

/* ---------- 6. 目录抽屉 ---------- */
.index-scrim {
  position: fixed;
  inset: 0;
  background: rgba(10, 26, 48, .55);
  z-index: 64;
}
.index-scrim[hidden] { display: none; }

.index-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 88vw);
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 26px 30px;
  overflow-y: auto;
  background: var(--violet);
  color: var(--paper);
  border-left: 1px solid rgba(255, 217, 192, .25);
  box-shadow: -18px 0 40px rgba(10, 26, 48, .28);
  z-index: 65;
}
.index-drawer[hidden] { display: none; }

.index-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--apricot);
}

.index-list { display: flex; flex-direction: column; }
.index-item { border-top: 1px solid rgba(248, 246, 241, .16); }

.index-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: 13px 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
  transition: padding-left .2s var(--ease), color .2s var(--ease);
}
.index-link:hover { color: var(--apricot); padding-left: 8px; }

.index-num { font-family: var(--font-mono); font-size: 11px; color: rgba(255, 217, 192, .72); }
.index-name { letter-spacing: .02em; }
.index-path { font-family: var(--font-mono); font-size: 11px; color: rgba(248, 246, 241, .5); }

.index-foot { font-size: 13px; line-height: 1.7; color: rgba(248, 246, 241, .72); }

.index-close {
  align-self: flex-start;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--apricot);
  border: 1px solid rgba(255, 217, 192, .4);
  border-radius: 2px;
  padding: 9px 14px;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.index-close:hover { background: var(--apricot); color: var(--ink-blue); }

html[data-index-open] { overflow: hidden; }

/* ---------- 7. 页脚 ---------- */
.site-footer { background: var(--ink-blue); color: #D5DCE8; }

.footer-strip {
  background: var(--indigo);
  border-bottom: 1px solid rgba(255, 217, 192, .16);
}

.footer-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 32px;
  font-size: 13px;
}

.footer-strip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--celadon-light);
  background: rgba(46, 139, 122, .38);
  border: 1px solid rgba(207, 231, 224, .35);
  padding: 4px 10px;
  border-radius: 1px;
}

.footer-strip-list { display: flex; flex-wrap: wrap; gap: 8px 22px; flex: 1 1 320px; }

.footer-strip-item a {
  color: #E7ECF5;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer-strip-item a:hover { color: var(--apricot); border-bottom-color: var(--orange); }

.footer-strip-more {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--apricot);
  border-bottom: 1px solid rgba(255, 217, 192, .45);
  padding-bottom: 2px;
}
.footer-strip-more:hover { border-bottom-color: var(--orange); }

.footer-main { max-width: var(--wrap); margin: 0 auto; padding: 56px 32px 28px; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }

.footer-col { min-width: 0; }

.footer-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--apricot);
  margin-bottom: 16px;
}

.footer-brand {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--white);
}

.footer-brand-line {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--apricot);
}

.footer-note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.75;
  color: #98A4B8;
  max-width: 32ch;
}

.footer-list { display: grid; gap: 9px; font-size: 14px; }
.footer-list a {
  color: #C9D2E0;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer-list a:hover { color: var(--apricot); border-bottom-color: var(--orange); }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 217, 192, .16);
  font-size: 13.5px;
  color: #C9D2E0;
}

.footer-contact-line { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-contact-value { font-family: var(--font-mono); color: #E7ECF5; letter-spacing: .02em; }

.copy-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--apricot);
  border: 1px solid rgba(255, 217, 192, .35);
  border-radius: 1px;
  padding: 3px 8px;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.copy-btn:hover { background: var(--apricot); color: var(--ink-blue); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 20px 32px 44px;
  font-size: 12.5px;
  color: #8C99AD;
}

.footer-legal a { color: #B9C4D6; border-bottom: 1px solid rgba(185, 196, 214, .4); }
.footer-legal a:hover { color: var(--apricot); border-bottom-color: var(--orange); }
.footer-icp { font-family: var(--font-mono); letter-spacing: .08em; }

/* ---------- 8. 基础组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid var(--indigo);
  border-radius: 2px;
  color: var(--indigo);
  background: transparent;
  transition: transform .24s var(--ease), background-color .24s var(--ease),
              border-color .24s var(--ease), color .24s var(--ease);
}
.btn:hover { transform: translateX(2px); }

.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink-blue);
}
.btn-primary:hover { background: #FF7D42; border-color: #FF7D42; }

.btn-ghost:hover { background: var(--indigo); color: var(--paper); }

.btn-quiet {
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid var(--muted);
  border-radius: 0;
  color: var(--indigo);
}
.btn-quiet:hover { border-bottom-color: var(--orange); color: var(--orange-deep); }

.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-block { width: 100%; justify-content: center; }

.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 22px;
}
.breadcrumbs ol, .breadcrumbs ul { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #B9B3A6; }
.breadcrumbs a { color: var(--muted); border-bottom: 1px solid var(--paper-line); }
.breadcrumbs a:hover { color: var(--indigo); border-bottom-color: var(--orange); }

.card {
  position: relative;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--paper-line);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.card:hover {
  transform: translateX(2px);
  border-color: var(--indigo);
  box-shadow: inset 0 0 0 1px var(--indigo);
}

.card-tag {
  position: absolute;
  top: -1px;
  right: -1px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink);
  background: var(--apricot);
  border: 1px solid var(--paper-line);
}

.card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.card-text { font-size: 15px; line-height: 1.8; color: #39414F; }

.stack-paper {
  box-shadow:
    6px 6px 0 var(--white),
    7px 7px 0 var(--paper-line),
    12px 12px 0 rgba(230, 227, 219, .55);
}

.tile {
  display: block;
  position: relative;
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-top: 3px solid var(--indigo);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.tile:hover {
  transform: translateX(2px);
  border-color: var(--indigo);
  border-top-color: var(--orange);
  box-shadow: inset 0 0 0 1px var(--indigo);
}
.tile-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: var(--celadon); }
.tile-title { font-size: 1.15rem; font-weight: 700; margin: 8px 0 6px; }
.tile-text { font-size: 14.5px; line-height: 1.8; color: var(--muted); }

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  padding: 3px 9px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: 1px;
}
.tag--celadon { background: var(--celadon); border-color: var(--celadon); color: var(--white); }
.tag--orange { background: var(--apricot); border-color: #F3C4A6; color: var(--ink); }
.tag--wine { background: var(--wine); border-color: var(--wine); color: var(--paper); }

.figure-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #E7EDF5 0%, #F3F1EA 55%, #E6EFEC 100%);
  border: 1px solid var(--paper-line);
  aspect-ratio: 16 / 10;
}
.figure-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(18, 41, 74, .07) 0 1px, transparent 1px 14px);
  pointer-events: none;
}
.figure-frame img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.figure-frame--wide { aspect-ratio: 21 / 9; }
.figure-frame--tall { aspect-ratio: 3 / 4; }
.figure-frame--square { aspect-ratio: 1 / 1; }
.figure-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--muted);
}

.check-list { border-top: 1px solid var(--paper-line); }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--paper-line);
  font-size: 15px;
  transition: background-color .24s var(--ease);
}
.check-item input {
  width: 18px;
  height: 18px;
  margin-top: 5px;
  flex: 0 0 auto;
  accent-color: var(--celadon);
}
.check-item:has(input:checked) { background: linear-gradient(90deg, rgba(207, 231, 224, .7), transparent); }
.check-count { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; color: var(--celadon); }

.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 3px;
  background: var(--white);
  border: 1px solid var(--paper-line);
}
.segmented button {
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 1px;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.segmented button[aria-selected="true"] { background: var(--violet); color: var(--paper); }
.segmented button:hover { color: var(--indigo); }

.disclosure {
  background: var(--white);
  border: 1px solid var(--paper-line);
  margin-bottom: 8px;
}
.disclosure summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after { content: "+"; font-family: var(--font-mono); color: var(--orange); }
.disclosure[open] summary::after { content: "–"; }
.disclosure-body {
  padding: 14px 20px 18px;
  font-size: 15px;
  line-height: 1.8;
  color: #39414F;
  border-top: 1px solid var(--paper-line);
}

.timeline { display: grid; gap: 28px; padding-left: 24px; border-left: 2px solid var(--paper-line); }
.timeline-item { position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--paper);
  border: 2px solid var(--orange);
  border-radius: 50%;
}
.timeline-year { font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em; color: var(--celadon); }

.data-table { font-size: 15px; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--paper-line); }
.data-table thead th {
  background: var(--indigo);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
}
.data-table tbody tr:nth-child(even) { background: rgba(207, 231, 224, .35); }

.side-note {
  padding: 2px 0 2px 16px;
  border-left: 2px solid var(--apricot);
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--apricot);
  background: var(--indigo);
  border: 1px solid rgba(255, 217, 192, .3);
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s var(--ease), transform .24s var(--ease), background-color .24s var(--ease);
}
.to-top[data-visible] { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--orange); color: var(--ink-blue); border-color: var(--orange); transform: translateX(2px); }

/* 入场显现 */
[data-reveal] { opacity: 1; }
html[data-reveal-ready] [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .32s var(--ease), transform .32s var(--ease);
}
html[data-reveal-ready] [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 9. 响应式 ---------- */
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-split { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 40px; }
}

@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
  .brand-rail { display: flex; }
}

@media (max-width: 999px) {
  .brand-bar-inner { padding: 10px 20px; min-height: 56px; }
  .site-header[data-scrolled] .brand-bar-inner { padding: 4px 20px; }

  .nav-bar-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 6px 20px;
    min-height: 48px;
  }
  .nav-bar-inner::before {
    content: "栏目导航";
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .18em;
    color: var(--muted);
  }

  .primary-nav {
    order: 3;
    flex: 1 0 100%;
    display: none;
    min-width: 0;
    border-top: 1px solid var(--paper-line);
  }
  .primary-nav[data-open] { display: block; }

  .nav-list { flex-direction: column; }
  .nav-link {
    width: 100%;
    padding: 14px 6px;
    border-bottom: 1px solid var(--paper-line);
    border-left: 3px solid transparent;
  }
  .nav-link[aria-current="page"] {
    padding-left: 14px;
    background: rgba(18, 41, 74, .05);
    border-left-color: var(--orange);
    border-bottom-color: var(--paper-line);
  }

  .nav-tail { order: 2; margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .index-toggle { display: none; }

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

@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .brand-line { display: none; }
  .header-utils { gap: 10px; }
  .header-cta { padding: 8px 12px; font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-main { padding: 40px 20px 24px; }
  .footer-strip-inner { padding: 12px 20px; }
  .footer-bottom { padding: 18px 20px 36px; }
  .footer-contact { font-size: 13px; }
  .figure-frame { aspect-ratio: 4 / 3; }
}

/* ---------- 10. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html[data-reveal-ready] [data-reveal] { opacity: 1; transform: none; }
  .to-top { transition: none; }
}
