/* ============================================================
   经典K8 · 认证档案室 Site Kit
   /assets/site.css — reset / 变量 / 中文排版 / 头部 / 页脚 / 通用组件
   ============================================================ */

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

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

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

ul, ol { list-style: none; }

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

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

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

[hidden] { display: none !important; }

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 色彩 */
  --ink-blue: #0B1B2B;
  --archive-blue: #123247;
  --paper: #F3EDE3;
  --paper-deep: #E6DDCE;
  --gold: #C8A04A;
  --gold-light: #E6C87A;
  --gold-deep: #9C7A2E;
  --cinnabar: #BF3B2B;
  --teal: #1F5C55;
  --wine: #5A1F2B;
  --indigo: #2B2A5A;
  --ink: #101820;
  --ink-soft: #3E4A55;
  --ink-muted: #6B7681;

  /* 尺度 */
  --rail-w: clamp(228px, 19vw, 268px);
  --wrap-max: 1180px;
  --gutter: clamp(18px, 3.6vw, 54px);
  --stack: clamp(18px, 2.6vw, 30px);

  /* 字体 */
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", "Times New Roman", serif;
  --font-body: "Noto Sans SC", "HarmonyOS Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 形状与质感 */
  --radius-plate: 6px;
  --radius-pill: 999px;
  --line-gold: rgba(200, 160, 74, 0.34);
  --line-light: rgba(243, 237, 227, 0.16);
  --shadow-plate: 0 22px 44px -26px rgba(6, 16, 26, 0.85);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --focus-ring: #BF3B2B;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--paper);
  background-image:
    radial-gradient(120% 80% at 100% 0%, rgba(200, 160, 74, 0.07), transparent 60%),
    repeating-linear-gradient(0deg, rgba(16, 24, 32, 0.018) 0 1px, transparent 1px 3px);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.78;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: #14100a; }

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

p { text-wrap: pretty; }

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

.site-header :focus-visible,
.site-footer :focus-visible { --focus-ring: var(--gold-light); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- 4. 跳转与进度 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-220%);
  padding: 10px 18px;
  border-radius: 2px;
  background: linear-gradient(160deg, var(--gold-light), var(--gold) 60%, var(--gold-deep));
  color: #171104;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.7);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus { transform: translateY(0); }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 120;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold) 40%, var(--gold-light));
  box-shadow: 0 0 14px rgba(230, 200, 122, 0.55);
  pointer-events: none;
}

/* ---------- 5. 页头：侧边档案轨道 ---------- */
.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 60;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(31, 92, 85, 0.28), transparent 58%),
    linear-gradient(180deg, #0B1B2B 0%, #0D2434 50%, #091620 100%);
  color: var(--paper);
  border-right: 1px solid var(--line-gold);
  box-shadow: 18px 0 46px -34px rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(200, 160, 74, 0), var(--gold) 45%, var(--gold-light) 70%, rgba(200, 160, 74, 0));
  pointer-events: none;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(200, 160, 74, 0.2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--paper);
}

.seal {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #231903;
  background: radial-gradient(circle at 32% 26%, #F2DFAC, var(--gold) 56%, var(--gold-deep) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    inset 0 0 0 4px rgba(11, 27, 43, 0.12),
    0 8px 16px -10px rgba(0, 0, 0, 0.9);
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.1em;
  color: var(--paper);
}

.brand-tag {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  opacity: 0.88;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid rgba(200, 160, 74, 0.45);
  border-radius: 2px;
  color: var(--gold-light);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-toggle:hover { background: rgba(200, 160, 74, 0.14); }

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 17px;
  height: 14px;
}

.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s linear;
}

.nav-toggle__text {
  font-size: 11px;
  letter-spacing: 0.2em;
}

.site-header[data-open] .nav-toggle__bars span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.site-header[data-open] .nav-toggle { background: rgba(200, 160, 74, 0.2); border-color: var(--gold); }

.site-nav {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 26px;
}

.nav-kicker {
  margin-bottom: 12px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(243, 237, 227, 0.42);
}

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

.nav-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 10px 11px 12px;
  border-left: 2px solid transparent;
  color: rgba(243, 237, 227, 0.78);
  transition: color 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease);
}

.nav-link:hover {
  color: var(--gold-light);
  background: rgba(200, 160, 74, 0.09);
  border-left-color: rgba(200, 160, 74, 0.55);
}

.nav-link[aria-current="page"] {
  color: var(--gold-light);
  border-left-color: var(--gold);
  background: linear-gradient(90deg, rgba(200, 160, 74, 0.2), rgba(200, 160, 74, 0) 92%);
}

.nav-link__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gold);
  opacity: 0.72;
}

.nav-link__label {
  font-size: 15px;
  letter-spacing: 0.06em;
}

.rail-foot {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(200, 160, 74, 0.22);
}

.rail-cta { width: 100%; }

.rail-note {
  font-size: 11.5px;
  line-height: 1.65;
  letter-spacing: 0.04em;
  color: rgba(243, 237, 227, 0.5);
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), background 0.24s var(--ease), color 0.24s var(--ease), border-color 0.24s var(--ease);
}

.btn--gold {
  color: #241a04;
  background: linear-gradient(160deg, var(--gold-light), var(--gold) 58%, var(--gold-deep));
  box-shadow: 0 12px 24px -16px rgba(230, 200, 122, 0.95);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -16px rgba(230, 200, 122, 0.95);
}

.btn--ghost {
  color: var(--gold-light);
  border-color: rgba(200, 160, 74, 0.55);
  background: rgba(200, 160, 74, 0.07);
}

.btn--ghost:hover {
  background: rgba(200, 160, 74, 0.18);
  border-color: var(--gold);
}

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

/* ---------- 7. 页脚：铭牌层 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 110px);
  background:
    radial-gradient(110% 80% at 8% 0%, rgba(31, 92, 85, 0.22), transparent 55%),
    radial-gradient(90% 70% at 100% 0%, rgba(43, 42, 90, 0.28), transparent 60%),
    linear-gradient(180deg, #0F2A3D 0%, #0B1B2B 46%, #081320 100%);
  color: var(--paper);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(243, 237, 227, 0.022) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

.foot-rule {
  position: relative;
  display: block;
  height: 3px;
  background: linear-gradient(90deg, rgba(200, 160, 74, 0), var(--gold) 26%, var(--gold-light) 50%, var(--gold) 74%, rgba(200, 160, 74, 0));
}

.foot-wrap {
  position: relative;
  padding-top: clamp(34px, 5vw, 64px);
  padding-bottom: 6px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.65fr repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 52px);
}

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

.brand--foot .brand-name { font-size: 21px; }
.brand--foot .seal { width: 46px; height: 46px; }

.foot-brand__line {
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: rgba(243, 237, 227, 0.74);
}

.foot-brand__note {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: rgba(200, 160, 74, 0.82);
}

.foot-col__title {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.foot-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.foot-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: rgba(243, 237, 227, 0.72);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.foot-link:hover {
  color: var(--gold-light);
  border-bottom-color: rgba(200, 160, 74, 0.55);
  padding-left: 5px;
}

.plate {
  position: relative;
  margin-top: clamp(30px, 4.5vw, 54px);
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(200, 160, 74, 0.34);
  border-radius: var(--radius-plate);
  background: linear-gradient(150deg, rgba(18, 50, 71, 0.94), rgba(9, 22, 34, 0.94));
  box-shadow: var(--shadow-plate);
}

.plate::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(200, 160, 74, 0.16);
  border-radius: 3px;
  pointer-events: none;
}

.plate__label {
  margin-bottom: 16px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.plate__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 4px 30px;
}

.plate__item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(200, 160, 74, 0.2);
}

.plate__key {
  min-width: 36px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: rgba(243, 237, 227, 0.5);
}

.plate__val {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--paper);
  word-break: break-all;
}

.copy-btn {
  margin-left: auto;
  padding: 5px 10px;
  border: 1px solid rgba(200, 160, 74, 0.45);
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.copy-btn:hover { background: rgba(200, 160, 74, 0.18); }

.copy-btn[data-copied="true"] {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  color: var(--paper);
}

.copy-btn[data-copied="false"] {
  border-color: rgba(243, 237, 227, 0.4);
  color: rgba(243, 237, 227, 0.75);
}

.plate__note {
  margin-top: 16px;
  max-width: 78ch;
  font-size: 12px;
  line-height: 1.75;
  color: rgba(243, 237, 227, 0.55);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  margin-top: clamp(22px, 3.6vw, 38px);
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  font-size: 12px;
  color: rgba(243, 237, 227, 0.55);
}

.foot-bottom__meta { letter-spacing: 0.06em; }

.foot-icp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ---------- 8. 通用布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

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

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

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

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack);
}

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--line-gold), rgba(200, 160, 74, 0));
}

/* ---------- 9. 通用文字 ---------- */
.display {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 68px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.display--light { color: var(--paper); }

.lede {
  max-width: 56ch;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.82;
  color: var(--ink-soft);
}

.lede--light { color: rgba(243, 237, 227, 0.8); }

.note {
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-muted);
}

.note--light { color: rgba(243, 237, 227, 0.62); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cinnabar);
}

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

.eyebrow--gold { color: var(--gold); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid rgba(200, 160, 74, 0.5);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--gold-deep);
  background: rgba(200, 160, 74, 0.1);
}

.badge--red {
  border-color: rgba(191, 59, 43, 0.45);
  color: var(--cinnabar);
  background: rgba(191, 59, 43, 0.09);
}

.badge--teal {
  border-color: rgba(31, 92, 85, 0.45);
  color: var(--teal);
  background: rgba(31, 92, 85, 0.1);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid rgba(16, 24, 32, 0.18);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  background: rgba(243, 237, 227, 0.6);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.tag:hover { border-color: var(--gold); color: var(--ink); }

.tag[aria-pressed="true"] {
  background: var(--ink-blue);
  border-color: var(--ink-blue);
  color: var(--gold-light);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: rgba(16, 24, 32, 0.3); }
.crumbs a { transition: color 0.2s var(--ease); }
.crumbs a:hover { color: var(--cinnabar); }

.prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.prose h2 {
  margin: 2.1em 0 0.7em;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--ink);
}

.prose h3 {
  margin: 1.7em 0 0.55em;
  font-size: clamp(18px, 1.8vw, 21px);
  color: var(--ink);
}

.prose p + p { margin-top: 1em; }

.prose ul,
.prose ol {
  margin: 1em 0;
  padding-left: 1.3em;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.45em; }

.prose a {
  color: var(--cinnabar);
  border-bottom: 1px solid rgba(191, 59, 43, 0.35);
}

/* ---------- 10. 图片容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-plate);
  background: linear-gradient(150deg, var(--archive-blue), var(--ink-blue));
  box-shadow: var(--shadow-plate);
}

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 27, 43, 0) 44%, rgba(11, 27, 43, 0.62) 100%);
  pointer-events: none;
}

.media--plain::after { content: none; }

.media--wide { aspect-ratio: 21 / 9; }

.media--plate {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(200, 160, 74, 0.34);
}

.media--square { aspect-ratio: 1 / 1; }

.media__caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243, 237, 227, 0.82);
}

/* ---------- 11. 色块分区 ---------- */
.surface {
  padding: clamp(22px, 3vw, 40px);
  border-radius: var(--radius-plate);
}

.surface--paper {
  background: var(--paper);
  border: 1px solid rgba(16, 24, 32, 0.1);
  color: var(--ink);
}

.surface--archive {
  background: linear-gradient(155deg, var(--archive-blue), var(--ink-blue));
  border: 1px solid var(--line-gold);
  color: var(--paper);
}

.surface--teal {
  background: linear-gradient(155deg, var(--teal), #123B3A);
  color: var(--paper);
}

.surface--wine {
  background: linear-gradient(155deg, var(--wine), #3A1219);
  color: var(--paper);
}

.surface--archive .display,
.surface--archive h2,
.surface--archive h3,
.surface--teal .display,
.surface--teal h2,
.surface--teal h3,
.surface--wine .display,
.surface--wine h2,
.surface--wine h3 { color: var(--paper); }

/* ---------- 12. 显现 ---------- */
html.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
}

html.has-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 13. 响应式 ---------- */
@media (min-width: 901px) {
  body { padding-left: var(--rail-w); }

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

@media (max-width: 900px) {
  html { scroll-padding-top: 92px; }

  .site-header {
    position: sticky;
    top: 0;
    inset: auto;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 13px var(--gutter);
    border-right: 0;
    border-bottom: 1px solid rgba(200, 160, 74, 0.32);
    overflow: visible;
    box-shadow: 0 14px 30px -24px rgba(0, 0, 0, 0.9);
  }

  .site-header::before { height: 3px; }

  .masthead {
    flex: 1 1 auto;
    padding-bottom: 0;
    border-bottom: 0;
    gap: 16px;
  }

  .seal { width: 36px; height: 36px; font-size: 12px; }
  .brand-name { font-size: 16px; letter-spacing: 0.08em; }
  .brand-tag { font-size: 9.5px; }

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

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(340px, 86vw);
    z-index: 90;
    margin-top: 0;
    padding: 92px 24px 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      radial-gradient(120% 60% at 0% 0%, rgba(31, 92, 85, 0.3), transparent 58%),
      linear-gradient(180deg, #0B1B2B, #071320);
    border-right: 1px solid var(--line-gold);
    box-shadow: 30px 0 60px -30px rgba(0, 0, 0, 0.9);
    transform: translateX(-104%);
    visibility: hidden;
    transition: transform 0.38s var(--ease), visibility 0.38s linear;
  }

  .site-header[data-open] .site-nav {
    transform: translateX(0);
    visibility: visible;
  }

  .site-header[data-open]::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(8, 18, 28, 0.62);
    pointer-events: none;
  }

  .nav-link { padding: 13px 10px 13px 14px; }
  .nav-link__label { font-size: 16px; }

  .rail-foot { margin-top: 28px; }

  body.nav-open { overflow: hidden; }

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

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

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

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

  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 480px) {
  .brand-tag { display: none; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .plate__val { font-size: 12.5px; }
}

/* ---------- 14. 降低动态偏好 ---------- */
@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;
  }

  html.has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .scroll-progress { display: none; }
}

/* ---------- 15. 打印 ---------- */
@media print {
  .site-header,
  .site-footer,
  .scroll-progress,
  .skip-link { display: none !important; }

  body {
    padding-left: 0 !important;
    background: #fff;
    color: #000;
    font-size: 12pt;
  }
}
