/* ============================================================
   平博赛场 /assets/site.css
   共享外壳：reset、变量、中文排版、头部、页脚、通用组件
   ============================================================ */

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

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

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, blockquote, dl, dd, address,
fieldset, legend { margin: 0; }

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

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

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

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: inherit;
}

a { color: inherit; text-decoration: none; }

table { border-collapse: collapse; width: 100%; }

main { display: block; }

/* ---------- 2. Tokens ---------- */
:root {
  --abyss: #04121f;
  --deepsea: #082338;
  --steel: #0d3350;
  --line-blue: #1c4a6b;
  --orange: #ff6b2c;
  --glow: #ffa36b;
  --mint: #2de2c0;
  --ice: #e8f2f8;
  --mist: #a8bdcb;
  --caution: #ffd166;

  --ink: var(--ice);
  --ink-dim: var(--mist);

  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas,
    "Liberation Mono", monospace;

  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 44px);
  --bar-h: 52px;

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.22, 0.8, 0.22, 1);
  --dur: 0.22s;
}

/* ---------- 3. Base & 中文排版 ---------- */
body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 620px at 78% -10%, rgba(45, 226, 192, 0.1), transparent 62%),
    radial-gradient(900px 520px at 6% 2%, rgba(255, 107, 44, 0.1), transparent 60%),
    var(--abyss);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ice);
}

h1 { font-size: clamp(36px, 4.6vw, 64px); }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
h4 { font-size: clamp(17px, 1.4vw, 20px); }

p { line-height: 1.75; }

strong { font-weight: 700; color: var(--ice); }

::selection { background: rgba(255, 107, 44, 0.85); color: #04121f; }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.section { padding-block: clamp(36px, 6vw, 76px); }
.section--tight { padding-block: clamp(22px, 3.6vw, 40px); }

.layout-rail {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.rail {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 18px;
  border-left: 1px solid rgba(28, 74, 107, 0.85);
}

/* ---------- 5. 正文容器 ---------- */
.prose {
  max-width: 62ch;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.75;
  color: var(--mist);
}

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

.prose h2,
.prose h3 { color: var(--ice); letter-spacing: -0.01em; }

.prose h2 { font-size: clamp(23px, 2.6vw, 32px); }
.prose h3 { font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; }

.prose strong { color: var(--ice); }

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

.prose ul { list-style: none; }

.prose li {
  position: relative;
  margin-top: 0.45em;
  padding-left: 18px;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--orange);
  transform: skewX(-9deg);
}

.prose blockquote {
  padding: 14px 18px;
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: rgba(13, 51, 80, 0.6);
  color: var(--ice);
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.btn--primary {
  background: var(--orange);
  color: #07161f;
  box-shadow: 0 12px 28px -16px rgba(255, 107, 44, 0.95);
}

.btn--primary:hover {
  background: var(--glow);
  transform: translateY(-2px);
}

.btn--signal {
  background: var(--mint);
  color: #04121f;
  box-shadow: 0 12px 28px -16px rgba(45, 226, 192, 0.85);
}

.btn--signal:hover {
  background: #62f0d8;
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(13, 51, 80, 0.55);
  border-color: rgba(168, 189, 203, 0.38);
  color: var(--ice);
}

.btn--ghost:hover {
  border-color: var(--mint);
  color: var(--mint);
}

/* ---------- 7. 基础组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(28, 74, 107, 0.9);
  border-radius: var(--r-pill);
  background: rgba(13, 51, 80, 0.55);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.tag--home {
  border-color: rgba(255, 107, 44, 0.45);
  background: rgba(255, 107, 44, 0.1);
  color: var(--orange);
}

.tag--away {
  border-color: rgba(45, 226, 192, 0.4);
  background: rgba(45, 226, 192, 0.1);
  color: var(--mint);
}

.tag--warn {
  border-color: rgba(255, 209, 102, 0.4);
  background: rgba(255, 209, 102, 0.1);
  color: var(--caution);
}

.card {
  position: relative;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(28, 74, 107, 0.8);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(13, 51, 80, 0.85), rgba(8, 35, 56, 0.96));
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 44, 0.55);
  box-shadow: 0 24px 46px -30px rgba(0, 0, 0, 0.95);
}

.card--cut { border-radius: var(--r-lg) var(--r-lg) 10px var(--r-lg); }

.card--cut::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 4px;
  height: 56px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--orange), var(--mint));
  transform: skewY(-8deg);
}

.data-figure {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ice);
}

.data-figure__unit {
  margin-left: 0.25em;
  font-size: 0.45em;
  font-weight: 600;
  vertical-align: 0.45em;
  color: var(--mist);
}

/* ---------- 8. 图片容器（页面阶段复用） ---------- */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(28, 74, 107, 0.85);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--steel), var(--abyss));
}

.media-frame > img,
.media-frame > picture,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(45, 226, 192, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 226, 192, 0.14) 1px, transparent 1px);
  background-size: 48px 48px;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 38%, #000 72%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 38%, #000 72%, transparent);
}

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

/* ---------- 9. 面包屑 ---------- */
.breadcrumb { padding-block: 16px 0; }

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

.breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--line-blue);
}

.breadcrumb__link {
  color: var(--mist);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(168, 189, 203, 0.35);
  text-underline-offset: 3px;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}

.breadcrumb__link:hover {
  color: var(--ice);
  text-decoration-color: var(--orange);
}

.breadcrumb__current { color: var(--ice); font-weight: 600; }

/* ---------- 10. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--mint);
  color: #04121f;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus { transform: translateY(0); }

/* ---------- 11. 头部 ---------- */
.site-header {
  position: relative;
  z-index: 60;
}

/* 11.1 常用栏 */
.utility-bar {
  background: linear-gradient(90deg, #061a2b, #082338 52%, #0d3350);
  border-bottom: 1px solid rgba(28, 74, 107, 0.9);
}

.utility-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  min-height: var(--bar-h);
  padding-block: 5px;
}

.utility-bar__brand {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ice);
  white-space: nowrap;
}

.utility-bar__brand::before {
  content: "";
  width: 18px;
  height: 2px;
  margin-right: 10px;
  border-radius: 2px;
  background: var(--orange);
}

.utility-bar__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.status-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(45, 226, 192, 0.16), 0 0 10px rgba(45, 226, 192, 0.6);
}

.utility-bar__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(45, 226, 192, 0.42);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mint);
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.utility-bar__action::after {
  content: "\2192";
  font-family: var(--font-mono);
  font-size: 12px;
}

.utility-bar__action:hover {
  background: rgba(45, 226, 192, 0.14);
  border-color: var(--mint);
  color: var(--ice);
}

/* 11.2 刊头 */
.masthead {
  background: linear-gradient(180deg, rgba(8, 35, 56, 0.55), rgba(4, 18, 31, 0));
}

.masthead__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-block: clamp(18px, 3vw, 28px) clamp(16px, 2.4vw, 22px);
}

.masthead__stamp {
  justify-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-mono);
}

.masthead__stamp-num {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--orange);
  letter-spacing: 0.02em;
}

.masthead__stamp-label {
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--mist);
}

.masthead__stamp::after {
  content: "";
  width: 58px;
  height: 3px;
  margin-top: 8px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), var(--mint));
  transform: skewX(-9deg);
}

.wordmark {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.wordmark__glyph {
  position: relative;
  flex: none;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(45, 226, 192, 0.4);
  border-radius: 14px;
  background: linear-gradient(160deg, var(--steel), var(--deepsea));
}

.wordmark__glyph::before {
  content: "";
  position: absolute;
  inset: 9px 9px auto 9px;
  height: 5px;
  border-radius: 2px;
  background: var(--orange);
  transform: skewX(-9deg);
}

.wordmark__glyph::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 15px;
  top: 22px;
  height: 5px;
  border-radius: 2px;
  background: var(--mint);
  transform: skewX(-9deg);
}

.wordmark__stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wordmark__text {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--ice);
  transform: scaleX(1.04);
  transform-origin: left center;
}

.wordmark__descriptor {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.masthead__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(168, 189, 203, 0.35);
  border-radius: var(--r-pill);
  background: rgba(13, 51, 80, 0.6);
  color: var(--ice);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

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

.nav-toggle__bars {
  position: relative;
  flex: none;
  width: 18px;
  height: 12px;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  transition: background var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: none; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before,
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: rotate(-45deg); }

.nav-toggle__label { line-height: 1; }

/* 11.3 导航条 */
.nav-bar {
  border-top: 1px solid rgba(28, 74, 107, 0.5);
  border-bottom: 1px solid rgba(28, 74, 107, 0.8);
  background: linear-gradient(180deg, rgba(8, 35, 56, 0.92), rgba(4, 18, 31, 0.92));
}

.nav-bar__inner {
  position: relative;
  display: flex;
  justify-content: center;
}

.site-nav { width: 100%; }

.site-nav__list {
  counter-reset: nav;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
}

.site-nav__item {
  counter-increment: nav;
  display: flex;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--mist);
  background-image: linear-gradient(var(--orange), var(--orange));
  background-repeat: no-repeat;
  background-position: center bottom 7px;
  background-size: 0 2px;
  transition:
    color var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    background-size var(--dur) var(--ease);
}

.site-nav__link::before {
  content: counter(nav, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(168, 189, 203, 0.62);
  transition: color var(--dur) var(--ease);
}

.site-nav__link:hover {
  color: var(--ice);
  background-color: rgba(45, 226, 192, 0.08);
  background-size: 16px 2px;
}

.site-nav__link:hover::before { color: var(--mint); }

.site-nav__link[aria-current="page"] {
  color: var(--ice);
  background-color: rgba(255, 107, 44, 0.1);
  background-size: 22px 2px;
  box-shadow: inset 0 0 0 1px rgba(255, 107, 44, 0.32);
}

.site-nav__link[aria-current="page"]::before { color: var(--orange); }

/* 11.4 阅读进度线 */
.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 3px;
  background: rgba(28, 74, 107, 0.35);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.scroll-meter[data-visible="true"] { opacity: 1; }

.scroll-meter__fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--orange), var(--glow) 55%, var(--mint));
  box-shadow: 0 0 12px rgba(45, 226, 192, 0.45);
}

/* ---------- 12. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(48px, 8vw, 104px);
  border-top: 1px solid rgba(28, 74, 107, 0.85);
  background: linear-gradient(180deg, rgba(8, 35, 56, 0.92), var(--abyss) 62%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 0;
  height: clamp(60px, 8vw, 110px);
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(28, 74, 107, 0.55) 0 1px, transparent 1px 72px),
    linear-gradient(180deg, rgba(45, 226, 192, 0.12), transparent 82%);
  transform: skewY(-2deg);
  transform-origin: left top;
}

.site-footer > .container { position: relative; z-index: 1; }

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(42px, 6vw, 72px) clamp(26px, 4vw, 44px);
}

.footer-brand__line {
  font-size: clamp(19px, 2.3vw, 27px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ice);
}

.footer-brand__meta {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.footer-brand .btn { margin-top: 22px; }

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

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
}

.footer-col__title::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--orange);
  transform: skewX(-9deg);
}

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

.footer-col__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--mist);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}

.footer-col__link:hover {
  color: var(--ice);
  text-decoration-color: var(--orange);
}

.footer-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: clamp(16px, 4vw, 64px);
  padding-block: clamp(22px, 3.4vw, 34px);
  border-top: 1px solid rgba(28, 74, 107, 0.7);
}

.footer-contact__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
}

.contact-list {
  display: grid;
  gap: 8px;
}

.contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  font-size: 14px;
  color: var(--ice);
}

.contact-item__label {
  min-width: 44px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}

.contact-item__value { word-break: break-word; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 18px 26px;
  border-top: 1px solid rgba(28, 74, 107, 0.5);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.footer-legal__item { line-height: 1.6; }

.footer-watermark {
  position: absolute;
  right: -6px;
  bottom: -16px;
  z-index: 0;
  margin: 0;
  font-size: clamp(64px, 15vw, 190px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: rgba(232, 242, 248, 0.035);
  pointer-events: none;
  user-select: none;
}

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1023px) {
  .layout-rail { grid-template-columns: minmax(0, 1fr); }

  .rail {
    position: static;
    padding-left: 0;
    padding-top: 14px;
    border-left: 0;
    border-top: 1px solid rgba(28, 74, 107, 0.85);
  }
}

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

  .nav-bar__inner { justify-content: flex-start; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: calc(-1 * var(--gutter));
    right: calc(-1 * var(--gutter));
    z-index: 120;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: 14px calc(var(--gutter) + 4px) 20px;
    border-bottom: 1px solid rgba(28, 74, 107, 0.9);
    border-radius: 0 0 var(--r-md) var(--r-md);
    background: linear-gradient(180deg, #082338, #04121f);
    box-shadow: 0 32px 54px -32px rgba(0, 0, 0, 0.95);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity 0.22s var(--ease),
      transform 0.22s var(--ease),
      visibility 0.22s var(--ease);
  }

  .site-header[data-open="true"] .site-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-nav__link {
    width: 100%;
    justify-content: flex-start;
    min-height: 52px;
    padding-inline: 16px;
    border: 1px solid transparent;
    border-radius: 14px;
    background-position: left 16px bottom 9px;
  }

  .site-nav__link:hover { background-size: 18px 2px; }

  .site-nav__link[aria-current="page"] {
    border-color: rgba(255, 107, 44, 0.35);
    background-position: left 16px bottom 9px;
    background-size: 22px 2px;
    box-shadow: none;
  }

  .masthead__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-block: 18px 16px;
  }

  .masthead__stamp { display: none; }

  .wordmark {
    justify-self: start;
    gap: 12px;
  }

  .wordmark__glyph {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .wordmark__glyph::before { inset: 8px 8px auto 8px; height: 4px; }
  .wordmark__glyph::after { left: 8px; right: 13px; top: 19px; height: 4px; }

  .masthead__actions { justify-self: end; }

  .footer-top,
  .footer-contact { grid-template-columns: minmax(0, 1fr); }

  .footer-contact__title { margin-bottom: 4px; }
}

@media (max-width: 680px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-watermark { font-size: clamp(56px, 22vw, 120px); }

  .media-frame--tall { aspect-ratio: 3 / 4; }
}

@media (max-width: 620px) {
  .masthead__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .wordmark { justify-self: start; }

  .masthead__actions {
    justify-self: stretch;
    justify-content: space-between;
  }

  .wordmark__text { transform: scaleX(1.02); }

  .utility-bar__status {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .wordmark__descriptor {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .btn { padding-inline: 16px; font-size: 13px; }

  .footer-cols { grid-template-columns: minmax(0, 1fr); }

  .footer-col__link { min-height: 44px; }
}

/* ---------- 14. 无障碍与减弱动效 ---------- */
@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;
  }

  .btn:hover,
  .card:hover { transform: none; }

  .scroll-meter { transition: none; }
}
