/* ==========================================================================
   B体育 · 城市看台 — /assets/site.css
   共享外壳 + 基础组件。页面特色布局由页面专属 CSS 负责。
   ========================================================================== */

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

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

body { margin: 0; }

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

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

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

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

a { color: inherit; text-decoration: none; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #0B0F0D;
  --ink-2: #10251C;
  --concrete: #2A312D;
  --lime: #B6FF3B;
  --lime-dark: #6FAF24;
  --ember: #FF5A36;
  --amber: #FFC24B;
  --data-line: #E8F4EE;
  --mist: #F4F7F4;

  --text: rgba(232, 244, 238, 0.92);
  --text-soft: rgba(232, 244, 238, 0.68);
  --text-dim: rgba(232, 244, 238, 0.5);

  --line: rgba(232, 244, 238, 0.13);
  --line-strong: rgba(232, 244, 238, 0.28);

  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --shell: 1440px;
  --gutter: clamp(16px, 3.6vw, 48px);

  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基底排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--text);
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(115deg, rgba(232, 244, 238, 0.022) 0 1px, transparent 1px 44px),
    radial-gradient(1100px 620px at 84% -10%, rgba(182, 255, 59, 0.14), transparent 62%),
    radial-gradient(900px 540px at 2% 106%, rgba(255, 90, 54, 0.1), transparent 66%),
    linear-gradient(180deg, #0B0F0D 0%, #0B0F0D 100%);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--mist);
}

p { max-width: 72ch; }

strong, b { font-weight: 800; color: var(--mist); }

::selection { background: var(--lime); color: #08110B; }

/* ---------- 4. 工具与容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

/* ---------- 5. 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 400;
  transform: translate(-50%, -180%);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: #08110B;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.9);
  transition: transform 0.22s var(--ease);
}

.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- 6. 头部：悬浮胶囊浮岛 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  padding: 16px var(--gutter) 0;
  transition: padding 0.26s var(--ease);
}

.site-header[data-scrolled="true"] { padding-top: 6px; }

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 9px 10px 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(11, 15, 13, 0.74);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: 0 22px 46px -32px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(232, 244, 238, 0.06);
  transition: background 0.26s var(--ease), padding 0.26s var(--ease), box-shadow 0.26s var(--ease);
}

.site-header[data-scrolled="true"] .header-shell {
  padding-top: 6px;
  padding-bottom: 6px;
  background: rgba(9, 15, 12, 0.92);
  box-shadow: 0 28px 56px -34px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(232, 244, 238, 0.05);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 3px 6px 3px 3px;
  border-radius: var(--radius-pill);
  transition: opacity 0.2s var(--ease);
}

.brand:hover { opacity: 0.86; }

.brand-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(182, 255, 59, 0.42);
  border-radius: 13px;
  background: linear-gradient(150deg, rgba(182, 255, 59, 0.2), rgba(182, 255, 59, 0.02));
}

.brand-mark-bar {
  width: 17px;
  height: 4px;
  border-radius: 2px;
  background: var(--lime);
}

.brand-mark-dot {
  width: 6px;
  height: 6px;
  margin-left: 11px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px rgba(255, 194, 75, 0.85);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.03em;
  color: var(--mist);
}

.brand-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--lime-dark);
}

/* 导航 */
.primary-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item { display: block; }

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(232, 244, 238, 0.72);
  white-space: nowrap;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav-link:hover {
  color: var(--mist);
  background: rgba(232, 244, 238, 0.08);
}

.nav-link[aria-current="page"] {
  color: #08110B;
  background: var(--lime);
  box-shadow: 0 0 0 1px rgba(182, 255, 59, 0.5), 0 10px 24px -14px rgba(182, 255, 59, 0.95);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: #08110B;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 14px 28px -16px rgba(182, 255, 59, 0.9);
  transition: transform 0.18s var(--ease), background 0.18s var(--ease);
}

.nav-cta::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #08110B;
}

.nav-cta:hover {
  background: #C8FF63;
  transform: translateY(-2px);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(232, 244, 238, 0.05);
  color: var(--mist);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav-toggle:hover { border-color: var(--lime); color: var(--lime); }

.nav-toggle[aria-expanded="true"] {
  color: var(--lime);
  border-color: rgba(182, 255, 59, 0.55);
  background: rgba(182, 255, 59, 0.1);
}

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.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 { line-height: 1; }

/* 阅读进度光带 */
.scroll-rail {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: rgba(232, 244, 238, 0.09);
  overflow: hidden;
  pointer-events: none;
}

.scroll-rail-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--lime), var(--amber));
  transition: width 0.12s linear;
}

/* ---------- 7. 页脚：三层看台栏杆 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 8vw, 120px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(720px 320px at 88% 0%, rgba(182, 255, 59, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(16, 37, 28, 0.92), #0B0F0D 72%);
  overflow: hidden;
}

.footer-rails {
  display: grid;
  gap: 7px;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 26px var(--gutter) 0;
}

.footer-rail {
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(90deg, rgba(182, 255, 59, 0.55), rgba(232, 244, 238, 0.04));
}

.footer-rail:nth-child(2) {
  width: 70%;
  background: linear-gradient(90deg, rgba(255, 194, 75, 0.45), rgba(232, 244, 238, 0.03));
}

.footer-rail:nth-child(3) {
  width: 42%;
  background: linear-gradient(90deg, rgba(255, 90, 54, 0.42), transparent);
}

.footer-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 52px) var(--gutter) clamp(20px, 3vw, 30px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 64px);
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(20px, 2.3vw, 27px);
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--mist);
}

.footer-brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 20px rgba(182, 255, 59, 0.9);
}

.footer-tagline {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
}

.footer-note {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--lime-dark);
}

.footer-nav-title,
.footer-contact-title {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.16em;
  line-height: 1.4;
  color: rgba(232, 244, 238, 0.55);
}

.footer-nav-title::before,
.footer-contact-title::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 2px;
  background: var(--lime);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.footer-link {
  display: inline-block;
  font-size: 14.5px;
  color: rgba(232, 244, 238, 0.76);
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

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

.footer-link[aria-current="page"] {
  color: var(--lime);
  font-weight: 700;
}

.footer-contact-list {
  display: grid;
  gap: 12px;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(232, 244, 238, 0.07);
}

.footer-contact-item:last-child { border-bottom: 0; padding-bottom: 0; }

.footer-contact-key {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.footer-contact-value {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(232, 244, 238, 0.82);
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(26px, 4vw, 44px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-legal {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(232, 244, 238, 0.55);
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(232, 244, 238, 0.42);
}

/* ---------- 8. 通用版式组件 ---------- */
.section {
  position: relative;
  padding-block: clamp(44px, 6.5vw, 92px);
}

.rail {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, rgba(232, 244, 238, 0.02), rgba(232, 244, 238, 0.22) 18%, rgba(232, 244, 238, 0.22) 82%, rgba(232, 244, 238, 0.02));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  color: var(--lime);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.display-title {
  font-size: clamp(38px, 7.4vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--mist);
}

.section-title {
  font-size: clamp(27px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.038em;
}

.lead {
  max-width: 62ch;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
  color: var(--text-soft);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: center;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.btn--primary {
  background: var(--lime);
  color: #08110B;
  box-shadow: 0 16px 32px -18px rgba(182, 255, 59, 0.9);
}

.btn--primary:hover { background: #C8FF63; transform: translateY(-2px); }

.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(232, 244, 238, 0.04);
  color: var(--mist);
}

.btn--ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }

.btn--ember {
  background: var(--ember);
  color: #160604;
  box-shadow: 0 16px 32px -20px rgba(255, 90, 54, 0.95);
}

.btn--ember:hover { background: #FF7355; transform: translateY(-2px); }

/* 胶囊标签 */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(232, 244, 238, 0.05);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: rgba(232, 244, 238, 0.8);
  white-space: nowrap;
}

.pill--lime { color: var(--lime); border-color: rgba(182, 255, 59, 0.48); background: rgba(182, 255, 59, 0.1); }
.pill--ember { color: var(--ember); border-color: rgba(255, 90, 54, 0.48); background: rgba(255, 90, 54, 0.1); }
.pill--amber { color: var(--amber); border-color: rgba(255, 194, 75, 0.48); background: rgba(255, 194, 75, 0.1); }

/* 卡片与球票 */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(16, 37, 28, 0.92), rgba(11, 15, 13, 0.94));
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(182, 255, 59, 0.5), transparent);
  opacity: 0.7;
}

.card--panel {
  background: rgba(42, 49, 45, 0.4);
  border-color: rgba(232, 244, 238, 0.1);
}

.ticket {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(16, 37, 28, 0.78);
}

.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ink);
  transform: translateY(-50%);
}

.ticket::before { left: -9px; }
.ticket::after { right: -9px; }

/* 编号与数据 */
.index-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--lime);
}

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

.stat-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--amber);
}

.stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

/* 阶梯网格 */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.tier-grid > * { grid-column: 1 / -1; min-width: 0; }

@media (min-width: 760px) {
  .tier-grid > .span-4 { grid-column: span 4; }
  .tier-grid > .span-5 { grid-column: span 5; }
  .tier-grid > .span-6 { grid-column: span 6; }
  .tier-grid > .span-7 { grid-column: span 7; }
  .tier-grid > .span-8 { grid-column: span 8; }
  .tier-grid > .span-12 { grid-column: 1 / -1; }

  .tier-offset { margin-top: clamp(18px, 3.4vw, 54px); }
}

/* 图片容器基础规则（供页面阶段放入本地图片） */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(232, 244, 238, 0.08);
  background: linear-gradient(150deg, #16301F 0%, #0B0F0D 58%, #1B2A22 100%);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 15, 13, 0) 42%, rgba(11, 15, 13, 0.78) 100%);
}

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

.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }

.media-frame--placeholder {
  background-image:
    repeating-linear-gradient(115deg, rgba(182, 255, 59, 0.09) 0 2px, transparent 2px 24px),
    linear-gradient(150deg, #16301F 0%, #0B0F0D 60%, #1B2A22 100%);
}

.media-frame-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: rgba(232, 244, 238, 0.8);
}

/* 面包屑 */
.breadcrumb { padding-block: 10px; }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
}

.breadcrumb-link {
  color: var(--lime);
  transition: color 0.18s var(--ease);
}

.breadcrumb-link:hover { color: var(--mist); }

.breadcrumb-sep { color: rgba(232, 244, 238, 0.32); }

.breadcrumb-current { color: rgba(232, 244, 238, 0.6); }

/* 页内锚点目录 */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0;
  border-block: 1px solid var(--line);
}

.anchor-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(232, 244, 238, 0.72);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.anchor-link:hover,
.anchor-link[aria-current="true"] {
  color: #08110B;
  background: var(--lime);
  border-color: var(--lime);
}

/* 滚动显现 */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.52s var(--ease), transform 0.52s var(--ease);
}

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

/* ---------- 9. 焦点可见 ---------- */
:where(a, button, [tabindex], input, textarea, select):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link:focus-visible { outline-offset: 2px; }

/* ---------- 10. 响应式 ---------- */
@media (max-width: 1180px) {
  .header-shell { gap: 10px; }
  .nav-link { padding: 8px 10px; font-size: 13px; }
  .nav-cta { padding: 10px 15px; font-size: 13px; }
  .brand-sub { letter-spacing: 0.18em; }
}

@media (max-width: 1024px) {
  .nav-link { font-size: 12.5px; padding: 8px 9px; }
  .footer-top { grid-template-columns: 1.3fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-contact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
}

@media (max-width: 900px) {
  .site-header { padding: 10px var(--gutter) 0; }

  .header-shell {
    padding: 8px 10px 8px 12px;
    border-radius: 24px;
  }

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

  .header-actions { margin-left: auto; }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: calc(100vh - 150px);
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 24px;
    background: rgba(9, 16, 12, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 44px 80px -44px rgba(0, 0, 0, 1);
    overflow-y: auto;
    margin-left: 0;
  }

  .primary-nav[data-open="true"] { display: flex; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    display: flex;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(232, 244, 238, 0.04);
    font-size: 15px;
    color: rgba(232, 244, 238, 0.86);
  }

  .nav-link[aria-current="page"] {
    color: #08110B;
    background: var(--lime);
  }

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

@media (max-width: 720px) {
  body { font-size: 16px; }

  .display-title { letter-spacing: -0.04em; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-contact { grid-column: auto; }

  .footer-contact-list { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .footer-rails { padding-top: 18px; }
  .footer-rail:nth-child(2) { width: 82%; }
  .footer-rail:nth-child(3) { width: 56%; }
}

@media (max-width: 440px) {
  .brand-sub { display: none; }
  .brand-mark { width: 34px; height: 34px; border-radius: 11px; }
  .nav-cta { padding: 9px 12px; font-size: 12.5px; }
  .nav-toggle { padding: 9px 11px; }
  .nav-toggle-label { display: none; }
  .scroll-rail { left: 14px; right: 14px; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ---------- 11. 减少动态偏好 ---------- */
@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] {
    opacity: 1 !important;
    transform: none !important;
  }

  .nav-cta:hover,
  .btn:hover,
  .footer-link:hover {
    transform: none;
  }

  .scroll-rail-fill { transition: none; }
}
