/* ============================================================
   乐鱼体育入口 / assets/site.css
   共享外壳：重置、变量、中文排版、头部轨道、页脚、通用组件
   ============================================================ */

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

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

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

ul[role="list"],
ol[role="list"] { list-style: none; padding: 0; }

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: inherit; text-decoration: none; }

[hidden] { display: none !important; }

/* ---------- 2. Tokens ---------- */
:root {
  --abyss: #05192A;
  --lane: #0C2F4A;
  --trench: #14405F;
  --signal: #3BF2D2;
  --mint: #A8F8EA;
  --coral: #FF6A45;
  --tide: #F1F7F8;
  --ink: #071019;
  --mist: #B9CBD5;
  --amber: #FFC04D;

  --text: #E7F3F6;
  --text-dim: rgba(231, 243, 246, 0.72);

  --font-sans: "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-serif: "Source Han Serif SC", "Songti SC", "Noto Serif SC", "SimSun", Georgia, serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;

  --rail: 88px;
  --shell: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --cut: 7deg;
  --cut-h: 26px;

  --line: rgba(59, 242, 210, 0.16);
  --line-soft: rgba(185, 203, 213, 0.18);
}

/* ---------- 3. Base & 中文排版 ---------- */
html { font-size: 100%; }

body {
  min-height: 100vh;
  background-color: var(--abyss);
  background-image:
    radial-gradient(900px 520px at 88% -6%, rgba(59, 242, 210, 0.10), transparent 62%),
    radial-gradient(760px 460px at 4% 8%, rgba(255, 106, 69, 0.07), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p { line-height: 1.75; }

strong { font-weight: 800; color: #FFFFFF; }

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

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

/* ---------- 4. 排版与版面工具 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }

.section--tide {
  background: var(--tide);
  color: var(--ink);
  border-block: 1px solid rgba(7, 16, 25, 0.08);
}
.section--tide .section-lead,
.section--tide .muted { color: #34505F; }
.section--tide .eyebrow { color: #0B6E63; }
.section--tide strong { color: var(--ink); }
.section--tide a { color: #0B6E63; text-decoration: underline; text-underline-offset: 3px; }

.section-head {
  display: grid;
  gap: 14px;
  max-width: 62ch;
  margin-block-end: clamp(28px, 4vw, 48px);
}

.display {
  display: block;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  transform: skewX(-2.5deg);
  transform-origin: left bottom;
  color: #FFFFFF;
}

.section-title {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.15;
  color: #FFFFFF;
}
.section--tide .section-title { color: var(--ink); }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--signal);
}

.editorial {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--mint);
}

.section-lead {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 36em;
}

.muted { color: var(--text-dim); }

.prose {
  max-width: 38em;
  color: var(--text-dim);
}
.prose p { margin-block-end: 1.1em; max-width: 36em; }
.prose p:last-child { margin-block-end: 0; }
.prose h3 {
  margin-block: 1.8em 0.6em;
  font-size: clamp(19px, 2vw, 22px);
  color: #FFFFFF;
}
.prose ul, .prose ol { padding-inline-start: 1.2em; margin-block-end: 1.1em; }
.prose li { margin-block-end: 0.45em; }
.prose a {
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.divider {
  height: 1px;
  border: 0;
  background: var(--line-soft);
  margin-block: clamp(28px, 4vw, 48px);
}

/* ---------- 5. 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(20px, 2.6vw, 28px);
}

.grid--12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 28px);
}

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.18s var(--ease),
              box-shadow 0.2s var(--ease);
}

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

.btn-primary {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(255, 106, 69, 0.22);
}
.btn-primary:hover {
  background: #FF8564;
  border-color: #FF8564;
  box-shadow: 0 10px 30px rgba(255, 106, 69, 0.32);
}

.btn-signal {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--ink);
}
.btn-signal:hover { background: #6DF7DE; border-color: #6DF7DE; }

.btn-ghost {
  background: rgba(59, 242, 210, 0.06);
  border-color: rgba(59, 242, 210, 0.38);
  color: var(--mint);
}
.btn-ghost:hover {
  background: rgba(59, 242, 210, 0.14);
  border-color: var(--signal);
  color: var(--signal);
}

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

/* ---------- 7. 内容组件 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.2vw, 26px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(12, 47, 74, 0.96), rgba(6, 30, 51, 0.96));
  color: var(--text);
}

.panel-cut {
  position: relative;
  padding: calc(var(--cut-h) + 20px) clamp(18px, 2.4vw, 30px) clamp(20px, 2.4vw, 30px);
  background: linear-gradient(160deg, var(--lane), #061E33 80%);
  border: 1px solid var(--line);
  border-radius: 4px;
  clip-path: polygon(0 var(--cut-h), 100% 0, 100% 100%, 0 100%);
  color: var(--text);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(59, 242, 210, 0.28);
  background: rgba(59, 242, 210, 0.12);
  color: var(--mint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.6;
}
.tag--coral {
  border-color: rgba(255, 106, 69, 0.4);
  background: rgba(255, 106, 69, 0.14);
  color: #FFB39F;
}
.tag--amber {
  border-color: rgba(255, 192, 77, 0.4);
  background: rgba(255, 192, 77, 0.14);
  color: var(--amber);
}

.stat {
  display: grid;
  gap: 4px;
}
.stat-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums slashed-zero;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--signal);
  letter-spacing: -0.01em;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}

.meter {
  height: 8px;
  border-radius: 999px;
  background: rgba(168, 248, 234, 0.14);
  overflow: hidden;
}
.meter-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--amber));
}

/* ---------- 8. 图片容器基础规则 ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(115deg, rgba(59, 242, 210, 0.06) 0 2px, transparent 2px 22px),
    linear-gradient(150deg, var(--lane) 0%, var(--trench) 55%, #0A2438 100%);
  aspect-ratio: 16 / 9;
}

.media > img,
.media > picture,
.media > svg,
.media > video {
  display: block;
  width: 100%;
  height: 100%;
}

.media > img,
.media > video,
.media > picture > img {
  object-fit: cover;
}

.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 21 / 9; }

.media-caption {
  margin-block-start: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 9. 面包屑 ---------- */
.breadcrumbs {
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: rgba(185, 203, 213, 0.5);
}
.breadcrumb-link {
  color: var(--mint);
  text-decoration: none;
  border-block-end: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.breadcrumb-link:hover {
  color: var(--signal);
  border-block-end-color: rgba(59, 242, 210, 0.5);
}
.breadcrumb-current { color: var(--text); }

/* ---------- 10. 标签页 ---------- */
.tabset { display: grid; gap: clamp(18px, 2.4vw, 28px); }

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(12, 47, 74, 0.72);
  width: fit-content;
  max-width: 100%;
}

.tab {
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--mint);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.tab:hover { background: rgba(59, 242, 210, 0.12); color: var(--signal); }
.tab[aria-selected="true"] {
  background: var(--signal);
  color: var(--ink);
}

.tabpanel { outline: none; }
.tabpanel:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }

/* ---------- 11. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: calc(var(--rail) + 8px);
  z-index: 200;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--signal);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 12. 头部：侧边泳道轨道 ---------- */
.site-header {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  z-index: 60;
  width: var(--rail);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 10px 14px;
  background: linear-gradient(180deg, #061E33 0%, #05192A 46%, #04141F 100%);
  border-inline-end: 1px solid var(--line);
}

.site-header::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--signal), var(--coral));
  opacity: 0.9;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding-block: 4px 2px;
  text-align: center;
  color: var(--tide);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(59, 242, 210, 0.35);
  background: rgba(59, 242, 210, 0.10);
  color: var(--signal);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.brand-mark svg { width: 22px; height: 22px; }

.brand-name {
  writing-mode: vertical-rl;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.16em;
  color: #FFFFFF;
}

.brand-tag {
  writing-mode: vertical-rl;
  font-size: 10px;
  line-height: 1.1;
  letter-spacing: 0.2em;
  color: rgba(168, 248, 234, 0.7);
}

.brand:hover .brand-mark {
  background: rgba(59, 242, 210, 0.2);
  border-color: var(--signal);
}

.site-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-block: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 242, 210, 0.35) transparent;
}

.nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 0;
  list-style: none;
}

.nav-item {
  display: flex;
  justify-content: center;
  width: 100%;
}

.nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 9px 4px;
  border-radius: 12px;
  color: rgba(231, 243, 246, 0.72);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-link:hover {
  color: var(--signal);
  background: rgba(59, 242, 210, 0.08);
}
.nav-link[aria-current="page"] {
  color: var(--signal);
  font-weight: 700;
  background: rgba(59, 242, 210, 0.12);
}
.nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  inset-inline-start: -10px;
  inset-block: 8px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--signal);
}

.nav-icon { width: 20px; height: 20px; }
.nav-icon svg { width: 100%; height: 100%; }

.nav-label {
  writing-mode: vertical-rl;
  font-size: 11px;
  line-height: 1.05;
  letter-spacing: 0.14em;
}

.nav-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-block-start: auto;
}
.nav-actions .btn {
  width: 100%;
  padding: 9px 2px;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.rail-wave {
  width: 100%;
  height: 34px;
  overflow: hidden;
  color: var(--signal);
  opacity: 0.45;
}
.rail-wave svg {
  width: 100%;
  height: 100%;
}
.rail-wave svg path { animation: railDrift 6s linear infinite; }

@keyframes railDrift {
  from { transform: translateX(0); }
  to { transform: translateX(-20px); }
}

.nav-toggle,
.nav-close,
.nav-drawer-head,
.nav-scrim { display: none; }

.rail-progress {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 2px;
  z-index: 3;
  pointer-events: none;
  background: rgba(59, 242, 210, 0.14);
}
.rail-progress-fill {
  display: block;
  position: absolute;
  inset: 0;
  transform: scaleY(var(--p, 0));
  transform-origin: top center;
  background: linear-gradient(180deg, var(--signal), var(--coral));
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-block-start: clamp(60px, 9vw, 120px);
  padding-block: clamp(48px, 6vw, 88px) clamp(24px, 3vw, 36px);
  color: var(--text);
  border-block-start: 1px solid rgba(59, 242, 210, 0.2);
  background:
    radial-gradient(900px 380px at 85% 115%, rgba(59, 242, 210, 0.12), transparent 65%),
    radial-gradient(600px 300px at 0% 120%, rgba(255, 106, 69, 0.08), transparent 65%),
    linear-gradient(180deg, #061E33 0%, #04141F 72%);
}

.footer-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.45fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 60px);
}

.footer-lockup {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  transform: skewX(-2.5deg);
  transform-origin: left bottom;
}

.footer-tagline {
  margin-block-start: 8px;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--signal);
}

.footer-blurb {
  margin-block-start: 14px;
  max-width: 30em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.footer-note {
  margin-block-start: 14px;
  padding-inline-start: 12px;
  border-inline-start: 2px solid rgba(255, 106, 69, 0.7);
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(185, 203, 213, 0.9);
}

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

.footer-col-title {
  margin-block-end: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--mint);
}

.footer-list {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link {
  display: inline-block;
  font-size: 14px;
  line-height: 1.7;
  color: #DCEBEF;
  border-block-end: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-link:hover {
  color: var(--signal);
  border-block-end-color: rgba(59, 242, 210, 0.5);
}

.footer-contact-list {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-item { display: grid; gap: 2px; }

.footer-contact-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(168, 248, 234, 0.72);
}

.footer-contact-value {
  font-size: 14px;
  line-height: 1.6;
  color: #E7F3F6;
  word-break: break-word;
}
.footer-contact-value--mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums slashed-zero;
  letter-spacing: 0.01em;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-block-start: clamp(32px, 4vw, 56px);
  padding-block-start: 20px;
  border-block-start: 1px solid var(--line-soft);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mist);
}

.footer-meta { color: rgba(185, 203, 213, 0.85); }

.footer-region {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.14em;
  color: rgba(168, 248, 234, 0.85);
}

.footer-mark {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--signal);
  opacity: 0.85;
}
.footer-mark svg { width: 100%; height: 100%; }

/* ---------- 14. 显现动效 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 15. 平板与手机 ---------- */
@media (min-width: 900px) {
  body { padding-inline-start: var(--rail); }
}

@media (max-width: 900px) {
  .grid--12 { grid-template-columns: minmax(0, 1fr); }
  .grid--12 > * { grid-column: 1 / -1; }

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

@media (max-width: 899px) {
  body { padding-inline-start: 0; }

  .skip-link { inset-inline-start: 12px; }

  .site-header {
    position: sticky;
    inset-block-start: 0;
    inset-block-end: auto;
    inset-inline-start: auto;
    width: 100%;
    min-height: 62px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 16px;
    border-inline-end: 0;
    border-block-end: 1px solid var(--line);
    background: #05192A;
  }
  .site-header::before { height: 2px; }

  .brand {
    flex-direction: row;
    align-items: center;
    gap: 9px;
    padding: 0;
    text-align: start;
  }
  .brand-mark { width: 32px; height: 32px; border-radius: 10px; }
  .brand-mark svg { width: 18px; height: 18px; }
  .brand-name {
    writing-mode: horizontal-tb;
    font-size: 15px;
    letter-spacing: 0.06em;
  }
  .brand-tag { display: none; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid rgba(59, 242, 210, 0.35);
    background: rgba(59, 242, 210, 0.08);
    color: var(--signal);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
  }
  .nav-toggle-bars {
    display: grid;
    gap: 3px;
    width: 16px;
  }
  .nav-toggle-bars span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
  }
  .site-header[data-open] .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .site-header[data-open] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
  .site-header[data-open] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(4, 18, 31, 0.74);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.26s var(--ease);
  }
  .site-header[data-open] .nav-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav {
    position: fixed;
    inset-block: 0;
    inset-inline-start: auto;
    inset-inline-end: 0;
    z-index: 80;
    width: min(86vw, 340px);
    height: 100dvh;
    flex: none;
    align-items: stretch;
    gap: 14px;
    padding: 18px 18px 26px;
    overflow-y: auto;
    background: linear-gradient(180deg, #07233C 0%, #05192A 62%, #04141F 100%);
    border-inline-start: 1px solid rgba(59, 242, 210, 0.24);
    box-shadow: -24px 0 64px rgba(0, 0, 0, 0.5);
    transform: translateX(103%);
    transition: transform 0.26s var(--ease);
  }
  .site-header[data-open] .site-nav { transform: translateX(0); }

  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block-end: 12px;
    border-block-end: 1px solid var(--line);
  }
  .nav-drawer-title {
    font-size: 12px;
    letter-spacing: 0.3em;
    color: rgba(168, 248, 234, 0.8);
  }
  .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(59, 242, 210, 0.32);
    color: var(--signal);
    font-size: 15px;
    line-height: 1;
  }
  .nav-close:hover { background: rgba(59, 242, 210, 0.12); }

  .nav-list { align-items: stretch; gap: 4px; }
  .nav-item { width: 100%; }
  .nav-link {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    color: rgba(231, 243, 246, 0.86);
  }
  .nav-link[aria-current="page"]::before {
    inset-inline-start: 0;
    inset-block: 8px;
    border-radius: 0 4px 4px 0;
  }
  .nav-icon { width: 18px; height: 18px; }
  .nav-label {
    writing-mode: horizontal-tb;
    font-size: 15px;
    letter-spacing: 0.08em;
  }

  .nav-actions {
    order: -1;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    margin-block-start: 0;
  }
  .nav-actions .btn {
    flex: 1 1 0;
    width: auto;
    padding: 11px 8px;
    font-size: 13px;
  }

  .rail-wave { display: none; }

  .rail-progress {
    inset: auto 0 0 0;
    width: auto;
    height: 2px;
    background: rgba(59, 242, 210, 0.16);
  }
  .rail-progress-fill {
    transform: scaleX(var(--p, 0));
    transform-origin: left center;
    background: linear-gradient(90deg, var(--signal), var(--coral));
  }

  body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  .display { transform: skewX(-2deg); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { justify-content: flex-start; }
  .tablist { border-radius: 16px; width: 100%; }
}

/* ---------- 16. 降低动态偏好 ---------- */
@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;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .rail-wave svg path { animation: none; }

  .skip-link { transition: none; }
}
