/* ============================================================
   百老汇牛牛 · 共享外壳 /assets/site.css
   夜场剧院 × 电玩城 · 深紫红幕布 / 霓虹金 / 冷蓝 / 荧光绿
   ============================================================ */

/* ---------- 0. 设计令牌 ---------- */
:root {
  --curtain: #2A0A1F;
  --wine: #4A1030;
  --gold: #FFD166;
  --amber: #FF9F1C;
  --blue: #4CC9F0;
  --lime: #7CFF6B;
  --ivory: #FFF4E6;
  --mauve: #B9A7C4;
  --ink: #12060E;
  --pixel: #7B2D6B;

  --header-h: 72px;
  --rail-w: 58px;
  --bw: 3px;

  --font-display: "Archivo Black", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --shadow-hard: 6px 6px 0 rgba(18, 6, 14, 0.9);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--ink);
}

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

ul, ol { padding: 0; list-style: none; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- 2. 中文排版与页面底色 ---------- */
body {
  min-height: 100vh;
  padding-top: var(--header-h);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ivory);
  background-color: var(--curtain);
  background-image:
    radial-gradient(52vw 52vw at 84% -6%, rgba(123, 45, 107, 0.55), transparent 68%),
    radial-gradient(42vw 42vw at 2% 22%, rgba(76, 201, 240, 0.13), transparent 70%),
    radial-gradient(50vw 40vw at 52% 104%, rgba(255, 159, 28, 0.13), transparent 72%),
    repeating-linear-gradient(0deg, rgba(255, 244, 230, 0.028) 0 1px, transparent 1px 4px);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue);
  text-decoration: none;
  text-underline-offset: 4px;
}
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--ivory);
}

h1 { font-size: clamp(44px, 7vw, 88px); }
h2 { font-size: clamp(30px, 4.4vw, 56px); }
h3 { font-size: clamp(22px, 2.6vw, 32px); }
h4 { font-size: clamp(18px, 2vw, 24px); }

p { max-width: 68ch; }

strong { color: var(--gold); font-weight: 700; }

code, kbd, samp {
  font-family: var(--font-mono);
  font-size: 0.92em;
  color: var(--lime);
}

/* ---------- 3. 通用工具类 ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 44px);
}
.container--narrow { max-width: 780px; }
.container--wide { max-width: 1480px; }

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

.muted { color: var(--mauve); }

.rule {
  height: var(--bw);
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, var(--gold), var(--amber) 42%, transparent 100%);
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 400;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: var(--gold);
  border: var(--bw) solid var(--ink);
  box-shadow: 4px 4px 0 var(--blue);
  transform: translateY(-220%);
  transition: transform 0.18s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  color: var(--ink);
}

/* ---------- 5. 顶部框架头部 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: stretch;
  background: linear-gradient(180deg, #16081A 0%, #12060E 100%);
  border-bottom: var(--bw) solid var(--gold);
  box-shadow: 0 1px 0 rgba(255, 209, 102, 0.45), 0 12px 32px rgba(0, 0, 0, 0.55);
}

.header-frame {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 28px);
  padding-inline: clamp(14px, 3vw, 34px);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding-block: 6px;
  color: var(--ivory);
  text-decoration: none;
}
.brand:hover { color: var(--ivory); }

.brand__mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1;
  color: var(--ink);
  background: linear-gradient(150deg, var(--gold), var(--amber));
  border: var(--bw) solid var(--ink);
  box-shadow: 3px 3px 0 var(--blue);
  transform: rotate(-4deg);
  transition: transform 0.2s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(2deg) translateY(-1px); }

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.16;
}

.brand__name {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 900;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: var(--ivory);
}

.brand__tag {
  display: none;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mauve);
  white-space: nowrap;
}

/* 移动端开关 */
.nav-toggle {
  position: relative;
  z-index: 220;
  display: none;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 8px 13px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  background: rgba(255, 209, 102, 0.08);
  border: 2px solid var(--gold);
  box-shadow: 3px 3px 0 var(--ink);
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.nav-toggle:hover { background: rgba(255, 209, 102, 0.18); }

.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 18px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--ink);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5px) 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(-5px) rotate(-45deg);
}

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

/* 桌面导航 */
.site-nav {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.site-nav__item { flex: 0 0 auto; }

.site-nav__link {
  position: relative;
  display: block;
  padding: 7px 11px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: var(--mauve);
  text-decoration: none;
  border: 2px solid transparent;
  transition: color 0.16s, border-color 0.16s, background-color 0.16s;
}
.site-nav__link:hover {
  color: var(--ivory);
  border-color: var(--blue);
  background: rgba(76, 201, 240, 0.1);
}
.site-nav__link[aria-current="page"] {
  color: var(--gold);
  border-color: rgba(255, 209, 102, 0.75);
  background: rgba(255, 209, 102, 0.09);
}
.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 11px; right: 11px; bottom: 1px;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(255, 209, 102, 0.9);
}

.site-nav__meta { display: none; }

/* 遮罩 */
.nav-scrim { display: none; }
.nav-scrim[data-open] {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(10, 3, 9, 0.72);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  animation: scrim-in 0.2s ease both;
}
@keyframes scrim-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 左侧场馆竖轨 */
.frame-rail { display: none; }

.frame-rail__tick {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gold);
  opacity: 0.65;
}

.frame-rail__line {
  width: 2px;
  height: clamp(24px, 8vh, 64px);
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.frame-rail__text {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mauve);
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  padding-top: clamp(38px, 6vw, 68px);
  background:
    radial-gradient(72% 130% at 50% 0%, rgba(123, 45, 107, 0.5), transparent 62%),
    linear-gradient(180deg, #1A0716 0%, #12060E 100%);
  border-top: var(--bw) solid var(--gold);
  overflow: hidden;
}

.footer-inner {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 52px);
}

.footer-lede { min-width: 0; }

.footer-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lime);
}
.footer-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--lime);
  flex: 0 0 auto;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 7.2vw, 76px);
  line-height: 0.94;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  color: rgba(255, 209, 102, 0.22);
  transform: skewX(-4deg);
  transform-origin: left center;
}
@supports ((-webkit-text-stroke: 1px #000)) {
  .footer-wordmark {
    color: transparent;
    -webkit-text-stroke: 2px var(--gold);
  }
}

.footer-summary {
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mauve);
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.4vw, 40px);
  min-width: 0;
}

.footer-col { min-width: 0; }

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 8px;
  margin-bottom: 14px;
  border-bottom: 2px solid rgba(255, 209, 102, 0.28);
}

.footer-links {
  display: grid;
  gap: 9px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 2px 0;
  font-size: 14.5px;
  color: var(--ivory);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.16s, border-color 0.16s;
}
.footer-links a::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: var(--blue);
  transform: rotate(45deg);
  transition: background-color 0.16s;
}
.footer-links a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.footer-links a:hover::before { background: var(--lime); }

.footer-contact {
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.65;
}
.footer-contact li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.footer-contact__k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  color: var(--mauve);
  padding: 1px 6px;
  border: 1px solid rgba(185, 167, 196, 0.4);
}

.footer-contact__v {
  color: var(--ivory);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.footer-base {
  margin-top: clamp(30px, 5vw, 56px);
  padding-block: 16px;
  border-top: 2px solid rgba(255, 209, 102, 0.22);
  background: rgba(18, 6, 14, 0.6);
}

.footer-base__inner {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mauve);
}

.footer-base__legal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-base__legal::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(124, 255, 107, 0.85);
}

.footer-base__copy { color: var(--mauve); }

/* ---------- 7. 通用内容组件 ---------- */
.section { padding-block: clamp(40px, 7vw, 88px); }

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

.section__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.1;
  color: var(--ivory);
}

/* 展览标签 */
.stage-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 209, 102, 0.08);
  border: 2px solid rgba(255, 209, 102, 0.5);
  transform: rotate(-2.5deg);
}
.stage-label--tilt-right { transform: rotate(2.5deg); }
.stage-label--plain { transform: none; }

/* 面板 */
.panel {
  position: relative;
  padding: clamp(18px, 3vw, 30px);
  background: linear-gradient(160deg, var(--wine) 0%, #330A22 100%);
  border: var(--bw) solid var(--ink);
  box-shadow: 8px 8px 0 rgba(18, 6, 14, 0.75);
}
.panel--gold { border-color: var(--gold); }
.panel--flat { box-shadow: none; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: var(--bw) solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease),
              background-color 0.16s, color 0.16s, border-color 0.16s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

.btn--primary {
  color: var(--ink);
  background: linear-gradient(150deg, var(--gold), var(--amber));
}
.btn--primary:hover { color: var(--ink); }

.btn--ghost {
  color: var(--ivory);
  background: transparent;
  border-color: var(--gold);
  box-shadow: 5px 5px 0 rgba(255, 209, 102, 0.25);
}
.btn--ghost:hover {
  color: var(--gold);
  background: rgba(255, 209, 102, 0.1);
  box-shadow: 7px 7px 0 rgba(255, 209, 102, 0.3);
}

.btn--compact {
  padding: 8px 14px;
  font-size: 13px;
  box-shadow: 3px 3px 0 var(--ink);
}
.btn--compact:hover { box-shadow: 5px 5px 0 var(--ink); }

/* 图片容器 —— 页面阶段在内部放 <img> 即可 */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  border: var(--bw) solid var(--ink);
  background:
    radial-gradient(120% 120% at 20% 8%, rgba(255, 159, 28, 0.32), transparent 58%),
    radial-gradient(90% 110% at 88% 92%, rgba(76, 201, 240, 0.22), transparent 62%),
    linear-gradient(145deg, #4A1030, #1A0716);
  box-shadow: 8px 8px 0 rgba(18, 6, 14, 0.8);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(18, 6, 14, 0.32) 0 1px, transparent 1px 4px);
  opacity: 0.55;
}

.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--3x4 { aspect-ratio: 3 / 4; }
.media--wide { aspect-ratio: 21 / 9; }

.media__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--gold);
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
}

/* 面包屑 */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--mauve);
}
.breadcrumbs a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.breadcrumbs a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.breadcrumbs__sep { color: var(--pixel); }

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--lime);
  background: rgba(124, 255, 107, 0.08);
  border: 1px solid rgba(124, 255, 107, 0.5);
}
.tag--gold {
  color: var(--gold);
  background: rgba(255, 209, 102, 0.08);
  border-color: rgba(255, 209, 102, 0.5);
}
.tag--blue {
  color: var(--blue);
  background: rgba(76, 201, 240, 0.08);
  border-color: rgba(76, 201, 240, 0.5);
}

/* 12 列非对称网格 */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 28px);
}
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-12 { grid-column: span 12; }

/* 滚动进度尺（由 JS 注入） */
.scroll-progress {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  z-index: 220;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--amber), var(--gold) 34%, var(--lime));
  transform: scaleX(0);
  transform-origin: 0 50%;
  box-shadow: 0 0 14px rgba(255, 209, 102, 0.7);
}

/* ---------- 8. 响应式 ---------- */
@media (min-width: 560px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 640px) {
  .brand__tag { display: block; }
}

@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }

  .frame-rail {
    display: flex;
    position: fixed;
    left: 0;
    top: var(--header-h);
    bottom: 0;
    z-index: 150;
    width: var(--rail-w);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 0;
    background: linear-gradient(180deg, #16081A, #12060E);
    border-right: var(--bw) solid rgba(255, 209, 102, 0.32);
  }

  .scroll-progress { left: var(--rail-w); }
}

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

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 210;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 82vh;
    overflow-y: auto;
    padding: 6px 0 calc(18px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, #1C0820 0%, #12060E 100%);
    border-top: var(--bw) solid var(--gold);
    box-shadow: 0 -20px 46px rgba(0, 0, 0, 0.72);
  }
  .site-nav[data-open] {
    display: flex;
    animation: drawer-up 0.26s var(--ease) both;
  }

  @keyframes drawer-up {
    from { transform: translateY(26px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__item { border-bottom: 1px solid rgba(255, 209, 102, 0.16); }

  .site-nav__link {
    padding: 15px 20px;
    font-size: 16px;
    color: var(--ivory);
    border: 0;
    border-left: var(--bw) solid transparent;
    white-space: normal;
  }
  .site-nav__link:hover {
    color: var(--gold);
    background: rgba(76, 201, 240, 0.1);
    border-left-color: var(--blue);
  }
  .site-nav__link[aria-current="page"] {
    color: var(--gold);
    background: rgba(255, 209, 102, 0.12);
    border-left-color: var(--gold);
  }
  .site-nav__link[aria-current="page"]::after { display: none; }

  .site-nav__meta {
    display: block;
    margin: 14px 20px 0;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.06em;
    color: var(--mauve);
  }
}

@media (max-width: 899px) {
  .col-3, .col-4, .col-5,
  .col-6, .col-7, .col-8, .col-9 { grid-column: span 12; }
}

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

  .brand__mark {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }
  .brand__name { font-size: 15px; }
  .nav-toggle__label { display: none; }
  .nav-toggle { min-width: 46px; padding: 8px 12px; }
  .footer-wordmark { transform: none; }
}

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

  .site-nav[data-open] { animation: none; }
  .nav-scrim[data-open] { animation: none; }
  .btn:hover { transform: none; }
  .brand:hover .brand__mark { transform: rotate(-4deg); }
}
