/* ============================================================
   抢庄牛牛 · 共享站点样式 /assets/site.css
   夜航深蓝 + 青海湖蓝 + 高原赭石 + 鎏金 + 宣纸米白
   ============================================================ */

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

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

body { margin: 0; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

:root {
  --night: #0B1A26;
  --lake: #11708F;
  --lake-soft: #7FB6C8;
  --ochre: #B4552B;
  --gold: #C9A227;
  --cinnabar: #C0392B;
  --steel: #6E818C;
  --paper: #F5F2EA;
  --mist: #E4EDF0;
  --ink: #1A1F24;

  --line: rgba(26, 31, 36, 0.14);
  --line-soft: rgba(26, 31, 36, 0.08);
  --line-dark: rgba(245, 242, 234, 0.16);

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shadow-card: 0 12px 32px rgba(11, 26, 38, 0.10);
  --shadow-deep: 0 12px 32px rgba(11, 26, 38, 0.28);

  --cut: -6deg;
  --w-max: 1240px;
  --gutter: clamp(18px, 4vw, 48px);
  --header-h: 70px;
}

/* ---------- 基础排版 ---------- */

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(120% 90% at 88% -12%, rgba(17, 112, 143, 0.10), rgba(17, 112, 143, 0) 58%),
    radial-gradient(80% 60% at -10% 106%, rgba(180, 85, 43, 0.07), rgba(180, 85, 43, 0) 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.12; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: clamp(1.125rem, 1.6vw, 1.375rem); }
h4 { font-size: 1.0625rem; }

p { max-width: 68ch; }

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

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.note {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--steel);
}

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

/* ---------- 容器与栅格 ---------- */

.container {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(32px, 4.5vw, 60px); }
.section--mist { background: var(--mist); }
.section--night {
  background: var(--night);
  color: rgba(245, 242, 234, 0.82);
}
.section--night :is(h1, h2, h3, h4) { color: var(--paper); }
.section--night p { color: rgba(245, 242, 234, 0.78); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(22px, 3vw, 38px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--lake);
  text-transform: uppercase;
}
.section-label::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--lake-soft);
}
.section--night .section-label { color: var(--gold); }
.section--night .section-label::after { background: rgba(201, 162, 39, 0.55); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(200px, 32%) minmax(0, 1fr);
    gap: 0;
  }
  .split__aside { padding-right: clamp(24px, 3vw, 40px); }
  .split__main {
    border-left: 1px solid var(--line);
    padding-left: clamp(24px, 3vw, 48px);
  }
  .section--night .split__main { border-left-color: var(--line-dark); }

  .grid--stagger > :nth-child(even) { margin-top: 16px; }
}

/* ---------- 跳转链接 ---------- */

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  transform: translateY(-130%);
  background: var(--gold);
  color: var(--night);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  padding: 10px 20px;
  border-radius: 0 0 3px 0;
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 头部 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  color: var(--paper);
  background: linear-gradient(180deg,
    rgba(11, 26, 38, 0.86) 0%,
    rgba(11, 26, 38, 0.46) 62%,
    rgba(11, 26, 38, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header[data-scrolled="true"] {
  background: rgba(11, 26, 38, 0.97);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 12px 30px rgba(11, 26, 38, 0.34);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.site-header[data-open="true"] {
  background: rgba(11, 26, 38, 0.98);
  border-bottom-color: var(--line-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
  padding-block: 10px;
}

.read-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(127, 182, 200, 0.18);
  pointer-events: none;
}
.read-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--lake), var(--gold));
  transition: width 0.14s linear;
}

/* 品牌签名 */
.brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  min-width: 0;
}
.brand-name {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.32rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--gold);
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 2px;
  padding: 0 5px;
}
.brand-latin {
  flex-basis: 100%;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--lake-soft);
}

/* 移动索引按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(245, 242, 234, 0.3);
  border-radius: 2px;
  background: rgba(245, 242, 234, 0.06);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.nav-toggle:hover { border-color: var(--gold); background: rgba(201, 162, 39, 0.12); }
.nav-toggle-label { line-height: 1; }
.nav-toggle-icon {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.24s ease;
}
.nav-toggle-icon::before { top: 0; }
.nav-toggle-icon::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: translateY(-4px) rotate(-45deg); }

/* 主导航 */
.primary-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
}
.nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 2px;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  color: rgba(245, 242, 234, 0.82);
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lake), var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.26s ease;
}
.nav-link:hover { color: var(--paper); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--paper); font-weight: 500; }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- 页脚 ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: rgba(245, 242, 234, 0.72);
  border-top: 1px solid rgba(201, 162, 39, 0.28);
  padding-top: clamp(44px, 6vw, 74px);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 300px;
  background: radial-gradient(120% 100% at 84% 0%, rgba(17, 112, 143, 0.42), rgba(17, 112, 143, 0) 62%);
  pointer-events: none;
}
.footer-inner { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.5fr;
  gap: clamp(26px, 3vw, 48px);
  padding-bottom: clamp(32px, 4vw, 56px);
}

.footer-col { min-width: 0; }

.footer-brand {
  display: inline-block;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.footer-brand:hover { color: var(--gold); }

.footer-tagline {
  margin-top: 14px;
  font-size: 0.9375rem;
  line-height: 1.8;
  max-width: 34ch;
  color: rgba(245, 242, 234, 0.62);
}

.footer-meta {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: rgba(245, 242, 234, 0.42);
}

.footer-col-title {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--lake-soft);
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(245, 242, 234, 0.14);
}

.footer-list li + li { margin-top: 10px; }

.footer-link {
  display: inline-block;
  font-size: 0.9375rem;
  color: rgba(245, 242, 234, 0.76);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-link:hover {
  color: var(--gold);
  border-bottom-color: rgba(201, 162, 39, 0.6);
}

.contact-list li + li { margin-top: 12px; }
.contact-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.contact-key {
  flex: 0 0 38px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  color: var(--lake-soft);
}
.contact-value {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(245, 242, 234, 0.88);
  word-break: break-word;
}

.footer-note {
  margin-top: 16px;
  padding-left: 10px;
  border-left: 2px solid rgba(201, 162, 39, 0.55);
  font-size: 0.75rem;
  line-height: 1.7;
  max-width: 36ch;
  color: rgba(245, 242, 234, 0.5);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 18px;
}
.footer-legal .footer-link { font-size: 0.8125rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px;
  border-top: 1px solid rgba(245, 242, 234, 0.14);
  font-size: 0.75rem;
  color: rgba(245, 242, 234, 0.5);
}
.footer-copy { max-width: none; }
.footer-icp {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(245, 242, 234, 0.62);
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--lake);
  color: #fff;
  box-shadow: 0 8px 20px rgba(17, 112, 143, 0.3);
}
.btn--primary:hover { background: #0d6180; }

.btn--ochre {
  background: var(--ochre);
  color: #fff;
  box-shadow: 0 8px 20px rgba(180, 85, 43, 0.26);
}
.btn--ochre:hover { background: #a04a24; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(26, 31, 36, 0.26);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--lake); }

.btn--line {
  background: transparent;
  color: var(--paper);
  border-color: rgba(245, 242, 234, 0.4);
}
.btn--line:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- 面包屑 ---------- */

.breadcrumb { padding-block: 18px 0; }
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--steel);
}
.breadcrumb-item { display: flex; align-items: center; gap: 8px; }
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--lake-soft);
  margin-right: 8px;
}
.breadcrumb-link {
  color: var(--steel);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.breadcrumb-link:hover { color: var(--lake); border-bottom-color: var(--lake); }
.breadcrumb-current { color: var(--ink); }

/* ---------- 资料卡 / 标签 / 数据块 ---------- */

.panel {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.7), 0 10px 24px rgba(11, 26, 38, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.panel:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-card);
}

.panel--dark {
  background: var(--night);
  color: rgba(245, 242, 234, 0.8);
  border-color: var(--line-dark);
}
.panel--dark :is(h2, h3, h4) { color: var(--paper); }
.panel--dark p { color: rgba(245, 242, 234, 0.72); }

.panel--cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  box-shadow: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid rgba(17, 112, 143, 0.4);
  border-radius: 2px;
  background: rgba(17, 112, 143, 0.07);
  color: var(--lake);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  line-height: 1.6;
}
.tag--ochre {
  color: var(--ochre);
  border-color: rgba(180, 85, 43, 0.42);
  background: rgba(180, 85, 43, 0.08);
}
.tag--red {
  color: var(--cinnabar);
  border-color: rgba(192, 57, 43, 0.4);
  background: rgba(192, 57, 43, 0.07);
}
.tag--gold {
  color: #8a6d10;
  border-color: rgba(201, 162, 39, 0.5);
  background: rgba(201, 162, 39, 0.12);
}
.section--night .tag--gold,
.panel--dark .tag--gold { color: var(--gold); }

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(228, 237, 240, 0.5);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  color: var(--steel);
}
.stat-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1;
  color: var(--lake);
}
.stat-note {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--steel);
}
.section--night .stat {
  background: rgba(245, 242, 234, 0.06);
  border-color: var(--line-dark);
}
.section--night .stat-value { color: var(--gold); }
.section--night .stat-label,
.section--night .stat-note { color: rgba(245, 242, 234, 0.6); }

/* ---------- 章节索引 ---------- */

.chapter-nav {
  position: sticky;
  top: calc(var(--header-h) + 22px);
}
.chapter-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.chapter-link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 10px;
  border-left: 2px solid transparent;
  font-size: 0.875rem;
  color: var(--steel);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.chapter-link:hover {
  color: var(--ink);
  border-left-color: var(--lake-soft);
  background: rgba(228, 237, 240, 0.6);
}
.chapter-link.is-active {
  color: var(--ink);
  border-left-color: var(--gold);
  background: rgba(228, 237, 240, 0.9);
}
.chapter-num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--lake);
}

/* ---------- 图片容器基础规则 ---------- */

.figure-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(140deg, rgba(17, 112, 143, 0.24), rgba(11, 26, 38, 0.92) 72%),
    var(--night);
}
.figure-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.figure-frame::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38%;
  height: 2px;
  background: linear-gradient(90deg, rgba(201, 162, 39, 0), var(--gold));
  pointer-events: none;
}
.figure-frame--wide { aspect-ratio: 21 / 9; }
.figure-frame--tall { aspect-ratio: 4 / 5; }

.figure-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--steel);
}
.section--night .figure-caption { color: rgba(245, 242, 234, 0.55); }

/* ---------- 长文阅读 ---------- */

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p { font-size: 1rem; line-height: 1.78; color: var(--ink); }
.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { margin-top: 1.1em; }
.prose li {
  position: relative;
  padding-left: 1.5em;
  font-size: 1rem;
  line-height: 1.78;
}
.prose li + li { margin-top: 0.45em; }
.prose li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--lake);
}
.prose a {
  color: var(--lake);
  border-bottom: 1px solid rgba(17, 112, 143, 0.4);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.prose a:hover { color: var(--ochre); border-bottom-color: var(--ochre); }
.section--night .prose p,
.section--night .prose li { color: rgba(245, 242, 234, 0.8); }

/* ---------- 入场动效 ---------- */

[data-reveal] { transition: opacity 0.5s ease, transform 0.5s ease; }
html.has-js [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(14px);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col:last-child .footer-note { max-width: 52ch; }
}

@media (max-width: 899px) {
  :root { --header-h: 64px; }

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

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    background: var(--night);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 24px 40px rgba(11, 26, 38, 0.45);
    padding: 6px var(--gutter) 22px;
    max-height: calc(100vh - var(--header-h) - 8px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-header[data-open="true"] .primary-nav { display: block; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid rgba(245, 242, 234, 0.12); }
  .nav-item:last-child { border-bottom: 0; }
  .nav-link { display: block; padding: 14px 2px; font-size: 1rem; }
  .nav-link::after { right: auto; width: 100%; bottom: 8px; }

  .split__main { border-left: 0; padding-left: 0; }

  .chapter-nav { position: static; top: auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .brand-name { font-size: 1.15rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .btn { width: 100%; justify-content: center; }
}

/* ---------- 动效降级 ---------- */

@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;
  }
  html.has-js [data-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
  .btn:hover,
  .panel:hover { transform: none; }
}
