/* ==========================================================================
   众博体育赛场 · /assets/site.css
   全站共享外壳：重置 / 变量 / 中文排版 / 页头 / 页脚 / 通用组件
   设计语言：夜间赛场指挥中心 · 技术蓝图网格 · 玻璃层与实色层并置
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --ink-950: #050A16;
  --ink-850: #0A1226;
  --ink-700: #12203C;
  --paper-50: #F3EDE2;
  --paper-100: #E0D6C4;
  --cyan-400: #2FE3D0;
  --orange-500: #FF6A2B;
  --violet-500: #8C5CFF;
  --slate-400: #7E8CA6;
  --line-soft: rgba(243, 237, 226, 0.12);
  --line-strong: rgba(243, 237, 226, 0.26);

  --font-display: 'Barlow Condensed', 'Noto Sans SC', system-ui, sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Roboto Mono', ui-monospace, monospace;

  --shell-max: 1320px;
  --shell-wide: 1560px;
  --gutter: 72px;
  --nav-h: 56px;
  --tilt: -3deg;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. 重置与基底 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--paper-50);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 蓝图网格底层 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.55;
}

/* 顶部赛场光晕 */
body::after {
  content: "";
  position: fixed;
  inset: -10% -10% auto -10%;
  height: 70vh;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(48% 60% at 18% 12%, rgba(47, 227, 208, 0.10), transparent 70%),
    radial-gradient(42% 52% at 82% 4%, rgba(255, 106, 43, 0.10), transparent 72%),
    radial-gradient(36% 46% at 60% 30%, rgba(140, 92, 255, 0.07), transparent 74%);
}

::selection { background: var(--cyan-400); color: #04121A; }

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

/* ---------- 3. 中文排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--paper-50);
  overflow-wrap: break-word;
}
h1 { font-size: clamp(44px, 7.2vw, 116px); font-weight: 200; line-height: 0.98; }
h2 { font-size: clamp(28px, 3.6vw, 54px); font-weight: 300; }
h3 { font-family: var(--font-display); font-size: clamp(20px, 2vw, 30px); font-weight: 700; line-height: 1.2; }
h4 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin: 0.35em 0; }
a { color: var(--cyan-400); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
strong, b { font-weight: 500; color: var(--paper-50); }
small { font-size: 12.5px; }
hr { border: 0; height: 1px; background: var(--line-soft); margin: 0; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.muted { color: var(--slate-400); }
.text-cyan { color: var(--cyan-400); }
.text-orange { color: var(--orange-500); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate-400);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--cyan-400);
}

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

/* ---------- 4. 容器与网格 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.shell--wide { max-width: var(--shell-wide); }

.grid {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 32px;
}
.grid > * { grid-column: span 24; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-12 { grid-column: span 12; }
.col-14 { grid-column: span 14; }
.col-16 { grid-column: span 16; }
.col-18 { grid-column: span 18; }
.col-20 { grid-column: span 20; }
.col-24 { grid-column: span 24; }

.stack { display: flex; flex-direction: column; gap: 18px; }
.stack--tight { gap: 8px; }

/* ---------- 5. 章节与分隔 ---------- */
.section { padding-block: clamp(52px, 6.5vw, 104px); }
.section__head { display: grid; gap: 14px; margin-bottom: clamp(26px, 3vw, 44px); }
.section__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--orange-500);
  text-transform: uppercase;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 200;
  margin: 0;
}
.section__lead { max-width: 56ch; font-size: 15px; color: #BFC8D8; margin: 0; }

.rule { height: 1px; background: var(--line-soft); border: 0; margin: 0; }
.rule--diagonal {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--violet-500), var(--cyan-400), transparent);
  opacity: 0.6;
  transform: rotate(var(--tilt));
  transform-origin: left center;
}

/* ---------- 6. 面板 / 卡片 / 数据组件 ---------- */
.panel {
  position: relative;
  background: var(--ink-700);
  border: 1px solid var(--line-soft);
  padding: clamp(20px, 2.4vw, 32px);
}
.panel--glass {
  background: rgba(18, 32, 60, 0.42);
  border-color: rgba(243, 237, 226, 0.16);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
}
.panel--paper {
  background: var(--paper-50);
  color: #0B1220;
  border-color: rgba(5, 10, 22, 0.14);
}
.panel--paper h2, .panel--paper h3, .panel--paper h4, .panel--paper strong { color: #0B1220; }
.panel--paper .muted, .panel--paper .card__meta, .panel--paper .stat__label { color: #5B6675; }
.panel--paper a { color: #0B6A61; }
.panel__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 10px;
}
.panel__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: rgba(18, 32, 60, 0.55);
  border: 1px solid var(--line-soft);
  border-left: 2px solid transparent;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.card:hover { border-left-color: var(--cyan-400); background: rgba(18, 32, 60, 0.78); transform: translateY(-2px); }
.card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card__title { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: 0.03em; margin: 0; }
.card__meta { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--slate-400); margin: 0; }
.card__body { font-size: 14px; line-height: 1.7; color: #C3CBD9; margin: 0; }

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--paper-50);
  line-height: 1.1;
}
.stat__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--slate-400); }
.stat--accent .stat__value { color: var(--orange-500); }

.meter { position: relative; height: 6px; background: rgba(243, 237, 226, 0.1); overflow: hidden; }
.meter__fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan-400), var(--orange-500));
  transition: width 0.9s var(--ease);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-100);
  border: 1px solid var(--line-strong);
}
.tag--cyan { border-color: rgba(47, 227, 208, 0.5); color: var(--cyan-400); }
.tag--orange { border-color: rgba(255, 106, 43, 0.5); color: var(--orange-500); }
.tag--violet { border-color: rgba(140, 92, 255, 0.5); color: var(--violet-500); }

.list-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.list-index__item {
  display: flex;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}
.list-index__num {
  flex: 0 0 34px;
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange-500);
}
.list-index__text { font-size: 14.5px; line-height: 1.7; color: #C9D2E0; }

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 1px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary {
  background-image: linear-gradient(100deg, var(--orange-500), #FF8A3D);
  color: #140803;
  box-shadow: 0 0 0 1px rgba(255, 106, 43, 0.35), 0 12px 30px -16px rgba(255, 106, 43, 0.85);
}
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(255, 106, 43, 0.6), 0 16px 34px -14px rgba(255, 106, 43, 0.95); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--paper-50); }
.btn--ghost:hover { border-color: var(--cyan-400); color: var(--cyan-400); }
.btn--quiet { background: transparent; color: var(--cyan-400); padding-inline: 0; }
.btn--quiet:hover { color: var(--paper-50); }

/* ---------- 8. 面包屑 ---------- */
.breadcrumbs { padding-block: 18px; font-size: 12.5px; }
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumbs__item { display: flex; align-items: center; gap: 8px; color: var(--slate-400); font-family: var(--font-mono); letter-spacing: 0.04em; }
.breadcrumbs__link { color: var(--slate-400); text-decoration: none; }
.breadcrumbs__link:hover { color: var(--cyan-400); text-decoration: none; }
.breadcrumbs__sep { color: rgba(243, 237, 226, 0.32); }
.breadcrumbs__current { color: var(--paper-50); }

/* ---------- 9. 正文容器 ---------- */
.prose { max-width: 72ch; font-size: 15.5px; line-height: 1.85; color: #D8DEE9; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; margin-top: 1.7em; }
.prose h3 { font-size: 19px; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li::marker { color: var(--cyan-400); }
.prose a { border-bottom: 1px solid rgba(47, 227, 208, 0.4); }
.prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 18px;
  border-left: 2px solid var(--violet-500);
  color: var(--paper-100);
}

/* ---------- 10. 横向赛程带 ---------- */
.band {
  position: relative;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  cursor: grab;
}
.band.is-dragging { cursor: grabbing; user-select: none; }
.band__track { display: flex; gap: 16px; min-width: max-content; padding-block: 6px 16px; }
.band__item { flex: 0 0 auto; min-width: 200px; }

/* ---------- 11. 图片容器基础规则 ---------- */
.image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-soft);
  background-color: var(--ink-850);
  background-image:
    linear-gradient(135deg, rgba(18, 32, 60, 0.9), rgba(5, 10, 22, 0.95)),
    repeating-linear-gradient(45deg, rgba(47, 227, 208, 0.07) 0 2px, transparent 2px 14px);
}
.image-frame > img, .image-frame__media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(243, 237, 226, 0.14);
  pointer-events: none;
}
.image-frame--wide { aspect-ratio: 21 / 9; }
.image-frame--tall { aspect-ratio: 3 / 4; }
.image-frame--square { aspect-ratio: 1 / 1; }
.image-frame__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 14px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--paper-100);
  background: linear-gradient(180deg, transparent, rgba(5, 10, 22, 0.9));
}

/* ---------- 12. 滚动显现与返回顶部 ---------- */
[data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 0.42s var(--ease), transform 0.42s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--paper-50);
  background: rgba(18, 32, 60, 0.88);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s linear, border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { border-color: var(--cyan-400); color: var(--cyan-400); transform: translateY(-2px); }

/* ---------- 13. 跳过链接 ---------- */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -70px;
  z-index: 200;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #04121A;
  background: var(--cyan-400);
  text-decoration: none;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 10px; text-decoration: none; }

/* ---------- 14. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(5, 10, 22, 0.94);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
}

.header-top {
  max-height: 124px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background-image: linear-gradient(90deg, rgba(14, 24, 45, 0.96), rgba(5, 10, 22, 0.96));
  transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease), border-color 0.4s var(--ease);
}
.site-header[data-scrolled="true"] .header-top {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}
.header-top__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 68px;
  padding-block: 10px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--paper-50);
  text-decoration: none;
}
.header-brand:hover { text-decoration: none; }
.header-brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--cyan-400);
  border: 1px solid rgba(47, 227, 208, 0.55);
  background-image: linear-gradient(135deg, rgba(47, 227, 208, 0.18), rgba(140, 92, 255, 0.14));
}
.header-brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.header-brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.header-brand__desc { font-size: 11.5px; letter-spacing: 0.09em; color: var(--slate-400); }

.header-status {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--cyan-400);
}
.header-status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(47, 227, 208, 0.14);
  animation: status-pulse 2.6s var(--ease) infinite;
}
.header-status__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(47, 227, 208, 0.16); }
  50% { box-shadow: 0 0 0 8px rgba(47, 227, 208, 0); }
}

.header-aux { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: 0 0 auto; }
.aux-link {
  padding: 7px 13px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--paper-100);
  border: 1px solid var(--line-soft);
  text-decoration: none;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.aux-link:hover { color: var(--cyan-400); border-color: rgba(47, 227, 208, 0.55); background: rgba(47, 227, 208, 0.07); text-decoration: none; }

.header-nav { position: relative; border-bottom: 1px solid var(--line-soft); background: rgba(10, 18, 38, 0.86); }
.header-nav__inner { display: flex; align-items: center; gap: 14px; min-height: var(--nav-h); }

.site-nav { flex: 1 1 auto; display: flex; }
.site-nav__list {
  counter-reset: nav;
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__item { margin: 0; }
.site-nav__link {
  counter-increment: nav;
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 17px 15px;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--paper-100);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.site-nav__link::before {
  content: counter(nav, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--slate-400);
  transition: color 0.25s var(--ease);
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 9px;
  height: 1px;
  background: var(--cyan-400);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}
.site-nav__link:hover { color: var(--paper-50); text-decoration: none; }
.site-nav__link:hover::after { transform: scaleX(1); }
.site-nav__link:hover::before { color: var(--cyan-400); }
.site-nav__link[aria-current="page"] { color: #FFFFFF; }
.site-nav__link[aria-current="page"]::before { color: var(--orange-500); }
.site-nav__link[aria-current="page"]::after { transform: scaleX(1); background: var(--orange-500); }

.header-cta { flex: 0 0 auto; margin-left: auto; padding: 10px 18px; font-size: 12.5px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--paper-50);
  background: transparent;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.nav-toggle:hover { color: var(--cyan-400); border-color: var(--cyan-400); }
.nav-toggle__bars { display: flex; flex-direction: column; gap: 4px; width: 16px; }
.nav-toggle__bars span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.25s var(--ease);
}
.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); }

.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(243, 237, 226, 0.07);
  overflow: hidden;
  pointer-events: none;
}
.header-progress__fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan-400), var(--violet-500) 55%, var(--orange-500));
  transition: width 0.12s linear;
}

/* ---------- 15. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 7vw, 104px);
  background-image: linear-gradient(180deg, var(--ink-950) 0%, var(--ink-850) 100%);
  border-top: 1px solid var(--line-soft);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-400), var(--violet-500), transparent);
  opacity: 0.5;
}

.footer-rail {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 22px 0;
}
.footer-rail__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate-400);
  white-space: nowrap;
}
.footer-rail__line { flex: 1 1 auto; height: 1px; background: var(--line-soft); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 0.85fr 1.5fr;
  gap: 48px 40px;
  padding-block: 56px 48px;
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}
.footer-brand__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan-400);
  margin: 0 0 16px;
}
.footer-brand__note { max-width: 34ch; font-size: 13px; line-height: 1.8; color: var(--slate-400); margin: 0; }

.footer-col { min-width: 0; }
.footer-col__title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 18px;
  padding-bottom: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--paper-50);
  border-bottom: 1px solid var(--line-soft);
}
.footer-col__index { font-family: var(--font-mono); font-size: 11px; color: var(--orange-500); letter-spacing: 0.06em; }

.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-link {
  display: inline-block;
  font-size: 14px;
  color: var(--paper-100);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.footer-link::after {
  content: "";
  display: block;
  height: 1px;
  width: 0;
  background: var(--cyan-400);
  transition: width 0.3s var(--ease);
}
.footer-link:hover { color: var(--cyan-400); text-decoration: none; }
.footer-link:hover::after { width: 100%; }

.footer-contact__list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.footer-contact__item { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.footer-contact__label {
  flex: 0 0 68px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--slate-400);
}
.footer-contact__value { font-size: 14px; color: var(--paper-50); overflow-wrap: anywhere; }
.footer-contact__note {
  margin: 0;
  padding-top: 14px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--slate-400);
  border-top: 1px dashed var(--line-soft);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 22px 36px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--slate-400);
}
.footer-icp { margin: 0; letter-spacing: 0.1em; }
.footer-closing { margin: 0; color: var(--paper-100); }

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  html { scroll-padding-top: 116px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}

@media (max-width: 900px) {
  .header-top__inner { min-height: 58px; gap: 16px; }
  .header-brand__desc, .header-status, .header-aux { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 5;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    background: var(--ink-850);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: 0 28px 52px -26px rgba(0, 0, 0, 0.95);
    transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease), visibility 0.4s linear;
  }
  .site-nav[data-open] {
    max-height: min(72vh, 520px);
    overflow-y: auto;
    visibility: visible;
    opacity: 1;
  }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; padding: 6px var(--gutter) 18px; }
  .site-nav__link {
    justify-content: flex-start;
    padding: 15px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line-soft);
  }
  .site-nav__link::after { left: 0; right: auto; width: 34px; bottom: 6px; }
  .header-nav__inner { gap: 10px; }
  .header-cta { padding: 9px 14px; font-size: 12px; letter-spacing: 0.06em; }
}

@media (max-width: 820px) {
  .grid { column-gap: 16px; row-gap: 24px; }
  .grid > [class*="col-"] { grid-column: span 24; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 14.5px; }
  html { scroll-padding-top: 104px; }
  .header-brand__mark { width: 30px; height: 30px; font-size: 16px; }
  .header-brand__name { font-size: 16px; }
  .header-cta { padding: 8px 11px; font-size: 11.5px; }
  .nav-toggle__label { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 44px 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .to-top { right: 14px; bottom: 14px; }
  .footer-contact__label { flex-basis: 60px; }
}

/* ---------- 17. 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .meter__fill { transition: none; }
  .band { scroll-behavior: auto; }
}
