/* ============================================================
   即胜体育 / 2026 EDITION — /assets/site.css
   共享层：reset、变量、中文排版、头部、页脚、按钮、网格、基础组件
   ============================================================ */

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

html, body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, picture, video { max-width: 100%; }
button { font: inherit; color: inherit; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #070B0A;
  --ink-2: #0E1F19;
  --panel: #143027;
  --panel-hi: #1B3B30;
  --line: #2C5647;
  --fog: #F3F7F2;
  --muted: #AFC2B7;
  --lime: #C8FF3E;
  --lime-dim: #8FB82E;
  --orange: #FF8A3D;
  --on-lime: #08110D;

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;

  --maxw: 1320px;
  --gutter: clamp(16px, 4vw, 48px);

  --font-head: 'Barlow Condensed', 'Oswald', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- 3. 中文排版与全局 ---------- */
html {
  scroll-padding-top: 140px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--ink);
  color: var(--fog);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

main { display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--fog);
}
h1 { font-size: clamp(36px, 5vw, 78px); }
h2 { font-size: clamp(26px, 3vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.2; }
h4 { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.3; letter-spacing: 0; }

p { max-width: 72ch; }
p + p { margin-top: 1em; }

a { color: var(--lime); text-decoration-thickness: 1px; text-underline-offset: 3px; }

strong { font-weight: 700; color: var(--fog); }
small { font-size: 13px; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

::selection { background: var(--lime); color: var(--on-lime); }

/* ---------- 4. 工具类 ---------- */
.mono {
  font-family: var(--font-mono);
  letter-spacing: .06em;
}

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

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}

.index-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--lime);
}

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

.tactical-grid {
  background-image:
    linear-gradient(rgba(44, 86, 71, .32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 86, 71, .32) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center;
}

/* ---------- 5. 布局 ---------- */
.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--maxw));
  margin-inline: auto;
}

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

.grid { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-full { grid-column: 1 / -1; }

/* ---------- 6. 堆叠画板 ---------- */
.panel {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: clamp(20px, 3vw, 36px);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.panel--raised { background: var(--panel); }
.panel--float {
  background: var(--panel-hi);
  border-color: rgba(200, 255, 62, .26);
  box-shadow: 0 28px 64px -34px rgba(0, 0, 0, .95);
}
.panel--float:hover { border-color: var(--lime); }

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-title {
  font-family: var(--font-head);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0;
}

.panel-body > * + * { margin-top: 14px; }

/* ---------- 7. 按钮与链接 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .06em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s var(--ease), color .16s var(--ease),
              border-color .16s var(--ease), transform .16s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-lime { background: var(--lime); color: var(--on-lime); }
.btn-lime:hover { background: var(--lime-dim); color: var(--on-lime); }

.btn-ghost { background: transparent; border-color: var(--line); color: var(--fog); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

.btn-orange { background: var(--orange); color: #0B0A08; }
.btn-orange:hover { background: #FFA468; }

.btn-sm { padding: 9px 14px; font-size: 11px; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .06em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.arrow-link::after { content: "→"; transition: transform .16s var(--ease); }
.arrow-link:hover,
.arrow-link:focus-visible { color: var(--fog); border-bottom-color: var(--fog); }
.arrow-link:hover::after,
.arrow-link:focus-visible::after { transform: translateX(5px); }

/* ---------- 8. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 48, 39, .7);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .08em;
}
.tag-lime {
  color: var(--lime);
  border-color: rgba(200, 255, 62, .5);
  background: rgba(200, 255, 62, .08);
}
.tag-orange {
  color: var(--orange);
  border-color: rgba(255, 138, 61, .5);
  background: rgba(255, 138, 61, .1);
}

/* ---------- 9. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .06em;
  color: var(--muted);
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.crumbs a:hover,
.crumbs a:focus-visible { color: var(--lime); border-bottom-color: var(--lime); }
.crumbs [aria-current="page"] { color: var(--fog); }
.crumbs > span[aria-hidden] { color: var(--line); }

/* ---------- 10. 图片容器基础规则 ---------- */
.figure { margin: 0; }

.figure-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background:
    radial-gradient(120% 120% at 18% 0%, rgba(27, 59, 48, .95), rgba(10, 21, 18, 1)),
    var(--panel);
  background-image:
    linear-gradient(rgba(44, 86, 71, .28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 86, 71, .28) 1px, transparent 1px),
    radial-gradient(120% 120% at 18% 0%, rgba(27, 59, 48, .95), rgba(10, 21, 18, 1));
  background-size: 28px 28px, 28px 28px, cover;
}
.figure-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(7, 11, 10, .22) 0 1px, transparent 1px 4px);
}
.figure-media img,
.figure-media picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.06) brightness(.92);
}

.figure-media--clip { clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%); }

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

.figure-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ---------- 11. 跳转链接 / 阅读进度 ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 120;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  background: var(--lime);
  color: var(--on-lime);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .06em;
  text-decoration: none;
  transform: translate(-50%, -140%);
  transition: transform .18s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translate(-50%, 0); }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(200, 255, 62, .55);
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  pointer-events: none;
  z-index: 80;
}

/* ---------- 12. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(14, 31, 25, .98), rgba(7, 11, 10, .95));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-rail {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  padding: 8px var(--gutter);
  border-bottom: 1px solid rgba(44, 86, 71, .55);
  background: rgba(8, 17, 13, .6);
}

.rail-mark {
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
  white-space: nowrap;
}

.rail-path {
  flex: 1 1 auto;
  height: 1px;
  min-width: 24px;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 14px);
}

.rail-note {
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .16em;
  color: var(--muted);
  white-space: nowrap;
}

.header-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 32px);
  padding-block: clamp(12px, 1.6vw, 18px);
}

.brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  color: var(--fog);
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.01em;
  transition: color .18s var(--ease);
}
.brand:hover .brand-name,
.brand:focus-visible .brand-name { color: var(--lime); }

.brand-meta { display: flex; flex-direction: column; gap: 4px; }

.brand-edition {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-version {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .12em;
  color: var(--lime);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .08em;
  cursor: pointer;
  transition: border-color .18s var(--ease), color .18s var(--ease), background-color .18s var(--ease);
}
.nav-toggle:hover,
.nav-toggle:focus-visible { border-color: var(--lime); color: var(--lime); }
.nav-toggle[aria-expanded="true"] { border-color: var(--lime); color: var(--ink); background: var(--lime); }

.nav-toggle-bars { display: grid; gap: 4px; width: 18px; }

.nav-toggle-bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .18s var(--ease), opacity .18s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-toggle-text { white-space: nowrap; }

.site-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.2vw, 30px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 2px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: color .18s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 2px;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.nav-link:hover,
.nav-link:focus-visible { color: var(--fog); }
.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }

.nav-index {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .1em;
  color: var(--lime-dim);
  transition: color .18s var(--ease);
}
.nav-link:hover .nav-index { color: var(--lime); }

.nav-link[aria-current="page"] { color: var(--fog); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); background: var(--orange); }
.nav-link[aria-current="page"] .nav-index { color: var(--orange); }

.nav-utility {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 18px);
  padding-left: clamp(12px, 1.6vw, 20px);
  border-left: 1px solid var(--line);
}

.utility-link {
  padding: 6px 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .1em;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.utility-link:hover,
.utility-link:focus-visible { color: var(--lime); border-bottom-color: var(--lime); }

.nav-cta {
  padding: 10px 16px;
  font-size: 12px;
  white-space: nowrap;
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(48px, 8vw, 120px);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(20, 48, 39, .92), rgba(14, 31, 25, 1) 42%, #091310 100%),
    var(--ink-2);
  color: var(--fog);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(44, 86, 71, .22) 0 1px, transparent 1px 96px);
}
.site-footer > .container { position: relative; z-index: 1; }

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 40px);
  padding-block: clamp(32px, 5vw, 64px) clamp(20px, 3vw, 32px);
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  color: var(--fog);
  text-decoration: none;
}

.footer-brand-name {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  transition: color .18s var(--ease);
}
.footer-brand:hover .footer-brand-name,
.footer-brand:focus-visible .footer-brand-name { color: var(--lime); }

.footer-brand-meta {
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-note {
  max-width: 46ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lime);
}

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

.footer-link {
  display: inline-block;
  padding-block: 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.footer-link:hover,
.footer-link:focus-visible { color: var(--fog); border-bottom-color: var(--lime); }

.footer-lines { display: grid; gap: 8px; }

.footer-contact-line {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .04em;
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 28px);
  padding-block: 22px;
  border-top: 1px solid var(--line);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}

.footer-legal-link {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.footer-legal-link:hover,
.footer-legal-link:focus-visible { color: var(--lime); border-bottom-color: var(--lime); }

.footer-icp,
.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
}

.footer-mark {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 0 var(--gutter) clamp(16px, 2vw, 28px);
  font-size: clamp(36px, 8vw, 110px);
  font-weight: 600;
  line-height: .95;
  letter-spacing: .08em;
  white-space: nowrap;
  color: var(--lime);
  opacity: .08;
  user-select: none;
}

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

/* ---------- 15. 平板 / 移动端 ---------- */
@media (max-width: 1040px) {
  html { scroll-padding-top: 96px; }

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

  .site-nav {
    order: 3;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .24s var(--ease), opacity .2s var(--ease);
  }
  .site-nav[data-open="true"] {
    max-height: min(78vh, 620px);
    opacity: 1;
    overflow-y: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 14px;
    padding-top: 6px;
    border-top: 1px solid var(--line);
  }
  .nav-link {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 14px 2px;
    font-size: 15px;
    border-bottom: 1px solid rgba(44, 86, 71, .6);
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--lime); }

  .nav-utility {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 0 8px;
    border-left: 0;
    padding-left: 0;
  }
  .utility-link { padding-block: 4px; font-size: 12px; }
  .nav-cta { width: 100%; padding-block: 13px; }
}

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

  .grid-2,
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: 1 / -1; }

  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .header-rail { padding-block: 7px; }
  .rail-note { display: none; }
  .brand { gap: 10px; }
  .brand-meta { flex-direction: row; align-items: baseline; gap: 8px; }
  .brand-edition { font-size: 8px; letter-spacing: .14em; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 8px; }
  .panel { padding: 18px; }
}

/* ---------- 16. 打印 ---------- */
@media print {
  body { background: #fff; color: #111; }
  .site-header, .site-footer, .skip-link, .scroll-progress { display: none !important; }
  .panel { border: 1px solid #bbb; background: #fff; box-shadow: none; }
  a { color: #111; }
}

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