/* ============================================================
   /assets/site.css — 浩瀚体育 共享样式
   夜间跑道 × 电子计时屏：深海底色 / 荧光青 / 冲刺橙红 / 酸性绿
   ============================================================ */

:root {
  --ink: #041421;
  --ink-2: #0A2440;
  --cyan: #1DE9E1;
  --sprint: #FF4B2B;
  --acid: #B8FF3B;
  --screen: #F2FBFF;
  --mist: #7E9AA8;
  --card: #132C40;
  --carbon: #02070D;
  --warm: #FFF7E8;

  --display: "Oswald", "Archivo Narrow", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --header-h: 72px;
  --status-h: 26px;
  --pad: clamp(16px, 4vw, 44px);
  --wrap: 1240px;
  --edge: 2px solid var(--carbon);
  --shadow-hard: 6px 6px 0 var(--carbon);
  --shadow-cyan: 6px 6px 0 rgba(29, 233, 225, 0.26);
  --gap: clamp(14px, 2vw, 26px);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(115deg, rgba(29, 233, 225, 0.05) 0 1px, rgba(29, 233, 225, 0) 1px 46px),
    radial-gradient(circle at 88% -8%, rgba(29, 233, 225, 0.14), rgba(4, 20, 33, 0) 54%),
    radial-gradient(circle at 0% 58%, rgba(255, 75, 43, 0.10), rgba(4, 20, 33, 0) 48%);
  color: var(--screen);
  font-family: var(--body);
  font-size: clamp(15px, 0.55vw + 13px, 17px);
  line-height: 1.75;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--screen);
}
h1 { font-size: clamp(46px, 8.2vw, 116px); }
h2 { font-size: clamp(28px, 3.6vw, 52px); }
h3 { font-size: clamp(20px, 2vw, 30px); }
h4 { font-size: clamp(17px, 1.4vw, 20px); }

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--cyan); }

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

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.35em; }

button { font: inherit; color: inherit; }

::selection { background: var(--cyan); color: var(--carbon); }

:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

/* ---------- 基础工具 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.mono { font-family: var(--mono); letter-spacing: 0.08em; }

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

.divider {
  height: 0;
  margin: clamp(24px, 4vw, 48px) 0;
  border: 0;
  border-top: 2px solid rgba(126, 154, 168, 0.25);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-180%);
  padding: 12px 20px;
  background: var(--acid);
  color: var(--carbon);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: var(--edge);
  box-shadow: 4px 4px 0 var(--carbon);
  transition: transform 0.16s ease;
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); color: var(--carbon); }

/* ---------- 章节与排版组件 ---------- */
.section { padding-block: clamp(38px, 6.4vw, 92px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 28px;
  margin-bottom: clamp(20px, 3vw, 36px);
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(126, 154, 168, 0.25);
}

.section-num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--acid);
}

.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 4.2vw, 54px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 12px; height: 12px;
  flex: 0 0 auto;
  background: var(--sprint);
}

.lead {
  max-width: 62ch;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.7;
  color: rgba(242, 251, 255, 0.84);
}

.prose {
  max-width: 66ch;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.8;
  color: rgba(242, 251, 255, 0.88);
}
.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.prose strong { color: var(--screen); font-weight: 700; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}
.crumbs a { color: var(--mist); }
.crumbs a:hover { color: var(--cyan); }
.crumbs span[aria-current="page"] { color: var(--acid); }

/* ---------- 网格与卡片 ---------- */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--gap);
}

.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  background: var(--card);
  border: var(--edge);
  box-shadow: var(--shadow-hard);
}

.card--focus {
  background: var(--ink-2);
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

.card-title {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(19px, 1.8vw, 26px);
  font-weight: 800;
  line-height: 1.15;
}

.card-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(242, 251, 255, 0.78);
}

/* ---------- 标签 ---------- */
.chip,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  background: rgba(2, 7, 13, 0.55);
  white-space: nowrap;
}
.chip--cyan { color: var(--cyan); }
.chip--acid { color: var(--acid); }
.chip--sprint { color: var(--sprint); }
.chip--mist { color: var(--mist); }
.tag { color: var(--screen); border-color: rgba(242, 251, 255, 0.4); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
  border: var(--edge);
  box-shadow: 5px 5px 0 var(--carbon);
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, color 0.14s ease;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--carbon);
  text-decoration: none;
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--carbon);
}
.btn--primary { background: var(--sprint); color: var(--carbon); }
.btn--primary:hover { color: var(--carbon); }
.btn--cyan { background: var(--cyan); color: var(--carbon); }
.btn--cyan:hover { color: var(--carbon); }
.btn--acid { background: var(--acid); color: var(--carbon); }
.btn--acid:hover { color: var(--carbon); }
.btn--ghost {
  background: transparent;
  color: var(--screen);
  border-color: rgba(242, 251, 255, 0.6);
  box-shadow: 5px 5px 0 rgba(242, 251, 255, 0.16);
}
.btn--ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 7px 7px 0 rgba(29, 233, 225, 0.26);
}

/* ---------- 图片容器基础 ---------- */
.media-frame {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(125deg, rgba(29, 233, 225, 0.10) 0 2px, rgba(19, 44, 64, 0) 2px 16px),
    linear-gradient(140deg, var(--ink-2), var(--card));
  border: var(--edge);
  box-shadow: var(--shadow-hard);
}
.media-frame img,
.media-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--portrait { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame figcaption {
  position: absolute;
  left: 0; bottom: 0;
  max-width: 100%;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--carbon);
  background: var(--acid);
}

/* ---------- 时间轴 ---------- */
.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(29, 233, 225, 0.08));
}
.timeline-item {
  position: relative;
  margin: 0 0 26px;
  padding: 0 0 0 40px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 18px;
  height: 18px;
  background: var(--ink);
  border: 2px solid var(--cyan);
}
.timeline-time {
  display: block;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--acid);
}
.timeline-title {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
  line-height: 1.2;
}
.timeline-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(242, 251, 255, 0.76);
}

/* ---------- 折叠面板 ---------- */
.fold {
  background: var(--card);
  border: var(--edge);
  box-shadow: 4px 4px 0 var(--carbon);
}
.fold + .fold { margin-top: 12px; }
.fold > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--screen);
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after {
  content: "＋";
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--cyan);
}
.fold[open] > summary::after { content: "－"; color: var(--sprint); }
.fold[open] > summary { border-bottom: 1px solid rgba(126, 154, 168, 0.24); }
.fold-body {
  padding: 14px 18px 20px;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(242, 251, 255, 0.8);
}
.fold-body > :last-child { margin-bottom: 0; }

/* ---------- 数据仪表 ---------- */
.stat {
  padding: 16px 18px;
  background: rgba(19, 44, 64, 0.7);
  border: 2px solid rgba(29, 233, 225, 0.28);
}
.stat-value {
  display: block;
  font-family: var(--mono);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cyan);
  line-height: 1.2;
}
.stat-label {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}

/* ---------- 显现动画 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, rgba(4, 20, 33, 0.99), rgba(4, 20, 33, 0.94));
  border-bottom: 2px solid var(--carbon);
  box-shadow: 0 2px 0 rgba(29, 233, 225, 0.30), 0 16px 36px rgba(2, 7, 13, 0.55);
}

.start-rail {
  position: fixed;
  top: 0;
  left: 0;
  width: 5px;
  height: 100vh;
  z-index: 95;
  background: rgba(2, 7, 13, 0.6);
  pointer-events: none;
}
.start-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top center;
  background: linear-gradient(180deg, var(--acid) 0%, var(--cyan) 48%, var(--sprint) 100%);
}

.cmdbar {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
  min-height: var(--header-h);
}

/* 品牌锁定 */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 clamp(14px, 1.6vw, 22px);
  border-right: 2px solid var(--carbon);
  flex: 0 0 auto;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 8px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--carbon);
  background: var(--cyan);
  border: var(--edge);
  box-shadow: 3px 3px 0 var(--carbon);
}
.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--screen);
}
.brand-tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--mist);
}

/* 六栏命令导航 */
.nav-index {
  flex: 1 1 auto;
  min-width: 0;
}
.nav-list {
  display: flex;
  align-items: stretch;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-item {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  border-right: 1px solid rgba(126, 154, 168, 0.22);
}
.nav-item:last-child { border-right: 0; }
.nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  height: 100%;
  padding: 10px 12px;
  color: var(--screen);
  transition: background 0.16s ease, color 0.16s ease;
}
.nav-link::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s ease;
}
.nav-link:hover {
  background: var(--ink-2);
  color: var(--screen);
  text-decoration: none;
}
.nav-link:hover::before { transform: scaleX(1); }
.nav-link:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: -4px;
}
.nav-link[aria-current="page"] {
  background: var(--ink-2);
  color: var(--cyan);
}
.nav-link[aria-current="page"]::before {
  transform: scaleX(1);
  background: var(--sprint);
}
.nav-num {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  color: var(--acid);
}
.nav-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.35;
  white-space: nowrap;
}
.nav-link[aria-current="page"] .nav-num { color: var(--sprint); }

/* 右侧快捷命令 */
.cmd-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-left: 2px solid var(--carbon);
  flex: 0 0 auto;
}
.cmd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  white-space: nowrap;
  border: var(--edge);
  box-shadow: 3px 3px 0 var(--carbon);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
}
.cmd-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--carbon);
  text-decoration: none;
}
.cmd-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--carbon);
}
.cmd-btn--sprint {
  background: var(--sprint);
  color: var(--carbon);
}
.cmd-btn--sprint:hover { color: var(--carbon); background: #ff6144; }
.cmd-btn--help {
  background: transparent;
  color: var(--acid);
  border-color: var(--acid);
  box-shadow: 3px 3px 0 rgba(184, 255, 59, 0.28);
}
.cmd-btn--help:hover {
  color: var(--acid);
  background: rgba(184, 255, 59, 0.12);
  box-shadow: 5px 5px 0 rgba(184, 255, 59, 0.34);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 0 16px;
  background: var(--ink-2);
  color: var(--screen);
  border: 0;
  border-left: 2px solid var(--carbon);
  cursor: pointer;
}
.nav-toggle:hover { background: #0d2c4c; }
.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--cyan);
  transition: transform 0.16s ease, opacity 0.16s ease;
}
.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); }
.nav-toggle-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

/* 状态读数带 */
.cmd-status {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--status-h);
  padding: 0 var(--pad);
  background: rgba(2, 7, 13, 0.66);
  border-top: 1px solid rgba(126, 154, 168, 0.18);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}
.status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--acid);
  box-shadow: 0 0 10px rgba(184, 255, 59, 0.85);
  animation: statusPulse 2.6s ease-in-out infinite;
}
.status-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.status-clock {
  margin-left: auto;
  color: var(--cyan);
  white-space: nowrap;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 132px);
  background: var(--carbon);
  border-top: 3px solid var(--cyan);
  color: var(--screen);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--sprint) 0 22px, transparent 22px 44px);
  opacity: 0.55;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.05fr) 1.5fr minmax(240px, 0.95fr);
  gap: clamp(26px, 4vw, 60px);
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 76px) var(--pad) clamp(30px, 4.5vw, 56px);
}

.footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--carbon);
  background: var(--acid);
  border: 2px solid var(--carbon);
  box-shadow: 3px 3px 0 rgba(242, 251, 255, 0.18);
}
.footer-name {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--screen);
}
.footer-slogan {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.footer-note {
  max-width: 34ch;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(242, 251, 255, 0.66);
}
.footer-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.footer-meta li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
}
.meta-k {
  min-width: 68px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}
.meta-v { color: var(--acid); font-weight: 700; letter-spacing: 0.06em; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  align-content: start;
}
.footer-col-title {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acid);
  border-bottom: 1px solid rgba(126, 154, 168, 0.24);
}
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links li { margin: 0; }
.footer-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: var(--screen);
  transition: color 0.14s ease, transform 0.14s ease;
}
.footer-link:hover {
  color: var(--cyan);
  transform: translateX(3px);
  text-decoration: none;
}

.footer-contact { align-self: start; }
.footer-address {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  font-style: normal;
}
.contact-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 14px;
  line-height: 1.6;
}
.contact-k {
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}
.contact-v {
  color: var(--screen);
  overflow-wrap: anywhere;
}
.footer-cta {
  padding: 11px 18px;
  font-size: 14px;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 18px var(--pad) 28px;
  border-top: 1px solid rgba(126, 154, 168, 0.2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
}
.legal-item { color: var(--mist); }
.legal-item:first-child { color: var(--acid); }
.footer-fine { margin: 0; color: rgba(126, 154, 168, 0.8); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1180px) {
  .brand-tag { display: none; }
  .nav-label { font-size: 13px; }
  .nav-num { font-size: 9px; }
  .cmd-btn { font-size: 11px; padding: 8px 11px; }
}

@media (max-width: 1020px) {
  .cmd-btn--help { display: none; }
  .nav-link { padding: 8px 9px; }
}

@media (max-width: 940px) {
  :root { --header-h: 62px; }

  .cmd-status { display: none; }

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

  .nav-index {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    z-index: 75;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--ink-2);
    border-top: 1px solid rgba(29, 233, 225, 0.35);
    border-bottom: 3px solid var(--cyan);
    box-shadow: 0 22px 44px rgba(2, 7, 13, 0.66);
  }
  .site-header[data-open] .nav-index,
  .nav-index[data-open] { display: block; }

  .nav-list {
    flex-direction: column;
    height: auto;
  }
  .nav-item {
    flex: 0 0 auto;
    border-right: 0;
    border-bottom: 1px solid rgba(126, 154, 168, 0.18);
  }
  .nav-item:last-child { border-bottom: 0; }
  .nav-link {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    height: auto;
  }
  .nav-link::before {
    top: 0; bottom: 0; right: auto;
    width: 4px; height: 100%;
    transform: scaleY(0);
    transform-origin: top center;
  }
  .nav-link:hover::before,
  .nav-link[aria-current="page"]::before { transform: scaleY(1); }
  .nav-num { font-size: 11px; }
  .nav-label { font-size: 16px; }

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

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

@media (max-width: 700px) {
  .cmd-actions { display: none; }
  .brand { padding-inline: 14px; }
  .brand-name { font-size: 16px; }
  .start-rail { width: 4px; }
}

@media (max-width: 560px) {
  .grid-12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn { width: 100%; padding: 13px 20px; font-size: 15px; }
  .footer-cta { width: auto; }
}

@media (max-width: 480px) {
  .nav-toggle-label { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .contact-row { grid-template-columns: 40px minmax(0, 1fr); }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   动效降级
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

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

  .btn:hover,
  .cmd-btn:hover,
  .footer-link:hover {
    transform: none;
  }
}
