/* ==========================================================================
   BSPORTS · 共享外壳 Site Kit
   技术蓝图网格 / 赛场夜灯 / 转播字幕条
   ========================================================================== */

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

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

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

ul, ol { padding: 0; 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; cursor: pointer; }

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

:focus-visible {
  outline: 2px solid #2EF2C8;
  outline-offset: 3px;
}

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #061A16;
  --ink-2: #0C2A23;
  --cyan: #2EF2C8;
  --orange: #FF8A3D;
  --orange-deep: #C75E1B;
  --paper: #F7FAF7;
  --pale: #DCE8E2;
  --wine: #5A1E33;
  --indigo: #2A2350;
  --mist: #7F9A8F;
  --yellow: #F2C14E;

  --line-dark: rgba(220, 232, 226, 0.16);
  --line-dark-strong: rgba(220, 232, 226, 0.34);
  --line-light: rgba(12, 42, 35, 0.16);
  --line-light-strong: rgba(12, 42, 35, 0.34);

  --ff-display: "Barlow Condensed", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ff-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-mono: "IBM Plex Mono", "SFMono-Regular", "Roboto Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --header-h: 72px;
  --shell: min(1320px, calc(100% - clamp(32px, 5vw, 96px)));
  --gap: clamp(16px, 2vw, 28px);
  --r: 2px;
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--paper);
  background-color: var(--ink);
  padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  line-height: 1.02;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(44px, 7vw, 112px); font-weight: 900; line-height: 0.95; }
h2 { font-size: clamp(32px, 4.6vw, 56px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }

p { text-wrap: pretty; }

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

::selection { background: var(--cyan); color: #04241D; }

/* ---------- 4. 通用工具类 ---------- */
.shell {
  width: var(--shell);
  margin-inline: auto;
}

.u-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.grid-5-7 { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap); }
.grid-7-5 { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gap); }
.grid-4-8 { display: grid; grid-template-columns: 4fr 8fr; gap: var(--gap); }

.u-label {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}

.u-title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.02;
}

.u-mono {
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums;
}

.rule {
  height: 1px;
  border: 0;
  background: var(--line-dark);
}

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

/* ---------- 5. 跳至主内容 ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 400;
  padding: 12px 20px;
  background: var(--cyan);
  color: #04241D;
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: var(--r);
  transform: translateY(-180%);
  transition: transform 0.16s ease;
}

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

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease, transform 0.14s ease;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--orange);
  color: #1A0B03;
  border-color: var(--orange);
}
.btn--primary:hover { background: #FFA265; border-color: #FFA265; }

.btn--cyan {
  background: var(--cyan);
  color: #04241D;
  border-color: var(--cyan);
}
.btn--cyan:hover { background: #7BF7DE; border-color: #7BF7DE; }

.btn--ghost {
  border-color: var(--line-dark-strong);
  color: var(--paper);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn--block { width: 100%; }

/* 文字链 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(46, 242, 200, 0.42);
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  transition: color 0.14s ease, border-color 0.14s ease;
}
.link-arrow::after {
  content: "→";
  transition: transform 0.14s ease;
}
.link-arrow:hover { color: var(--paper); border-bottom-color: var(--paper); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 7. 页头 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
}

.site-header[data-scrolled] {
  background-color: rgba(12, 42, 35, 0.95);
  border-bottom-color: var(--line-dark);
  backdrop-filter: saturate(130%) blur(8px);
}

.site-header[data-open] {
  background-color: var(--ink-2);
  border-bottom-color: var(--line-dark);
}

.site-header__bar {
  width: var(--shell);
  margin-inline: auto;
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
}

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

.brand__mark {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--cyan);
}

.brand__mark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 5px;
  right: 5px;
  height: 1px;
  background: var(--cyan);
}

.brand__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 5px;
  bottom: 5px;
  width: 1px;
  background: var(--cyan);
}

.brand__mark-dot {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.brand__text { display: block; min-width: 0; }

.brand__name {
  display: block;
  font-family: var(--ff-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  color: var(--paper);
}

.brand__cn {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  line-height: 1;
  color: var(--cyan);
}

.brand__tagline {
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--line-dark);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
  white-space: nowrap;
}

/* 导航 */
.nav {
  display: flex;
  justify-content: flex-start;
  min-width: 0;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1.2vw, 18px);
  flex-wrap: nowrap;
}

.nav__item { display: block; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(247, 250, 247, 0.74);
  transition: color 0.14s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 3px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.14s ease;
}

.nav__link:hover { color: var(--paper); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__idx {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0;
  color: var(--mist);
  transition: color 0.14s ease;
}

.nav__link[aria-current="page"] { color: var(--cyan); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] .nav__idx { color: var(--cyan); }

/* 右侧工具区 */
.header-tools {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 20px);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}

.status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(46, 242, 200, 0.16);
  animation: status-pulse 2.4s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(46, 242, 200, 0.16); }
  50% { box-shadow: 0 0 0 8px rgba(46, 242, 200, 0.03); }
}

/* 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r);
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  transition: border-color 0.14s ease, color 0.14s ease;
}

.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }

.nav-toggle__bars { display: grid; gap: 4px; width: 16px; }

.nav-toggle__bars span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.18s ease;
}

.site-header[data-open] .nav-toggle__bars span:first-child { transform: translateY(2.5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars span:last-child { transform: translateY(-2.5px) rotate(-45deg); }

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

.header-progress__bar {
  display: block;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transform: scaleX(0);
  transform-origin: left center;
}

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background-color: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--line-dark);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, var(--line-dark) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  opacity: 0.4;
}

.site-footer__grid {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin-inline: auto;
  padding-block: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
}

.footer-brand { min-width: 0; }

.brand--footer .brand__name { font-size: 21px; }

.footer-brand__summary {
  max-width: 34ch;
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(247, 250, 247, 0.72);
}

.footer-brand__cta { margin-top: 24px; }

.footer-col { min-width: 0; }

.footer-col__title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
}

.footer-col__idx {
  font-family: var(--ff-mono);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--cyan);
}

.footer-col__list {
  display: grid;
  gap: 2px;
  margin-top: 14px;
}

.footer-col__link {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  color: rgba(247, 250, 247, 0.78);
  transition: color 0.14s ease, transform 0.14s ease;
}

.footer-col__link:hover { color: var(--cyan); transform: translateX(3px); }

.footer-col__text {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(247, 250, 247, 0.66);
  overflow-wrap: anywhere;
}

.footer-col__note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.site-footer__meta {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin-inline: auto;
  padding-block: 20px 30px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.site-footer__contact { overflow-wrap: anywhere; }

.site-footer__coord { color: var(--cyan); letter-spacing: 0.14em; }

/* ---------- 9. 面包屑 ---------- */
.breadcrumb {
  width: var(--shell);
  margin-inline: auto;
  padding-block: 24px 0;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--line-dark-strong);
}

.breadcrumb__link { color: var(--mist); transition: color 0.14s ease; }
.breadcrumb__link:hover { color: var(--cyan); }

.breadcrumb__current { color: var(--paper); }

/* ---------- 10. 区块与色彩分区 ---------- */
.section {
  position: relative;
  padding-block: clamp(48px, 7vw, 104px);
}

.section--dark { background-color: var(--ink); color: var(--paper); }
.section--deep { background-color: var(--ink-2); color: var(--paper); }
.section--pale { background-color: var(--pale); color: var(--ink-2); }
.section--wine { background-color: var(--wine); color: var(--paper); }
.section--indigo { background-color: var(--indigo); color: var(--paper); }

.section--pale .u-label,
.section--pale .footer-col__title { color: #4A6159; }

.section--pale .rule { background: var(--line-light); }

.section--pale .link-arrow {
  color: #0F6B57;
  border-bottom-color: rgba(15, 107, 87, 0.35);
}
.section--pale .link-arrow:hover { color: var(--ink); border-bottom-color: var(--ink); }

.section--pale .btn--ghost {
  border-color: var(--line-light-strong);
  color: var(--ink-2);
}
.section--pale .btn--ghost:hover { border-color: #0F6B57; color: #0F6B57; }

/* ---------- 11. 正文 ---------- */
.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.75;
}

.prose > * + * { margin-top: 1.05em; }

.prose h2 {
  margin-top: 2em;
  font-size: clamp(26px, 3vw, 38px);
}

.prose h3 {
  margin-top: 1.6em;
  font-size: clamp(20px, 2vw, 24px);
}

.prose a {
  color: #0F6B57;
  border-bottom: 1px solid rgba(15, 107, 87, 0.35);
  transition: color 0.14s ease, border-color 0.14s ease;
}
.prose a:hover { color: var(--orange-deep); border-bottom-color: var(--orange-deep); }

.prose ul, .prose ol { display: grid; gap: 0.5em; }

.prose ul li { position: relative; padding-left: 1.4em; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 9px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.prose ol { counter-reset: item; }
.prose ol li { position: relative; padding-left: 2em; counter-increment: item; }
.prose ol li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.15em;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.prose blockquote {
  padding-left: 20px;
  border-left: 2px solid var(--orange);
  color: #4A6159;
}

.section--dark .prose a,
.section--deep .prose a,
.section--wine .prose a,
.section--indigo .prose a {
  color: var(--cyan);
  border-bottom-color: rgba(46, 242, 200, 0.38);
}
.section--dark .prose a:hover,
.section--deep .prose a:hover,
.section--wine .prose a:hover,
.section--indigo .prose a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ---------- 12. 数据面板与图例组件 ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  background-color: rgba(12, 42, 35, 0.88);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(6px);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
}

.panel__title {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}

.panel__body { padding-top: 18px; }

.figure {
  font-family: var(--ff-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}

.figure--xl {
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.86;
}

.figure--cyan { color: var(--cyan); }
.figure--orange { color: var(--orange); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid currentColor;
  border-radius: var(--r);
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
}

.tag--cyan { color: var(--cyan); }
.tag--orange { color: var(--orange); }
.tag--yellow { color: var(--yellow); }
.tag--mist { color: var(--mist); }

/* ---------- 13. 图片容器（页面阶段放置图片） ---------- */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  background-color: var(--ink-2);
  background-image: linear-gradient(135deg, rgba(46, 242, 200, 0.06), transparent 55%);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(46, 242, 200, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(46, 242, 200, 0.09) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.7;
}

.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background-color: rgba(6, 26, 22, 0.82);
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x4 { aspect-ratio: 3 / 4; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 21 / 9; }

.media--placeholder {
  display: grid;
  place-items: center;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}

/* ---------- 14. 显现（data-reveal 协议） ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

[data-reveal="shown"] {
  opacity: 1;
  transform: none;
}

/* ---------- 15. 目录高亮（data-toc-link 协议） ---------- */
[data-toc-link] {
  display: block;
  padding: 7px 0 7px 14px;
  border-left: 1px solid var(--line-dark);
  font-size: 14px;
  color: var(--mist);
  transition: color 0.14s ease, border-color 0.14s ease;
}

[data-toc-link]:hover { color: var(--paper); }

[data-toc-link].is-active,
[data-toc-link][aria-current="true"] {
  border-left-color: var(--cyan);
  color: var(--cyan);
}

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1120px) {
  .brand__tagline { display: none; }
  .status { display: none; }
  .nav__idx { display: none; }
}

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

  .site-header__bar {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 12px;
  }

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

  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    display: none;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 12px clamp(16px, 5vw, 32px) 28px;
    background-color: var(--ink-2);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.45);
  }

  .site-header[data-open] .nav { display: block; }

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

  .nav__link {
    display: flex;
    align-items: center;
    padding: 16px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line-dark);
  }

  .nav__link::after { display: none; }

  .nav__idx { display: inline-block; font-size: 11px; }

  .nav__link[aria-current="page"] { color: var(--cyan); }

  .nav__link[aria-current="page"]::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 4px;
    border-radius: 50%;
    background: var(--cyan);
  }

  body.is-nav-open { overflow: hidden; }

  .header-tools .btn {
    padding: 10px 14px;
    font-size: 13px;
    letter-spacing: 0.04em;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand { grid-column: 1 / -1; }

  .site-footer::before { background-size: calc(100% / 2) 100%; }
}

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

  h1 { font-size: clamp(38px, 10vw, 64px); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .u-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .breadcrumb { padding-top: 18px; }
  .header-tools .btn { display: none; }
}

@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__meta { flex-direction: column; align-items: flex-start; }
  .site-footer__coord { display: none; }
  .figure--xl { font-size: clamp(48px, 15vw, 80px); }
}

/* ---------- 17. 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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

  .status__dot { animation: none; }

  .skip-link { transition: none; }
}
