/* =====================================================================
   新宝体育 · 北境赛场夜航 — 共享样式 /assets/site.css
   1 变量  2 基础  3 排版工具  4 布局  5 通用组件  6 页头  7 页脚  8 动效与可访问
   ===================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --ink-900: #050A16;
  --ink-800: #0B1730;
  --ink-700: #10213F;
  --line: #1B3152;
  --line-strong: #2A4A78;
  --white: #F4F8FF;
  --text-soft: #D6E1F2;
  --mist: #A8B7CE;
  --orange: #FF6A2A;
  --cyan: #40E0D0;
  --cyan-soft: #8FF4E9;
  --gold: #F2C46B;
  --red: #FF5A6E;
  --green: #58D68D;

  --shell-max: 1320px;
  --gutter: clamp(16px, 4.2vw, 40px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 220ms;

  --font-display: 'Barlow Condensed', 'DIN Condensed', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-heading: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', 'SFMono-Regular', 'Consolas', 'Courier New', monospace;
}

/* ---------- 2. 基础 ---------- */
*, *::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, dl, dd, fieldset {
  margin: 0;
}

ul, ol { padding: 0; list-style: none; }

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

button, input, select, textarea { font: inherit; color: inherit; }

button {
  background: none;
  border: 0;
  cursor: pointer;
}

a { color: var(--cyan); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--cyan-soft); }

body {
  min-height: 100vh;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(900px 520px at 88% -12%, rgba(64, 224, 208, .07), transparent 62%),
    radial-gradient(760px 480px at 2% 4%, rgba(255, 106, 42, .06), transparent 58%);
  background-repeat: no-repeat;
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .01em;
}

::selection { background: rgba(255, 106, 42, .3); color: var(--white); }

/* ---------- 3. 排版工具 ---------- */
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}

.display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: .01em;
  line-height: .95;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--cyan);
  flex: none;
}

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

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

/* ---------- 4. 布局 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

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

.grid__span-4 { grid-column: span 4; }
.grid__span-6 { grid-column: span 6; }
.grid__span-8 { grid-column: span 8; }
.grid__span-12 { grid-column: span 12; }

.section { padding-block: clamp(36px, 5.5vw, 78px); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(20px, 3vw, 34px);
}

.section__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.15;
  color: var(--white);
}

.section__note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
}

/* ---------- 5. 通用组件 ---------- */
/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 22px;
  background: var(--ink-800);
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: .05em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.btn:hover {
  color: var(--white);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #0A0F1E;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.btn--primary:hover { background: var(--cyan); border-color: var(--cyan); color: #04121A; }
.btn--primary:focus-visible { outline: 2px solid #04121A; outline-offset: -4px; }

.btn--ghost { background: transparent; border-color: var(--line); color: var(--text-soft); }
.btn--ghost:hover { color: var(--cyan); border-color: var(--cyan); }

.btn--quiet {
  min-height: 0;
  padding-inline: 0;
  background: transparent;
  border-color: transparent;
  color: var(--cyan);
}
.btn--quiet:hover { color: var(--cyan-soft); transform: none; }

/* 斜切标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.6;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.tag--orange { color: var(--orange); border-color: rgba(255, 106, 42, .48); background: rgba(255, 106, 42, .1); }
.tag--cyan { color: var(--cyan); border-color: rgba(64, 224, 208, .42); background: rgba(64, 224, 208, .08); }
.tag--gold { color: var(--gold); border-color: rgba(242, 196, 107, .44); background: rgba(242, 196, 107, .09); }
.tag--red { color: var(--red); border-color: rgba(255, 90, 110, .44); background: rgba(255, 90, 110, .09); }

/* 卡片 */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 34px -22px rgba(0, 0, 0, .95);
}

.card--flat { background: transparent; }
.card--flat:hover { transform: none; box-shadow: none; }

.card__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.4;
  color: var(--white);
}

.card__meta {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
}

/* 状态点 */
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mist);
  letter-spacing: .04em;
}

.status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
  background: var(--mist);
  box-shadow: 0 0 0 3px rgba(168, 183, 206, .14);
}

.status-dot--ok::before { background: var(--green); box-shadow: 0 0 0 3px rgba(88, 214, 141, .16); }
.status-dot--warn::before { background: var(--gold); box-shadow: 0 0 0 3px rgba(242, 196, 107, .16); }
.status-dot--out::before { background: var(--red); box-shadow: 0 0 0 3px rgba(255, 90, 110, .16); }

/* 图片容器 */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--ink-800);
  background-image:
    repeating-linear-gradient(135deg, rgba(27, 49, 82, .55) 0 1px, transparent 1px 9px),
    linear-gradient(165deg, rgba(11, 23, 48, .9) 0%, rgba(5, 10, 22, .95) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.media__img { width: 100%; height: 100%; object-fit: cover; }

.media__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(168, 183, 206, .72);
}

.media__tag { position: absolute; top: 12px; left: 12px; z-index: 2; }

.media__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: rgba(168, 183, 206, .72);
}

.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

/* 面包屑 */
.breadcrumbs {
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--mist);
}

.breadcrumbs__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs__item[aria-current="page"] { color: var(--white); }

.breadcrumbs__link { color: var(--mist); }
.breadcrumbs__link:hover { color: var(--cyan); }

.breadcrumbs__sep { color: var(--line-strong); }

/* 正文容器 */
.prose {
  max-width: 74ch;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.85;
}

.prose > * + * { margin-top: 1.05em; }

.prose h2 {
  padding-bottom: .45em;
  border-bottom: 1px solid var(--line);
  margin-top: 2.2em;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.35;
  color: var(--white);
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  margin-top: 1.8em;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  color: var(--white);
}

.prose p { color: var(--text-soft); }

.prose ul { padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.3em; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .92em;
  width: 10px;
  height: 1px;
  background: var(--gold);
}

.prose ol { list-style: decimal; padding-left: 1.4em; }

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose a:hover { color: var(--cyan-soft); }
.prose strong { color: var(--white); font-weight: 700; }

.prose blockquote {
  padding: 4px 0 4px 18px;
  border-left: 2px solid var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 17px;
  line-height: 1.7;
}

.prose code {
  padding: 1px 6px;
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 13px;
}

.prose hr { height: 1px; border: 0; background: var(--line); }

/* ---------- 6. 页头 ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--cyan);
  color: #04121A;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius);
  transform: translateY(-180%);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 10, 22, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.site-header[data-scrolled="true"] {
  background: rgba(5, 10, 22, .98);
  border-bottom-color: var(--line-strong);
}

.header-frame { position: relative; }

/* 状态条 */
.header-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(168, 183, 206, .8);
  white-space: nowrap;
  overflow: hidden;
}

.header-status__code { color: var(--cyan); letter-spacing: .16em; }

.header-status__dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 42, .16);
}

.header-status__text { color: var(--mist); letter-spacing: .14em; }

.header-status__meta { margin-left: auto; color: rgba(168, 183, 206, .6); letter-spacing: .18em; }

/* 主横梁 */
.header-bar {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  align-items: stretch;
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px 13px 0;
  border-right: 1px solid var(--line);
  color: var(--white);
  text-decoration: none;
}

.brand:hover { color: var(--white); }

.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  background: var(--orange);
  color: #0A0F1E;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
  letter-spacing: .02em;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 82% 100%, 0 100%);
  transition: background-color var(--dur) var(--ease);
}

.brand:hover .brand__mark { background: var(--cyan); }

.brand__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.brand__name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: .08em;
}

.brand__line {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mist);
}

/* 赛道式导航 */
.nav { display: flex; align-items: stretch; min-width: 0; }

.nav__list { display: flex; align-items: stretch; width: 100%; min-width: 0; }

.nav__item { display: flex; min-width: 0; }

.nav__link {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 14px clamp(8px, 1.2vw, 20px);
  color: var(--text-soft);
  text-decoration: none;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav__item + .nav__item .nav__link { border-left: 1px solid var(--line); }

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav__index {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1;
  color: rgba(168, 183, 206, .6);
  transition: color var(--dur) var(--ease);
}

.nav__label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: .05em;
  white-space: nowrap;
}

.nav__link:hover { background: rgba(64, 224, 208, .07); color: var(--white); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link:hover .nav__index { color: var(--cyan); }

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

.nav__link[aria-current="page"] {
  background: rgba(255, 106, 42, .09);
  color: var(--white);
}

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

/* 右侧行动区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: clamp(12px, 1.6vw, 22px);
  border-left: 1px solid var(--line);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--orange);
  color: #0A0F1E;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  letter-spacing: .06em;
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.header-cta:hover { background: var(--cyan); color: #04121A; transform: translateY(-1px); }
.header-cta:focus-visible { outline: 2px solid #04121A; outline-offset: -4px; }

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .1em;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }

.nav-toggle__bars { display: flex; flex-direction: column; gap: 3px; width: 16px; }

.nav-toggle__bar {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav-toggle__label { font-size: 12.5px; letter-spacing: .12em; }

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange) 55%, var(--cyan) 100%);
  transition: transform 60ms linear;
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  background: var(--ink-800);
  border-top: 1px solid var(--line);
  color: var(--mist);
}

.footer-frame { position: relative; }

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(36px, 5vw, 64px) clamp(24px, 3vw, 40px);
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 46ch; }

.footer-brand__line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .06em;
  line-height: 1.4;
  color: var(--white);
}

.footer-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  background: var(--orange);
  color: #0A0F1E;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
}

.footer-desc { font-size: 14.5px; line-height: 1.8; color: var(--mist); }

.footer-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.footer-group { min-width: 0; }

.footer-group__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-links { display: flex; flex-direction: column; gap: 2px; }

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: var(--text-soft);
  font-size: 14px;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.footer-link::before {
  content: "";
  width: 14px;
  height: 1px;
  flex: none;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}

.footer-link:hover { color: var(--cyan); }
.footer-link:hover::before { transform: scaleX(1); }

.footer-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px 24px;
  padding-block: clamp(18px, 2.4vw, 26px);
  border-top: 1px solid var(--line);
}

.footer-contact__item { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.footer-contact__key {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .24em;
  color: rgba(168, 183, 206, .62);
}

.footer-contact__value {
  color: var(--white);
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
}

.footer-note {
  padding-block: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(168, 183, 206, .74);
}

.footer-wordmark {
  padding-block: clamp(14px, 2vw, 26px) 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 10vw, 132px);
  line-height: .84;
  letter-spacing: .01em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
  color: rgba(31, 55, 90, .55);
}

@supports (-webkit-text-stroke: 1px #fff) {
  .footer-wordmark {
    color: transparent;
    -webkit-text-stroke: 1px rgba(43, 74, 120, .9);
  }
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding-block: 18px 26px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(168, 183, 206, .7);
}

.footer-copy, .footer-icp { line-height: 1.6; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: auto;
}

.footer-legal__link {
  color: var(--mist);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-decoration: none;
}

.footer-legal__link:hover { color: var(--gold); }

/* ---------- 8. 响应式 ---------- */
@media (min-width: 900px) {
  .footer-top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr); }
}

@media (min-width: 760px) {
  .footer-contact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
  .nav__label { font-size: 13.5px; letter-spacing: .03em; }
}

@media (max-width: 980px) {
  .header-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .brand { padding: 10px 0; border-right: 0; }
  .brand__line { display: none; }

  .header-actions { padding-left: 8px; border-left: 0; gap: 8px; }

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

  .nav {
    grid-column: 1 / -1;
    display: none;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    margin-top: 4px;
    border-top: 1px solid var(--line);
  }

  .nav[data-open] {
    display: block;
    animation: navDrop var(--dur) var(--ease) both;
  }

  .nav__list { flex-direction: column; width: 100%; }

  .nav__item { width: 100%; border-bottom: 1px solid var(--line); }
  .nav__item:last-child { border-bottom: 0; }

  .nav__link {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 15px 4px;
    border-left: 0;
  }

  .nav__item + .nav__item .nav__link { border-left: 0; }
  .nav__link::after { display: none; }

  .nav__index { font-size: 10px; letter-spacing: .2em; }
  .nav__label { font-size: 15px; letter-spacing: .06em; }

  .nav__link[aria-current="page"] {
    background: rgba(255, 106, 42, .1);
    box-shadow: inset 2px 0 0 var(--orange);
    padding-left: 12px;
  }

  .header-status__meta { display: none; }
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .header-status__text { letter-spacing: .08em; }
  .grid--2 { grid-template-columns: 1fr; }
  .grid__span-4, .grid__span-6, .grid__span-8 { grid-column: span 12; }
}

@media (max-width: 560px) {
  .header-status__code { font-size: 9px; letter-spacing: .12em; }
  .header-status__text { display: none; }
  .nav-toggle__label { display: none; }
  .header-cta { padding: 10px 12px; font-size: 12.5px; letter-spacing: .02em; }
  .brand__mark { width: 34px; height: 34px; font-size: 15px; }
  .brand__name { font-size: 16px; letter-spacing: .06em; }
  .footer-legal { margin-left: 0; width: 100%; }
}

@media (max-width: 420px) {
  .footer-nav { grid-template-columns: 1fr; }
}

/* ---------- 9. 焦点、显现与减少动效 ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

html.is-reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}

html.is-reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .card:hover { transform: none; }
  .btn:hover { transform: none; }
  .header-cta:hover { transform: none; }
  .footer-link:hover::before { transform: scaleX(1); }

  html.is-reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
