/* ============================================================
   HTH 赛事数据台 · 共享样式 /assets/site.css
   夜场墨绿 + 炭黑基底，荧光青 / 暖橙作数据脉冲，红色只留警示
   ============================================================ */

/* ---------- 1. reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
:target { scroll-margin-top: 120px; }

/* ---------- 2. 变量 ---------- */
:root {
  --c-night: #061A15;
  --c-char: #101314;
  --c-panel: #0E2A25;
  --c-cyan: #38F2D0;
  --c-orange: #FF8A3D;
  --c-red: #FF4D4D;
  --c-ink: #F2F6F4;
  --c-mist: #8FA9A3;
  --c-line: #1E4A42;
  --c-num: #E9FFF9;
  --c-dim: #6F8A84;

  --r-xs: 4px;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;

  --shell: 1264px;
  --gutter: clamp(16px, 4vw, 40px);

  --font-head: "Oswald", "Archivo Narrow", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-num: ui-monospace, "JetBrains Mono", "IBM Plex Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- 3. 中文排版与基底 ---------- */
body {
  min-height: 100vh;
  background-color: var(--c-night);
  background-image:
    radial-gradient(120% 78% at 86% -12%, rgba(56, 242, 208, .10), transparent 55%),
    radial-gradient(90% 66% at 2% 0%, rgba(255, 138, 61, .07), transparent 60%),
    repeating-linear-gradient(0deg, rgba(143, 169, 163, .035) 0 1px, transparent 1px 5px);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .h1, .h2, .h3 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
  text-wrap: balance;
  color: var(--c-ink);
}
h1, .h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1; }
h2, .h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.12; }
h3, .h3 { font-size: clamp(1.12rem, 1.6vw, 1.35rem); line-height: 1.3; letter-spacing: -.01em; }
h4 { font-size: 1rem; line-height: 1.4; }

.num, .stat__value, time, .media__panel .stat__value {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ---------- 4. 无障碍工具 ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
:focus-visible { outline: 2px solid var(--c-cyan); outline-offset: 3px; border-radius: var(--r-xs); }

.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--c-cyan);
  color: #04120F;
  font-size: .85rem;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}
.skip-link:focus, .skip-link:focus-visible { transform: none; outline-color: #04120F; }

/* ---------- 5. 容器与区块 ---------- */
.container { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.container--narrow { width: min(820px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }

.section { padding-block: clamp(40px, 6vw, 88px); }
.section--tight { padding-block: clamp(24px, 3.5vw, 48px); }
.section--band {
  background: linear-gradient(180deg, rgba(14, 42, 37, .74), rgba(6, 26, 21, 0));
  border-block: 1px solid var(--c-line);
}
.section--dark { background: var(--c-char); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 28px;
  margin-bottom: clamp(20px, 3vw, 36px);
}
.section-head__title { margin: 0; }
.section-head__desc { max-width: 52ch; color: var(--c-mist); font-size: .95rem; line-height: 1.65; }
.section-head__more { margin-left: auto; }

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--c-cyan);
}
.label--orange { color: var(--c-orange); }
.label--red { color: var(--c-red); }
.label--mist { color: var(--c-mist); }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-orange); color: #1B0C02; box-shadow: 0 12px 28px -16px rgba(255, 138, 61, .95); }
.btn--primary:hover { background: #FFA365; }
.btn--ghost { background: rgba(56, 242, 208, .06); border-color: rgba(56, 242, 208, .42); color: var(--c-cyan); }
.btn--ghost:hover { background: rgba(56, 242, 208, .15); border-color: var(--c-cyan); }
.btn--quiet { background: transparent; border-color: var(--c-line); color: var(--c-mist); }
.btn--quiet:hover { color: var(--c-ink); border-color: var(--c-mist); }

/* ---------- 7. 顶部滚动进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 200;
  background: rgba(56, 242, 208, .10);
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  width: 100%; height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-orange));
  transition: transform .12s linear;
}

/* ---------- 8. 头部 · 悬浮胶囊 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  isolation: isolate;
  padding: 14px var(--gutter) 10px;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 26, 21, .97) 0%, rgba(6, 26, 21, .84) 58%, rgba(6, 26, 21, 0) 100%);
}

.nav-capsule {
  position: relative;
  width: min(var(--shell), 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  padding: 9px 10px 9px 14px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(14, 42, 37, .93), rgba(16, 19, 20, .89));
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 26px 50px -32px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(56, 242, 208, .10);
  transition: opacity .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header[data-scrolled] .nav-capsule {
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -26px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(56, 242, 208, .16);
}
.site-header[data-scrolled]:hover .nav-capsule { opacity: 1; }

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
  border-radius: 999px;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(56, 242, 208, .42);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(56, 242, 208, .18), rgba(255, 138, 61, .14));
  color: var(--c-cyan);
  font-family: var(--font-num);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand__text { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.brand__name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--c-ink);
  white-space: nowrap;
}
.brand__tagline {
  display: none;
  font-size: .68rem;
  line-height: 1.35;
  color: var(--c-mist);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 导航 */
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--c-ink);
  opacity: .86;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), opacity .2s var(--ease);
}
.nav__link:hover { background: rgba(56, 242, 208, .09); color: var(--c-cyan); opacity: 1; }
.nav__link[aria-current="page"] {
  background: rgba(56, 242, 208, .12);
  color: var(--c-cyan);
  opacity: 1;
  font-weight: 600;
}
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 16px; height: 2px;
  border-radius: 2px;
  background: var(--c-cyan);
  transform: translateX(-50%);
}
.nav__cta { margin-left: 6px; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 44px; height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: rgba(14, 42, 37, .62);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.nav-toggle:hover { border-color: rgba(56, 242, 208, .5); background: rgba(56, 242, 208, .08); }
.nav-toggle__bars { position: relative; display: block; width: 18px; height: 12px; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--c-cyan);
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 10px; }
.site-header[data-open] .nav-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.site-header[data-open] .nav-toggle__bars::after { top: 5px; transform: rotate(-45deg); }

/* ---------- 9. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  background: var(--c-char);
  border-top: 1px solid var(--c-line);
  color: var(--c-mist);
  font-size: .86rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 242, 208, .5), rgba(255, 138, 61, .32), transparent);
}
.footer__inner {
  width: min(var(--shell), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 0 clamp(20px, 3vw, 30px);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr) minmax(0, .85fr) minmax(0, 1.25fr);
  gap: clamp(24px, 4vw, 48px);
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.brand--footer .brand__mark { width: 34px; height: 34px; flex-basis: 34px; border-radius: 10px; }
.brand--footer .brand__name { font-size: .95rem; }
.footer__blurb { max-width: 32ch; color: var(--c-mist); line-height: 1.65; }
.footer__signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  color: var(--c-dim);
}
.footer__dot {
  width: 6px; height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 0 3px rgba(56, 242, 208, .14);
}
.footer__col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.footer__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--c-cyan);
}
.footer__list { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer__link {
  display: inline-block;
  color: var(--c-mist);
  font-size: .86rem;
  border-radius: var(--r-xs);
  transition: color .2s var(--ease);
}
.footer__link:hover { color: var(--c-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(56, 242, 208, .5); }
.footer__fact { display: flex; gap: 10px; font-size: .82rem; line-height: 1.55; }
.footer__fact-key { flex: 0 0 62px; color: var(--c-dim); }
.footer__fact-val { color: var(--c-mist); word-break: break-word; min-width: 0; }
.footer__note {
  max-width: 34ch;
  padding-left: 12px;
  border-left: 2px solid var(--c-line);
  font-size: .78rem;
  line-height: 1.65;
  color: var(--c-dim);
}
.footer__base {
  width: min(var(--shell), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: 16px 0 28px;
  border-top: 1px solid rgba(30, 74, 66, .7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.footer__legal { font-size: .78rem; color: var(--c-dim); }

/* ---------- 10. 栅格 ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

/* ---------- 11. 模块 · Bento 面板与卡片 ---------- */
.panel {
  position: relative;
  overflow: hidden;
  padding: clamp(16px, 2.2vw, 26px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: linear-gradient(170deg, rgba(14, 42, 37, .96), rgba(16, 19, 20, .92));
}
.panel--lg { border-radius: var(--r-lg); }
.panel--sm { border-radius: var(--r-sm); }
.panel--flat { background: rgba(14, 42, 37, .55); }
.panel--accent { border-color: rgba(56, 242, 208, .4); box-shadow: inset 0 1px 0 rgba(56, 242, 208, .16); }
.panel--tilt-l { transform: rotate(-1.2deg); }
.panel--tilt-r { transform: rotate(.8deg); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: linear-gradient(170deg, rgba(14, 42, 37, .96), rgba(16, 19, 20, .9));
  color: inherit;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background-color .25s var(--ease);
}
a.card:hover { border-color: rgba(56, 242, 208, .45); transform: translateY(-3px); }
.card__title { font-family: var(--font-head); font-size: 1.08rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; color: var(--c-ink); }
.card__meta { font-family: var(--font-num); font-size: .72rem; letter-spacing: .1em; color: var(--c-mist); }
.card__text { font-size: .9rem; line-height: 1.65; color: var(--c-mist); }

/* ---------- 12. 数据元件 ---------- */
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__value {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--c-num);
}
.stat__value--cyan { color: var(--c-cyan); }
.stat__value--orange { color: var(--c-orange); }
.stat__value--red { color: var(--c-red); }
.stat__unit { margin-left: 2px; font-size: .6em; color: var(--c-mist); }
.stat__label { font-size: .72rem; letter-spacing: .12em; color: var(--c-mist); }

/* ---------- 13. 图像容器 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: radial-gradient(120% 100% at 72% 0%, #123A32, #061A15 72%);
}
.media > img, .media__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background: repeating-linear-gradient(0deg, rgba(233, 255, 249, .05) 0 1px, transparent 1px 4px);
}
.media--plain::after { display: none; }
.media[data-placeholder] {
  border-style: dashed;
  background-image: linear-gradient(135deg, rgba(56, 242, 208, .06) 0 12px, transparent 12px 24px);
}
.media--21x9 { aspect-ratio: 21 / 9; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }
.media--sm { border-radius: var(--r-sm); }
.media__overlay {
  position: absolute;
  left: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.media__panel {
  padding: 10px 14px;
  border: 1px solid rgba(56, 242, 208, .28);
  border-radius: var(--r-sm);
  background: rgba(6, 26, 21, .86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* ---------- 14. 面包屑与正文 ---------- */
.breadcrumbs { margin-block: clamp(14px, 2vw, 22px); }
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0; padding: 0;
  list-style: none;
  font-size: .78rem;
  color: var(--c-mist);
}
.breadcrumbs__list li + li::before { content: "/"; margin-right: 10px; color: var(--c-line); }
.breadcrumbs__link { color: var(--c-mist); border-radius: var(--r-xs); transition: color .2s var(--ease); }
.breadcrumbs__link:hover { color: var(--c-cyan); }
.breadcrumbs__current { color: var(--c-ink); }

.prose { max-width: 68ch; font-size: 1rem; line-height: 1.75; color: #DCE7E4; }
.prose h2 { margin: 2.1em 0 .5em; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.prose h3 { margin: 1.7em 0 .4em; }
.prose p { margin-bottom: 1.1em; }
.prose ul, .prose ol { margin-bottom: 1.2em; padding-left: 1.25em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--c-cyan); border-bottom: 1px solid rgba(56, 242, 208, .4); }
.prose strong { color: var(--c-ink); }
.prose code {
  padding: .1em .35em;
  border-radius: var(--r-xs);
  background: rgba(56, 242, 208, .08);
  color: var(--c-cyan);
  font-family: var(--font-num);
  font-size: .9em;
}

/* ---------- 15. 筛选 chip ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: rgba(14, 42, 37, .5);
  color: var(--c-mist);
  font-size: .8rem;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.chip:hover { color: var(--c-ink); border-color: var(--c-mist); }
.chip[aria-pressed="true"] {
  border-color: var(--c-orange);
  color: var(--c-orange);
  background: rgba(255, 138, 61, .1);
}

/* ---------- 16. 滚动显现 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .32s var(--ease), transform .32s var(--ease);
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 17. 响应式 ---------- */
@media (min-width: 1200px) {
  .brand__tagline { display: block; }
}

@media (max-width: 1023px) {
  .nav-capsule { padding: 8px 10px 8px 14px; gap: 10px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, rgba(14, 42, 37, .98), rgba(16, 19, 20, .98));
    box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .95);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s var(--ease);
  }
  .site-header[data-open] .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__link { padding: 12px 14px; border-radius: var(--r-sm); font-size: .95rem; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__cta { width: 100%; margin-left: 0; }

  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-3, .span-4 { grid-column: span 6; }
  .span-5, .span-7 { grid-column: span 8; }

  .footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 639px) {
  body { font-size: 16px; }
  .brand__name { font-size: .92rem; }
  .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .grid--12 > * { grid-column: 1 / -1; }
  .panel--tilt-l, .panel--tilt-r { transform: none; }
  .section-head__more { margin-left: 0; }
  .footer__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer__brand { grid-column: auto; }
  .footer__base { flex-direction: column; align-items: flex-start; }
}

/* 平板以上的斜向错层留白 */
@media (min-width: 1024px) {
  .panel--tilt-l, .panel--tilt-r { will-change: transform; }
}

/* ---------- 18. 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .is-visible { opacity: 1 !important; }
}
