/* ==========================================================================
   威体育赛事 · 共享站点样式 /assets/site.css
   侧边品牌轨道 + 双层顶栏 + 夜场档案色调 + 通用正文与组件
   ========================================================================== */

/* ---------- 01. 设计变量 ---------- */
:root {
  --ink: #080D10;
  --pine: #0C3B2E;
  --orange: #FF5A1F;
  --cyan: #3DF5D4;
  --turf: #1F7A4D;
  --navy: #101B2B;
  --paper: #F2EBDD;
  --paper-lift: #FBF7EE;
  --char: #1B2428;
  --print: #9AA8A2;
  --wine: #7A2238;
  --amber: #FFB347;

  --rail-w: 84px;
  --topbar-h: 96px;
  --gutter: clamp(20px, 4.5vw, 60px);
  --maxw: 1320px;
  --measure: 68ch;

  --font-display: "Arial Narrow", "Helvetica Neue", Impact, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Courier New", "Noto Sans SC", monospace;

  --shadow-plate: 0 1px 0 rgba(0, 0, 0, .55), 0 18px 36px -26px rgba(0, 0, 0, .95);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 20px);
}

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

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

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

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

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

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

.band--paper :where(a, button, summary):focus-visible {
  outline-color: var(--pine);
}

/* ---------- 03. 排版 ---------- */
body {
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .01em;
  padding-left: var(--rail-w);
  padding-top: var(--topbar-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: condensed;
  line-height: 1.04;
  letter-spacing: -.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 7.2vw, 104px); line-height: .95; }
h2 { font-size: clamp(30px, 4.4vw, 56px); }
h3 { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.24; letter-spacing: -.01em; }
h4 { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.35; letter-spacing: 0; }

p { max-width: 70ch; word-break: break-word; }

strong, b { font-weight: 700; }

small { font-size: 13px; color: var(--print); }

code, kbd, samp {
  font-family: var(--font-mono);
  font-size: .92em;
  letter-spacing: .02em;
}

::selection {
  background: var(--orange);
  color: #0A0D0F;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

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

.link {
  color: inherit;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: background-size .2s ease, color .2s ease;
}

.link:hover,
.link:focus-visible {
  color: var(--orange);
  background-size: 100% 2px;
}

/* ---------- 04. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: calc(var(--rail-w) + 16px);
  z-index: 200;
  transform: translateY(-180%);
  background: var(--orange);
  color: #0A0D0F;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 10px 20px;
  border-radius: 2px;
  transition: transform .18s ease;
}

.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 05. 头部：侧边品牌轨道 ---------- */
.site-header { position: static; }

.brand-rail {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--rail-w);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 0 26px;
  background-color: var(--pine);
  background-image: linear-gradient(180deg, #0C3B2E 0%, #0A2E24 58%, #08201A 100%);
  border-right: 1px solid rgba(242, 235, 221, .14);
  overflow: hidden;
}

.brand-rail::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 96px;
  background: linear-gradient(180deg, transparent, var(--orange), transparent);
  transform: translateY(-50%);
}

.brand-rail__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 4px 0;
}

.brand-rail__name {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .18em;
  line-height: 1;
  color: var(--paper);
  transition: color .18s ease;
}

.brand-rail__mark:hover .brand-rail__name,
.brand-rail__mark:focus-visible .brand-rail__name { color: var(--cyan); }

.brand-rail__rule {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, var(--orange), transparent);
}

.brand-rail__tag {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .34em;
  color: var(--cyan);
  line-height: 1;
}

.brand-rail__meta {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(242, 235, 221, .46);
  max-width: none;
}

/* ---------- 06. 头部：顶部双层导航 ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  z-index: 65;
  background: var(--ink);
  border-bottom: 1px solid var(--char);
}

.topbar__layer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 34px;
  padding: 0 var(--gutter);
  background-image: linear-gradient(90deg, #0C3B2E 0%, #101B2B 62%, #080D10 100%);
  border-bottom: 1px solid var(--char);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(242, 235, 221, .72);
}

.topbar__statement,
.topbar__hint {
  max-width: none;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__hint { flex: 0 0 auto; color: var(--cyan); }

.topbar__bar {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  height: 62px;
  padding: 0 var(--gutter);
}

.brand-inline {
  display: none;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .02em;
  color: var(--paper);
  white-space: nowrap;
}

.brand-inline__tag {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .26em;
  color: var(--cyan);
  border-left: 1px solid rgba(242, 235, 221, .24);
  padding-left: 9px;
  line-height: 1.4;
}

.primary-nav { margin-left: auto; }

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}

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

.primary-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-size: 14px;
  letter-spacing: .06em;
  color: rgba(242, 235, 221, .78);
  transition: color .18s ease;
}

.primary-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s ease;
}

.primary-nav__link:hover { color: var(--paper); }
.primary-nav__link:hover::after,
.primary-nav__link:focus-visible::after { transform: scaleX(1); }

.primary-nav__link[aria-current="page"] {
  color: var(--orange);
  font-weight: 700;
}

.primary-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--cyan);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 9px 14px;
  border: 1px solid var(--char);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--paper);
  transition: border-color .18s ease, color .18s ease;
}

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

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: background-color .18s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle__text { line-height: 1; }

[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  transition: width .12s linear;
}

/* ---------- 07. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 120px);
  padding: clamp(44px, 6vw, 88px) 0 30px;
  background-color: var(--pine);
  background-image: linear-gradient(168deg, #0C3B2E 0%, #0A2C23 46%, #080D10 100%);
  color: var(--paper);
  border-top: 1px solid rgba(242, 235, 221, .16);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(38%, 320px);
  height: 4px;
  background: var(--orange);
}

.footer__frame {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 1.05fr) minmax(0, 1.9fr);
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(26px, 4vw, 46px);
  border-bottom: 1px solid rgba(242, 235, 221, .16);
}

.footer__brand-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--paper);
  transition: color .18s ease;
}

.footer__brand-link:hover { color: var(--cyan); }

.footer__tagline {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--cyan);
  max-width: none;
}

.footer__summary {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(242, 235, 221, .66);
  max-width: 36ch;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.footer__title {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--print);
  margin-bottom: 16px;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__link {
  display: inline-block;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(242, 235, 221, .84);
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease, padding-left .18s ease;
}

.footer__link:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
  padding-left: 4px;
}

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

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13.5px;
  line-height: 1.6;
}

.footer__contact-item { display: block; }

.footer__contact-term {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--print);
  margin-bottom: 3px;
}

.footer__contact-value {
  color: rgba(242, 235, 221, .88);
  word-break: break-word;
  margin-left: 0;
}

.footer__note {
  margin-top: 22px;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(242, 235, 221, .54);
  max-width: 76ch;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(24px, 4vw, 40px);
  padding-top: 20px;
  border-top: 1px solid rgba(242, 235, 221, .12);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(242, 235, 221, .5);
}

.footer__legal-text {
  margin: 0;
  max-width: none;
}

/* ---------- 08. 布局容器与分区 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 940px; }

.band {
  padding-block: clamp(48px, 7vw, 112px);
  position: relative;
}

.band--paper {
  background: var(--paper);
  color: #14211E;
}

.band--paper h1,
.band--paper h2,
.band--paper h3,
.band--paper h4 { color: var(--pine); }

.band--paper small { color: #55655D; }

.band--pine { background: var(--pine); color: var(--paper); }
.band--navy { background: var(--navy); color: var(--paper); }
.band--wine { background: var(--wine); color: var(--paper); }

.grid {
  display: grid;
  gap: clamp(18px, 2.6vw, 32px);
}

.grid--8-4 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.grid--7-5 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.rule {
  height: 1px;
  border: 0;
  margin: clamp(24px, 4vw, 48px) 0;
  background: linear-gradient(90deg, var(--char), rgba(27, 36, 40, 0));
}

.band--paper .rule {
  background: linear-gradient(90deg, #D8CFBD, rgba(216, 207, 189, 0));
}

/* ---------- 09. 章节标题 ---------- */
.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(24px, 3.5vw, 44px);
}

.section-head__index {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section-head__index::after {
  content: "";
  flex: 1 1 auto;
  max-width: 180px;
  height: 1px;
  background: currentColor;
  opacity: .45;
}

.section-head__title {
  margin: 0;
  max-width: 24ch;
}

.section-head__note {
  font-size: 14px;
  line-height: 1.75;
  color: var(--print);
  max-width: 56ch;
}

.band--paper .section-head__index { color: var(--wine); }
.band--paper .section-head__note { color: #4A5C55; }

/* ---------- 10. 档案资料卡 ---------- */
.plate {
  position: relative;
  background: var(--navy);
  border: 1px solid var(--char);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: var(--shadow-plate);
  transition: border-color .2s ease, background-color .2s ease;
}

.plate::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 56px;
  height: 3px;
  background: var(--orange);
  transition: width .22s ease;
}

.plate:hover { border-color: var(--orange); }
.plate:hover::before { width: 104px; }

.plate__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--print);
}

.plate__body {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(242, 235, 221, .82);
}

.band--paper .plate {
  background: var(--paper-lift);
  border-color: #D8CFBD;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .05);
}

.band--paper .plate:hover { border-color: var(--orange); }
.band--paper .plate__label { color: #6B7A72; }
.band--paper .plate__body { color: #31433B; }

/* ---------- 11. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid currentColor;
  border-radius: 1px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.65;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.tag--orange { color: var(--orange); }
.tag--orange:hover { background: var(--orange); color: #0A0D0F; }

.tag--cyan { color: var(--cyan); }
.tag--cyan:hover { background: var(--cyan); color: #05201B; }

.tag--turf {
  color: var(--paper);
  background: rgba(31, 122, 77, .32);
  border-color: var(--turf);
}

.tag--wine {
  color: #FFD7DE;
  background: var(--wine);
  border-color: var(--wine);
}

.tag--amber { color: var(--amber); }

.band--paper .tag--orange { color: #C33C09; }
.band--paper .tag--turf { color: #0C3B2E; background: rgba(31, 122, 77, .14); }

/* ---------- 12. 数据读数 ---------- */
.readout {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.readout__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--cyan);
}

.readout__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--print);
}

.band--paper .readout__value { color: var(--wine); }
.band--paper .readout__label { color: #6B7A72; }

/* ---------- 13. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .06em;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn--primary {
  background: var(--orange);
  color: #0A0D0F;
}

.btn--primary:hover { background: #FF7A46; }

.btn--ghost {
  border-color: rgba(242, 235, 221, .35);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.band--paper .btn--ghost {
  border-color: #B9AE99;
  color: var(--pine);
}

.band--paper .btn--ghost:hover {
  border-color: var(--wine);
  color: var(--wine);
}

/* ---------- 14. 面包屑 ---------- */
.crumb {
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--print);
}

.crumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crumb__list > li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(242, 235, 221, .28);
}

.crumb__link {
  color: rgba(242, 235, 221, .72);
  transition: color .18s ease;
}

.crumb__link:hover { color: var(--cyan); }

/* ---------- 15. 图片容器 ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--navy);
  border: 1px solid var(--char);
}

.img-frame--tall { aspect-ratio: 4 / 5; }
.img-frame--wide { aspect-ratio: 21 / 9; }

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

.img-frame__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  background-color: #080D10;
  background-image:
    repeating-linear-gradient(135deg, rgba(61, 245, 212, .07) 0 2px, transparent 2px 12px),
    linear-gradient(162deg, #0F2A24 0%, #080D10 72%);
  color: rgba(242, 235, 221, .5);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  line-height: 1.9;
}

.img-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(0deg, rgba(8, 13, 16, .92), rgba(8, 13, 16, 0));
  font-size: 12px;
  line-height: 1.5;
  color: var(--paper);
}

/* ---------- 16. 页面侧边目录协议 ---------- */
[data-spy-link] {
  display: block;
  padding: 8px 12px 8px 16px;
  border-left: 2px solid var(--char);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(242, 235, 221, .62);
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

[data-spy-link]:hover {
  color: var(--paper);
  border-left-color: var(--orange);
}

[data-spy-link][aria-current="true"] {
  color: var(--cyan);
  border-left-color: var(--cyan);
  background: rgba(61, 245, 212, .07);
}

.band--paper [data-spy-link] {
  color: #5A6B63;
  border-left-color: #D8CFBD;
}

.band--paper [data-spy-link]:hover {
  color: var(--pine);
  border-left-color: var(--orange);
}

.band--paper [data-spy-link][aria-current="true"] {
  color: var(--wine);
  border-left-color: var(--wine);
  background: rgba(122, 34, 56, .06);
}

/* ---------- 17. 响应式：平板与手机 ---------- */
@media (max-width: 1023px) {
  :root {
    --rail-w: 0px;
    --topbar-h: 80px;
    --gutter: clamp(18px, 5vw, 34px);
  }

  body { font-size: 16px; }

  .brand-rail { display: none; }

  .topbar { left: 0; }

  .topbar__layer {
    height: 24px;
    font-size: 10px;
    letter-spacing: .08em;
  }

  .topbar__hint { display: none; }

  .topbar__bar {
    height: 56px;
    gap: 14px;
  }

  .brand-inline { display: inline-flex; }

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

  .primary-nav {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    display: none;
    margin-left: 0;
    padding: 10px var(--gutter) 24px;
    background: var(--ink);
    border-bottom: 1px solid var(--orange);
    box-shadow: 0 26px 44px -28px #000;
    max-height: calc(100vh - var(--topbar-h));
    overflow-y: auto;
  }

  .primary-nav[data-open] { display: block; }

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

  .primary-nav__item { width: 100%; }

  .primary-nav__link {
    display: block;
    padding: 15px 0;
    font-size: 16px;
    letter-spacing: .04em;
    border-bottom: 1px solid var(--char);
  }

  .primary-nav__link::after { bottom: 0; height: 2px; }

  .scroll-progress { height: 2px; }

  .skip-link { left: 16px; }
}

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

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

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

  .footer__summary { max-width: 46ch; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(34px, 10vw, 56px); }
  h2 { font-size: clamp(26px, 7.4vw, 38px); }

  .footer__nav { grid-template-columns: minmax(0, 1fr); gap: 26px; }

  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
    letter-spacing: .1em;
  }

  .btn { width: 100%; }
}

/* ---------- 18. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .scroll-progress { transition: none; }
}
