/* =============================================================
   维基彩讯 · /assets/site.css
   共享外壳与基础组件：高原档案台 · 湖青蓝 / 昆仑岩灰 / 经幡橙
   ============================================================= */

/* ---------- 1. 变量 ---------- */
:root {
  --lake: #0F5F73;
  --lake-deep: #0A3F4E;
  --lake-soft: #E4F0F2;
  --rock: #4A5560;
  --rock-line: #E8EAEC;
  --orange: #E0731F;
  --amber: #D9A64A;
  --paper: #F8F5EF;
  --ink: #16202A;
  --moss: #5F7A5A;
  --paper-hi: #FFFDF9;
  --lake-tint: rgba(15, 95, 115, .08);
  --orange-tint: rgba(224, 115, 31, .12);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-pill: 999px;

  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;

  --fs-d1: clamp(42px, 7vw, 76px);
  --fs-d2: clamp(32px, 4.8vw, 56px);
  --fs-d3: clamp(25px, 3.2vw, 40px);
  --fs-d4: clamp(20px, 2.1vw, 28px);
  --fs-body: 17px;
  --fs-sm: 15px;
  --fs-xs: 13px;

  --container: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --utility-h: 38px;
  --main-h: 62px;

  --dur: .18s;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-soft: 0 1px 0 rgba(74, 85, 96, .05), 0 22px 44px -34px rgba(10, 63, 78, .55);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--rock);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.85;
  background-color: var(--paper);
  background-image:
    linear-gradient(180deg, rgba(15, 95, 115, .07), rgba(248, 245, 239, 0) 440px),
    repeating-linear-gradient(90deg, rgba(74, 85, 96, .05) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(74, 85, 96, .038) 0 1px, transparent 1px 64px);
  overflow-x: hidden;
}

body[data-nav-locked="true"] { overflow: hidden; }

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

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.012em;
  color: var(--ink);
}

h1 { font-size: var(--fs-d1); font-weight: 900; }
h2 { font-size: var(--fs-d3); }
h3 { font-size: var(--fs-d4); }

p { margin: 0 0 1em; }

a { color: var(--lake); text-decoration-thickness: 1px; text-underline-offset: 3px; }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

button { font: inherit; color: inherit; }

::selection { background: rgba(224, 115, 31, .22); color: var(--ink); }

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -70px;
  z-index: 120;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--lake);
  color: #fff;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 3. 排版工具 ---------- */
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .03em;
}

.muted { color: #6B7681; }

.lede {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.9;
  color: var(--rock);
  max-width: 38em;
}

.prose { max-width: 38em; }
.prose p { margin: 0 0 1.1em; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }

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

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: #6B7681;
}

.divider {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--rock-line);
}

/* ---------- 4. 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-narrow { max-width: 820px; }

.section { padding-block: clamp(34px, 5vw, 68px); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

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

/* ---------- 5. 头部外壳 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--rock-line);
  box-shadow: 0 12px 30px -28px rgba(10, 63, 78, .8);
}

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(15, 95, 115, .14);
  pointer-events: none;
}
.scroll-meter-fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--lake), var(--amber) 68%, var(--orange));
}

/* 上层：品牌说明行 */
.header-utility {
  display: grid;
  grid-template-rows: 1fr;
  background: var(--lake-deep);
  color: var(--lake-soft);
  transition: grid-template-rows .22s var(--ease);
}

.header-utility-inner {
  min-height: 0;
  height: var(--utility-h);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  color: #BBD3D9;
  white-space: nowrap;
}
.brand-line-key { color: #F8F5EF; }
.brand-line-sep {
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), rgba(224, 115, 31, 0));
}
.brand-line-tail { color: var(--amber); }

.utility-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.utility-search {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 14px;
  border: 1px solid rgba(228, 240, 242, .34);
  border-radius: var(--r-pill);
  color: #E4F0F2;
  font-size: 12.5px;
  text-decoration: none;
  transition: border-color var(--dur), background var(--dur);
}
.utility-search:hover {
  border-color: var(--orange);
  background: rgba(224, 115, 31, .14);
}
.utility-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--amber);
}
.utility-hint { letter-spacing: .04em; }

/* 下层：品牌 + 栏目 */
.header-main { position: relative; }

.header-main::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(15, 95, 115, .22) 0 1px, transparent 1px 12px);
}

.header-main-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  min-height: var(--main-h);
  padding-block: 10px 14px;
  transition: min-height var(--dur) var(--ease);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--lake), var(--lake-deep));
  color: var(--lake-soft);
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 2px, transparent 2px 5px);
  opacity: .9;
}

.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .06em;
  color: var(--ink);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.5;
  letter-spacing: .06em;
  color: #6B7681;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 8px 16px;
  border: 1px solid var(--rock-line);
  border-radius: var(--r-pill);
  background: var(--paper-hi);
  color: var(--lake-deep);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--dur), background var(--dur);
}
.nav-toggle:hover { border-color: var(--lake); }

.nav-toggle-bars {
  display: grid;
  gap: 4px;
  width: 18px;
}
.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--lake);
  transition: transform var(--dur) var(--ease), opacity var(--dur);
}
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 26px);
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  color: var(--lake-deep);
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
  transition: background var(--dur), color var(--dur), padding var(--dur);
}
.nav-link::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 50%;
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: var(--orange);
  transform: translateY(-50%) scaleY(0);
  transition: transform var(--dur) var(--ease);
}
.nav-link:hover { background: var(--lake-soft); color: var(--lake-deep); }
.nav-link[aria-current="page"] {
  padding-left: 18px;
  background: var(--lake);
  color: #fff;
}
.nav-link[aria-current="page"]::before { transform: translateY(-50%) scaleY(1); }

.nav-meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: #7A858F;
  white-space: nowrap;
}

.nav-quick { display: none; }

/* 收起说明行 */
@media (min-width: 981px) {
  .site-header[data-scrolled="true"] .header-utility { grid-template-rows: 0fr; }
  .site-header[data-scrolled="true"] .header-main-inner { min-height: 56px; }
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--lake);
  color: #F8F5EF;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur), color var(--dur), border-color var(--dur), transform var(--dur);
}
.btn:hover { background: var(--lake-deep); transform: translateY(-1px); }

.btn-sm { padding: 5px 15px; font-size: 12.5px; letter-spacing: .03em; }

.btn-accent { background: var(--orange); color: #2A1406; }
.btn-accent:hover { background: #C9600F; color: #2A1406; }

.btn-ghost {
  background: transparent;
  border-color: var(--rock-line);
  color: var(--lake);
}
.btn-ghost:hover { background: var(--lake-soft); border-color: var(--lake); }

.btn-quiet { background: var(--lake-soft); color: var(--lake-deep); }
.btn-quiet:hover { background: #D3E6EA; }

/* ---------- 7. 框景 / 刻度 ---------- */
.frame {
  position: relative;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--rock-line);
  border-radius: var(--r-xl);
  background: var(--paper-hi);
  box-shadow: var(--shadow-soft);
}
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  height: 5px;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(15, 95, 115, .34) 0 1px, transparent 1px 11px);
}
.frame::before { top: 9px; }
.frame::after { bottom: 9px; }

.frame-tab {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: 0 10px;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--lake);
}

.tick-rule {
  height: 10px;
  background:
    repeating-linear-gradient(90deg, rgba(228, 240, 242, .3) 0 1px, transparent 1px 14px);
}

/* ---------- 8. 标题组 ---------- */
.section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 14px 20px;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.section-num {
  align-self: center;
  padding: 4px 13px;
  border: 1px solid var(--rock-line);
  border-radius: var(--r-pill);
  background: var(--paper-hi);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--orange);
}

.section-title {
  position: relative;
  margin: 0;
  padding-bottom: 14px;
  font-size: var(--fs-d3);
  font-weight: 900;
  letter-spacing: -.01em;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 66px;
  height: 3px;
  border-radius: 2px;
  background: var(--lake);
}

.section-sub {
  grid-column: 2;
  margin: 0;
  max-width: 42em;
  font-size: 15.5px;
  color: #6B7681;
}

/* ---------- 9. 卡片 ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 20px;
  border: 1px solid var(--rock-line);
  border-radius: var(--r-lg);
  background: var(--paper-hi);
  transition: border-color var(--dur), transform var(--dur), box-shadow var(--dur);
}
.card:hover {
  border-color: var(--lake);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.card-index {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--orange);
}
.card-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
}
.card-body {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--rock);
}
.card-foot {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px dashed var(--rock-line);
}

/* ---------- 10. 标签与状态 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--lake-soft);
  color: var(--lake-deep);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}
.tag-accent { background: var(--orange-tint); border-color: rgba(224, 115, 31, .3); color: #A0500F; }
.tag-moss { background: rgba(95, 122, 90, .13); border-color: rgba(95, 122, 90, .3); color: #3F5539; }
.tag-amber { background: rgba(217, 166, 74, .18); border-color: rgba(217, 166, 74, .42); color: #7A5713; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--moss);
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 3px rgba(95, 122, 90, .16);
}
.status-accent { color: #A0500F; }
.status-accent .status-dot {
  background: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-tint);
}

/* ---------- 11. 折叠面板 ---------- */
.panel {
  border: 1px solid var(--rock-line);
  border-radius: var(--r-lg);
  background: var(--paper-hi);
  overflow: hidden;
  transition: border-color var(--dur);
}
.panel + .panel { margin-top: 12px; }
.panel:hover { border-color: rgba(15, 95, 115, .4); }

.panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--dur), box-shadow var(--dur);
}
.panel-head:hover { background: var(--lake-soft); }
.panel-head[aria-expanded="true"] {
  background: var(--lake-soft);
  box-shadow: inset 3px 0 0 var(--orange);
}

.panel-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--orange);
}
.panel-sign {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--lake);
}
.panel-body {
  padding: 4px 20px 20px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--rock);
}
.panel-body[hidden] { display: none; }

/* ---------- 12. 面包屑 ---------- */
.breadcrumb { padding-block: 20px 4px; }
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: #7A858F;
}
.breadcrumb-list li + li::before {
  content: "／";
  margin-right: 8px;
  color: #B9C2C8;
}
.breadcrumb-link {
  color: var(--lake);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), color var(--dur);
}
.breadcrumb-link:hover { border-color: var(--orange); color: var(--lake-deep); }
.breadcrumb-current { color: var(--ink); }

/* ---------- 13. 图像容器 ---------- */
.figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}
.figure-img {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--rock-line);
  border-radius: var(--r-lg);
  background-color: var(--lake-soft);
  background-image:
    linear-gradient(140deg, rgba(15, 95, 115, .2), rgba(217, 166, 74, .18) 58%, rgba(248, 245, 239, .3)),
    repeating-linear-gradient(90deg, rgba(15, 95, 115, .09) 0 1px, transparent 1px 20px);
}
.figure-img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-1-1 { aspect-ratio: 1 / 1; }
.ratio-3-4 { aspect-ratio: 3 / 4; }

.figure-cap {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .05em;
  color: #6B7681;
}

/* ---------- 14. 页脚 ---------- */
.site-footer {
  margin-top: clamp(48px, 7vw, 96px);
  background: var(--lake-deep);
  color: #A9C6CD;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(34px, 5vw, 62px) 30px;
}

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

.footer-logo {
  display: inline-block;
  width: fit-content;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #F8F5EF;
  text-decoration: none;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--orange);
}

.footer-tagline {
  margin: 0;
  max-width: 30ch;
  font-size: 14.5px;
  line-height: 1.9;
  color: #9CBBB9;
}

.footer-stamp {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--amber);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
}

.footer-col { display: flex; flex-direction: column; gap: 14px; }

.footer-col-title {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(228, 240, 242, .18);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: #F8F5EF;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  color: #A9C6CD;
  text-decoration: none;
  transition: color var(--dur), transform var(--dur), padding-left var(--dur);
}
.footer-link:hover {
  color: #F8F5EF;
  padding-left: 6px;
  box-shadow: inset 2px 0 0 var(--orange);
}

.footer-base {
  display: grid;
  gap: 16px;
  padding-block: 20px 34px;
  border-top: 1px solid rgba(228, 240, 242, .16);
}

.footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.legal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-link {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #E4F0F2;
  text-decoration: none;
  border-bottom: 1px solid rgba(224, 115, 31, .5);
  padding-bottom: 2px;
  transition: color var(--dur), border-color var(--dur);
}
.legal-link:hover { color: var(--amber); border-color: var(--amber); }

.to-top {
  padding: 7px 18px;
  border: 1px solid rgba(228, 240, 242, .34);
  border-radius: var(--r-pill);
  background: transparent;
  color: #E4F0F2;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}
.to-top:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #2A1406;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0;
  font-style: normal;
  font-size: 13.5px;
  color: #A9C6CD;
}
.contact-item { display: inline-flex; align-items: baseline; gap: 8px; }
.contact-key {
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #7FA6AE;
}

.footer-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #8FB0B8;
}

/* ---------- 15. 显现动效 ---------- */
.js [data-reveal] {
  opacity: .62;
  transform: translateY(12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1100px) {
  .nav-meta { display: none; }
}

@media (max-width: 980px) {
  :root { --drawer-top: 86px; }

  .header-utility { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 55;
    display: grid;
    align-content: start;
    gap: 16px;
    margin-left: 0;
    padding: calc(var(--drawer-top) + 14px) var(--gutter) 40px;
    background: var(--paper);
    border-top: 1px solid var(--rock-line);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s linear;
  }
  .site-header[data-open="true"] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-quick { display: grid; gap: 10px; }
  .nav-quick-search {
    display: block;
    padding: 13px 18px;
    border: 1px solid var(--rock-line);
    border-radius: var(--r-pill);
    background: var(--paper-hi);
    color: var(--rock);
    font-family: var(--font-mono);
    font-size: 13.5px;
    letter-spacing: .04em;
    text-decoration: none;
  }
  .nav-quick-search:hover { border-color: var(--lake); }
  .nav-quick-cta { width: 100%; padding: 14px 22px; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-item { border-bottom: 1px dashed var(--rock-line); }
  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 6px;
    border-radius: 0;
    font-size: 17px;
  }
  .nav-link:hover { background: transparent; color: var(--lake); }
  .nav-link[aria-current="page"] {
    padding-left: 16px;
    background: transparent;
    color: var(--lake);
  }
  .nav-link[aria-current="page"]::before { height: 22px; }

  .nav-meta { display: block; padding-top: 4px; }

  .grid { gap: 14px; }
  .col-3, .col-4, .col-6, .col-8 { grid-column: span 12; }
}

@media (max-width: 820px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .footer-col-title { font-size: 12.5px; }
  .frame::before, .frame::after { left: 18px; right: 18px; }
  .frame-tab { left: 16px; }
}

@media (max-width: 560px) {
  :root { --fs-body: 16.5px; --drawer-top: 82px; }
  .brand-sub { display: none; }
  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .section-num { justify-self: start; }
  .section-sub { grid-column: 1; }
  .footer-legal-row { flex-direction: column; align-items: flex-start; }
}

/* ---------- 17. 无障碍与偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .scroll-meter-fill { transition: none; }
}
