/* ==========================================================================
   维基体育主站 · 共享样式 /assets/site.css
   岩灰砖体 + 汾河暮色底座，荧光橙与青蓝对冲的赛场夜光感
   ========================================================================== */

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

html {
  background-color: #F4EFE5;
  background-image:
    repeating-linear-gradient(0deg, rgba(52, 50, 46, .035) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(52, 50, 46, .035) 0 1px, transparent 1px 34px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background-color: transparent;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.12;
}

p { margin: 0; }

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

figure, blockquote, dl, dd { margin: 0; }

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

button { font: inherit; }

a { color: inherit; }

table { border-collapse: collapse; width: 100%; }

[id] { scroll-margin-top: 130px; }

::selection {
  background: #FF5A1F;
  color: #161513;
}

/* ---------- 2. 变量 ---------- */
:root {
  /* 矿物基底 */
  --rock:   #34322E;
  --ink:    #161513;
  --cream:  #F4EFE5;
  --sand:   #E3DACB;
  --slate:  #6B7178;
  --moss:   #4C5A45;
  --clay:   #B4603A;
  /* 赛场夜光 */
  --flame:  #FF5A1F;
  --cyan:   #17A2BE;
  --glow:   #8FE6EF;

  /* 字体 */
  --font-sans: "Noto Sans SC", system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-data: "Roboto Mono", "DIN Alternate", ui-monospace, "SFMono-Regular", "Courier New", monospace;

  /* 结构 */
  --wrap: 1320px;
  --gutter: 24px;
  --line: 2px solid #161513;
  --shadow: 8px 8px 0 #161513;
  --shadow-cyan: 8px 8px 0 #17A2BE;
  --shadow-flame: 8px 8px 0 #FF5A1F;
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --shadow: 6px 6px 0 #161513; }
}

/* ---------- 3. 焦点与可访问 ---------- */
:focus-visible {
  outline: 3px solid var(--flame);
  outline-offset: 3px;
}

.section--dark :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--glow);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 12px 20px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: var(--flame);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  border: var(--line);
  box-shadow: 6px 6px 0 var(--ink);
  transform: translateY(-180%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

/* ---------- 4. 排版基元 ---------- */
.content {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}

.content > * + * { margin-top: 1.2em; }

.content h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin-top: 2em;
  letter-spacing: -.02em;
}

.content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 1.6em;
}

.content ul { list-style: disc; padding-left: 1.3em; }
.content ol { list-style: decimal; padding-left: 1.3em; }
.content li + li { margin-top: .5em; }

.content a {
  color: var(--clay);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.content a:hover { color: var(--flame); }

.section--dark .content { color: var(--cream); }
.section--dark .content a { color: var(--glow); }

/* ---------- 5. 滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--flame);
  z-index: 130;
  pointer-events: none;
}

/* ---------- 6. 共享外壳：页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: var(--line);
  transition: box-shadow .2s ease;
}

.site-header[data-condensed] { box-shadow: 0 6px 0 rgba(22, 21, 19, .08); }

.site-header__inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  transition: padding .24s ease;
}

.site-header[data-condensed] .site-header__inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* 品牌 */
.brand { min-width: 0; }

.brand__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand__mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--flame);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0;
  clip-path: polygon(0 0, 100% 0, 100% 74%, 74% 100%, 0 100%);
  transition: width .24s ease, height .24s ease, flex-basis .24s ease, font-size .24s ease, background-color .2s;
}

.brand__link:hover .brand__mark {
  background: var(--flame);
  color: var(--ink);
}

.brand__text { min-width: 0; }

.brand__name {
  display: block;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.15;
  white-space: nowrap;
  transition: font-size .24s ease;
}

.brand__domain {
  display: block;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--slate);
  line-height: 1.3;
  white-space: nowrap;
}

.site-header[data-condensed] .brand__mark {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  font-size: 16px;
}

.site-header[data-condensed] .brand__name { font-size: 16px; }
.site-header[data-condensed] .brand__domain { display: none; }

/* 中间状态提示 */
.header-status {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 16px;
  border-left: 2px solid var(--sand);
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--slate);
  opacity: 1;
  transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease;
}

.header-status::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  background: var(--flame);
}

.site-header[data-condensed] .header-status {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

/* 导航 */
.nav { justify-self: end; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.nav__link:hover {
  background: var(--ink);
  color: var(--glow);
}

.nav__link[aria-current="page"] {
  font-weight: 900;
  background: var(--sand);
  box-shadow: inset 0 -3px 0 var(--flame);
}

.nav__note,
.nav__stat { display: none; }

/* 移动端按钮 */
.nav-toggle {
  display: none;
  justify-self: end;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--cream);
  border: var(--line);
  border-radius: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .04em;
}

.nav-toggle:hover {
  background: var(--flame);
  color: var(--ink);
  border-color: var(--ink);
}

.nav-toggle__bars {
  display: block;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
}

/* 移动遮罩 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(22, 21, 19, .58);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
}

body[data-nav-open]::after {
  opacity: 1;
  pointer-events: auto;
}

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

/* ---------- 7. 共享外壳：页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--rock);
  color: var(--cream);
  border-top: var(--line);
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -150px;
  width: 400px;
  height: 400px;
  background: var(--cyan);
  opacity: .16;
  transform: rotate(-4deg);
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) var(--gutter) 32px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr 1.25fr .95fr;
  gap: 36px 28px;
}

.foot-block { min-width: 0; }

.foot-brand {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--cream);
}

.foot-domain {
  margin-top: 10px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--glow);
}

.foot-lead {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(244, 239, 229, .8);
}

.foot-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--sand);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 2px solid rgba(244, 239, 229, .22);
}

.foot-list {
  display: grid;
  gap: 2px;
}

.foot-list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  font-size: 15px;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}

.foot-list a:hover {
  color: var(--glow);
  border-bottom-color: var(--glow);
}

.foot-list--contact { gap: 14px; }

.foot-list--contact li {
  display: grid;
  gap: 4px;
}

.foot-label {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--glow);
}

.foot-value {
  font-size: 14px;
  line-height: 1.65;
  color: var(--cream);
  overflow-wrap: anywhere;
}

.foot-note {
  margin-top: 14px;
  max-width: 36ch;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(244, 239, 229, .62);
}

.foot-base {
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 20px;
  border-top: 2px solid rgba(244, 239, 229, .22);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 13px;
  color: rgba(244, 239, 229, .72);
}

.foot-icp {
  font-family: var(--font-data);
  letter-spacing: .06em;
}

/* ---------- 8. 布局工具 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap--narrow { max-width: 860px; }

.section { padding: clamp(56px, 8vw, 116px) 0; }
.section--tight { padding: clamp(32px, 5vw, 64px) 0; }
.section--loose { padding: clamp(72px, 11vw, 160px) 0; }

.section--sand { background: var(--sand); }

.section--dark {
  background: var(--rock);
  color: var(--cream);
}

.section--lined {
  border-top: var(--line);
  border-bottom: var(--line);
}

.grid { display: grid; gap: 32px; }
.grid--7-5 { grid-template-columns: 7fr 5fr; }
.grid--8-4 { grid-template-columns: 8fr 4fr; }
.grid--5-7 { grid-template-columns: 5fr 7fr; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- 9. 章节头 ---------- */
.sec-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.sec-index {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: clamp(4rem, 13vw, 10rem);
  line-height: .78;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

@supports not (-webkit-text-stroke: 1px #000) {
  .sec-index { color: var(--sand); }
}

.sec-kicker {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--slate);
  margin-bottom: 10px;
}

.sec-title {
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.06;
}

.section--dark .sec-index { -webkit-text-stroke-color: var(--glow); }
.section--dark .sec-kicker { color: var(--glow); }

/* ---------- 10. 面板与标签 ---------- */
.panel {
  background: var(--cream);
  border: var(--line);
  box-shadow: var(--shadow);
  padding: 24px;
}

.panel--sand { background: var(--sand); }

.panel--dark {
  background: var(--rock);
  color: var(--cream);
  box-shadow: var(--shadow-cyan);
}

.panel--flame {
  background: var(--flame);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.panel--cyan {
  background: var(--cyan);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.5;
  border: 2px solid var(--ink);
  background: var(--sand);
  color: var(--ink);
}

.tag--moss { background: var(--moss); border-color: var(--moss); color: var(--cream); }
.tag--clay { background: var(--clay); border-color: var(--clay); color: var(--cream); }
.tag--cyan { background: var(--cyan); border-color: var(--ink); color: var(--ink); }
.tag--flame { background: var(--flame); border-color: var(--ink); color: var(--ink); }

/* ---------- 11. 数据 ---------- */
.num {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -.01em;
}

.num--xl {
  display: block;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 1;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat__value {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
}

.stat__label {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--slate);
}

.section--dark .stat__label,
.panel--dark .stat__label { color: rgba(244, 239, 229, .7); }

.facts { border-top: 2px solid var(--sand); }

.facts__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 2px;
  border-bottom: 2px solid var(--sand);
}

.facts__key {
  font-size: 15px;
  color: var(--ink);
}

.facts__val {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 700;
  text-align: right;
}

.section--dark .facts,
.section--dark .facts__row { border-color: rgba(244, 239, 229, .24); }
.section--dark .facts__key { color: var(--cream); }
.section--dark .facts__val { color: var(--glow); }

/* ---------- 12. 图片容器 ---------- */
.figure {
  position: relative;
  border: var(--line);
  background: var(--sand);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.figure__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--rock);
  overflow: hidden;
}

.figure__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(143, 230, 239, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 230, 239, .16) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.figure__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure__cap {
  position: relative;
  z-index: 1;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--ink);
  background: var(--cream);
  border-top: var(--line);
}

.figure--wide .figure__media { aspect-ratio: 21 / 9; }
.figure--tall .figure__media { aspect-ratio: 3 / 4; }
.figure--square .figure__media { aspect-ratio: 1 / 1; }

.figure--tilt {
  transform: rotate(-3deg);
  margin: 10px 14px 18px 4px;
}

/* ---------- 13. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: var(--line);
  border-radius: 0;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease;
}

.btn:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.btn:active {
  transform: translate(6px, 6px);
  box-shadow: 0 0 0 var(--ink);
}

.btn--flame {
  background: var(--flame);
  color: var(--ink);
}

.btn--flame:hover {
  background: var(--ink);
  color: var(--flame);
}

.btn--glow {
  background: var(--cyan);
  color: var(--ink);
}

.btn--glow:hover {
  background: var(--ink);
  color: var(--glow);
}

.btn--ghost { background: transparent; }

.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

/* ---------- 14. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0;
  font-size: 13px;
  color: var(--slate);
}

.crumbs__link {
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}

.crumbs__link:hover {
  color: var(--ink);
  border-bottom-color: var(--flame);
}

.crumbs__sep {
  color: var(--slate);
  opacity: .7;
}

.crumbs__current {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- 15. 折叠组 ---------- */
.acc { border-top: var(--line); }

.acc__item { border-bottom: var(--line); }

.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 18px 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: inherit;
  text-align: left;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -.01em;
  transition: color .16s ease;
}

.acc__btn:hover { color: var(--clay); }

.section--dark .acc__btn:hover { color: var(--glow); }

.acc__icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  font-family: var(--font-data);
  font-size: 16px;
  line-height: 1;
  transition: transform .22s ease, color .22s ease, border-color .22s ease;
}

.acc__btn[aria-expanded="true"] .acc__icon {
  transform: rotate(45deg);
  color: var(--flame);
  border-color: var(--flame);
}

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .28s ease, visibility .28s ease;
}

.acc__item[data-open] .acc__panel {
  grid-template-rows: 1fr;
  visibility: visible;
}

.acc__panel-inner {
  overflow: hidden;
  min-height: 0;
}

.acc__panel-inner > * {
  padding: 0 4px 24px;
  max-width: 70ch;
  font-size: 16px;
  line-height: 1.75;
}

.acc__panel-inner > *:last-child { padding-bottom: 26px; }

/* ---------- 16. 标签页 ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  border: var(--line);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.tabs__btn {
  flex: 1 1 auto;
  min-height: 48px;
  padding: 12px 20px;
  background: transparent;
  border: 0;
  border-right: var(--line);
  cursor: pointer;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background-color .16s ease, color .16s ease;
}

.tabs__btn:last-child { border-right: 0; }

.tabs__btn:hover { background: var(--sand); }

.tabs__btn[aria-selected="true"] {
  background: var(--cyan);
  color: var(--ink);
}

.tab-panel { padding-top: 32px; }
.tab-panel[hidden] { display: none; }

/* ---------- 17. 显现动效 ---------- */
[data-reveal-armed] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .34s ease, transform .34s ease;
}

[data-reveal-armed].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1023px) {
  .site-header__inner { grid-template-columns: auto minmax(0, 1fr) auto; }

  .header-status { display: none; }

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

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    width: min(86vw, 360px);
    padding: 96px 24px 40px;
    overflow-y: auto;
    background: var(--rock);
    color: var(--cream);
    border-left: var(--line);
    transform: translateX(104%) rotate(-2.5deg);
    transform-origin: 100% 0;
    visibility: hidden;
    transition: transform .3s cubic-bezier(.2, .85, .25, 1), visibility .3s ease;
  }

  .nav[data-open] {
    transform: translateX(0) rotate(0);
    visibility: visible;
  }

  .nav__list {
    display: grid;
    gap: 0;
    align-items: stretch;
  }

  .nav__item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(244, 239, 229, .18);
  }

  .nav__link {
    display: block;
    padding: 10px 0;
    min-height: 44px;
    font-size: 20px;
    font-weight: 900;
    color: var(--cream);
    white-space: normal;
  }

  .nav__link:hover,
  .nav__link:focus-visible {
    background: transparent;
    color: var(--flame);
  }

  .nav__link[aria-current="page"] {
    background: transparent;
    box-shadow: none;
    color: var(--glow);
  }

  .nav__note {
    display: block;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(244, 239, 229, .66);
    margin-bottom: 8px;
  }

  .nav__stat {
    display: inline-block;
    font-family: var(--font-data);
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--glow);
    padding: 2px 10px;
    border: 1px solid rgba(143, 230, 239, .45);
    margin-bottom: 12px;
  }
}

@media (max-width: 1000px) {
  .grid--7-5,
  .grid--8-4,
  .grid--5-7 { grid-template-columns: 1fr; }

  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  .grid--2 { grid-template-columns: 1fr; }
  .grid { gap: 24px; }

  .sec-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sec-index { font-size: clamp(3.4rem, 22vw, 5.5rem); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .brand__mark { width: 40px; height: 40px; flex-basis: 40px; font-size: 18px; }
  .brand__name { font-size: 17px; }
  .brand__domain { font-size: 10px; letter-spacing: .06em; }

  .foot-grid { grid-template-columns: 1fr; gap: 30px; }

  .foot-base {
    flex-direction: column;
    align-items: flex-start;
  }

  .figure--tilt { transform: rotate(-2deg); margin: 4px 10px 14px 0; }
}

/* ---------- 19. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal-armed] {
    opacity: 1;
    transform: none;
  }

  .nav {
    transform: none !important;
  }
}
