/* ==========================================================================
   壹号娱乐会馆 · Site Kit
   夜宴剧场 × 数字会馆 / 展册索引式共享外壳
   文件路径：/assets/site.css
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 色彩 */
  --ink: #060916;
  --indigo: #0B1230;
  --indigo-2: #111B44;
  --paper: #F4F0E6;
  --paper-dim: rgba(244, 240, 230, 0.74);
  --cyan: #38F2D6;
  --azure: #19C8FF;
  --coral: #FF6B4A;
  --gold: #D8B56A;
  --mist: #8C93A8;
  --violet: #7A5CFF;

  /* 线条与面 */
  --line: rgba(216, 181, 106, 0.22);
  --line-soft: rgba(244, 240, 230, 0.10);
  --line-cyan: rgba(56, 242, 214, 0.38);
  --surface: rgba(17, 27, 68, 0.72);
  --shadow-1: 0 1px 0 rgba(216, 181, 106, 0.16), 0 18px 40px -30px rgba(0, 0, 0, 0.9);
  --shadow-2: 0 26px 60px -32px rgba(0, 0, 0, 0.95);

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

  /* 尺度与动效 */
  --shell: 1240px;
  --gutter: 24px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--paper);
  background-color: var(--indigo);
  background-image:
    radial-gradient(1200px 680px at 82% -10%, rgba(122, 92, 255, 0.18), transparent 60%),
    radial-gradient(860px 520px at 4% 0%, rgba(56, 242, 214, 0.08), transparent 58%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

a { color: var(--azure); text-decoration: none; }
a:hover { text-decoration: underline; }

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

::selection { background: var(--cyan); color: var(--ink); }

#main-content { scroll-margin-top: 128px; }

/* ---------- 3. 布局容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(40px, 6vw, 88px); }
.section--tight { padding-block: clamp(24px, 3vw, 44px); }

.page-body {
  padding-block: clamp(28px, 4vw, 56px) clamp(56px, 8vw, 110px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 32px;
  margin-bottom: clamp(22px, 3vw, 40px);
}
.section-head__title {
  font-size: clamp(1.625rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.section-head__note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.prose {
  max-width: 68ch;
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--paper-dim);
}
.prose p + p { margin-top: 1em; }
.prose h2, .prose h3 { color: var(--paper); line-height: 1.3; }
.prose a { color: var(--azure); text-decoration: underline; text-underline-offset: 3px; }

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

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 999;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--cyan);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px -14px rgba(56, 242, 214, 0.9);
  transition: top 0.22s var(--ease);
}
.skip-link:focus { top: 8px; text-decoration: none; }

/* ---------- 5. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 9, 22, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

/* 5.1 展签条 */
.header-strip {
  background:
    linear-gradient(90deg, rgba(122, 92, 255, 0.22) 0%, rgba(56, 242, 214, 0.10) 52%, transparent 88%);
  border-bottom: 1px solid var(--line-soft);
}
.header-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 30px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--mist);
}
.strip-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
}
.strip-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 242, 214, 0.16), 0 0 12px rgba(56, 242, 214, 0.7);
  animation: breathe 9s var(--ease) infinite;
}
.strip-meta { white-space: nowrap; }
.strip-meta [data-year] { color: var(--paper-dim); }

@keyframes breathe {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.28); }
}

/* 5.2 主命令栏 */
.header-main__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
  padding-block: 10px;
}

/* 5.3 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--paper);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand__mark {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 1px;
  background:
    linear-gradient(135deg, rgba(56, 242, 214, 0.95) 0%, rgba(25, 200, 255, 0.34) 44%, rgba(122, 92, 255, 0.78) 100%),
    var(--ink);
  box-shadow:
    inset 0 0 0 1px rgba(216, 181, 106, 0.55),
    0 0 22px -6px rgba(56, 242, 214, 0.55);
  transition: box-shadow 0.28s var(--ease);
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(6, 9, 22, 0.55);
}
.brand:hover .brand__mark {
  box-shadow:
    inset 0 0 0 1px rgba(216, 181, 106, 0.85),
    0 0 30px -4px rgba(56, 242, 214, 0.85);
}
.brand__text { display: block; min-width: 0; }
.brand__name {
  display: block;
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: var(--paper);
}
.brand__descriptor {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  line-height: 1.4;
  color: var(--mist);
}

/* 5.4 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  min-width: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-item { display: flex; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 11px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--paper-dim);
  text-decoration: none;
  transition: color 0.22s var(--ease), background-color 0.22s var(--ease);
}
.nav-link:hover {
  color: var(--paper);
  background: rgba(25, 200, 255, 0.10);
  text-decoration: none;
}
.nav-link__num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.04em;
  color: var(--mist);
  transition: color 0.22s var(--ease);
}
.nav-link__label { font-weight: 500; }
.nav-link[aria-current="page"] {
  background: var(--cyan);
  color: var(--ink);
  box-shadow: 0 10px 24px -18px rgba(56, 242, 214, 1);
}
.nav-link[aria-current="page"] .nav-link__num { color: rgba(6, 9, 22, 0.62); }
.nav-link[aria-current="page"] .nav-link__label { font-weight: 700; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 9px 16px;
  border: 1px solid rgba(255, 107, 74, 0.62);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--coral);
  text-decoration: none;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.nav-cta::after { content: "→"; font-size: 0.9em; line-height: 1; }
.nav-cta:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #1A0703;
  text-decoration: none;
}

/* 5.5 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 9px 13px;
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  background: rgba(56, 242, 214, 0.05);
  transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.nav-toggle:hover { background: rgba(56, 242, 214, 0.12); }
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.24s var(--ease), opacity 0.24s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle__text { line-height: 1; }

/* 5.6 滚动进度光带 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}
.scroll-progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--azure) 46%, var(--violet) 100%);
  box-shadow: 0 0 12px rgba(56, 242, 214, 0.6);
  transition: width 0.1s linear;
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(64px, 9vw, 120px);
  color: var(--paper-dim);
  background: linear-gradient(180deg, var(--indigo) 0%, #080D22 46%, var(--ink) 100%);
  border-top: 1px solid var(--line);
}
.footer-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 92, 255, 0.24) 0%, transparent 68%);
  filter: blur(18px);
  pointer-events: none;
  animation: breathe 11s var(--ease) infinite;
}

.footer-top {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(44px, 6vw, 76px) clamp(32px, 4vw, 52px);
}

.footer-brand { min-width: 0; }
.footer-brand__line {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.25;
  color: var(--paper);
}
.footer-brand__sub {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.footer-brand__note {
  margin-top: 18px;
  max-width: 32ch;
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--mist);
}

.footer-nav,
.footer-contact { min-width: 0; }

.footer-title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.footer-list { display: grid; gap: 10px; }
.footer-list--contact { gap: 12px; }

.footer-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: var(--paper-dim);
  text-decoration: none;
  transition: color 0.22s var(--ease);
}
.footer-link::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 0.24s var(--ease);
}
.footer-link:hover { color: var(--cyan); text-decoration: none; }
.footer-link:hover::before { width: 14px; }

.copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 6px 10px;
  text-align: left;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--paper);
  background: rgba(17, 27, 68, 0.6);
  transition: border-color 0.22s var(--ease), color 0.22s var(--ease), background-color 0.22s var(--ease);
}
.copy-chip:hover {
  border-color: var(--line-cyan);
  color: var(--cyan);
  background: rgba(56, 242, 214, 0.07);
}
.copy-chip__text { overflow-wrap: anywhere; }
.copy-chip__hint {
  flex: 0 0 auto;
  padding-left: 8px;
  border-left: 1px solid var(--line-soft);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--mist);
}
.copy-chip.is-copied {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(56, 242, 214, 0.1);
}
.copy-chip.is-copied .copy-chip__hint { color: var(--cyan); }

.footer-address {
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--mist);
}
.footer-contact__note {
  margin-top: 16px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  max-width: 30ch;
  font-size: 0.75rem;
  line-height: 1.85;
  color: var(--mist);
}

.footer-base {
  position: relative;
  background: rgba(6, 9, 22, 0.62);
  border-top: 1px solid var(--line-soft);
}
.footer-base__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--mist);
}
.footer-copy { white-space: nowrap; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-legal a {
  color: var(--mist);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer-legal a:hover { color: var(--cyan); text-decoration: none; }
.footer-icp { color: var(--gold); white-space: nowrap; }

/* ---------- 7. 通用组件 ---------- */
/* 7.1 面包屑 */
.breadcrumb { padding-block: 18px 0; }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--mist);
}
.breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: rgba(216, 181, 106, 0.6);
}
.breadcrumb__item a { color: var(--mist); text-decoration: none; }
.breadcrumb__item a:hover { color: var(--cyan); text-decoration: none; }
.breadcrumb__item[aria-current="page"] { color: var(--paper); }

/* 7.2 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
              color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--coral);
  color: #1A0703;
  box-shadow: 0 14px 28px -18px rgba(255, 107, 74, 0.95);
}
.btn--primary:hover { background: #FF8163; }
.btn--ghost {
  border-color: var(--line-cyan);
  color: var(--cyan);
}
.btn--ghost:hover { background: rgba(56, 242, 214, 0.1); }
.btn--paper {
  background: var(--paper);
  color: var(--ink);
}
.btn--paper:hover { background: #FFFFFF; }

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

/* 7.4 卡片 */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), background-color 0.28s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-cyan);
}
.card--paper {
  background: var(--paper);
  color: var(--ink);
  border-color: rgba(6, 9, 22, 0.14);
}
.card--paper h2,
.card--paper h3 { color: var(--ink); }
.card--paper p { color: rgba(6, 9, 22, 0.78); }

/* 7.5 展签标签 */
.plate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  background: rgba(216, 181, 106, 0.07);
  white-space: nowrap;
}
.plate--cyan {
  border-color: var(--line-cyan);
  color: var(--cyan);
  background: rgba(56, 242, 214, 0.08);
}
.plate--coral {
  border-color: rgba(255, 107, 74, 0.5);
  color: var(--coral);
  background: rgba(255, 107, 74, 0.08);
}
.plate--violet {
  border-color: rgba(122, 92, 255, 0.5);
  color: #B6A5FF;
  background: rgba(122, 92, 255, 0.12);
}

/* 7.6 图片容器 */
.frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--indigo-2) 0%, var(--ink) 100%);
}
.frame > img,
.frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.frame:hover > img,
.frame:hover > picture > img { transform: scale(1.03); }
.frame[data-ratio="16x9"] { aspect-ratio: 16 / 9; }
.frame[data-ratio="4x3"]  { aspect-ratio: 4 / 3; }
.frame[data-ratio="1x1"]  { aspect-ratio: 1 / 1; }
.frame[data-ratio="3x4"]  { aspect-ratio: 3 / 4; }
.frame[data-ratio="21x9"] { aspect-ratio: 21 / 9; }
.frame::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 22px;
  height: 22px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  opacity: 0.85;
  pointer-events: none;
}
.frame__caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--paper);
  background: rgba(6, 9, 22, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

/* 7.7 主题筛选 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-btn {
  padding: 8px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 100px;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  background: rgba(17, 27, 68, 0.5);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
              background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.filter-btn:hover {
  color: var(--cyan);
  border-color: var(--line-cyan);
}
.filter-btn[aria-pressed="true"] {
  background: var(--violet);
  border-color: var(--violet);
  color: #FFFFFF;
  box-shadow: 0 12px 26px -18px var(--violet);
}
[data-filter-item][hidden] { display: none !important; }

/* 7.8 章节前缀小注 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

/* ---------- 8. 滚动显现 ---------- */
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
[data-reveal] { opacity: 1; }
[data-reveal].is-entering { animation: reveal-in 0.5s var(--ease) both; }

/* ---------- 9. 响应式 ---------- */
@media (max-width: 1060px) {
  .nav-link { padding: 9px 8px; font-size: 0.8438rem; }
  .nav-link__num { font-size: 0.5938rem; }
  .nav-cta { padding: 9px 12px; font-size: 0.7813rem; }
}

@media (max-width: 960px) {
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 18px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
  }
  .site-nav[data-open="true"] { display: flex; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-inline: 12px;
  }
  .nav-link {
    width: 100%;
    padding: 14px 12px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
  }
  .nav-link:hover { background: rgba(56, 242, 214, 0.08); }
  .nav-link[aria-current="page"] {
    background: transparent;
    color: var(--cyan);
    box-shadow: inset 3px 0 0 var(--cyan);
  }
  .nav-link[aria-current="page"] .nav-link__num { color: var(--cyan); }
  .nav-cta {
    margin: 16px 24px 0;
    justify-content: center;
    padding: 13px 16px;
  }
  .nav-toggle { display: inline-flex; }
  body.nav-open { overflow: hidden; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .header-strip__inner { font-size: 0.625rem; letter-spacing: 0.1em; min-height: 26px; }
  .header-main__inner { min-height: 62px; gap: 12px; }
  .brand__name { font-size: 1.0625rem; }
  .brand__descriptor { font-size: 0.625rem; letter-spacing: 0.14em; }
  .brand__mark { width: 32px; height: 32px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-base__inner { justify-content: flex-start; }
  .footer-glow { width: 300px; height: 300px; }
}

/* ---------- 10. 动效降级 ---------- */
@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;
  }
  [data-reveal].is-entering { animation: none; }
  .scroll-progress > span { transition: none; }
}
