/* ============================================================
   熊猫体育主站 · /assets/site.css
   共享层：reset / 变量 / 中文排版 / 顶栏 / 页脚 / 基础组件
   ============================================================ */

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

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

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

svg { display: block; }

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

a { color: inherit; }

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 色彩 */
  --paper: #F7F5F0;
  --paper-2: #E6E3D9;
  --ink: #0F1512;
  --ink-2: #17211C;
  --bamboo: #2F6B4F;
  --bamboo-soft: #4E8F6E;
  --bamboo-mist: #A9C3B4;
  --cool: #3FA7A0;
  --amber: #F2A93B;
  --moss: #8F9A8E;
  --white: #FFFFFF;

  /* 字体 */
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* 字号阶梯 */
  --step--1: clamp(11px, 0.72rem, 13px);
  --step-0: clamp(16px, 1rem, 17px);
  --step-1: clamp(18px, 1.18rem, 21px);
  --step-2: clamp(22px, 1.6rem, 30px);
  --step-3: clamp(27px, 2.3rem, 38px);
  --step-4: clamp(38px, 4.6vw, 68px);
  --step-5: clamp(52px, 8.4vw, 132px);

  /* 结构与节奏 */
  --frame-max: 1280px;
  --gutter: 24px;
  --header-h: 74px;
  --rail: 240px;
  --radius-card: 18px 4px 18px 4px;
  --radius-soft: 14px;

  --shadow-1: 0 1px 0 rgba(15, 21, 18, 0.05), 0 10px 26px -20px rgba(15, 21, 18, 0.55);
  --shadow-2: 0 2px 0 rgba(15, 21, 18, 0.04), 0 20px 44px -26px rgba(15, 21, 18, 0.62);

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --nav-accent: var(--bamboo);
}

/* ---------- 3. 中文排版基础 ---------- */
body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

p { text-wrap: pretty; }

.data,
[data-year] {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.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;
}

/* ---------- 4. 焦点与可达性 ---------- */
:focus-visible {
  outline: 2px solid var(--cool);
  outline-offset: 3px;
  border-radius: 3px;
}

.site-header :focus-visible { outline-color: var(--amber); }
.site-footer :focus-visible { outline-color: var(--amber); }

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 10px;
  z-index: 90;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline-offset: 4px;
}

/* ---------- 6. 顶栏 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(247, 245, 240, 0.93);
  color: var(--ink);
  border-bottom: 1px solid rgba(15, 21, 18, 0.08);
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.site-header[data-scrolled] {
  background: var(--bamboo);
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 34px -30px rgba(0, 0, 0, 0.95);
  --nav-accent: var(--amber);
}

.header-inner {
  max-width: var(--frame-max);
  margin-inline: auto;
  padding: 12px var(--gutter);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: padding 0.2s var(--ease), min-height 0.2s var(--ease);
}

.site-header[data-scrolled] .header-inner {
  padding-block: 6px;
  min-height: 56px;
}

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

.brand__mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--bamboo);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

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

.site-header[data-scrolled] .brand__mark { color: var(--amber); }

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.06;
}

.brand__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  color: var(--moss);
  transition: color 0.2s var(--ease);
}

.site-header[data-scrolled] .brand__sub { color: rgba(255, 255, 255, 0.72); }

/* 导航 */
.site-nav { margin-left: auto; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.3vw, 20px);
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 2px;
  height: 2px;
  background: var(--nav-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after,
.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.site-nav__link[aria-current="page"] {
  font-weight: 700;
  color: var(--nav-accent);
}

.nav-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(242, 169, 59, 0.22);
}

/* 顶栏动作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid currentColor;
  color: inherit;
  opacity: 0.62;
  text-decoration: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), background-color 0.18s var(--ease);
}

.icon-btn svg { width: 18px; height: 18px; }

.icon-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
  background: rgba(169, 195, 180, 0.22);
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: background-color 0.18s var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease);
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.site-header[data-open] .nav-toggle__bars { background: transparent; }
.site-header[data-open] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* 抽屉遮罩 */
.site-header[data-open]::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 54;
  background: rgba(15, 21, 18, 0.55);
}

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

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -20px rgba(15, 21, 18, 0.9);
}

.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--bamboo);
  border-color: currentColor;
}

.btn--ghost:hover { background: rgba(47, 107, 79, 0.09); }

.btn--amber {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.btn--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.btn--block {
  display: flex;
  width: 100%;
}

.site-header[data-scrolled] .btn--head {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(56px, 7vw, 110px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(169, 195, 180, 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(169, 195, 180, 0.07) 1px, transparent 1px);
  background-size: 88px 88px, 88px 88px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 82%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 82%);
}

.footer-inner {
  max-width: var(--frame-max);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 82px) var(--gutter) 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(210px, 1.35fr) minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(26px, 3.6vw, 52px);
}

.footer-brand .brand__mark { color: var(--bamboo-mist); }
.footer-brand .brand__name { color: var(--white); }
.footer-brand .brand__sub { color: rgba(255, 255, 255, 0.55); }

.footer-tagline {
  margin-top: 16px;
  max-width: 26ch;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
}

.footer-icp {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.48);
}

.footer-heading {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--bamboo-mist);
}

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

.footer-list a {
  display: inline-block;
  padding: 3px 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

.footer-list a:hover {
  color: var(--amber);
  transform: translateX(2px);
}

.footer-note {
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.6);
}

.footer-note + .footer-note { margin-top: 10px; }

.footer-contact li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 6px 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact li:first-child {
  padding-top: 0;
  border-top: 0;
}

.footer-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--bamboo-mist);
}

.footer-value {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.copy-btn {
  justify-self: start;
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.copy-btn:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.footer-base {
  margin-top: clamp(30px, 4vw, 54px);
  padding-top: 18px;
  border-top: 1px solid rgba(169, 195, 180, 0.34);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
}

/* 回到顶部 */
.to-top {
  position: fixed;
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  z-index: 40;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 16px 32px -18px rgba(0, 0, 0, 0.85);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), background-color 0.2s var(--ease);
}

.to-top[data-visible] {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover { background: var(--bamboo); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 9. 布局基元 ---------- */
.site-main { padding-top: var(--header-h); }

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

.shell {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: var(--gutter);
  align-items: start;
}

.stack > * + * { margin-top: 16px; }
.stack--lg > * + * { margin-top: clamp(28px, 3.6vw, 52px); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.rule {
  height: 1px;
  border: 0;
  background: repeating-linear-gradient(to right, var(--bamboo-mist) 0 8px, transparent 8px 16px);
}

.tick-rule {
  height: 10px;
  background-image: repeating-linear-gradient(to right, var(--bamboo-mist) 0 1px, transparent 1px 12px);
  opacity: 0.9;
}

/* ---------- 10. 排版组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bamboo);
}

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

.section-title {
  font-size: var(--step-3);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.16;
}

.card {
  background: var(--white);
  border: 1px solid rgba(15, 21, 18, 0.09);
  border-radius: var(--radius-card);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: var(--shadow-1);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.is-offset { margin-top: 16px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.tag--rkaf {
  background: rgba(47, 107, 79, 0.12);
  border-color: rgba(47, 107, 79, 0.26);
  color: var(--bamboo);
}

.tag--amber {
  background: rgba(242, 169, 59, 0.18);
  border-color: rgba(242, 169, 59, 0.4);
  color: #7d5207;
}

.tag--cool {
  background: rgba(63, 167, 160, 0.16);
  border-color: rgba(63, 167, 160, 0.36);
  color: #1d6762;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(15, 21, 18, 0.16);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.chip:hover { border-color: var(--bamboo-soft); color: var(--bamboo); }

.chip[aria-pressed="true"] {
  background: var(--bamboo);
  border-color: var(--bamboo);
  color: var(--white);
}

/* ---------- 11. 面包屑 ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--moss);
}

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

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

.breadcrumb li + li::before {
  content: "/";
  opacity: 0.5;
}

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

.breadcrumb a:hover { color: var(--bamboo); }

/* ---------- 12. 折叠组 ---------- */
.collapse { border-top: 1px solid rgba(15, 21, 18, 0.12); }

.collapse__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  transition: color 0.18s var(--ease);
}

.collapse__trigger:hover { color: var(--bamboo); }

.collapse__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.collapse__icon::before,
.collapse__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.collapse__icon::before { width: 8px; height: 1px; }
.collapse__icon::after {
  width: 1px;
  height: 8px;
  transition: transform 0.2s var(--ease);
}

.collapse__trigger[aria-expanded="true"] .collapse__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.collapse__panel {
  padding: 0 0 18px;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(15, 21, 18, 0.78);
  max-width: 68ch;
}

.collapse__panel[hidden] { display: none; }

/* ---------- 13. 图片占位容器（页面阶段放 <img>） ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card);
  background:
    linear-gradient(140deg, var(--paper-2) 0%, #dbd8cc 100%);
}

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

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

.media--contain > img { object-fit: contain; padding: 12px; }

.media__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15, 21, 18, 0.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 21, 18, 0.14) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.45;
  mix-blend-mode: multiply;
}

.media__caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 2px;
  background: rgba(15, 21, 18, 0.74);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

/* ---------- 14. 显现（JS 开启后才隐藏，保证无 JS 可见） ---------- */
html[data-reveal-ready] [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

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

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1023px) {
  :root {
    --header-h: 66px;
    --gutter: 20px;
  }

  .nav-toggle { display: grid; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(360px, 88vw);
    margin-left: 0;
    padding: calc(var(--header-h) + 18px) 24px 40px;
    background: var(--ink-2);
    color: var(--white);
    border-left: 1px solid rgba(169, 195, 180, 0.24);
    box-shadow: -30px 0 60px -40px #000;
    overflow-y: auto;
    z-index: 55;
    visibility: hidden;
    transform: translateX(102%);
    transition: transform 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  .site-header[data-open] .site-nav {
    transform: none;
    visibility: visible;
  }

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

  .site-nav__link {
    justify-content: space-between;
    padding: 15px 2px;
    font-size: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav__link::after { display: none; }

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

  html.u-nav-open,
  html.u-nav-open body { overflow: hidden; }

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

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

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

@media (max-width: 719px) {
  .header-actions { gap: 8px; }

  .header-actions .btn--head {
    padding: 8px 13px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .icon-btn { display: none; }

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

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

  .copy-btn { grid-column: 2; }

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

@media (max-width: 479px) {
  :root { --header-h: 60px; }

  .brand__sub { display: none; }

  .brand__name { font-size: 16px; }

  .section-title { font-size: var(--step-2); }

  .card { border-radius: 14px 4px 14px 4px; }
}

/* ---------- 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;
    scroll-behavior: auto !important;
  }

  html[data-reveal-ready] [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .to-top {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .to-top:not([data-visible]) {
    opacity: 0;
    pointer-events: none;
  }
}
