/* ============================================================
   博亚看台 · 共享样式表 /assets/site.css
   夜场战术指挥台视觉体系
   ============================================================ */

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

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #0A1024;
  color: #EEF3FF;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .005em;
}

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

img { height: auto; }

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

ul,
ol { margin: 0; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink-900: #0A1024;
  --ink-800: #131B36;
  --ink-700: #1D2950;
  --cyan: #2BE8C6;
  --cyan-soft: rgba(43, 232, 198, .14);
  --orange: #FF8E3C;
  --orange-soft: rgba(255, 142, 60, .12);
  --grass: #59D97F;
  --amber: #FFB24D;
  --mist: #EEF3FF;
  --slate: #93A2C4;
  --white: #FFFFFF;
  --line: rgba(147, 162, 196, .22);
  --line-soft: rgba(147, 162, 196, .12);
  --line-dash: rgba(147, 162, 196, .28);

  --font-head: "Archivo Narrow", "Source Han Sans SC", "Noto Sans SC",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo,
    Consolas, "Courier New", monospace;

  --r-card: 20px;
  --r-pill: 999px;
  --shell: min(1280px, 100% - 48px);
  --shell-narrow: min(880px, 100% - 48px);
  --scroll-progress: 0%;
}

::selection {
  background: var(--cyan);
  color: #06251F;
}

/* ---------- 3. 球场氛围背景 ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 10% -8%, rgba(43, 232, 198, .10), transparent 62%),
    radial-gradient(760px 560px at 92% 4%, rgba(29, 41, 80, .85), transparent 68%),
    radial-gradient(640px 420px at 60% 110%, rgba(255, 142, 60, .07), transparent 70%);
}

/* ---------- 4. 排版 ---------- */
h1, h2, h3, h4 {
  margin: 0 0 .6em;
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.14;
  color: var(--mist);
  letter-spacing: -.006em;
}

h1 { font-size: clamp(38px, 6.4vw, 72px); }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: clamp(19px, 2.1vw, 24px); }

h4 {
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate);
}

p {
  margin: 0 0 1.1em;
  max-width: 68ch;
}

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

a { color: var(--cyan); }

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

.num,
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(29, 41, 80, .55);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate);
}

.lede {
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.7;
  color: var(--slate);
  max-width: 60ch;
}

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

/* ---------- 5. 容器与网格 ---------- */
.wrap {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin-inline: auto;
}

.wrap--narrow {
  position: relative;
  z-index: 1;
  width: var(--shell-narrow);
  margin-inline: auto;
}

.section {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 8vw, 104px) 0;
}

.section--tint {
  background:
    linear-gradient(180deg, rgba(19, 27, 54, .92), rgba(19, 27, 54, .62));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section--tight { padding: clamp(32px, 4vw, 56px) 0; }

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

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

/* ---------- 6. 页头 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 60;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--cyan);
  color: #06251F;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 12px;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(19, 27, 54, .97), rgba(10, 16, 36, .93));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* 滚动进度 */
.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  height: 2px;
  width: var(--scroll-progress, 0%);
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

/* 扫描线 */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(43, 232, 198, .55), transparent);
  background-size: 42% 100%;
  background-repeat: no-repeat;
  animation: scanline 6s ease-in-out infinite;
}

@keyframes scanline {
  0%   { background-position: -45% 0; }
  50%  { background-position: 145% 0; }
  100% { background-position: -45% 0; }
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  width: var(--shell);
  margin-inline: auto;
  padding: 14px 0;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--ink-700), #0d1631);
  border: 1px solid rgba(43, 232, 198, .32);
  color: var(--cyan);
  transition: border-color .2s ease, color .2s ease;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  border-color: var(--orange);
  color: var(--orange);
}

.brand-text { display: block; }

.brand-name {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: .1em;
  color: var(--mist);
}

.brand-line {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .06em;
  color: var(--slate);
}

/* 轮次刻度条 */
.round-rail {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(10, 16, 36, .55);
  border: 1px solid var(--line-soft);
}

.round-rail__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate);
  flex: 0 0 auto;
}

.round-rail__track {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}

.tick {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 32px;
  padding: 0 0 6px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease;
}

.tick::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 2px;
  height: 7px;
  translate: -50% 0;
  border-radius: 2px;
  background: rgba(147, 162, 196, .5);
  transition: height .18s ease, background-color .18s ease;
}

.tick:hover { color: var(--mist); background: rgba(29, 41, 80, .8); }

.tick[aria-pressed="true"] {
  color: var(--orange);
  background: var(--orange-soft);
}

.tick[aria-pressed="true"]::after {
  height: 15px;
  background: var(--orange);
}

/* 主栏目 */
.site-nav { margin-left: auto; }

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

.nav-list a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  color: var(--slate);
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--mist);
  background: rgba(29, 41, 80, .85);
}

.nav-list a[aria-current="page"] {
  color: #06251F;
  background: linear-gradient(180deg, #3FF3D2, #22CDAE);
  box-shadow: 0 8px 20px -10px rgba(43, 232, 198, .95);
}

/* 移动端开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 9px 16px;
  border: 1px solid rgba(43, 232, 198, .38);
  border-radius: var(--r-pill);
  background: rgba(29, 41, 80, .6);
  color: var(--cyan);
  font-size: 14px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}

.nav-toggle:hover { background: rgba(29, 41, 80, .95); }

.nav-toggle__box {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle__box span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .24s ease, opacity .24s ease;
}

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

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

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

.nav-toggle__text { font-weight: 600; }

/* 工具带 */
.header-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  width: var(--shell);
  margin-inline: auto;
  padding: 0 0 14px;
}

.utility-left,
.utility-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.utility-right { margin-left: auto; }

.round-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 142, 60, .42);
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 13px;
  letter-spacing: .08em;
}

.round-badge .num {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.venue-switch {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border-radius: var(--r-pill);
  background: rgba(29, 41, 80, .7);
  border: 1px solid var(--line);
}

.pill {
  padding: 5px 15px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--slate);
  font-size: 13px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.pill:hover { color: var(--mist); }

.pill[aria-pressed="true"] {
  background: var(--cyan-soft);
  color: var(--cyan);
  box-shadow: inset 0 0 0 1px var(--cyan);
}

.search-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.search-field input {
  width: 210px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(10, 16, 36, .8);
  color: var(--mist);
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.search-field input::placeholder { color: rgba(147, 162, 196, .75); }

.search-field input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(43, 232, 198, .2);
}

.search-count {
  min-width: 3ch;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--grass);
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease,
    color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.btn--cta {
  background: linear-gradient(180deg, #FFA15C, var(--orange));
  color: #25150A;
  box-shadow: 0 12px 26px -14px rgba(255, 142, 60, .95);
}

.btn--cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -14px rgba(255, 142, 60, 1);
}

.btn--ghost {
  border-color: rgba(43, 232, 198, .5);
  background: var(--cyan-soft);
  color: var(--cyan);
}

.btn--ghost:hover { background: rgba(43, 232, 198, .22); }

.btn--quiet {
  border-color: var(--line);
  background: rgba(29, 41, 80, .5);
  color: var(--mist);
}

.btn--quiet:hover { border-color: var(--slate); background: rgba(29, 41, 80, .95); }

/* ---------- 8. 面包屑与内页头 ---------- */
.page-head {
  position: relative;
  z-index: 1;
  padding: clamp(36px, 5vw, 66px) 0 clamp(24px, 3vw, 40px);
}

.breadcrumb { margin-bottom: 22px; }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--slate);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(147, 162, 196, .5);
}

.breadcrumb a {
  color: var(--slate);
  text-decoration: none;
  transition: color .18s ease;
}

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

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

/* ---------- 9. 卡片 / 数据块 ---------- */
.card {
  position: relative;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(29, 41, 80, .72), rgba(19, 27, 54, .72));
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 42px;
  height: 2px;
  background: var(--cyan);
  opacity: .55;
}

.card__coord {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(147, 162, 196, .75);
}

.card__title {
  margin: 10px 0 10px;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--white);
}

.stat__label {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--slate);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--slate);
}

.tag--ok {
  border-color: rgba(89, 217, 127, .45);
  background: rgba(89, 217, 127, .1);
  color: var(--grass);
}

.tag--warn {
  border-color: rgba(255, 178, 77, .45);
  background: rgba(255, 178, 77, .1);
  color: var(--amber);
}

/* ---------- 10. 图片容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: linear-gradient(160deg, var(--ink-700), #0c1329);
  aspect-ratio: 16 / 9;
}

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(147, 162, 196, .08) 0 1px, transparent 1px 56px),
    linear-gradient(180deg, transparent 58%, rgba(10, 16, 36, .6));
}

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

.media__caption {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--mist);
}

/* ---------- 11. 扫描线与可展开组 ---------- */
.scanline { position: relative; }

.scanline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(43, 232, 198, .7), transparent);
  background-size: 45% 100%;
  background-repeat: no-repeat;
  animation: scanline 6s ease-in-out infinite;
}

.expand {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: rgba(19, 27, 54, .6);
  overflow: hidden;
}

.expand__trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 18px 22px;
  border: 0;
  background: transparent;
  color: var(--mist);
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: background-color .18s ease;
}

.expand__trigger:hover { background: rgba(29, 41, 80, .65); }

.expand__trigger::after {
  content: "";
  margin-left: auto;
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg);
  transition: transform .24s ease;
}

.expand__trigger[aria-expanded="true"]::after { transform: rotate(-135deg); }

.expand__panel { padding: 0 22px 22px; }

.expand__panel[hidden] { display: none; }

/* ---------- 12. 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(19, 27, 54, .72), rgba(6, 10, 24, .98));
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43, 232, 198, .5), transparent);
}

.footer-shell {
  width: var(--shell);
  margin-inline: auto;
  padding: clamp(40px, 5vw, 60px) 0 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(150px, 1fr)) minmax(220px, 1.25fr);
  gap: 32px;
}

.footer-brand .brand { margin-bottom: 18px; }

.footer-note {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
}

.footer-coords {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(147, 162, 196, .7);
}

.footer-col__title {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

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

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

.footer-list--plain {
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px dashed var(--line-dash);
}

.footer-legal,
.footer-copy {
  margin: 0;
  max-width: none;
  font-size: 13px;
  color: var(--slate);
}

.footer-copy { font-family: var(--font-mono); letter-spacing: .04em; }

/* ---------- 13. 动效 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}

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

[hidden] { display: none !important; }

/* ---------- 14. 焦点态 ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.site-nav a:focus-visible,
.btn:focus-visible,
.pill:focus-visible,
.tick:focus-visible,
.nav-toggle:focus-visible { border-radius: var(--r-pill); }

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1180px) {
  .round-rail__track .tick:nth-child(n + 7) { display: none; }
  .footer-top { grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(140px, 1fr)); }
  .footer-top .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .round-rail { display: none; }

  .header-bar { flex-wrap: wrap; gap: 12px; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    display: none;
    margin-left: 0;
    padding: 12px 24px 20px;
    background: linear-gradient(180deg, rgba(19, 27, 54, .99), rgba(10, 16, 36, .99));
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .9);
  }

  .site-nav[data-open] { display: block; }

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

  .nav-list a {
    padding: 13px 16px;
    font-size: 16px;
    border-radius: 14px;
  }

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

@media (max-width: 720px) {
  :root { --shell: min(1280px, 100% - 32px); --shell-narrow: min(880px, 100% - 32px); }

  body { font-size: 16px; }

  .header-bar { padding: 12px 0; }

  .brand-line { display: none; }

  .header-utility { gap: 10px; padding-bottom: 12px; }

  .utility-left,
  .utility-right { width: 100%; }

  .utility-right { margin-left: 0; }

  .search-field { flex: 1 1 auto; }

  .search-field input { width: 100%; }

  .btn--cta { flex: 0 0 auto; }

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

  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  .footer-top .footer-col:last-child { grid-column: auto; }

  .footer-base { flex-direction: column; gap: 8px; }
}

@media (max-width: 420px) {
  .nav-toggle__text { display: none; }

  .brand-name { font-size: 18px; }
}

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

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

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