/* ============================================================
   9397威利斯 · 共享站点样式 /assets/site.css
   深海军蓝基底 + 电光青索引 + 琥珀橙行动 + 奶油米白阅读区
   ============================================================ */

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

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

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

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

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

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

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

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

h1, h2, h3, h4, h5, h6 { font-weight: 700; }

/* ---------- 设计令牌 ---------- */
:root {
  /* 色彩 */
  --c-navy:   #071A2B;
  --c-bridge: #0E2A44;
  --c-cream:  #F6E9D2;
  --c-mist:   #D9E2E8;
  --c-cyan:   #35E0E0;
  --c-teal:   #1FA7B8;
  --c-amber:  #FFA23A;
  --c-ember:  #C24A2B;
  --c-ember-soft: #E88C74;
  --c-ink:    #1B1410;
  --c-paper:  #FFFFFF;

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

  /* 字号 */
  --step--1: 0.8125rem;
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1:  1.25rem;
  --step-2:  clamp(1.375rem, 1.15rem + 0.9vw, 1.75rem);
  --step-3:  clamp(2rem, 1.5rem + 2vw, 2.75rem);
  --step-4:  clamp(3rem, 1.8rem + 4vw, 4.75rem);

  /* 版式 */
  --max: 1320px;
  --gutter: 24px;
  --edge: clamp(18px, 4vw, 56px);
  --read: 72ch;

  /* 形状 */
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 26px;
  --radius-pill: 999px;

  /* 线条与阴影 */
  --hairline: 1px solid rgba(246, 233, 210, 0.13);
  --shadow-soft: 0 18px 40px -30px rgba(0, 0, 0, 0.9);

  /* 动效 */
  --dur: 200ms;
  --dur-slow: 260ms;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ---------- 中文排版基线 ---------- */
body {
  min-height: 100vh;
  background-color: var(--c-navy);
  background-image:
    radial-gradient(120% 80% at 82% -12%, rgba(53, 224, 224, 0.09), transparent 58%),
    radial-gradient(90% 70% at -8% 24%, rgba(255, 162, 58, 0.06), transparent 62%);
  background-repeat: no-repeat;
  color: var(--c-cream);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--c-paper);
  text-wrap: balance;
}

h1 { font-size: var(--step-4); font-weight: 800; line-height: 1.08; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); line-height: 1.2; }
h4 { font-size: var(--step-1); line-height: 1.3; }

p { text-wrap: pretty; }

strong, b { font-weight: 500; color: var(--c-paper); }

[id] { scroll-margin-top: 108px; }

::selection {
  background: var(--c-cyan);
  color: var(--c-navy);
}

/* ---------- 可访问性 ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  transform: translateY(-240%);
  padding: 0.7em 1.15em;
  background: var(--c-cyan);
  color: var(--c-navy);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  border-radius: var(--radius-s);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.85);
  transition: transform 160ms var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--c-amber);
  outline-offset: 2px;
}

/* ============================================================
   页头
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 26, 43, 0.93);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  border-bottom: 1px solid rgba(53, 224, 224, 0.18);
  color: var(--c-cream);
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.site-header[data-scrolled] {
  background: rgba(7, 26, 43, 0.985);
  box-shadow: 0 26px 46px -38px rgba(0, 0, 0, 0.95);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 30px);
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 0.7rem var(--edge);
  min-height: 76px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  padding: 0.25rem 0.25rem 0.25rem 0;
  border-radius: var(--radius-s);
}

.brand__mark {
  display: inline-block;
  padding: 0.42em 0.5em;
  background: var(--c-cyan);
  color: var(--c-navy);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  border-radius: var(--radius-s);
  box-shadow: 0 6px 18px -12px rgba(53, 224, 224, 0.95);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.brand__lines {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.2;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-paper);
  white-space: nowrap;
}

.brand__meta {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  color: var(--c-teal);
  white-space: nowrap;
}

.brand:hover .brand__mark,
.brand:focus-visible .brand__mark {
  background: var(--c-amber);
  color: var(--c-navy);
}

/* 悬浮胶囊导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 18px);
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.28rem;
  counter-reset: navidx;
  background: rgba(14, 42, 68, 0.86);
  border: 1px solid rgba(246, 233, 210, 0.12);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-nav__item {
  display: flex;
  counter-increment: navidx;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.42em 0.8em;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(246, 233, 210, 0.82);
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.site-nav__link::before {
  content: counter(navidx, decimal-leading-zero);
  margin-right: 0.55em;
  font-family: var(--font-mono);
  font-size: 0.6em;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(53, 224, 224, 0.72);
  transition: color var(--dur) var(--ease);
}

.site-nav__link:hover {
  color: var(--c-paper);
  background: rgba(53, 224, 224, 0.1);
}

.site-nav__link:hover::before { color: var(--c-amber); }

.site-nav__link[aria-current="page"] {
  color: var(--c-navy);
  background: var(--c-cyan);
  box-shadow: 0 8px 20px -14px var(--c-cyan);
}

.site-nav__link[aria-current="page"]::before {
  color: rgba(7, 26, 43, 0.62);
}

.site-nav__cta {
  flex: 0 0 auto;
  font-size: 0.86rem;
}

/* 移动目录按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  min-height: 44px;
  padding: 0.5rem 0.95rem;
  background: rgba(14, 42, 68, 0.92);
  border: 1px solid rgba(53, 224, 224, 0.34);
  border-radius: var(--radius-pill);
  color: var(--c-cream);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

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

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

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-cyan);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] { border-color: var(--c-amber); }

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child {
  transform: translateY(3px) rotate(45deg);
  background: var(--c-amber);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child {
  transform: translateY(-3px) rotate(-45deg);
  background: var(--c-amber);
}

.nav-toggle__text { line-height: 1; }

/* 阅读进度尺 */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(53, 224, 224, 0.12);
  overflow: hidden;
  pointer-events: none;
}

.scroll-meter__fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-teal) 58%, var(--c-amber));
  transition: transform 140ms linear;
}

/* ============================================================
   通用按钮、标签、徽记
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.6em 1.25em;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-align: center;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.btn--amber {
  background: var(--c-amber);
  color: var(--c-navy);
  box-shadow: 0 14px 28px -20px rgba(255, 162, 58, 0.95);
}

.btn--amber:hover {
  background: #FFB45C;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(246, 233, 210, 0.3);
  color: var(--c-cream);
}

.btn--ghost:hover {
  border-color: var(--c-cyan);
  color: var(--c-cyan);
  background: rgba(53, 224, 224, 0.08);
}

.btn--cyan {
  background: var(--c-cyan);
  color: var(--c-navy);
}

.btn--cyan:hover { background: #6BEBEB; }

.btn:active { transform: translateY(0); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.3em 0.72em;
  border: 1px solid rgba(53, 224, 224, 0.4);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.5;
  color: var(--c-cyan);
  white-space: nowrap;
}

.tag--amber {
  border-color: rgba(255, 162, 58, 0.5);
  color: var(--c-amber);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.42em;
  padding: 0.26em 0.6em;
  border: 1px solid rgba(53, 224, 224, 0.32);
  border-radius: var(--radius-s);
  background: rgba(53, 224, 224, 0.14);
  color: var(--c-cyan);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.badge--amber {
  background: rgba(255, 162, 58, 0.14);
  border-color: rgba(255, 162, 58, 0.36);
  color: var(--c-amber);
}

.badge--ember {
  background: rgba(194, 74, 43, 0.18);
  border-color: rgba(194, 74, 43, 0.46);
  color: var(--c-ember-soft);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.88em;
  letter-spacing: 0.04em;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-amber);
  box-shadow: 0 0 0 3px rgba(255, 162, 58, 0.18);
  flex: 0 0 auto;
}

/* ============================================================
   版式容器
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--edge);
}

.container--tight { max-width: 980px; }

.grid {
  display: grid;
  gap: var(--gutter);
  grid-template-columns: minmax(0, 1fr);
}

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

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg,
    rgba(53, 224, 224, 0.55),
    rgba(246, 233, 210, 0.14) 46%,
    transparent 96%);
}

.section-head {
  display: grid;
  gap: 0.65rem;
  padding-bottom: 1.05rem;
  margin-bottom: clamp(22px, 3.6vw, 42px);
  border-bottom: var(--hairline);
}

.section-head__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

.section-head__title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.16;
  color: var(--c-paper);
}

.section-head__note {
  max-width: 62ch;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(246, 233, 210, 0.72);
}

/* 长文阅读栏 */
.prose {
  max-width: var(--read);
  font-size: clamp(1.02rem, 1rem + 0.25vw, 1.08rem);
  line-height: 1.85;
  color: rgba(246, 233, 210, 0.86);
}

.prose > * + * { margin-top: 1.1em; }

.prose h2,
.prose h3,
.prose h4 {
  margin-top: 2em;
  margin-bottom: 0.6em;
}

.prose strong { color: var(--c-paper); font-weight: 500; }

.prose a {
  color: var(--c-cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  transition: color var(--dur) var(--ease);
}

.prose a:hover { color: var(--c-amber); }

.prose ul,
.prose ol {
  display: grid;
  gap: 0.5em;
  margin-top: 1em;
}

.prose ul li {
  position: relative;
  padding-left: 1.15em;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 1px;
  background: var(--c-amber);
}

.prose ol {
  counter-reset: proseol;
  padding-left: 0;
}

.prose ol li {
  position: relative;
  padding-left: 2em;
  counter-increment: proseol;
}

.prose ol li::before {
  content: counter(proseol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.2em;
  font-family: var(--font-mono);
  font-size: 0.72em;
  letter-spacing: 0.06em;
  color: var(--c-teal);
}

.prose code {
  padding: 0.1em 0.4em;
  border-radius: 4px;
  background: rgba(53, 224, 224, 0.1);
  color: var(--c-cyan);
  font-family: var(--font-mono);
  font-size: 0.88em;
}

.prose blockquote {
  padding: 0.2em 0 0.2em 1.1em;
  border-left: 2px solid var(--c-amber);
  color: rgba(246, 233, 210, 0.78);
}

.prose--light { color: rgba(27, 20, 16, 0.82); }
.prose--light h2,
.prose--light h3,
.prose--light h4,
.prose--light strong { color: var(--c-ink); }
.prose--light ul li::before { background: var(--c-ember); }
.prose--light ol li::before { color: var(--c-ember); }
.prose--light a { color: #0B5C6E; }
.prose--light a:hover { color: var(--c-ember); }
.prose--light code { background: rgba(14, 42, 68, 0.1); color: #0B4E62; }

/* 面包屑 */
.breadcrumb {
  padding: 0.9rem 0 1.35rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  color: rgba(246, 233, 210, 0.6);
}

.breadcrumb li { display: inline-flex; align-items: center; }

.breadcrumb li + li::before {
  content: "›";
  margin-right: 0.5em;
  color: var(--c-teal);
}

.breadcrumb a {
  color: rgba(246, 233, 210, 0.8);
  transition: color var(--dur) var(--ease);
}

.breadcrumb a:hover { color: var(--c-cyan); }

.breadcrumb [aria-current="page"] { color: var(--c-cyan); }

/* 卡片 */
.card {
  padding: clamp(18px, 2.4vw, 28px);
  background: rgba(14, 42, 68, 0.66);
  border: 1px solid rgba(246, 233, 210, 0.13);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
}

.card--paper {
  background: var(--c-cream);
  border-color: rgba(27, 20, 16, 0.12);
  color: var(--c-ink);
}

/* 图片容器（页面阶段放置 <img> 或占位） */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(246, 233, 210, 0.12);
  border-radius: var(--radius-m);
  background:
    linear-gradient(150deg, #123353 0%, #0A2036 58%, #0E2A44 100%);
}

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(246, 233, 210, 0.11) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.45;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.media--1x1 { aspect-ratio: 1 / 1; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--portrait { aspect-ratio: 3 / 4; }

.media__caption {
  margin-top: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: rgba(217, 226, 232, 0.72);
}

/* 分段切换（标签页） */
.tabs {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.32rem;
  background: rgba(14, 42, 68, 0.82);
  border: 1px solid rgba(246, 233, 210, 0.12);
  border-radius: var(--radius-pill);
}

.tabs__tab {
  min-height: 44px;
  padding: 0.45em 1.05em;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(246, 233, 210, 0.78);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.tabs__tab:hover { color: var(--c-paper); background: rgba(53, 224, 224, 0.1); }

.tabs__tab[aria-selected="true"] {
  background: var(--c-cyan);
  color: var(--c-navy);
}

.tabs__panel[hidden] { display: none; }

/* 入场 */
[data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}

[data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(72px, 10vw, 150px);
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(53, 224, 224, 0.13), transparent 58%),
    radial-gradient(90% 70% at 4% 112%, rgba(255, 162, 58, 0.1), transparent 62%),
    var(--c-bridge);
  color: var(--c-cream);
  border-top: 1px solid rgba(53, 224, 224, 0.2);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 4px;
  width: min(46%, 620px);
  background: linear-gradient(90deg, var(--c-cyan) 0 62%, var(--c-amber) 62% 100%);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: clamp(26px, 4vw, 52px);
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(42px, 6vw, 76px) var(--edge) clamp(30px, 4vw, 46px);
}

.site-footer__ledger {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.site-footer__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--c-paper);
  max-width: 17ch;
}

.site-footer__summary {
  max-width: 38ch;
  font-size: 0.94rem;
  line-height: 1.8;
  color: rgba(246, 233, 210, 0.72);
}

.site-footer__cta {
  justify-self: start;
  margin-top: 0.35rem;
  font-size: 0.88rem;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
  align-content: start;
  padding-top: 0.35rem;
}

.foot-col { min-width: 0; }

.foot-col__title {
  margin-bottom: 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(246, 233, 210, 0.14);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-amber);
}

.foot-col__list {
  display: grid;
  gap: 0.1rem;
}

.foot-col__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(246, 233, 210, 0.84);
  transition: color var(--dur) var(--ease);
}

.foot-col__list a::before {
  content: "";
  width: 6px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--c-teal);
  transition: width var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.foot-col__list a:hover { color: var(--c-paper); }
.foot-col__list a:hover::before { width: 18px; background: var(--c-amber); }

.site-footer__contact { padding-top: 0.35rem; }

.contact-list {
  display: grid;
  gap: 0.75rem;
}

.contact-list__row {
  display: grid;
  gap: 0.1rem;
}

.contact-list__row dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-teal);
}

.contact-list__row dd {
  font-size: 0.93rem;
  line-height: 1.7;
  color: rgba(246, 233, 210, 0.86);
  overflow-wrap: anywhere;
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 1.1rem var(--edge) 1.7rem;
  border-top: 1px solid rgba(246, 233, 210, 0.12);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: rgba(246, 233, 210, 0.6);
}

.site-footer__copy { color: rgba(246, 233, 210, 0.78); }
.site-footer__icp { color: rgba(217, 226, 232, 0.66); }
.site-footer__note { margin-left: auto; color: rgba(246, 233, 210, 0.5); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer__ledger { grid-column: 1 / -1; }
  .site-footer__summary { max-width: 58ch; }
}

@media (max-width: 900px) {
  .site-header__inner {
    min-height: 68px;
    padding-block: 0.6rem;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    padding: 0 var(--edge);
    background: #0B2338;
    border-top: 1px solid rgba(53, 224, 224, 0.22);
    border-bottom: 1px solid rgba(53, 224, 224, 0.22);
    box-shadow: 0 34px 54px -34px rgba(0, 0, 0, 0.95);
    transition: max-height var(--dur-slow) var(--ease),
                opacity 180ms linear,
                padding var(--dur-slow) var(--ease),
                visibility var(--dur-slow);
  }

  .site-nav[data-open] {
    max-height: min(76vh, 560px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    padding-block: 1rem 1.3rem;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-nav__item {
    border-bottom: 1px solid rgba(246, 233, 210, 0.09);
  }

  .site-nav__item:last-child { border-bottom: 0; }

  .site-nav__link {
    width: 100%;
    min-height: 52px;
    padding: 0.55em 0.2em;
    border-radius: 0;
    font-size: 1.02rem;
    justify-content: flex-start;
  }

  .site-nav__link[aria-current="page"] {
    background: rgba(53, 224, 224, 0.14);
    color: var(--c-cyan);
    box-shadow: none;
  }

  .site-nav__link[aria-current="page"]::before { color: var(--c-amber); }

  .site-nav__cta {
    width: 100%;
    margin-top: 1.1rem;
    font-size: 0.94rem;
  }
}

@media (max-width: 760px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .site-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__note { margin-left: 0; width: 100%; }
}

@media (max-width: 460px) {
  .brand__meta { display: none; }
  .brand__name { font-size: 0.95rem; }
  .site-footer__nav { grid-template-columns: minmax(0, 1fr); }
  .grid--12 { grid-template-columns: minmax(0, 1fr); }
  .tabs__tab { font-size: 0.86rem; padding-inline: 0.85em; }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: opacity 200ms linear;
  }

  .scroll-meter__fill { transition: none; }
  .btn--amber:hover { transform: none; }
}

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

  body {
    background: #FFFFFF;
    color: #1B1410;
  }

  .site-footer {
    background: #FFFFFF;
    border-top: 1px solid #1B1410;
    color: #1B1410;
  }
}
