/* ============================================================
   东升国际服务 · 全站共享样式 /assets/site.css
   结构：重置 → 变量 → 排版 → 无障碍 → 网格 → 章节 → 组件 → 头部 → 页脚 → 动效 → 响应式
   ============================================================ */

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

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

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

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

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

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

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

/* ---------- 2. 变量 ---------- */
:root {
  --indigo: #14204A;
  --indigo-deep: #1D2E63;
  --sky: #2C8FD8;
  --cyan: #12B5C9;
  --gold: #E0A61C;
  --flag-red: #C8384A;
  --flag-green: #1F8A5B;
  --flag-yellow: #F2C230;
  --wine: #8E2B3E;
  --jade: #0E5A50;
  --violet: #4B3B8F;
  --warm: #FDFBF6;
  --sand: #EDE7DA;

  --line: rgba(44, 143, 216, 0.26);
  --line-strong: rgba(44, 143, 216, 0.5);
  --line-soft: rgba(20, 32, 74, 0.12);
  --ink-soft: rgba(20, 32, 74, 0.72);
  --on-dark: rgba(253, 251, 246, 0.78);
  --shadow: 0 18px 44px -30px rgba(20, 32, 74, 0.5);

  --max: 1280px;
  --gutter: 24px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;

  --font-serif: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'SimSun', serif;
  --font-sans: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --header-h: 72px;
}

/* ---------- 3. 中文排版 ---------- */
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--indigo);
  background-color: var(--warm);
  background-image:
    linear-gradient(to right, rgba(44, 143, 216, 0.075) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(44, 143, 216, 0.075) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-serif); font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
h1 { font-size: clamp(32px, 4.4vw, 56px); }
h2 { font-size: clamp(24px, 2.8vw, 34px); }
h3 { font-size: clamp(19px, 1.6vw, 22px); }
h4 { font-size: 17px; font-weight: 700; }

p { max-width: 74ch; }

strong, b { font-weight: 700; }

.mono,
[data-section-code],
.timestamp-capsule,
.pill,
.tag,
.stat,
.breadcrumb,
.footer-col__title,
.footer-brand__meta,
.footer-label,
.section-head__index,
.card__index,
.collapse__meta,
.site-footer__legal,
.lang-switch__tag {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

code, kbd, samp { font-family: var(--font-mono); font-size: 0.92em; }

/* ---------- 4. 无障碍 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -72px;
  z-index: 300;
  padding: 12px 22px;
  border-radius: 0 0 16px 16px;
  background: var(--gold);
  color: var(--indigo);
  font-weight: 700;
  font-size: 15px;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 0; }

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

#main-content { scroll-margin-top: 96px; }

/* ---------- 5. 网格与版心 ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.col-start-2 { grid-column-start: 2; }
.col-start-3 { grid-column-start: 3; }
.col-start-4 { grid-column-start: 4; }
.col-start-7 { grid-column-start: 7; }

.measure { max-width: 62ch; }
.measure--tight { max-width: 46ch; }

/* ---------- 6. 章节与章节头 ---------- */
.section { padding-block: clamp(64px, 8vw, 140px); }
.section--tight { padding-block: clamp(40px, 4.5vw, 72px); }

.section--sky { background: linear-gradient(168deg, #E9F3FB 0%, var(--warm) 68%); }
.section--sand { background: var(--sand); }
.section--deep { background: var(--indigo-deep); color: var(--warm); }
.section--jade { background: var(--jade); color: var(--warm); }
.section--violet { background: var(--violet); color: var(--warm); }
.section--wine { background: var(--wine); color: var(--warm); }

.section--deep p, .section--jade p, .section--violet p, .section--wine p { color: var(--on-dark); }
.section--deep h1, .section--deep h2, .section--deep h3,
.section--jade h1, .section--jade h2, .section--jade h3,
.section--violet h1, .section--violet h2, .section--violet h3,
.section--wine h1, .section--wine h2, .section--wine h3 { color: var(--warm); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.section-head__index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
}
.section-head__index::before {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background: var(--line-strong);
}
.section--deep .section-head__index,
.section--jade .section-head__index,
.section--violet .section-head__index,
.section--wine .section-head__index { color: var(--cyan); }

.section-head__title { max-width: 30ch; }

.section-head__note {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 58ch;
}
.section--deep .section-head__note,
.section--jade .section-head__note,
.section--violet .section-head__note,
.section--wine .section-head__note { color: var(--on-dark); }

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--gold { background: var(--gold); color: var(--indigo); }
.btn--gold:hover { background: #F0B734; }

.btn--ink { background: var(--indigo); color: var(--warm); }
.btn--ink:hover { background: var(--indigo-deep); }

.btn--ghost { border-color: var(--line-strong); color: var(--indigo); }
.btn--ghost:hover { border-color: var(--indigo); background: rgba(44, 143, 216, 0.08); }

.btn--ghost-light { border-color: rgba(253, 251, 246, 0.42); color: var(--warm); }
.btn--ghost-light:hover { border-color: var(--warm); background: rgba(253, 251, 246, 0.12); }

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

/* ---------- 8. 胶囊 / 标签 / 数字 ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(44, 143, 216, 0.1);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--indigo);
}
.pill--gold { background: rgba(224, 166, 28, 0.16); border-color: rgba(224, 166, 28, 0.52); }
.pill--cyan { background: rgba(18, 181, 201, 0.14); border-color: rgba(18, 181, 201, 0.46); }
.pill--dark { background: transparent; border-color: rgba(253, 251, 246, 0.36); color: var(--warm); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky);
}
.tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.tag--live { color: var(--cyan); }
.tag--done { color: var(--flag-green); }
.tag--alert { color: var(--flag-red); }
.tag--todo { color: var(--gold); }

.stat {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.62);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--indigo);
}
.stat__unit { font-size: 12.5px; font-weight: 500; letter-spacing: 0.06em; color: var(--sky); }

.note {
  padding-left: 14px;
  border-left: 2px solid var(--line-strong);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ---------- 9. 卡片与折叠面板 ---------- */
.card {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--warm);
  box-shadow: var(--shadow);
}
.card--flat { box-shadow: none; }
.card--sky { background: #EAF3FB; }
.card--sand { background: var(--sand); }
.card--accent::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--sky) 0 20%, #FDFBF6 20% 40%, var(--flag-red) 40% 60%, var(--flag-green) 60% 80%, var(--flag-yellow) 80% 100%);
}
.card__index { display: block; font-size: 12.5px; letter-spacing: 0.08em; color: var(--sky); }
.card__title { margin-top: 10px; font-family: var(--font-serif); font-size: 21px; font-weight: 800; line-height: 1.35; }
.card__text { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }

.collapse {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(253, 251, 246, 0.92);
  overflow: hidden;
}
.collapse + .collapse { margin-top: 12px; }

.collapse__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--indigo);
  transition: background-color 0.16s ease;
}
.collapse__trigger:hover { background: rgba(44, 143, 216, 0.07); }
.collapse__trigger[aria-expanded="true"] { background: rgba(44, 143, 216, 0.1); }

.collapse__mark {
  margin-left: auto;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
  color: var(--sky);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.collapse__trigger[aria-expanded="true"] .collapse__mark {
  transform: rotate(45deg);
  background: var(--gold);
  border-color: var(--gold);
  color: var(--indigo);
}

.collapse__panel {
  padding: 0 20px 20px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  animation: panel-drop 240ms ease-out;
}
.collapse__panel[hidden] { display: none; }
.collapse__panel > * + * { margin-top: 12px; }

.collapse__meta { font-size: 12.5px; letter-spacing: 0.04em; color: var(--sky); }

@keyframes panel-drop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 10. 横向滚动轨道 ---------- */
.h-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.h-rail::-webkit-scrollbar { height: 6px; }
.h-rail::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }

.h-rail__item { flex: 0 0 min(320px, 78vw); scroll-snap-align: start; }
.h-rail--wide .h-rail__item { flex: 0 0 min(430px, 84vw); }

/* ---------- 11. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(152deg, #DCE9F5 0%, var(--warm) 46%, #E7E0D1 100%);
  isolation: isolate;
}
.media-frame > img,
.media-frame > picture > img,
.media-frame > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }

.media-frame__caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(20, 32, 74, 0.76);
  color: var(--warm);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ---------- 12. 面包屑 ---------- */
.breadcrumb { font-size: 12.5px; letter-spacing: 0.05em; color: rgba(20, 32, 74, 0.62); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a:hover { color: var(--sky); }
.breadcrumb [aria-current="page"] { color: var(--indigo); }

/* ---------- 13. 框架头部 ---------- */
.blueprint-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #FDFBF6 0%, #F6F1E7 100%);
  border-bottom: 1px solid var(--line);
}

.blueprint-header__rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(44, 143, 216, 0.14);
  overflow: hidden;
}

.blueprint-header__progress {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--sky), var(--cyan), var(--gold), var(--flag-red));
}

.blueprint-header__frame {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(14px, 1.6vw, 28px);
  max-width: var(--max);
  min-height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: min-height 0.2s ease, padding 0.2s ease;
}

.blueprint-header[data-condensed] .blueprint-header__frame { min-height: 56px; }
.blueprint-header[data-condensed] .brandmark { font-size: 18px; }
.blueprint-header[data-condensed] .timestamp-capsule { opacity: 0.82; }

.blueprint-header__brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.brandmark {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--indigo);
  transition: color 0.16s ease, font-size 0.2s ease;
}
.brandmark:hover { color: var(--sky); }

.brandmark__section {
  white-space: nowrap;
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--sky);
}

.site-nav { min-width: 0; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
}

.site-nav__item { white-space: nowrap; }

.site-nav__link {
  display: inline-block;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  font-size: 15px;
  font-weight: 500;
  color: rgba(20, 32, 74, 0.82);
  transition: color 0.16s ease, border-color 0.16s ease;
}
.site-nav__link:hover { color: var(--sky); }
.site-nav__link[aria-current="page"] {
  color: var(--indigo);
  font-weight: 700;
  border-bottom-color: var(--gold);
}

.site-nav__close { display: none; }

.blueprint-header__tools {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.lang-switch__tag {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: rgba(20, 32, 74, 0.66);
  transition: background-color 0.12s ease, color 0.12s ease;
}
.lang-switch__tag:hover { color: var(--indigo); }
.lang-switch__tag[aria-pressed="true"] { background: var(--indigo); color: var(--warm); }

.timestamp-capsule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--indigo);
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.timestamp-capsule__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(18, 181, 201, 0.18);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--indigo);
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.nav-toggle__bars {
  position: relative;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-toggle__label { line-height: 1; }
.nav-toggle[aria-expanded="true"] {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--warm);
}

.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(20, 32, 74, 0.45);
}

/* ---------- 14. 页脚 ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #14204A 0%, #101A3D 100%);
  color: var(--warm);
}

.rainbow-rule {
  display: block;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--sky) 0 20%,
    #FDFBF6 20% 40%,
    var(--flag-red) 40% 60%,
    var(--flag-green) 60% 80%,
    var(--flag-yellow) 80% 100%
  );
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr;
  gap: clamp(22px, 3vw, 40px);
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 80px) var(--gutter) clamp(28px, 3vw, 44px);
}

.footer-brand__name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--warm);
}
.footer-brand__lede {
  margin-top: 12px;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--on-dark);
}
.footer-brand__meta {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

.footer-col__title {
  margin-bottom: 16px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
}
.footer-col__list a {
  color: var(--on-dark);
  border-bottom: 1px solid transparent;
  transition: color 0.14s ease, border-color 0.14s ease;
}
.footer-col__list a:hover { color: var(--warm); border-bottom-color: var(--gold); }

.footer-col__list--plain li {
  line-height: 1.6;
  color: var(--on-dark);
}

.footer-label {
  display: block;
  margin-bottom: 2px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(253, 251, 246, 0.5);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  max-width: var(--max);
  margin-inline: auto;
  padding: 18px var(--gutter) 34px;
  border-top: 1px solid rgba(253, 251, 246, 0.16);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(253, 251, 246, 0.6);
}

/* ---------- 15. 显现动效 ---------- */
[data-reveal].is-pending {
  opacity: 0;
  transform: translateY(14px);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ---------- 16. 响应式：平板与手机 ---------- */
@media (max-width: 1080px) {
  .blueprint-header__frame {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand toggle"
      "tools tools";
    row-gap: 10px;
    min-height: 0;
    padding-block: 10px;
  }
  .blueprint-header[data-condensed] .blueprint-header__frame {
    min-height: 0;
    padding-block: 6px;
  }

  .blueprint-header__brand { grid-area: brand; flex-wrap: wrap; }
  .blueprint-header__tools {
    grid-area: tools;
    justify-self: start;
    flex-wrap: wrap;
    gap: 10px;
  }
  .nav-toggle { grid-area: toggle; display: inline-flex; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    width: min(360px, 86vw);
    padding: 88px 24px 32px;
    overflow-y: auto;
    background: var(--warm);
    border-left: 1px solid var(--line-strong);
    transform: translateX(102%);
    transition: transform 0.3s ease;
  }
  .site-nav[data-open] {
    transform: translateX(0);
    box-shadow: -24px 0 60px -30px rgba(20, 32, 74, 0.6);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav__item { white-space: normal; border-bottom: 1px solid var(--line); }
  .site-nav__link {
    display: block;
    padding: 15px 6px;
    border-bottom: 0;
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
  }
  .site-nav__link[aria-current="page"] {
    border-bottom: 0;
    color: var(--indigo);
  }
  .site-nav__link[aria-current="page"]::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--gold);
    vertical-align: middle;
  }

  .site-nav__close {
    display: block;
    position: absolute;
    top: 22px;
    right: 22px;
    padding: 8px 15px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.05em;
    color: var(--indigo);
  }
  .site-nav__close:hover { background: rgba(44, 143, 216, 0.08); }

  .nav-scrim { display: block; }
  .nav-scrim[hidden] { display: none; }

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

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

@media (max-width: 900px) {
  .blueprint-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 6; }
  .col-start-2, .col-start-3, .col-start-4, .col-start-7 { grid-column-start: auto; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .brandmark { font-size: 18px; }
  .brandmark__section { font-size: 11.5px; }
  .timestamp-capsule { font-size: 11.5px; padding: 6px 12px; }
  .site-footer__inner { padding-top: 40px; }
}

@media (max-width: 520px) {
  :root { --gutter: 18px; --r-lg: 22px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .blueprint-header__tools { flex-direction: column; align-items: flex-start; }
  .lang-switch { align-self: flex-start; }
}

/* ---------- 17. 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .h-rail { scroll-snap-type: none; }
  [data-reveal].is-pending { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}
