/* ==========================================================================
   K1体育站 · 高原数据哨所 / 共享站点样式
   /assets/site.css
   ========================================================================== */

:root {
  /* 色彩体系 */
  --ink: #0B1630;
  --ink-deep: #070F22;
  --ink-soft: #0A1428;
  --panel: #121F3A;
  --paper: #F2EFE6;

  --rock: #8A95A6;
  --blue: #3E7BFA;
  --white: #F7FAFF;
  --red: #E0554F;
  --green: #2FA36B;
  --yellow: #F2C14E;
  --ember: #FF6B2C;
  --teal: #2BB3A3;
  --clay: #B86B4B;
  --moss: #5D7A52;

  /* 文本 */
  --text: #E8EBF2;
  --text-dim: #A6B0C2;

  /* 线与面 */
  --rule: rgba(138, 149, 166, 0.22);
  --rule-strong: rgba(138, 149, 166, 0.46);
  --panel-tint: rgba(18, 31, 58, 0.72);

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

  /* 度量 */
  --frame-h: 74px;
  --gutter: clamp(18px, 4vw, 44px);
  --gap: clamp(18px, 2vw, 28px);
  --radius: 0;
}

@media (max-width: 1080px) {
  :root { --frame-h: 62px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--frame-h) + 24px);
}

body {
  margin: 0;
  padding-top: var(--frame-h);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--text);
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, rgba(138, 149, 166, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(138, 149, 166, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 88% -12%, rgba(62, 123, 250, 0.20), transparent 46%),
    radial-gradient(circle at -6% 8%, rgba(43, 179, 163, 0.10), transparent 40%),
    linear-gradient(180deg, #0B1630 0%, #081026 62%, #070F22 100%);
  background-size: 96px 96px, 96px 96px, auto, auto, auto;
  background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--white);
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: 0.02em; }
h4 { font-size: 1.05rem; letter-spacing: 0.04em; }

p, li { text-wrap: pretty; }

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

/* --------------------------------------------------------------------------
   2. 通用容器与排版组件
   -------------------------------------------------------------------------- */
.container {
  width: min(1280px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section { padding: clamp(44px, 6vw, 88px) 0; }
.section--tight { padding: clamp(28px, 4vw, 52px) 0; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(20px, 3vw, 36px);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--rule-strong);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  margin: 0 0 0.9rem;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
}
.eyebrow--ember { color: var(--ember); }
.eyebrow--yellow { color: var(--yellow); }
.eyebrow--blue { color: var(--blue); }

.display-xl {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.7rem, 7.5vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.012em;
  color: var(--white);
  margin: 0 0 0.3em;
}

.display-lg {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.0;
  letter-spacing: -0.005em;
  color: var(--white);
  margin: 0 0 0.4em;
}

.lede {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 62ch;
  margin: 0 0 1.2em;
}

.muted { color: var(--rock); }
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   3. 网格
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
}
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .span-2 { grid-column: span 2; }
  .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-9 { grid-column: span 9; }
  .span-10 { grid-column: span 10; }
  .span-12 { grid-column: span 12; }
}

/* --------------------------------------------------------------------------
   4. 按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.72em 1.2em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn--ember {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--ink);
}
.btn--ember:hover,
.btn--ember:focus-visible {
  background: #FF8347;
  border-color: #FF8347;
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  border-color: var(--rule-strong);
  color: var(--white);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(62, 123, 250, 0.16);
  border-color: var(--blue);
  color: var(--white);
}

.btn--teal {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}
.btn--teal:hover,
.btn--teal:focus-visible {
  background: rgba(43, 179, 163, 0.14);
  color: var(--white);
}

.btn--sm {
  padding: 0.6em 0.95em;
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   5. 标签
   -------------------------------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.3em 0.62em;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  background: transparent;
}
.tag--blue { color: var(--blue); background: rgba(62, 123, 250, 0.12); }
.tag--green { color: var(--green); background: rgba(47, 163, 107, 0.12); }
.tag--red { color: var(--red); background: rgba(224, 85, 79, 0.12); }
.tag--yellow { color: var(--yellow); background: rgba(242, 193, 78, 0.12); }
.tag--teal { color: var(--teal); background: rgba(43, 179, 163, 0.12); }
.tag--clay { color: var(--clay); background: rgba(184, 107, 75, 0.16); }
.tag--moss { color: #8FA37F; background: rgba(93, 122, 82, 0.2); }
.tag--paper { color: var(--ink); background: var(--paper); border-color: var(--paper); }

/* --------------------------------------------------------------------------
   6. 面板 / 数据块 / 表格
   -------------------------------------------------------------------------- */
.panel {
  background: var(--panel-tint);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 30px);
}
.panel--paper {
  background: var(--paper);
  border-color: #D9D3C4;
  color: #17233C;
}
.panel--paper h2,
.panel--paper h3,
.panel--paper h4 { color: #0B1630; }
.panel--paper a { color: #1F55C4; }

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--rule);
}
.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rock);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}
.data-table caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 0.7rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rock);
}
.data-table th {
  padding: 0.7rem 0.8rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rock);
  border-bottom: 1px solid var(--rule-strong);
  white-space: nowrap;
}
.data-table td {
  padding: 0.78rem 0.8rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: middle;
}
.data-table tbody tr { transition: background-color 0.16s ease; }
.data-table tbody tr:hover { background: rgba(62, 123, 250, 0.09); }
.data-table .num { text-align: right; }

/* --------------------------------------------------------------------------
   7. 刻度线 / 图片容器 / 面包屑 / 锚点目录
   -------------------------------------------------------------------------- */
.rule-ticks {
  height: 12px;
  border-top: 1px solid var(--rule-strong);
  background-image: repeating-linear-gradient(90deg, var(--rule-strong) 0 1px, transparent 1px 16px);
  background-repeat: no-repeat;
  background-size: 100% 6px;
  background-position: 0 0;
}

.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--rule);
}
.media-frame > img,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--wide { aspect-ratio: 21 / 9; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--rock);
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.5em; }
.breadcrumbs li + li::before { content: "/"; color: var(--rule-strong); }
.breadcrumbs a { color: var(--text-dim); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); }

.anchor-nav {
  position: sticky;
  top: calc(var(--frame-h) + 24px);
  padding-left: 1rem;
  border-left: 1px solid var(--rule-strong);
}
.anchor-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0.15rem; }
.anchor-nav a {
  display: block;
  padding: 0.35rem 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
  text-decoration: none;
}
.anchor-nav a:hover { color: var(--white); }

/* --------------------------------------------------------------------------
   8. 折叠内容组
   -------------------------------------------------------------------------- */
.acc { border-top: 1px solid var(--rule-strong); }
.acc__item { border-bottom: 1px solid var(--rule); }

.acc__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: 100%;
  padding: 1.05rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--white);
  transition: color 0.16s ease;
}
.acc__trigger:hover { color: var(--blue); }
.acc__trigger::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: var(--teal);
  transition: transform 0.22s ease, color 0.16s ease;
}
.acc__trigger[aria-expanded="true"]::after {
  content: "–";
  color: var(--yellow);
}

.acc__panel {
  overflow: hidden;
  transition: height 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.acc__panel > *:last-child { margin-bottom: 1.1rem; }
.acc__panel[hidden] { display: none; }

/* --------------------------------------------------------------------------
   9. 头部框架
   -------------------------------------------------------------------------- */
.site-frame {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background: rgba(11, 22, 48, 0.95);
  border-bottom: 1px solid var(--rule);
  color: var(--text);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-frame.is-scrolled {
  background: rgba(7, 15, 34, 0.98);
  border-bottom-color: var(--rule-strong);
  box-shadow: 0 1px 0 rgba(62, 123, 250, 0.4);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 400;
  padding: 0.7em 1.1em;
  background: var(--ember);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.18s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  color: var(--ink);
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.frame-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 36px);
  width: min(1400px, calc(100% - var(--gutter) * 2));
  min-height: var(--frame-h);
  margin-inline: auto;
}

.frame-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--yellow), var(--ember));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.1s linear;
  pointer-events: none;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
}
.brand:hover { color: inherit; }

.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 34px;
  background: var(--ember);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.1em;
  color: var(--white);
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rock);
}

/* 导航 */
.frame-nav { margin-left: auto; }

.frame-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1vw, 14px);
  list-style: none;
}
.frame-nav__item { display: flex; }

.frame-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.42em;
  padding: 0.62rem 0.55rem;
  border-bottom: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.frame-nav__link:hover {
  color: var(--white);
  border-bottom-color: var(--rule-strong);
}
.frame-nav__num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--rock);
  transition: color 0.16s ease;
}
.frame-nav__label { display: inline-block; }

.frame-nav__link[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--blue);
}
.frame-nav__link[aria-current="page"] .frame-nav__num { color: var(--blue); }

/* 右侧动作区 */
.frame-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55em;
  padding: 0.58em 0.7em;
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;
  transition: border-color 0.16s ease, color 0.16s ease;
}
.nav-toggle:hover { border-color: var(--blue); color: var(--white); }

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 16px;
}
.nav-toggle__bars span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(4px) 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(-4px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   10. 头部响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .frame-nav__link { padding: 0.62rem 0.4rem; font-size: 13px; }
  .frame-nav__num { display: none; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }

  .frame-nav {
    position: fixed;
    top: var(--frame-h);
    left: 0;
    right: 0;
    margin: 0;
    padding: 6px var(--gutter) 28px;
    max-height: calc(100vh - var(--frame-h));
    max-height: calc(100dvh - var(--frame-h));
    overflow-y: auto;
    background: var(--ink-soft);
    border-bottom: 1px solid var(--rule-strong);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .frame-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .frame-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .frame-nav__link {
    padding: 15px 0.9rem;
    font-size: 17px;
    font-weight: 600;
    border-bottom: 1px solid var(--rule);
  }
  .frame-nav__link:hover { border-bottom-color: var(--rule); background: rgba(62, 123, 250, 0.10); }
  .frame-nav__link[aria-current="page"] {
    border-bottom-color: var(--rule);
    background: rgba(62, 123, 250, 0.14);
    box-shadow: inset 3px 0 0 0 var(--blue);
    color: var(--white);
  }
  .frame-nav__num {
    display: inline-block;
    font-size: 10px;
    color: var(--rock);
  }
  .frame-nav__link[aria-current="page"] .frame-nav__num { color: var(--blue); }
}

@media (max-width: 560px) {
  .brand__sub { display: none; }
  .brand__mark { width: 32px; height: 30px; font-size: 14px; }
  .brand__name { font-size: 15px; letter-spacing: 0.06em; }
  .frame-actions .btn--sm { padding: 0.58em 0.7em; font-size: 12px; }
  .nav-toggle__text { display: none; }
  .nav-toggle { padding: 0.58em; }
}

/* --------------------------------------------------------------------------
   11. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 112px);
  padding: clamp(40px, 6vw, 76px) 0 clamp(22px, 3vw, 34px);
  background:
    radial-gradient(circle at 90% 0%, rgba(62, 123, 250, 0.12), transparent 55%),
    linear-gradient(180deg, #0A1428 0%, #070F22 100%);
  border-top: 1px solid var(--rule-strong);
  color: var(--text);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background-image: repeating-linear-gradient(90deg, var(--rule-strong) 0 1px, transparent 1px 22px);
  background-repeat: no-repeat;
  background-size: 100% 7px;
  pointer-events: none;
}

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

@media (min-width: 760px) and (max-width: 1079px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
    gap: 48px;
  }
}

.footer-brand { display: block; }
.brand--footer { display: inline-flex; }
.brand--footer .brand__mark { background: var(--paper); color: var(--ink); }

.footer-tagline {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--white);
  max-width: 16ch;
}

.footer-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.3rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  list-style: none;
}
.footer-metrics li { display: flex; flex-direction: column; gap: 3px; }
.footer-metrics .num {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--yellow);
}
.footer-metrics li:nth-child(1) .num { color: var(--blue); }
.footer-metrics li:nth-child(2) .num { color: var(--teal); }
.footer-metrics li:nth-child(3) .num { color: var(--yellow); }
.footer-metrics li span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--rock);
}

.footer-heading {
  margin: 0 0 0.9rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rock);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.footer-links a {
  display: inline-block;
  padding: 0.35rem 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.footer-links a:hover {
  color: var(--white);
  border-bottom-color: var(--blue);
}

.footer-contact__list { margin: 0; }
.footer-contact__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.7rem;
  padding: 0.42rem 0;
  border-bottom: 1px dotted var(--rule);
}
.footer-contact__row dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rock);
  padding-top: 4px;
}
.footer-contact__row dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  word-break: break-word;
}

.footer-note {
  margin: 1rem 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--rock);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.6rem;
  margin-top: clamp(30px, 4vw, 48px);
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--rock);
}
.footer-copy { margin: 0; }
.footer-meta { margin: 0; color: var(--rule-strong); }

/* --------------------------------------------------------------------------
   12. 无障碍与动效降级
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .frame-progress { transition: none; }
}

@media print {
  .site-frame,
  .site-footer,
  .skip-link { display: none !important; }
  body { padding-top: 0; background: #fff; color: #111; }
}
