/* =========================================================
   /assets/site.css — 金宝博指南 共享外壳样式
   午夜靛底导航仪：数据叙事构图 / 珠宝色分区 / 极细边界
   ========================================================= */

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

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

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

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

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

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

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

table { border-collapse: collapse; }

/* ---------- 2. Tokens ---------- */
:root {
  /* 珠宝色与中性 */
  --ink-900: #0B1030;   /* 午夜靛底 */
  --ink-800: #151B44;   /* 深靛一级分区 */
  --teal-900: #0A3B37;  /* 深蓝绿分区 */
  --wine-900: #3E1024;  /* 酒红分区 */
  --violet-900: #26124A;/* 暗紫分区 */
  --gold: #D8A93B;      /* 鎏金强调 */
  --amber: #F08A3C;     /* 暖橙辅助 */
  --cyan: #4FD1E0;      /* 青蓝功能色 */
  --coral: #FF6B5E;     /* 珊瑚红功能色 */
  --paper: #EEF1F8;     /* 雾白正文 */
  --mist: #A8B2CC;      /* 灰蓝次级文字 */
  --line: #2A3358;      /* 极细边线 */
  --line-soft: rgba(168, 178, 204, 0.14);
  --shadow-card: 0 10px 30px rgba(4, 7, 26, 0.55);

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

  /* 尺度 */
  --wrap-w: 1200px;
  --gutter: clamp(20px, 4.6vw, 56px);
  --gap: clamp(16px, 2.4vw, 28px);
  --header-h: 72px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础排版（中文优先） ---------- */
body {
  background-color: var(--ink-900);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: clamp(16px, 0.55vw + 14px, 17.5px);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(38px, 6.4vw, 76px);
  font-weight: 250;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

h2 { font-size: clamp(24px, 3.2vw, 40px); }

h3 { font-size: clamp(19px, 1.6vw, 24px); }

p { max-width: 38em; }

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

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

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

/* ---------- 4. 布局骨架 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 9vw, 120px); }

.section--tight { padding-block: clamp(40px, 5vw, 72px); }

.band {
  padding-block: clamp(56px, 8vw, 104px);
  border-block: 1px solid var(--line);
  position: relative;
}

.band--indigo { background-color: var(--ink-800); }
.band--teal { background-color: var(--teal-900); }
.band--wine { background-color: var(--wine-900); }
.band--violet { background-color: var(--violet-900); }

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--line), rgba(42, 51, 88, 0));
}

.grid {
  display: grid;
  gap: var(--gap);
}

.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--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--8-4 { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }

.stack { display: flex; flex-direction: column; gap: 14px; }

/* ---------- 5. 文本层级 ---------- */
.eyebrow,
.section-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}

.eyebrow::before,
.section-index::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  flex: 0 0 auto;
}

.section-title {
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lede {
  font-size: clamp(16px, 0.8vw + 14px, 19px);
  line-height: 1.8;
  color: var(--mist);
  max-width: 34em;
}

.mono {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.metric {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--gold);
  display: block;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--cyan);
  transition: color 0.18s var(--ease), gap 0.18s var(--ease);
}

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

.link-more:hover { color: var(--gold); gap: 12px; }

/* ---------- 6. 按钮 / 标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.btn:hover { border-color: var(--gold); color: #FFFFFF; }

.btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #0B1030;
  font-weight: 600;
}

.btn--primary:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: #0B1030;
  box-shadow: 0 8px 22px rgba(216, 169, 59, 0.22);
}

.btn--ghost { border-color: var(--line); color: var(--mist); }
.btn--ghost:hover { color: var(--paper); border-color: var(--cyan); }

.btn--sm { min-height: 38px; padding: 0 14px; font-size: 13px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--mist);
  background: rgba(11, 16, 48, 0.5);
}

.chip--gold { color: var(--gold); border-color: rgba(216, 169, 59, 0.45); }
.chip--cyan { color: var(--cyan); border-color: rgba(79, 209, 224, 0.42); }
.chip--coral { color: var(--coral); border-color: rgba(255, 107, 94, 0.42); }

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

.card:hover,
.card:focus-visible {
  border-color: rgba(216, 169, 59, 0.5);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.card__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--mist);
}

.card__title {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 600;
  letter-spacing: -0.005em;
}

.card__text { font-size: 15px; color: var(--mist); line-height: 1.75; }

/* ---------- 8. 筛选 / 步骤 / 时间轴 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 4px;
}

.filter-btn {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--mist);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}

.filter-btn:hover { color: var(--paper); border-color: var(--cyan); }

.filter-btn[aria-pressed="true"] {
  color: var(--paper);
  border-color: var(--coral);
  background: rgba(255, 107, 94, 0.08);
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.tab-btn {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--mist);
  font-size: 14px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}

.tab-btn:hover { color: var(--paper); }

.tab-btn[aria-selected="true"] {
  color: var(--ink-900);
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 600;
}

.tab-panel { padding-top: 20px; }
.tab-panel[hidden] { display: none; }

.progress {
  height: 2px;
  width: 100%;
  background: var(--line);
  overflow: hidden;
}

.progress__fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  transition: width 0.18s var(--ease);
}

.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline__item {
  position: relative;
  flex: 1 1 200px;
  padding: 22px 20px 22px 0;
  border-right: 1px solid var(--line-soft);
}

.timeline__item:last-child { border-right: 0; }

.timeline__node {
  display: block;
  width: 8px;
  height: 8px;
  margin-bottom: 14px;
  border: 1px solid var(--gold);
  background: var(--ink-900);
  transform: rotate(45deg);
}

/* ---------- 9. 面包屑 / 正文 / 图像容器 ---------- */
.breadcrumb { padding-block: 18px; }

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

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

.breadcrumb a { color: var(--mist); transition: color 0.18s var(--ease); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--gold); }

.prose { max-width: 44em; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul { list-style: none; }
.prose li {
  position: relative;
  padding-left: 18px;
  margin-top: 0.5em;
  color: var(--mist);
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}
.prose a { color: var(--cyan); border-bottom: 1px solid rgba(79, 209, 224, 0.35); }

.media { display: block; margin: 0; }

.media__frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 15% 0%, rgba(79, 209, 224, 0.1), transparent 60%),
    linear-gradient(160deg, var(--ink-800), var(--ink-900));
}

.media__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 178, 204, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 178, 204, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.media__frame > img,
.media__frame > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--16x9 .media__frame { aspect-ratio: 16 / 9; }
.media--4x3 .media__frame { aspect-ratio: 4 / 3; }
.media--3x2 .media__frame { aspect-ratio: 3 / 2; }

.media__caption {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

/* 显现动效终态（初始态由 JS 施加，缺失脚本时不影响可读性） */
[data-reveal].is-revealed { opacity: 1; }

/* ---------- 10. 页头 ---------- */
.skip-link {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translate(-50%, -180%);
  z-index: 400;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--ink-900);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus { transform: translate(-50%, 0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.24s var(--ease), border-color 0.24s var(--ease),
    backdrop-filter 0.24s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 178, 204, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 178, 204, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
  pointer-events: none;
  opacity: 0.7;
}

.site-header[data-scrolled="true"] {
  background-color: rgba(11, 16, 48, 0.95);
  border-bottom-color: var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header[data-scrolled="true"]::before { opacity: 0.25; }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  width: 100%;
  max-width: var(--wrap-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: var(--header-h);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--gold);
  flex: 0 0 auto;
  transition: border-color 0.18s var(--ease);
}

.brand-mark svg { width: 17px; height: 17px; }
.brand:hover .brand-mark { border-color: var(--gold); }

.brand-text { display: block; }

.brand-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--mist);
  line-height: 1.4;
}

/* 主导航 */
.primary-nav {
  margin-inline: auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.9vw, 12px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 9px;
  border-radius: var(--radius);
  color: var(--mist);
  font-size: 14px;
  letter-spacing: 0.045em;
  transition: color 0.18s var(--ease);
}

.nav-idx {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(168, 178, 204, 0.55);
  transition: color 0.18s var(--ease);
}

.nav-label { white-space: nowrap; }

.nav-link::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 3px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s var(--ease);
}

.nav-link:hover { color: var(--paper); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] { color: var(--paper); }
.nav-link[aria-current="page"] .nav-idx { color: var(--gold); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* 工具区 */
.header-utils {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
}

.lang-chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mist);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

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

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

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle-bars span:nth-child(1) { top: 1px; }
.nav-toggle-bars span:nth-child(2) { bottom: 1px; }

.nav-toggle[aria-expanded="true"] { color: var(--gold); border-color: var(--gold); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- 11. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  background: linear-gradient(180deg, var(--ink-900) 0%, #080B22 100%);
  border-top: 1px solid var(--line);
  color: var(--paper);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(240px, 40%);
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.footer-rail {
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.footer-rail svg {
  display: block;
  width: 100%;
  height: 44px;
}

.rail-path {
  fill: none;
  stroke: rgba(216, 169, 59, 0.55);
  stroke-width: 1;
  stroke-dasharray: 4 6;
  vector-effect: non-scaling-stroke;
}

.rail-node {
  fill: var(--ink-900);
  stroke: var(--gold);
  stroke-width: 1.2;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(40px, 5vw, 64px);
}

.brand--footer { margin-bottom: 16px; }

.footer-note {
  font-size: 14.5px;
  color: var(--mist);
  max-width: 26em;
}

.footer-mark {
  margin-top: 12px;
  font-size: 13px;
  color: var(--mist);
  letter-spacing: 0.02em;
}

.footer-mark .mono { color: var(--gold); font-size: 12px; }

.footer-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--mist);
  text-transform: uppercase;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

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

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14.5px;
  color: var(--paper);
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

.footer-link:hover { color: var(--gold); transform: translateX(3px); }

.contact-list { display: flex; flex-direction: column; gap: 14px; }

.contact-item { display: flex; flex-direction: column; gap: 3px; }

.contact-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.contact-value {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--paper);
  word-break: break-word;
}

.footer-base { border-top: 1px solid var(--line); }

.footer-base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 20px;
}

.footer-tip,
.footer-legal {
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--mist);
}

.footer-legal .mono { color: var(--gold); font-size: 12px; }

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1180px) {
  .nav-link { padding: 10px 6px; font-size: 13.5px; }
  .nav-idx { display: none; }
}

@media (max-width: 1023px) {
  :root { --header-h: 64px; }

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

  .header-utils .header-cta { display: none; }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 10px var(--gutter) 22px;
    background-color: var(--ink-800);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .primary-nav[data-open="true"] { display: block; }

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

  .nav-item { border-bottom: 1px solid var(--line-soft); }
  .nav-item:last-child { border-bottom: 0; }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 4px;
    font-size: 16px;
    color: var(--paper);
  }

  .nav-idx { display: inline; font-size: 12px; }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--gold); }
  .nav-link[aria-current="page"] .nav-idx { color: var(--gold); }
  .nav-link[aria-current="page"] .nav-label::after {
    content: "· 当前";
    margin-left: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--mist);
  }
}

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

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

@media (max-width: 620px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .brand-sub { letter-spacing: 0.14em; }
  .footer-base-inner { flex-direction: column; align-items: flex-start; }
  .timeline__item { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .timeline__item:last-child { border-bottom: 0; }
}

/* ---------- 13. 降低动效 ---------- */
@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: 0ms !important;
  }

  .card:hover,
  .card:focus-visible,
  .footer-link:hover { transform: none; }
}
