/* ============================================================
   绿茵赛事 · 共享站点样式 /assets/site.css
   高原赛道 · 数据看台
   ============================================================ */

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

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

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

ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg, video { display: block; max-width: 100%; height: auto; }
table { border-collapse: collapse; width: 100%; }

/* ---------- Tokens ---------- */
:root {
  --pitch: #1F7A4D;
  --ink: #0B2F26;
  --lake: #1D6F8C;
  --rape: #F4C542;
  --neon: #B7FF6A;
  --indigo: #3B2F73;
  --wine: #75243F;
  --paper: #F4F1E7;
  --mist: #D9E8DE;
  --char: #10201A;

  --line-dark: rgba(11, 47, 38, 0.14);
  --line-soft: rgba(11, 47, 38, 0.08);
  --line-light: rgba(244, 241, 231, 0.18);
  --paper-soft: rgba(244, 241, 231, 0.78);

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

  --sp-1: 24px;
  --sp-2: 48px;
  --sp-3: 80px;

  --font-sans: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-island: 0 20px 44px -26px rgba(11, 47, 38, 0.6), 0 1px 0 rgba(255, 255, 255, 0.55) inset;
  --shadow-card: 0 22px 40px -30px rgba(59, 47, 115, 0.55);
}

/* ---------- Base / 中文排版 ---------- */
body {
  padding-left: var(--rail-w);
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.72;
  color: var(--char);
  letter-spacing: 0.01em;
  background-color: var(--paper);
  background-image:
    radial-gradient(1100px 560px at 88% -8%, rgba(29, 111, 140, 0.12), transparent 62%),
    radial-gradient(880px 480px at -6% 102%, rgba(244, 197, 66, 0.12), transparent 58%);
  background-attachment: fixed;
}

:where(h1, h2, h3, h4) {
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { text-wrap: pretty; }
p + p { margin-top: 1em; }

strong { font-weight: 800; }

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

/* ---------- Focus ---------- */
:focus-visible {
  outline: 3px solid var(--lake);
  outline-offset: 3px;
  border-radius: 6px;
}

.site-footer :focus-visible,
.brand-rail :focus-visible {
  outline-color: var(--neon);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: calc(var(--rail-w) + 12px);
  z-index: 200;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--neon);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

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

/* ---------- Layout utilities ---------- */
.wrap {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(20px, 3vw, 40px);
}

.page-shell {
  padding-top: clamp(104px, 12vw, 156px);
  padding-bottom: clamp(64px, 8vw, 96px);
}

.section {
  padding-block: clamp(40px, 6vw, 80px);
}

.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--indigo { background: var(--indigo); color: var(--paper); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--pitch);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--rape);
  border-radius: 2px;
}

.section--ink .eyebrow,
.section--indigo .eyebrow { color: var(--neon); }

.display-title {
  font-size: clamp(48px, 7vw, 116px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.1;
}

.lede {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.75;
  color: rgba(16, 32, 26, 0.82);
  max-width: 62ch;
}

.section--ink .lede,
.section--indigo .lede { color: rgba(244, 241, 231, 0.82); }

.note-strip {
  border-left: 6px solid var(--rape);
  background: rgba(244, 197, 66, 0.16);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 18px 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--char);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease),
    border-color 0.16s var(--ease), transform 0.16s var(--ease);
}

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

.btn--fill { background: var(--pitch); color: var(--paper); }
.btn--fill:hover { background: var(--ink); color: var(--neon); }

.btn--line {
  background: transparent;
  border-color: rgba(11, 47, 38, 0.26);
  color: var(--ink);
}
.btn--line:hover { border-color: var(--pitch); color: var(--pitch); background: rgba(31, 122, 77, 0.08); }

.btn--sun { background: var(--rape); color: #241d00; }
.btn--sun:hover { background: var(--neon); color: var(--ink); }

.btn--dark { background: var(--ink); color: var(--neon); }
.btn--dark:hover { background: var(--indigo); color: var(--paper); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: rgba(16, 32, 26, 0.55);
  margin-bottom: var(--sp-1);
}

.breadcrumb__link { color: var(--pitch); }
.breadcrumb__link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb__sep { color: rgba(16, 32, 26, 0.32); }
.breadcrumb__current { color: rgba(16, 32, 26, 0.78); }

.section--ink .breadcrumb,
.section--indigo .breadcrumb { color: rgba(244, 241, 231, 0.6); }
.section--ink .breadcrumb__link,
.section--indigo .breadcrumb__link { color: var(--neon); }

/* ---------- Grid ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* ---------- Card ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: var(--r-md);
  background: #fffdf6;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 122, 77, 0.3);
  box-shadow: 0 26px 46px -28px rgba(11, 47, 38, 0.45);
}

.card__title { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.card__meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: rgba(16, 32, 26, 0.55);
}

/* ---------- Tag ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--mist);
  color: var(--pitch);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.tag--sun { background: rgba(244, 197, 66, 0.28); color: #4a3a00; }
.tag--indigo { background: rgba(59, 47, 115, 0.12); color: var(--indigo); }

/* ---------- Stat ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--paper);
}

.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--neon);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: rgba(244, 241, 231, 0.66);
}

/* ---------- Filter ---------- */
.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 2px 10px;
  scrollbar-width: thin;
  border-bottom: 1px solid var(--line-soft);
}

.filter-btn {
  flex: 0 0 auto;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease),
    border-color 0.16s var(--ease);
}

.filter-btn:hover { border-color: var(--pitch); color: var(--pitch); }

.filter-btn[aria-pressed="true"] {
  background: var(--pitch);
  border-color: var(--pitch);
  color: var(--paper);
}

.section--ink .filter-btn {
  color: rgba(244, 241, 231, 0.8);
  border-color: rgba(244, 241, 231, 0.26);
}
.section--ink .filter-btn[aria-pressed="true"] {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--ink);
}

.is-filtered-out { display: none !important; }

/* ---------- Panel ---------- */
.panel {
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  background: #fffdf6;
  overflow: hidden;
}

.panel + .panel { margin-top: 12px; }

.panel__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
  color: var(--ink);
}

.panel__trigger:hover { background: rgba(217, 232, 222, 0.5); }

.panel__body {
  padding: 0 22px 22px;
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(16, 32, 26, 0.86);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--neon), rgba(29, 111, 140, 0.45));
}

.timeline__item { position: relative; }

.timeline__node {
  position: absolute;
  left: -26px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon);
  border: 2px solid var(--ink);
}

.timeline__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(244, 241, 231, 0.62);
}

/* ---------- Media ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(31, 122, 77, 0.85), rgba(29, 111, 140, 0.7) 58%, rgba(59, 47, 115, 0.75));
  isolation: isolate;
}

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

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(183, 255, 106, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183, 255, 106, 0.13) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.6;
}

.media__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(11, 47, 38, 0.78);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
}

/* ---------- Reveal ---------- */
.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease);
}

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

/* ============================================================
   品牌轨道
   ============================================================ */
.brand-rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-w);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 0 24px;
  color: var(--paper);
  background: linear-gradient(180deg, #0B2F26 0%, #0d3c30 58%, #1F7A4D 100%);
  border-right: 1px solid rgba(183, 255, 106, 0.22);
}

.brand-rail__stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(183, 255, 106, 0.55);
  color: var(--neon);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0.06em;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.brand-rail__stamp:hover {
  background: var(--neon);
  color: var(--ink);
  border-color: var(--neon);
}

.brand-rail__rule {
  flex: 1 1 auto;
  width: 1px;
  min-height: 24px;
  background: linear-gradient(180deg, rgba(183, 255, 106, 0.5), rgba(183, 255, 106, 0));
}

.brand-rail__note {
  writing-mode: vertical-rl;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: rgba(244, 241, 231, 0.72);
}

.brand-rail__meter {
  width: 4px;
  height: 104px;
  border-radius: var(--r-pill);
  background: rgba(244, 241, 231, 0.18);
  overflow: hidden;
}

.brand-rail__meter span {
  display: block;
  width: 100%;
  height: calc(var(--p, 0) * 100%);
  background: var(--neon);
  border-radius: var(--r-pill);
  transition: height 0.14s linear;
}

.brand-rail__version {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(244, 241, 231, 0.66);
}

/* ============================================================
   浮岛导航
   ============================================================ */
.nav-shell {
  position: fixed;
  top: 14px;
  right: 16px;
  left: calc(var(--rail-w) + 16px);
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-island {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 1320px;
  padding: 10px 12px 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-dark);
  background: rgba(244, 241, 231, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  backdrop-filter: blur(14px) saturate(1.25);
  box-shadow: var(--shadow-island);
  transition: padding 0.28s var(--ease), background-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease), border-radius 0.28s var(--ease);
}

.site-header[data-scrolled="true"] .nav-island {
  padding: 6px 12px 6px 16px;
  background: rgba(244, 241, 231, 0.96);
  border-color: rgba(11, 47, 38, 0.2);
  box-shadow: 0 16px 34px -22px rgba(11, 47, 38, 0.7);
}

/* 品牌 */
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}

.nav-brand__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pitch);
  box-shadow: 0 0 0 4px rgba(31, 122, 77, 0.16);
}

.nav-brand__name {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav-brand__sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--paper);
  background: var(--indigo);
  padding: 3px 7px;
  border-radius: var(--r-pill);
  transition: opacity 0.24s var(--ease);
}

.site-header[data-scrolled="true"] .nav-brand__sub { opacity: 0; }

/* 导航链接 */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-link {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  color: rgba(16, 32, 26, 0.78);
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}

.nav-link:hover {
  background: rgba(217, 232, 222, 0.85);
  color: var(--ink);
}

.nav-link[aria-current="page"] {
  background: var(--pitch);
  color: #fff;
  box-shadow: 0 8px 16px -12px rgba(31, 122, 77, 0.9);
}

/* 操作区 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* 移动开关 */
.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border-radius: 14px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 253, 246, 0.9);
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.site-header[data-open="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 8vw, 96px);
  color: var(--paper);
  border-top: 1px solid rgba(183, 255, 106, 0.2);
  background:
    radial-gradient(760px 340px at 10% 0%, rgba(29, 111, 140, 0.4), transparent 70%),
    radial-gradient(560px 300px at 92% 8%, rgba(244, 197, 66, 0.14), transparent 66%),
    linear-gradient(180deg, #0B2F26 0%, #0A2A22 56%, #06201A 100%);
}

.footer-glow {
  position: absolute;
  top: -240px;
  right: -180px;
  width: 540px;
  height: 540px;
  border-radius: 46% 54% 60% 40% / 50% 42% 58% 50%;
  background: radial-gradient(circle at 40% 40%, rgba(183, 255, 106, 0.2), transparent 64%);
  pointer-events: none;
}

.footer-wrap {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.5fr);
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(32px, 4vw, 52px);
}

.footer-brand { display: flex; flex-direction: column; gap: 14px; }

.footer-brand__line {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--paper);
  max-width: 18ch;
}

.footer-brand__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(244, 241, 231, 0.62);
}

.footer-brand__cta { align-self: flex-start; margin-top: 4px; }

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

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-col__title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--neon);
}

.footer-col__index {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(244, 241, 231, 0.42);
}

.footer-list { display: flex; flex-direction: column; gap: 2px; }

.footer-link {
  display: inline-block;
  padding: 5px 0;
  font-size: 15px;
  color: rgba(244, 241, 231, 0.82);
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.footer-link:hover {
  color: var(--neon);
  border-bottom-color: var(--neon);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 28px;
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px dashed rgba(244, 241, 231, 0.22);
}

.footer-contact__item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 14.5px;
  line-height: 1.6;
}

.footer-contact__item--wide { grid-column: span 3; }

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(183, 255, 106, 0.72);
}

.footer-contact__value { color: rgba(244, 241, 231, 0.88); }

.footer-contact__note {
  grid-column: span 3;
  margin-top: 6px;
  max-width: 86ch;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(244, 241, 231, 0.56);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: clamp(28px, 3.4vw, 44px);
  padding: 18px 0 26px;
  border-top: 1px solid rgba(244, 241, 231, 0.14);
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(244, 241, 231, 0.56);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1180px) {
  .nav-link { font-size: 13px; padding: 8px 9px; }
  .nav-island { gap: 10px; }
  .nav-brand__sub { display: none; }
  .nav-actions .btn--line { display: none; }
  .btn { padding: 11px 16px; font-size: 13.5px; }
}

@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact__item--wide,
  .footer-contact__note { grid-column: span 2; }
}

@media (max-width: 900px) {
  :root { --rail-w: 0px; }

  body {
    padding-left: 0;
    font-size: 16px;
  }

  .brand-rail { display: none; }

  .skip-link { left: 12px; }

  .nav-shell {
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .nav-island {
    border-radius: 22px;
    padding: 10px 12px;
    gap: 10px;
    background: rgba(244, 241, 231, 0.97);
  }

  .site-header[data-scrolled="true"] .nav-island {
    padding: 10px 12px;
    border-radius: 22px;
  }

  .nav-brand { margin-right: auto; }
  .nav-brand__name { font-size: 15px; }
  .nav-brand__sub { display: none; }

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

  .nav-actions .btn--line { display: none; }
  .nav-actions .btn--fill { padding: 11px 14px; font-size: 13px; }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 10px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    padding: 10px;
    max-height: min(58vh, 420px);
    overflow-y: auto;
    border-radius: 22px;
    border: 1px solid rgba(11, 47, 38, 0.16);
    background: rgba(244, 241, 231, 0.98);
    box-shadow: 0 24px 48px -28px rgba(11, 47, 38, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease),
      visibility 0.18s var(--ease);
  }

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

  .nav-link {
    padding: 13px 14px;
    border-radius: 14px;
    font-size: 15px;
  }

  .nav-link[aria-current="page"] { color: #fff; }

  .page-shell { padding-bottom: 120px; }

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

  .site-footer { padding-bottom: 108px; }
}

@media (max-width: 560px) {
  .footer-contact { grid-template-columns: 1fr; }
  .footer-contact__item--wide,
  .footer-contact__note { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .nav-actions .btn--fill { padding: 10px 12px; }
}

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

  .has-reveal [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .card:hover,
  .btn:hover { transform: none; }
}
