/* ============================================================
   博奥赛场 · 共享样式 /assets/site.css
   深夜墨绿 + 聚光灯 + 精密网格
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

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

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

a { color: inherit; text-decoration: none; }

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

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

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink-900: #061A15;
  --ink-800: #0D2B23;
  --ink-700: #173C32;
  --cold: #8DA39A;
  --warm-white: #F5F1E6;
  --orange: #FF6B1A;
  --orange-soft: #FF8A3D;
  --blue: #2BA6FF;
  --yellow: #FFD166;
  --green: #4AD6A0;
  --red: #FF5C5C;

  --line: rgba(23, 60, 50, 0.95);
  --line-soft: rgba(23, 60, 50, 0.6);

  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --pill: 999px;
  --radius: 2px;

  --shell-w: 1200px;
  --gutter: 24px;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 3. 基础排版（夜场底色 + 聚光灯 + 网格） ---------- */
body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(760px 540px at 84% -10%, rgba(43, 166, 255, 0.20), transparent 64%),
    radial-gradient(620px 460px at 4% 2%, rgba(255, 107, 26, 0.15), transparent 62%),
    linear-gradient(to right, rgba(23, 60, 50, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 60, 50, 0.55) 1px, transparent 1px);
  background-size: auto, auto, 96px 96px, 96px 96px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-position: 0 0, 0 0, -1px -1px, -1px -1px;
  background-attachment: fixed, fixed, fixed, fixed;
  color: var(--warm-white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.16;
  text-wrap: balance;
}

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

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.site-main {
  display: block;
  min-height: 56vh;
}

#main-content:focus { outline: none; }

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -120px;
  left: 20px;
  z-index: 400;
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: var(--pill);
  background: var(--orange);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: top 0.2s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 16px;
  outline: 2px solid var(--warm-white);
  outline-offset: 2px;
}

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

/* ---------- 5. 容器与网格 ---------- */
.shell {
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--shell-w);
  margin-inline: auto;
}

.shell--narrow {
  width: calc(100% - 2 * var(--gutter));
  max-width: 800px;
  margin-inline: auto;
}

.section { padding: clamp(48px, 7vw, 96px) 0; }

.section--line { border-top: 1px solid var(--line-soft); }

.section-head {
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin-bottom: clamp(24px, 3.4vw, 42px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--orange);
}

.section-title {
  font-size: clamp(28px, 4.4vw, 46px);
  color: var(--warm-white);
}

.lede {
  max-width: 62ch;
  font-size: clamp(16px, 1.5vw, 18px);
  color: rgba(245, 241, 230, 0.72);
}

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

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

.grid-split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

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

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

/* ---------- 6. 通用块 ---------- */
.surface,
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(13, 43, 35, 0.92), rgba(6, 26, 21, 0.94));
}

.card {
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 166, 255, 0.55);
  box-shadow: 0 26px 46px -34px rgba(0, 0, 0, 0.95);
}

.card--flat { background: rgba(13, 43, 35, 0.62); }

.card--accent { border-left: 3px solid var(--orange); }

.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, rgba(255, 107, 26, 0.65), rgba(43, 166, 255, 0.45), transparent);
}

/* ---------- 7. 标签与数据 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cold);
}

.tag--orange { color: var(--orange); border-color: rgba(255, 107, 26, 0.5); }
.tag--blue { color: var(--blue); border-color: rgba(43, 166, 255, 0.5); }
.tag--green { color: var(--green); border-color: rgba(74, 214, 160, 0.5); }

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

.data-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--warm-white);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--blue);
}

.link-arrow::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
              color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-primary {
  background: linear-gradient(118deg, var(--orange-soft), var(--orange) 58%, #E85500);
  color: #0A110D;
  box-shadow: 0 14px 28px -18px rgba(255, 107, 26, 0.95);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -18px rgba(255, 107, 26, 1);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(13, 43, 35, 0.7);
  color: var(--warm-white);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-sm { padding: 9px 17px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- 9. 头部：悬浮胶囊导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 14px 0 0;
}

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

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--shell-w);
  min-height: 64px;
  margin-inline: auto;
  padding: 8px 10px 8px 18px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: linear-gradient(142deg, rgba(13, 43, 35, 0.94), rgba(6, 26, 21, 0.9));
  box-shadow: 0 20px 44px -30px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(245, 241, 230, 0.06);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: min-height 0.24s var(--ease), background 0.24s var(--ease);
}

.site-header[data-scrolled] .header-inner {
  min-height: 56px;
  background: linear-gradient(142deg, rgba(13, 43, 35, 0.98), rgba(6, 26, 21, 0.97));
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  position: relative;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 7px;
  background: linear-gradient(140deg, var(--orange), var(--orange-soft) 46%, var(--blue));
  box-shadow: inset 0 0 0 1px rgba(6, 26, 21, 0.35);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 9px 8px;
  background: var(--ink-900);
  clip-path: polygon(0 0, 100% 50%, 0 100%, 32% 50%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--warm-white);
}

.brand-en {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--cold);
}

/* 主导航 */
.site-nav {
  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 {
  display: inline-block;
  padding: 9px 13px;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 500;
  color: rgba(245, 241, 230, 0.78);
  white-space: nowrap;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav-link:hover {
  color: var(--warm-white);
  background: rgba(43, 166, 255, 0.14);
}

.nav-link[aria-current="page"] {
  background: var(--orange);
  color: var(--ink-900);
  font-weight: 700;
}

/* 桌面端工具区 */
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.league-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: rgba(6, 26, 21, 0.66);
}

.league-chip {
  padding: 5px 11px;
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--cold);
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
}

.league-chip:hover {
  color: var(--warm-white);
  background: rgba(43, 166, 255, 0.14);
}

.league-chip.is-active {
  background: var(--blue);
  color: var(--ink-900);
  font-weight: 700;
}

/* 移动端面板（桌面隐藏） */
.nav-panel { display: none; }

.nav-panel-label {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cold);
}

/* 菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: rgba(13, 43, 35, 0.75);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--warm-white);
}

.nav-toggle-box {
  position: relative;
  display: block;
  width: 16px;
  height: 12px;
}

.nav-toggle-box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--warm-white);
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.nav-toggle-box span:first-child { top: 2px; }
.nav-toggle-box span:last-child { bottom: 2px; }

.site-header[data-open] .nav-toggle-box span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.site-header[data-open] .nav-toggle-box span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.site-header[data-open] .nav-toggle {
  border-color: var(--orange);
  color: var(--orange);
}

/* 阅读进度脉冲线 */
.scroll-progress {
  position: relative;
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--shell-w);
  height: 2px;
  margin: 10px auto 0;
  border-radius: 2px;
  background: rgba(23, 60, 50, 0.65);
  overflow: hidden;
}

.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--orange), var(--yellow) 48%, var(--blue));
  box-shadow: 0 0 12px rgba(43, 166, 255, 0.55);
}

/* ---------- 10. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  padding: clamp(46px, 6vw, 78px) 0 26px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(580px 320px at 84% 0%, rgba(43, 166, 255, 0.13), transparent 70%),
    radial-gradient(460px 280px at 6% 14%, rgba(255, 107, 26, 0.11), transparent 72%),
    linear-gradient(180deg, #08211B, #061A15 72%);
}

.footer-top,
.footer-bottom {
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--shell-w);
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: clamp(26px, 4vw, 56px);
  padding-bottom: clamp(30px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 320px;
}

.footer-line {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(245, 241, 230, 0.66);
}

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

.footer-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cold);
}

.footer-title::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--orange);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a,
.footer-list span {
  font-size: 15px;
  color: rgba(245, 241, 230, 0.78);
  transition: color 0.18s var(--ease);
}

.footer-list a:hover { color: var(--blue); }

.footer-list--contact a,
.footer-list--contact span {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.footer-list--contact .footer-mail { color: var(--blue); }

.footer-list--contact .footer-tel {
  color: var(--warm-white);
  font-size: 15px;
}

.footer-list--contact .footer-icp {
  color: var(--cold);
  font-size: 12.5px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding-top: 22px;
}

.footer-note {
  flex: 1 1 420px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--cold);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(141, 163, 154, 0.9);
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: rgba(13, 43, 35, 0.7);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--warm-white);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.to-top::before { content: "↑"; }

.to-top:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ---------- 11. 面包屑与正文 ---------- */
.breadcrumb {
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--shell-w);
  margin: 30px auto 0;
}

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

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-list li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(141, 163, 154, 0.45);
}

.breadcrumb-list a { color: var(--cold); }
.breadcrumb-list a:hover { color: var(--blue); }
.breadcrumb-list [aria-current="page"] { color: var(--warm-white); }

.prose {
  max-width: 68ch;
  font-size: 17px;
  color: rgba(245, 241, 230, 0.84);
}

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

.prose h2 {
  margin-top: 1.9em;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: var(--warm-white);
}

.prose h3 {
  margin-top: 1.5em;
  font-size: 19px;
  font-weight: 700;
  color: var(--warm-white);
}

.prose strong { color: var(--warm-white); }

.prose a {
  color: var(--blue);
  border-bottom: 1px solid rgba(43, 166, 255, 0.4);
}

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

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 1px;
  background: var(--orange);
}

/* ---------- 12. 图片容器（供页面阶段放置占位） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(320px 200px at 78% 8%, rgba(43, 166, 255, 0.22), transparent 68%),
    linear-gradient(150deg, #0D2B23, #061A15 82%);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(245, 241, 230, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 241, 230, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.55;
  mix-blend-mode: screen;
}

.media-frame--empty {
  display: grid;
  place-items: center;
  min-height: 160px;
}

.media-frame--empty > span {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(141, 163, 154, 0.8);
}

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

/* ---------- 13. 进入视口动效 ---------- */
[data-reveal] {
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

[data-reveal].is-pending {
  opacity: 0;
  transform: translateY(18px);
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1200px) {
  .nav-link { padding: 9px 10px; font-size: 14.5px; }
  .league-switch { gap: 2px; }
  .league-chip { padding: 5px 8px; font-size: 11px; }
}

@media (max-width: 1080px) {
  :root { --gutter: 18px; }

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

  .header-inner {
    gap: 10px;
    min-height: 58px;
    padding: 8px 10px 8px 14px;
  }

  .header-tools { display: none; }

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

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(160deg, #0D2B23, #061A15 78%);
    box-shadow: 0 36px 64px -32px rgba(0, 0, 0, 0.96);
  }

  .site-header[data-open] .site-nav { display: flex; }

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

  .nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 16px;
  }

  .nav-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .league-switch--panel {
    flex-wrap: wrap;
    justify-content: flex-start;
    border-radius: 14px;
    padding: 8px;
  }

  .scroll-progress { margin-top: 8px; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { max-width: none; }
}

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

  .section { padding: 44px 0; }

  .footer-bottom { gap: 12px 18px; }
  .footer-note { flex: 1 1 100%; }
  .to-top { margin-left: 0; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }

  .brand-name { font-size: 17px; }
  .brand-en { letter-spacing: 0.16em; }

  .footer-top { grid-template-columns: 1fr; gap: 30px; }

  .btn { padding: 11px 20px; font-size: 14px; }
  .btn-sm { padding: 9px 15px; font-size: 13px; }
}

/* ---------- 15. 减少动态 ---------- */
@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;
  }

  [data-reveal],
  [data-reveal].is-pending {
    opacity: 1;
    transform: none;
  }

  .card:hover,
  .btn-primary:hover {
    transform: none;
  }
}
