/* ============================================================
   /assets/site.css — 伟博体育中文站 共享样式
   ============================================================ */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --ink: #03080F;
  --navy-900: #071426;
  --navy-800: #0B2038;
  --navy-700: #102B49;
  --navy-line: #1B3A5E;
  --lime: #B8FF3D;
  --lime-deep: #6FBF1A;
  --amber: #FFB13B;
  --ice: #F5F9FF;
  --mist: #93A6BE;
  --cyan: #45D6FF;
  --line: rgba(147, 166, 190, .2);
  --line-strong: rgba(147, 166, 190, .36);
  --glass: rgba(16, 43, 73, .55);

  --font-display: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', system-ui, sans-serif;
  --font-body: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1440px;
  --gutter: clamp(16px, 2.2vw, 24px);
  --pad-x: clamp(18px, 4.2vw, 64px);
  --header-h: 76px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --ease: cubic-bezier(.22, .7, .3, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body, h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
}
ul, ol { padding: 0; list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
main { display: block; }
::selection { background: var(--lime); color: var(--ink); }

/* ---------- 3. 基础与中文排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: clamp(15px, .35vw + 14px, 17px);
  line-height: 1.85;
  color: var(--ice);
  background:
    radial-gradient(1100px 540px at 12% -8%, #0B2038 0%, rgba(11, 32, 56, 0) 62%),
    radial-gradient(900px 500px at 92% 2%, rgba(69, 214, 255, .08) 0%, rgba(69, 214, 255, 0) 60%),
    var(--navy-900);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.14;
  color: var(--ice);
}
:where(p) { max-width: 68ch; }
:where(p, li) { line-height: 1.85; }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 4. 工具类 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.section { padding-block: clamp(48px, 7vw, 110px); }
.section--tight { padding-block: clamp(28px, 4vw, 56px); }
.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
}
.divider {
  height: 1px;
  border: 0;
  background: var(--line);
  margin-block: clamp(24px, 4vw, 48px);
}
.data-num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 5vw, 72px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

/* 展签索引小标题 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .8;
}

/* 展签式说明牌 */
.plate {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(16, 43, 73, .5);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--mist);
}
.plate__no { color: var(--lime); }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease),
              border-color .2s var(--ease), color .2s var(--ease),
              box-shadow .2s var(--ease);
}
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -18px rgba(184, 255, 61, .95); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ice); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -18px rgba(255, 177, 59, .9); }
.btn--block { width: 100%; }

/* ---------- 6. Bento 网格 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

/* ---------- 7. 图片容器（页面阶段放置占位） ---------- */
.media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(16, 43, 73, .95), rgba(3, 8, 15, .95));
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(69, 214, 255, .07) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, rgba(3, 8, 15, 0) 42%, rgba(3, 8, 15, .68) 100%);
}
.media img,
.media picture,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media > picture { display: contents; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--3x4 { aspect-ratio: 3 / 4; }
.media--hero { aspect-ratio: 21 / 9; border-radius: clamp(16px, 2vw, 28px); }
.media__caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(245, 249, 255, .84);
}

/* ---------- 8. 面板与标签 ---------- */
.panel {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.panel--solid {
  background: var(--navy-800);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--mist);
}
.tag--lime { border-color: rgba(184, 255, 61, .5); color: var(--lime); }
.tag--amber { border-color: rgba(255, 177, 59, .5); color: var(--amber); }

/* ---------- 9. 面包屑 ---------- */
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--mist);
}
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumbs__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: rgba(147, 166, 190, .5);
}
.breadcrumbs__link { color: rgba(245, 249, 255, .72); transition: color .2s var(--ease); }
.breadcrumbs__link:hover { color: var(--lime); }
.breadcrumbs__current { color: var(--lime); }

/* ---------- 10. 正文容器 ---------- */
.prose {
  max-width: 68ch;
  font-size: clamp(16px, .8vw, 17.5px);
  line-height: 1.9;
  color: rgba(245, 249, 255, .87);
}
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 3vw, 38px); margin-top: 1.9em; margin-bottom: .6em; }
.prose h3 { font-size: clamp(20px, 2vw, 24px); margin-top: 1.6em; margin-bottom: .5em; }
.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(69, 214, 255, .4);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.prose a:hover { color: var(--lime); border-bottom-color: var(--lime); }
.prose ul { display: grid; gap: .55em; margin-block: 1em; }
.prose li { position: relative; padding-left: 1.3em; }
.prose li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--lime-deep);
}

/* ---------- 11. 显现 ---------- */
[data-reveal="pending"],
[data-reveal="shown"] {
  transition: opacity .42s var(--ease), transform .42s var(--ease);
  will-change: opacity, transform;
}
[data-reveal="pending"] { opacity: 0; transform: translateY(18px); }
[data-reveal="shown"] { opacity: 1; transform: none; }

/* ---------- 12. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 120;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 13. 头部 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
}
.site-header__bar {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(3, 8, 15, .82) 0%, rgba(3, 8, 15, .28) 62%, rgba(3, 8, 15, 0) 100%);
  transition: background .24s var(--ease), border-color .24s var(--ease);
}
.site-header[data-scrolled] .site-header__bar,
.site-header[data-open] .site-header__bar {
  background: rgba(7, 20, 38, .95);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 36px);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  min-height: var(--header-h);
}

/* 品牌铭牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  min-width: 0;
}
.brand__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 0 0 1px rgba(184, 255, 61, .35), 0 8px 24px -12px rgba(184, 255, 61, .85);
}
.brand__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.brand__name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ice);
  white-space: nowrap;
}
.brand__tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--mist);
  white-space: nowrap;
}

/* 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(16, 43, 73, .6);
  color: var(--ice);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.nav-toggle:hover { border-color: var(--lime); color: var(--lime); }
.nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle__bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .24s var(--ease), opacity .18s var(--ease);
}
.nav-toggle__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
}
.site-header[data-open] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, .8vw, 14px);
}
.site-nav__item { display: list-item; }
.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 8px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(245, 249, 255, .68);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--ice);
  background: rgba(184, 255, 61, .08);
}
.site-nav__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: rgba(147, 166, 190, .62);
  transition: color .2s var(--ease);
}
.site-nav__link[aria-current="page"] { color: var(--ice); }
.site-nav__link[aria-current="page"] .site-nav__index { color: var(--lime); }
.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(184, 255, 61, .8);
}
.site-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.site-nav__cta::after { content: "↗"; font-size: 13px; line-height: 1; }
.site-nav__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(184, 255, 61, .95); }
.site-nav__cta:active { transform: translateY(0); }

/* 顶部时间轴进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(147, 166, 190, .14);
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--lime-deep), var(--lime) 62%, var(--cyan));
  box-shadow: 0 0 14px rgba(184, 255, 61, .55);
}

/* ---------- 14. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(64px, 9vw, 140px);
  border-top: 1px solid var(--line-strong);
  color: var(--ice);
  background:
    radial-gradient(700px 340px at 88% 0%, rgba(69, 214, 255, .10), rgba(69, 214, 255, 0) 70%),
    radial-gradient(600px 300px at 4% 100%, rgba(184, 255, 61, .07), rgba(184, 255, 61, 0) 70%),
    var(--ink);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), rgba(184, 255, 61, 0) 45%, rgba(69, 214, 255, .75));
}
.site-footer__inner {
  padding-block: clamp(44px, 6vw, 88px) clamp(22px, 3vw, 36px);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(230px, 1.25fr) minmax(0, 2fr) minmax(270px, 1.45fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.footer__brand {
  display: grid;
  justify-items: start;
  gap: 10px;
}
.footer__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(184, 255, 61, .5);
  border-radius: 14px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
}
.footer__brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.4;
}
.footer__brand-line {
  max-width: 24ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}
.footer__brand-line--mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(147, 166, 190, .78);
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.footer__col { min-width: 0; }
.footer__col-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--lime);
}
.footer__col-title::after {
  content: "";
  flex: 1 1 auto;
  min-width: 16px;
  height: 1px;
  background: linear-gradient(90deg, rgba(184, 255, 61, .45), rgba(184, 255, 61, 0));
}
.footer__links {
  display: grid;
  gap: 10px;
}
.footer__link {
  position: relative;
  display: inline-block;
  padding-left: 0;
  font-size: 14px;
  color: rgba(245, 249, 255, .78);
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.footer__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 0;
  height: 1px;
  background: var(--lime);
  transition: width .2s var(--ease);
}
.footer__link:hover,
.footer__link:focus-visible { color: var(--lime); padding-left: 14px; }
.footer__link:hover::before,
.footer__link:focus-visible::before { width: 9px; }
.footer__links--contact { gap: 14px; }
.footer__contact-item { display: grid; gap: 2px; }
.footer__contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: rgba(147, 166, 190, .85);
}
.footer__contact-value {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ice);
  overflow-wrap: anywhere;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.footer__legal-text {
  max-width: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 1.8;
  color: rgba(147, 166, 190, .9);
}
.footer__legal-link {
  color: rgba(245, 249, 255, .82);
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer__legal-link:hover,
.footer__legal-link:focus-visible { color: var(--lime); border-bottom-color: var(--lime); }
.footer__legal-sep { margin-inline: 6px; opacity: .38; }

/* ---------- 15. 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 40px);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(16, 43, 73, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .24s var(--ease), transform .24s var(--ease),
              visibility .24s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.to-top::before { content: "↑"; font-size: 13px; line-height: 1; color: var(--lime); }
.to-top:hover { color: var(--lime); border-color: var(--lime); }
.to-top[data-visible] { opacity: 1; visibility: visible; transform: none; }

/* ---------- 16. 中屏适配（导航压缩） ---------- */
@media (min-width: 1024px) and (max-width: 1180px) {
  .site-nav__link { font-size: 13px; padding: 9px 5px; }
  .site-nav__index { display: none; }
  .brand__tagline { display: none; }
  .site-nav__cta { padding: 10px 16px; font-size: 13px; }
}

/* ---------- 17. 移动端（≤1023px） ---------- */
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--header-h) + 28px) var(--pad-x) 48px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      radial-gradient(600px 320px at 82% 0%, rgba(69, 214, 255, .12), rgba(69, 214, 255, 0) 70%),
      rgba(3, 8, 15, .97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s var(--ease);
  }
  .site-header[data-open] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .site-nav__item { border-bottom: 1px solid var(--line); }
  .site-nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 20px 2px;
    border-radius: 0;
    font-size: clamp(19px, 4.6vw, 24px);
    font-weight: 800;
    color: var(--ice);
  }
  .site-nav__link:hover,
  .site-nav__link:focus-visible { background: transparent; color: var(--lime); }
  .site-nav__index { order: 2; font-size: 12px; letter-spacing: .16em; }
  .site-nav__link[aria-current="page"] { color: var(--lime); }
  .site-nav__link[aria-current="page"]::after { display: none; }
  .site-nav__cta {
    justify-content: center;
    margin-top: 28px;
    padding: 16px 24px;
    font-size: 16px;
  }

  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__contact { grid-column: 1 / -1; }
  .footer__nav { grid-column: 1 / -1; }
}

/* ---------- 18. 手机（≤639px） ---------- */
@media (max-width: 639px) {
  :root { --header-h: 68px; }

  .brand__mark { width: 34px; height: 34px; border-radius: 10px; font-size: 11px; }
  .brand__name { font-size: 14px; }
  .brand__tagline { font-size: 9px; letter-spacing: .12em; }
  .nav-toggle { padding: 8px 12px; gap: 8px; }
  .nav-toggle__label { font-size: 11px; }

  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-12 { grid-column: span 4; }

  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .footer__legal { flex-direction: column; align-items: flex-start; gap: 6px; }
  .to-top { padding: 10px 14px; font-size: 11px; }
}

/* 平板网格降列 */
@media (min-width: 640px) and (max-width: 1023px) {
  .span-3, .span-4, .span-5 { grid-column: span 6; }
  .span-7, .span-8 { grid-column: span 12; }
}

/* ---------- 19. 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal="pending"] { opacity: 1; transform: none; }
  .scroll-progress__bar { transition: none !important; }
  .site-nav { transition: none !important; }
}
