/* ============================================================
   K1体育3915 · 夜场数据台 — 全站共享样式
   文件位置：/assets/site.css
   ============================================================ */

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

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

html[data-nav-lock="true"] { overflow: hidden; }

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

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

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

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

a { color: inherit; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #0B1220;
  --ink-deep: #070D18;
  --stand: #111C33;
  --cyan: #25F4D0;
  --cyan-soft: rgba(37, 244, 208, 0.14);
  --flame: #FF6B2C;
  --flame-soft: rgba(255, 107, 44, 0.14);
  --silver: #C7D0DC;
  --mist: #7C8AA0;
  --white: #F4F8FF;
  --amber: #FFC24B;
  --data-green: #3DDE8A;
  --line: #1E2A42;

  --max: 1320px;
  --gutter: clamp(18px, 4.5vw, 64px);
  --header-h: clamp(64px, 7vw, 80px);

  --r-xl: 36px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-display: "Oswald", "Barlow Condensed", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-num: "Roboto Mono", "SF Mono", ui-monospace, "Menlo", "Consolas", monospace;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  padding-top: var(--header-h);
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, rgba(30, 42, 66, 0.34) 1px, transparent 1px),
    linear-gradient(180deg, rgba(30, 42, 66, 0.26) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px;
  background-attachment: fixed;
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

p { max-width: 72ch; }

strong { color: var(--white); font-weight: 600; }

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 700;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--white);
  font-weight: 700;
}

.num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cyan);
}

.index-label {
  display: inline-block;
  font-family: var(--font-num);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

/* ---------- 4. 无障碍与工具类 ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.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;
}

.is-hidden { display: none !important; }

.skip-link {
  position: fixed;
  top: -120px;
  left: var(--gutter);
  z-index: 200;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  background: var(--cyan);
  color: #04121A;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus { top: 12px; }

/* ---------- 5. 布局容器与网格 ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(56px, 9vw, 132px);
}

.section--tight { padding-block: clamp(32px, 5vw, 72px); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.stack { display: grid; gap: 16px; align-content: start; }
.stack--loose { gap: clamp(24px, 4vw, 48px); }

.slant-rule {
  height: 2px;
  border: 0;
  margin-block: clamp(40px, 7vw, 96px);
  background: repeating-linear-gradient(
    100deg,
    rgba(37, 244, 208, 0.55) 0 14px,
    transparent 14px 40px
  );
  opacity: 0.5;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.24s var(--ease), background-color 0.24s var(--ease),
    color 0.24s var(--ease), border-color 0.24s var(--ease);
}

.btn--primary {
  background: var(--cyan);
  color: #04121A;
}

.btn--primary:hover { background: #5CFFE0; transform: translateY(-1px); }

.btn--flame {
  background: var(--flame);
  color: #1A0A02;
}

.btn--flame:hover { background: #FF8551; transform: translateY(-1px); }

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

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ---------- 7. 头部 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background-color: transparent;
  background-image: linear-gradient(
    180deg,
    rgba(11, 18, 32, 0.94) 0%,
    rgba(11, 18, 32, 0.6) 58%,
    rgba(11, 18, 32, 0) 100%
  );
  border-bottom: 1px solid transparent;
  transition: background-color 0.28s var(--ease), border-color 0.28s var(--ease);
}

.site-header[data-scrolled="true"] {
  background-color: rgba(11, 18, 32, 0.96);
  background-image: none;
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(12px, 2.2vw, 40px);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--cyan), #0E9C86);
  color: #03151A;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.14; }

.brand__name {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand__sub {
  color: var(--mist);
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* 导航 */
.site-nav { display: flex; justify-content: center; min-width: 0; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.7vw, 10px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 12px;
  border-radius: var(--r-pill);
  color: var(--silver);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.24s var(--ease), background-color 0.24s var(--ease);
}

.nav-num {
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--mist);
  transition: color 0.24s var(--ease);
}

.nav-link:hover { color: var(--white); background: rgba(37, 244, 208, 0.08); }
.nav-link:hover .nav-num { color: var(--cyan); }

.nav-link[aria-current="page"] { color: var(--white); }
.nav-link[aria-current="page"] .nav-num { color: var(--cyan); }

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
}

/* 头部操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  justify-self: end;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(17, 28, 51, 0.75);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.24s var(--ease), background-color 0.24s var(--ease);
}

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

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: background-color 0.2s var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform 0.26s var(--ease);
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* 阅读进度 */
.read-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: rgba(30, 42, 66, 0.7);
  overflow: hidden;
}

.read-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--flame));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(72px, 12vw, 160px);
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.45;
}

.footer-track {
  position: absolute;
  left: -8%; right: -8%; bottom: -34%;
  height: 380px;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(100deg, rgba(37, 244, 208, 0.08) 0 2px, transparent 2px 92px),
    radial-gradient(60% 100% at 18% 100%, rgba(37, 244, 208, 0.1), transparent 70%),
    radial-gradient(52% 90% at 86% 100%, rgba(255, 107, 44, 0.09), transparent 72%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) var(--gutter) clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) minmax(300px, 1.5fr) minmax(230px, 1fr);
  gap: clamp(32px, 5vw, 72px);
}

.footer-brand { display: grid; gap: 20px; align-content: start; }

.brand--footer .brand__name { font-size: 19px; }

.footer-signoff {
  color: var(--silver);
  font-size: 15px;
  line-height: 1.75;
  max-width: 34ch;
}

.footer-brand .btn { justify-self: start; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  align-content: start;
}

.footer-col__title {
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 18px;
}

.footer-col__list { display: grid; gap: 12px; }

.footer-col__list a {
  position: relative;
  color: var(--silver);
  font-size: 16px;
  text-decoration: none;
  transition: color 0.24s var(--ease);
}

.footer-col__list a::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--line);
  transition: background-color 0.24s var(--ease), width 0.24s var(--ease);
}

.footer-col__list a:hover { color: var(--white); }
.footer-col__list a:hover::before { width: 20px; background: var(--cyan); }

.footer-contact dl { display: grid; gap: 16px; }

.footer-contact__row dt {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.footer-contact__row dd {
  margin-top: 5px;
  color: var(--white);
  font-family: var(--font-num);
  font-size: 15px;
  letter-spacing: 0.01em;
}

.footer-note {
  margin-top: 22px;
  padding-left: 14px;
  border-left: 2px solid var(--flame);
  color: var(--mist);
  font-size: 13px;
  line-height: 1.7;
  max-width: 40ch;
}

.footer-base {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--gutter) 34px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  font-size: 13px;
  color: var(--mist);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-legal a {
  color: var(--mist);
  text-decoration: none;
  transition: color 0.24s var(--ease);
}

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

.footer-meta { font-family: var(--font-num); letter-spacing: 0.04em; }

/* ---------- 9. 通用内容组件 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.crumbs a { color: var(--mist); text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }
.crumbs__sep { color: var(--line); }
.crumbs [aria-current="page"] { color: var(--silver); }

.prose {
  max-width: 68ch;
  display: grid;
  gap: 1.15em;
  color: var(--silver);
}

.prose h2 { margin-top: 1.6em; font-size: clamp(26px, 3vw, 38px); }
.prose h3 { margin-top: 1.4em; font-size: clamp(20px, 2.2vw, 26px); }
.prose ul { display: grid; gap: 10px; padding-left: 20px; list-style: none; }

.prose ul li { position: relative; }

.prose ul li::before {
  content: "";
  position: absolute;
  left: -20px; top: 0.72em;
  width: 8px; height: 2px;
  background: var(--cyan);
}

/* 章节索引条 */
.chapter-rail {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(11, 18, 32, 0.92);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.chapter-rail__list {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}

.chapter-rail__list::-webkit-scrollbar { display: none; }

.chapter-rail__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--mist);
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.24s var(--ease), border-color 0.24s var(--ease),
    background-color 0.24s var(--ease);
}

.chapter-rail__link:hover { color: var(--silver); border-color: var(--mist); }

.chapter-rail__link.is-active,
.chapter-rail__link[aria-current="true"] {
  color: var(--cyan);
  border-color: var(--cyan);
  background: var(--cyan-soft);
}

[data-chapter] { scroll-margin-top: calc(var(--header-h) + 78px); }

/* 卡片 */
.card {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: start;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--stand);
  transition: border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

.card:hover { border-color: var(--cyan); transform: translateY(-2px); }

.card--flat { background: rgba(17, 28, 51, 0.5); border-radius: var(--r-lg); }

.card--tall { padding-bottom: clamp(32px, 5vw, 60px); }

.card__title { font-size: clamp(20px, 2.2vw, 26px); }

.card__body { color: var(--silver); font-size: 16px; }

.card:hover .card__num { transform: scale(1.03); }

.card__num {
  display: inline-block;
  transition: transform 0.24s var(--ease);
  transform-origin: left center;
}

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(30, 42, 66, 0.6);
  color: var(--mist);
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tag--amber { border-color: rgba(255, 194, 75, 0.5); color: var(--amber); }
.tag--flame { border-color: rgba(255, 107, 44, 0.5); color: var(--flame); }
.tag--green { border-color: rgba(61, 222, 138, 0.5); color: var(--data-green); }
.tag--cyan { border-color: rgba(37, 244, 208, 0.45); color: var(--cyan); }

/* 图例式入口 */
.entry-block {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--stand);
  text-decoration: none;
  transition: border-color 0.24s var(--ease), background-color 0.24s var(--ease);
}

.entry-block:hover { border-color: var(--cyan); background: rgba(37, 244, 208, 0.06); }

.entry-block__num {
  font-family: var(--font-num);
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--cyan);
  transition: transform 0.24s var(--ease);
  transform-origin: left center;
}

.entry-block:hover .entry-block__num { transform: scale(1.03); }

.entry-block__label {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.entry-block__hint { color: var(--mist); font-size: 14px; }

/* 数据指标 */
.stat { display: grid; gap: 6px; align-content: start; }

.stat__value {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--cyan);
}

.stat__value--flame { color: var(--flame); }
.stat__value--white { color: var(--white); }

.stat__label {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

/* 图片容器基础规则（页面阶段放图片占位） */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background-color: var(--stand);
  background-image:
    radial-gradient(70% 60% at 30% 20%, rgba(37, 244, 208, 0.12), transparent 70%),
    radial-gradient(60% 70% at 80% 90%, rgba(255, 107, 44, 0.12), transparent 72%),
    repeating-linear-gradient(100deg, rgba(30, 42, 66, 0.7) 0 1px, transparent 1px 54px);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.1) 0%, rgba(11, 18, 32, 0.72) 100%);
}

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

/* 显现 */
html[data-reveal-ready="true"] [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}

html[data-reveal-ready="true"] [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* 标签面板 */
.tab-list { display: flex; flex-wrap: wrap; gap: 8px; }

.tab-btn {
  min-height: 40px;
  padding: 8px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: none;
  color: var(--mist);
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.24s var(--ease), border-color 0.24s var(--ease),
    background-color 0.24s var(--ease);
}

.tab-btn:hover { color: var(--silver); border-color: var(--mist); }

.tab-btn.is-active,
.tab-btn[aria-selected="true"] {
  color: var(--cyan);
  border-color: var(--cyan);
  background: var(--cyan-soft);
}

[data-panel][hidden] { display: none; }

/* ---------- 10. 响应式 ---------- */
@media (max-width: 1100px) {
  .header-actions .btn--ghost { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    display: block;
    padding: clamp(20px, 5vw, 40px) var(--gutter) 64px;
    background-color: var(--ink);
    background-image: repeating-linear-gradient(
      100deg,
      rgba(37, 244, 208, 0.05) 0 1px,
      transparent 1px 46px
    );
    border-top: 1px solid var(--line);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease), visibility 0.26s;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    padding: 18px 8px;
    border-radius: 14px;
    border-bottom: 1px solid var(--line);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
  }

  .nav-link .nav-num { font-size: 11px; }

  .nav-link[aria-current="page"]::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--cyan); }

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

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body {
    font-size: 16.5px;
    background-attachment: scroll;
  }

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

  .header-actions .btn--primary { padding-inline: 16px; font-size: 14px; }

  .brand__sub { display: none; }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: clamp(44px, 10vw, 64px);
  }

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

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .media-frame { border-radius: var(--r-lg); }
}

@media (max-width: 420px) {
  .brand__name { font-size: 15px; }
  .nav-toggle__text { display: none; }
  .nav-toggle { padding: 8px 14px; }
}

/* ---------- 11. 动效克制 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html[data-reveal-ready="true"] [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .card:hover,
  .btn:hover { transform: none; }
}
