/* ===========================================================
   球友会中心 · 共享样式 /assets/site.css
   壮锦展区体系：深青画布 + 朱红入口 + 暖金索引
   =========================================================== */

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

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

body, h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #10233A;
  --ink-deep: #081524;
  --ink-2: #1B3350;
  --red: #C8322A;
  --red-deep: #7E1F1A;
  --gold: #D9A441;
  --green: #1F6B4F;
  --paper: #F4EFE6;
  --slate: #5A6C82;

  --ink-glass: rgba(27, 51, 80, 0.55);
  --line-gold: rgba(217, 164, 65, 0.45);
  --line-soft: rgba(90, 108, 130, 0.32);

  --font-display: "Source Han Sans CN", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-hand: "STKaiti", "Kaiti SC", "KaiTi", "楷体", serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --font-index: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", "PingFang SC", monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- 3. 中文排版基底 ---------- */
body {
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 7vw, 112px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.measure { max-width: 68ch; }

.index-note {
  font-family: var(--font-index);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
}

.hand-remark {
  font-family: var(--font-hand);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.45;
  color: var(--red);
}
.section--paper .hand-remark { color: var(--red-deep); }

/* ---------- 4. 焦点 ---------- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- 5. 布局原子 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 8vw, 128px); }
.section--paper { background: var(--paper); color: var(--ink); }
.section--ink { background: var(--ink); color: var(--paper); }

.main { padding-top: var(--header-h); }
.main--flush { padding-top: 0; }

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

/* ---------- 6. 头部 ---------- */
.skip-link {
  position: absolute;
  top: -72px;
  left: 16px;
  z-index: 120;
  padding: 10px 20px;
  background: var(--gold);
  color: var(--ink-deep);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 0 0 2px 2px;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(8, 21, 36, 0.74), rgba(8, 21, 36, 0.16));
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header[data-scrolled="true"] {
  background: var(--ink);
  border-bottom: 1px solid var(--line-gold);
  box-shadow: 0 12px 34px rgba(8, 21, 36, 0.55);
}

.header-inner {
  max-width: var(--maxw);
  min-height: var(--header-h);
  margin-inline: auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 36px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--paper);
}
.brand__name {
  font-family: var(--font-hand);
  font-size: clamp(21px, 2.2vw, 27px);
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.brand__ver {
  font-family: var(--font-index);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  border: 1px solid var(--line-gold);
  border-radius: 2px;
  padding: 1px 6px;
  white-space: nowrap;
}

.primary-nav { margin-inline: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 30px);
}
.nav-list__item { position: relative; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 2px;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: rgba(244, 239, 230, 0.82);
  transition: color 0.25s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover,
.nav-link:focus-visible { color: var(--paper); }
.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }

.nav-link[aria-current="page"] { color: var(--paper); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); background: var(--red); }
.nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -9px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 50, 42, 0.26);
}

.badge-cta {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  background: var(--red);
  color: #fff;
  border: 1px solid rgba(217, 164, 65, 0.5);
  box-shadow: 0 0 0 4px rgba(200, 50, 42, 0.18);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.badge-cta__text {
  display: block;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-align: center;
}
.badge-cta:hover,
.badge-cta:focus-visible {
  transform: rotate(-3deg) scale(1.05);
  border-color: var(--gold);
  box-shadow: 0 0 0 7px rgba(217, 164, 65, 0.26);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.14em;
  cursor: pointer;
  z-index: 80;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.nav-toggle:hover { background: rgba(217, 164, 65, 0.14); }
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--paper);
  transition: background 0.2s var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--paper);
  transition: transform 0.3s var(--ease);
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.drawer-meta { display: none; }

.header-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  z-index: 90;
}

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

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--ink-deep);
  color: var(--paper);
  border-top: 1px solid rgba(217, 164, 65, 0.22);
}

.footer-rule {
  height: 12px;
  opacity: 0.45;
  background-image:
    repeating-linear-gradient(45deg, var(--gold) 0 1.5px, transparent 1.5px 9px),
    repeating-linear-gradient(-45deg, var(--gold) 0 1.5px, transparent 1.5px 9px);
  background-size: 18px 18px;
}

.footer-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(28px, 4vw, 44px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) 3fr;
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
}

.footer-brand {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-decoration: none;
  color: var(--paper);
}
.footer-tagline {
  margin-top: 12px;
  max-width: 26ch;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(244, 239, 230, 0.62);
}
.footer-ver {
  display: inline-block;
  margin-top: 16px;
  padding: 2px 8px;
  font-family: var(--font-index);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  border: 1px solid var(--line-gold);
  border-radius: 2px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 36px);
}
.footer-col__title {
  margin-bottom: 14px;
  font-family: var(--font-index);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--gold);
}

.footer-mid {
  margin-top: clamp(26px, 4vw, 46px);
  padding-top: clamp(18px, 3vw, 26px);
  border-top: 1px solid rgba(90, 108, 130, 0.28);
}
.footer-note {
  font-size: 14px;
  color: rgba(244, 239, 230, 0.6);
}

.footer-bottom {
  margin-top: clamp(18px, 3vw, 26px);
  padding-top: clamp(18px, 3vw, 26px);
  border-top: 1px solid rgba(90, 108, 130, 0.28);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
}
.footer-legal {
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(244, 239, 230, 0.55);
}
.footer-sep { margin: 0 0.4em; color: var(--gold); }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  font-size: 13px;
  color: rgba(244, 239, 230, 0.72);
}
.footer-contact__item { line-height: 1.7; }
.footer-hours {
  width: 100%;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.45);
}

/* ---------- 8. 展区标签与壮锦分隔 ---------- */
.exhibit-label {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.exhibit-label__num {
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.exhibit-label__name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.exhibit-label__note {
  font-family: var(--font-hand);
  font-size: clamp(17px, 2vw, 24px);
  color: var(--red);
}
.section--paper .exhibit-label__note { color: var(--red-deep); }

.rule-zhuang {
  height: 12px;
  margin-block: clamp(18px, 3vw, 30px);
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line-gold);
  opacity: 0.7;
  background-image:
    repeating-linear-gradient(45deg, var(--gold) 0 1.5px, transparent 1.5px 9px),
    repeating-linear-gradient(-45deg, var(--gold) 0 1.5px, transparent 1.5px 9px);
  background-size: 18px 18px;
}

.glass {
  background: var(--ink-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(217, 164, 65, 0.35);
  border-radius: 2px;
}

/* ---------- 9. 按钮与徽章入口 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 12px 22px;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background 0.28s var(--ease), color 0.28s var(--ease),
              border-color 0.28s var(--ease), transform 0.28s var(--ease);
}
.btn--solid {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn--solid:hover,
.btn--solid:focus-visible {
  background: var(--red-deep);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line-gold);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--gold);
  background: rgba(217, 164, 65, 0.14);
}
.section--paper .btn--ghost {
  color: var(--ink);
  border-color: rgba(16, 35, 58, 0.35);
}
.section--paper .btn--ghost:hover,
.section--paper .btn--ghost:focus-visible {
  border-color: var(--red);
  background: rgba(200, 50, 42, 0.08);
}

.badge-btn {
  --badge-size: 116px;
  width: var(--badge-size);
  height: var(--badge-size);
  border-radius: 50%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  background: var(--red);
  color: #fff;
  border: 1px solid rgba(217, 164, 65, 0.55);
  box-shadow: 0 0 0 6px rgba(200, 50, 42, 0.14);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.badge-btn__word {
  font-family: var(--font-hand);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0.06em;
}
.badge-btn__num {
  font-family: var(--font-index);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.badge-btn:hover,
.badge-btn:focus-visible {
  transform: rotate(3deg) scale(1.04);
  border-color: var(--gold);
  box-shadow: 0 0 0 10px rgba(217, 164, 65, 0.2);
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumb { font-family: var(--font-index); font-size: 11px; letter-spacing: 0.16em; }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; opacity: 0.78; }
.breadcrumb__item + .breadcrumb__item::before {
  content: "／";
  color: var(--gold);
  opacity: 0.8;
}
.breadcrumb__link {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.breadcrumb__link:hover,
.breadcrumb__link:focus-visible { border-bottom-color: var(--gold); }

/* ---------- 11. 图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink-2);
}
.media-frame > img,
.media-frame > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--3x2 { aspect-ratio: 3 / 2; }
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--bleed {
  width: calc(100% + var(--gutter) * 2);
  margin-inline: calc(var(--gutter) * -1);
}
.media-frame--warm > img {
  filter: saturate(1.06) contrast(1.02) sepia(0.06);
}
.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px;
  font-family: var(--font-index);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--paper);
  background: linear-gradient(180deg, transparent, rgba(8, 21, 36, 0.84));
}

/* ---------- 12. 标签胶囊筛选 ---------- */
.tag-pill {
  appearance: none;
  cursor: pointer;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-gold);
  background: transparent;
  color: inherit;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.tag-pill:hover,
.tag-pill:focus-visible { border-color: var(--gold); background: rgba(217, 164, 65, 0.14); }
.tag-pill[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ---------- 13. 折叠面板 ---------- */
.accordion__item { border-top: 1px solid var(--line-soft); }
.accordion__item:last-child { border-bottom: 1px solid var(--line-soft); }

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: 0;
  color: inherit;
  font-family: inherit;
  font-size: 17px;
  line-height: 1.7;
  text-align: left;
  cursor: pointer;
}
.accordion__trigger::after {
  content: "＋";
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
.accordion__trigger[aria-expanded="true"]::after { content: "－"; }
.accordion__panel { padding: 0 0 22px; font-size: 16px; }

/* ---------- 14. 旧版对照分栏底座 ---------- */
.split-compare {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line-gold);
  border: 1px solid var(--line-gold);
}
.split-compare__pane {
  padding: clamp(16px, 2.4vw, 28px);
  background: var(--ink-2);
  color: var(--paper);
  min-height: 220px;
}
.split-compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--red);
  transform: translateX(-1px);
}

/* ---------- 15. 右侧竖排目录 ---------- */
.index-rail {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--font-index);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.index-rail__link {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-decoration: none;
  opacity: 0.62;
  border-left: 1px solid transparent;
  padding-left: 6px;
  transition: opacity 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.index-rail__link:hover,
.index-rail__link:focus-visible,
.index-rail__link[aria-current="true"] {
  opacity: 1;
  color: var(--gold);
  border-left-color: var(--gold);
}

/* ---------- 16. 滚动显现 ---------- */
[data-reveal] {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}
.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 17. 响应式 ---------- */
@media (max-width: 1024px) {
  :root { --header-h: 64px; }

  .site-header {
    background: rgba(8, 21, 36, 0.92);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .site-header[data-scrolled="true"] { background: var(--ink); }

  .header-inner {
    min-height: var(--header-h);
    padding-block: 10px;
    justify-content: space-between;
    gap: 12px;
  }

  .primary-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 360px);
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: calc(var(--header-h) + 16px) var(--gutter) 32px;
    background: var(--ink-deep);
    border-left: 1px solid var(--line-gold);
    overflow-y: auto;
    transform: translateX(102%);
    transition: transform 0.42s var(--ease);
    z-index: 70;
  }
  .primary-nav[data-open] { transform: translateX(0); }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list__item { border-bottom: 1px solid rgba(90, 108, 130, 0.26); }
  .nav-link {
    display: block;
    padding: 15px 0;
    font-size: 18px;
  }
  .nav-link[aria-current="page"]::before {
    left: auto;
    right: 0;
    top: 50%;
    margin-left: 0;
    transform: translateY(-50%);
  }

  .badge-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .drawer-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(244, 239, 230, 0.6);
  }
  .drawer-meta__ver {
    font-family: var(--font-index);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--gold);
  }
  .drawer-meta__mail { color: rgba(244, 239, 230, 0.82); word-break: break-all; }
  .drawer-meta__note { font-size: 12px; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-toggle__text { display: none; }
  .split-compare { grid-template-columns: 1fr; }
  .split-compare__handle { display: none; }
  .index-rail { position: static; flex-direction: row; flex-wrap: wrap; }
  .index-rail__link { writing-mode: horizontal-tb; }
}

@media (max-width: 520px) {
  .footer-nav { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .badge-btn { --badge-size: 96px; }
  .badge-btn__word { font-size: 19px; }
}

/* ---------- 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;
  }
  .has-js [data-reveal] { opacity: 1; transform: none; }
  .badge-btn:hover, .badge-btn:focus-visible,
  .badge-cta:hover, .badge-cta:focus-visible { transform: none; }
  .btn--solid:hover, .btn--solid:focus-visible { transform: none; }
}
