/* ==========================================================================
   环亚赛事 · 共享站点样式 /assets/site.css
   高原夜蓝底 + 赤红行动 + 鎏金数据 + 雪白阅读区
   ========================================================================== */

:root {
  --c-night: #0A1A2F;
  --c-deep: #122A4D;
  --c-deep-2: #1B3A63;
  --c-snow: #F6F8FB;
  --c-white: #FFFFFF;
  --c-red: #D63A2F;
  --c-red-deep: #9C231D;
  --c-gold: #E6B24A;
  --c-gold-soft: #F4D9A6;
  --c-barley: #6B9A6F;
  --c-pine: #3F6B45;
  --c-mist: #A9B8CC;
  --c-ink: #10151C;

  --font-head: "PingFang SC", "Source Han Sans SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "DIN Alternate", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1280px;
  --gutter: clamp(18px, 4.5vw, 56px);
  --header-h: 88px;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --r-pill: 999px;

  --ease: cubic-bezier(.22, .68, .32, 1);
  --t-fast: 140ms;
  --t-mid: 260ms;
  --t-slow: 420ms;
}

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

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

body {
  margin: 0;
  background: var(--c-night);
  color: var(--c-snow);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.14;
  color: inherit;
}

p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: var(--c-gold); text-decoration: none; }
a:hover { color: var(--c-gold-soft); }
strong, b { font-weight: 700; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  transform: translateY(-180%);
  padding: 11px 20px;
  border-radius: var(--r-pill);
  background: var(--c-gold);
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); color: var(--c-ink); }

/* ==========================================================================
   1. 站点头部
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  color: var(--c-snow);
  background: transparent;
  transition: background-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(169, 184, 204, 0.3), transparent);
  transition: opacity var(--t-mid) var(--ease);
}

.site-header.is-scrolled {
  background: var(--c-deep);
  box-shadow: 0 20px 44px -32px rgba(3, 10, 20, 0.98);
}
.site-header.is-scrolled::before { opacity: 0; }

.header-rail {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 32px);
  width: 100%;
  max-width: var(--wrap);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
  transition: height var(--t-mid) var(--ease);
}
.site-header.is-scrolled .header-rail { height: 66px; }

/* ---------- 品牌 ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--c-snow);
  text-decoration: none;
}
.brand:hover { color: var(--c-snow); }
.header-rail > .brand { position: relative; z-index: 3; }

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(155deg, var(--c-deep-2) 0%, var(--c-night) 78%);
  border: 1px solid rgba(230, 178, 74, 0.42);
  box-shadow: inset 0 1px 0 rgba(246, 248, 251, 0.14);
}
.brand-mark::before {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 9px;
  height: 11px;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(120deg, var(--c-gold), var(--c-gold-soft));
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--c-red);
  transform: translateX(-50%);
  box-shadow: 0 0 0 3px rgba(214, 58, 47, 0.18);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-tag {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--c-mist);
  white-space: nowrap;
}

/* ---------- 主导航（桌面） ---------- */
.site-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  margin-left: auto;
}

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

.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--c-mist);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav-link:hover { color: var(--c-snow); background: rgba(169, 184, 204, 0.12); }
.nav-link[aria-current="page"] { color: var(--c-snow); }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-red);
  transform: translateX(-50%);
}

/* ---------- 抽屉内的行动区（仅移动端显示） ---------- */
.nav-foot { display: none; }
.nav-foot .btn { width: 100%; justify-content: center; }
.nav-foot__note {
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--c-mist);
  overflow-wrap: anywhere;
}

/* ---------- 头部操作区 ---------- */
.header-actions {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid rgba(169, 184, 204, 0.42);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--c-snow);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav-toggle:hover { border-color: var(--c-gold); color: var(--c-gold); }

.nav-toggle__bars { position: relative; display: block; width: 16px; height: 10px; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}
.nav-toggle__bars span:first-child { top: 0; }
.nav-toggle__bars span:last-child { bottom: 0; }

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

.nav-toggle__text { font-size: 14px; }
.site-header[data-open] .nav-toggle__text { font-size: 0; }
.site-header[data-open] .nav-toggle__text::after { content: "关闭"; font-size: 14px; }

/* ---------- 滚动进度 ---------- */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  background: rgba(169, 184, 204, 0.14);
}
.scroll-meter__fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--c-red) 0%, var(--c-gold) 100%);
  transition: width 90ms linear;
}

/* ==========================================================================
   2. 站点页脚
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 84px) 0 26px;
  color: var(--c-mist);
  background:
    radial-gradient(120% 80% at 12% 0%, rgba(27, 58, 99, 0.85), transparent 58%),
    linear-gradient(180deg, var(--c-night) 0%, #0E2138 55%, #081524 100%);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--c-red) 0 14%,
    var(--c-gold) 14% 34%,
    var(--c-barley) 34% 46%,
    rgba(169, 184, 204, 0.22) 46% 100%);
}
.site-footer::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -46%;
  width: min(1100px, 130%);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(230, 178, 74, 0.13), transparent 72%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.9fr);
  gap: clamp(32px, 5vw, 72px);
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-brand { min-width: 0; }
.brand--footer { margin-bottom: 4px; }

.footer-lede {
  max-width: 32ch;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-mist);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--c-snow);
}
.footer-status__dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-barley);
  box-shadow: 0 0 0 4px rgba(107, 154, 111, 0.18);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.footer-col { min-width: 0; }
.footer-col__title {
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--c-gold);
}

.footer-list { display: flex; flex-direction: column; gap: 10px; }
.footer-list a {
  display: inline-block;
  font-size: 14.5px;
  color: var(--c-mist);
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}
.footer-list a:hover { color: var(--c-snow); padding-left: 4px; }

.footer-contact {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px clamp(24px, 5vw, 64px);
  width: 100%;
  max-width: var(--wrap);
  margin: clamp(30px, 4.5vw, 52px) auto 0;
  padding: clamp(18px, 2.6vw, 26px) var(--gutter);
  border-top: 1px solid rgba(169, 184, 204, 0.18);
  border-bottom: 1px solid rgba(169, 184, 204, 0.18);
}
.footer-contact__item { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.footer-contact__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--c-gold);
}
.footer-contact__value {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-snow);
  overflow-wrap: anywhere;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 32px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px var(--gutter) 0;
  font-size: 13px;
  color: var(--c-mist);
}
.footer-legal { letter-spacing: 0.02em; }
.footer-note { max-width: 52ch; line-height: 1.65; }

/* ==========================================================================
   3. 通用按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}

.btn--primary {
  background: var(--c-red);
  color: var(--c-white);
  box-shadow: 0 10px 26px -16px rgba(214, 58, 47, 0.95);
}
.btn--primary:hover {
  background: var(--c-red-deep);
  color: var(--c-white);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(169, 184, 204, 0.45);
  color: var(--c-snow);
}
.btn--ghost:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--c-gold);
  color: var(--c-ink);
}
.btn--gold:hover {
  background: var(--c-gold-soft);
  color: var(--c-ink);
  transform: translateY(-1px);
}

.btn--sm { padding: 10px 18px; font-size: 14px; }

/* ==========================================================================
   4. 胶囊筛选 / 标签
   ========================================================================== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid rgba(169, 184, 204, 0.42);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--c-snow);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}
.chip:hover { border-color: var(--c-gold); color: var(--c-gold); }
.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-white);
}
.chip--ink {
  border-color: rgba(16, 21, 28, 0.22);
  color: var(--c-ink);
}
.chip--ink:hover { border-color: var(--c-red); color: var(--c-red); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid rgba(230, 178, 74, 0.36);
  border-radius: var(--r-pill);
  background: rgba(230, 178, 74, 0.16);
  color: var(--c-gold-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.tag--red {
  border-color: rgba(214, 58, 47, 0.44);
  background: rgba(214, 58, 47, 0.18);
  color: #F3B4AE;
}
.tag--green {
  border-color: rgba(107, 154, 111, 0.46);
  background: rgba(107, 154, 111, 0.18);
  color: #BBD6BD;
}

/* ==========================================================================
   5. 布局容器 / 分区 / 网格
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

#main-content { display: block; }

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--dark { background: var(--c-night); color: var(--c-snow); }
.section--deep { background: var(--c-deep); color: var(--c-snow); }
.section--snow { background: var(--c-snow); color: var(--c-ink); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ==========================================================================
   6. 视觉组件：眉标 / 编号 / 数据 / 卡片 / 旁注
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.section-no {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(230, 178, 74, 0.55);
}

.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--c-gold);
}
.stat__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--c-mist);
}

.surface {
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--r-lg);
  background: var(--c-white);
  color: var(--c-ink);
  box-shadow: 0 28px 64px -50px rgba(10, 26, 47, 0.85);
}
.surface--dark {
  background: rgba(18, 42, 77, 0.74);
  border: 1px solid rgba(169, 184, 204, 0.18);
  color: var(--c-snow);
  box-shadow: none;
}

.note {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-mist);
}
.note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  bottom: 0.45em;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--c-gold), var(--c-red));
}

/* ==========================================================================
   7. 面包屑 / 长文
   ========================================================================== */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-mist);
}
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before {
  content: "/";
  color: rgba(169, 184, 204, 0.45);
}
.breadcrumbs a { color: var(--c-mist); }
.breadcrumbs a:hover { color: var(--c-gold); }
.breadcrumbs [aria-current="page"] { color: var(--c-snow); font-weight: 600; }

.prose { max-width: 40rem; color: inherit; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: clamp(24px, 3vw, 32px); }
.prose h3 { margin-top: 1.6em; font-size: clamp(19px, 2.2vw, 24px); }
.prose p,
.prose li { font-size: 17px; line-height: 1.78; }
.prose ul,
.prose ol { padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: 0.4em; }
.prose a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--c-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--c-red); }

/* ==========================================================================
   8. 可复用图片容器
   ========================================================================== */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--c-deep-2) 0%, var(--c-night) 78%);
  isolation: isolate;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.media--wide { aspect-ratio: 16 / 9; }
.media--photo { aspect-ratio: 4 / 3; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media--auto { aspect-ratio: auto; min-height: 180px; }

.media--veil::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 47, 0.04) 34%, rgba(10, 26, 47, 0.84) 100%);
  pointer-events: none;
}
.media__caption {
  position: absolute;
  z-index: 2;
  left: clamp(14px, 2vw, 22px);
  right: clamp(14px, 2vw, 22px);
  bottom: clamp(12px, 2vw, 20px);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--c-snow);
}
.media__badge { position: absolute; z-index: 2; top: 14px; left: 14px; }

/* ==========================================================================
   9. 滚动显现
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   10. 响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-list { gap: 0; }
  .nav-link { padding: 10px 10px; font-size: 14px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .site-header.is-scrolled .header-rail { height: var(--header-h); }
  .header-rail { gap: 12px; }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: calc(var(--header-h) + 26px) var(--gutter) calc(34px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      radial-gradient(90% 58% at 88% 0%, rgba(214, 58, 47, 0.22), transparent 62%),
      linear-gradient(168deg, #0A1A2F 0%, #122A4D 66%, #0A1A2F 100%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity var(--t-mid) var(--ease),
                transform var(--t-mid) var(--ease),
                visibility 0s linear var(--t-mid);
  }

  .site-header[data-open] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity var(--t-mid) var(--ease),
                transform var(--t-mid) var(--ease),
                visibility 0s;
  }

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

  .nav-link {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 15px 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(169, 184, 204, 0.16);
    font-family: var(--font-head);
    font-size: clamp(20px, 5.4vw, 26px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--c-snow);
  }
  .nav-link::before {
    content: counter(nav-counter, decimal-leading-zero);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--c-gold);
    opacity: 0.85;
  }
  .nav-link:hover { background: transparent; color: var(--c-gold); }
  .nav-link[aria-current="page"] { color: var(--c-gold); }
  .nav-link[aria-current="page"]::after {
    left: auto;
    right: 4px;
    bottom: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-red);
    transform: translateY(50%);
  }

  .nav-foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 34px;
  }
  .nav-foot .btn { padding: 15px 22px; }

  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .brand-tag { display: none; }
  .brand-mark { width: 36px; height: 36px; border-radius: 12px; }
  .brand-name { font-size: 16px; }

  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .footer-contact { gap: 14px 28px; }
  .footer-bottom { flex-direction: column; }

  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: minmax(0, 1fr); }

  .btn { padding: 12px 20px; font-size: 14.5px; }
  .btn--sm { padding: 9px 16px; font-size: 13.5px; }
}

@media (max-width: 380px) {
  .nav-toggle__text { display: none; }
  .site-header[data-open] .nav-toggle__text { display: inline; }
}

/* ==========================================================================
   11. 动效降级
   ========================================================================== */
@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__fill { transition: none; }
}
