/* =========================================================
   完美体育最新版 — /assets/site.css
   档案册骨架：夜赛深蓝 / 红土陶色 / 高原草皮绿 / 档案纸色
   ========================================================= */

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

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

body {
  margin: 0;
  padding-top: calc(var(--bar-h) + var(--top-h));
  padding-left: var(--rail-w);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  text-underline-offset: 3px;
}

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

button { font-family: inherit; }

/* ---------- 02. Tokens ---------- */
:root {
  --ink-blue: #12233F;
  --ink-blue-2: #1B3352;
  --clay: #B4472E;
  --clay-deep: #8E3423;
  --pitch: #2E7D4F;
  --card-yellow: #F2C230;
  --card-red: #E03B2F;
  --paper: #F4EDE4;
  --paper-2: #E4D9CB;
  --paper-3: #FFFBF6;
  --ink: #2A2622;
  --ink-soft: #6E635A;

  --rail-w: 0px;
  --bar-h: 44px;
  --top-h: 0px;
  --content-max: 1320px;
  --gutter: 20px;

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

  --radius: 2px;
  --hard-shadow: 0 6px 0 rgba(18, 35, 63, 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 03. 中文排版基础 ---------- */
h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(34px, 5.4vw, 72px); }
h2 { font-size: clamp(24px, 3vw, 36px); }
h3 { font-size: 21px; }
h4 { font-size: 17px; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.1em; }

a {
  color: var(--clay-deep);
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(142, 52, 35, 0.45);
}

a:hover { text-decoration-color: currentColor; }

strong { font-weight: 800; }

:focus-visible {
  outline: 3px solid var(--card-yellow);
  outline-offset: 2px;
}

::selection {
  background: var(--card-yellow);
  color: var(--ink-blue);
}

/* ---------- 04. 跳至主内容 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  display: inline-block;
  padding: 10px 18px;
  background: var(--card-yellow);
  color: var(--ink-blue);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid var(--ink-blue);
  border-radius: var(--radius);
  box-shadow: 0 4px 0 rgba(18, 35, 63, 0.25);
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}

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

#main-content { scroll-margin-top: calc(var(--bar-h) + var(--top-h) + 16px); }

/* ---------- 05. 头部：公告带 ---------- */
.site-header { position: relative; }

.notice-bar {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  height: var(--bar-h);
  z-index: 96;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  background: var(--ink-blue);
  color: var(--paper);
  border-bottom: 2px solid var(--ink-blue-2);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  transition: box-shadow 0.2s var(--ease);
}

.site-header[data-scrolled] .notice-bar {
  box-shadow: 0 2px 0 var(--clay);
}

.notice-bar__text {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(244, 237, 228, 0.84);
}

.notice-bar__dot {
  display: inline-block;
  width: 8px;
  height: 13px;
  margin-right: 8px;
  vertical-align: -1px;
  background: var(--card-yellow);
  border-radius: 1px;
}

.notice-bar__link {
  flex: 0 0 auto;
  color: var(--paper-3);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--clay);
  padding-bottom: 1px;
  transition: color 0.16s, border-color 0.16s;
}

.notice-bar__link:hover {
  color: var(--card-yellow);
  border-bottom-color: var(--card-yellow);
}

/* ---------- 06. 头部：左侧轨道 ---------- */
.rail {
  position: fixed;
  top: var(--bar-h);
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 16px 24px;
  background: var(--ink-blue);
  color: var(--paper);
  border-right: 2px solid var(--ink-blue-2);
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* 品牌署名 */
.brand {
  display: grid;
  grid-template-columns: 30px 1fr;
  grid-template-areas: "mark name" "mark sub";
  align-items: center;
  column-gap: 10px;
  row-gap: 1px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--clay);
  text-decoration: none;
  color: var(--paper-3);
}

.brand__mark {
  grid-area: mark;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--clay);
  color: var(--paper-3);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  border-radius: var(--radius);
  box-shadow: 0 3px 0 var(--clay-deep);
}

.brand__name {
  grid-area: name;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.brand__sub {
  grid-area: sub;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(244, 237, 228, 0.5);
}

/* 抽屉按钮（桌面隐藏） */
.nav-toggle { display: none; }

/* 导航 */
.nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__item { margin: 0; }

.nav__link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 10px;
  color: rgba(244, 237, 228, 0.78);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.nav__num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--clay);
  transition: color 0.18s var(--ease);
}

.nav__label { white-space: nowrap; }

.nav__link:hover {
  background: var(--ink-blue-2);
  color: var(--paper-3);
  border-left-color: var(--card-yellow);
}

.nav__link:hover .nav__num { color: var(--card-yellow); }

.nav__link:focus-visible {
  outline: 2px solid var(--card-yellow);
  outline-offset: 2px;
}

.nav__link[aria-current="page"] {
  background: var(--clay);
  color: var(--paper-3);
  border-left-color: var(--card-yellow);
}

.nav__link[aria-current="page"] .nav__num { color: var(--card-yellow); }

/* 轨道行动按钮 */
.rail__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 12px;
  background: var(--card-yellow);
  color: var(--ink-blue);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--ink-blue);
  border-radius: var(--radius);
  box-shadow: 0 4px 0 var(--clay-deep);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), background 0.16s;
}

.rail__cta:hover {
  background: var(--paper-3);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--clay-deep);
}

.rail__cta:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--clay-deep);
}

/* 遮罩：仅移动端存在 */
.nav-scrim { display: none; }

/* ---------- 07. 页脚 ---------- */
.site-footer {
  margin-top: 72px;
  padding: 52px var(--gutter) 26px;
  background: var(--ink-blue);
  color: var(--paper);
  border-top: 3px solid var(--clay);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr 1fr;
  gap: 30px 32px;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(244, 237, 228, 0.18);
}

.footer__brandline {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--clay);
}

.footer__brandmark {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--paper-3);
}

.footer__brandsub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(244, 237, 228, 0.5);
}

.footer__section { min-width: 0; }

.footer__title {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--paper-3);
}

.footer__title::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  margin-top: 8px;
  background: var(--card-yellow);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(244, 237, 228, 0.78);
}

.footer__list--numbered li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.footer__num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--clay);
}

.footer__link {
  color: rgba(244, 237, 228, 0.88);
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 237, 228, 0.24);
  transition: color 0.16s, border-color 0.16s;
}

.footer__link:hover {
  color: var(--card-yellow);
  border-bottom-color: var(--card-yellow);
}

.footer__key {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 237, 228, 0.45);
  margin-bottom: 1px;
}

.footer__value {
  display: block;
  font-size: 13px;
  color: var(--paper-3);
  overflow-wrap: anywhere;
}

.footer__note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(244, 237, 228, 0.55);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-top: 18px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(244, 237, 228, 0.55);
}

.footer__legal {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* ---------- 08. 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

/* ---------- 09. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--paper-3);
  color: var(--ink-blue);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid var(--ink-blue);
  border-radius: var(--radius);
  box-shadow: 0 4px 0 rgba(18, 35, 63, 0.18);
  cursor: pointer;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), background 0.16s, color 0.16s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(18, 35, 63, 0.22);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(18, 35, 63, 0.18);
}

.btn--primary {
  background: var(--clay);
  color: var(--paper-3);
  border-color: var(--clay-deep);
}

.btn--primary:hover { background: var(--clay-deep); }

.btn--ink {
  background: var(--ink-blue);
  color: var(--paper-3);
  border-color: var(--ink-blue);
}

.btn--ink:hover { background: var(--ink-blue-2); }

.btn--ghost {
  background: transparent;
  color: var(--ink-blue);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--ink-blue);
  color: var(--paper-3);
}

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

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  padding: 16px 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--clay);
  font-family: var(--font-mono);
}

.breadcrumb__link {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--paper-2);
}

.breadcrumb__link:hover {
  color: var(--clay-deep);
  border-bottom-color: var(--clay);
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- 11. 卡片 ---------- */
.card {
  padding: 22px;
  background: var(--paper-3);
  color: var(--ink);
  border: 2px solid var(--ink-blue);
  border-radius: var(--radius);
  box-shadow: var(--hard-shadow);
}

.card__title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.card--flat { box-shadow: none; }

.card--ink {
  background: var(--ink-blue);
  color: var(--paper);
  border-color: var(--ink-blue-2);
}

.card--ink .card__title { color: var(--paper-3); }
.card--ink .card__meta { color: rgba(244, 237, 228, 0.6); }

/* ---------- 12. 标签与筛选片 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--clay-deep);
  background: transparent;
  border: 1px solid var(--clay);
  border-radius: var(--radius);
}

.tag--yellow {
  background: var(--card-yellow);
  color: var(--ink-blue);
  border-color: var(--card-yellow);
}

.tag--red {
  background: var(--card-red);
  color: #FFF7F2;
  border-color: var(--card-red);
}

.tag--pitch {
  background: var(--pitch);
  color: #F2FBF5;
  border-color: var(--pitch);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--paper-3);
  color: var(--ink-blue);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  border: 2px solid var(--ink-blue);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}

.chip:hover {
  border-color: var(--clay);
  color: var(--clay-deep);
}

.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--clay);
  color: var(--paper-3);
  border-color: var(--clay-deep);
}

/* ---------- 13. 图片容器 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--paper-2);
  border: 2px solid var(--ink-blue);
  border-radius: var(--radius);
  box-shadow: var(--hard-shadow);
}

.media > img,
.media > picture,
.media > picture > img,
.media > svg {
  display: block;
  width: 100%;
  height: 100%;
}

.media > img,
.media > picture > img {
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04) sepia(0.06);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: repeating-linear-gradient(0deg, #12233F 0 1px, transparent 1px 3px);
}

.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--21x9 { aspect-ratio: 21 / 9; }

.media__caption {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- 14. 数字与栏目小件 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink-blue);
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-deep);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--clay);
}

.lede {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink-blue);
}

.section-head__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-head__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- 15. 滚动显现 ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 16. 响应式 ---------- */
@media (min-width: 900px) {
  :root { --rail-w: 232px; }
}

@media (min-width: 900px) and (max-width: 1079px) {
  :root { --rail-w: 88px; }

  .brand {
    grid-template-columns: 1fr;
    grid-template-areas: "mark";
    justify-items: center;
    padding-bottom: 12px;
  }

  .brand__name,
  .brand__sub { display: none; }

  .nav__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .nav__link {
    justify-content: center;
    padding: 12px 4px;
  }

  .nav__num { font-size: 12px; }

  .rail__cta {
    padding: 10px 0;
    font-size: 0;
  }

  .rail__cta::before {
    content: "→";
    font-size: 16px;
  }
}

@media (max-width: 899px) {
  :root {
    --rail-w: 0px;
    --top-h: 64px;
    --gutter: 16px;
  }

  .rail {
    top: var(--bar-h);
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: var(--top-h);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 16px;
    border-right: 0;
    border-bottom: 2px solid var(--ink-blue-2);
    overflow: visible;
  }

  .brand {
    grid-template-columns: 28px auto;
    grid-template-areas: "mark name";
    padding-bottom: 0;
    border-bottom: 0;
  }

  .brand__mark {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }

  .brand__name { font-size: 14px; }
  .brand__sub { display: none; }
  .rail__cta { display: none; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: transparent;
    color: var(--paper);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border: 2px solid rgba(244, 237, 228, 0.35);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s;
  }

  .nav-toggle:hover { border-color: var(--card-yellow); }

  .nav-toggle__bars {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    width: 16px;
    height: 12px;
  }

  .nav-toggle__bars span {
    display: block;
    height: 2px;
    background: currentColor;
    transition: transform 0.22s var(--ease), opacity 0.18s;
  }

  .site-header[data-open] .nav-toggle {
    border-color: var(--card-yellow);
    background: rgba(242, 194, 48, 0.14);
  }

  .site-header[data-open] .nav-toggle__bars span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .site-header[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }

  .site-header[data-open] .nav-toggle__bars span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    top: calc(var(--bar-h) + var(--top-h));
    right: 0;
    bottom: 0;
    width: min(86vw, 340px);
    z-index: 108;
    padding: 18px 16px 32px;
    background: var(--ink-blue);
    border-left: 2px solid var(--ink-blue-2);
    transform: translateX(102%);
    transition: transform 0.28s var(--ease);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

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

  .nav__list { gap: 2px; }

  .nav__link {
    padding: 14px 12px;
    font-size: 16px;
    border-left-width: 4px;
  }

  .nav__num { font-size: 12px; }

  .nav-scrim {
    display: block;
    position: fixed;
    top: calc(var(--bar-h) + var(--top-h));
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 106;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(18, 35, 63, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s var(--ease);
    cursor: pointer;
  }

  .site-header[data-open] .nav-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  #main-content {
    transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
  }

  html[data-open] #main-content {
    transform: translateX(12px);
    opacity: 0.92;
  }

  .notice-bar { padding: 0 16px; }
}

@media (max-width: 1023px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  .site-footer {
    margin-top: 52px;
    padding: 40px var(--gutter) 22px;
  }

  .footer__grid { gap: 26px 20px; }
}

@media (max-width: 639px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .notice-bar__text { font-size: 11px; }
  .nav-toggle__label { display: none; }
}

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

  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
