/* =========================================================
   天博赛场 · 共享样式表 /assets/site.css
   战术板 · 目录型内容地图 · 粗野主义运动色体系
   ========================================================= */

/* ---------- 1. RESET ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body { margin: 0; }

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

ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4, h5, h6, figure, blockquote, dl, dd { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- 2. TOKENS ---------- */
:root {
  --grass: #0B7A3B;
  --grass-lite: #149C4A;
  --red: #E23B2E;
  --yellow: #FFC400;
  --ink: #0E1B33;
  --ink-2: #16294A;
  --field: #F4F7F1;
  --line: #E6EBE0;
  --muted: #7A8794;
  --white: #FFFFFF;

  --max: 1280px;
  --pad: clamp(16px, 4vw, 40px);
  --r-pill: 999px;
  --r-card: 14px;
  --shadow-hard: 6px 6px 0 var(--ink);
  --shadow-soft: 3px 3px 0 var(--ink);

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-num: "Barlow Semi Condensed", "Oswald", "DIN Alternate", "Arial Narrow", system-ui, sans-serif;
}

/* ---------- 3. 中文排版基底 ---------- */
body {
  background: var(--field);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(30px, 5.4vw, 56px); }
h2 { font-size: clamp(23px, 3.2vw, 36px); }
h3 { font-size: clamp(18px, 2vw, 24px); }

strong { font-weight: 700; }

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

/* ---------- 4. 工具类 ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.32s ease-out, transform 0.32s ease-out;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 5. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  padding: 10px var(--pad) 8px;
  background: rgba(244, 247, 241, 0.94);
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header[data-compact] {
  background: rgba(244, 247, 241, 0.985);
  box-shadow: 0 8px 0 -4px rgba(14, 27, 51, 0.08);
}

.skip-link {
  position: absolute;
  left: 14px;
  top: -80px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 10px;
}

.read-progress {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: rgba(14, 27, 51, 0.08);
  overflow: hidden;
}
.read-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.12s linear;
}

/* 胶囊浮岛 */
.capsule {
  position: relative;
  max-width: var(--max);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 10px 12px 10px 16px;
  background: var(--grass);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--white);
  transition: padding 0.28s ease, border-radius 0.28s ease, box-shadow 0.28s ease;
}
.site-header[data-compact] .capsule {
  padding-top: 6px;
  padding-bottom: 6px;
  border-radius: 18px;
  box-shadow: 3px 3px 0 var(--ink);
}

/* 品牌锁形 */
.brand {
  order: 1;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}
.brand__mark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
}
.brand__mark-a,
.brand__mark-b {
  display: block;
  width: 12px;
  height: 17px;
  border-radius: 2px;
  border: 1.5px solid var(--ink);
}
.brand__mark-a {
  background: var(--yellow);
  transform: rotate(-7deg);
}
.brand__mark-b {
  background: var(--red);
  transform: rotate(6deg);
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.06;
}
.brand__name {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.01em;
}
.brand__wordmark {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.72);
}

/* 主导航 */
.site-nav {
  order: 2;
  margin-inline-start: auto;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-nav__item { display: block; }
.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.site-nav__link:hover {
  background: rgba(14, 27, 51, 0.3);
  color: var(--white);
}
.site-nav__link:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}
.site-nav__link[aria-current="page"] {
  background: var(--yellow);
  border-color: var(--ink);
  color: var(--ink);
}
.site-nav__num {
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.7;
}
.site-nav__link[aria-current="page"] .site-nav__num { opacity: 1; }

/* 头部行动按钮 */
.capsule__cta {
  order: 3;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 2px 2px 0 rgba(14, 27, 51, 0.85);
  transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease;
}
.capsule__cta:hover {
  background: var(--white);
  transform: translateY(-1px);
}
.capsule__cta:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* 移动导航按钮 */
.nav-toggle {
  order: 4;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  background: rgba(14, 27, 51, 0.34);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.nav-toggle:hover { background: rgba(14, 27, 51, 0.55); }
.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 18px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-header[data-open] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.site-header[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* 胶囊副行 */
.capsule__meta {
  order: 5;
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  padding: 8px 6px 2px;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.84);
  max-height: 96px;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.22s ease, padding 0.3s ease, border-color 0.3s ease;
}
.site-header[data-compact] .capsule__meta {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
}
.capsule__tagline {
  font-weight: 700;
  color: var(--white);
}
.capsule__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.capsule__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.24);
  flex: 0 0 auto;
}
.capsule__latest {
  margin-inline-start: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 196, 0, 0.5);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.capsule__latest:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  margin-top: 72px;
  padding: 48px var(--pad) 26px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  border-top: 3px solid var(--grass);
}

.footer-grid {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(220px, 1.05fr) 3fr;
  gap: 40px 48px;
}

.footer-brand__link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;
  color: var(--white);
  width: fit-content;
}
.footer-brand__name {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.footer-brand__wordmark {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--yellow);
}
.footer-brand__tagline {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
  max-width: 22em;
}
.footer-brand__domain {
  margin-top: 8px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.42);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
}
.footer-col__title {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--white);
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.14);
}
.footer-col__title::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--yellow);
  margin-inline-end: 9px;
  flex: 0 0 auto;
}
.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 14px;
}
.footer-col__list a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.16s ease, transform 0.16s ease;
}
.footer-col__list a::before {
  content: "";
  width: 7px;
  height: 2px;
  background: var(--grass-lite);
  flex: 0 0 auto;
}
.footer-col__list a:hover {
  color: var(--yellow);
  transform: translateX(2px);
}
.footer-col__list a:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.footer-contact {
  max-width: var(--max);
  margin: 38px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.footer-contact__item {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
}
.footer-contact__item strong {
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}

.footer-note {
  max-width: var(--max);
  margin: 12px auto 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

.footer-bottom {
  max-width: var(--max);
  margin: 22px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 22px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom__legal { color: rgba(255, 255, 255, 0.62); }
.footer-bottom__icp {
  font-family: var(--font-num);
  letter-spacing: 0.06em;
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}
.btn:focus-visible {
  outline: 3px solid var(--grass);
  outline-offset: 3px;
}
.btn--solid {
  background: var(--grass);
  color: var(--white);
}
.btn--yellow {
  background: var(--yellow);
  color: var(--ink);
}
.btn--danger {
  background: var(--red);
  color: var(--white);
}
.btn--ghost {
  background: transparent;
  box-shadow: none;
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--white);
  transform: none;
  box-shadow: none;
}
.btn--ghost:active { transform: translate(1px, 1px); }
.btn--sm {
  padding: 8px 15px;
  font-size: 13px;
  box-shadow: 3px 3px 0 var(--ink);
}

/* ---------- 8. 面包屑 ---------- */
.crumbs {
  font-size: 12.5px;
  color: var(--muted);
}
.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.crumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.crumbs__item + .crumbs__item::before {
  content: "/";
  font-family: var(--font-num);
  color: var(--line);
}
.crumbs__item a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.crumbs__item a:hover {
  color: var(--grass);
  border-bottom-color: var(--grass);
}
.crumbs__item[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- 9. 卡片与标签 ---------- */
.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-hard);
}
.card--ink {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.card--grass {
  background: var(--grass);
  color: var(--white);
  border-color: var(--ink);
}
.card--red {
  background: var(--red);
  color: var(--white);
  border-color: var(--ink);
}
.card__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grass);
}
.card__title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}
.card__body {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}
.card--ink .card__label,
.card--red .card__label { color: var(--yellow); }
.card--grass .card__label { color: rgba(255, 255, 255, 0.82); }
.card--ink .card__title,
.card--grass .card__title,
.card--red .card__title { color: var(--white); }
.card--ink .card__body,
.card--grass .card__body,
.card--red .card__body { color: rgba(255, 255, 255, 0.78); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--line);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}
.tag--red {
  background: var(--red);
  color: var(--white);
}
.tag--yellow {
  background: var(--yellow);
  color: var(--ink);
}
.tag--grass {
  background: var(--grass);
  color: var(--white);
}

/* ---------- 10. 网格 ---------- */
.grid {
  display: grid;
  gap: 22px;
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--sidebar {
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
}

/* ---------- 11. 正文容器 ---------- */
.prose {
  max-width: 36em;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-2);
}
.prose p { margin: 0 0 1.15em; }
.prose h2,
.prose h3 { margin: 1.7em 0 0.55em; }
.prose h2:first-child,
.prose h3:first-child { margin-top: 0; }
.prose ul {
  margin: 0 0 1.15em;
}
.prose li {
  position: relative;
  padding-inline-start: 18px;
  margin-bottom: 7px;
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 9px;
  height: 2px;
  background: var(--grass);
}
.prose a {
  color: var(--grass);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(11, 122, 59, 0.35);
}
.prose a:hover { border-bottom-color: var(--grass); }
.prose strong { color: var(--ink); }

/* ---------- 12. 图片容器（响应式占位基底） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ink-2);
  border: 2px solid var(--ink);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-hard);
}
.media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04);
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }

/* ---------- 13. 大号数据 ---------- */
.figure-num {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.figure-num__value {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.figure-num__unit {
  font-family: var(--font-sans);
  font-size: 0.34em;
  font-weight: 700;
  color: var(--muted);
  margin-inline-start: 7px;
}
.figure-num__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 14. 目录脊与索引栏 ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grass);
}
.section-label--vertical {
  writing-mode: vertical-rl;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 14px;
  margin-bottom: 26px;
  border-bottom: 2px solid var(--ink);
}
.section-head__title { font-size: clamp(22px, 3vw, 32px); }
.section-head__note {
  font-size: 13px;
  color: var(--muted);
  max-width: 40ch;
}

.index-rail {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.index-rail__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.index-rail__item:hover {
  color: var(--ink);
  background: var(--line);
}
.index-rail__item.is-current {
  color: var(--ink);
  background: var(--white);
  border-color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.index-rail__num {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--grass);
}
.index-rail__item.is-current .index-rail__num { color: var(--grass); }

/* ---------- 15. 旁注 ---------- */
.note {
  padding: 11px 15px;
  border-left: 3px solid var(--yellow);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 196, 0, 0.1);
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1080px) {
  .grid--sidebar {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .index-rail {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .footer-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .site-header {
    padding: 8px var(--pad) 6px;
  }
  .capsule {
    gap: 8px 12px;
    padding: 9px 10px 9px 13px;
    border-radius: 20px;
    box-shadow: 4px 4px 0 var(--ink);
  }
  .site-header[data-compact] .capsule {
    border-radius: 16px;
    box-shadow: 3px 3px 0 var(--ink);
  }
  .brand__wordmark { display: none; }
  .capsule__meta { display: none; }
  .capsule__cta {
    margin-inline-start: auto;
    padding: 7px 13px;
    font-size: 12.5px;
    box-shadow: none;
  }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    order: 6;
    flex: 1 1 100%;
    margin-inline-start: 0;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease, visibility 0s linear 0.3s;
  }
  .site-header[data-open] .site-nav {
    max-height: 70vh;
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    transition: max-height 0.32s ease, opacity 0.2s ease, visibility 0s;
  }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0 4px;
  }
  .site-nav__link {
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14.5px;
  }
  .site-nav__num { order: 2; }
  .site-nav__link[aria-current="page"] {
    background: var(--yellow);
    color: var(--ink);
  }
}

@media (max-width: 720px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; }
  .btn { padding: 10px 17px; font-size: 13.5px; }
}

@media (max-width: 620px) {
  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 17px; }
  .media-frame { box-shadow: 4px 4px 0 var(--ink); }
}

/* ---------- 17. REDUCED MOTION ---------- */
@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;
    transition-delay: 0ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .read-progress__bar { transition: none; }
}
