/* ============================================================
   乐竞体育 · 全站共享样式 /assets/site.css
   雪青底 · 暖沙分区 · 竞技橙红状态 · 深蓝绿重块
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--snow);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, hr { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; }

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

:root {
  /* 品牌色 */
  --snow: #DDEBEE;
  --snow-mist: #F3F8F8;
  --sand: #E7D3B4;
  --teal: #0E3A3A;
  --teal-deep: #082A2A;
  --flame: #F05A28;
  --gold: #FFB23E;
  --cyan: #1AC7B6;
  --ink: #0B1F24;
  --gray: #66777C;
  --glass: rgba(255, 255, 255, 0.72);
  --line: rgba(11, 31, 36, 0.14);
  --line-strong: rgba(11, 31, 36, 0.28);

  /* 字体 */
  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 字号 */
  --fs-display: clamp(2.4rem, 5vw, 4.8rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.6rem);
  --fs-h3: 1.25rem;
  --fs-body: 1rem;
  --fs-caption: 0.8125rem;

  /* 栅格与节奏 */
  --shell: min(1280px, calc(100% - 3rem));
  --header-h: 88px;
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 基础排版组件 ---------- */

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 2px;
  background: var(--flame);
}

.display-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 64ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
  color: #20363C;
}

.prose {
  max-width: 76ch;
}

.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: var(--fs-h2); }
.prose h3 { margin-top: 1.6em; font-size: var(--fs-h3); }
.prose ul, .prose ol { padding-left: 1.25rem; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }

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

.muted { color: var(--gray); }

.rule {
  height: 9px;
  border-bottom: 1px solid var(--line-strong);
  background-image: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 16px);
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: auto 6px;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn--primary {
  background: var(--flame);
  border-color: var(--flame);
  color: var(--ink);
  box-shadow: 0 12px 26px -18px rgba(240, 90, 40, 0.95);
}

.btn--primary:hover { background: #FF7247; border-color: #FF7247; }

.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.btn--ghost:hover { background: rgba(11, 31, 36, 0.06); }

.btn--compact {
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
}

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

.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- 跳转链接 ---------- */

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: max(1rem, calc((100% - var(--shell)) / 2));
  z-index: 20;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--snow-mist);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius);
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}

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

/* ---------- 头部 ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--ink);
  background-color: rgba(221, 235, 238, 0.62);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  backdrop-filter: blur(12px) saturate(125%);
  border-bottom: 1px solid transparent;
  --header-line: rgba(11, 31, 36, 0.18);
  --header-dim: rgba(11, 31, 36, 0.62);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.site-header[data-scrolled] {
  background-color: var(--teal);
  color: var(--snow-mist);
  border-bottom-color: rgba(255, 178, 62, 0.5);
  box-shadow: 0 22px 44px -34px rgba(8, 42, 42, 0.95);
  --header-line: rgba(243, 248, 248, 0.22);
  --header-dim: rgba(243, 248, 248, 0.7);
}

.header-rail {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: var(--shell);
  margin-inline: auto;
  padding-block: 0.32rem;
  border-bottom: 1px solid var(--header-line);
}

.rail-coord {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--header-dim);
  white-space: nowrap;
}

.rail-coord--end { margin-left: auto; }

.rail-ticks {
  flex: 1 1 auto;
  height: 7px;
  min-width: 2rem;
  background-image: repeating-linear-gradient(90deg, var(--header-line) 0 1px, transparent 1px 13px);
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: auto 7px;
  opacity: 0.9;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: var(--shell);
  min-height: 60px;
  margin-inline: auto;
  padding-block: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 2px solid currentColor;
  border-radius: var(--radius);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 11px;
  background: linear-gradient(135deg, var(--flame), var(--gold));
  transform: rotate(45deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid currentColor;
  opacity: 0.32;
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.0625rem;
  letter-spacing: 0.06em;
}

.brand-descriptor {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  color: var(--header-dim);
}

.site-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.18rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease);
}

.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }

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

.site-header[data-scrolled] .nav-link[aria-current="page"] { color: var(--gold); }
.site-header[data-scrolled] .nav-link[aria-current="page"]::after { background: var(--gold); }

.nav-extra { display: none; }

.nav-note {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(243, 248, 248, 0.72);
  margin-bottom: 0.75rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 0.35rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0.62rem;
  border: 1px solid var(--header-line);
  border-radius: var(--radius);
  color: inherit;
}

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

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
}

.nav-toggle__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.scroll-meter {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--flame), var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.1s linear;
  pointer-events: none;
}

/* ---------- 页脚 ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 5vw, 4.5rem) 1.5rem;
  color: var(--snow-mist);
  background-color: var(--teal);
  background-image: radial-gradient(125% 105% at 12% 0%, #124A48 0%, var(--teal) 46%, var(--teal-deep) 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(243, 248, 248, 0.1) 0 1px, transparent 1px 64px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 72%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 72%);
}

.footer-frame {
  position: absolute;
  inset: 1.1rem;
  border: 1px solid rgba(243, 248, 248, 0.16);
  pointer-events: none;
}

.footer-frame::before,
.footer-frame::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--gold);
}

.footer-frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.footer-frame::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
}

.footer-inner {
  position: relative;
  width: var(--shell);
  margin-inline: auto;
}

.footer-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.footer-brand__mark {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 0.9rem;
  border: 2px solid var(--snow-mist);
}

.footer-brand__mark::before {
  content: "";
  position: absolute;
  inset: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.375rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.footer-brand__desc {
  margin-top: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: rgba(243, 248, 248, 0.62);
}

.footer-brand__note {
  margin-top: 0.9rem;
  max-width: 34ch;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(243, 248, 248, 0.78);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-col__title::before {
  content: "";
  display: block;
  width: 1rem;
  height: 2px;
  background: var(--cyan);
}

.footer-links { margin-top: 0.85rem; }

.footer-link {
  display: inline-block;
  padding: 0.3rem 0;
  font-size: 0.9375rem;
  color: rgba(243, 248, 248, 0.84);
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
  transform: translateX(2px);
}

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

.footer-contact__row {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
  padding: 0.42rem 0;
  border-bottom: 1px dashed rgba(243, 248, 248, 0.14);
}

.footer-contact__row:first-of-type { margin-top: 0.85rem; }

.footer-contact__key {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: rgba(243, 248, 248, 0.55);
  padding-top: 0.12rem;
}

.footer-contact__val {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--snow-mist);
  overflow-wrap: anywhere;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(243, 248, 248, 0.16);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(243, 248, 248, 0.6);
}

.footer-meta--icp {
  padding: 0.15rem 0.5rem;
  border: 1px solid rgba(243, 248, 248, 0.24);
  border-radius: var(--radius);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-left: auto;
}

.footer-legal__link {
  color: rgba(243, 248, 248, 0.66);
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-legal__link:hover,
.footer-legal__link:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ---------- 主内容与读取定位 ---------- */

.site-main { padding-top: var(--header-h); }
.site-main--flush { padding-top: 0; }

#main-content { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- 面包屑 ---------- */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gray);
}

.breadcrumbs a {
  color: var(--gray);
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--flame);
}

.breadcrumbs__sep { color: var(--line-strong); }

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- 栅格 ---------- */

.grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

/* ---------- 图片容器 ---------- */

.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-image: linear-gradient(140deg, var(--snow-mist) 0%, var(--sand) 100%);
}

.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }

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

.media__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 100%;
  padding: 0.45rem 0.7rem;
  background: rgba(11, 31, 36, 0.76);
  color: var(--snow-mist);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

/* ---------- 标签 ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.55rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--snow-mist);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--ink);
  white-space: nowrap;
}

.tag--flame {
  background: var(--flame);
  border-color: var(--flame);
  color: var(--ink);
  font-weight: 700;
}

.tag--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 700;
}

/* ---------- 展开组 ---------- */

.disclosure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--snow-mist);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.disclosure + .disclosure { margin-top: 0.5rem; }

.disclosure[data-open] {
  border-color: rgba(240, 90, 40, 0.6);
  background: #FFFFFF;
}

.disclosure__trigger {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0.95rem 1.1rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}

.disclosure__icon {
  position: relative;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-left: auto;
  color: var(--flame);
}

.disclosure__icon::before,
.disclosure__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.18s var(--ease);
}

.disclosure__icon::before { inset: 6px 0 auto 0; height: 2px; }
.disclosure__icon::after { inset: 0 auto 0 6px; width: 2px; }

.disclosure[data-open] .disclosure__icon::after { transform: scaleY(0); }

.disclosure__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.24s var(--ease);
}

.disclosure[data-open] .disclosure__panel { grid-template-rows: 1fr; }

.disclosure__inner {
  overflow: hidden;
  min-height: 0;
}

.disclosure__body {
  padding: 0 1.1rem 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #24404A;
}

.disclosure__body > * + * { margin-top: 0.75em; }

/* ---------- 进入视口显现 ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

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

/* ---------- 焦点 ---------- */

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

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .footer-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-contact { grid-column: 1 / -1; }
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    display: block;
    margin-left: 0;
    padding: 1rem clamp(1.25rem, 5vw, 2.5rem) 1.75rem;
    background-color: var(--teal);
    color: var(--snow-mist);
    border-top: 1px solid rgba(243, 248, 248, 0.16);
    box-shadow: 0 30px 50px -34px rgba(8, 42, 42, 0.95);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s linear;
  }

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

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

  .nav-link {
    display: block;
    padding: 0.8rem 0.25rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(243, 248, 248, 0.14);
  }

  .nav-link::after {
    left: 0.25rem;
    right: auto;
    bottom: 0.5rem;
    width: 2.5rem;
  }

  .site-nav .nav-link[aria-current="page"] { color: var(--gold); }
  .site-nav .nav-link[aria-current="page"]::after { background: var(--gold); }

  .nav-extra { display: block; margin-top: 1.15rem; }
}

@media (max-width: 860px) {
  .grid--2,
  .grid--3,
  .grid--split { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  :root {
    --shell: min(1280px, calc(100% - 2rem));
    --header-h: 62px;
  }

  .header-rail { display: none; }

  .header-inner {
    min-height: 62px;
    gap: 0.65rem;
    padding-block: 0.45rem;
  }

  .brand-mark { width: 32px; height: 32px; flex-basis: 32px; }
  .brand-mark::before { inset: 9px; }
  .brand-name { font-size: 0.9875rem; }
  .brand-descriptor { font-size: 0.5625rem; letter-spacing: 0.1em; }

  .footer-frame { inset: 0.65rem; }
  .footer-nav { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .header-actions .btn--compact { display: none; }

  .footer-head { grid-template-columns: minmax(0, 1fr); }
  .footer-contact { grid-column: auto; }
  .footer-legal { margin-left: 0; }
  .footer-base { font-size: 0.6875rem; }
}

/* ---------- 减少动态效果 ---------- */

@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;
  }

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

  .scroll-meter { transition: none; }
}
