/* ============================================================
   银河总站 / site.css — reset、变量、外壳、通用组件
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

html.nav-open,
html.nav-open body { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--star);
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 620px at 82% -12%, rgba(124, 92, 255, 0.20), transparent 68%),
    radial-gradient(820px 520px at 4% 6%, rgba(63, 224, 208, 0.10), transparent 70%),
    linear-gradient(rgba(36, 49, 79, 0.30) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 49, 79, 0.30) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 72px 72px, 72px 72px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; }
button { font: inherit; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: rgba(124, 92, 255, 0.45); color: #ffffff; }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

#main-content:focus { outline: none; }

/* ── tokens ───────────────────────────────────────────────── */
:root {
  --ink: #05070F;
  --night: #0B1224;
  --glass: #121C33;
  --violet: #7C5CFF;
  --violet-soft: #A896FF;
  --cyan: #3FE0D0;
  --amber: #FFB454;
  --coral: #FF6B6B;
  --star: #E9EEF9;
  --muted: #93A0B8;
  --line: #24314F;

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

  --shell-max: 1320px;
  --gutter: clamp(18px, 4vw, 56px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.38s;
}

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

.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ============================================================
   HEADER
   ============================================================ */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 8px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--violet);
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--radius);
  transform: translateY(-180%);
  transition: transform 0.22s var(--ease);
}
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  color: var(--star);
  background: linear-gradient(180deg, rgba(5, 7, 15, 0.82) 0%, rgba(5, 7, 15, 0.18) 70%, rgba(5, 7, 15, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.site-header[data-scrolled] {
  background: linear-gradient(180deg, rgba(11, 18, 36, 0.98) 0%, rgba(11, 18, 36, 0.94) 100%);
  border-bottom-color: var(--line);
  box-shadow: 0 22px 44px -34px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

/* 坐标刻度轨 */
.header-rail {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 26px;
  max-height: 26px;
  padding-inline: var(--gutter);
  border-bottom: 1px solid rgba(36, 49, 79, 0.7);
  overflow: hidden;
  opacity: 1;
  transition: max-height 0.35s var(--ease), opacity 0.24s var(--ease),
    border-color 0.35s var(--ease);
}
.site-header[data-scrolled] .header-rail {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}
.rail-line {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(124, 92, 255, 0.75), rgba(36, 49, 79, 0.18));
}
.rail-tick {
  flex: 0 0 auto;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(147, 160, 184, 0.72);
  white-space: nowrap;
}
.rail-tick--right { color: rgba(168, 150, 255, 0.78); }

/* 主行 */
.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 28px);
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--star);
}
.brand-glyph {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(168, 150, 255, 0.85);
  border-radius: 50%;
  box-shadow: inset 0 0 14px rgba(124, 92, 255, 0.45);
}
.brand-glyph::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(63, 224, 208, 0.9);
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.06em;
}
.brand-latin {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(147, 160, 184, 0.85);
}
.brand-version {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--violet-soft);
  border: 1px solid rgba(124, 92, 255, 0.5);
  background: rgba(124, 92, 255, 0.12);
  padding: 2px 7px;
  border-radius: var(--radius);
}

/* 主导航 */
.primary-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}
.nav-item { position: relative; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 13px;
  font-size: 15px;
  color: rgba(233, 238, 249, 0.8);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color 0.24s var(--ease), background 0.24s var(--ease);
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--star);
  background: rgba(124, 92, 255, 0.12);
}
.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }

.nav-link[aria-current="page"] {
  color: var(--star);
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.24), rgba(124, 92, 255, 0.02));
}
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--violet-soft), rgba(63, 224, 208, 0.6));
}

.nav-item--anchor .nav-link { padding-left: 22px; }
.nav-item--anchor .nav-link::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.16);
}

/* 右侧工具区 */
.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid rgba(63, 224, 208, 0.3);
  background: rgba(63, 224, 208, 0.08);
  border-radius: var(--radius);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(233, 238, 249, 0.88);
  white-space: nowrap;
}
.status-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.status-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(63, 224, 208, 0.18);
  animation: status-breathe 3s ease-in-out infinite;
}
.status-dot--amber {
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 180, 84, 0.18);
}
.status-dot--coral {
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.18);
}
.status-dot--violet {
  background: var(--violet-soft);
  box-shadow: 0 0 0 3px rgba(168, 150, 255, 0.2);
}
@keyframes status-breathe {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(63, 224, 208, 0.18); }
  50% { opacity: 0.55; box-shadow: 0 0 0 6px rgba(63, 224, 208, 0.05); }
}

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--star);
  border: 1px solid rgba(124, 92, 255, 0.55);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.32), rgba(63, 224, 208, 0.12));
  border-radius: var(--radius);
  transition: border-color 0.24s var(--ease), background 0.24s var(--ease),
    transform 0.24s var(--ease);
}
.header-cta:hover,
.header-cta:focus-visible {
  border-color: var(--violet-soft);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.52), rgba(63, 224, 208, 0.2));
  transform: translateY(-1px);
}

.header-alert {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--amber);
  border: 1px solid rgba(255, 180, 84, 0.4);
  background: rgba(255, 180, 84, 0.08);
  border-radius: var(--radius);
  white-space: nowrap;
}
.header-alert::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 11px;
  background: rgba(18, 28, 51, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--star);
  cursor: pointer;
  transition: border-color 0.24s var(--ease), background 0.24s var(--ease);
}
.nav-toggle:hover { border-color: rgba(168, 150, 255, 0.7); }
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.nav-toggle__bars span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.site-header[data-open] .nav-toggle__bars span:first-child {
  transform: translateY(2.5px) rotate(45deg);
}
.site-header[data-open] .nav-toggle__bars span:last-child {
  transform: translateY(-2.5px) rotate(-45deg);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(36, 49, 79, 0.65);
  overflow: hidden;
}
.scroll-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transition: transform 0.12s linear;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(48px, 7vw, 88px);
  color: var(--star);
  background: linear-gradient(180deg, var(--night) 0%, #06090f 100%);
  border-top: 1px solid var(--line);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 92, 255, 0.85), rgba(63, 224, 208, 0.5), transparent);
}
.site-footer::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -34%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.22), transparent 65%);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  z-index: 1;
  padding-bottom: 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr 1.25fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(32px, 5vw, 56px);
}
.footer-col { min-width: 0; }

.footer-wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.footer-wordmark .brand-glyph { width: 26px; height: 26px; }
.footer-wordmark .brand-glyph::after { inset: 7px; }
.footer-version {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--violet-soft);
}
.footer-line {
  margin-top: 16px;
  max-width: 30ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(233, 238, 249, 0.55);
}
.footer-heading::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--violet);
}
.footer-list {
  display: grid;
  gap: 11px;
  font-size: 15px;
}
.footer-list a {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.24s var(--ease), padding-left 0.24s var(--ease);
}
.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--cyan);
  padding-left: 5px;
}

.footer-contact {
  display: grid;
  gap: 12px;
  font-style: normal;
  font-size: 15px;
}
.footer-contact__row {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 10px;
  align-items: baseline;
  overflow-wrap: anywhere;
}
.footer-key {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(147, 160, 184, 0.8);
}
.footer-note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(147, 160, 184, 0.85);
}

.footer-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(36, 49, 79, 0.9);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(147, 160, 184, 0.9);
}
.status-chip--footer {
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  background: rgba(63, 224, 208, 0.06);
  border-color: rgba(63, 224, 208, 0.22);
}
.footer-legal { margin: 0; }
.footer-copy { margin: 0 0 0 auto; }

/* ============================================================
   共享内容组件
   ============================================================ */
.section {
  position: relative;
  padding-block: clamp(56px, 8vw, 112px);
}
.section--alt {
  background: linear-gradient(180deg, rgba(11, 18, 36, 0.92), rgba(5, 7, 15, 0));
  border-top: 1px solid rgba(36, 49, 79, 0.6);
  border-bottom: 1px solid rgba(36, 49, 79, 0.6);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--violet-soft);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.annot {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(147, 160, 184, 0.75);
}

.coord {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(147, 160, 184, 0.8);
}

.lede {
  max-width: 38em;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.75;
  color: rgba(233, 238, 249, 0.86);
}

.prose {
  max-width: 38em;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(233, 238, 249, 0.9);
}
.prose p + p { margin-top: 1.1em; }
.prose h2 {
  margin: 1.7em 0 0.6em;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--star);
}
.prose h3 {
  margin: 1.5em 0 0.5em;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--star);
}
.prose a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(63, 224, 208, 0.35);
}
.prose a:hover { border-bottom-color: var(--cyan); }
.prose ul, .prose ol {
  margin-top: 0.9em;
  padding-left: 1.2em;
  list-style: disc;
}
.prose ol { list-style: decimal; }
.prose li { margin-top: 0.5em; }
.prose li::marker { color: rgba(124, 92, 255, 0.9); }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}
.rule--accent {
  background: linear-gradient(90deg, var(--violet), rgba(63, 224, 208, 0.45), transparent);
}

.panel {
  padding: clamp(20px, 3vw, 32px);
  background: var(--night);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.panel--glass {
  background: rgba(18, 28, 51, 0.62);
  border-color: rgba(124, 92, 255, 0.28);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--star);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease),
    background 0.24s var(--ease), box-shadow 0.24s var(--ease);
}
.btn:hover,
.btn:focus-visible { transform: translateY(-2px); border-color: rgba(168, 150, 255, 0.75); }
.btn--primary {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--violet), #5b3ee0);
  box-shadow: inset 0 0 0 1px rgba(168, 150, 255, 0.35), 0 18px 34px -26px rgba(124, 92, 255, 0.9);
}
.btn--primary:hover,
.btn--primary:focus-visible { border-color: transparent; background: linear-gradient(135deg, #8f74ff, #6b4af0); }
.btn--ghost {
  background: transparent;
  border-color: rgba(63, 224, 208, 0.45);
  color: var(--cyan);
}
.btn--ghost:hover,
.btn--ghost:focus-visible { background: rgba(63, 224, 208, 0.1); border-color: var(--cyan); }
.btn--quiet {
  padding-inline: 0;
  min-height: 0;
  background: transparent;
  border: 0;
  color: var(--cyan);
}
.btn--quiet:hover { transform: none; color: var(--violet-soft); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(18, 28, 51, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  white-space: nowrap;
}
.tag--violet { color: var(--violet-soft); border-color: rgba(124, 92, 255, 0.5); background: rgba(124, 92, 255, 0.1); }
.tag--cyan { color: var(--cyan); border-color: rgba(63, 224, 208, 0.45); background: rgba(63, 224, 208, 0.08); }
.tag--amber { color: var(--amber); border-color: rgba(255, 180, 84, 0.45); background: rgba(255, 180, 84, 0.08); }
.tag--coral { color: var(--coral); border-color: rgba(255, 107, 107, 0.45); background: rgba(255, 107, 107, 0.08); }

.breadcrumb { margin: 0; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--line);
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.breadcrumb a:hover,
.breadcrumb a:focus-visible { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--star); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.24s var(--ease), border-color 0.24s var(--ease);
}
.link-arrow::after {
  content: "→";
  transition: transform 0.24s var(--ease);
}
.link-arrow:hover,
.link-arrow:focus-visible { color: var(--violet-soft); border-bottom-color: rgba(168, 150, 255, 0.6); }
.link-arrow:hover::after { transform: translateX(4px); }

/* 图片容器基础规则：页面阶段放入 img / svg，共用响应式裁切 */
.media-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 18% 0%, rgba(124, 92, 255, 0.24), transparent 62%),
    radial-gradient(90% 90% at 92% 100%, rgba(63, 224, 208, 0.14), transparent 60%),
    linear-gradient(160deg, #101a30, #070b17);
}
.media-frame img,
.media-frame svg,
.media-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame__caption {
  position: absolute;
  left: 14px;
  bottom: 11px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(233, 238, 249, 0.75);
}

.split {
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.split--7-5 { grid-template-columns: 7fr 5fr; }
.split--8-4 { grid-template-columns: 8fr 4fr; }
.split--5-7 { grid-template-columns: 5fr 7fr; }

/* ── 滚动显现协议 ─────────────────────────────────────────── */
[data-reveal] {
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
}
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
}
.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1180px) {
  .header-cta { display: none; }
  .nav-link { padding-inline: 10px; font-size: 14.5px; }
  .nav-link::after { left: 10px; right: 10px; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-copy { margin-left: 0; }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 96px; }

  .header-rail { display: none; }
  .header-inner { min-height: 64px; gap: 10px; }
  .brand-latin { display: none; }
  .brand-name { font-size: 17px; }
  .header-cta,
  .status-chip { display: none; }
  .header-alert { display: inline-flex; }
  .nav-toggle { display: inline-flex; }
  .scroll-progress { height: 2px; }

  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: calc(84px + env(safe-area-inset-top)) var(--gutter) 48px;
    overflow-y: auto;
    background:
      radial-gradient(900px 520px at 82% 0%, rgba(124, 92, 255, 0.24), transparent 70%),
      rgba(5, 7, 15, 0.985);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .site-header[data-open] .primary-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }
  .nav-item { border-bottom: 1px solid rgba(36, 49, 79, 0.85); }
  .nav-link {
    width: 100%;
    min-height: 56px;
    padding: 16px 4px;
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 0.04em;
  }
  .nav-link::after { left: 4px; right: auto; width: 46px; bottom: 10px; }
  .nav-item--anchor .nav-link { padding-left: 24px; }
  .nav-item--anchor .nav-link::before { left: 4px; }

  .split--7-5,
  .split--8-4,
  .split--5-7 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-wordmark { font-size: 20px; }
  .footer-status { gap: 12px; font-size: 10.5px; letter-spacing: 0.14em; }
  .footer-contact__row { grid-template-columns: 44px 1fr; }
  .annot { writing-mode: horizontal-tb; letter-spacing: 0.24em; }
  .media-frame--wide { aspect-ratio: 16 / 9; }
}

/* ============================================================
   降低动效偏好
   ============================================================ */
@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;
  }
  .js [data-reveal],
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .scroll-progress > span { transition: none !important; }
  .btn:hover,
  .header-cta:hover,
  .nav-link:hover { transform: none; }
}
