/* ============================================================
   /assets/site.css — 共享外壳：轨道导航、顶部索引条、页脚
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h, 72px) + 16px);
}

body,
h1, h2, h3, h4, h5, p,
ul, ol, figure, blockquote, fieldset {
  margin: 0;
}

ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; }
input { font: inherit; }
a { color: inherit; text-decoration: none; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #071A2B;
  --ink-2: #0B2238;
  --ink-3: #04101C;
  --cyan: #28E0D0;
  --orange: #FF7A3D;
  --fog: #E8F1F5;
  --steel: #A9B7C2;
  --line: #2E4053;
  --moss: #5F7A6E;
  --clay: #B86B4B;

  --rail-w: 88px;
  --topbar-h: 72px;
  --bd: 2px;
  --shadow: 8px 8px 0 var(--ink-3);
  --shadow-sm: 4px 4px 0 var(--ink-3);

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular,
    Menlo, Consolas, "Courier New", monospace;
}

/* ---------- 3. 中文排版底子 ---------- */
body {
  min-height: 100vh;
  padding-left: var(--rail-w);
  padding-top: var(--topbar-h);
  background:
    radial-gradient(1200px 620px at 82% -12%, rgba(40, 224, 208, .10), transparent 62%),
    radial-gradient(880px 520px at 4% 2%, rgba(255, 122, 61, .07), transparent 60%),
    var(--ink);
  color: var(--fog);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-weight: 200;
  line-height: 1.14;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(48px, 7.4vw, 112px); }
h2 { font-size: clamp(30px, 4vw, 56px); }
h3 { font-size: clamp(20px, 2vw, 26px); }

strong, b { font-weight: 800; }
::selection { background: var(--cyan); color: var(--ink-3); }

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

/* ---------- 4. 跳过链接 ---------- */
.skip-link {
  position: fixed;
  left: 50%;
  top: 0;
  z-index: 100;
  padding: 10px 20px;
  background: var(--cyan);
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 800;
  border-radius: 0 0 4px 4px;
  transform: translate(-50%, -130%);
  transition: transform .18s ease;
}
.skip-link:focus,
.skip-link:focus-visible { transform: translate(-50%, 0); }

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

/* ---------- 6. 侧边轨道导航 ---------- */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  background: var(--ink-3);
  border-right: var(--bd) solid var(--line);
  z-index: 50;
}

.rail__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--rail-w);
  padding: 12px 6px;
  border-bottom: var(--bd) solid var(--line);
  transition: background .18s ease;
}
.rail__brand:hover { background: var(--ink-2); }

.rail__mark {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--cyan);
}

.rail__brandtext {
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: .08em;
  text-align: center;
  color: var(--steel);
}

.rail__nav {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.rail__nav::-webkit-scrollbar { width: 0; height: 0; }

.rail__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--steel);
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}
.rail__link:hover { color: var(--fog); background: var(--ink-2); }

.rail__num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .08em;
  color: var(--moss);
  transition: color .18s ease;
}

.rail__label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .12em;
}

.rail__link[aria-current="page"] {
  color: var(--cyan);
  background: var(--ink-2);
  box-shadow: inset 2px 0 0 var(--cyan);
}
.rail__link[aria-current="page"] .rail__num { color: var(--orange); }

.rail__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 4px;
  border-top: var(--bd) solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--steel);
}

.rail__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(40, 224, 208, .55);
  animation: railPulse 6s ease-in-out infinite;
}

@keyframes railPulse {
  0%, 100% { opacity: .4; box-shadow: 0 0 0 0 rgba(40, 224, 208, .45); }
  50%      { opacity: 1;  box-shadow: 0 0 0 6px rgba(40, 224, 208, 0); }
}

.rail__status { color: var(--steel); }

/* ---------- 7. 顶部索引条 ---------- */
.topstrip {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(16px, 2.4vw, 32px);
  background: rgba(7, 26, 43, .93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: var(--bd) solid var(--line);
  z-index: 60;
}

.topstrip__id {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.topstrip__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--fog);
  white-space: nowrap;
}

.topstrip__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--orange);
  border: 1px solid rgba(255, 122, 61, .55);
  border-radius: 2px;
  white-space: nowrap;
}
.topstrip__badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  animation: badgePulse 3.2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: .35; }
  50%      { opacity: 1; }
}

.topstrip__line {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  color: var(--steel);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topstrip__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--bd) * -1);
  height: 2px;
  overflow: hidden;
}
.scroll-meter__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transition: width .1s linear;
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  border: var(--bd) solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease,
    background .15s ease, color .15s ease, border-color .15s ease;
}

.btn--solid {
  background: var(--cyan);
  color: var(--ink-3);
  border-color: var(--cyan);
  box-shadow: var(--shadow-sm);
}
.btn--solid:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--ink-3);
}

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

.btn--accent {
  background: var(--orange);
  color: var(--ink-3);
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}
.btn--accent:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--ink-3);
}

/* ---------- 9. 移动导航按钮与遮罩 ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border: var(--bd) solid var(--line);
  border-radius: 4px;
  color: var(--fog);
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, top .2s ease, bottom .2s ease;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 5px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  bottom: 5px;
  transform: rotate(-45deg);
}

.nav-toggle__text { font-size: 13px; font-weight: 700; }

.nav-scrim { display: none; }

/* ---------- 10. 页脚 ---------- */
.site-footer {
  --gutter: max(20px, calc((100% - 1180px) / 2));
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  padding-bottom: clamp(24px, 4vw, 40px);
  background: var(--ink-3);
  border-top: var(--bd) solid var(--line);
  font-size: 14px;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: calc(var(--bd) * -1);
  left: 0;
  width: 132px;
  height: var(--bd);
  background: var(--cyan);
}

/* 订阅条 */
.subscribe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  padding: 20px var(--gutter);
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

.subscribe__line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-size: 15px;
  color: var(--fog);
}
.subscribe__line::before {
  content: "";
  flex: 0 0 auto;
  width: 26px;
  height: 2px;
  background: var(--orange);
}

.subscribe__field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.subscribe__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.subscribe__input {
  width: min(260px, 62vw);
  height: 42px;
  padding: 0 12px;
  background: var(--ink);
  color: var(--fog);
  border: var(--bd) solid var(--line);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .02em;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.subscribe__input::placeholder { color: #6C8090; }
.subscribe__input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(40, 224, 208, .18);
}

.subscribe__msg {
  flex: 1 1 100%;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--steel);
}
.subscribe__msg:empty { display: none; }
.subscribe__msg[data-state="ok"] { color: var(--cyan); }
.subscribe__msg[data-state="err"] { color: var(--orange); }

/* 四栏信息 */
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr .9fr .9fr 1.35fr;
  gap: 44px 32px;
  padding: clamp(40px, 5vw, 64px) var(--gutter);
  border-bottom: 1px solid var(--line);
}

.footer__brand { min-width: 0; }
.footer__col { min-width: 0; }
.footer__col--contact { min-width: 0; }

.footer__brandline {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--fog);
}

.footer__brandsub {
  margin-top: 10px;
  max-width: 28ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel);
}

.footer__title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer__links li + li { margin-top: 10px; }
.footer__links a {
  font-size: 14px;
  color: var(--steel);
  border-bottom: 1px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.footer__links a:hover {
  color: var(--fog);
  border-bottom-color: var(--cyan);
}

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

.footer__contact-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
}

.footer__contact-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--moss);
}

.footer__contact-val {
  color: var(--fog);
  word-break: break-word;
}

.copy-btn {
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--cyan);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color .16s ease, color .16s ease;
}
.copy-btn:hover { border-color: var(--cyan); }
.copy-btn[data-state="done"] { color: var(--orange); border-color: var(--orange); }
.copy-btn[data-state="err"] { color: var(--steel); }

.footer__note {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 12px;
  line-height: 1.7;
  color: var(--moss);
}

/* 版权底栏 */
.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  padding: 24px var(--gutter) 0;
  font-size: 12px;
  color: var(--steel);
}

.footer__copy { font-size: 12px; }

.footer__icp {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--moss);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
}
.footer__legal a {
  font-size: 12px;
  color: var(--steel);
  transition: color .16s ease;
}
.footer__legal a:hover { color: var(--cyan); }

/* ---------- 11. 返回顶部（JS 生成） ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 75;
  min-width: 56px;
  height: 52px;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: var(--cyan);
  color: var(--ink-3);
  border: var(--bd) solid var(--cyan);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease,
    visibility .2s, box-shadow .2s;
}
.back-to-top::before {
  content: "\2191";
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1;
}
.back-to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { box-shadow: 6px 6px 0 var(--ink-3); }

/* ---------- 12. 页面阶段通用件 ---------- */
.container {
  width: min(100% - clamp(32px, 6vw, 96px), 1180px);
  margin-inline: auto;
}

.section { padding-block: clamp(56px, 7vw, 104px); }
.section--narrow { max-width: 860px; margin-inline: auto; }
.section--wide { max-width: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.headline {
  font-size: clamp(40px, 6vw, 96px);
  font-weight: 200;
  line-height: 1.06;
  letter-spacing: -.04em;
}

.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.15em; }

.num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--moss);
}

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.panel {
  padding: 24px;
  background: var(--ink-2);
  border: var(--bd) solid var(--line);
  border-radius: 4px;
}

.card {
  position: relative;
  padding: 24px 22px 26px;
  background: var(--ink-2);
  border: var(--bd) solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translate(-2px, -2px);
  border-color: var(--cyan);
  box-shadow: 10px 10px 0 var(--ink-3);
}

.card__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--orange);
}

.card__title {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--fog);
}

.card__text {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--steel);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.badge--moss { color: var(--moss); border-color: rgba(95, 122, 110, .75); }
.badge--clay { color: var(--clay); border-color: rgba(184, 107, 75, .75); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--steel);
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--fog); }

/* 图片容器基础规则（页面阶段放入 img 或背景图） */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: var(--bd) solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
  background:
    repeating-linear-gradient(135deg, rgba(40, 224, 208, .07) 0 2px, transparent 2px 10px),
    var(--ink-2);
}
.media > img,
.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--steel);
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

.divider {
  height: var(--bd);
  margin: 0;
  border: 0;
  background: var(--line);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 13. 焦点可见 ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1100px) {
  .topstrip__line { display: none; }
}

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  body {
    padding-left: 0;
    padding-top: 64px;
  }

  .rail {
    width: 300px;
    max-width: 86vw;
    transform: translateX(-102%);
    transition: transform .26s ease;
    z-index: 90;
    box-shadow: 12px 12px 0 rgba(4, 16, 28, .55);
  }
  .rail[data-open="true"] { transform: translateX(0); }

  .rail__brand {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    min-height: 0;
    padding: 20px;
  }
  .rail__mark { font-size: 24px; }
  .rail__brandtext { font-size: 12px; letter-spacing: .04em; text-align: left; }

  .rail__nav {
    flex: 0 0 auto;
    overflow: visible;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity .24s ease .06s, transform .24s ease .06s;
  }
  .rail__nav[data-open="true"] {
    opacity: 1;
    transform: translateX(0);
  }

  .rail__link {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 16px 20px;
  }
  .rail__num { font-size: 12px; }
  .rail__label {
    writing-mode: horizontal-tb;
    font-size: 16px;
    letter-spacing: .02em;
  }

  .rail__foot { justify-content: flex-start; padding: 16px 20px; }

  .topstrip { left: 0; height: 64px; }

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

  .nav-scrim:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(4, 16, 28, .74);
    z-index: 80;
  }

  .section { padding-block: 48px; }
}

@media (max-width: 720px) {
  .topstrip__actions .btn { display: none; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__legal { margin-left: 0; }
  .subscribe__line { font-size: 14px; }
  .subscribe__field { width: 100%; }
  .subscribe__input { flex: 1 1 auto; width: auto; min-width: 0; }
}

@media (max-width: 600px) {
  .grid--2,
  .grid--3 { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .topstrip__badge { display: none; }
  .topstrip__name { font-size: 14px; }
  .back-to-top { right: 14px; bottom: 14px; }
}

/* ---------- 15. 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
