/* ==========================================================================
   乐鱼赛事 · 共享样式表 /assets/site.css
   水波切开的赛事控制台：深墨蓝外壳 · 青蓝主色 · 珊瑚橙行动 · 荧光青绿数据
   ========================================================================== */

/* ---------- 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, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}

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

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

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

button {
  background: none;
  border: 0;
  padding: 0;
}

a { color: inherit; }

[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  /* 色彩 */
  --ink: #061826;
  --ink-2: #0B2434;
  --ink-3: #10314A;
  --teal: #0E7490;
  --teal-dark: #0A5A70;
  --mist: #9AD9E4;
  --coral: #FF6B4A;
  --coral-soft: #FF8265;
  --neon: #2BF0C4;
  --rock: #5C6670;
  --moss: #4E6B4F;
  --clay: #B5623C;
  --clay-ink: #8A4A2C;
  --paper: #F4EFE4;
  --haze: #D6E6EA;

  /* 边界与阴影 */
  --line: rgba(154, 217, 228, 0.18);
  --line-strong: rgba(154, 217, 228, 0.36);
  --line-dark: rgba(6, 24, 38, 0.13);
  --line-dark-strong: rgba(6, 24, 38, 0.26);
  --shadow-1: 0 1px 0 rgba(6, 24, 38, 0.05);
  --shadow-2: 0 22px 46px -34px rgba(6, 24, 38, 0.62);

  /* 字体 */
  --font-display: "Inter", system-ui, -apple-system, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono",
    Consolas, "Liberation Mono", monospace;
  --font-serif: Georgia, "Songti SC", "Noto Serif SC", "Source Han Serif SC", serif;

  /* 尺度 */
  --radius: 3px;
  --header-h: 78px;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1280px;
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--paper);
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

p { overflow-wrap: break-word; }

::selection {
  background: var(--coral);
  color: var(--ink);
}

/* ---------- 4. 焦点与可访问性 ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  transform: translateY(-200%);
  background: var(--coral);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 12px 20px;
  border-radius: 2px;
  text-decoration: none;
  transition: transform 0.16s ease;
}

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

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

.container-narrow {
  max-width: 840px;
}

.section {
  padding-block: clamp(44px, 6vw, 92px);
}

.section--tight {
  padding-block: clamp(28px, 4vw, 56px);
}

/* ==========================================================================
   6. 头部
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  color: var(--paper);
  border-bottom: 1px solid var(--line);
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 200% at 86% -70%, rgba(14, 116, 144, 0.5), transparent 62%),
    radial-gradient(90% 170% at 2% 170%, rgba(43, 240, 196, 0.1), transparent 58%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 34px);
  min-height: var(--header-h);
}

/* 品牌 */
.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding-block: 6px;
  text-decoration: none;
  color: inherit;
  flex: none;
}

.brand-mark {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  flex: none;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid rgba(154, 217, 228, 0.45);
  background-image: linear-gradient(148deg, #12869f 0%, #0A4F63 52%, #052030 100%);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  height: 2px;
  border-radius: 2px;
  transform: rotate(-19deg);
}

.brand-mark::before {
  bottom: 13px;
  background: var(--neon);
  opacity: 0.9;
}

.brand-mark::after {
  bottom: 20px;
  background: var(--mist);
  opacity: 0.55;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-line {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--paper);
}

.brand-tagline {
  font-size: 11.5px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--mist);
  opacity: 0.8;
}

.header-brand:hover .brand-line { color: #FFFFFF; }
.header-brand:hover .brand-mark { border-color: var(--neon); }

/* 服务标签 */
.header-utility {
  display: flex;
  align-items: center;
  gap: 0;
  flex: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--mist);
  opacity: 0.75;
}

.utility-item + .utility-item::before {
  content: "/";
  padding-inline: 9px;
  opacity: 0.5;
}

/* 导航区 */
.header-nav-area {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 22px);
  margin-left: auto;
}

.site-nav { display: flex; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.8vw, 10px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 10px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(244, 239, 228, 0.78);
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 7px;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease, background-color 0.18s ease;
}

.nav-link:hover { color: #FFFFFF; }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] {
  color: #FFFFFF;
  font-weight: 700;
}

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--neon);
}

/* 头部动作 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

/* 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  min-width: 44px;
  padding-inline: 13px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  flex: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.nav-toggle:hover {
  border-color: var(--mist);
  background: rgba(154, 217, 228, 0.08);
}

.nav-toggle-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
  flex: none;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }

.site-header[data-open="true"] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

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

.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background-image: linear-gradient(90deg, var(--teal) 0%, var(--neon) 55%, var(--coral) 100%);
}

/* ==========================================================================
   7. 按钮
   ========================================================================== */
.btn {
  --btn-bg: var(--teal);
  --btn-fg: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  background-color: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.btn-primary {
  --btn-bg: var(--coral);
  --btn-fg: var(--ink);
}

.btn-primary:hover {
  --btn-bg: var(--coral-soft);
  box-shadow: 0 10px 26px -16px rgba(255, 107, 74, 0.9);
}

.btn-quiet {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  border-color: var(--line-strong);
}

.btn-quiet:hover {
  border-color: var(--mist);
  background: rgba(154, 217, 228, 0.1);
  color: #FFFFFF;
}

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-dark-strong);
}

.btn-outline:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  border-color: var(--ink);
}

.btn-lg {
  min-height: 52px;
  padding-inline: 26px;
  font-size: 16px;
}

.btn:active { transform: translateY(1px); }

/* ==========================================================================
   8. 页脚
   ========================================================================== */
.site-footer {
  position: relative;
  color: rgba(244, 239, 228, 0.82);
  border-top: 1px solid var(--line);
  background-color: var(--ink);
  background-image:
    radial-gradient(95% 150% at 10% -10%, rgba(14, 116, 144, 0.3), transparent 62%),
    radial-gradient(80% 130% at 96% 118%, rgba(43, 240, 196, 0.08), transparent 60%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-image: linear-gradient(90deg, var(--teal) 0%, var(--neon) 42%, var(--coral) 100%);
  opacity: 0.85;
}

.footer-inner {
  padding-block: clamp(48px, 6vw, 84px) clamp(24px, 3vw, 36px);
}

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

.footer-brand {
  grid-column: 1 / -1;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  text-decoration: none;
  color: inherit;
}

.footer-brand-line {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.footer-brand-link:hover .footer-brand-line { color: #FFFFFF; }
.footer-brand-link:hover .brand-mark { border-color: var(--neon); }

.footer-tagline {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--mist);
}

.footer-summary {
  margin-top: 10px;
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(244, 239, 228, 0.66);
}

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--mist);
}

.footer-col-title::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--coral);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.footer-link-list {
  display: flex;
  flex-direction: column;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14.5px;
  color: rgba(244, 239, 228, 0.78);
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-link::before {
  content: "";
  width: 10px;
  height: 1px;
  flex: none;
  background: rgba(154, 217, 228, 0.4);
  transition: width 0.18s ease, background-color 0.18s ease;
}

.footer-link:hover {
  color: #FFFFFF;
  transform: translateX(2px);
}

.footer-link:hover::before {
  width: 16px;
  background: var(--neon);
}

.footer-col--contact { min-width: 0; }

.contact-row {
  padding-block: 9px;
  border-bottom: 1px dashed rgba(154, 217, 228, 0.16);
}

.contact-row:last-of-type { border-bottom: 0; }

.contact-label {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  opacity: 0.72;
}

.contact-value {
  display: block;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--paper);
  overflow-wrap: anywhere;
}

.footer-note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(154, 217, 228, 0.62);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(30px, 4vw, 54px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: rgba(154, 217, 228, 0.66);
}

.footer-legal { letter-spacing: 0.02em; }

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.footer-legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(244, 239, 228, 0.72);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-legal-links a:hover { color: var(--neon); }

/* ==========================================================================
   9. 通用内容组件
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  flex: none;
  background: var(--coral);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.section-lead {
  max-width: 62ch;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.75;
  color: var(--rock);
}

/* 面包屑 */
.breadcrumb { font-size: 13px; color: var(--rock); }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(92, 102, 112, 0.5);
}

.breadcrumb a {
  color: var(--teal-dark);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

/* 正文 */
.prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.8;
  color: #1B3345;
}

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

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.prose strong { color: var(--ink); font-weight: 700; }

.prose a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-decoration-color: rgba(14, 116, 144, 0.4);
  text-underline-offset: 3px;
}

.prose a:hover { text-decoration-color: var(--coral); }

.prose ul li {
  position: relative;
  padding-left: 22px;
}

.prose ul li + li { margin-top: 0.42em; }

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 9px;
  height: 2px;
  background: var(--coral);
}

/* 卡片 */
.card {
  position: relative;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: #FFFFFF;
  box-shadow: var(--shadow-1);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  border-color: rgba(14, 116, 144, 0.5);
  box-shadow: var(--shadow-2);
}

.card--dark {
  color: var(--paper);
  background-color: var(--ink-2);
  border-color: var(--line);
  box-shadow: none;
}

.card--dark:hover {
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px -34px rgba(0, 0, 0, 0.9);
}

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 2px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  background: var(--haze);
  color: var(--ink);
}

.tag--teal {
  background: rgba(14, 116, 144, 0.12);
  border-color: rgba(14, 116, 144, 0.3);
  color: var(--teal-dark);
}

.tag--moss {
  background: rgba(78, 107, 79, 0.14);
  border-color: rgba(78, 107, 79, 0.32);
  color: #3A523B;
}

.tag--clay {
  background: rgba(181, 98, 60, 0.14);
  border-color: rgba(181, 98, 60, 0.32);
  color: var(--clay-ink);
}

/* 数据 */
.data-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}

/* 栅格 */
.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 28px);
}

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

/* 图片容器基础规则 */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background-color: var(--ink-2);
  background-image:
    linear-gradient(146deg, #0B2434 0%, #10314A 46%, #0E7490 100%);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    116deg,
    rgba(43, 240, 196, 0.08) 0 2px,
    transparent 2px 10px
  );
  opacity: 0.7;
}

.media-frame > img,
.media-frame > video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame[data-ratio="16x9"] { aspect-ratio: 16 / 9; }
.media-frame[data-ratio="4x3"] { aspect-ratio: 4 / 3; }
.media-frame[data-ratio="1x1"] { aspect-ratio: 1 / 1; }
.media-frame[data-ratio="3x4"] { aspect-ratio: 3 / 4; }
.media-frame[data-ratio="21x9"] { aspect-ratio: 21 / 9; }

.media-frame--cut {
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
}

.media-frame--cut-tr {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 14%);
}

/* 标签页协议 */
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-dark-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease;
}

.tab:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.tab-panel { margin-top: clamp(16px, 2vw, 26px); }

/* ==========================================================================
   10. 响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .header-utility { display: none; }
}

@media (max-width: 1040px) {
  :root { --header-h: 68px; }

  .header-inner { justify-content: space-between; }

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

  .header-nav-area {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 10px var(--gutter) 24px;
    border-bottom: 1px solid var(--line);
    background-color: var(--ink-2);
    background-image:
      radial-gradient(120% 160% at 88% -30%, rgba(14, 116, 144, 0.4), transparent 62%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    box-shadow: 0 34px 60px -34px rgba(0, 0, 0, 0.9);
  }

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

  .site-nav { width: 100%; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    justify-content: space-between;
    min-height: 52px;
    padding-inline: 4px;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] { color: var(--neon); }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 20px;
  }

  .header-actions .btn { width: 100%; }

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

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

@media (min-width: 1041px) {
  .footer-top {
    grid-template-columns:
      minmax(0, 1.45fr)
      minmax(0, 0.72fr)
      minmax(0, 0.72fr)
      minmax(0, 1.2fr);
  }

  .footer-brand { grid-column: auto; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .brand-tagline { font-size: 10.5px; letter-spacing: 0.02em; }

  .brand-line { font-size: 17.5px; }

  .brand-mark { width: 30px; height: 30px; }

  .footer-tagline { font-size: 15px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .footer-legal-links { margin-left: -2px; }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: minmax(0, 1fr); }

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

  .brand-tagline { display: none; }

  .footer-brand { grid-column: auto; }
}

@media (max-width: 420px) {
  .nav-toggle-label { display: none; }
  .nav-toggle { padding-inline: 11px; }
}

/* ==========================================================================
   11. 动效可访问性
   ========================================================================== */
@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;
    scroll-behavior: auto !important;
  }
}
