/* =====================================================================
   火博体育站 · 共享站点套件 /assets/site.css
   夜间赛场数据指挥中心：炭黑基底 + 熔岩橙行动色 + 信号黄状态色
   ===================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #0B0D0F;
  --ink-2: #171B1E;
  --rock: #2A3136;
  --lava: #FF5A1F;
  --signal: #FFD23F;
  --steel: #9AAEB8;
  --bone: #F4EFE6;
  --clay: #B85C38;
  --moss: #5F7A61;
  --white: #FFFFFF;

  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 48px);

  --font-display: "Barlow Condensed", "Oswald", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, .68, .28, 1);
  --text-soft: rgba(244, 239, 230, .78);
  --text-dim: rgba(244, 239, 230, .56);
}

/* ---------- 3. 中文基础排版 ---------- */
body {
  min-height: 100vh;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--lava); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 1px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }

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

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(26px, 4vw, 52px); }

.stack > * + * { margin-top: 16px; }

.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, var(--rock), transparent 92%);
}

/* ---------- 5. 排版组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--steel);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--lava);
  transform: rotate(45deg);
}

.h-display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 6.4vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: .008em;
  color: var(--white);
  text-wrap: balance;
}

.h-section {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.65rem, 3.6vw, 2.7rem);
  line-height: 1.16;
  letter-spacing: .01em;
  color: var(--white);
}

.h-sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .12em;
  line-height: 1.35;
  color: var(--white);
}

.lede {
  max-width: 60ch;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.82;
  color: var(--text-soft);
}

.index-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--clay);
}

.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-soft);
}
.prose > * + * { margin-top: 1.05em; }
.prose h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.24;
  color: var(--white);
  margin-top: 1.8em;
}
.prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .08em;
  color: var(--white);
  margin-top: 1.5em;
}
.prose strong { color: var(--white); font-weight: 700; }
.prose a {
  color: var(--signal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul li { list-style: square; }
.prose ol li { list-style: decimal; }
.prose li + li { margin-top: .4em; }

.prose--paper {
  background: var(--bone);
  color: #1c2024;
  padding: clamp(22px, 4vw, 44px);
  border-left: 4px solid var(--clay);
}
.prose--paper h2, .prose--paper h3, .prose--paper strong { color: #0B0D0F; }
.prose--paper a { color: var(--clay); }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 26px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .16s var(--ease), background-color .16s var(--ease),
              color .16s var(--ease), border-color .16s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--lava);
  color: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.btn--primary:hover { background: #ff7139; }
.btn--primary:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--bone);
  border-color: var(--rock);
  border-left: 3px solid var(--lava);
}
.btn--ghost:hover { border-color: var(--lava); color: var(--signal); }

.btn--quiet {
  padding: 6px 0;
  min-height: 0;
  color: var(--signal);
  border-bottom: 1px solid rgba(255, 210, 63, .45);
}
.btn--quiet:hover { color: var(--white); border-bottom-color: var(--lava); }

/* ---------- 7. 面板 / 数据卡 / 标签 ---------- */
.panel {
  background: var(--ink-2);
  border: 1px solid var(--rock);
  padding: clamp(18px, 2.4vw, 28px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--rock);
}

.panel__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .16em;
  color: var(--white);
}

.stat {
  --stat-size: clamp(2.4rem, 5vw, 3.6rem);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(16px, 2vw, 24px);
  background: var(--ink-2);
  border-left: 3px solid var(--lava);
}
.stat__value {
  font-family: var(--font-mono);
  font-size: var(--stat-size);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--signal);
}
.stat__label {
  font-size: 13px;
  line-height: 1.55;
  color: var(--steel);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--steel);
  background: transparent;
  border: 1px solid var(--rock);
  transition: color .16s var(--ease), border-color .16s var(--ease), background-color .16s var(--ease);
}
.chip:hover { color: var(--bone); border-color: var(--steel); }
.chip[aria-pressed="true"] {
  color: var(--ink);
  background: var(--signal);
  border-color: var(--signal);
  font-weight: 700;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ink);
  background: var(--signal);
}
.tag::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--ink);
  transform: rotate(45deg);
}

/* ---------- 8. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(158deg, var(--rock) 0%, var(--ink-2) 62%, var(--ink) 100%);
  border: 1px solid var(--rock);
}
.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46px;
  height: 46px;
  background: var(--lava);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: .9;
  pointer-events: none;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 12px;
  background: linear-gradient(180deg, rgba(11, 13, 15, 0), rgba(11, 13, 15, .88));
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--bone);
}

/* ---------- 9. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--steel);
}
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--clay);
}
.breadcrumbs a { color: var(--steel); text-decoration: none; }
.breadcrumbs a:hover { color: var(--signal); }
.breadcrumbs [aria-current="page"] { color: var(--bone); }

/* ---------- 10. Skip link ---------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 400;
  padding: 12px 20px;
  background: var(--signal);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { top: 12px; outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- 11. 上部快捷条 ---------- */
.utility-bar {
  position: relative;
  z-index: 60;
  background: var(--ink-2);
  border-bottom: 1px solid var(--rock);
}
.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}
.utility-bar__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--steel);
  white-space: nowrap;
}
.utility-bar__label::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--lava);
  transform: rotate(45deg);
}
.utility-bar__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
}
.utility-link {
  position: relative;
  display: inline-block;
  padding-block: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--steel);
  text-decoration: none;
  transition: color .18s var(--ease);
}
.utility-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--lava);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .22s var(--ease);
}
.utility-link:hover,
.utility-link:focus-visible { color: var(--signal); }
.utility-link:hover::after,
.utility-link:focus-visible::after { transform: scaleX(1); transform-origin: left center; }

/* ---------- 12. 刊头 ---------- */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--ink);
}

.masthead { padding-top: clamp(14px, 2.4vw, 26px); }

.masthead__top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
  padding: 4px 0 clamp(16px, 2.2vw, 24px);
}
.masthead__top::before,
.masthead__top::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  min-width: 24px;
}
.masthead__top::before {
  background: linear-gradient(90deg, rgba(42, 49, 54, 0), var(--rock));
}
.masthead__top::after {
  background: linear-gradient(90deg, var(--rock), rgba(42, 49, 54, 0));
}

.brand {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--bone);
}
.brand__mark {
  width: 10px;
  height: 10px;
  background: var(--lava);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(135deg); }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4.4vw, 44px);
  line-height: 1;
  letter-spacing: .16em;
  color: var(--white);
  text-indent: .16em;
}
.brand__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .4em;
  text-indent: .4em;
  color: var(--signal);
}

/* ---------- 13. 主导航 ---------- */
.primary-nav {
  border-top: 1px solid var(--rock);
  border-bottom: 1px solid var(--rock);
}
.primary-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 1vw, 10px);
}
.primary-nav__link {
  position: relative;
  display: block;
  padding: 15px clamp(9px, 1.7vw, 20px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .16em;
  color: var(--bone);
  text-decoration: none;
  transition: color .18s var(--ease);
}
.primary-nav__link::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 7px;
  height: 2px;
  background: var(--lava);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s var(--ease);
}
.primary-nav__link:hover,
.primary-nav__link:focus-visible { color: var(--white); }
.primary-nav__link:hover::after,
.primary-nav__link:focus-visible::after { transform: scaleX(1); }

.primary-nav__link[aria-current="page"] { color: var(--signal); }
.primary-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--signal);
}

/* ---------- 14. 移动菜单按钮 ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 11px 14px;
  background: var(--ink-2);
  border: 1px solid var(--rock);
  border-left: 3px solid var(--lava);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.nav-toggle:hover { color: var(--signal); border-color: var(--lava); }
.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 12px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform .24s var(--ease), opacity .18s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(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(-5px) rotate(-45deg); }

/* ---------- 15. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 104px);
  background: var(--ink-2);
  border-top: 1px solid var(--rock);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(115deg, var(--lava) 0 18px, transparent 18px 44px);
  opacity: .85;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.05fr 1.5fr .85fr;
  gap: clamp(26px, 4vw, 56px);
  padding-block: clamp(34px, 5vw, 56px) clamp(26px, 4vw, 40px);
}

.footer__brand { display: flex; flex-direction: column; gap: 10px; }
.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: .16em;
  color: var(--white);
}
.footer__note {
  max-width: 30ch;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--steel);
}
.footer__icp {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--text-dim);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 32px);
}
.footer__col-title {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rock);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .18em;
  color: var(--signal);
}
.footer__list { display: flex; flex-direction: column; gap: 4px; }
.footer__link {
  display: inline-block;
  padding-block: 7px;
  font-size: 14px;
  color: var(--steel);
  text-decoration: none;
  transition: color .16s var(--ease), transform .16s var(--ease);
}
.footer__link:hover,
.footer__link:focus-visible { color: var(--bone); transform: translateX(2px); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: clamp(16px, 2vw, 26px);
  border-left: 1px solid var(--rock);
}
.footer__contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--clay);
}
.footer__mail {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--bone);
  word-break: break-all;
}
.footer__hours {
  font-size: 12.5px;
  color: var(--steel);
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 16px 26px;
  border-top: 1px solid var(--rock);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--steel);
}
.footer__copy { color: var(--text-dim); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__legal-link {
  color: var(--steel);
  text-decoration: none;
  transition: color .16s var(--ease);
}
.footer__legal-link:hover,
.footer__legal-link:focus-visible { color: var(--signal); }

/* ---------- 16. 滚动进度条（JS 注入） ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 300;
  background: var(--lava);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  will-change: transform;
}

/* ---------- 17. 滚动显现协议 ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .52s var(--ease), transform .52s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 18. 平板 ---------- */
@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__contact {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid var(--rock);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
  }
  .footer__contact-label { flex: none; }
}

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

/* ---------- 19. 移动端 ---------- */
@media (max-width: 860px) {
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }

  .utility-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 200;
    background: var(--ink-2);
    border-top: 1px solid var(--rock);
    border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .5);
  }
  .utility-bar__inner {
    justify-content: center;
    min-height: 58px;
    gap: 0;
  }
  .utility-bar__label { display: none; }
  .utility-bar__list {
    flex: 1 1 auto;
    justify-content: space-between;
    gap: 0;
  }
  .utility-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding-inline: 8px;
    font-size: 12px;
    letter-spacing: .1em;
  }
  .utility-link::after { display: none; }
  .utility-link:hover,
  .utility-link:focus-visible { color: var(--signal); }

  .masthead { padding-top: 12px; }
  .masthead__top {
    justify-content: flex-start;
    gap: 12px;
    padding: 0 0 14px;
  }
  .masthead__top::before,
  .masthead__top::after { display: none; }
  .brand { align-items: flex-start; gap: 4px; }
  .brand__name { font-size: 25px; letter-spacing: .13em; }
  .brand__meta { font-size: 9.5px; letter-spacing: .32em; }
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    display: grid;
    grid-template-rows: 1fr;
    border-top: 1px solid var(--rock);
    border-bottom: 0;
    transition: grid-template-rows .32s var(--ease);
  }
  .primary-nav[data-open="false"] {
    grid-template-rows: 0fr;
    border-top-color: transparent;
  }
  .primary-nav__list {
    min-height: 0;
    overflow: hidden;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
  }
  .primary-nav__list li + li { border-top: 1px solid var(--rock); }
  .primary-nav__link {
    padding: 16px 4px;
    font-size: 16px;
    letter-spacing: .12em;
  }
  .primary-nav__link::after { left: 4px; right: auto; width: 26px; bottom: 9px; }
  .primary-nav__link[aria-current="page"] { color: var(--signal); }

  .grid--2 { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 26px; }
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__contact { flex-direction: column; align-items: flex-start; }
  .footer__base { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---------- 20. 小屏 ---------- */
@media (max-width: 600px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr; gap: 20px; }
  .btn { width: 100%; }
  .prose { font-size: 16.5px; }
}

/* ---------- 21. 减少动态 ---------- */
@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-behavior: auto !important;
  }
  .js-reveal [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .btn:hover,
  .footer__link:hover,
  .footer__link:focus-visible { transform: none; }
  .brand:hover .brand__mark { transform: rotate(45deg); }
}

/* ---------- 22. 打印 ---------- */
@media print {
  body { background: #fff; color: #111; }
  .utility-bar, .nav-toggle, .site-footer::before, .scroll-progress { display: none !important; }
  .site-header, .site-footer { background: #fff; color: #111; border-color: #ccc; }
  .brand__name, .primary-nav__link, .footer__link { color: #111; }
  a { text-decoration: underline; }
}
