/* =========================================================
   博业赛场 · /assets/site.css
   夜场赛事数据指挥台 · 共享外壳与通用组件
   ========================================================= */

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

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

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

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

a { color: inherit; }

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

hr { border: 0; }

/* ---------- 2. 变量 ---------- */
:root {
  /* 色彩 */
  --ink-950: #05130F;
  --ink-900: #0A211A;
  --ink-800: #103429;
  --cyan-400: #2EF2D0;
  --cyan-200: #A8FFF0;
  --orange: #FF6B2C;
  --orange-deep: #E04E14;
  --silver: #C9D4D0;
  --mist: #EAF5F1;
  --black: #020806;
  --amber: #FFB020;

  /* 线 */
  --line: rgba(201, 212, 208, .14);
  --line-strong: rgba(201, 212, 208, .26);
  --line-cyan: rgba(46, 242, 208, .28);

  /* 字体 */
  --font-display: "Barlow Condensed", "Noto Sans SC", "Source Han Sans SC",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace,
    SFMono-Regular, Menlo, Consolas, monospace;

  /* 圆角 */
  --r-panel: 28px;
  --r-card: 20px;
  --r-pill: 999px;

  /* 动效 */
  --ease: cubic-bezier(.22, .8, .28, 1);

  /* 宽度 */
  --shell-w: 1320px;
  --gutter: 20px;
}

/* ---------- 3. 基础与中文排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: .01em;
  color: var(--silver);
  background-color: var(--ink-950);
  background-image:
    radial-gradient(1100px 620px at 82% -14%, rgba(46, 242, 208, .12), transparent 62%),
    radial-gradient(820px 520px at 2% 4%, rgba(255, 107, 44, .08), transparent 58%),
    linear-gradient(rgba(201, 212, 208, .038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 212, 208, .038) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  background-attachment: fixed, fixed, fixed, fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: .02em;
  color: var(--mist);
}

h1 { font-size: clamp(34px, 5.4vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
h4 { font-size: 18px; }

p { line-height: 1.7; }

strong { color: var(--mist); font-weight: 700; }

::selection {
  background: rgba(46, 242, 208, .28);
  color: var(--mist);
}

:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 等宽数字 */
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  letter-spacing: .01em;
}

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

/* ---------- 4. 布局工具 ---------- */
.container {
  width: min(var(--shell-w), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.container--narrow {
  width: min(880px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section { padding-block: clamp(44px, 6.5vw, 92px); }

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 28px);
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

.panel {
  position: relative;
  padding: clamp(20px, 3vw, 36px);
  border-radius: var(--r-panel);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(16, 52, 41, .82) 0%, rgba(10, 33, 26, .74) 100%);
  box-shadow: 0 22px 54px rgba(2, 8, 6, .42), inset 0 1px 0 rgba(168, 255, 240, .06);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan-200);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-cyan);
  background: rgba(46, 242, 208, .08);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--cyan-400);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(46, 242, 208, .8);
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
    color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #1A0A03;
  border-color: rgba(255, 176, 32, .48);
  box-shadow: 0 12px 28px rgba(255, 107, 44, .26);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(255, 107, 44, .34);
}

.btn-ghost {
  background: rgba(46, 242, 208, .08);
  color: var(--cyan-200);
  border-color: var(--line-cyan);
}

.btn-ghost:hover {
  background: rgba(46, 242, 208, .16);
  color: var(--mist);
  transform: translateY(-1px);
}

/* ---------- 6. 面包屑 ---------- */
.breadcrumb { padding-block: 18px 0; }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: rgba(201, 212, 208, .58);
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
}

.breadcrumb-list li + li::before {
  content: "/";
  margin-inline: 9px;
  color: rgba(46, 242, 208, .45);
}

.breadcrumb-list a {
  text-decoration: none;
  color: rgba(168, 255, 240, .82);
  transition: color .2s var(--ease);
}

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

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

/* ---------- 7. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(46, 242, 208, .16), transparent 60%),
    linear-gradient(160deg, var(--ink-800) 0%, var(--ink-900) 58%, var(--black) 100%);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgba(2, 8, 6, .74) 100%);
}

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

/* ---------- 8. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 200;
  transform: translate(-50%, -180%);
  padding: 12px 24px;
  border-radius: var(--r-pill);
  background: var(--cyan-400);
  color: var(--ink-950);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(2, 8, 6, .6);
  transition: transform .28s var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
  outline: 2px solid var(--mist);
  outline-offset: 3px;
}

/* ---------- 9. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 130;
  padding: 16px 0 0;
  transition: padding .35s var(--ease);
}

.header-shell {
  position: relative;
  width: min(var(--shell-w), calc(100% - 32px));
  margin-inline: auto;
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(16, 52, 41, .94) 0%, rgba(8, 27, 21, .94) 100%);
  box-shadow:
    0 20px 52px rgba(2, 8, 6, .58),
    inset 0 1px 0 rgba(168, 255, 240, .1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: padding .35s var(--ease), min-height .35s var(--ease),
    box-shadow .35s var(--ease);
}

.site-header[data-condensed] { padding-top: 8px; }

.site-header[data-condensed] .header-shell {
  min-height: 54px;
  padding-block: 6px;
  box-shadow: 0 14px 36px rgba(2, 8, 6, .62), inset 0 1px 0 rgba(168, 255, 240, .08);
}

.site-header[data-condensed] .brand-tagline,
.site-header[data-condensed] .header-status {
  display: none;
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  min-width: 0;
  text-decoration: none;
  color: var(--mist);
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--cyan-400) 0%, #12A78F 72%);
  box-shadow:
    0 0 0 1px rgba(168, 255, 240, .38),
    0 10px 22px rgba(46, 242, 208, .3);
  overflow: hidden;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg,
    rgba(5, 19, 15, .78) 0 2px,
    transparent 2px 6px);
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--ink-950);
  transform: translate(-50%, -50%) rotate(45deg);
}

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

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.08;
  color: var(--mist);
  white-space: nowrap;
}

.brand-tagline {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  letter-spacing: .16em;
  line-height: 1.3;
  color: rgba(201, 212, 208, .58);
  white-space: nowrap;
}

/* 状态灯 */
.header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--cyan-200);
  border: 1px solid var(--line-cyan);
  background: rgba(46, 242, 208, .07);
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(46, 242, 208, .18);
  animation: status-pulse 2.6s var(--ease) infinite;
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(46, 242, 208, .16); }
  50% { box-shadow: 0 0 0 7px rgba(46, 242, 208, .04); }
}

/* 导航 */
.site-nav {
  margin-left: auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item { display: block; }

.nav-link {
  display: inline-block;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 14px;
  letter-spacing: .04em;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
  color: rgba(201, 212, 208, .84);
  transition: color .25s var(--ease), background-color .25s var(--ease),
    border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.nav-link:hover {
  color: var(--cyan-200);
  background: rgba(46, 242, 208, .1);
  border-color: rgba(46, 242, 208, .2);
}

.nav-link[aria-current="page"] {
  color: var(--ink-950);
  font-weight: 700;
  background: var(--cyan-400);
  border-color: var(--cyan-400);
  box-shadow: 0 0 20px rgba(46, 242, 208, .34);
}

/* 头部 CTA */
.header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 176, 32, .5);
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #1A0A03;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(255, 107, 44, .28);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(255, 107, 44, .36);
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-cyan);
  background: rgba(46, 242, 208, .1);
  color: var(--cyan-200);
  font-size: 13px;
  letter-spacing: .08em;
  line-height: 1.2;
}

.nav-toggle-bars {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 12px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { bottom: 0; }

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

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

.nav-toggle-label {
  font-family: var(--font-body);
  font-weight: 600;
}

/* 滚动进度 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 140;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan-400) 0%, var(--cyan-200) 46%, var(--orange) 100%);
  box-shadow: 0 0 14px rgba(46, 242, 208, .55);
  pointer-events: none;
}

/* ---------- 10. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  padding: clamp(48px, 6vw, 76px) 0 32px;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(46, 242, 208, .09), transparent 62%),
    linear-gradient(180deg, rgba(10, 33, 26, .58) 0%, rgba(5, 19, 15, .92) 48%, var(--black) 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(46, 242, 208, .72) 26%,
    rgba(255, 107, 44, .58) 68%,
    transparent 100%);
}

.footer-shell {
  width: min(var(--shell-w), calc(100% - 40px));
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .82fr) minmax(0, 1.05fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.footer-logo {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.1;
  color: var(--mist);
  text-decoration: none;
  transition: color .25s var(--ease);
}

.footer-logo:hover { color: var(--cyan-200); }

.footer-summary {
  margin-top: 16px;
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(201, 212, 208, .76);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-cyan);
  background: rgba(46, 242, 208, .07);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--cyan-200);
}

.footer-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 8px rgba(46, 242, 208, .9);
}

.footer-title {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  color: rgba(201, 212, 208, .5);
}

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

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  text-decoration: none;
  color: rgba(201, 212, 208, .86);
  transition: color .2s var(--ease);
}

.footer-links a::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: rgba(46, 242, 208, .45);
  transform: rotate(45deg);
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}

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

.footer-links a:hover::before {
  background: var(--cyan-400);
  box-shadow: 0 0 10px rgba(46, 242, 208, .85);
}

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

.footer-contact-list li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: rgba(46, 242, 208, .78);
}

.footer-value {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .01em;
  color: rgba(234, 245, 241, .9);
  word-break: break-word;
}

.footer-note {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(201, 212, 208, .56);
}

.footer-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-cyan);
  background: rgba(46, 242, 208, .1);
  color: var(--cyan-200);
  font-size: 13.5px;
  letter-spacing: .05em;
  text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease),
    transform .25s var(--ease);
}

.footer-action::after {
  content: "→";
  font-family: var(--font-mono);
}

.footer-action:hover {
  background: rgba(46, 242, 208, .18);
  color: var(--mist);
  transform: translateY(-1px);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: rgba(201, 212, 208, .6);
}

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

.footer-legal-links a {
  font-size: 12.5px;
  text-decoration: none;
  color: rgba(201, 212, 208, .68);
  transition: color .2s var(--ease);
}

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

.footer-icp {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: rgba(201, 212, 208, .46);
}

/* ---------- 11. 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(14px);
}

[data-reveal-group].is-revealed > * {
  opacity: 1;
  transform: none;
  transition:
    opacity .55s var(--ease) var(--stagger, 0ms),
    transform .55s var(--ease) var(--stagger, 0ms);
}

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1180px) {
  .header-status { display: none; }
}

@media (max-width: 980px) {
  :root { --gutter: 16px; }

  .header-shell {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 24px;
  }

  .brand { order: 1; }
  .brand-tagline { display: none; }

  .header-cta {
    order: 2;
    margin-left: auto;
    padding: 9px 15px;
    font-size: 13px;
  }

  .nav-toggle {
    order: 3;
    display: inline-flex;
    margin-left: 6px;
  }

  .site-nav {
    order: 4;
    margin-left: 0;
    position: absolute;
    left: 6px;
    right: 6px;
    top: calc(100% + 10px);
    padding: 10px;
    border-radius: 22px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(180deg, rgba(13, 42, 33, .99) 0%, rgba(6, 22, 17, .99) 100%);
    box-shadow: 0 26px 62px rgba(2, 8, 6, .68);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px) scale(.985);
    transform-origin: 50% 0;
    transition: opacity .28s var(--ease), transform .28s var(--ease),
      visibility .28s var(--ease);
  }

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

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

  .nav-link {
    display: block;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 14px;
  }

  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }

  .grid-7-5,
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
  .header-shell { padding: 8px 10px; gap: 8px; }

  .brand-mark { width: 28px; height: 28px; border-radius: 9px; }
  .brand-name { font-size: 18px; letter-spacing: .06em; }

  .header-cta { padding: 8px 12px; font-size: 12.5px; }

  .nav-toggle { padding: 8px 11px; }
  .nav-toggle-label { display: none; }

  .footer-contact-list li { grid-template-columns: 52px minmax(0, 1fr); }
}

/* ---------- 13. 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  [data-reveal],
  [data-reveal-group] > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .scroll-progress { display: none; }
}

/* ---------- 14. 打印 ---------- */
@media print {
  .site-header,
  .site-footer,
  .scroll-progress,
  .skip-link { display: none !important; }

  body {
    background: #fff !important;
    color: #111 !important;
  }
}
