/* =====================================================================
   /assets/site.css — 大嬴体育 赛季档案台 · 共享外壳样式
   结构：reset → 变量 → 基础排版 → 页头 → 页脚 → 通用组件 → 响应式
   ===================================================================== */

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

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

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

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

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

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

/* ---------- 变量 ---------- */
:root {
  --ink: #0B0F0E;
  --forest: #0F2E26;
  --panel: #143D33;
  --neon: #37F5B4;
  --amber: #F2B84B;
  --wine: #6E1F3A;
  --indigo: #2B2A5E;
  --mist: #E8F1EC;
  --sage: #8FA79D;
  --steel: #5A6B64;

  --wine-lt: #A33A5F;
  --indigo-lt: #4A48A8;

  --line: rgba(143, 167, 157, 0.26);
  --line-strong: rgba(143, 167, 157, 0.52);

  --rail-w: 88px;
  --pad: clamp(18px, 3vw, 40px);
  --gap: clamp(16px, 2vw, 28px);
  --wrap: 1280px;

  --ff-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
             system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-mono: ui-monospace, "SFMono-Regular", "IBM Plex Mono", "Cascadia Mono",
             "Roboto Mono", Consolas, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 180ms;
}

/* ---------- 基础排版 ---------- */
body {
  min-height: 100vh;
  background:
    radial-gradient(1100px 560px at 82% -12%, rgba(55, 245, 180, 0.075), transparent 62%),
    radial-gradient(900px 520px at 4% 108%, rgba(43, 42, 94, 0.28), transparent 66%),
    var(--ink);
  color: var(--mist);
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.008em;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--ff-sans);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 6vw, 88px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; line-height: 1.28; }
h4 { font-size: 18px; font-weight: 700; line-height: 1.35; }

p { max-width: 72ch; }

.lead {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.8;
  color: var(--mist);
  max-width: 62ch;
}

.fineprint {
  font-size: 13px;
  line-height: 1.7;
  color: var(--sage);
}

.mono {
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  font-size: 0.86em;
}

.num {
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--amber);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--amber);
  flex: none;
}

.prose p + p { margin-top: 1em; }
.prose h2, .prose h3 { margin-top: 1.6em; margin-bottom: 0.5em; }
.prose ul, .prose ol { margin: 1em 0; padding-left: 1.1em; }
.prose ul li { list-style: none; position: relative; padding-left: 1.1em; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.86em;
  width: 8px; height: 1px;
  background: var(--neon);
}
.prose ol { counter-reset: proseg; }
.prose ol li { list-style: none; position: relative; padding-left: 2em; counter-increment: proseg; }
.prose ol li::before {
  content: counter(proseg, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 0.06em;
}

/* ---------- 焦点与跳转 ---------- */
:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-180%);
  padding: 10px 18px;
  background: var(--neon);
  color: #062018;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible { transform: none; }

#main-content:focus-visible { outline-offset: -2px; }

/* ---------- 滚动进度 ---------- */
.scroll-meter {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 120;
  background: rgba(55, 245, 180, 0.12);
  pointer-events: none;
}

.scroll-meter i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--neon), var(--amber));
  transition: width 90ms linear;
}

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 15, 14, 0.975);
  border-bottom: 1px solid var(--line);
}

.site-header::after {
  content: "";
  display: block;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--steel) 0 1px, transparent 1px 14px);
  opacity: 0.55;
  border-bottom: 1px solid var(--line);
}

.header__inner {
  padding: 0 var(--pad);
}

.header__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}

.header__meta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  min-width: 0;
}

.header__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--neon);
  letter-spacing: 0.12em;
}

.pulse {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--neon);
  box-shadow: 0 0 0 0 rgba(55, 245, 180, 0.55);
  animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(55, 245, 180, 0.5); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(55, 245, 180, 0); }
}

.header__icp {
  color: var(--steel);
  letter-spacing: 0.12em;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--amber);
  color: var(--amber);
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.header__cta::after {
  content: "→";
  font-family: var(--ff-mono);
  font-size: 12px;
}

.header__cta:hover,
.header__cta:focus-visible {
  background: var(--amber);
  border-color: var(--amber);
  color: #171004;
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0 15px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  background: var(--neon);
  color: #062018;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
  min-width: 0;
}

.brand__name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--mist);
}

.brand__sub {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
}

.brand:hover .brand__mark { background: var(--amber); }

.brand--footer {
  align-items: flex-start;
  gap: 14px;
}

.brand--footer .brand__name { font-size: 21px; }
.brand--footer .brand__sub { letter-spacing: 0.14em; font-size: 10px; }

/* 导航开关 */
.nav-toggle { display: none; }

/* 导航 */
.site-nav { display: block; }

.site-nav__list {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav__list a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 14px;
  border-left: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  color: var(--mist);
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.site-nav__list li:last-child a { border-right: 1px solid var(--line); }

.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible {
  color: var(--neon);
  background: rgba(55, 245, 180, 0.07);
}

.site-nav__list a:hover::after,
.site-nav__list a:focus-visible::after { transform: scaleX(1); }

.site-nav__index {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--steel);
  transition: color var(--dur) var(--ease);
}

.site-nav__list a:hover .site-nav__index,
.site-nav__list a:focus-visible .site-nav__index { color: var(--amber); }

.site-nav__list a[aria-current="page"] {
  color: var(--neon);
  background: rgba(55, 245, 180, 0.09);
}

.site-nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--neon);
}

.site-nav__list a[aria-current="page"] .site-nav__index { color: var(--neon); }

/* 左侧品牌轨道 */
.rail { display: none; }

@media (min-width: 1200px) {
  body { padding-left: var(--rail-w); }

  .rail {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--rail-w);
    z-index: 70;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0 22px;
    background: linear-gradient(180deg, var(--forest) 0%, #0B0F0E 74%);
    border-right: 1px solid var(--line);
  }

  .rail__label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--sage);
    white-space: nowrap;
  }

  .rail__ticks {
    flex: 1;
    width: 9px;
    margin: 18px 0;
    background: repeating-linear-gradient(
      to bottom,
      var(--steel) 0 1px,
      transparent 1px 10px
    );
    opacity: 0.8;
  }

  .rail__year {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--amber);
  }
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  background: linear-gradient(180deg, var(--forest) 0%, #0C2019 100%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--neon) 0 22%,
    var(--amber) 22% 44%,
    var(--wine-lt) 44% 72%,
    var(--indigo-lt) 72% 100%
  );
}

.footer__inner {
  padding: clamp(34px, 5vw, 62px) var(--pad) 22px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.25fr 1.15fr;
  gap: clamp(20px, 3vw, 44px);
}

.footer__col {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.footer__col--brand { border-top-color: var(--amber); }
.footer__col--nav { border-top-color: var(--neon); }
.footer__col--contact { border-top-color: var(--wine-lt); }
.footer__col--note { border-top-color: var(--indigo-lt); }

.footer__summary {
  margin: 16px 0 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--sage);
  max-width: 34ch;
}

.footer__title {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}

.footer__title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--neon);
  vertical-align: 1px;
}

.footer__col--brand .footer__title::before { background: var(--amber); }

.footer__list li + li { border-top: 1px solid rgba(143, 167, 157, 0.14); }

.footer__list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--mist);
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.footer__list a::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--neon);
  transition: width var(--dur) var(--ease);
}

.footer__list a:hover,
.footer__list a:focus-visible {
  color: var(--neon);
}

.footer__list a:hover::before,
.footer__list a:focus-visible::before { width: 14px; }

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

.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer__label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}

.footer__value {
  font-size: 14px;
  color: var(--mist);
  word-break: break-word;
}

.footer__link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--amber);
  font-size: 14px;
  font-weight: 600;
  color: var(--amber);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer__link-cta::after {
  content: "→";
  font-family: var(--ff-mono);
  font-size: 12px;
}

.footer__link-cta:hover,
.footer__link-cta:focus-visible {
  color: var(--neon);
  border-color: var(--neon);
}

.footer__note {
  font-size: 13px;
  line-height: 1.8;
  color: var(--sage);
  max-width: 30ch;
}

.footer__note + .footer__note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(143, 167, 157, 0.2);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(26px, 4vw, 44px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--sage);
}

.footer__legal-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
}

.footer__legal-list li + li::before {
  content: "/";
  margin: 0 12px;
  color: var(--steel);
}

.footer__legal-list a {
  color: var(--sage);
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer__legal-list a:hover,
.footer__legal-list a:focus-visible {
  color: var(--neon);
  border-bottom-color: var(--neon);
}

.footer__copyright {
  font-size: 12px;
  color: var(--steel);
  letter-spacing: 0.06em;
}

/* ---------- 通用布局 ---------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.container--narrow { max-width: 940px; }

.grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr));
}

@media (min-width: 720px) {
  .grid {
    grid-template-columns: repeat(var(--cols-md, var(--cols, 2)), minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .grid {
    grid-template-columns: repeat(
      var(--cols-lg, var(--cols-md, var(--cols, 2))),
      minmax(0, 1fr)
    );
  }
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

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

.tick-rule {
  height: 6px;
  margin: var(--gap) 0;
  background: repeating-linear-gradient(90deg, var(--steel) 0 1px, transparent 1px 14px);
  opacity: 0.5;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(18px, 2.4vw, 30px);
}

.panel--accent { border-left: 3px solid var(--neon); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--line-strong);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--mist);
  background: transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.btn:hover,
.btn:focus-visible {
  border-color: var(--neon);
  color: var(--neon);
  background: rgba(55, 245, 180, 0.08);
}

.btn--primary {
  background: var(--neon);
  border-color: var(--neon);
  color: #062018;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #6BFFCB;
  border-color: #6BFFCB;
  color: #04211A;
}

.btn--ghost {
  border-color: var(--line);
  color: var(--sage);
}

.btn--amber {
  background: var(--amber);
  border-color: var(--amber);
  color: #1A1204;
}

.btn--amber:hover,
.btn--amber:focus-visible {
  background: #FFD07A;
  border-color: #FFD07A;
  color: #1A1204;
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  line-height: 1.6;
}

.tag--neon {
  color: var(--neon);
  border-color: rgba(55, 245, 180, 0.45);
  background: rgba(55, 245, 180, 0.08);
}

.tag--amber {
  color: var(--amber);
  border-color: rgba(242, 184, 75, 0.45);
  background: rgba(242, 184, 75, 0.08);
}

.tag--wine {
  color: var(--mist);
  background: var(--wine);
  border-color: var(--wine);
}

.tag--indigo {
  color: var(--mist);
  background: var(--indigo);
  border-color: var(--indigo);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  padding: 16px 0;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--steel);
  margin-right: 2px;
}

.breadcrumb a {
  color: var(--sage);
  transition: color var(--dur) var(--ease);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible { color: var(--neon); }

.breadcrumb [aria-current="page"] { color: var(--mist); }

/* ---------- 数据单元 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.stat__value {
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--amber);
}

.stat__label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
}

/* ---------- 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--panel);
  border: 1px solid var(--line);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(55, 245, 180, 0.14);
  pointer-events: none;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }

.media-frame--empty {
  background-image: repeating-linear-gradient(
    135deg,
    rgba(143, 167, 157, 0.13) 0 1px,
    transparent 1px 10px
  );
}

.media-frame__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 10px;
  background: rgba(11, 15, 14, 0.86);
  color: var(--sage);
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- 显现动效 ---------- */
html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
}

html.reveal-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式：页头 / 页脚 / 通用 ---------- */
@media (max-width: 1180px) {
  .header__icp { display: none; }
}

@media (max-width: 1023px) {
  .site-header::after { opacity: 0.35; }

  .header__status { display: none; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--line-strong);
    color: var(--mist);
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    order: 3;
    transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    border-color: var(--neon);
    color: var(--neon);
  }

  .nav-toggle__bars {
    position: relative;
    display: block;
    width: 18px;
    height: 9px;
    flex: none;
  }

  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1.5px;
    background: var(--neon);
    transition: transform var(--dur) var(--ease), top var(--dur) var(--ease),
                bottom var(--dur) var(--ease);
  }

  .nav-toggle__bars::before { top: 0; }
  .nav-toggle__bars::after { bottom: 0; }

  .site-header[data-open] .nav-toggle {
    border-color: var(--neon);
    color: var(--neon);
  }

  .site-header[data-open] .nav-toggle__bars::before {
    top: 3.75px;
    transform: rotate(45deg);
  }

  .site-header[data-open] .nav-toggle__bars::after {
    bottom: 3.75px;
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    z-index: 80;
    padding: 84px 0 28px;
    overflow-y: auto;
    background: linear-gradient(180deg, var(--forest) 0%, #0B0F0E 88%);
    border-left: 1px solid var(--line);
    box-shadow: -24px 0 48px rgba(0, 0, 0, 0.45);
    transform: translateX(102%);
    visibility: hidden;
    transition: transform 220ms var(--ease), visibility 220ms var(--ease);
  }

  .site-header[data-open] .site-nav {
    transform: none;
    visibility: visible;
  }

  .site-nav__list {
    flex-direction: column;
    justify-content: flex-start;
  }

  .site-nav__list a {
    padding: 16px var(--pad);
    border-left: 0;
    border-bottom: 1px solid var(--line);
    border-right: 0;
    font-size: 17px;
    justify-content: flex-start;
  }

  .site-nav__list li:last-child a { border-right: 0; }

  .site-nav__list a::after {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top center;
  }

  .site-nav__list a:hover::after,
  .site-nav__list a:focus-visible::after,
  .site-nav__list a[aria-current="page"]::after { transform: scaleY(1); }

  .site-nav__index { font-size: 11px; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__col--brand { grid-column: 1 / -1; }
  .footer__col--note { grid-column: 1 / -1; }
  .footer__summary,
  .footer__note { max-width: 60ch; }
}

@media (max-width: 640px) {
  .header__meta {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .header__meta-group { gap: 10px; }

  .header__cta {
    padding: 6px 10px;
    font-size: 12px;
  }

  .header__bar {
    padding: 12px 0 13px;
    gap: 14px;
  }

  .brand__mark { width: 34px; height: 34px; font-size: 16px; }
  .brand__name { font-size: 17px; }
  .brand__sub { font-size: 9px; letter-spacing: 0.16em; }

  .nav-toggle { padding: 9px 11px; font-size: 10px; }
  .nav-toggle__label { display: none; }

  .footer__grid { grid-template-columns: 1fr; }

  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
    font-size: 11px;
  }

  .footer__legal-list li + li::before { margin: 0 9px; }
}

/* ---------- 动效降级 ---------- */
@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;
  }

  .pulse { animation: none; }

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