/* ==========================================================================
   米乐赛场 · 共享样式 /assets/site.css
   夜间赛场指挥台：炭黑基底、深墨绿战术条、荧光青索引、赛道橙战报
   ========================================================================== */

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

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

body {
  margin: 0;
  background-color: #0B0F0E;
  background-image: radial-gradient(900px 520px at 78% -12%, rgba(15, 44, 36, 0.85), rgba(11, 15, 14, 0) 72%);
  background-repeat: no-repeat;
  color: #F2EFE4;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; }

button { font: inherit; color: inherit; }

::selection {
  background: rgba(57, 242, 208, 0.28);
  color: #F2EFE4;
}

:focus-visible {
  outline: 2px solid #39F2D0;
  outline-offset: 3px;
  border-radius: 4px;
}

#main-content:focus-visible {
  outline: 2px solid rgba(57, 242, 208, 0.7);
  outline-offset: -2px;
}

/* 2. 变量
   ========================================================================== */
:root {
  --ink: #0B0F0E;
  --pine: #0F2C24;
  --pine-soft: #1E4A3A;
  --teal-deep: #123A3A;
  --cyan: #39F2D0;
  --orange: #FF7A2F;
  --stone: #8B948C;
  --cream: #F2EFE4;
  --clay: #B9684A;
  --yellow: #F2C94C;

  --text: var(--cream);
  --muted: #9EA79F;
  --line: rgba(242, 239, 228, 0.12);
  --line-strong: rgba(242, 239, 228, 0.24);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, "Courier New", monospace;

  --wrap: 1200px;
  --wrap-wide: 1320px;
  --header-h: 72px;
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 26px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 3. 排版与工具
   ========================================================================== */
.mono {
  font-family: var(--font-mono);
  font-size: 0.84em;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 40px);
}

.page-top {
  padding-top: calc(var(--header-h) + clamp(28px, 6vw, 72px));
}

.section {
  padding: clamp(48px, 8vw, 96px) 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 28px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 10px;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.section-sub {
  margin: 10px 0 0;
  max-width: 46em;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

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

/* 4. 按钮与标签
   ========================================================================== */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn--primary {
  background: var(--cyan);
  color: #04231D;
  border-color: var(--cyan);
}

.btn--primary:hover {
  background: #63F8DB;
  box-shadow: 0 12px 30px -16px rgba(57, 242, 208, 0.9);
  transform: translateY(-1px);
}

.btn--orange {
  background: rgba(255, 122, 47, 0.14);
  color: #FFC7A3;
  border-color: rgba(255, 122, 47, 0.6);
}

.btn--orange:hover {
  background: rgba(255, 122, 47, 0.24);
  color: var(--cream);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: rgba(57, 242, 208, 0.6);
  color: var(--cyan);
}

.btn--quiet {
  background: transparent;
  color: var(--cyan);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
  border-radius: 0;
}

.btn--quiet:hover { color: #7CF9E3; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
}

.tag--cyan {
  color: var(--cyan);
  border-color: rgba(57, 242, 208, 0.45);
  background: rgba(57, 242, 208, 0.08);
}

.tag--orange {
  color: #FFB78C;
  border-color: rgba(255, 122, 47, 0.5);
  background: rgba(255, 122, 47, 0.12);
}

.tag--muted { color: var(--stone); }

/* 5. 面板与网格
   ========================================================================== */
.surface {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(160deg, rgba(30, 74, 58, 0.55), rgba(15, 44, 36, 0.78));
}

.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--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }

/* 6. 图片容器（供页面阶段放图）
   ========================================================================== */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(150deg, var(--teal-deep), var(--pine) 55%, var(--ink));
}

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(202deg, rgba(57, 242, 208, 0.16), rgba(11, 15, 14, 0) 58%);
  pointer-events: none;
}

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

.media-caption {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

/* 7. 面包屑与正文
   ========================================================================== */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: calc(var(--header-h) + 20px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--stone);
}

.breadcrumbs a {
  color: var(--stone);
  text-decoration: none;
}

.breadcrumbs a:hover { color: var(--cyan); }

.crumb-sep { color: rgba(139, 148, 140, 0.5); }

.crumb-current { color: var(--cream); }

.prose {
  max-width: 66ch;
  color: #DDE1D6;
  font-size: 1rem;
  line-height: 1.85;
}

.prose p { margin: 0 0 1.1em; }

.prose h2,
.prose h3 {
  color: var(--cream);
  line-height: 1.35;
  margin: 1.8em 0 0.6em;
}

.prose h2 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.prose h3 { font-size: 1.08rem; }

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose ul,
.prose ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
  list-style: disc;
}

.prose li { margin: 0 0 0.4em; }

/* 8. 跳转链接
   ========================================================================== */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-180%);
  padding: 12px 18px;
  border-radius: var(--radius-s);
  background: var(--cyan);
  color: #04231D;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: transform 0.18s var(--ease);
}

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

/* 9. 头部
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: var(--cream);
  background: linear-gradient(to bottom, rgba(11, 15, 14, 0.88), rgba(11, 15, 14, 0));
  border-bottom: 1px solid transparent;
  transition: background-color 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.site-header.is-scrolled,
.site-header[data-open="true"] {
  background: var(--pine);
  border-bottom-color: rgba(57, 242, 208, 0.28);
  box-shadow: 0 18px 48px -32px rgba(0, 0, 0, 0.95);
}

.header-shell {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  width: 100%;
  max-width: var(--wrap-wide);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(57, 242, 208, 0.5);
  border-radius: 8px;
  background: radial-gradient(circle at 32% 26%, rgba(57, 242, 208, 0.26), rgba(15, 44, 36, 0.2) 70%);
}

.brand-mark-core {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(57, 242, 208, 0.9);
}

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

.brand-name {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.brand-tagline {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}

/* 主导航 */
.primary-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-caption { display: none; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1vw, 16px);
}

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 4px;
  color: var(--cream);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  position: relative;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  color: var(--stone);
  transition: color 0.2s var(--ease);
}

.nav-label { display: inline-block; }

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

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

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

/* 抽屉内附加入口（桌面隐藏） */
.nav-extra { display: none; }

.nav-extra-title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 10px;
}

.nav-extra-link {
  display: block;
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid rgba(57, 242, 208, 0.32);
  border-radius: var(--radius-s);
  background: rgba(57, 242, 208, 0.06);
  color: var(--cyan);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-extra-link:hover {
  background: rgba(57, 242, 208, 0.14);
  border-color: rgba(57, 242, 208, 0.6);
}

.nav-extra-meta {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--stone);
}

/* 头部操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: clamp(8px, 2vw, 26px);
  flex: 0 0 auto;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 122, 47, 0.55);
  border-radius: 999px;
  background: rgba(255, 122, 47, 0.1);
  color: #FFD3B8;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.header-cta:hover {
  background: rgba(255, 122, 47, 0.22);
  border-color: rgba(255, 122, 47, 0.85);
  color: var(--cream);
}

.cta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  animation: signalPulse 2.8s ease-in-out infinite;
}

.nav-toggle { display: none; }

.nav-toggle-label { font-size: 0.78rem; letter-spacing: 0.14em; }

.nav-toggle-bars {
  display: block;
  width: 16px;
}

.nav-toggle-bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s var(--ease);
}

.nav-toggle-bars span + span { margin-top: 4px; }

/* 阅读进度 */
.read-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(242, 239, 228, 0.07);
}

.read-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transition: width 0.1s linear;
}

@keyframes signalPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* 10. 页脚
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) 0 0;
  background: var(--ink);
  border-top: 1px solid var(--line);
  color: var(--cream);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(57, 242, 208, 0.1), rgba(11, 15, 14, 0) 68%);
  pointer-events: none;
}

.footer-shell {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 40px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(32px, 5vw, 56px);
}

.footer-kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-brand-line {
  margin: 0 0 20px;
  max-width: 24em;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.7;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(57, 242, 208, 0.3);
  border-radius: 999px;
  background: rgba(57, 242, 208, 0.07);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.status-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #BFEFE6;
}

.footer-col-title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}

.footer-list {
  display: grid;
  gap: 10px;
}

.footer-link {
  color: var(--cream);
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-link:hover {
  color: var(--cyan);
  border-bottom-color: rgba(57, 242, 208, 0.5);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
}

.contact-row {
  display: grid;
  gap: 3px;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.contact-value {
  font-size: 0.9rem;
  line-height: 1.55;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding: 2px 0;
  border: 0;
  border-bottom: 1px dashed rgba(57, 242, 208, 0.42);
  background: transparent;
  color: var(--cream);
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.copy-btn::after {
  content: "";
  width: 9px;
  height: 9px;
  border: 1px solid var(--cyan);
  border-radius: 2px;
  opacity: 0.55;
  transition: opacity 0.18s var(--ease), background-color 0.18s var(--ease);
}

.copy-btn:hover { color: var(--cyan); }
.copy-btn:hover::after { opacity: 1; }

.copy-btn[data-copied="true"] {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.copy-btn[data-copied="true"]::after {
  background: var(--cyan);
  border-color: var(--cyan);
  opacity: 1;
}

.footer-note {
  margin: 0;
  max-width: 28em;
  font-size: 0.78rem;
  line-height: 1.75;
  color: var(--stone);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
}

.legal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.legal-link {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.legal-link:hover { color: var(--cyan); }

.footer-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--stone);
}

.footer-icp { color: #7E8A82; }

/* 11. 显现动效协议
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* 12. 响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-index { display: none; }
  .brand-tagline { letter-spacing: 0.2em; }
}

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

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

  .header-shell { gap: 12px; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid rgba(242, 239, 228, 0.24);
    border-radius: 999px;
    background: rgba(11, 15, 14, 0.35);
    color: var(--cream);
    cursor: pointer;
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
  }

  .nav-toggle:hover { border-color: rgba(57, 242, 208, 0.6); color: var(--cyan); }

  .nav-toggle[aria-expanded="true"] { border-color: rgba(57, 242, 208, 0.7); color: var(--cyan); }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child {
    transform: translateY(2.75px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child {
    transform: translateY(-2.75px) rotate(-45deg);
  }

  .header-cta { display: none; }

  .header-actions { margin-left: auto; }

  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: block;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    margin-left: 0;
    padding: 6px clamp(18px, 5vw, 40px) 32px;
    background: var(--pine);
    border-bottom: 1px solid rgba(57, 242, 208, 0.28);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s var(--ease);
  }

  .site-header[data-open="true"] .primary-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-caption {
    display: block;
    padding: 18px 0 8px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--stone);
  }

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

  .nav-item { border-bottom: 1px solid var(--line); }

  .nav-link {
    display: flex;
    align-items: baseline;
    gap: 12px;
    width: 100%;
    padding: 15px 4px;
    font-size: 1rem;
    border-radius: 0;
  }

  .nav-index { display: inline; }

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

  .nav-link:hover { background: rgba(57, 242, 208, 0.05); }

  .nav-link[aria-current="page"] {
    background: rgba(57, 242, 208, 0.09);
    box-shadow: inset 2px 0 0 var(--cyan);
  }

  .nav-extra { display: block; padding-top: 22px; }

  body.nav-open { overflow: hidden; }

  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: 1 / -1; }
}

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

@media (max-width: 640px) {
  :root { --header-h: 60px; }

  body { font-size: 15.5px; }

  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 0.96rem; letter-spacing: 0.1em; }
  .brand-tagline { display: none; }

  .nav-toggle-label { display: none; }
  .nav-toggle { padding: 10px 12px; }

  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .footer-brand-line { font-size: 0.98rem; }
  .section { padding: clamp(40px, 10vw, 64px) 0; }
}

/* 13. 降低动效
   ========================================================================== */
@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;
  }
}
