/* ============================================================
   球速体育 · 共享样式 /assets/site.css
   北境赛道档案室：品牌轨道 + 悬浮胶囊导航 + 计时牌式信息层
   ============================================================ */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --snow: #F7FAFF;
  --mist: #DCEBFA;
  --ice: #0B63CE;
  --deep: #073B74;
  --signal: #F25C1A;
  --signal-deep: #B83D00;
  --ink-green: #0E3B32;
  --lime: #DFFF3F;
  --graphite: #172026;
  --slate: #556678;

  --line: rgba(11, 99, 206, 0.18);
  --line-soft: rgba(7, 59, 116, 0.12);
  --line-on-dark: rgba(247, 250, 255, 0.18);

  --font-display: "Barlow Condensed", "DIN Condensed", "PingFang SC", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "Roboto Mono", "DIN Alternate", ui-monospace, monospace;

  --rail: 72px;
  --wrap: 1180px;
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 240ms;
  --shadow: 0 18px 42px -30px rgba(7, 59, 116, 0.65);
}

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

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

body {
  margin: 0;
  background: var(--snow);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; }
a { color: var(--ice); }

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

:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
}
.site-footer :focus-visible,
.panel--dark :focus-visible,
.section--dark :focus-visible { outline-color: var(--lime); }

main:focus { outline: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. 中文排版与基础层级 ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--deep);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.4rem, 2.8vw, 1.95rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

h3 {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

p { text-wrap: pretty; }

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 400;
  transform: translate(-50%, -180%);
  padding: 0.65em 1.3em;
  border-radius: var(--radius-pill);
  background: var(--ink-green);
  color: var(--snow);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

/* ---------- 5. 头部：品牌轨道 + 悬浮胶囊 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding-top: 14px;
  background: linear-gradient(180deg,
    rgba(247, 250, 255, 0.97) 0%,
    rgba(247, 250, 255, 0.78) 58%,
    rgba(247, 250, 255, 0) 100%);
}

/* 5.1 品牌轨道（桌面端固定） */
.rail { display: none; }

@media (min-width: 1024px) {
  .rail {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 95;
    width: var(--rail);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 26px 0 24px;
    background:
      linear-gradient(180deg, var(--snow) 0%, var(--mist) 52%, var(--snow) 100%);
    border-right: 1px solid var(--line);
  }
}

.rail__label {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--deep);
}

.rail__meter {
  position: relative;
  flex: 1 1 auto;
  width: 4px;
  margin: 20px 0;
  border-radius: 2px;
  background: repeating-linear-gradient(180deg,
    rgba(11, 99, 206, 0.35) 0 1px,
    transparent 1px 9px);
}

.rail__meter-fill {
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 0%;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--ice), var(--signal));
  transition: height 140ms linear;
}

.rail__code {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  color: var(--slate);
}

/* 5.2 胶囊容器 */
.nav-shell {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(14px, 4vw, 28px);
}

.nav-capsule {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(247, 250, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 16px 38px -30px rgba(7, 59, 116, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* 5.3 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--deep);
}

.brand__mark {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 10px 4px 10px 4px;
  background: linear-gradient(135deg, var(--ice) 0 52%, var(--signal) 52% 100%);
  box-shadow: inset 0 0 0 1px rgba(247, 250, 255, 0.34);
  transition: transform var(--dur) var(--ease);
}
.brand__mark::after {
  content: "";
  position: absolute;
  top: 7px; right: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--lime);
}
.brand:hover .brand__mark,
.brand:focus-visible .brand__mark { transform: rotate(-8deg); }

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--deep);
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--slate);
}

/* 5.4 主导航 */
.site-nav { margin-left: auto; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  color: var(--deep);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-link:hover { background: var(--mist); }

.nav-link__idx {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--slate);
  transition: color var(--dur) var(--ease);
}

.nav-link[aria-current="page"] {
  background: var(--deep);
  color: var(--snow);
}
.nav-link[aria-current="page"] .nav-link__idx { color: var(--lime); }

/* 5.5 头部行动按钮（宽屏出现） */
.nav-cta { display: none; }

@media (min-width: 1200px) {
  .nav-cta {
    display: inline-flex;
    padding: 0.62em 1.15em;
    font-size: 0.85rem;
  }
}

/* 5.6 移动端开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--ink-green);
  color: var(--snow);
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: background-color var(--dur) var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), top var(--dur) var(--ease);
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    margin-left: 0;
    display: none;
    padding: 10px;
    border-radius: 24px;
    background: rgba(247, 250, 255, 0.985);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav[data-open] {
    display: block;
    animation: navDrop var(--dur) var(--ease);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }

  .nav-link {
    justify-content: space-between;
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 0.95rem;
  }
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* 5.7 桌面端为轨道让位 */
@media (min-width: 1024px) {
  body { padding-left: var(--rail); }
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 96px);
  color: var(--snow);
  background:
    radial-gradient(120% 80% at 88% 0%, rgba(11, 99, 206, 0.42), transparent 62%),
    radial-gradient(90% 70% at 0% 100%, rgba(223, 255, 63, 0.1), transparent 60%),
    var(--ink-green);
}

.footer__tick {
  height: 8px;
  background: repeating-linear-gradient(90deg,
    rgba(223, 255, 63, 0.55) 0 2px,
    transparent 2px 14px);
  opacity: 0.65;
}

.footer__inner {
  padding-block: clamp(36px, 5vw, 58px) 26px;
}

.footer__head {
  display: grid;
  gap: 10px;
  padding-bottom: 28px;
  border-bottom: 1px dashed var(--line-on-dark);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.22em;
  line-height: 1;
  color: var(--snow);
  text-decoration: none;
}
.footer__brand:hover { color: var(--lime); }

.footer__line {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: rgba(247, 250, 255, 0.84);
}

.footer__summary {
  max-width: 54ch;
  font-size: 0.88rem;
  line-height: 1.85;
  color: rgba(247, 250, 255, 0.6);
}

.footer__cols {
  display: grid;
  gap: 30px;
  padding-block: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .footer__cols { grid-template-columns: 1fr 1fr 1.45fr; gap: 40px; }
}

.footer__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--lime);
}

.footer__list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list a {
  display: inline-block;
  padding-block: 3px;
  color: rgba(247, 250, 255, 0.86);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer__list a:hover {
  color: var(--lime);
  border-bottom-color: rgba(223, 255, 63, 0.6);
  transform: translateX(3px);
}

.footer__meta-item {
  display: grid;
  gap: 2px;
}

.footer__meta-key {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 250, 255, 0.48);
}

.footer__meta-val {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--snow);
  word-break: break-word;
}

.footer__note {
  margin-top: 16px;
  max-width: 42ch;
  font-size: 0.78rem;
  line-height: 1.8;
  color: rgba(247, 250, 255, 0.55);
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-on-dark);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(247, 250, 255, 0.58);
}

.footer__icp { color: rgba(247, 250, 255, 0.72); }
.footer__copy { color: rgba(247, 250, 255, 0.52); }

/* ---------- 7. 通用容器与分区 ---------- */
.shell {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.section { padding-block: clamp(38px, 6vw, 76px); }
.section--mist { background: linear-gradient(180deg, var(--snow) 0%, var(--mist) 26%, var(--mist) 78%, var(--snow) 100%); }
.section--dark { background: var(--ink-green); color: var(--snow); }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--snow); }

.section__head {
  display: grid;
  gap: 10px;
  max-width: 66ch;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--signal-deep);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--signal);
}
.section--dark .eyebrow { color: var(--lime); }
.section--dark .eyebrow::before { background: var(--lime); }

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  letter-spacing: 0.08em;
  line-height: 1.22;
  color: var(--deep);
}

.lede {
  max-width: 62ch;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--slate);
}
.section--dark .lede { color: rgba(247, 250, 255, 0.74); }

/* ---------- 8. 栅格 ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--split { grid-template-columns: 1fr; }

@media (min-width: 760px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--split { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); align-items: start; }
}

.stack { display: grid; gap: 14px; }

/* ---------- 9. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 44px;
  padding: 0.75em 1.45em;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.btn--primary {
  background: var(--signal);
  color: #FFFFFF;
  box-shadow: 0 14px 26px -18px rgba(242, 92, 26, 0.95);
}
.btn--primary:hover {
  background: var(--signal-deep);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--ice);
  color: var(--deep);
}
.btn--ghost:hover { background: var(--mist); }

.btn--dark {
  background: var(--ink-green);
  color: var(--snow);
}
.btn--dark:hover { background: #12503f; }

/* ---------- 10. 面板 / 标记 / 数字 ---------- */
.panel {
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--snow);
  box-shadow: var(--shadow);
}

.panel--mist {
  background: var(--mist);
  border-color: rgba(7, 59, 116, 0.14);
  box-shadow: none;
}

.panel--dark {
  background: var(--ink-green);
  border-color: rgba(223, 255, 63, 0.28);
  color: rgba(247, 250, 255, 0.86);
  box-shadow: none;
}
.panel--dark h2,
.panel--dark h3 { color: var(--snow); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--mist);
  color: var(--deep);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.chip--lime { background: var(--lime); color: var(--ink-green); }
.chip--ghost { background: transparent; border-color: var(--line); }
a.chip:hover { background: var(--ice); color: var(--snow); }

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

.fee {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--deep);
  padding: 0 0.18em;
  background: linear-gradient(180deg,
    transparent 58%,
    var(--lime) 58% 94%,
    transparent 94%);
}
.panel--dark .fee,
.section--dark .fee { color: var(--snow); }

/* ---------- 11. 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-m);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th {
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: left;
  color: var(--slate);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table td {
  padding: 12px;
  vertical-align: top;
  border-bottom: 1px dashed var(--line-soft);
  color: var(--graphite);
}

.data-table tbody tr:nth-child(even) { background: var(--mist); }

.data-table .num { color: var(--deep); }

/* ---------- 12. 时间线 ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 20px;
  padding-left: 26px;
  margin: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: repeating-linear-gradient(180deg,
    var(--line) 0 2px,
    transparent 2px 8px);
}

.timeline__item { position: relative; }

.timeline__item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--snow);
  border: 2px solid var(--ice);
}

.timeline__round {
  display: inline-block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--signal-deep);
}

/* ---------- 13. 分段切换 ---------- */
.tabs { display: block; }

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tabs__btn {
  appearance: none;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--deep);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.tabs__btn:hover { background: var(--mist); }
.tabs__btn[aria-selected="true"] {
  background: var(--ink-green);
  border-color: var(--ink-green);
  color: var(--snow);
}

.tab-panel { margin-top: 18px; }
.tab-panel[hidden] { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .tab-panel { animation: panelIn 240ms var(--ease); }
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 14. 面包屑 ---------- */
.breadcrumb { padding-block: 16px 4px; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--slate);
}

.breadcrumb__list li { display: flex; align-items: center; gap: 8px; }
.breadcrumb__list li + li::before { content: "/"; color: var(--slate); opacity: 0.5; }
.breadcrumb a {
  color: var(--deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.breadcrumb a:hover { border-bottom-color: var(--ice); }

/* ---------- 15. 图片容器（页面阶段放占位） ---------- */
.media { display: block; margin: 0; }

.media__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg,
    var(--mist) 0%,
    #CFE0F6 48%,
    var(--snow) 100%);
}

.media__frame::after {
  content: "";
  position: absolute;
  inset: auto -20% -58% -20%;
  height: 72%;
  background: linear-gradient(180deg, transparent, rgba(11, 99, 206, 0.14));
  transform: skewY(-6deg);
}

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

.media__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.media--wide .media__frame { aspect-ratio: 21 / 9; }
.media--tall .media__frame { aspect-ratio: 3 / 4; }
.media--cut .media__frame { border-radius: 0 var(--radius-l) 0 var(--radius-l); }

@media (max-width: 600px) {
  .media--wide .media__frame { aspect-ratio: 16 / 10; }
}

/* ---------- 16. 注解与刻度 ---------- */
.callout {
  padding: 14px 18px;
  border-left: 3px solid var(--signal);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  background: var(--mist);
  color: var(--deep);
  font-size: 0.9rem;
  line-height: 1.8;
}
.section--dark .callout,
.panel--dark .callout {
  background: rgba(247, 250, 255, 0.08);
  color: rgba(247, 250, 255, 0.84);
}

.divider-ticks {
  height: 10px;
  background: repeating-linear-gradient(90deg,
    var(--line) 0 1px,
    transparent 1px 10px);
}

.stat { display: grid; gap: 2px; }
.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.1;
  color: var(--deep);
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}
.section--dark .stat__num,
.panel--dark .stat__num { color: var(--snow); }
.section--dark .stat__label,
.panel--dark .stat__label { color: rgba(247, 250, 255, 0.55); }

/* ---------- 17. 显现（data-reveal 协议） ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
}
.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 18. 动效降级 ---------- */
@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;
  }

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

  .brand:hover .brand__mark { transform: none; }
  .footer__list a:hover { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
