/* ============================================================
   宝马线娱乐 · site.css
   共享外壳：轨道式页头 / 深色页脚 / 通用组件
   ============================================================ */

:root {
  --navy: #061526;
  --navy-2: #0B3A6F;
  --blue: #1E6BFF;
  --blue-soft: #6FB6FF;
  --ice: #D9E2EC;
  --mist: #F4F7FB;
  --white: #FFFFFF;
  --orange: #FF8A3D;
  --steel: #8A99A8;
  --ink: #0A111A;

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

  --rail-w: 88px;
  --topbar-h: 62px;
  --gutter: clamp(18px, 4vw, 56px);
  --maxw: 1320px;

  --line-soft: rgba(11, 58, 111, .12);
  --line-rail: rgba(111, 182, 255, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --radius: 2px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  padding-left: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .55em;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.14;
  color: var(--ink);
}

h1 { font-size: clamp(34px, 5.6vw, 68px); line-height: 1.04; }
h2 { font-size: clamp(24px, 3.2vw, 38px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-2); }

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

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

button { font: inherit; color: inherit; }

strong { font-weight: 700; }

:focus-visible {
  outline: 2px solid var(--blue-soft);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
}

@media (max-width: 1023px) {
  body { padding-top: var(--topbar-h); }
}

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 300;
  transform: translate(-50%, -140%);
  padding: 10px 20px;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: transform .22s var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* ---------- 轨道页头 ---------- */
.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: var(--rail-w);
  padding: 22px 0 18px;
  color: var(--ice);
  background:
    linear-gradient(180deg, #081d33 0%, var(--navy) 42%, #04101d 100%);
  border-right: 1px solid var(--line-rail);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-soft) 60%, var(--orange));
  opacity: .85;
}

.site-header__bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(111, 182, 255, .12);
}

.site-header__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.site-header__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  border-radius: 3px;
  background: linear-gradient(140deg, #2A7BFF 0%, var(--navy-2) 78%);
  box-shadow: 0 0 0 1px rgba(111, 182, 255, .38), 0 10px 24px -12px rgba(30, 107, 255, .95);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}

.site-header__brand:hover .site-header__mark {
  box-shadow: 0 0 0 1px var(--blue-soft), 0 12px 28px -10px rgba(30, 107, 255, 1);
  transform: translateY(-1px);
}

.site-header__name {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--white);
}

.site-header__sub { display: none; }

/* 移动端菜单按钮（桌面隐藏） */
.site-header__toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--ice);
  background: rgba(111, 182, 255, .08);
  border: 1px solid rgba(111, 182, 255, .32);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.site-header__toggle:hover {
  background: rgba(111, 182, 255, .18);
  border-color: var(--blue-soft);
  color: var(--white);
}

.site-header__toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.site-header__toggle-bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform .24s var(--ease), opacity .24s var(--ease);
}

[data-nav-open="true"] .site-header__toggle-bars span:nth-child(1) {
  transform: translateY(2.75px) rotate(45deg);
}

[data-nav-open="true"] .site-header__toggle-bars span:nth-child(2) {
  transform: translateY(-2.75px) rotate(-45deg);
}

/* 主轨道导航 */
.site-nav {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  overflow-y: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar { width: 0; height: 0; }

.site-nav__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 9px 0;
  color: rgba(217, 226, 236, .55);
  text-decoration: none;
  transition: color .22s var(--ease), background-color .22s var(--ease);
}

.site-nav__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, var(--blue-soft), var(--blue));
  transform: translateY(-50%);
  transition: height .26s var(--ease);
}

.site-nav__link:hover,
.site-nav__link:focus-visible { color: var(--white); }

.site-nav__link:hover::before,
.site-nav__link:focus-visible::before { height: 58%; }

.site-nav__link[aria-current="page"] {
  color: var(--white);
  background: rgba(30, 107, 255, .14);
}

.site-nav__link[aria-current="page"]::before { height: 72%; }

.site-nav__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--steel);
  transition: color .22s var(--ease);
}

.site-nav__link:hover .site-nav__index,
.site-nav__link:focus-visible .site-nav__index,
.site-nav__link[aria-current="page"] .site-nav__index { color: var(--blue-soft); }

.site-nav__label {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 12.5px;
  line-height: 1;
  letter-spacing: .16em;
}

/* 轨道底部快捷入口 */
.site-header__aux {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid rgba(111, 182, 255, .14);
}

.site-header__aux-link {
  position: relative;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .04em;
  color: rgba(217, 226, 236, .48);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.site-header__aux-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--blue-soft);
  transition: width .26s var(--ease);
}

.site-header__aux-link:hover,
.site-header__aux-link:focus-visible { color: var(--blue-soft); }

.site-header__aux-link:hover::after,
.site-header__aux-link:focus-visible::after { width: 100%; }

/* 抽屉遮罩 */
.site-header__scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  padding: 0;
  border: 0;
  background: rgba(4, 16, 29, .64);
  cursor: pointer;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

/* 移动端：顶部条 + 抽屉 */
@media (max-width: 1023px) {
  .site-header {
    inset: 0 0 auto 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    width: 100%;
    height: var(--topbar-h);
    padding: 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line-rail);
  }

  .site-header::after { height: 2px; }

  .site-header__bar {
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: auto;
    padding: 0;
    border-bottom: 0;
  }

  .site-header__brand {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .site-header__mark {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .site-header__name {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    font-size: 16px;
    letter-spacing: .04em;
  }

  .site-header__toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    flex: 0 0 auto;
    align-items: stretch;
    gap: 0;
    width: min(84vw, 340px);
    height: 100vh;
    height: 100dvh;
    padding: 78px 20px 116px;
    overflow-y: auto;
    background: linear-gradient(170deg, #0A2744 0%, var(--navy) 55%, #04101d 100%);
    border-right: 1px solid rgba(111, 182, 255, .22);
    transform: translateX(-102%);
    transition: transform .32s var(--ease);
  }

  [data-nav-open="true"] .site-nav { transform: translateX(0); }

  .site-nav__link {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(111, 182, 255, .1);
  }

  .site-nav__link::before {
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    transform: none;
    transition: height .26s var(--ease);
  }

  .site-nav__link:hover::before,
  .site-nav__link:focus-visible::before { height: 100%; }
  .site-nav__link[aria-current="page"]::before { height: 100%; }

  .site-nav__label {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    font-size: 15px;
    letter-spacing: .04em;
  }

  .site-nav__index { font-size: 11px; }

  .site-header__aux {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 3;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px 16px;
    width: min(84vw, 340px);
    padding: 16px 20px 24px;
    background: linear-gradient(180deg, rgba(4, 16, 29, 0) 0%, rgba(4, 16, 29, .96) 46%);
    border-top: 1px solid rgba(111, 182, 255, .14);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s var(--ease);
  }

  .site-header__aux-link { font-size: 12px; }

  [data-nav-open="true"] .site-header__aux {
    opacity: 1;
    pointer-events: auto;
  }

  [data-nav-open="true"] .site-header__scrim { display: block; }
}

/* ---------- 滚动进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-soft) 62%, var(--orange) 100%);
  pointer-events: none;
}

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

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

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

.prose {
  max-width: 42em;
  font-size: 17px;
  line-height: 1.78;
  color: #16202c;
}

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

.divider {
  height: 1px;
  margin: 0;
  border: 0;
  background: linear-gradient(90deg, var(--line-soft), transparent);
}

/* ---------- 编辑式区块头 ---------- */
.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-head {
  display: grid;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.section-head__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--steel);
}

.section-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.12;
}

.section-head__lead {
  max-width: 40em;
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: #33465c;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), box-shadow .2s var(--ease),
              transform .2s var(--ease);
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, #2A7BFF 0%, var(--navy-2) 100%);
  box-shadow: 0 12px 28px -16px rgba(30, 107, 255, .95);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: linear-gradient(135deg, #3E8BFF 0%, #12467f 100%);
  box-shadow: 0 16px 32px -14px rgba(30, 107, 255, 1);
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--ice);
  background: rgba(111, 182, 255, .06);
  border-color: rgba(111, 182, 255, .4);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--white);
  background: rgba(111, 182, 255, .18);
  border-color: var(--blue-soft);
}

.btn--light {
  color: var(--navy);
  background: var(--white);
  border-color: var(--ice);
}

.btn--light:hover,
.btn--light:focus-visible {
  color: var(--navy-2);
  border-color: var(--blue);
}

/* ---------- 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--steel);
}

.crumbs__item { display: inline-flex; align-items: center; gap: 8px; }

.crumbs a {
  color: var(--steel);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

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

.crumbs [aria-current="page"] { color: var(--navy-2); }

.crumbs__sep { color: rgba(138, 153, 168, .55); }

/* ---------- 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 100% at 8% 0%, rgba(111, 182, 255, .42) 0%, transparent 58%),
    linear-gradient(135deg, var(--navy-2) 0%, var(--navy) 62%, #123f74 100%);
  isolation: isolate;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, .16) 50%, transparent 66%);
  transform: translateX(-100%);
  transition: transform .9s var(--ease);
  pointer-events: none;
}

.media:hover::after { transform: translateX(100%); }

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

.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(244, 247, 251, .82);
  background: linear-gradient(180deg, transparent, rgba(4, 16, 29, .82));
}

/* ---------- 标签 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--navy-2);
  background: rgba(30, 107, 255, .08);
  border: 1px solid rgba(30, 107, 255, .22);
  border-radius: 999px;
  white-space: nowrap;
}

.chip--accent {
  color: #8a3f0d;
  background: rgba(255, 138, 61, .12);
  border-color: rgba(255, 138, 61, .38);
}

/* ---------- 渐显 ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

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

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  padding: 72px 0 0;
  color: rgba(217, 226, 236, .78);
  background:
    radial-gradient(1100px 400px at 84% -14%, rgba(30, 107, 255, .26) 0%, transparent 62%),
    radial-gradient(700px 320px at 6% 108%, rgba(255, 138, 61, .1) 0%, transparent 66%),
    linear-gradient(180deg, #08192c 0%, var(--navy) 48%, #040e18 100%);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(111, 182, 255, .62) 38%, rgba(255, 138, 61, .5) 62%, transparent 100%);
}

.site-footer__inner {
  width: min(100% - (var(--gutter) * 2), var(--maxw));
  margin-inline: auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: 48px;
}

.site-footer__eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--blue-soft);
}

.site-footer__brand {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.04;
  color: var(--white);
}

.site-footer__desc {
  max-width: 30em;
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(217, 226, 236, .62);
}

.site-footer__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.site-footer__col-title {
  margin: 0 0 16px;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--steel);
  border-bottom: 1px solid rgba(111, 182, 255, .18);
}

.site-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__col a {
  position: relative;
  display: inline-block;
  font-size: 14.5px;
  color: rgba(217, 226, 236, .8);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.site-footer__col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--blue-soft);
  transition: width .26s var(--ease);
}

.site-footer__col a:hover,
.site-footer__col a:focus-visible { color: var(--white); }

.site-footer__col a:hover::after,
.site-footer__col a:focus-visible::after { width: 100%; }

.site-footer__meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid rgba(111, 182, 255, .16);
}

.site-footer__meta-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--steel);
}

.site-footer__meta-value {
  display: block;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(217, 226, 236, .92);
  word-break: break-word;
}

.site-footer__note {
  max-width: 62em;
  margin: 0;
  padding: 0 0 26px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(138, 153, 168, .92);
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
  padding: 18px 0 30px;
  border-top: 1px solid rgba(111, 182, 255, .12);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: rgba(138, 153, 168, .92);
}

.site-footer__feedback {
  color: var(--blue-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 182, 255, .4);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.site-footer__feedback:hover,
.site-footer__feedback:focus-visible {
  color: var(--white);
  border-bottom-color: var(--white);
}

@media (max-width: 900px) {
  .site-footer__top { grid-template-columns: minmax(0, 1fr); }
  .site-footer__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .site-footer { padding-top: 56px; }
  .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__meta { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .site-footer__base { flex-direction: column; align-items: flex-start; }
}

/* ---------- 响应式辅助 ---------- */
@media (max-width: 767px) {
  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .prose { font-size: 16px; }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

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