/* ==========================================================================
   皇冠体彩彩讯 — 共享样式表 /assets/site.css
   框架式导轨导航 · 深墨绿承重 · 鎏金刻度 · 精密网格
   ========================================================================== */

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

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

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

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

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

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

a { color: inherit; }

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 品牌色 */
  --ink: #0A2A22;
  --ink-2: #103B31;
  --pine: #1E5A49;
  --gold: #C9A24D;
  --gold-hi: #E6CC86;
  --red: #C43B2E;
  --paper: #F7F9F5;
  --line: #DDE5DF;
  --char: #101A16;
  --mist: #8FA39A;

  /* 尺寸与节奏 */
  --rail-w: 268px;
  --topbar-h: 60px;
  --shell: 1320px;
  --gut: clamp(18px, 3.4vw, 52px);
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* 字体 */
  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-index: "Inter Tight", "Roboto Condensed", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

/* ---------- 3. 基础排版 ---------- */
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.78;
  color: var(--char);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.012em;
}

/* ---------- 4. 可访问性工具 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 400;
  padding: 12px 22px;
  background: var(--gold);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 2px;
  transform: translateY(-220%);
  transition: transform 0.24s var(--ease);
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
  box-shadow: 0 0 0 4px rgba(10, 42, 34, 0.16);
}

/* ---------- 5. 桌面框架：导轨占据左侧边框 ---------- */
@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
}

/* ---------- 6. 顶部粘性横条 ---------- */
.site-header {
  position: relative;
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  min-height: var(--topbar-h);
  padding: 0 clamp(16px, 2.4vw, 30px);
  background: rgba(10, 42, 34, 0.97);
  color: var(--paper);
  border-bottom: 1px solid rgba(201, 162, 77, 0.32);
}

.topbar__id {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.topbar__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--paper);
  white-space: nowrap;
}

.topbar__latin {
  font-family: var(--font-index);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}

.topbar__ruler {
  flex: 1 1 40px;
  min-width: 20px;
  height: 9px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(201, 162, 77, 0.55) 0 1px,
    transparent 1px 12px
  );
  background-repeat: repeat-x;
  background-position: left center;
  opacity: 0.85;
}

.topbar__actions {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 14px;
  background: transparent;
  color: var(--gold-hi);
  border: 1px solid rgba(201, 162, 77, 0.5);
  border-radius: 2px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease);
}

.nav-toggle:hover {
  background: rgba(201, 162, 77, 0.14);
  border-color: var(--gold);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1px;
  background: currentColor;
}

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

/* ---------- 7. 左侧品牌导轨 ---------- */
.site-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: var(--rail-w);
  padding: 34px 20px 26px 26px;
  background: var(--ink);
  color: var(--paper);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.site-rail::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(201, 162, 77, 0.75) 0 1px,
    transparent 1px 11px
  );
  opacity: 0.32;
  pointer-events: none;
}

.rail__close {
  display: none;
  position: absolute;
  top: 15px;
  right: 15px;
  width: 42px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--gold-hi);
  border: 1px solid rgba(201, 162, 77, 0.48);
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.rail__close:hover { background: rgba(201, 162, 77, 0.14); }

.rail__brand {
  position: relative;
  padding-bottom: 20px;
}

.rail__brand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 77, 0));
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 21px;
  letter-spacing: 0.05em;
  color: var(--paper);
}

.brand__line {
  margin-top: 9px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--mist);
  line-height: 1.7;
}

/* 导轨纵向导航 */
.rail-nav { flex: 0 0 auto; }

.rail-nav__list {
  display: grid;
  gap: 2px;
}

.rail-nav__link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 12px 11px 10px;
  color: rgba(247, 249, 245, 0.72);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-left: 2px solid transparent;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.rail-nav__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--gold);
  opacity: 0.7;
  min-width: 20px;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}

.rail-nav__label { min-width: 0; }

.rail-nav__link:hover,
.rail-nav__link:focus-visible {
  color: var(--gold-hi);
  background: rgba(201, 162, 77, 0.09);
  border-left-color: var(--gold);
}

.rail-nav__link:hover .rail-nav__num,
.rail-nav__link:focus-visible .rail-nav__num { opacity: 1; }

.rail-nav__link[aria-current="page"] {
  color: var(--gold-hi);
  background: linear-gradient(90deg, rgba(201, 162, 77, 0.18), rgba(201, 162, 77, 0));
  border-left-color: var(--gold);
}

.rail-nav__link[aria-current="page"] .rail-nav__num {
  color: var(--gold-hi);
  opacity: 1;
}

.rail-nav__link[aria-current="page"] .rail-nav__label::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 9px;
  vertical-align: middle;
  background: var(--red);
  border-radius: 50%;
}

/* 导轨底部入口 */
.rail__foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(221, 229, 223, 0.14);
}

.rail__kid {
  display: block;
  padding: 8px 0;
  color: rgba(247, 249, 245, 0.7);
  font-size: 13.5px;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.rail__kid:hover,
.rail__kid:focus-visible {
  color: var(--gold-hi);
  padding-left: 5px;
}

.rail__note {
  margin-top: 12px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.rail__num {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--gold-hi);
}

/* 遮罩：仅移动抽屉打开时出现 */
.rail-scrim { display: none; }

/* ---------- 8. 移动端抽屉 ---------- */
@media (max-width: 1023px) {
  .site-rail {
    width: min(330px, 88vw);
    padding-top: 68px;
    transform: translateX(-104%);
    box-shadow: none;
    transition: transform 0.36s var(--ease), box-shadow 0.36s var(--ease);
  }

  .site-header[data-open] .site-rail {
    transform: translateX(0);
    box-shadow: 26px 0 70px rgba(0, 0, 0, 0.44);
  }

  .rail__close { display: inline-flex; }

  .site-header[data-open] .rail-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(10, 26, 22, 0.58);
  }

  body.is-nav-open { overflow: hidden; }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }

  .topbar__actions { display: flex; }
}

/* ---------- 9. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 116px);
  background-color: var(--ink);
  background-image:
    radial-gradient(110% 130% at 10% 0%, rgba(30, 90, 73, 0.62), rgba(10, 42, 34, 0) 62%),
    radial-gradient(90% 120% at 92% 100%, rgba(201, 162, 77, 0.1), rgba(10, 42, 34, 0) 58%);
  color: var(--paper);
  border-top: 1px solid rgba(201, 162, 77, 0.38);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 3.2vw, 48px);
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) var(--gut) 0;
}

.footer__brand {
  min-width: 0;
}

.footer__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: 0.05em;
  color: var(--paper);
}

.footer__summary {
  margin-top: 14px;
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(247, 249, 245, 0.66);
}

.footer__stamp {
  margin-top: 18px;
  font-family: var(--font-index);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

.footer__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--gold);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 162, 77, 0.28);
}

.footer__list { margin-top: 14px; display: grid; gap: 3px; }

.footer__link {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(247, 249, 245, 0.78);
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer__link:hover,
.footer__link:focus-visible {
  color: var(--gold-hi);
  transform: translateX(4px);
}

.footer__col--contact .btn { margin-top: 18px; }

.footer__list--meta { gap: 0; }

.footer__list--meta li {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.7;
  border-bottom: 1px dashed rgba(221, 229, 223, 0.12);
}

.footer__key {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.footer__val {
  color: rgba(247, 249, 245, 0.8);
  word-break: break-word;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  justify-content: space-between;
  max-width: var(--shell);
  margin: clamp(32px, 4vw, 54px) auto 0;
  padding: 20px var(--gut) 28px;
  border-top: 1px solid rgba(221, 229, 223, 0.14);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.footer__icp { font-family: var(--font-mono); font-size: 11.5px; }
.footer__copy { font-size: 12px; }

/* ---------- 10. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.btn--gold {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: var(--ink);
  border-color: rgba(230, 204, 134, 0.9);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: linear-gradient(180deg, #f0dda4, var(--gold-hi));
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--gold-hi);
  border-color: rgba(201, 162, 77, 0.48);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(201, 162, 77, 0.14);
  border-color: var(--gold);
  color: var(--gold-hi);
}

.btn--ink {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn--ink:hover,
.btn--ink:focus-visible {
  background: var(--pine);
  border-color: var(--pine);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
}

/* ---------- 11. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.crumbs a {
  color: var(--pine);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.crumbs a:hover,
.crumbs a:focus-visible { color: var(--gold); }

.crumbs__sep {
  color: var(--line);
  font-size: 11px;
}

.crumbs__current {
  color: var(--char);
  font-weight: 500;
}

.crumbs--on-dark { color: rgba(247, 249, 245, 0.6); }
.crumbs--on-dark a { color: var(--gold-hi); }
.crumbs--on-dark .crumbs__sep { color: rgba(221, 229, 223, 0.32); }
.crumbs--on-dark .crumbs__current { color: var(--paper); }

/* ---------- 12. 容器与网格 ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.container--wide {
  max-width: calc(var(--shell) + 90px);
}

.section {
  padding-block: clamp(44px, 6.4vw, 96px);
}

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 13. 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}

.card--dark {
  background: var(--ink-2);
  border-color: rgba(201, 162, 77, 0.26);
  color: var(--paper);
}

.card--dark .section-title { color: var(--paper); }
.card--dark p { color: rgba(247, 249, 245, 0.72); }

.card--line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.46s var(--ease);
}

.card--line:hover::after,
.card--line:focus-within::after {
  transform: scaleX(1);
}

/* ---------- 14. 排版组件 ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--char);
}

.section-title--on-dark { color: var(--paper); }

.lede {
  max-width: 62ch;
  font-size: clamp(15px, 1.4vw, 17.5px);
  line-height: 1.85;
  color: #3A4A43;
}

.prose {
  font-size: 16.5px;
  line-height: 1.9;
  color: #2C3A34;
}

.prose > * + * { margin-top: 1.05em; }

.prose h2,
.prose h3 {
  margin-top: 1.9em;
  font-family: var(--font-display);
  color: var(--char);
}

.prose h2 { font-size: clamp(21px, 2.2vw, 28px); }
.prose h3 { font-size: clamp(17px, 1.7vw, 21px); }

.prose ul,
.prose ol {
  padding-left: 0;
  display: grid;
  gap: 0.55em;
}

.prose li {
  position: relative;
  padding-left: 20px;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.prose ol { counter-reset: prose; }

.prose ol li::before {
  counter-increment: prose;
  content: counter(prose, decimal-leading-zero);
  top: 0;
  width: auto;
  height: auto;
  background: none;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.prose a {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(30, 90, 73, 0.4);
}

.prose a:hover { color: var(--gold); }

/* ---------- 15. 可复用图片容器 ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid rgba(201, 162, 77, 0.22);
  background-color: var(--ink-2);
  background-image:
    linear-gradient(140deg, rgba(30, 90, 73, 0.9), rgba(10, 42, 34, 0.96)),
    repeating-linear-gradient(90deg, rgba(201, 162, 77, 0.16) 0 1px, transparent 1px 30px);
}

.media > img,
.media > picture,
.media > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 4 / 5; }

.media__tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 7px 14px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 26px 18px 14px;
  background: linear-gradient(180deg, rgba(10, 42, 34, 0), rgba(10, 42, 34, 0.86));
  color: rgba(247, 249, 245, 0.9);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

/* ---------- 16. JS 产生的组件 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 300;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.to-top {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 260;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  background: var(--ink);
  color: var(--gold-hi);
  border: 1px solid rgba(201, 162, 77, 0.5);
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s var(--ease);
}

.to-top:hover { background: var(--ink-2); border-color: var(--gold); }

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 17. 平板 / 桌面增量 ---------- */
@media (min-width: 720px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 1080px) {
  .footer__grid {
    grid-template-columns: minmax(250px, 1.5fr) minmax(140px, 0.8fr) minmax(150px, 0.8fr) minmax(260px, 1.3fr);
    align-items: start;
  }
  .footer__brand { grid-column: auto; }
}

/* ---------- 18. 减少动效 ---------- */
@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;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .to-top { transition: none; }
}
