/* ============================================================
   月博登录中心 · 共享样式 /assets/site.css
   轨道式布局 · 玻璃与实色并置 · 自然矿物色体系
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #0E2A47;
}

body,
h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }

:focus-visible {
  outline: 2px solid #FF6A2B;
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- 2. Tokens ---------- */
:root {
  --c-deep: #0E2A47;
  --c-star: #1B4C7E;
  --c-ink: #101C29;
  --c-silver: #D9DEE4;
  --c-mist: #F2F5F8;
  --c-signal: #FF6A2B;
  --c-rock: #6E7378;
  --c-moss: #4F6B52;
  --c-clay: #B05C3B;
  --c-teal: #2E8C86;
  --c-cream: #F6F2E9;

  --ink-soft: rgba(16, 28, 41, .72);
  --ink-faint: rgba(16, 28, 41, .52);
  --line: rgba(16, 28, 41, .14);
  --line-light: rgba(217, 222, 228, .16);
  --cream-soft: rgba(246, 242, 233, .78);
  --cream-faint: rgba(246, 242, 233, .55);

  --rail-w: 88px;
  --header-h: 92px;
  --header-h-scrolled: 66px;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Noto Sans Mono CJK SC", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-card: 0 22px 50px -34px rgba(16, 28, 41, .55);
  --shadow-plaque: 0 12px 30px -22px rgba(16, 28, 41, .5);
}

/* ---------- 3. Base typography ---------- */
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.85;
  color: var(--c-ink);
  background: var(--c-mist);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (min-width: 901px) {
  body { padding-left: var(--rail-w); }
}

.display {
  font-weight: 900;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.h1 { font-weight: 900; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.16; letter-spacing: -0.015em; }
.h2 { font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.32; letter-spacing: -0.01em; }
.h3 { font-weight: 700; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; }
.lede { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.8; color: var(--ink-soft); max-width: 60ch; }
.mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-rock);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--c-signal); flex: 0 0 auto; }
.annotation {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-rock);
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- 4. Skip link ---------- */
.skip-link {
  position: fixed;
  left: 14px; top: 14px;
  z-index: 300;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--c-signal);
  color: var(--c-deep);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform .22s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 5. 品牌轨道 ---------- */
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-w);
  z-index: 70;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 30px;
  background: var(--c-deep);
  border-right: 1px solid var(--line-light);
}
@media (min-width: 901px) { .rail { display: flex; } }

.rail-mark {
  writing-mode: vertical-rl;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .2em;
  color: var(--c-cream);
}
.rail-nav { display: flex; flex: 1 1 auto; align-items: center; }
.rail-list { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.rail-link {
  writing-mode: vertical-rl;
  display: block;
  padding: 0 0 0 12px;
  margin-left: -12px;
  font-size: 13px;
  letter-spacing: .18em;
  color: rgba(217, 222, 228, .55);
  border-left: 1px solid transparent;
  transition: color .24s var(--ease), border-color .24s var(--ease);
}
.rail-link:hover { color: var(--c-cream); }
.rail-link[data-current] { color: var(--c-cream); border-left-color: var(--c-signal); }
.rail-note {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .28em;
  color: rgba(217, 222, 228, .32);
}

/* ---------- 6. 布局容器 ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.container--wide { max-width: 1440px; }

.section { position: relative; padding: clamp(64px, 8vw, 120px) 0; }
.section--mist { background: var(--c-mist); }
.section--cream { background: var(--c-cream); }
.section--deep { background: var(--c-deep); color: var(--c-cream); }
.section--deep .lede { color: var(--cream-soft); }
.section--grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 76, 126, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 76, 126, .055) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.section--deep.section--grid::before {
  background-image:
    linear-gradient(rgba(217, 222, 228, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 222, 228, .07) 1px, transparent 1px);
}
.section > .container { position: relative; z-index: 1; }

.grid { display: grid; gap: clamp(18px, 2vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--asym { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

/* ---------- 7. 内页头部与面包屑 ---------- */
.page-head {
  position: relative;
  background: var(--c-deep);
  color: var(--c-cream);
  padding: calc(var(--header-h) + clamp(30px, 4.5vw, 60px)) 0 clamp(34px, 4vw, 60px);
}
.page-head .lede { color: var(--cream-soft); }
.page-head .eyebrow { color: rgba(217, 222, 228, .7); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(217, 222, 228, .62);
}
.breadcrumb a { transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--c-signal); }
.breadcrumb-sep { opacity: .5; }

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background-color .24s var(--ease), color .24s var(--ease),
              border-color .24s var(--ease), transform .24s var(--ease);
}
.btn--signal { background: var(--c-signal); color: var(--c-deep); }
.btn--signal:hover { background: #ff8147; transform: translateY(-1px); }
.btn--solid { background: var(--c-deep); color: var(--c-cream); }
.btn--solid:hover { background: var(--c-star); }
.btn--ghost { background: rgba(217, 222, 228, .1); border-color: rgba(217, 222, 228, .35); color: var(--c-cream); }
.btn--ghost:hover { background: rgba(217, 222, 228, .2); border-color: var(--c-signal); }
.btn--line { border-color: var(--c-star); color: var(--c-star); background: transparent; }
.btn--line:hover { background: var(--c-star); color: #fff; }

/* ---------- 9. 卡片 / 说明牌 / 标签 ---------- */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.card--solid { background: var(--c-deep); color: var(--c-cream); border-color: var(--line-light); }
.card--star { background: var(--c-star); color: #fff; border-color: transparent; }
.card--cream { background: var(--c-cream); }
.card--glass {
  background: rgba(242, 245, 248, .58);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 18px 44px -30px rgba(16, 28, 41, .62);
}
.card--glass-dark {
  background: rgba(27, 76, 126, .34);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid rgba(217, 222, 228, .26);
  color: var(--c-cream);
}
.card--stage { grid-column: span 2; }
.card--solid .lede,
.card--star .lede,
.card--glass-dark .lede { color: inherit; opacity: .82; }

.plaque {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(246, 242, 233, .94);
  border: 1px solid var(--line);
  border-left: 3px solid var(--c-rock);
  box-shadow: var(--shadow-plaque);
}
.plaque--moss { border-left-color: var(--c-moss); }
.plaque--clay { border-left-color: var(--c-clay); }
.plaque--teal { border-left-color: var(--c-teal); }
.plaque--signal { border-left-color: var(--c-signal); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(27, 76, 126, .1);
  color: var(--c-star);
}
.tag--moss { background: rgba(79, 107, 82, .14); color: var(--c-moss); }
.tag--clay { background: rgba(176, 92, 59, .14); color: var(--c-clay); }
.tag--teal { background: rgba(46, 140, 134, .14); color: var(--c-teal); }
.tag--signal { background: rgba(255, 106, 43, .16); color: #BC4109; }

/* ---------- 10. 指标 ---------- */
.metric { display: flex; flex-direction: column; gap: 8px; }
.metric-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1;
  color: var(--c-deep);
}
.metric-label { font-size: 13.5px; line-height: 1.6; color: var(--c-rock); }
.metric-bar { height: 3px; border-radius: 2px; background: var(--c-silver); overflow: hidden; }
.metric-bar > span { display: block; height: 100%; background: var(--c-teal); }
.card--solid .metric-value,
.card--star .metric-value { color: var(--c-cream); }
.card--solid .metric-label,
.card--star .metric-label { color: var(--cream-faint); }

/* ---------- 11. 表格与折叠说明 ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix { width: 100%; min-width: 560px; font-size: 14.5px; }
.matrix th {
  background: var(--c-star);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 13px 15px;
  white-space: nowrap;
}
.matrix td { padding: 13px 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
.matrix tbody tr:nth-child(even) { background: rgba(217, 222, 228, .26); }
.matrix .mono { color: var(--c-rock); }

.fold { border-top: 1px solid var(--line); padding: 16px 0; }
.fold:last-child { border-bottom: 1px solid var(--line); }
.fold > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after {
  content: "＋";
  font-family: var(--font-mono);
  color: var(--c-signal);
  flex: 0 0 auto;
}
.fold[open] > summary::after { content: "－"; }
.fold-body { padding-top: 12px; max-width: 72ch; color: var(--ink-soft); }

/* ---------- 12. 时间线 ---------- */
.timeline { position: relative; margin-left: 6px; padding-left: 34px; border-left: 1px solid rgba(27, 76, 126, .3); }
.timeline-item { position: relative; padding-bottom: clamp(28px, 3vw, 46px); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 9px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--c-mist);
  border: 2px solid var(--c-star);
}
.timeline-item[data-active]::before { background: var(--c-signal); border-color: var(--c-signal); }
.timeline-year {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  color: var(--c-deep);
}
.section--deep .timeline { border-left-color: var(--line-light); }
.section--deep .timeline-item::before { background: var(--c-deep); border-color: var(--c-silver); }
.section--deep .timeline-year { color: var(--c-cream); }

/* ---------- 13. 正文排版 ---------- */
.prose { max-width: 66ch; font-size: 17px; line-height: 1.85; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-weight: 800; font-size: clamp(22px, 2vw, 28px); line-height: 1.35; margin-top: 1.8em; }
.prose h3 { font-weight: 700; font-size: 19px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul > li { list-style: disc; }
.prose ol > li { list-style: decimal; }
.prose a { color: var(--c-star); border-bottom: 1px solid rgba(27, 76, 126, .35); }
.prose blockquote {
  padding: 3px 0 3px 20px;
  border-left: 3px solid var(--c-signal);
  color: var(--ink-soft);
}
.section--deep .prose { color: var(--cream-soft); }
.section--deep .prose a { color: var(--c-cream); border-bottom-color: rgba(246, 242, 233, .4); }

/* ---------- 14. 图片容器 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--c-star);
  aspect-ratio: 16 / 10;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame > img,
.media-frame > picture > img { width: 100%; height: 100%; object-fit: cover; }
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 42, 71, .3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 42, 71, .3) 1px, transparent 1px);
  background-size: 44px 44px;
  mix-blend-mode: multiply;
  opacity: .5;
  pointer-events: none;
}
.media-frame--halo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 78% 16%, rgba(242, 245, 248, .45), transparent 60%);
  pointer-events: none;
}
.media-caption {
  display: block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-rock);
}

/* ---------- 15. 显现动画 ---------- */
html[data-js] [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
html[data-js] [data-reveal][data-revealed] { opacity: 1; transform: none; }

/* ---------- 16. 头部 ---------- */
.site-header {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 60;
  color: var(--c-cream);
  background: linear-gradient(180deg, rgba(14, 42, 71, .74) 0%, rgba(14, 42, 71, .3) 62%, rgba(14, 42, 71, 0) 100%);
  transition: background-color .32s var(--ease), box-shadow .32s var(--ease);
}
@media (min-width: 901px) {
  .site-header { left: var(--rail-w); }
}
.site-header[data-scrolled] {
  background: rgba(14, 42, 71, .95);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-light), 0 22px 46px -34px rgba(16, 28, 41, .95);
}
.site-header[data-header-solid] {
  background: rgba(14, 42, 71, .95);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-light);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 38px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(18px, 3.6vw, 54px);
  min-height: var(--header-h);
  transition: min-height .3s var(--ease);
}
.site-header[data-scrolled] .header-inner { min-height: var(--header-h-scrolled); }

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--c-star);
  border: 1px solid rgba(217, 222, 228, .3);
  color: var(--c-cream);
  font-size: 18px;
  font-weight: 900;
  flex: 0 0 auto;
}
.brand-text { display: block; }
.brand-name {
  display: block;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--c-cream);
}
.brand-descriptor {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .07em;
  line-height: 1.5;
  color: rgba(217, 222, 228, .72);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  margin-left: auto;
}
.nav-list { display: flex; align-items: center; gap: clamp(2px, .8vw, 12px); }
.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 10px;
  font-size: 15px;
  color: rgba(246, 242, 233, .78);
  transition: color .22s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 3px;
  height: 2px;
  background: var(--c-signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .26s var(--ease);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: #fff; font-weight: 700; }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-aside { display: none; flex-direction: column; gap: 10px; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(217, 222, 228, .12);
  border: 1px solid rgba(217, 222, 228, .3);
  color: var(--c-cream);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; width: 16px; }
.nav-toggle-bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .24s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:last-child { transform: translateY(-3px) rotate(-45deg); }

.read-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--c-signal);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.site-header[data-scrolled] .read-progress { opacity: 1; }

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

/* ---------- 17. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--c-deep);
  color: rgba(246, 242, 233, .84);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(217, 222, 228, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 222, 228, .055) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
}
.site-footer::after {
  content: "";
  position: absolute;
  right: -140px; top: -160px;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 245, 248, .13), transparent 62%);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 64px);
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 104px) clamp(20px, 5vw, 72px) clamp(36px, 4vw, 60px);
}
.footer-brand-line {
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 800;
  line-height: 1.4;
  color: var(--c-cream);
}
.footer-tagline {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--c-signal);
}
.footer-annotation {
  display: block;
  writing-mode: vertical-rl;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .3em;
  color: rgba(217, 222, 228, .34);
}

.footer-heading {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(217, 222, 228, .6);
}
.footer-nav-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.footer-nav-list a {
  font-size: 15px;
  color: rgba(246, 242, 233, .82);
  transition: color .22s var(--ease);
}
.footer-nav-list a:hover { color: var(--c-signal); }

.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-list li { display: flex; flex-direction: column; gap: 3px; }
.footer-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: rgba(217, 222, 228, .55);
}
.footer-value { font-size: 15px; line-height: 1.7; color: rgba(246, 242, 233, .9); }
.footer-value--mono { font-family: var(--font-mono); letter-spacing: .04em; }
.footer-service-note {
  margin-top: 18px;
  padding-left: 14px;
  border-left: 2px solid rgba(255, 106, 43, .6);
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(217, 222, 228, .62);
}

.footer-base {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px clamp(20px, 5vw, 72px) 30px;
  border-top: 1px solid var(--line-light);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(217, 222, 228, .6);
}

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1100px) {
  .header-cta-secondary { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 76px; --header-h-scrolled: 60px; }
  .site-header { left: 0; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand-descriptor { display: none; }

  .primary-nav {
    position: fixed;
    left: 12px; right: 12px; bottom: 12px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    margin-left: 0;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    border-radius: 26px;
    border: 1px solid rgba(217, 222, 228, .2);
    background: rgba(14, 42, 71, .98);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 34px 76px -34px rgba(16, 28, 41, .95);
    transform: translateY(calc(100% + 30px));
    opacity: 0;
    visibility: hidden;
    transition: transform .34s var(--ease), opacity .3s var(--ease), visibility .34s linear;
  }
  .primary-nav[data-open] { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    display: block;
    padding: 15px 10px;
    font-size: 17px;
    border-bottom: 1px solid rgba(217, 222, 228, .12);
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--c-signal); }
  .nav-aside { display: flex; margin-top: 16px; }

  .grid--2, .grid--3, .grid--asym, .grid--12 { grid-template-columns: minmax(0, 1fr); }
  .card--stage { grid-column: span 1; }
  .span-4, .span-5, .span-7, .span-8, .span-12 { grid-column: span 1; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-annotation { writing-mode: horizontal-tb; margin-top: 18px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .footer-nav-list { grid-template-columns: minmax(0, 1fr); }
  .brand-mark { width: 36px; height: 36px; font-size: 16px; }
  .nav-toggle-label { display: none; }
}

/* ---------- 19. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html[data-js] [data-reveal] { opacity: 1; transform: none; }
  .read-progress { transition: none; }
}
