/* ============================================================
   幻影体育站 · /assets/site.css
   共享外壳：reset / tokens / 排版 / 头部 / 页脚 / 基础组件
   ============================================================ */

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

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

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

ul, ol { list-style: none; }

img, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 2. TOKENS ---------- */
:root {
  --space-black: #0A0A12;
  --panel: #14141F;
  --purple: #6C3BFF;
  --cyan: #00E5FF;
  --orange: #FF5C1A;
  --white: #F5F7FF;
  --steel: #9AA3B8;
  --cream: #F2E8D5;
  --ink: #221708;
  --green: #38F2A0;

  --line: rgba(245, 247, 255, 0.14);
  --line-strong: rgba(245, 247, 255, 0.28);

  --rail-w: 84px;
  --shadow-hard: 6px 6px 0 rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 18px 42px rgba(0, 0, 0, 0.45);
  --cut: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  --ease: 180ms cubic-bezier(0.2, 0.7, 0.3, 1);

  --font-display: "Barlow Condensed", "Oswald", "HarmonyOS Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", SFMono-Regular, Consolas, "Courier New", monospace;
  --font-body: "HarmonyOS Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;

  color-scheme: dark;
}

/* ---------- 3. BASE / 中文排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--space-black);
  background-image:
    repeating-linear-gradient(90deg, rgba(0, 229, 255, 0.05) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(108, 59, 255, 0.07) 0 1px, transparent 1px 72px),
    radial-gradient(900px 620px at 88% -8%, rgba(108, 59, 255, 0.34), transparent 62%),
    radial-gradient(760px 520px at 4% 104%, rgba(0, 229, 255, 0.13), transparent 66%);
  background-attachment: fixed;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: 0.06em;
}

h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
h4 { font-size: 18px; letter-spacing: 0.08em; }

p { max-width: 74ch; }

strong { font-weight: 600; color: var(--white); }

::selection { background: var(--purple); color: var(--white); }

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

/* ---------- 4. 跳至正文 ---------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: 12px;
  z-index: 200;
  display: inline-block;
  padding: 10px 20px;
  background: var(--cyan);
  color: #04121A;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  border: 2px solid #04121A;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
  transition: top var(--ease);
}

.skip-link:focus { top: 12px; }

/* ---------- 5. 通用工具与组件 ---------- */
.content-wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(18px, 3vw, 32px);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cyan);
  max-width: none;
}

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

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.09);
  border: 1px solid rgba(0, 229, 255, 0.5);
  clip-path: var(--cut);
}

.panel {
  position: relative;
  padding: clamp(18px, 2.6vw, 28px);
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-hard);
}

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

.slat-line {
  height: 8px;
  margin: 32px 0;
  background: repeating-linear-gradient(-45deg, rgba(0, 229, 255, 0.45) 0 6px, transparent 6px 16px);
  opacity: 0.55;
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
  align-items: start;
}

.grid--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--8-4 { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  background: transparent;
  color: var(--white);
  border: 2px solid var(--line-strong);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
  transition: transform var(--ease), box-shadow var(--ease), background-color var(--ease), border-color var(--ease), color var(--ease);
}

.btn:hover {
  transform: translate(-1px, -2px);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.55);
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.btn-primary {
  background: var(--purple);
  border-color: var(--cyan);
  color: var(--white);
  box-shadow: 4px 4px 0 rgba(0, 229, 255, 0.35);
}

.btn-primary:hover { box-shadow: 7px 7px 0 rgba(0, 229, 255, 0.45); }

.btn-ghost { border-color: var(--line-strong); color: var(--white); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* 面包屑 */
.breadcrumbs { padding: 18px 0 0; }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--steel);
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: rgba(154, 163, 184, 0.5);
}

.breadcrumb-link {
  color: var(--steel);
  border-bottom: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}

.breadcrumb-link:hover { color: var(--cyan); border-bottom-color: var(--cyan); }

.breadcrumb-item [aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--purple);
}

/* 图片容器（页面阶段放图占位） */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(140deg, #16162A, #0C0C16 70%);
  border: 2px solid var(--line-strong);
  box-shadow: var(--shadow-hard);
}

.media-frame--cinema { aspect-ratio: 21 / 9; }
.media-frame--portrait { aspect-ratio: 3 / 4; }

.media-frame > img,
.media-frame > .media-slot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-slot {
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background-image:
    repeating-linear-gradient(-45deg, rgba(108, 59, 255, 0.18) 0 12px, transparent 12px 24px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(245, 247, 255, 0.55);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(108, 59, 255, 0.34), transparent 52%, rgba(0, 229, 255, 0.26));
  mix-blend-mode: screen;
  pointer-events: none;
}

.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel);
}

/* 显现动画（需配合 data-reveal） */
.reveal { opacity: 1; transform: none; }

html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 320ms ease, transform 320ms ease;
}

html.js-reveal .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 6. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(10, 10, 18, 0.98), rgba(12, 12, 22, 0.94));
  border-bottom: 2px solid rgba(108, 59, 255, 0.55);
  transition: box-shadow var(--ease), background-color var(--ease);
}

.site-header[data-condensed] {
  background: rgba(10, 10, 18, 0.99);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
}

/* 左侧品牌脊柱 */
.header-rail { display: none; }

/* 刊头 */
.header-main {
  max-width: 1240px;
  margin-inline: auto;
  padding: 14px clamp(16px, 3vw, 32px) 0;
  transition: padding var(--ease);
}

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-bottom: 12px;
  transition: padding var(--ease);
}

.masthead-issue {
  max-width: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--steel);
  text-transform: uppercase;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  justify-self: center;
  text-align: center;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(24px, 3.2vw, 40px);
  letter-spacing: 0.18em;
  color: var(--white);
  line-height: 1.05;
  transition: color var(--ease), text-shadow var(--ease), font-size var(--ease);
}

.brand-latin {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.42em;
  color: var(--cyan);
  text-transform: uppercase;
  transition: opacity var(--ease);
}

.brand:hover .brand-name {
  color: #EDE7FF;
  text-shadow: 0 0 22px rgba(108, 59, 255, 0.85);
}

.masthead-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  justify-self: end;
}

.header-cta {
  padding: 9px 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* 移动端闸门 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(20, 20, 31, 0.9);
  border: 2px solid var(--line-strong);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: border-color var(--ease), transform var(--ease);
}

.nav-toggle:hover { border-color: var(--cyan); }
.nav-toggle:active { transform: translate(1px, 1px); }

.nav-toggle-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--white);
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 12px;
}

.nav-toggle-bars i {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cyan);
  transition: transform var(--ease), opacity var(--ease);
}

.site-header[data-open] .nav-toggle { border-color: var(--orange); }

.site-header[data-open] .nav-toggle-bars i:first-child {
  transform: translateY(5px) rotate(45deg);
  background: var(--orange);
}

.site-header[data-open] .nav-toggle-bars i:last-child {
  transform: translateY(-5px) rotate(-45deg);
  background: var(--orange);
}

/* 主导航 */
.primary-nav {
  max-width: 1240px;
  margin-inline: auto;
  padding: 0 clamp(16px, 3vw, 32px);
  position: relative;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 8px 0 10px;
}

.nav-link {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--steel);
  background: transparent;
  clip-path: var(--cut);
  transition: color var(--ease), background-color var(--ease), box-shadow var(--ease);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(108, 59, 255, 0.22);
}

.nav-link[aria-current="page"] {
  color: var(--white);
  background: var(--purple);
  box-shadow: inset 0 -3px 0 var(--cyan);
}

/* 即时条 */
.score-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  padding: 7px clamp(16px, 3vw, 32px) 9px;
  border-top: 1px solid rgba(245, 247, 255, 0.08);
  background: linear-gradient(90deg, rgba(108, 59, 255, 0.20), rgba(0, 229, 255, 0.10) 55%, rgba(255, 92, 26, 0.14));
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.score-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 12px;
  color: var(--white);
  background: rgba(108, 59, 255, 0.14);
  border: 1px solid rgba(108, 59, 255, 0.55);
  clip-path: var(--cut);
}

.score-pill--cyan {
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.10);
  border-color: rgba(0, 229, 255, 0.5);
}

.score-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 92, 26, 0.75);
  animation: statusPulse 2.4s ease-out infinite;
}

.score-strip-label {
  color: var(--steel);
}

/* 进度尺 */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: rgba(245, 247, 255, 0.07);
  overflow: hidden;
}

.scroll-meter-fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--purple), var(--cyan) 58%, var(--orange));
}

@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 92, 26, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(255, 92, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 92, 26, 0); }
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.site-header[data-condensed] .header-main { padding-top: 6px; }
.site-header[data-condensed] .masthead { padding-bottom: 6px; }
.site-header[data-condensed] .brand-name { font-size: clamp(20px, 2.4vw, 28px); }
.site-header[data-condensed] .brand-latin { opacity: 0; }

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  background: linear-gradient(180deg, #0A0A12, #07070E 55%, #0A0A12);
  border-top: 2px solid rgba(108, 59, 255, 0.5);
  overflow: hidden;
}

.footer-band {
  position: absolute;
  top: -70px;
  right: -140px;
  width: 62%;
  height: 240px;
  background: linear-gradient(118deg, rgba(108, 59, 255, 0.38), rgba(0, 229, 255, 0.10) 58%, transparent);
  transform: rotate(-6deg);
  filter: blur(2px);
  pointer-events: none;
}

.footer-top {
  position: relative;
  max-width: 1240px;
  margin-inline: auto;
  padding: clamp(36px, 6vw, 64px) clamp(18px, 3vw, 32px) 34px;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(0, 1.55fr);
  gap: clamp(26px, 4vw, 56px);
}

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

.footer-lockup {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: 0.14em;
  line-height: 1.1;
  color: var(--white);
}

.footer-tagline {
  max-width: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--cyan);
  text-transform: uppercase;
}

.footer-desc {
  max-width: 34ch;
  font-size: 15px;
  color: var(--steel);
  line-height: 1.8;
}

.footer-facts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(154, 163, 184, 0.9);
}

.footer-facts li { display: flex; align-items: center; gap: 8px; }

.footer-facts li::before {
  content: "";
  width: 10px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--orange);
}

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

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

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: var(--steel);
  text-transform: uppercase;
}

.footer-col-title::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--purple);
}

.footer-links { display: flex; flex-direction: column; gap: 6px; }

.footer-link {
  display: inline-block;
  font-size: 15px;
  color: rgba(245, 247, 255, 0.78);
  border-bottom: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease), transform var(--ease);
}

.footer-link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
  transform: translateX(3px);
}

.footer-contact {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.contact-row { display: flex; flex-direction: column; gap: 4px; }

.contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: rgba(154, 163, 184, 0.85);
  text-transform: uppercase;
}

.contact-value {
  font-size: 14px;
  line-height: 1.6;
  color: var(--white);
  overflow-wrap: anywhere;
}

.contact-note {
  grid-column: 1 / -1;
  max-width: 70ch;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(154, 163, 184, 0.85);
}

/* 档案奶油法务条 */
.footer-legal {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  border-top: 3px solid var(--ink);
  box-shadow: inset 0 4px 0 rgba(255, 92, 26, 0.9);
}

.legal-inner {
  max-width: 1240px;
  margin-inline: auto;
  padding: 18px clamp(18px, 3vw, 32px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
}

.legal-text {
  max-width: none;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.legal-text [data-year] { font-variant-numeric: tabular-nums; }

.legal-icp {
  max-width: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.legal-icp::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--orange);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.legal-note {
  max-width: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #5C4A31;
}

.to-top {
  padding: 7px 16px;
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform var(--ease), box-shadow var(--ease), background-color var(--ease), color var(--ease);
}

.to-top:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translate(-1px, -2px);
  box-shadow: 5px 5px 0 rgba(34, 23, 8, 0.55);
}

.to-top:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}

/* ---------- 8. 响应式 ---------- */
@media (min-width: 1080px) {
  body { padding-left: var(--rail-w); }

  .skip-link { left: calc(var(--rail-w) + 12px); }

  .header-rail {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 70;
    width: var(--rail-w);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0 22px;
    background: var(--panel);
    border-right: 2px solid var(--line);
  }

  .rail-meta,
  .rail-version {
    writing-mode: vertical-rl;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.32em;
    color: var(--steel);
    text-transform: uppercase;
  }

  .rail-version { color: var(--cyan); }

  .rail-mark {
    writing-mode: vertical-rl;
    font-family: var(--font-display);
    font-weight: 200;
    font-size: 15px;
    letter-spacing: 0.5em;
    color: var(--white);
  }

  .rail-ticks {
    width: 2px;
    height: 96px;
    background: repeating-linear-gradient(180deg, var(--cyan) 0 2px, transparent 2px 11px);
    opacity: 0.85;
  }
}

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

  .primary-nav {
    display: none;
    padding: 10px clamp(14px, 4vw, 26px) 18px;
    border-top: 1px solid var(--line);
  }

  .site-header[data-open] .primary-nav {
    display: block;
    animation: navDrop 180ms ease-out both;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 0;
  }

  .nav-link {
    clip-path: none;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-left: 3px solid rgba(245, 247, 255, 0.14);
    font-size: 15px;
    letter-spacing: 0.06em;
  }

  .nav-link:hover { border-left-color: var(--purple); }

  .nav-link[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--cyan);
    border-left-color: var(--cyan);
  }

  .score-strip { justify-content: flex-start; }

  .masthead { grid-template-columns: 1fr auto; gap: 12px; }
  .masthead-issue { display: none; }
  .brand { align-items: flex-start; justify-self: start; text-align: left; }

  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}

@media (max-width: 900px) {
  .grid--7-5,
  .grid--8-4 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.7; }

  .site-header { border-bottom-width: 2px; }

  .score-strip { gap: 8px; font-size: 10px; padding-inline: 14px; }
  .score-strip-label { display: none; }
  .score-pill { padding: 3px 10px; }

  .footer-top { padding-top: 32px; padding-bottom: 26px; }

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

  .legal-inner { justify-content: flex-start; }
}

@media (max-width: 479px) {
  .header-cta { display: none; }
  .brand-latin { letter-spacing: 0.3em; }
  .nav-toggle { padding: 7px 10px; }
}

/* ---------- 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;
  }

  html.js-reveal .reveal,
  html.js-reveal .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  .score-dot { animation: none; }
}
