/* =========================================================
   BOWAN赛事 CN 站 · 共享样式 /assets/site.css
   结构：reset → 变量 → 基础 → 排版 → 网格与通用组件 → 头部 → 页脚 → 响应式 → 可访问性
   ========================================================= */

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

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

body, h1, h2, h3, h4, h5, p, figure, blockquote, ul, ol, dl, dd, pre { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg, canvas, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

:root {
  --deep: #071A2B;
  --hull: #0F2A42;
  --paper: #F3EFE6;
  --fog: #E8EEF4;
  --stone: #6A7785;
  --orange: #FF6B2C;
  --orange-soft: #FF9A72;
  --cyan: #35D6E8;
  --green: #45C98A;
  --clay: #C9825F;
  --amber: #FFB547;

  --line: rgba(106, 119, 133, 0.34);
  --line-strong: rgba(106, 119, 133, 0.62);

  --rail-w: 232px;
  --capsule-h: 56px;
  --main-top: 88px;

  --font-sans: "Noto Sans SC", "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 56px);
}

body {
  min-height: 100vh;
  padding-left: var(--rail-w);
  background-color: var(--deep);
  background-image:
    linear-gradient(to right, rgba(106, 119, 133, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(106, 119, 133, 0.09) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px;
  color: var(--fog);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

main { padding-top: var(--main-top); }

/* ---------- 排版 ---------- */
.display-1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.display-2 {
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--paper);
}
.title-sm {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--fog);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--cyan);
  flex: none;
}
.lede {
  max-width: 62ch;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.8;
  color: rgba(232, 238, 244, 0.82);
}
.prose {
  max-width: 68ch;
  line-height: 1.85;
  color: rgba(232, 238, 244, 0.88);
}
.prose p + p,
.prose ul + p,
.prose p + ul { margin-top: 1.1em; }
.prose h2, .prose h3 { margin-top: 1.8em; margin-bottom: 0.6em; }
.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
strong { font-weight: 700; color: var(--paper); }

/* ---------- 布局骨架 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: clamp(48px, 7vw, 104px); }
.section--deep { background: var(--deep); }
.section--hull {
  background: linear-gradient(180deg, rgba(53, 214, 232, 0.04), transparent 42%), var(--hull);
  border-block: 1px solid var(--line);
}
.section--paper {
  background: var(--paper);
  color: #0A2233;
}
.section--paper .display-1,
.section--paper .display-2 { color: #071A2B; }
.section--paper .lede,
.section--paper .prose { color: #28405A; }
.section--paper .eyebrow { color: #0B6E7C; }
.section--paper .eyebrow::before { background: #0B6E7C; }
.section--paper .title-sm { color: #071A2B; }
.section--paper .hairline { background: rgba(7, 26, 43, 0.16); }
.section--paper .mono { color: #0B3A52; }

.hairline { height: 1px; background: var(--line); border: 0; }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 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; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.82em 1.4em;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #1C0C03;
}
.btn--primary:hover { background: #FF854F; border-color: #FF854F; }
.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--fog);
}
.btn--ghost:hover {
  border-color: var(--orange);
  background: rgba(255, 107, 44, 0.1);
  color: var(--paper);
}
.btn--light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--deep);
}
.btn--light:hover { background: #FFFFFF; border-color: var(--cyan); }

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.18em 0.6em;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--fog);
  white-space: nowrap;
}
.tag--orange { color: var(--orange-soft); border-color: rgba(255, 107, 44, 0.55); background: rgba(255, 107, 44, 0.12); }
.tag--cyan { color: var(--cyan); border-color: rgba(53, 214, 232, 0.5); background: rgba(53, 214, 232, 0.1); }
.tag--green { color: var(--green); border-color: rgba(69, 201, 138, 0.5); background: rgba(69, 201, 138, 0.1); }
.tag--clay { color: #E3A98E; border-color: rgba(201, 130, 95, 0.6); background: rgba(201, 130, 95, 0.12); }

/* ---------- 资料卡 / 数据卡 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.2vw, 28px);
  background: var(--hull);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  border-top: 1px solid rgba(255, 107, 44, 0.65);
  border-right: 1px solid rgba(255, 107, 44, 0.65);
  pointer-events: none;
}
.card--data {
  background:
    linear-gradient(180deg, rgba(53, 214, 232, 0.07), transparent 58%),
    var(--hull);
}
.card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.card__meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--stone);
}

/* ---------- 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55em;
  padding-block: 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--stone);
}
.breadcrumbs__item { display: inline-flex; align-items: center; gap: 0.55em; }
.breadcrumbs__item + .breadcrumbs__item::before { content: "/"; color: rgba(106, 119, 133, 0.75); }
.breadcrumbs__link { color: rgba(232, 238, 244, 0.82); transition: color 0.18s var(--ease); }
.breadcrumbs__link:hover { color: var(--orange-soft); }

/* ---------- 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(140deg, #123652 0%, #0A1F33 58%, #071A2B 100%);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(53, 214, 232, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 214, 232, 0.11) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  mix-blend-mode: screen;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.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: 0;
  bottom: 0;
  z-index: 2;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--fog);
  background: rgba(7, 26, 43, 0.86);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

/* ---------- 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 400;
  padding: 0.7em 1.1em;
  background: var(--orange);
  color: #1C0C03;
  font-weight: 700;
  border-radius: 2px;
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 16px; }

/* =========================================================
   头部：左侧品牌轨道 + 顶部悬浮胶囊
   ========================================================= */
.site-rail {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 120;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vh, 26px);
  padding: 26px 20px 22px;
  overflow-y: auto;
  scrollbar-width: thin;
  background-color: #081C2E;
  background-image:
    linear-gradient(180deg, rgba(53, 214, 232, 0.07), transparent 38%),
    linear-gradient(to right, rgba(106, 119, 133, 0.14) 1px, transparent 1px),
    repeating-linear-gradient(to bottom, rgba(106, 119, 133, 0.1) 0 1px, transparent 1px 72px);
  background-size: auto, 58px 100%, 100% 72px;
  border-right: 1px solid var(--line);
}

.rail-brand {
  display: block;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.rail-brand__mark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.68rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
  transition: color 0.18s var(--ease);
}
.rail-brand__mark::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  background: var(--orange);
  transform: translateY(-2px);
}
.rail-brand:hover .rail-brand__mark { color: var(--orange-soft); }
.rail-brand__sub {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--stone);
}

.rail-nav { display: flex; flex-direction: column; }
.rail-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rail-nav__item { display: block; }
.rail-link {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 8px;
  padding: 0.58em 0.5em 0.58em 0.62em;
  border-left: 2px solid transparent;
  color: rgba(232, 238, 244, 0.74);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.rail-link__idx {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--stone);
}
.rail-link__label { display: block; }
.rail-link:hover {
  color: var(--paper);
  background: rgba(255, 107, 44, 0.08);
  border-left-color: rgba(255, 107, 44, 0.55);
}
.rail-link[aria-current="page"] {
  color: var(--paper);
  font-weight: 700;
  background: linear-gradient(90deg, rgba(255, 107, 44, 0.2), rgba(255, 107, 44, 0));
  border-left-color: var(--orange);
}
.rail-link[aria-current="page"] .rail-link__idx { color: var(--orange-soft); }

.rail-quick {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.rail-quick__title {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--stone);
}
.rail-quick__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rail-quick__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0.42em 0.55em;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 0.78rem;
  color: rgba(232, 238, 244, 0.86);
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.rail-quick__link::after {
  content: "↗";
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--clay);
}
.rail-quick__link:hover {
  border-color: rgba(255, 107, 44, 0.7);
  background: rgba(255, 107, 44, 0.1);
  color: var(--paper);
}

.rail-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.rail-meta__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
}
.rail-meta__key { color: var(--stone); }
.rail-meta__val { color: rgba(232, 238, 244, 0.9); text-align: right; }
.rail-meta__val--live {
  position: relative;
  padding-left: 12px;
  color: var(--green);
}
.rail-meta__val--live::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  animation: bowan-pulse 2.6s var(--ease) infinite;
}

.site-capsule {
  position: fixed;
  top: 16px;
  left: calc(var(--rail-w) + 20px);
  right: 20px;
  z-index: 130;
  height: var(--capsule-h);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 8px 0 18px;
  border: 1px solid rgba(106, 119, 133, 0.42);
  border-radius: 999px;
  background: rgba(15, 42, 66, 0.86);
  color: var(--fog);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.92), inset 0 1px 0 rgba(232, 238, 244, 0.07);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.site-header[data-scrolled="true"] .site-capsule {
  background: rgba(9, 28, 46, 0.97);
  border-color: rgba(106, 119, 133, 0.66);
  box-shadow: 0 22px 46px -26px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(232, 238, 244, 0.09);
}

.capsule-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--paper);
  white-space: nowrap;
}
.capsule-brand__dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(53, 214, 232, 0.16);
}

.capsule-focus {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding-left: 14px;
  margin-left: 2px;
  border-left: 1px solid var(--line);
  font-size: 0.8rem;
  color: rgba(232, 238, 244, 0.8);
}
.capsule-focus__dot {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--orange);
  animation: bowan-pulse 2.6s var(--ease) infinite;
}
.capsule-focus__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--fog);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.capsule-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.capsule-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.5em 0.85em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(232, 238, 244, 0.88);
  white-space: nowrap;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.capsule-link:hover {
  background: rgba(53, 214, 232, 0.12);
  border-color: rgba(53, 214, 232, 0.45);
  color: #FFFFFF;
}
.capsule-link--accent {
  background: var(--orange);
  border-color: var(--orange);
  color: #1C0C03;
  font-weight: 800;
}
.capsule-link--accent:hover {
  background: #FF854F;
  border-color: #FF854F;
  color: #1C0C03;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--paper);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav-toggle:hover { border-color: var(--orange); background: rgba(255, 107, 44, 0.12); }
.nav-toggle__bar {
  position: relative;
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: background-color 0.18s var(--ease);
}
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s var(--ease);
}
.nav-toggle__bar::before { top: -5px; }
.nav-toggle__bar::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-5px) rotate(-45deg); }

.site-progress {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(106, 119, 133, 0.26);
}
.site-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transition: width 0.12s linear;
}

@keyframes bowan-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.42; transform: scale(0.82); }
}

/* =========================================================
   页脚
   ========================================================= */
.site-footer {
  position: relative;
  padding-top: clamp(40px, 6vw, 76px);
  background-color: #05131F;
  background-image:
    linear-gradient(180deg, rgba(53, 214, 232, 0.05), transparent 46%),
    linear-gradient(to right, rgba(106, 119, 133, 0.1) 1px, transparent 1px);
  background-size: auto, 96px 100%;
  border-top: 1px solid var(--line-strong);
  color: var(--fog);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.55fr repeat(3, minmax(0, 0.85fr)) 1.45fr;
  gap: clamp(20px, 3vw, 42px);
  padding-bottom: clamp(32px, 5vw, 56px);
}

.footer-brand__mark {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.footer-brand__line {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--cyan);
}
.footer-brand__note {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 0.86rem;
  line-height: 1.75;
  color: rgba(232, 238, 244, 0.66);
}
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.footer-col__title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--clay);
}
.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link {
  display: inline-block;
  padding-block: 2px;
  font-size: 0.88rem;
  color: rgba(232, 238, 244, 0.76);
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.footer-link:hover {
  color: var(--paper);
  border-bottom-color: var(--orange);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: clamp(0px, 1.4vw, 20px);
  border-left: 1px solid var(--line);
}
.footer-contact__row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.84rem;
}
.footer-contact__label {
  flex: none;
  width: 2.6em;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--stone);
}
.footer-contact__value {
  color: rgba(232, 238, 244, 0.9);
  overflow-wrap: anywhere;
}
.footer-contact__note {
  margin-top: 6px;
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(232, 238, 244, 0.56);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px 26px;
  border-top: 1px solid var(--line);
}
.footer-base__legal,
.footer-base__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--stone);
}
.footer-base__legal { color: rgba(232, 238, 244, 0.7); }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1180px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
}

@media (max-width: 1023px) {
  body { padding-left: 0; }
  main { padding-top: 72px; }
  html { scroll-padding-top: 82px; }

  .site-rail {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    max-height: 100dvh;
    padding: 76px 20px 26px;
    overflow-y: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
    background-image:
      linear-gradient(180deg, rgba(53, 214, 232, 0.08), transparent 42%),
      linear-gradient(to right, rgba(106, 119, 133, 0.1) 1px, transparent 1px);
    background-size: auto, 58px 100%;
    box-shadow: 0 34px 60px -32px rgba(0, 0, 0, 0.95);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.24s var(--ease), visibility 0.24s var(--ease);
  }
  .site-rail[data-open] {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .rail-nav[data-open] { display: flex; }

  .site-capsule {
    top: 10px;
    left: 12px;
    right: 12px;
    height: 52px;
    padding: 0 6px 0 14px;
    gap: 10px;
  }
  .capsule-focus { display: none; }
  .nav-toggle { display: inline-flex; }
  .rail-meta { margin-top: 8px; }
  .footer-top { padding-bottom: 32px; }
}

@media (max-width: 960px) {
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .col-3, .col-4, .col-5, .col-6 { grid-column: span 3; }
  .col-7, .col-8, .col-9, .col-12 { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .capsule-actions .capsule-link:not(.capsule-link--accent) { display: none; }
  .capsule-link--accent { padding: 0.5em 0.7em; font-size: 0.76rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .grid-12 { grid-template-columns: minmax(0, 1fr); }
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-12 { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .capsule-brand { font-size: 0.86rem; }
  .media-frame--wide { aspect-ratio: 16 / 10; }
  .rail-link { font-size: 1rem; padding-block: 0.66em; }
  .btn { padding: 0.78em 1.15em; font-size: 0.9rem; }
}

/* =========================================================
   可访问性与动效降级
   ========================================================= */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.section--paper :focus-visible { outline-color: #0B6E7C; }

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

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