/* ============================================================
   宝威看台 /assets/site.css
   共享外壳样式：reset、变量、中文排版、页头、页脚、通用组件
   ============================================================ */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background-color: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
img, svg, video { display: block; max-width: 100%; }
table { border-collapse: collapse; width: 100%; }
:focus-visible {
  outline: 2px solid var(--brand-soft);
  outline-offset: 3px;
  border-radius: 8px;
}
::selection { background: rgba(255, 90, 31, .35); color: #fff; }

/* ---------- tokens ---------- */
:root {
  --night: #060B1F;
  --panel: #0E1734;
  --raise: #17224A;
  --grid: #3B4A7A;
  --brand: #FF5A1F;
  --brand-soft: #FF8A3D;
  --brand-ink: #180A04;
  --safe: #35C08E;
  --danger: #C2314A;
  --danger-text: #FF8098;
  --ink: #F2F5FF;
  --ink-dim: #9AA6C8;
  --ink-body: #DCE3FB;

  --mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --display: "Barlow Condensed", "Oswald", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;

  --r-pill: 999px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;

  --shell: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --hair: rgba(59, 74, 122, .5);
  --hair-soft: rgba(59, 74, 122, .28);
  --brandbar-h: 44px;
}

/* ---------- 深蓝底纹与草原夜空过渡 ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(120% 80% at 8% -12%, rgba(53, 192, 142, .10), transparent 58%),
    radial-gradient(90% 70% at 104% -6%, rgba(255, 90, 31, .13), transparent 56%),
    repeating-linear-gradient(0deg, rgba(59, 74, 122, .12) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(59, 74, 122, .12) 0 1px, transparent 1px 64px);
  opacity: .9;
}
.site-header, .site-footer, main, #main-content { position: relative; z-index: 1; }

/* ---------- 排版 ---------- */
.display-xl {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 6.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -.01em;
}
.display-l {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 4.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -.01em;
}
.u-mono {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}
.index-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--brand);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.index-tag::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

/* ---------- 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(52px, 8.5vw, 116px); }
.section--tight { padding-block: clamp(34px, 5vw, 64px); }
.section__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 64ch;
  margin-bottom: clamp(26px, 4vw, 52px);
}
.section__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 4.2vw, 44px);
  line-height: 1.14;
  letter-spacing: -.01em;
}
.section__lead { color: var(--ink-dim); font-size: 1rem; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.prose {
  max-width: 72ch;
  color: var(--ink-body);
  font-size: 1.02rem;
}
.prose p + p { margin-top: 14px; }
.prose h2, .prose h3 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.01em;
  margin-top: 28px;
}
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 21px; }

/* ---------- 框景 ---------- */
.frame {
  position: relative;
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3.6vw, 46px);
  background: rgba(14, 23, 52, .38);
}
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  height: 7px;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(154, 166, 200, .5) 0 1px, transparent 1px 22px);
}
.frame::before { top: -1px; }
.frame::after { bottom: -1px; opacity: .7; }
.frame--hero { padding: clamp(24px, 4.4vw, 62px); border-radius: 32px; }
.frame__corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--brand);
  pointer-events: none;
}
.frame__corner--tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; }
.frame__corner--tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; border-radius: 0 12px 0 0; }
.frame__corner--bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; border-radius: 0 0 0 12px; }
.frame__corner--br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-radius: 0 0 12px 0; }

/* ---------- 面板 ---------- */
.panel {
  background: linear-gradient(180deg, var(--panel), rgba(14, 23, 52, .74));
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: clamp(18px, 3vw, 30px);
}
.panel--raised { background: var(--raise); }
.panel--flat { background: rgba(23, 34, 74, .5); border-radius: var(--r-md); }

/* ---------- 数据组件 ---------- */
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__label {
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .08em;
  color: var(--ink-dim);
}
.stat__value {
  font-family: var(--mono);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.stat--zoom .stat__value { font-size: clamp(40px, 6vw, 60px); color: var(--brand); }
.data-num {
  font-family: var(--mono);
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.data-num--l { font-size: clamp(28px, 4vw, 40px); }
.data-num--xl { font-size: clamp(40px, 6vw, 56px); }
.data-unit {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--ink-dim);
  letter-spacing: .04em;
}
.delta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
}
.delta--up { color: var(--safe); }
.delta--down { color: var(--danger-text); }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hair);
  background: rgba(23, 34, 74, .55);
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
}
.tag--up { color: var(--safe); border-color: rgba(53, 192, 142, .5); background: rgba(53, 192, 142, .1); }
.tag--down { color: var(--danger-text); border-color: rgba(194, 49, 74, .55); background: rgba(194, 49, 74, .14); }
.tag--brand { color: var(--brand-soft); border-color: rgba(255, 90, 31, .5); background: rgba(255, 90, 31, .12); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn--primary { background: var(--brand); color: var(--brand-ink); }
.btn--primary:hover { background: var(--brand-soft); transform: translateY(-1px); }
.btn--ghost { border-color: var(--hair); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { padding: 9px 16px; font-size: .85rem; }

/* ---------- 切换器 ---------- */
.switcher {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hair-soft);
  background: rgba(23, 34, 74, .55);
  overflow-x: auto;
  scrollbar-width: thin;
}
.switcher__btn {
  flex: 0 0 auto;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--ink-dim);
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}
.switcher__btn:hover { color: var(--ink); background: rgba(59, 74, 122, .35); }
.switcher__btn.is-active,
.switcher__btn[aria-selected="true"] {
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 600;
}

/* ---------- 可展开内容组 ---------- */
.expand {
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  background: rgba(14, 23, 52, .62);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.expand + .expand { margin-top: 12px; }
.expand[data-open] {
  box-shadow: inset 3px 0 0 var(--brand);
  border-color: rgba(255, 90, 31, .38);
  transform: translateY(1px);
}
.expand__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color .2s ease;
}
.expand__trigger:hover { background: rgba(23, 34, 74, .7); }
.expand__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  position: relative;
  border-radius: 50%;
  border: 1px solid var(--hair);
}
.expand__icon::before,
.expand__icon::after {
  content: "";
  position: absolute;
  inset: 50% 5px auto 5px;
  height: 1.5px;
  background: var(--brand);
  transform: translateY(-50%);
  transition: transform .2s ease, opacity .2s ease;
}
.expand__icon::after { transform: translateY(-50%) rotate(90deg); }
.expand[data-open] .expand__icon::after { transform: translateY(-50%) rotate(0deg); opacity: 0; }
.expand__panel { height: 0; overflow: hidden; transition: height .2s ease; }
.expand__inner {
  padding: 0 20px 20px;
  color: var(--ink-dim);
  font-size: .97rem;
  border-left: 3px solid var(--brand);
  margin-left: 20px;
  padding-left: 16px;
}

/* ---------- 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .06em;
  color: var(--ink-dim);
}
.breadcrumbs a { border-bottom: 1px solid transparent; transition: color .18s ease, border-color .18s ease; }
.breadcrumbs a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.breadcrumbs__sep { color: var(--grid); }
.breadcrumbs [aria-current="page"] { color: var(--ink); }

/* ---------- 图片容器（页面阶段放置图片） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--hair-soft);
  background:
    linear-gradient(150deg, rgba(23, 34, 74, .95), rgba(6, 11, 31, .95) 62%),
    var(--panel);
  aspect-ratio: 16 / 9;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--empty::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(59, 74, 122, .22) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(59, 74, 122, .22) 0 1px, transparent 1px 48px);
}
.media-frame__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--ink-dim);
  background: linear-gradient(180deg, transparent, rgba(6, 11, 31, .94));
}

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 600;
  font-size: .9rem;
  transform: translateY(-220%);
  transition: transform .18s ease;
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: calc(var(--brandbar-h) * -1);
  z-index: 60;
  background: linear-gradient(180deg, rgba(6, 11, 31, .97), rgba(6, 11, 31, .88));
  border-bottom: 1px solid var(--hair-soft);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.brand-bar {
  border-bottom: 1px solid var(--hair-soft);
  background: rgba(10, 17, 40, .92);
}
.brand-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: var(--brandbar-h);
}
.brand-bar__mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand-bar__glyph {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, .16);
}
.brand-bar__status {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--ink-dim);
  white-space: nowrap;
  overflow: hidden;
}
.brand-bar__dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--safe);
  box-shadow: 0 0 0 3px rgba(53, 192, 142, .18);
  animation: dot-breathe 2.6s ease-in-out infinite;
}
.brand-bar__ticker { overflow: hidden; text-overflow: ellipsis; }
@keyframes dot-breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: .42; }
}

.nav-bar {
  position: relative;
  background: rgba(14, 23, 52, .74);
}
.nav-bar__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 66px;
  padding-block: 10px;
}
.primary-nav { flex: 1 1 auto; min-width: 0; }
.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: .95rem;
  color: var(--ink-dim);
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.nav-link:hover { color: var(--ink); background: rgba(59, 74, 122, .3); }
.nav-link[aria-current="page"] {
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 600;
  box-shadow: 0 8px 22px -14px rgba(255, 90, 31, .95);
}
.nav-cta {
  flex: 0 0 auto;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 90, 31, .55);
  color: var(--brand-soft);
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}
.nav-cta:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hair);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .08em;
  white-space: nowrap;
}
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}
.nav-toggle__bars i {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transition: transform .2s ease, opacity .2s ease;
}
.site-header[data-open] .nav-toggle {
  border-color: rgba(255, 90, 31, .6);
  background: rgba(255, 90, 31, .12);
}
.site-header[data-open] .nav-toggle__bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform-origin: left center;
  transform: scaleX(var(--progress, 0));
  background: linear-gradient(90deg, var(--brand), var(--brand-soft) 60%, rgba(53, 192, 142, .9));
  transition: transform .12s linear;
}

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 120px);
  border-top: 1px solid var(--hair);
  background: linear-gradient(180deg, rgba(6, 11, 31, .45), rgba(14, 23, 52, .92) 55%);
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 90, 31, .75), rgba(53, 192, 142, .55), transparent);
}
.footer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  padding-block: clamp(30px, 5vw, 56px);
  border-bottom: 1px dashed rgba(59, 74, 122, .55);
}
.footer-head__mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -.01em;
}
.footer-head__line { color: var(--ink-dim); }
.footer-head .btn { margin-left: auto; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 42px);
  padding-block: clamp(30px, 5vw, 58px);
}
.footer-col__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ink);
}
.footer-col__num { color: var(--brand); }
.footer-list { display: grid; gap: 10px; }
.footer-list a {
  display: inline-block;
  font-size: .94rem;
  color: var(--ink-dim);
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease, transform .18s ease;
}
.footer-list a:hover {
  color: var(--brand-soft);
  border-bottom-color: rgba(255, 90, 31, .6);
  transform: translateX(2px);
}
.footer-contact { display: grid; gap: 10px; font-size: .9rem; color: var(--ink-dim); }
.footer-contact__item { display: flex; gap: 10px; align-items: baseline; }
.footer-contact__key {
  flex: 0 0 auto;
  min-width: 3.4em;
  color: var(--grid);
  font-size: .72rem;
}
.footer-contact__val { word-break: break-word; }
.footer-contact__note {
  margin-top: 4px;
  padding-left: 12px;
  border-left: 2px solid rgba(255, 90, 31, .55);
  font-size: .82rem;
  color: var(--ink-dim);
  line-height: 1.7;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 22px;
  border-top: 1px solid var(--hair-soft);
  color: var(--ink-dim);
}
.footer-base p { opacity: .85; }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 70;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--hair);
  background: rgba(23, 34, 74, .94);
  color: var(--ink);
  font-family: var(--mono);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease, color .2s ease;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.to-top__arrow { font-size: 1.1rem; line-height: 1; }

/* ---------- 显现动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .24s ease, transform .24s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --brandbar-h: 40px; }
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 12; }
  .footer-head .btn { margin-left: 0; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-bar__inner {
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 10px;
    min-height: 0;
  }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .primary-nav { order: 3; flex: 1 0 100%; min-width: 0; }
  .nav-list {
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .nav-list__item { scroll-snap-align: start; }
  .nav-link {
    padding: 8px 14px;
    border: 1px solid var(--hair-soft);
    background: rgba(23, 34, 74, .5);
    font-size: .88rem;
  }
  .site-header[data-open] .nav-list {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 4px;
  }
  .site-header[data-open] .primary-nav { padding-top: 4px; }
  .site-header[data-open] .nav-link { background: rgba(23, 34, 74, .78); }
  .frame::before, .frame::after { left: 16px; right: 16px; }
}
@media (max-width: 620px) {
  .brand-bar__ticker { font-size: .72rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

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