/* ============================================================
   聊球APP 品牌站 · 共享外壳样式 /assets/site.css
   结构：令牌 → 重置 → 基础排版 → 布局工具 → 通用组件
        → 头部（轨道/顶栏/抽屉/进度） → 页脚 → 响应式 → 动效
   ============================================================ */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --ink: #071426;
  --ink-soft: #0b1e34;
  --pitch: #167A4A;
  --pitch-deep: #0d5233;
  --paper: #F2EBDD;
  --paper-2: #E2D7C4;
  --cyan: #5CF2D6;
  --orange: #FF8A3D;
  --chalk: #F9FBF7;
  --slate: #3F5B73;
  --moss: #BFE8D2;
  --signal: #C7402D;

  --font-display: "Noto Sans SC", "Source Han 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: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --rail-w: 88px;
  --maxw: 1240px;
  --edge: 48px;
  --ease: cubic-bezier(.3, .8, .2, 1);
  --line-dark: rgba(92, 242, 214, .18);
  --line-light: rgba(7, 20, 38, .14);
}

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

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

body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
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; }
table { border-collapse: collapse; width: 100%; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--chalk);
  background-color: var(--ink);
  background-image: radial-gradient(1200px 700px at 82% -8%, #0d2135 0%, rgba(7, 20, 38, 0) 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, .h1,
h2, .h2,
h3, .h3 {
  font-family: var(--font-display);
  color: inherit;
  text-wrap: balance;
}

h1, .h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.02em;
}

h2, .h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.015em;
}

h3, .h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
}

p { text-wrap: pretty; }

.mono,
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow { color: var(--cyan); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.7;
  color: rgba(249, 251, 247, .8);
  max-width: 44ch;
}

.lede--ink { color: rgba(7, 20, 38, .78); }

.prose { max-width: 38em; }
.prose p + p { margin-top: 1.15em; }
.prose h2, .prose h3 { margin-top: 1.6em; margin-bottom: .6em; }
.prose ul, .prose ol { margin-top: 1em; display: flex; flex-direction: column; gap: .5em; }
.prose li { padding-left: 1.2em; position: relative; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 7px;
  height: 1px;
  background: var(--pitch);
}

.link-underline {
  color: var(--cyan);
  border-bottom: 1px solid rgba(92, 242, 214, .5);
  transition: border-color .18s, color .18s;
}
.link-underline:hover { color: var(--chalk); border-color: var(--chalk); }
.link-underline--ink { color: var(--pitch-deep); border-color: rgba(13, 82, 51, .4); }
.link-underline--ink:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- 4. 布局工具 ---------- */
.container {
  width: min(var(--maxw), calc(100% - var(--edge)));
  margin-inline: auto;
}

.container--narrow { width: min(760px, calc(100% - var(--edge))); }

.section {
  position: relative;
  padding-block: clamp(56px, 8vw, 120px);
}

.section--ink {
  background-color: var(--ink);
  background-image:
    radial-gradient(90% 70% at 88% 0%, rgba(22, 122, 74, .28), rgba(7, 20, 38, 0) 62%),
    radial-gradient(70% 60% at 0% 100%, rgba(255, 138, 61, .12), rgba(7, 20, 38, 0) 60%);
  color: var(--chalk);
}

.section--paper { background: var(--paper); color: var(--ink); }
.section--paper-2 { background: var(--paper-2); color: var(--ink); }

.section--pitch {
  background-image: linear-gradient(150deg, var(--pitch), var(--pitch-deep));
  color: var(--chalk);
}

.section--ink::after,
.section--pitch::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(249, 251, 247, .035) 0 1px, transparent 1px 3px);
  opacity: .55;
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; }

.stack > * + * { margin-top: var(--stack, 1.25rem); }

.hairline { height: 1px; border: 0; background: rgba(92, 242, 214, .22); }
.hairline--ink { background: var(--line-light); }

.cut-seam {
  height: clamp(28px, 4vw, 56px);
  background: var(--pitch);
  clip-path: polygon(0 0, 100% 0, 100% 24%, 0 100%);
}
.cut-seam--paper { background: var(--paper); }

/* ---------- 5. 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .08em;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--orange);
}
.btn--primary:hover { background: #ffa163; border-color: #ffa163; }

.btn--ghost {
  background: transparent;
  color: var(--chalk);
  border-color: rgba(249, 251, 247, .3);
}
.btn--ghost:hover { color: var(--cyan); border-color: var(--cyan); background: rgba(92, 242, 214, .1); }

.btn--rail {
  width: 100%;
  flex-direction: column;
  gap: 2px;
  padding: 8px 6px;
  font-size: 10.5px;
  line-height: 1.3;
  letter-spacing: .02em;
  text-align: center;
}

.label-plate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border: 1px solid rgba(249, 251, 247, .3);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--chalk);
}
.label-plate__idx { color: var(--orange); }
.label-plate--paper { border-color: rgba(7, 20, 38, .24); color: var(--ink); }

.tag {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid rgba(92, 242, 214, .42);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--cyan);
}
.tag--orange { color: var(--orange); border-color: rgba(255, 138, 61, .5); }
.tag--pitch { background: var(--pitch); color: var(--chalk); border-color: transparent; }

.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-light);
  border-radius: 2px;
  box-shadow: 0 24px 48px -40px rgba(7, 20, 38, .95);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.card--dark {
  background: var(--ink-soft);
  color: var(--chalk);
  border-color: var(--line-dark);
}

.card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.35; }

.card__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--pitch-deep);
}
.card--dark .card__meta { color: var(--cyan); }

@media (hover: hover) {
  .card:hover { transform: translateY(-3px); box-shadow: 0 32px 58px -42px rgba(7, 20, 38, 1); }
}

.image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(92, 242, 214, .2);
  border-radius: 2px;
  background-color: var(--ink-soft);
  background-image:
    radial-gradient(120% 100% at 18% 0%, rgba(22, 122, 74, .55), rgba(11, 30, 52, 0) 62%),
    radial-gradient(90% 80% at 92% 100%, rgba(255, 138, 61, .28), rgba(11, 30, 52, 0) 66%);
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.image-frame--wide { aspect-ratio: 21 / 9; }
.image-frame--tall { aspect-ratio: 4 / 5; }

.image-frame__caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .14em;
  color: rgba(249, 251, 247, .88);
  background: rgba(7, 20, 38, .62);
  border: 1px solid rgba(92, 242, 214, .28);
}

.breadcrumbs { margin-bottom: clamp(20px, 3vw, 32px); }

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(249, 251, 247, .58);
}

.breadcrumbs__item { display: flex; align-items: center; gap: 10px; }
.breadcrumbs__item + .breadcrumbs__item::before { content: "/"; color: rgba(92, 242, 214, .6); }
.breadcrumbs__item a { color: var(--cyan); }
.breadcrumbs__item a:hover { text-decoration: underline; }

.breadcrumbs--paper .breadcrumbs__list { color: rgba(7, 20, 38, .6); }
.breadcrumbs--paper .breadcrumbs__item a { color: var(--pitch-deep); }
.breadcrumbs--paper .breadcrumbs__item + .breadcrumbs__item::before { color: rgba(13, 82, 51, .5); }

/* ---------- 6. 头部外壳 ---------- */
.site-header {
  position: relative;
  z-index: 80;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  border-radius: 2px;
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* 移动顶栏（桌面隐藏） */
.topbar { display: none; }

.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--chalk);
}

.topbar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(92, 242, 214, .16);
}

.topbar__edition {
  padding: 3px 6px;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--cyan);
  border: 1px solid rgba(92, 242, 214, .42);
  border-radius: 2px;
}

.nav-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 40px;
  border: 1px solid rgba(92, 242, 214, .34);
  border-radius: 2px;
  color: var(--cyan);
  background: rgba(92, 242, 214, .06);
}

.nav-toggle__bars { display: flex; flex-direction: column; gap: 5px; }
.nav-toggle__bars span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform .24s var(--ease);
}

.nav-toggle__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 轨道（桌面常驻 / 移动抽屉） */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: var(--rail-w);
  height: 100vh;
  height: 100dvh;
  padding: 18px 0 20px;
  overflow-y: auto;
  background-image: linear-gradient(180deg, #0a1b2e 0%, var(--ink) 42%, #06111f 100%);
  border-right: 1px solid var(--line-dark);
  scrollbar-width: thin;
}

.rail-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--chalk);
}

.brand__badge {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(92, 242, 214, .55);
  border-radius: 2px;
  background: rgba(92, 242, 214, .07);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
}

.brand__text { display: flex; flex-direction: column; align-items: center; gap: 2px; }

.brand__cn {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .06em;
}

.brand__en {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .22em;
  color: rgba(249, 251, 247, .55);
}

.rail-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 2px;
  margin-top: 4px;
}

.rail-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 4px;
  border-left: 2px solid transparent;
  color: rgba(249, 251, 247, .62);
  transition: color .2s, background-color .2s, border-color .2s;
}

.rail-nav__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: rgba(92, 242, 214, .48);
  transition: color .2s;
}

.rail-nav__label {
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .02em;
}

.rail-nav__link:hover { color: var(--chalk); background: rgba(92, 242, 214, .08); }

.rail-nav__link[aria-current="page"] {
  color: var(--cyan);
  border-left-color: var(--cyan);
  background-image: linear-gradient(90deg, rgba(92, 242, 214, .16), rgba(92, 242, 214, 0));
}

.rail-nav__link[aria-current="page"] .rail-nav__idx { color: var(--orange); }

.rail__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding: 0 10px;
}

.rail__note {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .3em;
  color: rgba(92, 242, 214, .72);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.rail-scrim {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(4, 10, 20, .64);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}

.site-header[data-open="true"] .rail-scrim { opacity: 1; visibility: visible; }

/* 阅读进度 */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 95;
  height: 3px;
  background: rgba(7, 20, 38, .38);
  pointer-events: none;
}

.read-progress__bar {
  display: block;
  height: 100%;
  background-image: linear-gradient(90deg, var(--pitch), var(--cyan) 62%, var(--orange));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .12s linear;
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  background-image: linear-gradient(180deg, var(--ink) 0%, #04101d 74%);
  border-top: 1px solid var(--line-dark);
  color: var(--chalk);
}

.site-footer__cut {
  height: clamp(30px, 5vw, 64px);
  margin-bottom: clamp(32px, 5vw, 64px);
  background: var(--pitch);
  clip-path: polygon(0 0, 100% 0, 100% 16%, 0 100%);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.5fr .8fr .8fr 1.3fr;
  gap: clamp(24px, 3vw, 48px);
  width: min(var(--maxw), calc(100% - var(--edge)));
  margin-inline: auto;
  padding-bottom: clamp(40px, 6vw, 72px);
}

.footer-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -.01em;
}

.footer-mark span {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .3em;
  color: rgba(92, 242, 214, .75);
}

.site-footer__tagline {
  margin-top: 16px;
  max-width: 26ch;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(249, 251, 247, .7);
}

.site-footer__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.footer-col__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(92, 242, 214, .78);
}

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

.footer-col__list a {
  display: inline-block;
  font-size: 14.5px;
  color: rgba(249, 251, 247, .74);
  transition: color .18s, transform .18s;
}
.footer-col__list a:hover { color: var(--cyan); transform: translateX(3px); }

.footer-contact { display: flex; flex-direction: column; gap: 10px; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  padding: 2px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .02em;
  text-align: left;
  word-break: break-all;
  color: var(--chalk);
  border-bottom: 1px dashed rgba(92, 242, 214, .45);
  transition: color .18s, border-color .18s;
}
.copy-btn:hover { color: var(--cyan); border-color: var(--cyan); }
.copy-btn[data-state="copied"] { color: var(--cyan); border-color: var(--cyan); }
.copy-btn[data-state="copied"]::after {
  content: "已复制";
  margin-left: 4px;
  padding: 1px 6px;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--orange);
  border: 1px solid rgba(255, 138, 61, .55);
}

.footer-address {
  font-size: 14px;
  font-style: normal;
  line-height: 1.7;
  color: rgba(249, 251, 247, .68);
}

.footer-note {
  max-width: 32ch;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(249, 251, 247, .5);
}

.footer-contact__link {
  align-self: flex-start;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--cyan);
  border-bottom: 1px solid rgba(92, 242, 214, .4);
  transition: color .18s, border-color .18s;
}
.footer-contact__link:hover { color: var(--orange); border-color: var(--orange); }

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(var(--maxw), calc(100% - var(--edge)));
  margin-inline: auto;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(249, 251, 247, .12);
}

.footer-legal,
.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(249, 251, 247, .5);
}

.footer-top {
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--cyan);
  border: 1px solid rgba(92, 242, 214, .38);
  border-radius: 2px;
  transition: background-color .18s, color .18s;
}
.footer-top:hover { background: rgba(92, 242, 214, .14); color: var(--chalk); }

/* ---------- 8. 可达性工具 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* ---------- 9. 响应式：桌面（≥960px） ---------- */
@media (min-width: 960px) {
  body { padding-left: var(--rail-w); }
  .read-progress { left: var(--rail-w); }
  .rail-scrim { display: none; }
}

/* ---------- 10. 响应式：平板与手机（<960px） ---------- */
@media (max-width: 959px) {
  :root { --edge: 32px; }

  body { padding-top: 60px; }
  body.nav-open { overflow: hidden; }

  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 60px;
    padding: 0 16px;
    background: rgba(7, 20, 38, .95);
    border-bottom: 1px solid var(--line-dark);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .rail {
    width: min(86vw, 320px);
    align-items: stretch;
    gap: 14px;
    padding: 0 0 24px;
    transform: translateX(-102%);
    transition: transform .32s var(--ease);
    overflow-y: auto;
  }

  .site-header[data-open="true"] .rail { transform: none; }

  .rail-brand {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line-dark);
  }

  .brand__text { align-items: flex-start; }
  .brand__cn { font-size: 14px; }
  .brand__en { font-size: 9px; }

  .rail-nav { gap: 0; margin-top: 0; }

  .rail-nav__link {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 13px 20px;
  }

  .rail-nav__idx { font-size: 11px; }
  .rail-nav__label { font-size: 14px; }

  .rail__actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    padding: 0 20px;
  }

  .btn--rail {
    flex: 1 1 auto;
    width: auto;
    flex-direction: row;
    padding: 10px 12px;
    font-size: 11.5px;
  }

  .rail__note {
    margin-top: 0;
    padding: 0 20px;
    writing-mode: horizontal-tb;
    letter-spacing: .18em;
  }

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

  .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__lead { grid-column: 1 / -1; }
  .footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --edge: 32px; }
  body { font-size: 16.5px; }
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .site-footer__base { justify-content: flex-start; }
  .footer-mark { font-size: 1.7rem; }
}

/* ---------- 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] { opacity: 1 !important; transform: none !important; }
  .read-progress__bar { transition: none !important; }
}
