/* ==========================================================================
   今年会主页 · 共享站点样式 /assets/site.css
   编辑部目录 · 双语对照 · 深海军蓝基底 + 品牌橙强调
   ========================================================================== */

:root {
  --navy-900: #0A1B33;
  --navy-700: #14304F;
  --navy-500: #24476C;
  --paper-050: #F4F7FB;
  --paper-100: #E7EDF5;
  --line-200: #C9D4E3;
  --brand-orange: #FF6A2B;
  --orange-700: #D4470F;
  --orange-100: #FFE4D6;
  --mint-700: #0E7A5E;
  --mint-100: #DCF5EC;
  --coral-700: #C0392B;
  --coral-100: #FCE2DF;
  --ink-700: #3A4A5E;
  --ink-900: #16273C;
  --muted-500: #8496AC;
  --white: #FFFFFF;

  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --header-h: 88px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-soft: 0 18px 40px rgba(10, 27, 51, 0.10);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--paper-050);
  color: var(--ink-700);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.012em;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; }

a { color: var(--orange-700); text-decoration: none; }
a:hover { text-decoration: underline; }

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

button { font: inherit; color: inherit; }

dl, dd, dt { margin: 0; }

[hidden] { display: none !important; }

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

/* ---------- 中文排版与正文容器 ---------- */
.shell {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.shell--narrow { max-width: 900px; }

#main-content {
  display: block;
  padding-top: var(--header-h);
}

body[data-overlay-hero] #main-content { padding-top: 0; }

.prose { font-size: 17px; line-height: 1.78; }
.prose p { margin: 0 0 1.15em; }
.prose h2 { margin: 1.6em 0 0.5em; font-size: clamp(26px, 3vw, 36px); }
.prose h3 { margin: 1.3em 0 0.4em; font-size: clamp(20px, 2.2vw, 24px); }
.prose ul, .prose ol { margin: 0 0 1.2em 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose > :first-child { margin-top: 0; }

.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.7;
  color: var(--navy-700);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-500);
}

/* ---------- 1px 索引线 + 模块编号 ---------- */
.rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-200);
}

.rule__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--brand-orange);
}

.rule__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-500);
}

.rule__spacer { flex: 1 1 auto; }

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

.dual {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 24px;
  align-items: start;
}

.dual__en {
  background: var(--paper-100);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--navy-700);
}

.dual__en p { margin: 0 0 0.9em; }
.dual__en > :last-child { margin-bottom: 0; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
}

.card--dark {
  background: var(--navy-700);
  border-color: rgba(201, 212, 227, 0.22);
  color: var(--paper-100);
}

.card--dark h2,
.card--dark h3 { color: var(--paper-050); }

/* ---------- 图片容器基础规则（页面阶段放图） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-200);
  background: var(--paper-100);
  box-shadow:
    inset 0 0 0 1px rgba(10, 27, 51, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  aspect-ratio: 16 / 10;
}

.media-frame > img,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 27, 51, 0.06);
  pointer-events: none;
}

.media-frame--portrait { aspect-ratio: 9 / 14; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--wide { aspect-ratio: 21 / 9; }

/* ---------- 按钮与胶囊 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.btn:hover { text-decoration: none; }

.btn--primary { background: var(--brand-orange); color: var(--white); }
.btn--primary:hover { background: #FF8147; color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--line-200);
}
.btn--ghost:hover { border-color: var(--navy-900); color: var(--navy-900); }

.btn--line {
  background: transparent;
  color: var(--paper-050);
  border-color: rgba(201, 212, 227, 0.42);
}
.btn--line:hover { border-color: var(--brand-orange); color: var(--brand-orange); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--paper-100);
  border: 1px solid var(--line-200);
  font-size: 13px;
  line-height: 1.6;
  color: var(--navy-700);
}

.num-badge {
  font-family: var(--font-mono);
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--brand-orange);
}

/* ---------- 色签 ---------- */
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.8;
  white-space: nowrap;
}

.status-tag--mint {
  color: var(--mint-700);
  background: var(--mint-100);
  border-color: rgba(14, 122, 94, 0.3);
}

.status-tag--coral {
  color: var(--coral-700);
  background: var(--coral-100);
  border-color: rgba(192, 57, 43, 0.3);
}

.status-tag--orange {
  color: var(--orange-700);
  background: var(--orange-100);
  border-color: rgba(212, 71, 15, 0.3);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-500);
}

.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--orange-700); text-decoration: none; }
.breadcrumb__sep { opacity: 0.55; }
.breadcrumb [aria-current="page"] { color: var(--navy-900); }

/* ---------- 主题筛选按钮（当前页面内筛选） ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 0;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-200);
  background: var(--white);
  color: var(--navy-700);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-pill:hover { border-color: var(--brand-orange); color: var(--orange-700); }

.filter-pill[aria-pressed="true"] {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--paper-050);
}

/* ---------- 滚动显现协议 ---------- */
[data-reveal] { transition: opacity 0.42s ease, transform 0.42s ease; }
[data-reveal="pending"] { opacity: 0; transform: translateY(16px); }
[data-reveal="shown"] { opacity: 1; transform: none; }

/* ---------- 索引锚点高亮 ---------- */
[data-index-link][aria-current="true"] {
  color: var(--orange-700);
  border-color: var(--brand-orange);
}

/* ==========================================================================
   页头
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  color: var(--paper-050);
  background: linear-gradient(
    180deg,
    rgba(10, 27, 51, 0.95) 0%,
    rgba(10, 27, 51, 0.78) 52%,
    rgba(10, 27, 51, 0) 100%
  );
  transition: background-color 0.26s ease, color 0.26s ease, box-shadow 0.26s ease;
}

.site-header[data-scrolled="true"],
.site-header[data-nav-open="true"] {
  background: var(--navy-900);
  box-shadow: 0 1px 0 rgba(201, 212, 227, 0.2);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--header-h);
  transition: min-height 0.26s ease;
}

.site-header[data-scrolled="true"] .site-header__inner { min-height: 68px; }

.skip-link {
  position: absolute;
  top: -140px;
  left: 20px;
  z-index: 200;
  padding: 12px 22px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--brand-orange);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 0; text-decoration: none; }

/* 品牌署名 */
.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: inherit;
  text-decoration: none;
}

.brand:hover { text-decoration: none; }

.brand__zh {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.brand__en {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
  line-height: 1.4;
}

/* 主导航 */
.primary-nav { justify-self: center; }

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav__item { display: block; }

.primary-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 7px 14px;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.primary-nav__link:hover {
  background: rgba(244, 247, 251, 0.1);
  text-decoration: none;
}

.primary-nav__en {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
  line-height: 1.5;
}

.primary-nav__label {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
  white-space: nowrap;
}

.primary-nav__link[aria-current="page"] {
  background: rgba(255, 106, 43, 0.18);
  color: #FFB68F;
  box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.45);
}

.primary-nav__link[aria-current="page"] .primary-nav__en { opacity: 0.8; }

/* 右侧操作区 */
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--brand-orange);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.pill-cta:hover { background: #FF8147; color: var(--white); text-decoration: none; }

.pill-cta__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.85;
}

/* 移动端导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(201, 212, 227, 0.32);
  background: rgba(244, 247, 251, 0.08);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover { background: rgba(244, 247, 251, 0.16); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s ease, top 0.22s ease;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* 阅读进度线 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brand-orange);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0.92;
}

/* 常驻查询入口 */
.query-fab {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 118;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(201, 212, 227, 0.3);
  background: var(--navy-700);
  color: var(--paper-050);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(10, 27, 51, 0.28);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.query-fab:hover {
  background: var(--navy-500);
  color: var(--paper-050);
  text-decoration: none;
}

.query-fab__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5FE0B8;
  box-shadow: 0 0 0 4px rgba(14, 122, 94, 0.25);
}

.query-fab__text { white-space: nowrap; }

.query-fab__en {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  margin-top: 0;
  padding: 0 0 30px;
  background: var(--navy-900);
  color: var(--paper-100);
  font-size: 15px;
}

/* 版本快照带 */
.snapshot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  padding: 20px 0 18px;
  border-bottom: 1px solid rgba(201, 212, 227, 0.18);
}

.snapshot__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201, 212, 227, 0.5);
}

.snapshot__version {
  font-family: var(--font-mono);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--brand-orange);
}

.snapshot__note {
  font-size: 14px;
  color: rgba(231, 237, 245, 0.76);
}

.site-footer .status-tag--mint {
  color: #5FE0B8;
  background: rgba(14, 122, 94, 0.24);
  border-color: rgba(95, 224, 184, 0.4);
}

.site-footer .status-tag--coral {
  color: #FF9C8E;
  background: rgba(192, 57, 43, 0.24);
  border-color: rgba(255, 156, 142, 0.4);
}

.site-footer .status-tag--orange {
  color: #FFA878;
  background: rgba(255, 106, 43, 0.18);
  border-color: rgba(255, 168, 120, 0.4);
}

/* 四段式主体 */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.1fr 0.9fr 1.3fr;
  gap: 36px 40px;
  padding: 44px 0 38px;
}

.footer-brand__zh {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--paper-050);
  line-height: 1.3;
}

.footer-brand__en {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201, 212, 227, 0.55);
}

.footer-brand__note {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(231, 237, 245, 0.66);
}

.footer-block__title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201, 212, 227, 0.5);
}

/* 双向索引胶囊 */
.footer-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.footer-index a {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(244, 247, 251, 0.06);
  border: 1px solid rgba(201, 212, 227, 0.2);
  color: var(--paper-050);
  font-size: 13px;
  line-height: 1.7;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-index a:hover {
  background: rgba(255, 106, 43, 0.16);
  border-color: rgba(255, 106, 43, 0.5);
  color: #FFB68F;
  text-decoration: none;
}

/* 常设栏目 */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-links a {
  display: inline-block;
  color: var(--paper-100);
  font-size: 14.5px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand-orange);
  border-bottom-color: var(--brand-orange);
  text-decoration: none;
}

/* 联络信息 */
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-meta__row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-meta__k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201, 212, 227, 0.5);
}

.footer-meta__v {
  color: var(--paper-050);
  font-size: 14.5px;
  line-height: 1.6;
  word-break: break-word;
}

.footer-meta__note {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(201, 212, 227, 0.6);
}

/* 法务行 */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(201, 212, 227, 0.18);
  font-family: var(--font-body);
  font-size: 12.5px;
  color: rgba(201, 212, 227, 0.62);
}

.footer-legal a {
  color: rgba(231, 237, 245, 0.88);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 106, 43, 0.45);
}

.footer-legal a:hover { color: var(--brand-orange); text-decoration: none; }

.footer-legal__copy { margin-left: auto; }

.footer-legal__icp {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   响应式 · 平板
   ========================================================================== */
@media (max-width: 1120px) {
  .primary-nav__link { padding: 7px 10px; }
  .primary-nav__label { font-size: 14px; }
  .primary-nav__en { letter-spacing: 0.1em; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-block--contact { grid-column: 1 / -1; }
  .footer-meta { flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .footer-meta__row { min-width: 200px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }

  .site-header__inner {
    grid-template-columns: 1fr auto;
    min-height: var(--header-h);
    padding: 0 16px;
    gap: 12px;
  }

  .site-header[data-scrolled="true"] .site-header__inner { min-height: 58px; }

  .header-actions .pill-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    justify-self: stretch;
    padding: 8px 16px 20px;
    background: var(--navy-900);
    border-top: 1px solid rgba(201, 212, 227, 0.16);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: 0 26px 44px rgba(10, 27, 51, 0.42);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .primary-nav[data-open="true"] { display: block; }

  .primary-nav__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .primary-nav__link {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 8px;
    border-radius: 0;
    border-bottom: 1px solid rgba(201, 212, 227, 0.14);
    box-shadow: none;
  }

  .primary-nav__link[aria-current="page"] {
    background: rgba(255, 106, 43, 0.14);
    box-shadow: none;
    border-radius: var(--radius-sm);
  }

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

  .primary-nav__label { order: 1; font-size: 16px; }
  .primary-nav__en { order: 2; opacity: 0.45; letter-spacing: 0.14em; }

  .dual { grid-template-columns: 1fr; }
  .grid--12 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
  .footer-block--contact { grid-column: 1 / -1; }
}

/* ==========================================================================
   响应式 · 手机
   ========================================================================== */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .shell { padding: 0 16px; }
  .grid--12 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card { padding: 22px 18px; border-radius: var(--radius-md); }
  .dual__en { padding: 18px; }

  .query-fab {
    left: 14px;
    right: 14px;
    bottom: 12px;
    justify-content: center;
    border-radius: 16px;
    padding: 13px 18px;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-block--contact { grid-column: auto; }
  .footer-meta { flex-direction: column; gap: 14px; }
  .footer-legal { gap: 8px 18px; }
  .footer-legal__copy { margin-left: 0; width: 100%; }
  .snapshot__version { font-size: 20px; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal],
  [data-reveal="pending"],
  [data-reveal="shown"] {
    opacity: 1 !important;
    transform: none !important;
  }
}
