/* ============================================================
   火博体育主站 · 共享样式表
   路径：/assets/site.css
   内容：reset / 令牌 / 中文排版 / 头尾 / 按钮 / 通用组件
   ============================================================ */

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

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

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, figure, blockquote, dl, dd { margin: 0; }

ul, ol { padding: 0; list-style: none; }

img, svg, video { display: block; max-width: 100%; height: auto; }

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

a { color: inherit; text-decoration: none; }

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  --c-red: #E23A28;
  --c-red-deep: #8E1F14;
  --c-yellow: #F5C11B;
  --c-yellow-soft: #FFE08A;
  --c-ink: #14161A;
  --c-graphite: #22262E;
  --c-graphite-2: #1A1D23;
  --c-slate: #6F7C8C;
  --c-mist: #F2F3F5;
  --c-green: #3FBF7F;

  --grad-band: linear-gradient(90deg, #E23A28 0%, #F5C11B 100%);
  --grad-soft: linear-gradient(155deg, rgba(245, 193, 27, 0.16) 0%, rgba(226, 58, 40, 0.07) 58%, transparent 100%);

  --line: rgba(111, 124, 140, 0.26);
  --line-strong: rgba(111, 124, 140, 0.52);

  --rail-w: 112px;
  --header-h: 68px;
  --shell-w: 1220px;
  --gutter: clamp(20px, 4vw, 40px);

  --shadow-hard: 5px 5px 0 rgba(0, 0, 0, 0.45);
  --shadow-card: 0 20px 44px -26px rgba(0, 0, 0, 0.95);

  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;

  --radius: 2px;
  --t-fast: 0.18s ease;
  --t-med: 0.34s cubic-bezier(0.22, 0.7, 0.32, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--c-ink);
  background-image: repeating-linear-gradient(
    118deg,
    rgba(242, 243, 245, 0.026) 0 1px,
    transparent 1px 7px
  );
  color: var(--c-mist);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(30px, 4.6vw, 60px); }
h2 { font-size: clamp(24px, 3.2vw, 38px); }
h3 { font-size: clamp(19px, 2.2vw, 26px); }
h4 { font-size: 18px; }

strong { font-weight: 600; }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0; left: -9999px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--c-yellow);
  color: var(--c-ink);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-hard);
}
.skip-link:focus { left: 0; }

/* ---------- 4. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(20, 22, 26, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  min-height: var(--header-h);
  padding: 0 var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  background: var(--grad-band);
  color: var(--c-ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  border: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 4px 4px 0 rgba(142, 31, 20, 0.75);
}

.brand__text { display: block; }

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.brand__tagline {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  color: var(--c-slate);
}

.status-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.status-strip__label {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--c-yellow);
  white-space: nowrap;
}

.status-strip__list {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 48px), transparent 100%);
}

.status-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-right: 1px solid var(--line);
  font-size: 13px;
  color: var(--c-slate);
  white-space: nowrap;
}
.status-strip__item:last-child { border-right: 0; }

.status-strip__dot {
  flex: 0 0 auto;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 8px rgba(63, 191, 127, 0.85);
}

.header-cta { flex: 0 0 auto; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--c-mist);
  transition: border-color var(--t-fast), color var(--t-fast);
}
.nav-toggle:hover { border-color: var(--c-yellow); color: var(--c-yellow); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px; height: 12px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform var(--t-fast);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

.nav-toggle__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.read-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: rgba(111, 124, 140, 0.18);
  overflow: hidden;
}

.read-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--grad-band);
  transition: width 0.12s linear;
}

/* ---------- 5. 侧边轨道导航 ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: var(--rail-w);
  background: #101216;
  border-right: 1px solid var(--line);
}

.site-nav__brand {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
}

.site-nav__mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  background: var(--grad-band);
  color: var(--c-ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  box-shadow: 4px 4px 0 rgba(142, 31, 20, 0.8);
}

.site-nav__list {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  overflow-y: auto;
}

.site-nav__item { display: block; }

.site-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 13px 6px;
  border-left: 3px solid transparent;
  color: var(--c-slate);
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}

.site-nav__index {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.site-nav__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.site-nav__link:hover {
  color: var(--c-mist);
  background: rgba(242, 243, 245, 0.05);
}

.site-nav__link[aria-current="page"] {
  background: var(--c-yellow);
  color: var(--c-ink);
  border-left-color: var(--c-red);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.22);
}
.site-nav__link[aria-current="page"] .site-nav__index {
  color: var(--c-red-deep);
  opacity: 1;
}

.site-nav__foot {
  flex: 0 0 auto;
  padding: 14px 8px 16px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.nav-status {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.nav-status__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 10px rgba(63, 191, 127, 0.85);
  animation: navPulse 2.6s ease-in-out infinite;
}

.nav-status__text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--c-slate);
}

@keyframes navPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast),
              border-color var(--t-fast), box-shadow var(--t-fast);
}

.btn--primary {
  background: var(--c-red);
  color: #FFFFFF;
  box-shadow: 4px 4px 0 var(--c-red-deep);
}
.btn--primary:hover {
  background: var(--c-yellow);
  color: var(--c-ink);
  box-shadow: 4px 4px 0 var(--c-red);
  transform: translate(-1px, -1px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--c-mist);
}
.btn--ghost:hover {
  border-color: var(--c-yellow);
  color: var(--c-yellow);
}

.btn--sm {
  padding: 9px 14px;
  font-size: 13px;
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 96px);
  background: #0F1114;
  border-top: 1px solid var(--line);
}

.site-footer__band {
  height: 4px;
  background: var(--grad-band);
}

.site-footer__inner {
  width: min(var(--shell-w), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding: clamp(32px, 5vw, 54px) 0 26px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(180px, 0.95fr) minmax(0, 2.2fr) minmax(210px, 1.15fr);
  gap: clamp(22px, 3.4vw, 52px);
  align-items: start;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__mark-link {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 6px;
}

.site-footer__mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  background: var(--grad-band);
  color: var(--c-ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  box-shadow: 4px 4px 0 rgba(142, 31, 20, 0.7);
}

.site-footer__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.02em;
}

.site-footer__tagline {
  max-width: 26ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-slate);
}

.site-footer__map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.site-footer__group {
  padding-left: 16px;
  border-left: 2px solid rgba(226, 58, 40, 0.5);
}

.site-footer__title {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--c-yellow);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__link {
  font-size: 14px;
  color: #B9C0CA;
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.site-footer__link:hover {
  color: var(--c-yellow);
  padding-left: 4px;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__contact-item {
  display: flex;
  gap: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: #B9C0CA;
}

.site-footer__contact-key {
  flex: 0 0 auto;
  min-width: 2.6em;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-slate);
}

.site-footer__contact-value {
  overflow-wrap: anywhere;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-slate);
}

.site-footer__icp { color: #9AA4B0; }
.site-footer__copy { color: var(--c-slate); }
.site-footer__year { color: var(--c-slate); }

/* ---------- 8. 通用容器与章节 ---------- */
.container {
  width: min(var(--shell-w), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section { padding: clamp(44px, 7vw, 84px) 0; }
.section--tight { padding: clamp(28px, 4vw, 48px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--c-yellow);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--grad-band);
}

.lead {
  max-width: 62ch;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.8;
  color: #C3C9D2;
}

.chapter {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-bottom: 18px;
}

.chapter__num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-yellow);
}

@supports (-webkit-text-stroke: 1px #000) {
  .chapter__num {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--c-red);
  }
}

.chapter__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.chapter__lead {
  flex: 1 1 100%;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-slate);
}

.divider-band {
  height: 2px;
  border: 0;
  background: var(--grad-band);
  transform-origin: left center;
}

/* ---------- 9. 网格与非对称分栏 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}

.grid__main { grid-column: 1 / span 8; min-width: 0; }
.grid__aside { grid-column: 9 / span 4; min-width: 0; }

/* ---------- 10. 控制台面板与卡片 ---------- */
.panel {
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--c-graphite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.panel:hover {
  border-color: var(--c-red);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.panel--flush { padding: 0; overflow: hidden; }

.panel__label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--c-yellow);
  text-transform: uppercase;
}

.card {
  display: block;
  padding: clamp(16px, 2vw, 22px);
  background: var(--c-graphite-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.card:hover {
  border-color: var(--c-red);
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 rgba(142, 31, 20, 0.34);
}

.card__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.card__text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-slate);
}

/* ---------- 11. 数据组件 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat__value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
  color: var(--c-yellow);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.stat__unit {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--c-slate);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-row .stat {
  padding: 18px;
  background: var(--c-graphite);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-slate);
}
.tag--red { border-color: var(--c-red); color: #F08A7C; }
.tag--yellow { border-color: var(--c-yellow); color: var(--c-yellow); }
.tag--green { border-color: var(--c-green); color: #7FDCAE; }

/* ---------- 12. 面包屑与正文 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--c-slate);
}
.breadcrumb a {
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.breadcrumb a:hover {
  color: var(--c-yellow);
  border-bottom-color: var(--c-yellow);
}
.breadcrumb__sep { color: rgba(111, 124, 140, 0.5); }

.prose {
  max-width: 70ch;
  font-size: 17px;
  line-height: 1.85;
  color: #D6DAE0;
}
.prose p + p { margin-top: 1em; }
.prose h2 { margin: 1.6em 0 0.6em; font-size: clamp(22px, 2.6vw, 30px); }
.prose h3 { margin: 1.4em 0 0.5em; font-size: clamp(18px, 2vw, 22px); }
.prose ul, .prose ol { margin: 1em 0; padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; list-style: disc; }
.prose strong { color: var(--c-mist); font-weight: 600; }
.prose a {
  color: var(--c-yellow);
  border-bottom: 1px solid rgba(245, 193, 27, 0.42);
}
.prose a:hover { border-bottom-color: var(--c-yellow); }

/* ---------- 13. 图片容器（供页面阶段放置图片） ---------- */
.figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--c-graphite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.figure__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(150deg, #22262E 0%, #14161A 72%);
  transition: transform var(--t-med);
}
.figure:hover .figure__img { transform: scale(1.03); }

.figure__frame {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(245, 193, 27, 0.5);
  pointer-events: none;
}

.figure__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 14px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 11, 13, 0.92) 100%);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #C9CDD4;
}

.figure--wide .figure__img { aspect-ratio: 21 / 9; }
.figure--portrait .figure__img { aspect-ratio: 3 / 4; }
.figure--square .figure__img { aspect-ratio: 1 / 1; }
.figure--tilt { transform: rotate(-1.4deg); }

/* ---------- 14. 显现与计数（JS 协议） ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 0.7, 0.32, 1);
}
.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.has-js .divider-band[data-reveal] {
  opacity: 1;
  transform: scaleX(0);
  transition: transform 0.48s cubic-bezier(0.22, 0.7, 0.32, 1);
}
.has-js .divider-band[data-reveal].is-visible {
  transform: scaleX(1);
}

[data-count-to] { font-variant-numeric: tabular-nums; }

/* ---------- 15. 响应式 ---------- */
@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
}

@media (max-width: 1023px) {
  .site-nav {
    top: var(--header-h);
    bottom: auto;
    left: 0; right: 0;
    width: auto;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 26px 44px -22px rgba(0, 0, 0, 0.92);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav__brand { display: none; }

  .site-nav__list { padding: 10px 0 16px; }

  .site-nav__link {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 15px var(--gutter);
  }

  .site-nav__index { font-size: 11px; }
  .site-nav__label { font-size: 15px; }
  .site-nav__foot { display: none; }

  .nav-toggle { display: inline-flex; }
  .status-strip { display: none; }
  .header-cta { margin-left: auto; }
}

@media (max-width: 960px) {
  .grid__main,
  .grid__aside { grid-column: 1 / -1; }

  .site-footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --header-h: 62px; }

  .brand__tagline { display: none; }
  .brand__mark { width: 34px; height: 34px; font-size: 18px; }
  .brand__name { font-size: 17px; }

  .header-cta { padding: 11px 14px; font-size: 13px; }

  .site-footer__top { grid-template-columns: minmax(0, 1fr); }
  .site-footer__map { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .site-footer__group { padding-left: 13px; }

  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row .stat { padding: 14px; }

  .chapter { gap: 6px 12px; }
}

@media (max-width: 460px) {
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
}

/* ---------- 16. 无障碍动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .has-js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .has-js .divider-band[data-reveal] {
    transform: none !important;
  }
}
