/* ============================================================
   易博中心 · 共享样式表  /assets/site.css
   墨蓝基底 · 珠宝色分区 · 悬浮胶囊导航 · 精密网格与细线
   ============================================================ */

/* ---------- 1. 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, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #0E1A2B;
  --indigo: #241B45;
  --ember: #F0532D;
  --gold: #F2C14E;
  --celadon: #3FA68A;
  --wine: #7A1F35;
  --ivory: #F4F1EA;
  --mist: #A9C2D9;
  --graphite: #3A4756;

  --line-soft: rgba(169, 194, 217, .22);
  --line-hard: rgba(169, 194, 217, .42);
  --line-gold: rgba(242, 193, 78, .45);
  --ember-soft: rgba(240, 83, 45, .16);

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

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 280ms;
  --gutter: 5vw;
  --page-max: 1520px;
  --sharp: 2px;
}

/* ---------- 3. 基础与中文排版 ---------- */
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.page-ivory { background: var(--ivory); color: var(--ink); }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 800; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

#main-content { display: block; scroll-margin-top: 120px; }
#main-content:focus { outline: none; }

/* ---------- 4. 布局工具 ---------- */
.wrap {
  width: min(100% - (var(--gutter) * 2), var(--page-max));
  margin-inline: auto;
}
.section { padding-block: clamp(56px, 8vw, 120px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}
.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; }
.start-2 { grid-column-start: 2; }
.start-3 { grid-column-start: 3; }

.hair-rule { height: 1px; width: 100%; background: var(--line-gold); border: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 5. 珠宝色分区 ---------- */
.band { background: var(--indigo); color: var(--ivory); }
.band--ink { background: var(--ink); }
.band--indigo { background: var(--indigo); }
.band--wine { background: var(--wine); }
.band--ivory { background: var(--ivory); color: var(--ink); }
.band--ivory .index-label { color: var(--graphite); }
.band--ivory .note { color: var(--graphite); }

/* ---------- 6. 文字层级 ---------- */
.index-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 18px;
}
.index-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex: none;
}
.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 9vw, 132px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0 0 .18em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.4;
  letter-spacing: -.01em;
  margin: 0 0 .4em;
}
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.8; }
.note { font-size: 14px; line-height: 1.8; color: var(--mist); }
.band--ivory .note { color: var(--graphite); }
.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--gold);
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--sharp);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  color: var(--ivory);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn--ember { background: var(--ember); color: var(--ink); }
.btn--ember:hover { background: var(--gold); color: var(--ink); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--ember); color: var(--ink); }
.btn--outline { border-color: var(--line-gold); color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.band--ivory .btn--outline { color: var(--ink); border-color: var(--graphite); }
.band--ivory .btn--outline:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* ---------- 8. 面包屑 ---------- */
.crumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--graphite);
}
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li:not(:last-child)::after {
  content: "/";
  margin: 0 10px;
  color: rgba(58, 71, 86, .55);
}
.crumbs a { text-decoration: none; border-bottom: 1px solid transparent; }
.crumbs a:hover { border-bottom-color: var(--ember); }
.crumbs--dark { color: var(--mist); }
.crumbs--dark li:not(:last-child)::after { color: rgba(169, 194, 217, .55); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 700; }
.crumbs--dark [aria-current="page"] { color: var(--gold); }

/* ---------- 9. 正文 ---------- */
.prose { max-width: 38em; }
.prose p { margin: 0 0 1.2em; }
.prose h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; letter-spacing: -.02em; line-height: 1.2; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 20px; font-weight: 800; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--line-gold); }
.prose a:hover { color: var(--ember); border-bottom-color: var(--ember); }
.band--ivory .prose a { color: var(--wine); border-bottom-color: rgba(122, 31, 53, .4); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line-soft); padding: 12px 14px; text-align: left; }
.prose th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; font-weight: 500; color: var(--gold); }
.band--ivory .prose th, .band--ivory .prose td { border-color: rgba(58, 71, 86, .28); }
.band--ivory .prose th { color: var(--wine); }

/* ---------- 10. 页头：悬浮胶囊浮岛 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 18px var(--gutter) 10px;
  background: linear-gradient(180deg, rgba(14, 26, 43, .94) 0%, rgba(14, 26, 43, .55) 62%, rgba(14, 26, 43, 0) 100%);
  transition: padding var(--dur) var(--ease);
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-decoration: none;
  transform: translateY(-260%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(100%, var(--page-max));
  margin-inline: auto;
  padding: 8px 12px 8px 22px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(14, 26, 43, .8);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 22px 48px -34px rgba(0, 0, 0, .95);
  transition: padding var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header[data-compact="true"] { padding-top: 10px; }
.site-header[data-compact="true"] .header-shell {
  padding-block: 4px;
  background: rgba(14, 26, 43, .94);
  border-color: var(--line-gold);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: none;
  text-decoration: none;
  color: var(--ivory);
}
.brand__mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: .02em;
  line-height: 1.2;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--mist);
  transition: opacity var(--dur) var(--ease);
}
.site-header[data-compact="true"] .brand__sub { opacity: 0; }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header-readout {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--celadon);
  min-width: 34px;
  text-align: right;
}

/* ---------- 11. 栏目胶囊 / 抽屉 ---------- */
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  margin: 0;
  list-style: none;
  border: 1px solid rgba(169, 194, 217, .16);
  border-radius: 999px;
  background: rgba(36, 27, 69, .55);
}
.nav__item { display: flex; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 15px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(244, 241, 234, .78);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__link:hover { background: rgba(242, 193, 78, .14); color: var(--ivory); }
.nav__link[aria-current="page"] {
  background: var(--ember);
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--gold);
}
.nav__no {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--gold);
  opacity: .85;
}
.nav__link[aria-current="page"] .nav__no { color: rgba(14, 26, 43, .7); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line-gold);
  border-radius: var(--sharp);
  background: var(--ink);
  color: var(--gold);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav-toggle:hover { background: var(--indigo); border-color: var(--gold); }
.nav-toggle__bars { display: block; width: 22px; height: 14px; position: relative; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6.5px; }
.nav-toggle__bars span:nth-child(3) { top: 13px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- 12. 阅读进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(169, 194, 217, .14);
  z-index: 120;
  pointer-events: none;
}
.scroll-progress::after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--ember));
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  transition: transform 140ms linear;
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  background: var(--ink);
  color: var(--ivory);
  border-top: 1px solid var(--line-gold);
  padding: clamp(56px, 7vw, 96px) 0 30px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-brand { display: inline-flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ivory); }
.footer-brand__mark { font-family: var(--font-display); font-weight: 900; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.01em; }
.footer-brand__sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; color: var(--mist); }
.footer-brand__line { font-size: 15px; color: var(--mist); margin: 0; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px 24px;
  padding: 44px 0 40px;
}
.footer-col--nav { grid-column: span 5; }
.footer-col { grid-column: span 4; }
.footer-col:last-child { grid-column: span 3; }
.footer-col__title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--gold);
  margin: 0 0 16px;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0 4px 0;
  border-left: 2px solid transparent;
  color: rgba(244, 241, 234, .82);
  text-decoration: none;
  font-size: 15px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.footer-list a:hover { color: var(--ivory); border-left-color: var(--ember); padding-left: 12px; }
.footer-list a[aria-current="page"] { color: var(--gold); border-left-color: var(--ember); padding-left: 12px; }
.footer-list--plain { gap: 0; }
.footer-item {
  padding: 8px 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(244, 241, 234, .72);
  border-bottom: 1px dashed rgba(169, 194, 217, .14);
}
.footer-item:last-child { border-bottom: 0; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.footer-base__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--mist);
}

/* ---------- 14. 通用组件 ---------- */
.card {
  display: grid;
  gap: 14px;
  padding: 26px 24px;
  border: 1px solid var(--line-soft);
  background: rgba(36, 27, 69, .42);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.card:hover { border-color: var(--line-gold); }
.card--ivory { background: rgba(244, 241, 234, .06); }
.card__title { font-size: 20px; font-weight: 800; letter-spacing: -.01em; line-height: 1.4; }

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 10px;
  border: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--mist);
}

/* 图片容器基础规则：共享壳不放图，页面阶段把 img 放进容器即可 */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-soft);
  background-color: var(--indigo);
  background-image:
    repeating-linear-gradient(90deg, rgba(169, 194, 217, .13) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(169, 194, 217, .09) 0 1px, transparent 1px 88px),
    linear-gradient(115deg, rgba(240, 83, 45, .22) 0%, transparent 46%),
    radial-gradient(120% 80% at 14% 6%, rgba(242, 193, 78, .22), transparent 58%),
    radial-gradient(90% 70% at 88% 94%, rgba(63, 166, 138, .24), transparent 62%),
    linear-gradient(160deg, #241B45 0%, #0E1A2B 72%);
}
.media-frame > img,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame__index {
  position: absolute;
  left: 12px;
  bottom: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--mist);
}

.status-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  background: rgba(36, 27, 69, .55);
}
.status-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(169, 194, 217, .18);
  font-size: 14px;
}
.status-panel__row:last-child { border-bottom: 0; padding-bottom: 0; }
.status-panel__label { color: var(--mist); }
.status-panel__value {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 8px;
  height: 8px;
  flex: none;
  background: var(--celadon);
  box-shadow: 0 0 0 4px rgba(63, 166, 138, .18);
}
.status-dot--warn { background: var(--gold); box-shadow: 0 0 0 4px rgba(242, 193, 78, .18); }
.status-dot--off { background: var(--graphite); box-shadow: 0 0 0 4px rgba(58, 71, 86, .22); }

/* 可展开内容组 */
.expand { border-top: 1px solid var(--line-soft); transition: border-color var(--dur) var(--ease); }
.expand:last-of-type { border-bottom: 1px solid var(--line-soft); }
.expand__trigger {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 64px;
  padding: 16px 4px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: inherit;
  transition: color var(--dur) var(--ease);
}
.expand__trigger:hover { color: var(--ember); }
.expand__no {
  flex: none;
  min-width: 34px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .18em;
  color: var(--mist);
}
.expand__title { flex: 1 1 auto; }
.expand__mark {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line-gold);
}
.expand__mark::before,
.expand__mark::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform var(--dur) var(--ease);
}
.expand__mark::before { left: 4px; right: 4px; top: 50%; height: 1px; margin-top: -.5px; }
.expand__mark::after { top: 4px; bottom: 4px; left: 50%; width: 1px; margin-left: -.5px; }
.expand[data-open="true"] { border-top-color: var(--ember); }
.expand[data-open="true"] .expand__mark::after { transform: scaleY(0); }
.expand__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease);
}
.expand[data-open="true"] .expand__panel { grid-template-rows: 1fr; }
.expand__panel[hidden] { display: none !important; }
.expand__inner { overflow: hidden; }
.expand__body { padding: 0 4px 26px 56px; font-size: 16px; line-height: 1.9; }
.expand__body p { margin: 0 0 1em; }

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1180px) {
  .nav__no { display: none; }
  .nav__link { padding: 9px 12px; font-size: 14px; }
  .header-readout { display: none; }
}

@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 20px; }
  .col-3, .col-4 { grid-column: span 4; }
  .col-5, .col-6, .col-7, .col-8, .col-12 { grid-column: span 8; }
  .start-2, .start-3 { grid-column-start: auto; }
  .footer-col--nav { grid-column: span 6; }
  .footer-col { grid-column: span 6; }
  .footer-col:last-child { grid-column: span 12; }
}

@media (max-width: 960px) {
  :root { --gutter: 20px; }
  .site-header { padding: 12px var(--gutter) 8px; }
  .header-shell { padding: 8px 10px 8px 16px; gap: 12px; }
  .brand__sub { display: none; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    width: min(86vw, 340px);
    padding: 100px 22px 32px;
    overflow-y: auto;
    background: var(--indigo);
    border-left: 1px solid var(--line-gold);
    transform: translateX(102%);
    transition: transform var(--dur) var(--ease);
  }
  .nav[data-open="true"] { transform: translateX(0); }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .nav__link {
    justify-content: flex-start;
    gap: 14px;
    min-height: 56px;
    padding: 0 6px;
    border-radius: var(--sharp);
    border-bottom: 1px solid var(--line-soft);
    font-size: 18px;
  }
  .nav__no { display: inline; min-width: 26px; }
  .nav__link[aria-current="page"] { box-shadow: none; }

  .nav-toggle {
    display: inline-flex;
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 110;
  }
  body[data-nav-open="true"]::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(14, 26, 43, .68);
  }
  body[data-nav-open="true"] { overflow: hidden; }

  .expand__body { padding-left: 8px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-12 { grid-column: span 4; }
  .footer-col--nav, .footer-col, .footer-col:last-child { grid-column: span 12; }
  .footer-top { padding-bottom: 20px; }
  .footer-base { flex-direction: column; }
  .display { font-size: clamp(40px, 13vw, 72px); }
  .btn { width: 100%; }
  .header-actions .btn--sm { width: auto; }
  .expand__trigger { gap: 12px; font-size: 16px; }
  .expand__no { min-width: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .scroll-progress::after { transition: none; }
  .skip-link { transition: none; }
}
