/* ============================================================
   易游品牌 · 共享样式表 /assets/site.css
   ============================================================ */

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

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

body { margin: 0; }

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

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

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

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

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

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

/* ---------- 2. 变量 ---------- */
:root {
  --c-blue: #1B4F9C;
  --c-blue-deep: #123A75;
  --c-blue-ink: #0E2A47;
  --c-red: #C4362B;
  --c-turq: #178A7E;
  --c-gold: #D9A227;
  --c-snow: #FBFBF8;
  --c-cream: #F2EDE3;
  --c-rock: #6B6A66;
  --c-moss: #5C7A4E;
  --c-clay: #B5623C;

  --c-line: rgba(14, 42, 71, 0.14);
  --c-line-soft: rgba(14, 42, 71, 0.08);
  --ink-soft: rgba(14, 42, 71, 0.68);
  --on-dark: #E8EFF7;

  --header-h: 76px;
  --header-h-solid: 60px;
  --rail: var(--c-blue);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-pill: 999px;

  --sp-section: clamp(72px, 9vw, 138px);
  --gap: clamp(18px, 2.4vw, 30px);

  --shadow-1: 0 2px 6px rgba(14, 42, 71, 0.05), 0 14px 34px rgba(14, 42, 71, 0.08);
  --shadow-2: 0 18px 46px rgba(14, 42, 71, 0.16);

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

  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--c-blue-ink);
  background: var(--c-snow);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(32px, 5vw, 54px); }
h2 { font-size: clamp(26px, 3.6vw, 38px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); }

p { max-width: 68ch; }

a { transition: color 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease); }

:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection { background: rgba(217, 162, 39, 0.32); }

/* ---------- 4. 容器与网格 ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}
.container--wide { max-width: 1320px; }
.container--narrow { max-width: 820px; }

.section { padding-block: var(--sp-section); position: relative; }
.section--cream { background: var(--c-cream); }
.section--band { background: linear-gradient(180deg, rgba(242, 237, 227, 0.7), rgba(251, 251, 248, 0)); }
.section--blue { background: var(--c-blue); color: var(--c-snow); }
.section--ink { background: linear-gradient(150deg, #123A75, #0E2A47 70%); color: var(--on-dark); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }

.section--blue p, .section--ink p { color: rgba(232, 239, 247, 0.84); }

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

.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--lg { gap: 28px; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 104px));
  padding-bottom: clamp(44px, 6vw, 80px);
}
.page-hero--ink {
  background: linear-gradient(150deg, #123A75 0%, #1B4F9C 52%, #178A7E 132%);
  color: var(--c-snow);
}
.page-hero--ink p { color: rgba(232, 239, 247, 0.86); }
.page-hero--cream { background: var(--c-cream); }
.offset-top { padding-top: var(--header-h); }

/* ---------- 5. 文本组件 ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--c-rock);
  text-transform: none;
}
.section--blue .eyebrow, .section--ink .eyebrow, .page-hero--ink .eyebrow { color: var(--c-gold); }

.chapter-no {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-variant-numeric: tabular-nums;
  color: var(--c-rock);
}
.chapter-no::after {
  content: "";
  width: clamp(36px, 6vw, 64px);
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.42;
}
.chapter-no--red { color: var(--c-red); }
.chapter-no--turq { color: var(--c-turq); }
.chapter-no--moss { color: var(--c-moss); }
.chapter-no--gold { color: #A97B12; }

.section__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-title { max-width: 22ch; }
.section-lede { font-size: clamp(15px, 1.6vw, 17px); color: var(--ink-soft); max-width: 56ch; }
.section--blue .section-lede, .section--ink .section-lede { color: rgba(232, 239, 247, 0.8); }

.muted { color: var(--c-rock); font-size: 14px; }

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

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease),
    color 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.btn--primary { background: var(--c-blue); color: #fff; box-shadow: 0 10px 24px rgba(27, 79, 156, 0.26); }
.btn--primary:hover { background: var(--c-blue-deep); transform: translateY(-2px); }
.btn--gold { background: var(--c-gold); color: #3A2A05; }
.btn--gold:hover { background: #C08F1C; transform: translateY(-2px); }
.btn--outline { border-color: var(--c-blue); color: var(--c-blue); background: transparent; }
.btn--outline:hover { background: var(--c-blue); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.58); color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }
.btn--sm { padding: 8px 16px; font-size: 13px; }

/* ---------- 7. 标签 / 卡片 / 面板 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  background: var(--c-cream);
  color: var(--c-blue-ink);
}
.tag--blue { background: rgba(27, 79, 156, 0.12); color: #1B4F9C; }
.tag--red { background: rgba(196, 54, 43, 0.12); color: #A82A21; }
.tag--turq { background: rgba(23, 138, 126, 0.13); color: #106B61; }
.tag--gold { background: rgba(217, 162, 39, 0.2); color: #8A6410; }
.tag--moss { background: rgba(92, 122, 78, 0.16); color: #48613E; }
.tag--clay { background: rgba(181, 98, 60, 0.16); color: #8E4A2C; }

.rail--blue { --rail: var(--c-blue); }
.rail--red { --rail: var(--c-red); }
.rail--turq { --rail: var(--c-turq); }
.rail--gold { --rail: var(--c-gold); }
.rail--moss { --rail: var(--c-moss); }
.rail--clay { --rail: var(--c-clay); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 26px 24px 30px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--rail);
  transition: width 180ms var(--ease);
}
.card:hover, .card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.card:hover::before, .card:focus-within::before { width: 12px; }
.card--cream { background: var(--c-cream); }
.card__title { font-size: 19px; font-weight: 800; }
.card__text { font-size: 15px; color: var(--ink-soft); }
.card__meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--c-rock);
}


.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: var(--r-lg);
  background: rgba(251, 251, 248, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-1);
}
.panel--float { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.panel--cream { background: rgba(242, 237, 227, 0.94); border-color: rgba(14, 42, 71, 0.1); }
.panel--dark { background: rgba(14, 42, 71, 0.72); color: var(--on-dark); border-color: rgba(255, 255, 255, 0.18); }
.panel--dark p { color: rgba(232, 239, 247, 0.82); }

/* ---------- 8. 数字与流程 ---------- */
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__value {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--c-blue-ink);
}
.stat__value--gold { color: #B4831A; }
.stat__value--turq { color: var(--c-turq); }
.stat__label { font-size: 13px; letter-spacing: 0.06em; color: var(--c-rock); }
.section--blue .stat__value, .section--ink .stat__value { color: var(--c-snow); }
.section--blue .stat__label, .section--ink .stat__label { color: rgba(232, 239, 247, 0.7); }

.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 34px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 9px; top: 8px; bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(27, 79, 156, 0.42), rgba(23, 138, 126, 0.4), rgba(217, 162, 39, 0.4));
}
.timeline__item { position: relative; padding-bottom: 34px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__body { display: flex; flex-direction: column; gap: 6px; }
.timeline__dot {
  position: absolute;
  left: -34px; top: 6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--c-snow);
  border: 2px solid var(--c-blue);
  transition: background-color 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.timeline__item[data-reveal].is-visible .timeline__dot {
  background: var(--c-gold);
  border-color: var(--c-gold);
  box-shadow: 0 0 0 4px rgba(217, 162, 39, 0.22);
}
.timeline__date {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  color: var(--c-red);
}

/* ---------- 9. 图片容器（页面阶段投放 <img>） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 16 / 10;
  background: linear-gradient(140deg, #123A75 0%, #1B4F9C 38%, #178A7E 76%, #D9A227 124%);
  isolation: isolate;
}
.media-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--plain { background: var(--c-cream); }
.media-frame__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px;
  color: var(--c-snow);
  background: linear-gradient(180deg, rgba(14, 42, 71, 0) 0%, rgba(14, 42, 71, 0.8) 100%);
}
.media-frame__caption { font-size: 13px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.86); }

/* ---------- 10. 面包屑 / 章节锚点 ---------- */
.breadcrumbs { font-size: 13px; color: var(--c-rock); padding-block: 18px 0; }
.page-hero--ink .breadcrumbs { color: rgba(232, 239, 247, 0.78); }
.breadcrumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumbs__item { display: flex; align-items: center; gap: 8px; }
.breadcrumbs__link { text-decoration: underline; text-decoration-color: rgba(107, 106, 102, 0.4); text-underline-offset: 3px; }
.breadcrumbs__link:hover { color: var(--c-blue); text-decoration-color: var(--c-blue); }
.breadcrumbs__sep { opacity: 0.55; }

.toc {
  position: sticky;
  top: 104px;
  font-size: 14px;
  padding-left: 2px;
}
.toc__title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--c-rock);
  margin-bottom: 10px;
}
.toc__list { display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--c-line); }
.toc__link {
  display: block;
  padding: 8px 12px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--c-rock);
  font-size: 14px;
}
.toc__link:hover { color: var(--c-blue); background: rgba(27, 79, 156, 0.06); }
.toc__link[aria-current="true"] {
  color: var(--c-blue);
  font-weight: 700;
  border-left-color: var(--c-red);
  background: rgba(27, 79, 156, 0.08);
}

/* ---------- 11. 显现动画 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 12. 头部 ---------- */
.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--c-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform 160ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  color: #fff;
  background: linear-gradient(180deg, rgba(14, 42, 71, 0.66) 0%, rgba(14, 42, 71, 0.32) 58%, rgba(14, 42, 71, 0) 100%);
  transition: background-color 240ms var(--ease), background-image 240ms var(--ease),
    box-shadow 240ms var(--ease);
}
.site-header.is-solid {
  background-image: none;
  background-color: var(--c-blue);
  box-shadow: 0 10px 30px rgba(14, 42, 71, 0.24);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
  transition: height 240ms var(--ease);
}
.site-header.is-solid .site-header__inner { height: var(--header-h-solid); }

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  border-radius: var(--r-md);
  flex: 0 0 auto;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: background-color 200ms var(--ease);
}
.brand__mark svg { width: 26px; height: 26px; }
.brand:hover .brand__mark { background: rgba(255, 255, 255, 0.24); }
.brand__text { display: flex; flex-direction: column; line-height: 1.14; }
.brand__name { font-size: 19px; font-weight: 800; letter-spacing: 0.04em; }
.brand__sub { font-size: 11px; letter-spacing: 0.16em; opacity: 0.78; }

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}
.site-nav__list { display: flex; align-items: center; gap: 2px; }
.site-nav__item { display: block; }
.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 13px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.site-nav__link:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.site-nav__link[aria-current="page"] { background: rgba(255, 255, 255, 0.2); color: #fff; font-weight: 700; }
.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-gold);
}

.site-nav__aside { display: flex; align-items: center; gap: 12px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px 5px 10px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.status-pill__dot {
  width: 8px; height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(217, 162, 39, 0.24);
  animation: pill-pulse 2600ms var(--ease) infinite;
}
@keyframes pill-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(217, 162, 39, 0.24); }
  50% { box-shadow: 0 0 0 6px rgba(217, 162, 39, 0.08); }
}

/* 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 14px 8px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.nav-toggle__bars { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.nav-toggle__bars span {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 阅读进度 */
.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.16);
}
.scroll-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--c-gold), var(--c-red));
  transition: width 120ms linear;
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  padding-bottom: 34px;
  color: var(--on-dark);
  background: radial-gradient(130% 110% at 10% 0%, #16406F 0%, #0E2A47 56%, #0B2138 100%);
}
.site-footer__flags {
  height: 6px;
  background: linear-gradient(
    90deg,
    #1B4F9C 0 20%,
    #C4362B 20% 40%,
    #D9A227 40% 60%,
    #178A7E 60% 80%,
    #B5623C 80% 100%
  );
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(44px, 6vw, 72px) 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.brand--footer { margin-bottom: 2px; }
.brand--footer .brand__mark { background: rgba(255, 255, 255, 0.1); }
.site-footer__note {
  font-size: 14px;
  line-height: 1.75;
  max-width: 34ch;
  color: rgba(220, 230, 241, 0.78);
}
.site-footer__badge {
  align-self: flex-start;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #F6E4B8;
  background: rgba(217, 162, 39, 0.16);
  border: 1px solid rgba(217, 162, 39, 0.45);
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 20px;
}
.footer-col {
  padding-left: 12px;
  border-left: 3px solid var(--col-color, var(--c-blue));
}
.footer-col--blue { --col-color: var(--c-blue); }
.footer-col--turq { --col-color: var(--c-turq); }
.footer-col--moss { --col-color: var(--c-moss); }
.footer-col--gold { --col-color: var(--c-gold); }
.footer-col--clay { --col-color: var(--c-clay); }

.footer-col__title { font-size: 15px; font-weight: 800; letter-spacing: 0.04em; margin-bottom: 10px; }
.footer-col__list { display: flex; flex-direction: column; gap: 8px; }
.footer-col__link {
  font-size: 14px;
  color: rgba(220, 230, 241, 0.76);
  border-bottom: 1px solid transparent;
}
.footer-col__link:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.5); }
.footer-col__title .footer-col__link { color: #fff; }

.site-footer__contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-block: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.contact-line { display: flex; flex-direction: column; gap: 4px; max-width: none; }
.contact-line__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(220, 230, 241, 0.58);
}
.contact-line__value {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  word-break: break-word;
  font-variant-numeric: tabular-nums;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
  padding-top: 22px;
  font-size: 13px;
  color: rgba(220, 230, 241, 0.68);
}
.site-footer__legal { font-variant-numeric: tabular-nums; }
.legal-links { display: flex; flex-wrap: wrap; gap: 18px; max-width: none; }
.legal-links a {
  color: var(--c-cream);
  border-bottom: 1px solid rgba(242, 237, 227, 0.35);
}
.legal-links a:hover { color: #fff; border-bottom-color: var(--c-gold); }

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(360px, 88vw);
    padding: 96px 26px 36px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
    overflow-y: auto;
    background: linear-gradient(160deg, #123A75 0%, #1B4F9C 58%, #178A7E 148%);
    box-shadow: -22px 0 60px rgba(14, 42, 71, 0.34);
    transform: translateX(102%);
    visibility: hidden;
    transition: transform 260ms var(--ease), visibility 260ms var(--ease);
  }
  .site-nav[data-open="true"] { transform: translateX(0); visibility: visible; }

  .site-nav__list { flex-direction: column; align-items: stretch; gap: 6px; }
  .site-nav__link {
    display: block;
    padding: 13px 16px;
    font-size: 17px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.06);
  }
  .site-nav__link[aria-current="page"] { background: rgba(255, 255, 255, 0.18); }
  .site-nav__link[aria-current="page"]::after { left: 16px; right: 16px; bottom: 6px; }

  .site-nav__aside { flex-direction: column; align-items: stretch; gap: 14px; }
  .status-pill { justify-content: center; }
  .site-nav__aside .btn { width: 100%; }

  body.nav-open { overflow: hidden; }

  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .grid--7-5, .grid--5-7, .grid--3 { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc__list { flex-direction: row; flex-wrap: wrap; border-left: 0; }
  .toc__link { border-left: 0; border-radius: var(--r-pill); padding: 7px 14px; margin-left: 0; }
  .toc__link[aria-current="true"] { border-left: 0; }
}

@media (max-width: 720px) {
  .grid--2 { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__contact { grid-template-columns: 1fr; gap: 16px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .brand__sub { display: none; }
  .card { padding: 22px 20px 20px 24px; }
}

@media (max-width: 420px) {
  .site-footer__cols { grid-template-columns: 1fr; }
}

/* ---------- 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] { opacity: 1; transform: none; }
  .timeline__item .timeline__dot {
    background: var(--c-gold);
    border-color: var(--c-gold);
  }
  .card:hover, .card:focus-within { transform: none; }
  .btn:hover { transform: none; }
}
