/* =========================================================
   HTH赛场 · 共享样式表 /assets/site.css
   设计基调：夜间球场观测台 · 草地深绿 + 暗夜蓝紫 + 荧光青 + 琥珀金
   ========================================================= */

/* ---------- 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, li, figure, blockquote, dl, dd, figcaption {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

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

button, input, select, textarea { font: inherit; color: inherit; }

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

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

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

/* ---------- 变量 ---------- */
:root {
  --pitch-deep: #04140d;
  --pitch: #0a2318;
  --pitch-lit: #0f3322;
  --night: #080b18;
  --night-2: #131a3a;

  --cream: #edf5ec;
  --cream-dim: #a9c0b2;
  --cream-faint: rgba(237, 245, 236, 0.6);

  --cyan: #35f0c4;
  --cyan-deep: #0fb894;
  --amber: #ffb62e;
  --amber-soft: #ffd680;

  --line: rgba(53, 240, 196, 0.22);
  --line-soft: rgba(237, 245, 236, 0.12);

  --rail: 236px;
  --gutter: clamp(1.15rem, 4vw, 2.75rem);
  --pad-sec: clamp(2.8rem, 7vw, 5.5rem);

  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

/* ---------- 基础排版与页面底色 ---------- */
body {
  min-height: 100vh;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  background-color: var(--pitch-deep);
  background-image:
    radial-gradient(120% 90% at 88% -10%, rgba(19, 26, 58, 0.95) 0%, rgba(19, 26, 58, 0) 58%),
    radial-gradient(85% 70% at 4% 104%, rgba(255, 182, 46, 0.09) 0%, rgba(255, 182, 46, 0) 62%),
    linear-gradient(168deg, var(--pitch) 0%, var(--pitch-deep) 46%, var(--night) 100%);
  background-repeat: no-repeat;
  background-size: cover;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(53, 240, 196, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 240, 196, 0.05) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(125% 85% at 50% 0%, #000 0%, rgba(0, 0, 0, 0) 78%);
  mask-image: radial-gradient(125% 85% at 50% 0%, #000 0%, rgba(0, 0, 0, 0) 78%);
}

h1, h2, h3, h4 { line-height: 1.25; letter-spacing: 0.04em; font-weight: 800; }

h1 { font-size: clamp(2.1rem, 6vw, 4.2rem); letter-spacing: 0.06em; }
h2 { font-size: clamp(1.45rem, 3.2vw, 2.15rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); }

strong { color: var(--cream); }

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

::selection { background: var(--cyan); color: var(--pitch-deep); }

/* ---------- 结构层 ---------- */
main,
.site-footer { position: relative; z-index: 2; }

#main-content { scroll-margin-top: 5rem; }

body[data-lock] { overflow: hidden; }

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -4.5rem;
  left: 1rem;
  z-index: 200;
  padding: 0.7rem 1.15rem;
  background: var(--amber);
  color: #1b1203;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: top 0.24s var(--ease);
}

.skip-link:focus { top: 1rem; }

/* =========================================================
   站点头部：桌面端左侧轨道
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 1.15rem 1.3rem;
  background: linear-gradient(180deg, rgba(6, 17, 12, 0.97) 0%, rgba(8, 11, 24, 0.98) 100%);
  border-right: 1px solid var(--line);
  z-index: 60;
}

.rail-brand { flex: 0 0 auto; }

.brand { display: flex; align-items: center; gap: 0.7rem; }

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--cyan);
  background: linear-gradient(140deg, rgba(53, 240, 196, 0.24), rgba(19, 26, 58, 0.7));
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--amber);
}

.brand-mark::before {
  left: 7px; right: 7px; top: 50%;
  height: 2px;
  transform: translateY(-50%);
}

.brand-mark::after {
  top: 7px; bottom: 7px; left: 50%;
  width: 2px;
  transform: translateX(-50%);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }

.brand-name { font-size: 1.12rem; font-weight: 800; letter-spacing: 0.14em; }

.brand-sub {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--cream-faint);
}

/* ---------- 导航 ---------- */
.site-nav {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--line-soft);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(53, 240, 196, 0.45) transparent;
}

.nav-head { display: flex; flex-direction: column; gap: 0.25rem; }

.nav-title {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--cyan);
}

.nav-note { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--cream-faint); }

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  counter-reset: navidx;
}

.nav-list li { counter-increment: navidx; }

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.4rem 0.6rem 0.55rem;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cream-dim);
  border-left: 2px solid transparent;
  transition: color 0.22s var(--ease), background 0.22s var(--ease),
    border-color 0.22s var(--ease), padding-left 0.22s var(--ease);
}

.nav-link::before {
  content: counter(navidx, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: rgba(53, 240, 196, 0.55);
  transition: color 0.22s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--cream);
  background: rgba(53, 240, 196, 0.09);
  border-left-color: var(--cyan);
  padding-left: 0.85rem;
}

.nav-link[aria-current="page"] {
  color: var(--pitch-deep);
  background: var(--cyan);
  border-left-color: var(--amber);
}

.nav-link[aria-current="page"]::before { color: rgba(4, 20, 13, 0.62); }

.nav-foot {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}

.nav-cta { justify-content: center; width: 100%; }

.nav-tel { font-size: 0.82rem; letter-spacing: 0.1em; color: var(--cream-faint); }

/* ---------- 移动端开关 / 遮罩（桌面隐藏） ---------- */
.nav-toggle { display: none; }

.nav-toggle-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; }

.nav-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 20px;
}

.nav-toggle-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--cyan);
  transition: transform 0.24s var(--ease), opacity 0.24s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) { opacity: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-scrim { display: none; }

/* =========================================================
   按钮
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.35rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan);
  background: transparent;
  border: 1px solid var(--cyan);
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.btn:hover,
.btn:focus-visible { background: var(--cyan); color: var(--pitch-deep); }

.btn:active { transform: translateY(1px); }

.btn--solid { background: var(--cyan); color: var(--pitch-deep); }

.btn--solid:hover,
.btn--solid:focus-visible {
  background: var(--amber);
  border-color: var(--amber);
  color: #1b1203;
}

.btn--amber { border-color: var(--amber); color: var(--amber); }

.btn--amber:hover,
.btn--amber:focus-visible { background: var(--amber); color: #1b1203; }

/* =========================================================
   正文容器 / 分区 / 网格
   ========================================================= */
.container {
  width: min(100% - var(--gutter) * 2, 1180px);
  margin-inline: auto;
}

.section { padding-block: var(--pad-sec); }

.band {
  position: relative;
  padding-block: var(--pad-sec);
  border-top: 1px solid var(--line-soft);
}

.band:first-of-type { border-top: 0; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding-bottom: 0.95rem;
  margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
  border-bottom: 1px solid var(--line);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--cyan);
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--amber);
}

.lede {
  max-width: 62ch;
  font-size: clamp(1.02rem, 2vw, 1.26rem);
  line-height: 1.95;
  color: var(--cream-dim);
}

.prose { max-width: 74ch; }

.prose p { margin-bottom: 1.1em; color: var(--cream-dim); }

.prose h2,
.prose h3 { margin: 1.8em 0 0.7em; color: var(--cream); }

.prose ul,
.prose ol { margin: 0 0 1.2em 1.1rem; color: var(--cream-dim); }

.prose ul { list-style: square; }

.prose ol { list-style: decimal; }

.prose li { margin-bottom: 0.5em; }

.grid { display: grid; gap: clamp(0.9rem, 2.6vw, 1.5rem); }

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

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

.diag {
  height: 1px;
  border: 0;
  margin-block: clamp(1.4rem, 4vw, 2.6rem);
  background: linear-gradient(90deg, var(--cyan) 0%, rgba(255, 182, 46, 0.9) 55%, rgba(255, 182, 46, 0) 100%);
}

/* =========================================================
   内容组件
   ========================================================= */
.panel {
  position: relative;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(53, 240, 196, 0.06), rgba(8, 11, 24, 0.45));
  transition: border-color 0.24s var(--ease), background 0.24s var(--ease);
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 2px;
  background: var(--amber);
}

.panel:hover { border-color: var(--line); background: linear-gradient(180deg, rgba(53, 240, 196, 0.1), rgba(8, 11, 24, 0.5)); }

.panel-title {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.panel--amber::before { background: var(--cyan); }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

.stat { display: flex; flex-direction: column; gap: 0.25rem; }

.stat-value {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.65rem, 4vw, 2.4rem);
  line-height: 1.1;
  font-weight: 600;
  color: var(--amber);
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--cream-faint);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.24rem 0.6rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--line);
}

.tag--amber { color: var(--amber); border-color: rgba(255, 182, 46, 0.5); }

.timeline {
  display: grid;
  gap: 1.15rem;
  padding-left: 1.4rem;
  border-left: 1px solid var(--line);
}

.timeline-item { position: relative; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1.4rem - 5px);
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  transform: rotate(45deg);
}

.timeline-title { font-weight: 700; letter-spacing: 0.05em; }

.timeline-meta {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.timeline-text { font-size: 0.95rem; color: var(--cream-dim); }

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line-soft);
}

.data-table { min-width: 520px; font-size: 0.92rem; }

.data-table caption {
  padding-bottom: 0.6rem;
  text-align: left;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.data-table th,
.data-table td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}

.data-table thead th {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-faint);
  border-bottom-color: var(--line);
}

.data-table tbody tr { transition: background 0.2s var(--ease); }

.data-table tbody tr:hover { background: rgba(53, 240, 196, 0.07); }

.data-table .num { font-family: var(--mono); text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- 面包屑 ---------- */
.breadcrumb { margin-bottom: clamp(1.2rem, 3vw, 2rem); }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--cream-faint);
}

.breadcrumb li { display: flex; align-items: center; gap: 0.55rem; }

.breadcrumb li + li::before { content: "／"; color: rgba(53, 240, 196, 0.45); }

.breadcrumb a { transition: color 0.22s var(--ease); }

.breadcrumb a:hover { color: var(--cyan); }

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

/* =========================================================
   图片容器基础规则（页面阶段放入 <img>）
   ========================================================= */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-soft);
  background: linear-gradient(135deg, var(--pitch-lit) 0%, var(--night-2) 100%);
}

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 20, 13, 0) 45%, rgba(4, 20, 13, 0.74) 100%);
}

.media--wide { aspect-ratio: 21 / 9; }

.media--tall { aspect-ratio: 3 / 4; }

.media--square { aspect-ratio: 1 / 1; }

.media-hold {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 1rem;
}

.media-caption {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--cream-faint);
}

/* =========================================================
   阅读进度线（由 JS 注入）
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--amber) 100%);
  will-change: transform;
  pointer-events: none;
}

/* =========================================================
   页脚
   ========================================================= */
.site-footer {
  margin-top: clamp(2.5rem, 7vw, 5rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 11, 24, 0.72) 0%, rgba(4, 14, 10, 0.97) 100%);
  color: var(--cream-dim);
}

.footer-anchor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.5rem;
  padding: 1rem var(--gutter);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(53, 240, 196, 0.14) 0%, rgba(255, 182, 46, 0.06) 58%, rgba(255, 182, 46, 0) 100%);
}

.footer-anchor-label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--amber);
}

.footer-anchor-link {
  position: relative;
  padding-bottom: 2px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cream);
  transition: color 0.24s var(--ease);
}

.footer-anchor-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s var(--ease);
}

.footer-anchor-link:hover,
.footer-anchor-link:focus-visible { color: var(--cyan); }

.footer-anchor-link:hover::after,
.footer-anchor-link:focus-visible::after { transform: scaleX(1); }

.footer-main {
  display: grid;
  gap: clamp(1.6rem, 4vw, 2.6rem);
  grid-template-columns: 1fr;
  padding: clamp(2rem, 5vw, 3.4rem) var(--gutter);
}

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

.footer-logo {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--cream);
}

.footer-tagline { margin-top: 0.5rem; font-size: 0.86rem; color: var(--cream-faint); }

.footer-domain { margin-top: 0.9rem; font-size: 0.78rem; letter-spacing: 0.08em; color: var(--cyan); }

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

.footer-label {
  margin-bottom: 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--cyan);
}

.footer-list { display: grid; gap: 0.5rem; }

.footer-list a {
  font-size: 0.9rem;
  color: var(--cream-dim);
  transition: color 0.22s var(--ease), padding-left 0.22s var(--ease);
}

.footer-list a:hover,
.footer-list a:focus-visible { color: var(--amber); padding-left: 6px; }

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

.footer-line {
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--cream-dim);
  word-break: break-word;
}

.footer-note {
  max-width: 46ch;
  font-size: 0.78rem;
  line-height: 1.85;
  color: rgba(169, 192, 178, 0.78);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  border-top: 1px solid var(--line-soft);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: rgba(169, 192, 178, 0.75);
}

/* =========================================================
   滚动显现（仅在 JS 生效时启用，避免内容被隐藏）
   ========================================================= */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================
   响应式：桌面轨道占位
   ========================================================= */
@media (min-width: 1024px) {
  body { padding-left: var(--rail); }

  .scroll-progress { left: var(--rail); }

  .grid--asym { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
}

@media (min-width: 760px) {
  .footer-main { grid-template-columns: 1.4fr 1fr 1.5fr; }
}

/* =========================================================
   响应式：移动端 / 平板抽屉
   ========================================================= */
@media (max-width: 1023px) {
  body { padding-left: 0; }

  .site-header {
    inset: 0 0 auto 0;
    width: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.7rem var(--gutter);
    background: rgba(5, 14, 10, 0.97);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand-mark { width: 30px; height: 30px; }

  .brand-name { font-size: 1rem; letter-spacing: 0.12em; }

  .brand-sub { font-size: 0.6rem; letter-spacing: 0.16em; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.8rem;
    color: var(--cream);
    border: 1px solid var(--line);
    transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
  }

  .nav-toggle:hover { border-color: var(--cyan); background: rgba(53, 240, 196, 0.08); }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    width: min(86vw, 380px);
    padding: 5.2rem var(--gutter) 2rem;
    background: linear-gradient(205deg, #0b2a1c 0%, #0a1226 55%, #080b18 100%);
    border-top: 0;
    border-left: 1px solid var(--line);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.55);
    transform: translateX(103%);
    transition: transform 0.42s var(--ease);
    overflow-y: auto;
  }

  .site-header[data-open] .site-nav { transform: translateX(0); }

  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(4, 10, 7, 0.66);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  .site-header[data-open] .nav-scrim { opacity: 1; visibility: visible; }

  .nav-foot { margin-top: 1.6rem; }
}

/* ---------- 减少动态效果 ---------- */
@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;
  }

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