/* =========================================================
   谈球吧看台 · /assets/site.css
   夜场看台 + 数据荧光 · 共享外壳与基础组件
   ========================================================= */

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

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

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, figure, blockquote, figure { margin: 0; }

ul, ol { padding: 0; list-style: none; }

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

button { font: inherit; color: inherit; background: none; border: 0; }

a { color: inherit; }

:target { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- 2. 设计令牌 ---------- */
:root {
  /* 色彩 */
  --ink: #07140F;
  --panel: #0C2419;
  --moss: #1E5A3C;
  --stone: #7F8C84;
  --white: #F3F7F2;
  --lime: #D6FF3F;
  --amber: #FF7A2F;
  --clay: #B96D4E;
  --void: #020806;

  --line: rgba(127, 140, 132, .28);
  --line-lime: rgba(214, 255, 63, .34);

  /* 字体 */
  --font-display: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 尺度 */
  --header-h: 76px;
  --wrap: 1240px;
  --gutter: clamp(18px, 4.2vw, 48px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --cut: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  --cut-sm: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 68% at 80% -10%, rgba(214, 255, 63, .06), transparent 58%),
    radial-gradient(96% 56% at 0% 4%, rgba(255, 122, 47, .05), transparent 54%);
  background-repeat: no-repeat;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body[data-nav-open] { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -.012em;
}

h1 { font-size: clamp(2.25rem, 4.6vw, 4.5rem); line-height: 1.06; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.75rem); line-height: 1.12; }
h3 { font-size: clamp(1.3rem, 1.7vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p { max-width: 76ch; }

strong { font-weight: 700; color: var(--white); }

/* ---------- 4. 无障碍基础 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 999;
  padding: 10px 20px;
  background: var(--lime);
  color: var(--void);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  clip-path: var(--cut-sm);
  transform: translate(-50%, -180%);
  transition: transform .18s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  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;
}

/* ---------- 5. 布局容器 ---------- */
#main-content { padding-top: var(--header-h); }

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

.section { padding-block: clamp(48px, 6.6vw, 92px); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 38px);
}

.grid--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid--split-rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- 6. 文字组件 ---------- */
.chapter {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--stone);
}
.chapter__num {
  font-family: var(--font-mono);
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.display {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.015em;
}
.display--tilt {
  display: inline-block;
  transform: skewX(-1.5deg);
  transform-origin: left center;
}

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--stone);
}

.lede {
  max-width: 62ch;
  font-size: clamp(1rem, 1.25vw, 1.175rem);
  line-height: 1.8;
  color: rgba(243, 247, 242, .82);
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

/* ---------- 7. 按钮 ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-bd: rgba(243, 247, 242, .3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  clip-path: var(--cut);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s var(--ease), background-color .16s var(--ease),
              color .16s var(--ease), border-color .16s var(--ease),
              box-shadow .16s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--lime {
  --btn-bg: var(--lime);
  --btn-fg: var(--void);
  --btn-bd: var(--lime);
}
.btn--lime:hover {
  --btn-bg: #E4FF74;
  box-shadow: 0 12px 30px -18px rgba(214, 255, 63, .85);
}

.btn--ghost {
  --btn-bg: rgba(12, 36, 25, .66);
  --btn-fg: var(--white);
  --btn-bd: rgba(214, 255, 63, .3);
}
.btn--ghost:hover {
  --btn-bd: var(--lime);
  --btn-fg: var(--lime);
}

.btn--amber {
  --btn-bg: var(--amber);
  --btn-fg: var(--void);
  --btn-bd: var(--amber);
}

.btn--sm { padding: 10px 18px; font-size: 13px; }

/* ---------- 8. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(214, 255, 63, .1);
  border: 1px solid rgba(214, 255, 63, .32);
  clip-path: var(--cut-sm);
}
.tag--amber {
  color: var(--amber);
  background: rgba(255, 122, 47, .1);
  border-color: rgba(255, 122, 47, .38);
}
.tag--clay {
  color: var(--clay);
  background: rgba(185, 109, 78, .14);
  border-color: rgba(185, 109, 78, .4);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  font-size: 13px;
  color: rgba(243, 247, 242, .78);
  background: rgba(12, 36, 25, .86);
  border: 1px solid var(--line);
  clip-path: var(--cut-sm);
  cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease),
              background-color .16s var(--ease);
}
.chip:hover { color: var(--lime); border-color: var(--line-lime); }
.chip[aria-pressed="true"],
.chip.is-active {
  color: var(--void);
  background: var(--lime);
  border-color: var(--lime);
}

/* ---------- 9. 面包屑 ---------- */
.breadcrumb {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
}
.breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: rgba(127, 140, 132, .55);
}
.breadcrumb__link {
  color: var(--stone);
  text-decoration: none;
  transition: color .16s var(--ease);
}
.breadcrumb__link:hover { color: var(--lime); }
.breadcrumb__current { color: var(--lime); }

/* ---------- 10. 图片容器基础 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: var(--panel);
  clip-path: var(--cut);
}
.media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    repeating-linear-gradient(112deg, rgba(214, 255, 63, .07) 0 1px, transparent 1px 36px),
    linear-gradient(180deg, rgba(2, 8, 6, 0) 42%, rgba(2, 8, 6, .74) 100%);
}
.media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.06) brightness(.78);
  transition: transform .5s var(--ease);
}
.media:hover img { transform: scale(1.03); }

.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }

.media__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(127, 140, 132, .86);
  background:
    repeating-linear-gradient(135deg, rgba(30, 90, 60, .5) 0 10px, rgba(12, 36, 25, .5) 10px 20px);
}

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--white);
}
.media__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
}

/* =========================================================
   11. 头部
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              box-shadow .18s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 8, 6, .92) 0%, rgba(2, 8, 6, .44) 64%, rgba(2, 8, 6, 0) 100%);
  transition: opacity .18s var(--ease);
}
.site-header[data-scrolled] {
  background-color: var(--panel);
  border-bottom-color: rgba(214, 255, 63, .2);
  box-shadow: 0 22px 48px -36px #000;
}
.site-header[data-scrolled]::before { opacity: 0; }

.site-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  height: var(--header-h);
  padding-inline: var(--gutter);
}

/* 品牌锁 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--white);
}
.brand__mark {
  display: grid;
  place-items: center;
  inline-size: 38px;
  block-size: 38px;
  background: var(--lime);
  color: var(--void);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
  transition: transform .16s var(--ease);
}
.brand:hover .brand__mark { transform: translateY(-2px); }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .02em;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--stone);
}
.brand--footer .brand__name { font-size: 19px; }
.brand--footer .brand__mark { inline-size: 42px; block-size: 42px; }

/* 主导航 */
.nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 13px;
  color: rgba(243, 247, 242, .74);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.nav__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--stone);
  transition: color .16s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .18s var(--ease);
}
.nav__link:hover {
  color: var(--white);
  background-color: rgba(214, 255, 63, .07);
}
.nav__link:hover .nav__num { color: var(--lime); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] {
  color: var(--lime);
  background-color: transparent;
}
.nav__link[aria-current="page"] .nav__num { color: var(--lime); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* 快捷入口：桌面隐藏，抽屉内启用 */
.nav__quick { display: none; }
.nav__quick-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--lime);
  background: rgba(214, 255, 63, .1);
  border: 1px solid rgba(214, 255, 63, .3);
  clip-path: var(--cut-sm);
  padding: 7px 12px;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.nav__quick-link:hover { background: var(--lime); color: var(--void); }

/* 头部右侧 */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.header__cta { white-space: nowrap; }

/* 进度线 */
.header__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 2px;
  pointer-events: none;
  background: rgba(127, 140, 132, .16);
}
.header__progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--lime) 0%, var(--amber) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  color: var(--white);
  background: rgba(12, 36, 25, .72);
  border: 1px solid rgba(243, 247, 242, .24);
  clip-path: var(--cut-sm);
  cursor: pointer;
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.nav-toggle:hover {
  border-color: var(--lime);
  background-color: rgba(214, 255, 63, .1);
}
.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  height: 14px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--lime);
  transition: transform .18s var(--ease), opacity .18s var(--ease);
}
.nav-toggle__bars span:nth-child(2) { width: 70%; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
  transform: scaleX(.2);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.nav-toggle__text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--stone);
}

/* =========================================================
   12. 页脚
   ========================================================= */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  padding-top: clamp(44px, 6vw, 78px);
  background: linear-gradient(180deg, var(--panel) 0%, var(--ink) 72%);
  border-top: 1px solid rgba(214, 255, 63, .16);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 3px;
  width: min(440px, 62%);
  background: linear-gradient(90deg,
    var(--lime) 0 46%,
    var(--amber) 46% 72%,
    var(--clay) 72% 88%,
    var(--moss) 88% 100%);
}
.site-footer__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.6fr) minmax(0, 1.45fr);
  gap: clamp(28px, 4.6vw, 64px);
  padding-bottom: clamp(34px, 4.6vw, 58px);
}

.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__line {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: rgba(243, 247, 242, .82);
  letter-spacing: .02em;
}
.footer__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--stone);
}
.dot {
  display: inline-block;
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(214, 255, 63, .16);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.footer__col { min-width: 0; }

.footer__title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--stone);
}

.footer__list { display: flex; flex-direction: column; gap: 11px; }

.footer__link {
  position: relative;
  display: inline-block;
  padding-left: 0;
  font-size: 14.5px;
  color: rgba(243, 247, 242, .74);
  text-decoration: none;
  transition: color .16s var(--ease), transform .16s var(--ease);
}
.footer__link::before {
  content: "";
  position: absolute;
  left: -14px;
  top: .66em;
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0;
  transform: scale(.4);
  transition: opacity .16s var(--ease), transform .16s var(--ease);
}
.footer__link:hover {
  color: var(--lime);
  transform: translateX(4px);
}
.footer__link:hover::before { opacity: 1; transform: scale(1); }

.footer__list--contact { gap: 13px; }
.footer__list--contact li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.footer__key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--stone);
  padding-top: 2px;
}
.footer__value {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(243, 247, 242, .84);
  overflow-wrap: anywhere;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__legal-link {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--stone);
  text-decoration: none;
  transition: color .16s var(--ease);
}
.footer__legal-link:hover { color: var(--lime); }
.footer__copy {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--stone);
}
.footer__icp { color: rgba(127, 140, 132, .9); }

/* =========================================================
   13. 响应式
   ========================================================= */
@media (max-width: 1200px) {
  .nav__link { font-size: 14px; padding: 10px 10px; gap: 6px; }
  .nav__link::after { left: 10px; right: 10px; }
  .brand__sub { display: none; }
}

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

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

  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    margin-left: 0;
    padding: 20px var(--gutter) 48px;
    overflow-y: auto;
    background: var(--ink);
    border-top: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .18s var(--ease), transform .18s var(--ease),
                visibility .18s var(--ease);
  }
  .nav[data-open] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    order: -1;
    padding-bottom: 8px;
  }
  .nav__quick-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--stone);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link {
    display: flex;
    gap: 16px;
    padding: 17px 4px;
    font-size: 18px;
    color: rgba(243, 247, 242, .86);
  }
  .nav__link:hover { background-color: transparent; }
  .nav__num {
    width: 28px;
    flex: 0 0 auto;
    font-size: 12px;
    letter-spacing: .06em;
  }
  .nav__link::after { left: 4px; right: 4px; bottom: 8px; }

  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__contact { grid-column: 1 / -1; }
}

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

  .header__cta { padding: 9px 13px; font-size: 12px; }
  .nav-toggle__text { display: none; }

  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__legal { gap: 14px; }
}

@media (max-width: 420px) {
  .brand__mark { inline-size: 34px; block-size: 34px; font-size: 12px; }
  .brand__name { font-size: 15px; }
  .header__cta { display: none; }
}

/* =========================================================
   14. 动效降级
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .btn:hover,
  .brand:hover .brand__mark,
  .footer__link:hover,
  .media:hover img { transform: none; }
}
