/* ==========================================================================
   欧凯赛场 · 共享站点样式
   文件：/assets/site.css
   职责：reset / CSS 变量 / 中文排版 / 页头 / 页脚 / 通用按钮
         面包屑 / 正文容器 / 网格 / 基础组件 / 图片容器 / 响应式
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --space: #0B1E2D;
  --space-deep: #071620;
  --space-lift: #12293A;
  --orange: #FF5A1F;
  --orange-lift: #FF7440;
  --orange-ink: #08151F;
  --green: #2ECC71;
  --yellow: #FFD166;
  --rock: #3E474C;
  --moss: #5F7F5B;
  --clay: #B85C3E;
  --cream: #F4EBDD;
  --cream-card: #FBF5EA;
  --cream-dim: #E7DCCA;
  --cyan: #9CD8D5;
  --ink: #11181D;

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

  --shell: 1320px;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --cut: 18px;
  --ease: cubic-bezier(.22, .68, .32, 1);
  --line-dark: rgba(156, 216, 213, .18);
  --line-light: rgba(62, 71, 76, .16);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .38vw + .93rem, 1.0625rem);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: .004em;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.015em;
}
p { margin: 0; }
p + p { margin-top: .9em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg, video { display: block; max-width: 100%; }
table { width: 100%; border-collapse: collapse; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
::selection { background: var(--orange); color: var(--orange-ink); }

/* ---------- 3. 壳层与工具类 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.rule {
  height: 6px;
  border: 0;
  margin-block: clamp(1.5rem, 3vw, 2.5rem);
  background: repeating-linear-gradient(-45deg, rgba(11, 30, 45, .18) 0 1px, transparent 1px 9px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clay);
}
.eyebrow::before {
  content: "";
  width: 16px; height: 2px;
  background: var(--orange);
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: .5rem; left: .5rem;
  z-index: 300;
  padding: .7rem 1.15rem;
  background: var(--orange);
  color: var(--orange-ink);
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transform: translateY(-200%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 5. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--space);
  color: var(--cream);
  border-bottom: 1px solid var(--line-dark);
}

.header-strip {
  background: var(--space-deep);
  border-bottom: 1px solid rgba(156, 216, 213, .1);
  max-height: 3rem;
  overflow: hidden;
  transition: max-height .28s var(--ease), opacity .2s var(--ease);
}
.site-header[data-condensed] .header-strip {
  max-height: 0;
  opacity: 0;
}
.header-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .38rem;
}
.header-strip__meta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244, 235, 221, .58);
}
.header-strip__meta--end {
  text-align: right;
  letter-spacing: .12em;
}
.header-strip__dot {
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: .5rem;
  background: var(--green);
  transform: rotate(45deg);
}

.header-main { background: var(--space); }
.header-main__inner {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2.2vw, 2.4rem);
  padding-block: clamp(.7rem, 1.4vw, 1rem);
  transition: padding-block .28s var(--ease);
}
.site-header[data-condensed] .header-main__inner {
  padding-block: .55rem;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  flex: none;
}
.brand__mark {
  display: block;
  width: 40px; height: 40px;
  flex: none;
  background:
    repeating-linear-gradient(90deg, var(--space) 0 3px, transparent 3px 8px),
    var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
  transition: transform .22s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-4deg); }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--cream);
}
.brand__sub {
  margin-top: .34rem;
  font-family: var(--font-mono);
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--cyan);
}
.brand--footer .brand__name { font-size: 1.2rem; }

/* 主导航 */
.nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.8rem);
  min-width: 0;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(.85rem, 1.7vw, 1.75rem);
}
.nav__list--end { margin-left: auto; }
.nav__link {
  position: relative;
  display: inline-block;
  padding: .45rem .1rem;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: rgba(244, 235, 221, .76);
  transition: color .18s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .1rem;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s var(--ease);
}
.nav__link:hover { color: var(--cream); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--orange); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex: none;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.2rem;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  border: 1px solid transparent;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), border-color .18s var(--ease);
}
.btn--signal {
  background: var(--orange);
  color: var(--orange-ink);
}
.btn--signal:hover {
  background: var(--orange-lift);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(156, 216, 213, .42);
}
.btn--ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}
.btn--dark {
  background: var(--space);
  color: var(--cream);
}
.btn--dark:hover { background: var(--space-lift); }
.btn--full { width: 100%; }

/* 移动按钮 */
.nav-toggle {
  position: relative;
  z-index: 96;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  flex: none;
  color: var(--cream);
  border: 1px solid rgba(156, 216, 213, .38);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: border-color .18s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); }
.nav-toggle__bar {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  transition: transform .24s var(--ease), opacity .18s var(--ease), background .18s var(--ease);
}
.nav-toggle__bar:first-child { background: var(--orange); }
.site-header[data-open] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--orange);
}
.site-header[data-open] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 阅读进度 */
.scroll-meter {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: rgba(156, 216, 213, .14);
  pointer-events: none;
}
.scroll-meter__fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
}

/* 轮次条 */
.round-bar {
  background: var(--space-deep);
  border-top: 1px solid var(--line-dark);
}
.round-bar__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.round-bar__inner::-webkit-scrollbar { display: none; }
.round-bar__label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  flex: none;
  font-family: var(--font-mono);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244, 235, 221, .55);
}
.round-bar__label-num { color: var(--yellow); }
.round-bar__list {
  display: flex;
  align-items: center;
  gap: .3rem;
  flex: none;
}
.round-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .5rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(244, 235, 221, .7);
  background: rgba(156, 216, 213, .06);
  border: 1px solid rgba(156, 216, 213, .18);
  transition: color .16s var(--ease), background .16s var(--ease), border-color .16s var(--ease);
}
.round-chip:hover {
  color: var(--cyan);
  border-color: rgba(156, 216, 213, .5);
}
.round-chip[data-status="open"] {
  color: var(--orange-ink);
  background: var(--orange);
  border-color: var(--orange);
}
.round-chip__tag {
  font-family: var(--font-body);
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding-left: .28rem;
  border-left: 1px solid rgba(8, 21, 31, .3);
}
.round-bar__more {
  margin-left: auto;
  flex: none;
  padding-bottom: .12rem;
  font-family: var(--font-mono);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--cyan);
  border-bottom: 1px solid rgba(156, 216, 213, .45);
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.round-bar__more:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

/* 遮罩 */
.nav-scrim {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 92;
  background: rgba(4, 12, 18, .64);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s var(--ease);
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-top: clamp(2.4rem, 4.5vw, 3.6rem);
  background: var(--space);
  color: var(--cream);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange) 0 22%, var(--yellow) 22% 30%, rgba(156, 216, 213, .35) 30% 46%, transparent 46%);
}
.site-footer::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: clamp(120px, 26vw, 360px);
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 90, 31, .1), transparent 72%);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr .75fr 1.15fr .8fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.footer-brand { min-width: 0; }
.footer-brand__line {
  margin-top: 1.15rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--cream);
}
.footer-brand__summary {
  margin-top: .45rem;
  max-width: 30ch;
  font-size: .9375rem;
  line-height: 1.7;
  color: rgba(244, 235, 221, .68);
}
.to-top {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.25rem;
  padding: .5rem .85rem;
  font-family: var(--font-mono);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--cyan);
  border: 1px solid rgba(156, 216, 213, .32);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.to-top::before { content: "↑"; font-size: .8125rem; }
.to-top:hover {
  background: var(--cyan);
  color: var(--space);
}
.footer-col { min-width: 0; }
.footer-col__title {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.footer-col__title::before {
  content: "";
  width: 14px; height: 2px;
  background: var(--orange);
}
.footer-list { display: flex; flex-direction: column; }
.footer-list li {
  padding: .42rem 0;
  border-bottom: 1px dashed rgba(156, 216, 213, .14);
}
.footer-list li:last-child { border-bottom: 0; }
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(244, 235, 221, .76);
  transition: color .16s var(--ease), transform .16s var(--ease);
}
.footer-link::before {
  content: "";
  width: 5px; height: 5px;
  flex: none;
  background: rgba(156, 216, 213, .45);
  transform: rotate(45deg);
  transition: background .16s var(--ease);
}
.footer-link:hover {
  color: var(--orange);
  transform: translateX(3px);
}
.footer-link:hover::before { background: var(--orange); }
.footer-list--data li { border-bottom-style: solid; }
.footer-list__k {
  display: block;
  font-family: var(--font-mono);
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(244, 235, 221, .42);
}
.footer-list__v {
  display: block;
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--cream);
  overflow-wrap: break-word;
}
.footer-feedback {
  margin-top: 1rem;
  max-width: 46ch;
  padding-left: .8rem;
  font-size: .8125rem;
  line-height: 1.65;
  color: rgba(244, 235, 221, .58);
  border-left: 2px solid var(--moss);
}
.footer-contact-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 1.1rem;
  padding: .48rem .8rem;
  font-family: var(--font-mono);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--orange);
  border: 1px solid rgba(255, 90, 31, .45);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.footer-contact-cta:hover {
  background: var(--orange);
  color: var(--orange-ink);
}
.footer-base {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.6rem;
  padding-block: 1.1rem 1.5rem;
  border-top: 1px solid rgba(156, 216, 213, .16);
}
.footer-base__meta {
  font-family: var(--font-mono);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: rgba(244, 235, 221, .5);
}
.footer-base__meta--end { margin-left: auto; }

/* ---------- 7. 通用内容组件 ---------- */
.section { padding-block: clamp(2.4rem, 5vw, 4.5rem); }
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .6rem 1rem;
  margin-bottom: clamp(1.2rem, 2.4vw, 2rem);
}
.section__num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--clay);
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.section__lede {
  flex: 1 1 22rem;
  min-width: 0;
  font-size: .9375rem;
  color: var(--rock);
}

.panel {
  position: relative;
  padding: clamp(1.1rem, 2vw, 1.7rem);
  background: var(--cream-card);
  color: var(--ink);
}
.panel--cut {
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.panel--cut::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--clay);
}
.panel--dark {
  background: var(--space);
  color: var(--cream);
}
.panel--dark::before { background: var(--orange); }
.panel--dark .section__lede { color: rgba(244, 235, 221, .7); }

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

.breadcrumbs {
  padding-block: 1rem;
  font-family: var(--font-mono);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--rock);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.breadcrumbs li + li::before {
  content: "/";
  margin-right: .35rem;
  color: var(--clay);
}
.breadcrumbs a {
  color: var(--moss);
  border-bottom: 1px solid transparent;
  transition: border-color .16s var(--ease);
}
.breadcrumbs a:hover { border-color: var(--moss); }

.prose {
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink);
}
.prose > * + * { margin-top: 1em; }
.prose h2 {
  margin-top: 1.8em;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}
.prose h3 {
  margin-top: 1.5em;
  font-size: 1.05rem;
  letter-spacing: 0;
}
.prose ul, .prose ol {
  padding-left: 1.2em;
  list-style: disc;
}
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose a {
  color: var(--clay);
  border-bottom: 1px solid rgba(184, 92, 62, .4);
}
.prose a:hover { border-color: var(--clay); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .55rem;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--moss);
  background: rgba(95, 127, 91, .13);
  border: 1px solid rgba(95, 127, 91, .34);
}
.tag--signal {
  color: #B8370C;
  background: rgba(255, 90, 31, .13);
  border-color: rgba(255, 90, 31, .4);
}
.tag--dark {
  color: var(--cyan);
  background: rgba(156, 216, 213, .12);
  border-color: rgba(156, 216, 213, .34);
}

.data-bar {
  display: grid;
  grid-template-columns: minmax(4.5rem, 7rem) 1fr minmax(3rem, auto);
  align-items: center;
  gap: .75rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.data-bar__track {
  position: relative;
  height: 8px;
  background: rgba(11, 30, 45, .1);
  overflow: hidden;
}
.data-bar__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--orange);
}
.data-bar--green .data-bar__fill { background: var(--green); }
.data-bar--yellow .data-bar__fill { background: var(--yellow); }

/* 图片容器 */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--cream-dim);
  background-image: repeating-linear-gradient(135deg, rgba(11, 30, 45, .06) 0 10px, transparent 10px 20px);
}
.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 4 / 5; }
.media--fill { aspect-ratio: auto; height: 100%; }
.media__caption {
  position: absolute;
  left: 0; bottom: 0;
  padding: .32rem .65rem;
  font-family: var(--font-mono);
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--cream);
  background: var(--space);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%);
}

/* 显现协议 */
[data-reveal] { opacity: 1; }
html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}
html.js-reveal [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

/* ---------- 8. 平板 ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand__summary { max-width: 46ch; }
}
@media (max-width: 980px) {
  .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: span 6; }
}

/* ---------- 9. 移动导航与大断点 ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  body.is-nav-open { overflow: hidden; }
  .nav-scrim { display: block; }
  .site-header[data-open] .nav-scrim {
    opacity: 1;
    pointer-events: auto;
  }
  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    z-index: 95;
    width: min(86vw, 380px);
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 5.5rem var(--gutter) 2rem;
    overflow-y: auto;
    background: var(--space);
    border-left: 1px solid rgba(156, 216, 213, .28);
    box-shadow: -28px 0 70px rgba(4, 12, 18, .55);
    transform: translateX(101%);
    visibility: hidden;
    transition: transform .28s var(--ease), visibility .28s linear;
  }
  .site-header[data-open] .nav {
    transform: translateX(0);
    visibility: visible;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__list--end {
    margin-left: 0;
    margin-top: .4rem;
    padding-top: .4rem;
    border-top: 1px dashed rgba(156, 216, 213, .28);
  }
  .nav__link {
    display: block;
    padding: .95rem .1rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(156, 216, 213, .1);
  }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] {
    color: var(--orange);
    padding-left: .8rem;
    box-shadow: inset 3px 0 0 var(--orange);
  }
  .nav__cta {
    display: block;
    margin-top: 1.4rem;
  }
  .nav__cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- 10. 手机 ---------- */
@media (max-width: 620px) {
  .grid--12 { grid-template-columns: 1fr; }
  .grid--12 > * { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-strip__meta--end { display: none; }
  .brand__sub { display: none; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 1.05rem; }
  .footer-base { gap: .4rem 1rem; }
  .footer-base__meta--end { margin-left: 0; }
  .section__lede { flex-basis: 100%; }
}

@media (max-width: 420px) {
  .brand__text { display: none; }
}

/* ---------- 11. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal],
  html.js-reveal [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .brand:hover .brand__mark,
  .footer-link:hover,
  .btn--signal:hover {
    transform: none;
  }
}
