/* ==========================================================================
   K体育官网 — 共享样式表 /assets/site.css
   1 Reset · 2 变量 · 3 基础排版 · 4 布局 · 5 通用组件 · 6 头部 · 7 页脚
   8 工具类 · 9 响应式 · 10 动效偏好
   ========================================================================== */

/* 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, ol { padding: 0; list-style: none; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a { color: inherit; }

/* 2. 变量 ---------------------------------------------------------------- */
:root {
  --ink-900: #07111F;
  --ink-800: #0B1A2E;
  --ink-700: #10263F;

  --mint: #37F5C1;
  --mint-soft: #9BFFE3;
  --amber: #FFB23E;
  --signal: #FF5A5F;

  --text: #F4F8FF;
  --muted: #A9B8CC;
  --dim: rgba(169, 184, 204, 0.62);

  --line: #2C4A66;
  --line-soft: rgba(44, 74, 102, 0.6);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.14);

  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;

  --radius-xl: 28px;
  --radius-l: 20px;
  --radius-m: 14px;
  --radius-s: 9px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

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

/* 3. 基础排版 ------------------------------------------------------------ */
body {
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 26px);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1200px 640px at 84% -10%, rgba(55, 245, 193, 0.11), transparent 62%),
    radial-gradient(820px 520px at 4% 2%, rgba(255, 178, 62, 0.08), transparent 64%),
    linear-gradient(180deg, #07111F 0%, #071523 48%, #07111F 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(15.5px, 0.35vw + 15px, 17px);
  line-height: 1.78;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--text);
}

h1 { font-size: clamp(2.3rem, 5.2vw, 4.3rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 2.9vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.5vw, 1.42rem); }
h4 { font-size: clamp(1rem, 1.1vw, 1.12rem); }

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

::selection {
  background: rgba(55, 245, 193, 0.28);
  color: #ffffff;
}

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

/* 4. 布局 ---------------------------------------------------------------- */
.container {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

/* 5. 通用组件 ------------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 64ch;
  margin-bottom: clamp(26px, 3.5vw, 44px);
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.section-lead {
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.82;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease), color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(180deg, var(--mint-soft), var(--mint));
  color: #04121c;
  box-shadow: 0 18px 40px -22px rgba(55, 245, 193, 0.9);
}

.btn--primary:hover {
  box-shadow: 0 22px 46px -20px rgba(55, 245, 193, 0.95);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(55, 245, 193, 0.32);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(55, 245, 193, 0.12);
  border-color: var(--mint);
}

.btn--quiet {
  border-color: var(--line);
  color: var(--mint-soft);
  background: transparent;
}

.btn--quiet:hover {
  border-color: var(--mint);
  background: rgba(55, 245, 193, 0.08);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tag--mint {
  background: var(--mint);
  border-color: transparent;
  color: #04121c;
  font-weight: 700;
}

.tag--amber {
  background: rgba(255, 178, 62, 0.1);
  border-color: rgba(255, 178, 62, 0.45);
  color: var(--amber);
}

.tag--red {
  background: rgba(255, 90, 95, 0.1);
  border-color: rgba(255, 90, 95, 0.45);
  color: var(--signal);
}

.panel {
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(11, 26, 46, 0.92), rgba(8, 20, 36, 0.9));
}

.panel--glass {
  background: var(--glass);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}

.card {
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, rgba(16, 38, 63, 0.9), rgba(11, 26, 46, 0.94));
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.card:hover {
  border-color: rgba(55, 245, 193, 0.34);
  transform: translateY(-3px);
}

.data-figure {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--mint-soft);
  font-variant-numeric: tabular-nums;
}

.data-figure--amber { color: var(--amber); }
.data-figure--red { color: var(--signal); }

.divider {
  height: 1px;
  border: 0;
  margin-block: clamp(28px, 4vw, 48px);
  background: linear-gradient(90deg, var(--line), transparent 78%);
}

.breadcrumb { margin-bottom: 22px; }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.breadcrumb-list li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

.breadcrumb-list a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.breadcrumb-list a:hover { color: var(--mint-soft); }

.breadcrumb-list [aria-current="page"] { color: var(--mint-soft); }

/* 图片 / SVG 占位容器 */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  background: linear-gradient(140deg, rgba(16, 38, 63, 0.94), rgba(7, 17, 31, 0.98));
}

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

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

.media-frame--board {
  background-image:
    linear-gradient(rgba(55, 245, 193, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 245, 193, 0.08) 1px, transparent 1px),
    linear-gradient(140deg, rgba(16, 38, 63, 0.95), rgba(7, 17, 31, 0.98));
  background-size: 44px 44px, 44px 44px, 100% 100%;
}

/* 6. 头部 ---------------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 200;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--mint);
  color: #04121c;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 30px -10px rgba(55, 245, 193, 0.75);
  transform: translate(-50%, -180%);
  transition: transform 0.22s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline-offset: 2px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: clamp(10px, 1.4vw, 18px) var(--gutter) 10px;
  transition: padding 0.28s var(--ease);
}

.site-header[data-scrolled="true"] { padding-top: 8px; }

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 18px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 8px clamp(10px, 1.2vw, 16px) 8px 10px;
  border: 1px solid rgba(55, 245, 193, 0.16);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(13, 30, 52, 0.92), rgba(7, 17, 31, 0.84));
  box-shadow: 0 26px 60px -36px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: padding 0.28s var(--ease), border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}

.header-shell::after {
  content: "";
  position: absolute;
  left: clamp(20px, 3vw, 44px);
  right: clamp(20px, 3vw, 44px);
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--mint), var(--amber));
  box-shadow: 0 0 14px rgba(55, 245, 193, 0.5);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: 0 50%;
  opacity: 0.85;
  pointer-events: none;
  transition: transform 0.12s linear;
}

.site-header[data-scrolled="true"] .header-shell {
  padding-top: 5px;
  padding-bottom: 5px;
  border-color: rgba(55, 245, 193, 0.3);
  box-shadow: 0 18px 44px -30px rgba(0, 0, 0, 1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-island {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 3px 12px 3px 3px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s var(--ease);
}

.brand:hover { background: rgba(255, 255, 255, 0.06); }

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(155deg, #BFFFE9 0%, var(--mint) 48%, #16C69B 100%);
  color: #04121c;
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(155, 255, 227, 0.45),
    0 12px 26px -14px rgba(55, 245, 193, 0.95);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-4deg) scale(1.03);
  box-shadow: 0 0 0 1px rgba(155, 255, 227, 0.65),
    0 16px 30px -14px rgba(55, 245, 193, 1);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.brand-name {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text);
  white-space: nowrap;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.nav-capsule {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.nav-link::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link:hover::before {
  opacity: 0.6;
  transform: scale(1);
}

.nav-link[aria-current="page"] {
  color: var(--mint-soft);
  background: rgba(55, 245, 193, 0.12);
  box-shadow: inset 0 0 0 1px rgba(55, 245, 193, 0.35);
}

.nav-link[aria-current="page"]::before {
  opacity: 1;
  transform: scale(1);
}

.nav-foot { display: none; }

.header-utility {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.utility-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(55, 245, 193, 0.3);
  border-radius: 999px;
  background: rgba(55, 245, 193, 0.08);
  color: var(--mint-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.utility-chip:hover {
  background: rgba(55, 245, 193, 0.16);
  border-color: rgba(55, 245, 193, 0.55);
  color: #ffffff;
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 178, 62, 0.18);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(55, 245, 193, 0.3);
  border-radius: 999px;
  background: rgba(55, 245, 193, 0.08);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-toggle:hover {
  background: rgba(55, 245, 193, 0.16);
  border-color: rgba(55, 245, 193, 0.55);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--mint-soft);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

/* 7. 页脚 ---------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  padding: clamp(44px, 6vw, 72px) 0 28px;
  border-top: 1px solid var(--line-soft);
  background-color: #060E19;
  background-image:
    radial-gradient(760px 320px at 12% 0%, rgba(55, 245, 193, 0.09), transparent 68%),
    repeating-linear-gradient(90deg, rgba(44, 74, 102, 0.18) 0 1px, transparent 1px 88px),
    linear-gradient(180deg, rgba(11, 26, 46, 0.9), rgba(6, 14, 25, 0.99));
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mint), var(--amber), transparent);
  opacity: 0.55;
}

.footer-inner {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns:
    minmax(0, 1.55fr)
    repeat(3, minmax(0, 0.72fr))
    minmax(0, 1.25fr);
  gap: clamp(20px, 3vw, 44px);
}

.footer-brand-col {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  padding: 3px 14px 3px 3px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s var(--ease);
}

.footer-brand:hover { background: rgba(255, 255, 255, 0.06); }

.footer-line {
  color: var(--mint-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  line-height: 1.7;
}

.footer-note {
  max-width: 34ch;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.75;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  color: var(--mint-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-title::before {
  content: "";
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  opacity: 0.85;
}

.footer-list {
  display: grid;
  gap: 9px;
}

.footer-link {
  display: inline-block;
  color: var(--muted);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.footer-link:hover {
  color: var(--mint-soft);
  padding-left: 5px;
}

.footer-col--contact { gap: 8px; }

.footer-contact-line {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.footer-key {
  flex: 0 0 auto;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding-top: 2px;
}

.footer-value {
  color: var(--text);
  word-break: break-word;
}

.copy-btn {
  width: fit-content;
  margin: 2px 0 8px;
  padding: 7px 14px;
  border: 1px solid rgba(55, 245, 193, 0.32);
  border-radius: 999px;
  background: rgba(55, 245, 193, 0.08);
  color: var(--mint-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.copy-btn:hover {
  background: rgba(55, 245, 193, 0.18);
  border-color: rgba(55, 245, 193, 0.6);
  color: #ffffff;
}

.copy-btn[data-copy-state="done"] {
  background: var(--mint);
  border-color: transparent;
  color: #04121c;
}

.copy-btn[data-copy-state="manual"] {
  background: rgba(255, 178, 62, 0.14);
  border-color: rgba(255, 178, 62, 0.55);
  color: var(--amber);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.footer-legal { color: var(--mint-soft); }

.footer-copy {
  margin-left: auto;
  text-align: right;
}

/* 8. 工具类 -------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  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;
}

.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--mint-soft), var(--mint));
  color: #04121c;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  box-shadow: 0 18px 40px -18px rgba(55, 245, 193, 0.85);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    visibility 0.25s var(--ease);
}

.to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 9. 响应式 -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 940px) {
  :root { --header-h: 76px; }

  body { padding-top: calc(var(--header-h) + 18px); }

  .nav-toggle { display: flex; }

  .nav-capsule {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    left: var(--gutter);
    right: var(--gutter);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    max-height: calc(100vh - var(--header-h) - 32px);
    padding: 14px;
    overflow-y: auto;
    border: 1px solid rgba(55, 245, 193, 0.22);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(13, 30, 52, 0.98), rgba(7, 17, 31, 0.97));
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease),
      visibility 0.24s var(--ease);
  }

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

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

  .nav-link {
    justify-content: space-between;
    padding: 13px 16px;
    border-radius: 14px;
    font-size: 16px;
  }

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

  .nav-link::after {
    content: "→";
    font-family: var(--font-mono);
    font-size: 13px;
    opacity: 0.4;
  }

  .nav-link[aria-current="page"]::after {
    opacity: 1;
    color: var(--mint);
  }

  .nav-foot {
    display: block;
    margin-top: 12px;
    padding: 12px 16px 4px;
    border-top: 1px solid var(--line-soft);
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(6px) 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(-6px) rotate(-45deg);
  }

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

@media (max-width: 760px) {
  .header-utility .utility-chip { display: none; }
  .brand-tag { display: none; }
  .header-shell { gap: 10px; }
  body { background-attachment: scroll; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .footer-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-copy {
    margin-left: 0;
    text-align: left;
  }
  .to-top { padding: 9px 14px; font-size: 11px; }
  .brand-mark { width: 36px; height: 36px; font-size: 17px; }
  .brand-name { font-size: 14.5px; letter-spacing: 0.06em; }
}

/* 10. 动效偏好 ----------------------------------------------------------- */
@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;
  }
}
