/* =========================================================
   3344体育官方 · 共享样式 /assets/site.css
   暗场数据大屏语言：墨蓝底 + 青绿导航 + 琥珀比分 + 电紫资料
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body,
h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dt, dd { margin: 0; padding: 0; }

ul, ol { list-style: none; }

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

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; padding: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

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

th, td { text-align: left; }

[hidden] { display: none !important; }

*:focus-visible {
  outline: 2px solid var(--signal-400);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 2. 变量 ---------- */
:root {
  --ink-950: #050B18;
  --ink-850: #0C1730;
  --ink-800: #091124;
  --ink-700: #1C2C4C;
  --signal-400: #2BE8B0;
  --signal-200: #7BF3D2;
  --score-400: #FFB23F;
  --score-600: #FF8A1F;
  --index-500: #6E5BFF;
  --text-100: #E9EEF7;
  --text-400: #97A6BF;

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-cond: "Arial Narrow", "Helvetica Neue Condensed", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Courier New", monospace;

  --wrap: 1480px;
  --rail: 232px;
  --gutter: clamp(16px, 3vw, 40px);
  --notch: 14px;
  --header-h: 72px;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--ink-950);
  background-image:
    radial-gradient(1100px 560px at 88% -8%, rgba(43, 232, 176, 0.075), transparent 62%),
    radial-gradient(900px 500px at -8% 4%, rgba(110, 91, 255, 0.09), transparent 62%);
  background-attachment: fixed;
  color: var(--text-100);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--signal-400); color: #03150E; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-950); }
::-webkit-scrollbar-thumb { background: var(--ink-700); border: 2px solid var(--ink-950); }
::-webkit-scrollbar-thumb:hover { background: var(--signal-400); }

h1, h2, h3, h4 { font-weight: 800; }

p + p { margin-top: 1.2em; }

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

/* 大屏模式：整体字号放大一档 */
.is-bigscreen body { font-size: 19px; }
.is-bigscreen .h-display { font-size: clamp(46px, 7.6vw, 112px); }

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

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

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--signal-400), var(--ink-700) 30%, var(--ink-700) 70%, transparent);
  opacity: 0.7;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-400);
}

.breadcrumb li + li::before {
  content: "›";
  margin-inline: 9px;
  color: var(--ink-700);
}

.breadcrumb a:hover { color: var(--signal-400); }

/* ---------- 5. 文本与数字层级 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--signal-400);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--signal-400);
  flex: 0 0 auto;
}

.h-display {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: clamp(38px, 6.6vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-stretch: condensed;
}

.h-section {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-stretch: condensed;
}

.h-card {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.lede {
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.75;
  color: var(--text-100);
}

.muted { color: var(--text-400); }

.small {
  font-size: 13px;
  line-height: 1.72;
  letter-spacing: 0.04em;
  color: var(--text-400);
}

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

.num-hero {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(64px, 11vw, 156px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: var(--score-400);
  text-shadow: 0 0 48px rgba(255, 138, 31, 0.26);
}

/* ---------- 6. 面板 / 形状 ---------- */
.panel {
  position: relative;
  background: var(--ink-850);
  border: 1px solid var(--ink-700);
}

.panel--notch {
  clip-path: polygon(
    var(--notch) 0,
    100% 0,
    100% calc(100% - var(--notch)),
    calc(100% - var(--notch)) 100%,
    0 100%,
    0 var(--notch)
  );
}

.panel--grid {
  background-image:
    linear-gradient(rgba(28, 44, 76, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 44, 76, 0.5) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: -1px -1px;
}

.slash {
  height: 14px;
  background: repeating-linear-gradient(
    -52deg,
    var(--ink-700) 0 2px,
    transparent 2px 10px
  );
  opacity: 0.85;
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid var(--ink-700);
  color: var(--text-100);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  border-color: var(--signal-400);
  color: var(--signal-400);
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--signal-400);
  border-color: var(--signal-400);
  color: #03150E;
  font-weight: 700;
}

.btn--primary:hover {
  background: var(--signal-200);
  border-color: var(--signal-200);
  color: #03150E;
}

.btn--ghost {
  color: var(--text-400);
}

.btn--ghost:hover { color: var(--signal-400); }

/* ---------- 8. 标签与编号色标 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.8;
  color: var(--text-400);
}

.tag--signal { color: var(--signal-400); }
.tag--score { color: var(--score-400); }
.tag--index { color: var(--index-500); }

.code-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  background: var(--signal-400);
  color: #03150E;
}

.code-chip--index { background: var(--index-500); color: #F2F0FF; }
.code-chip--score { background: var(--score-400); color: #2A1500; }

/* ---------- 9. 数据表 ---------- */
.data-table {
  width: 100%;
  font-size: 15px;
}

.data-table th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--ink-700);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-400);
  white-space: nowrap;
}

.data-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(28, 44, 76, 0.62);
  vertical-align: middle;
}

.data-table tbody tr { transition: background-color 0.18s ease; }
.data-table tbody tr:hover { background: rgba(43, 232, 176, 0.05); }
.data-table .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- 10. 图片容器（供页面阶段放置占位） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--ink-700);
  background-color: var(--ink-850);
  background-image:
    linear-gradient(rgba(28, 44, 76, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 44, 76, 0.55) 1px, transparent 1px);
  background-size: 44px 44px;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.media-frame > img,
.media-frame > svg,
.media-frame > picture { width: 100%; height: 100%; object-fit: cover; }

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

.media-frame__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 14px 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-400);
  background: linear-gradient(0deg, rgba(5, 11, 24, 0.92), transparent);
}

/* ---------- 11. Skip link ---------- */
.skip-link {
  position: fixed;
  top: -120px;
  left: 14px;
  z-index: 300;
  padding: 10px 20px;
  background: var(--signal-400);
  color: #03150E;
  font-size: 14px;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 14px; }

/* ---------- 12. 页头 ---------- */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 120;
  border-bottom: 1px solid rgba(28, 44, 76, 0.55);
  background: linear-gradient(180deg, rgba(5, 11, 24, 0.8), rgba(5, 11, 24, 0.12));
  transition: background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.site-header[data-scrolled] {
  background: rgba(5, 11, 24, 0.95);
  border-bottom-color: var(--ink-700);
  box-shadow: 0 16px 44px -26px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(14px) saturate(140%);
  --header-h: 60px;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 28px);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: var(--header-h);
  transition: min-height 0.24s ease;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 6px);
  gap: 3px;
  align-items: end;
  height: 24px;
}

.brand-mark span {
  display: block;
  width: 6px;
  height: 100%;
  background: var(--signal-400);
}

.brand-mark span:nth-child(2) { height: 64%; background: var(--score-400); }
.brand-mark span:nth-child(3) { height: 38%; background: var(--index-500); }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.16;
}

.brand-name {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  font-stretch: condensed;
}

.brand-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--signal-400);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--ink-700);
  color: var(--text-400);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle[aria-expanded="true"] {
  color: var(--signal-400);
  border-color: var(--signal-400);
}

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle-bars i {
  display: block;
  height: 2px;
  background: currentColor;
  transition: width 0.22s ease, opacity 0.22s ease;
}

.nav-toggle-bars i:nth-child(1) { width: 100%; }
.nav-toggle-bars i:nth-child(2) { width: 68%; }
.nav-toggle-bars i:nth-child(3) { width: 100%; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }

/* 主导航 */
.site-nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: clamp(8px, 1.2vw, 20px);
}

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

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-400);
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.nav-link:hover { color: var(--text-100); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] { color: var(--signal-400); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* 页头工具区 */
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.league-switch { position: relative; }

.league-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--ink-700);
  color: var(--text-400);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.league-toggle:hover { color: var(--text-100); border-color: var(--signal-400); }
.league-toggle[aria-expanded="true"] { color: var(--signal-400); border-color: var(--signal-400); }

.league-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s ease;
}

.league-toggle[aria-expanded="true"] .league-caret { transform: rotate(180deg); }

.league-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: none;
  min-width: 248px;
  padding: 14px;
  background: var(--ink-850);
  border: 1px solid var(--ink-700);
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.95);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  z-index: 40;
}

.league-menu[data-open] { display: block; }

.league-menu-title {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-400);
}

.league-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.league-option {
  padding: 8px 10px;
  border: 1px solid var(--ink-700);
  color: var(--text-400);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-align: left;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.league-option:hover { color: var(--text-100); border-color: var(--signal-200); }

.league-option[aria-pressed="true"] {
  background: var(--signal-400);
  border-color: var(--signal-400);
  color: #03150E;
  font-weight: 700;
}

.tool-link,
.tool-toggle {
  padding: 8px 12px;
  border: 1px solid transparent;
  color: var(--text-400);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.tool-link:hover,
.tool-toggle:hover { color: var(--signal-400); }

.tool-toggle[aria-pressed="true"] {
  color: var(--signal-400);
  border-color: var(--signal-400);
  background: rgba(43, 232, 176, 0.09);
}

.header-cta { flex: 0 0 auto; }

/* 滚动进度脉冲线 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
}

.scroll-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--signal-400), var(--score-400) 58%, var(--index-500));
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 140px);
  border-top: 1px solid var(--ink-700);
  background: linear-gradient(180deg, rgba(12, 23, 48, 0.42), rgba(5, 11, 24, 0.98) 46%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(320px, 46%);
  height: 2px;
  background: linear-gradient(90deg, var(--signal-400), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(168px, 1fr));
  gap: clamp(28px, 4vw, 64px);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 84px) var(--gutter) clamp(30px, 4vw, 52px);
}

.footer-brand .brand { margin-bottom: 18px; }

.footer-statement {
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-400);
}

.footer-contact {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--ink-700);
  font-size: 13px;
  line-height: 2;
  color: var(--text-400);
}

.footer-contact li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  background: var(--index-500);
  vertical-align: middle;
}

.footer-col-title {
  margin-bottom: 16px;
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--signal-400);
  text-transform: uppercase;
}

.footer-list li {
  padding-block: 9px;
  border-bottom: 1px solid rgba(28, 44, 76, 0.5);
}

.footer-list li:last-child { border-bottom: 0; }

.footer-link {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-100);
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-link:hover {
  color: var(--signal-400);
  transform: translateX(3px);
}

.footer-link--slim { display: inline-block; font-size: 13px; }

.footer-key {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--score-400);
}

.footer-desc {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-400);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 20px var(--gutter) 34px;
  border-top: 1px solid var(--ink-700);
  font-size: 13px;
  color: var(--text-400);
}
.footer-copy { letter-spacing: 0.06em; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

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

.has-js [data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

/* ---------- 15. 移动端抽屉 ---------- */
body[data-nav-open] { overflow: hidden; }

@media (max-width: 1160px) {
  :root { --header-h: 66px; }
  .site-header,
  .site-header[data-scrolled] { --header-h: 66px; }

  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-cta { display: none; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px var(--gutter) 56px;
    background: var(--ink-950);
    border-top: 1px solid var(--ink-700);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(104%);
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s ease;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 16px 2px;
    font-size: 18px;
    border-bottom: 1px solid rgba(28, 44, 76, 0.7);
  }

  .nav-link::after { display: none; }

  .header-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-left: 0;
    margin-top: 26px;
  }

  .league-switch { width: 100%; }

  .league-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px 14px;
    font-size: 15px;
  }

  .league-menu {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 10px;
    box-shadow: none;
  }

  .tool-link,
  .tool-toggle {
    padding: 14px 14px;
    border-color: var(--ink-700);
    font-size: 15px;
    text-align: left;
  }
}

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-h: 62px; }
  .site-header,
  .site-header[data-scrolled] { --header-h: 62px; }

  body { font-size: 16px; line-height: 1.82; }

  .brand-tag { display: none; }
  .brand-name { font-size: 17px; }
  .nav-toggle-label { display: none; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .league-options { grid-template-columns: minmax(0, 1fr); }
  .num-hero { font-size: clamp(56px, 20vw, 96px); }
}

/* ---------- 17. 减弱动效 ---------- */
@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;
    scroll-behavior: auto !important;
  }

  .has-js [data-reveal],
  .has-js [data-reveal][data-revealed] {
    opacity: 1;
    transform: none;
  }

  .nav-link:hover,
  .footer-link:hover,
  .btn:hover { transform: none; }
}
