/* ============================================================
   亚洲体育主站 · 共享样式 /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, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 令牌 ---------- */
:root {
  color-scheme: dark;

  --ink-900: #071427;
  --ink-850: #0A1830;
  --ink-800: #0C1B36;
  --ink-700: #101F44;
  --jade-700: #0E3B3A;
  --wine-700: #4A1230;

  --neon: #39FF88;
  --neon-deep: #0B7A4A;
  --flame: #FF7A29;
  --flame-deep: #B3490A;

  --bone: #F2F4F8;
  --bone-soft: #C7D2E5;
  --slate: #8A9BC0;
  --copper: #C9A05A;

  --line: rgba(138, 155, 192, 0.22);
  --line-strong: rgba(138, 155, 192, 0.46);
  --shadow-float: 0 6px 24px rgba(0, 0, 0, 0.35);

  --shell: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 2px;
  --header-h: 84px;

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1100px 620px at 82% -12%, rgba(16, 31, 68, 0.9), transparent 62%),
    radial-gradient(760px 480px at 4% 42%, rgba(14, 59, 58, 0.42), transparent 66%),
    linear-gradient(180deg, #071427 0%, #050F1F 100%);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

/* 低透明度噪点材质，不抢主体 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: 0.035;
  background-image: repeating-linear-gradient(0deg, rgba(242, 244, 248, 0.9) 0 1px, transparent 1px 3px);
  background-size: 100% 3px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.16;
  color: var(--bone);
}

p { line-height: 1.78; }
strong, b { font-weight: 800; color: var(--bone); }

.display-1 { font-size: clamp(40px, 5.4vw, 60px); font-weight: 900; }
.display-2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; }
.display-3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; }

.lede {
  max-width: 38em;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.8;
  color: var(--bone-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--copper);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
}

.mono-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.num,
.stat {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}
.stat {
  font-size: clamp(34px, 4vw, 72px);
  font-weight: 700;
  line-height: 1;
  color: var(--neon);
}

.data-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  animation: data-breathe 1.6s ease-in-out infinite;
}

@keyframes data-breathe {
  0%, 100% { opacity: 0.4; box-shadow: 0 0 0 rgba(57, 255, 136, 0); }
  50% { opacity: 1; box-shadow: 0 0 12px rgba(57, 255, 136, 0.75); }
}

.link {
  color: var(--neon);
  border-bottom: 1px solid rgba(57, 255, 136, 0.4);
  transition: color 0.12s ease, border-color 0.12s ease;
}
.link:hover { color: var(--flame); border-color: var(--flame); }

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

/* ---------- 4. 焦点与跳转链接 ---------- */
:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 8px;
  z-index: 60;
  padding: 8px 16px;
  background: var(--neon);
  color: #06210F;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: translateY(-220%);
  transition: transform 0.15s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 5. 布局工具 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.stack { display: flex; flex-direction: column; gap: var(--stack-gap, 20px); }

.section {
  position: relative;
  padding-top: clamp(56px, 7vw, 110px);
  padding-bottom: clamp(56px, 7vw, 110px);
}
.section--indigo { background: var(--ink-700); }
.section--jade { background: var(--jade-700); }
.section--wine { background: var(--wine-700); }
.section--raised { background: var(--ink-850); }
.section--edge { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(18px, 3vw, 48px);
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.section-head__title { font-size: clamp(24px, 2.6vw, 34px); }
.section-head__lead { margin: 0; color: var(--slate); font-size: 15px; max-width: 40em; }

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

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

.rail { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }

.rule { height: 1px; border: 0; background: var(--line); }
.rule--dashed { height: 0; border-top: 1px dashed var(--line-strong); background: none; }

/* ---------- 6. 展签 / 标签 / 面包屑 / 正文 ---------- */
.plate {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: rgba(16, 31, 68, 0.55);
  border: 1px solid var(--line);
  border-left: 2px solid var(--copper);
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}
.plate:hover {
  transform: translateY(-2px);
  border-color: var(--flame);
  box-shadow: var(--shadow-float);
}
.plate__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--copper);
}
.plate__title { font-size: 17px; font-weight: 800; letter-spacing: 0.01em; }
.plate__note { font-size: 14px; line-height: 1.72; color: var(--slate); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--slate);
  font-family: var(--font-sans);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.12s ease, border-color 0.12s ease, background-color 0.12s ease;
}
.tag:hover { color: var(--bone); border-color: var(--flame); }
.tag[aria-pressed="true"],
.tag.is-active {
  color: var(--neon);
  border-color: var(--neon);
  background: rgba(57, 255, 136, 0.08);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--slate);
}
.breadcrumbs a { color: var(--slate); transition: color 0.12s ease; }
.breadcrumbs a:hover { color: var(--neon); }
.breadcrumbs__sep { color: var(--copper); }

.prose { max-width: 40em; color: var(--bone-soft); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2.1em; font-size: clamp(22px, 2.2vw, 28px); color: var(--bone); }
.prose h3 { margin-top: 1.7em; font-size: 19px; color: var(--bone); }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li {
  position: relative;
  padding-left: 20px;
  margin-top: 0.5em;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 10px;
  height: 1px;
  background: var(--copper);
}
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose ol li { margin-top: 0.5em; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--copper);
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.7;
  color: #E4E9F4;
}

/* ---------- 7. 媒体容器（页面阶段放图） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--ink-700), var(--ink-900));
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--portrait { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 20, 39, 0.12) 0%, rgba(7, 20, 39, 0.72) 100%);
}
.media-frame__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--flame);
  border-color: var(--flame);
  color: #1A0B02;
}
.btn--primary:hover { background: #FF9152; border-color: #FF9152; }

.btn--ghost { color: var(--bone); border-color: var(--line-strong); }
.btn--ghost:hover { color: var(--neon); border-color: var(--neon); }

.btn--quiet { border-color: transparent; color: var(--slate); padding-left: 4px; padding-right: 4px; }
.btn--quiet:hover { color: var(--neon); }

/* ---------- 9. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(7, 20, 39, 0.97) 0%, rgba(7, 20, 39, 0.84) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  color: var(--bone);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 40px);
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 var(--gutter);
}

/* 品牌署名 */
.brand { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }

.brand__link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--copper);
  background: radial-gradient(circle at 32% 30%, rgba(57, 255, 136, 0.32), transparent 62%);
}
.brand__mark::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 160, 90, 0.6);
}

.brand__text { display: flex; flex-direction: column; gap: 1px; }

.brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--bone);
}

.brand__tagline {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  line-height: 1.4;
  color: var(--slate);
}

.brand__index {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--copper);
  padding-left: 14px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}

/* 轨迹线 */
.header-spine {
  position: relative;
  flex: 1 1 auto;
  min-width: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(138, 155, 192, 0.06), rgba(138, 155, 192, 0.34), rgba(138, 155, 192, 0.06));
}
.header-spine__dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px rgba(57, 255, 136, 0.8);
  animation: track-run 5s ease-in-out infinite alternate;
}
@keyframes track-run {
  0% { left: 0; opacity: 0.4; }
  55% { opacity: 1; }
  100% { left: calc(100% - 6px); opacity: 0.4; }
}

/* 移动端按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--bone);
  cursor: pointer;
}
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  height: 14px;
}
.nav-toggle__bars span {
  display: block;
  height: 1px;
  background: var(--bone);
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-toggle__text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.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) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 10. 导航 ---------- */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 30px);
  flex: 0 0 auto;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 26px);
}
.site-nav__item { position: relative; }

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 2px;
  color: var(--bone);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.12s ease, transform 0.12s ease;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--flame);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s ease;
}
.site-nav__link:hover { color: #FFFFFF; transform: translateY(-2px); }
.site-nav__link:hover::after { transform: scaleX(1); }

.site-nav__link[aria-current="page"] { color: var(--neon); }
.site-nav__link[aria-current="page"]::after {
  background: var(--neon);
  transform: scaleX(1);
}

.site-nav__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--slate);
  transition: color 0.12s ease;
}
.site-nav__link:hover .site-nav__num { color: var(--flame); }
.site-nav__link[aria-current="page"] .site-nav__num { color: var(--neon); }

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: clamp(10px, 1.5vw, 24px);
  border-left: 1px solid var(--line);
}

/* ---------- 11. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #071427 0%, #050E1C 58%, #04122A 100%);
  color: var(--bone);
}

.footer__ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(240px, 34vh);
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  background: linear-gradient(180deg, rgba(14, 59, 58, 0) 0%, rgba(14, 59, 58, 0.8) 100%);
  -webkit-clip-path: polygon(0% 100%, 0% 70%, 9% 48%, 16% 62%, 24% 32%, 31% 54%, 38% 24%, 46% 60%, 54% 36%, 62% 64%, 70% 42%, 78% 68%, 86% 50%, 93% 72%, 100% 56%, 100% 100%);
  clip-path: polygon(0% 100%, 0% 70%, 9% 48%, 16% 62%, 24% 32%, 31% 54%, 38% 24%, 46% 60%, 54% 36%, 62% 64%, 70% 42%, 78% 68%, 86% 50%, 93% 72%, 100% 56%, 100% 100%);
}
.footer__ridge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 31, 68, 0.92);
  -webkit-clip-path: polygon(0% 100%, 0% 84%, 12% 66%, 22% 80%, 34% 58%, 45% 78%, 58% 62%, 68% 82%, 80% 68%, 90% 84%, 100% 72%, 100% 100%);
  clip-path: polygon(0% 100%, 0% 84%, 12% 66%, 22% 80%, 34% 58%, 45% 78%, 58% 62%, 68% 82%, 80% 68%, 90% 84%, 100% 72%, 100% 100%);
}

.footer__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 84px) var(--gutter) 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr) minmax(0, 1.15fr);
  gap: clamp(24px, 3vw, 52px);
  align-items: start;
}

.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__claim {
  max-width: 26em;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--bone-soft);
}
.footer__cta { align-self: flex-start; }

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

.footer-col__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
}
.footer-col__list { display: flex; flex-direction: column; gap: 10px; }
.footer-col__link {
  display: inline-block;
  font-size: 14px;
  color: #C3CDE0;
  transition: color 0.12s ease, transform 0.12s ease;
}
.footer-col__link:hover { color: var(--neon); transform: translateX(3px); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  background: rgba(16, 31, 68, 0.55);
  border: 1px solid var(--line);
  border-left: 2px solid var(--copper);
}
.footer__contact-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
}
.footer__contact-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 13.5px;
  line-height: 1.7;
}
.footer__contact-label {
  flex: 0 0 auto;
  min-width: 38px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--slate);
}
.footer__contact-value { color: var(--bone); word-break: break-word; }
.footer__contact-note {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--slate);
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--slate);
}
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.footer__legal a { color: var(--slate); transition: color 0.12s ease; }
.footer__legal a:hover { color: var(--neon); }

/* ---------- 12. 进度条 · 显现 · 动效 ---------- */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--neon) 0%, var(--flame) 100%);
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  transition: transform 0.1s linear;
}

html[data-js] [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}
html[data-js] [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1180px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); }
  .footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 999px) {
  :root { --header-h: 64px; }

  .site-header__inner { gap: 14px; }
  .brand__index { display: none; }
  .brand__tagline { font-size: 10px; letter-spacing: 0.18em; }

  .header-spine { display: none; }

  .nav-toggle { display: inline-flex; margin-left: auto; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: auto;
    width: min(360px, 88vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 24px var(--gutter) 40px;
    overflow-y: auto;
    background: linear-gradient(180deg, var(--ink-700) 0%, var(--ink-900) 100%);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-float);
    transform: translateX(102%);
    visibility: hidden;
    transition: transform 0.22s ease, visibility 0.22s ease;
  }
  .site-nav[data-open] { transform: translateX(0); visibility: visible; }

  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__item { border-bottom: 1px solid var(--line); }
  .site-nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 16px 4px;
    font-size: 17px;
  }
  .site-nav__link:hover { transform: none; }
  .site-nav__link::after { display: none; }
  .site-nav__link[aria-current="page"] { color: var(--neon); }

  .site-nav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 20px 0 0;
    border-left: 0;
  }
  .site-nav__actions .btn { width: 100%; }

  html[data-nav-locked],
  html[data-nav-locked] body { overflow: hidden; }

  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .rail { position: static; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .grid--12 > * { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .display-1 { font-size: clamp(32px, 9vw, 44px); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__cols { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer__meta { flex-direction: column; align-items: flex-start; }
  .segment-ridge { height: 160px; }
}

/* ---------- 14. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .header-spine__dot,
  .data-dot { animation: none; opacity: 1; }
  .header-spine__dot { left: 50%; }

  .scroll-progress__bar { transition: none; }

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

  .btn:hover,
  .plate:hover,
  .footer-col__link:hover,
  .site-nav__link:hover { transform: none; }
}
