/* ==========================================================================
   完美体育主站 — 共享样式 /assets/site.css
   ========================================================================== */

:root {
  --ink: #0B1F3A;
  --ink-deep: #071426;
  --ink-mid: #12294A;
  --ink-line: #1E3A63;

  --orange: #FF6B35;
  --orange-soft: #FF9A6B;
  --lime: #C6FF00;
  --gold: #FFD700;

  --paper: #F4F6FA;
  --mist: #8FA3BF;

  --radius: 8px;
  --radius-pill: 999px;
  --line: 1px solid var(--ink-line);

  --shadow-float: 0 16px 36px -18px rgba(2, 8, 18, 0.92), 0 0 0 1px rgba(30, 58, 99, 0.55);
  --shadow-card: 0 18px 32px -22px rgba(2, 8, 18, 0.95);
  --shadow-hard: 6px 6px 0 -1px rgba(30, 58, 99, 0.65);

  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Impact", "Haettenschweiler", "PingFang SC", "Microsoft YaHei",
    "Noto Sans SC", system-ui, sans-serif;
  --font-num: ui-monospace, "SFMono-Regular", "Roboto Mono", "Consolas", "Menlo", monospace;

  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  background-color: var(--ink);
}

html.nav-locked { overflow: hidden; }

body {
  margin: 0;
  min-height: 100%;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  background-color: var(--ink);
  background-image:
    radial-gradient(1080px 620px at 88% -12%, rgba(255, 107, 53, 0.16), transparent 62%),
    radial-gradient(820px 560px at -10% 34%, rgba(198, 255, 0, 0.055), transparent 70%),
    radial-gradient(900px 700px at 50% 118%, rgba(18, 41, 74, 0.9), transparent 70%),
    repeating-linear-gradient(118deg, rgba(30, 58, 99, 0.24) 0 1px, transparent 1px 112px);
}

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

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 800; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
button { font: inherit; }
address { font-style: normal; }

::selection { background: var(--orange); color: #0B1F3A; }

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

#main-content { display: block; scroll-margin-top: 112px; }

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

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

.section {
  position: relative;
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(20px, 2.4vw, 30px);
  border-top: var(--line);
}

.section-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: clamp(22px, 3vw, 38px);
}

.section-num {
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--orange);
  white-space: nowrap;
}

.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.01em; }

.annot {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--mist);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- 排版 ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--paper);
  transform: skewX(-4deg);
  transform-origin: left bottom;
}

.display--orange { color: var(--orange); }

.num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.lede {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.8;
  color: #C8D5E6;
  max-width: 40ch;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink-line);
  background: rgba(18, 41, 74, 0.75);
  color: var(--mist);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-decoration: none;
}

.tag--orange { color: var(--orange-soft); border-color: rgba(255, 107, 53, 0.55); background: rgba(255, 107, 53, 0.12); }
.tag--lime { color: var(--lime); border-color: rgba(198, 255, 0, 0.4); background: rgba(198, 255, 0, 0.08); }
.tag--gold { color: var(--gold); border-color: rgba(255, 215, 0, 0.4); background: rgba(255, 215, 0, 0.08); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.btn--solid {
  background: var(--orange);
  color: #0B1F3A;
  box-shadow: 0 5px 0 -1px #A93A11;
}
.btn--solid:hover,
.btn--solid:focus-visible { background: var(--orange-soft); color: #071426; }

.btn--ghost {
  background: rgba(18, 41, 74, 0.7);
  border-color: var(--ink-line);
  color: var(--paper);
}
.btn--ghost:hover,
.btn--ghost:focus-visible { border-color: var(--orange); color: var(--orange-soft); }

.btn--sm { padding: 8px 15px; font-size: 13px; }
.btn--block { display: flex; width: 100%; }

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

/* ---------- 跳过链接 ---------- */
.skip-link {
  position: absolute;
  top: -140px;
  left: var(--gutter);
  z-index: 300;
  padding: 10px 20px;
  border-radius: var(--radius);
  background: var(--lime);
  color: #071426;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 14px; }

/* ---------- 滚动进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  z-index: 120;
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--orange), var(--lime));
  pointer-events: none;
}

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 12px var(--gutter) 0;
  transition: padding 0.28s var(--ease);
}

.header-island {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 9px 12px 9px 16px;
  border: 1px solid rgba(30, 58, 99, 0.95);
  border-radius: var(--radius-pill);
  background: rgba(7, 20, 38, 0.9);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: padding 0.28s var(--ease), background-color 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.site-header[data-shrink] { padding-top: 6px; }
.site-header[data-shrink] .header-island {
  padding-top: 5px;
  padding-bottom: 5px;
  background: rgba(7, 20, 38, 0.97);
  border-color: var(--ink-line);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--paper);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--orange), #C7420F);
  color: #FFF6F1;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  transform: skewX(-8deg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.brand-mark--sm { width: 30px; height: 30px; font-size: 15px; }

.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-name { font-size: 16px; font-weight: 900; letter-spacing: 0.09em; line-height: 1.1; }
.brand-sub { font-size: 10px; letter-spacing: 0.22em; color: var(--mist); line-height: 1.2; }

/* 主导航 */
.primary-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

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

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--mist);
  font-size: 14px;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.nav-link:hover {
  color: var(--paper);
  background: rgba(30, 58, 99, 0.68);
}

.nav-link[aria-current="page"] {
  color: var(--paper);
  background: rgba(255, 107, 53, 0.14);
  border-color: rgba(255, 107, 53, 0.58);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--orange);
}

.nav-aside { display: none; }

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

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-pill);
  background: rgba(18, 41, 74, 0.8);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

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

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 15px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: background-color 0.2s var(--ease);
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 15px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.24s var(--ease), top 0.24s var(--ease);
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.site-header[data-open] .nav-toggle-bars { background: transparent; }
.site-header[data-open] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.site-header[data-open] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  padding-top: clamp(44px, 6vw, 76px);
  background: var(--ink-deep);
  border-top: 1px solid var(--ink-line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0 26%, var(--lime) 26% 34%, transparent 34% 100%);
}

.footer-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.35fr 1fr;
  gap: clamp(24px, 3.4vw, 48px);
  padding-bottom: clamp(32px, 4vw, 52px);
}

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

.footer-col--brand {
  padding-right: clamp(0px, 2vw, 24px);
  border-right: 1px solid rgba(30, 58, 99, 0.7);
}

.footer-brandline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

.footer-brandline .brand-name { font-size: 17px; letter-spacing: 0.1em; }

.footer-copy {
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
  max-width: 30ch;
  margin: 0 0 16px;
}

.footer-icp {
  display: inline-block;
  padding: 4px 11px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  color: var(--mist);
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.06em;
  margin: 0;
}

.footer-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 16px;
}

.footer-list { list-style: none; }
.footer-list li + li { margin-top: 2px; }

.footer-link {
  display: inline-block;
  padding: 4px 0;
  color: var(--mist);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}
.footer-link:hover,
.footer-link:focus-visible { color: var(--paper); transform: translateX(3px); }

.footer-contacts { display: grid; gap: 14px; }

.footer-contact-row { margin: 0; font-size: 14px; line-height: 1.6; }

.footer-k {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 3px;
}

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

.footer-note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(30, 58, 99, 0.85);
  color: var(--mist);
  font-size: 12px;
  line-height: 1.7;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(30, 58, 99, 0.7);
}

.footer-copy-sm {
  margin: 0;
  color: var(--mist);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.7;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(198, 255, 0, 0.16);
  vertical-align: middle;
  animation: dot-pulse 2.4s var(--ease) infinite;
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(198, 255, 0, 0.16); }
  50% { box-shadow: 0 0 0 6px rgba(198, 255, 0, 0.06); }
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.breadcrumb a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.breadcrumb a:hover,
.breadcrumb a:focus-visible { color: var(--orange-soft); border-bottom-color: currentColor; }

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

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

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

.grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--sidebar { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.2vw, 26px);
  border: var(--line);
  border-radius: var(--radius);
  background: var(--ink-mid);
  box-shadow: var(--shadow-card);
  color: var(--paper);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.card:hover,
.card:focus-within {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(255, 107, 53, 0.28);
}

.card h3 { font-size: 1.125rem; line-height: 1.35; }
.card p { margin: 0; color: var(--mist); font-size: 14px; line-height: 1.75; }

.card--stack { box-shadow: var(--shadow-hard), var(--shadow-card); }

.card--stack::after {
  content: "";
  position: absolute;
  inset: 6px -6px -6px 6px;
  z-index: -1;
  border: var(--line);
  border-radius: var(--radius);
  background: rgba(18, 41, 74, 0.55);
  pointer-events: none;
}

/* ---------- 图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: var(--line);
  border-radius: var(--radius);
  background-color: var(--ink-mid);
  background-image:
    linear-gradient(135deg, rgba(30, 58, 99, 0.92), rgba(7, 20, 38, 0.96)),
    repeating-linear-gradient(135deg, rgba(198, 255, 0, 0.08) 0 2px, transparent 2px 20px);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(120% 90% at 82% 8%, rgba(255, 107, 53, 0.24), transparent 62%);
  pointer-events: none;
}

.media-frame::after {
  content: attr(data-caption);
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
  pointer-events: none;
}

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

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

/* ---------- 筛选胶囊 ---------- */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  appearance: none;
  -webkit-appearance: none;
  padding: 7px 16px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-pill);
  background: rgba(18, 41, 74, 0.75);
  color: var(--mist);
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease);
}

.pill:hover { color: var(--paper); border-color: var(--mist); }

.pill[aria-pressed="true"],
.pill.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: #0B1F3A;
  font-weight: 700;
}

/* ---------- 时间轴 ---------- */
.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 30px;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--orange), var(--ink-line) 72%);
}

.timeline-item {
  position: relative;
  padding-bottom: 26px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(11, 31, 58, 1), 0 0 0 5px rgba(255, 107, 53, 0.45);
}

.timeline-item[data-lit="true"]::before { background: var(--lime); box-shadow: 0 0 0 4px rgba(11, 31, 58, 1), 0 0 0 5px rgba(198, 255, 0, 0.5); }

.timeline-item h3 { font-size: 1rem; margin-bottom: 6px; }
.timeline-item p { margin: 0; color: var(--mist); font-size: 14px; }

/* ---------- 技能树式路径 ---------- */
.step-path {
  position: relative;
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-path > li {
  position: relative;
  padding-left: 48px;
  padding-bottom: 26px;
}

.step-path > li:last-child { padding-bottom: 0; }

.step-path > li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
  color: #0B1F3A;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.step-path > li::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 38px;
  bottom: -2px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 107, 53, 0.7), rgba(30, 58, 99, 0.9));
}

.step-path > li:last-child::after { display: none; }

.step-path h3 { font-size: 1rem; margin-bottom: 6px; }
.step-path p { margin: 0; color: var(--mist); font-size: 14px; }

/* ---------- 滚动显现 ---------- */
html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* ---------- 平板 ---------- */
@media (max-width: 1080px) {
  .nav-link { padding: 9px 10px; font-size: 13px; }
  .brand-sub { display: none; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .footer-col--brand { border-right: 0; grid-column: 1 / -1; padding-bottom: 8px; }
  .footer-copy { max-width: 46ch; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 96px; }
  #main-content { scroll-margin-top: 96px; }

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

  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: block;
    padding: 96px 20px 40px;
    border-bottom: var(--line);
    background: rgba(7, 20, 38, 0.985);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
      visibility 0s linear 0.28s;
  }

  .site-header[data-open] .primary-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

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

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    border: var(--line);
    border-radius: var(--radius);
    background: rgba(18, 41, 74, 0.62);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--paper);
  }

  .nav-link::after {
    content: "›";
    font-family: var(--font-num);
    color: var(--ink-line);
    font-size: 18px;
  }

  .nav-link[aria-current="page"] {
    border-color: rgba(255, 107, 53, 0.7);
    background: rgba(255, 107, 53, 0.16);
  }

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

  .nav-aside {
    display: grid;
    gap: 10px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: var(--line);
  }

  .header-service { display: none; }

  .grid--two,
  .grid--three,
  .grid--sidebar { grid-template-columns: minmax(0, 1fr); }

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

/* ---------- 手机 ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }

  .site-header { padding-top: 8px; }

  .header-island { gap: 8px; padding: 7px 8px 7px 12px; }

  .brand-mark { width: 32px; height: 32px; font-size: 15px; }
  .brand-name { font-size: 15px; letter-spacing: 0.06em; }
  .brand-sub { display: none; }

  .header-cta { display: none; }

  .nav-toggle-label { display: none; }
  .nav-toggle { padding: 9px 12px; }

  .display { font-size: clamp(2.2rem, 12vw, 3.4rem); transform: skewX(-3deg); }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-base { flex-direction: column; align-items: flex-start; }

  .timeline { padding-left: 26px; }
  .timeline-item::before { left: -27px; width: 12px; height: 12px; }

  .step-path > li { padding-left: 42px; }
  .step-path > li::before { width: 27px; height: 27px; font-size: 11px; }
  .step-path > li::after { left: 12px; top: 34px; }
}

/* ---------- 动效降级 ---------- */
@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;
    transition-delay: 0s !important;
  }

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

  .card:hover,
  .card:focus-within { transform: none; }
  .footer-link:hover { transform: none; }
  .status-dot { animation: none; }
}
