/* ============================================================
   葡京手机版 · 全站共享样式  /assets/site.css
   报头刊头导航 + 分屏骨架 + 展签卡片 + 双列页脚
   ============================================================ */

/* ---------- 01. 变量 ---------- */
:root {
  --cream: #F7F2E8;
  --sand: #EFE6D6;
  --ink-blue: #14283D;
  --wine: #6E1B2A;
  --wine-deep: #46101C;
  --gold: #C9A227;
  --gold-light: #E9C96B;
  --ink: #1B1416;
  --celadon: #2E6E6A;
  --mist: #7C93A8;

  --text-soft: #4A4145;
  --text-mute: #6A5F5A;

  --line: rgba(27, 20, 22, .14);
  --line-soft: rgba(27, 20, 22, .08);
  --line-gold: rgba(201, 162, 39, .38);
  --line-gold-soft: rgba(233, 201, 107, .24);

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

  --r-card: 18px;
  --r-pill: 999px;

  --wrap: 1180px;
  --gap: clamp(16px, 3vw, 34px);

  --shadow-card: 0 18px 44px -30px rgba(70, 16, 28, .55);
  --shadow-lift: 0 28px 52px -32px rgba(70, 16, 28, .62);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 02. 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

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

ul, ol { list-style: none; }

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

a { color: inherit; text-decoration: none; }

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

table { border-collapse: collapse; width: 100%; }

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 03. 基础排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(120% 58% at 6% 0%, rgba(201, 162, 39, .08), transparent 58%),
    radial-gradient(110% 52% at 100% 2%, rgba(110, 27, 42, .07), transparent 62%),
    repeating-linear-gradient(115deg, rgba(20, 40, 61, .022) 0 1px, transparent 1px 9px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--gold); color: var(--wine-deep); }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-blue);
}

h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: .01em; }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: clamp(19px, 2.2vw, 22px); }

p { text-wrap: pretty; }

#main-content { scroll-margin-top: 150px; }

/* ---------- 04. 布局工具 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gap);
}

.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
}

.split__aside { min-width: 0; }
.split__main { min-width: 0; }

.grid {
  display: grid;
  gap: var(--gap);
}

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

/* ---------- 05. 排版组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--wine);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(22px, 2.7vw, 30px);
  line-height: 1.36;
  color: var(--ink-blue);
  letter-spacing: .01em;
}

.lede {
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-soft);
}

.index-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .92em;
  letter-spacing: .06em;
  color: var(--gold);
}

.note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mute);
}

.rule-gold {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
}

.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 1.9em; font-size: clamp(22px, 2.4vw, 28px); }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose ul li { list-style: none; position: relative; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: -1.05em;
  top: .78em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.prose ol { list-style: decimal; }
.prose ol li::marker { font-family: var(--font-mono); color: var(--wine); }
.prose blockquote {
  padding: 14px 20px;
  border-left: 3px solid var(--wine);
  background: var(--sand);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  color: var(--text-soft);
}
.prose a {
  color: var(--wine);
  border-bottom: 1px solid var(--line-gold);
}
.prose a:hover { color: var(--wine-deep); border-bottom-color: var(--wine); }

/* ---------- 06. 按钮与标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.4;
  text-align: center;
  transition: transform .26s var(--ease), background-color .26s var(--ease),
              box-shadow .26s var(--ease), border-color .26s var(--ease), color .26s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--wine-deep);
  box-shadow: 0 14px 28px -20px rgba(70, 16, 28, .95);
}
.btn--gold:hover {
  box-shadow: 0 18px 32px -18px rgba(70, 16, 28, 1);
  background: linear-gradient(180deg, #F2D68A 0%, var(--gold) 100%);
}

.btn--wine {
  background: var(--wine);
  color: var(--cream);
  box-shadow: 0 14px 28px -20px rgba(70, 16, 28, .9);
}
.btn--wine:hover { background: var(--wine-deep); }

.btn--outline {
  border-color: var(--line-gold);
  color: var(--wine);
  background: rgba(255, 255, 255, .35);
}
.btn--outline:hover {
  border-color: var(--wine);
  background: rgba(110, 27, 42, .06);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 13.5px;
  letter-spacing: .06em;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-gold);
  background: var(--sand);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  line-height: 1.6;
  color: var(--wine);
  white-space: nowrap;
}

.pill--ink {
  background: rgba(20, 40, 61, .08);
  border-color: rgba(20, 40, 61, .22);
  color: var(--ink-blue);
}

.pill--step {
  background: rgba(233, 201, 107, .12);
  border-color: rgba(233, 201, 107, .45);
  color: var(--gold-light);
}

/* ---------- 07. 展签式卡片 ---------- */
.plate {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 20px;
  background: var(--sand);
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--wine);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              border-left-color .3s var(--ease), background-color .3s var(--ease);
}

.plate:hover,
.plate:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-left-color: var(--gold);
  background: #F4EBDC;
}

.plate__index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gold);
}

.plate__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink-blue);
}

.plate__desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-soft);
}

.plate__meta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line-gold);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--text-mute);
}

/* ---------- 08. 面包屑 ---------- */
.breadcrumb { padding: 18px 0 6px; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--text-mute);
}

.breadcrumb__list li { display: flex; align-items: center; gap: 8px; }

.breadcrumb__list li + li::before {
  content: "/";
  color: var(--gold);
}

.breadcrumb__list a:hover { color: var(--wine); }

.breadcrumb__list [aria-current="page"] { color: var(--ink-blue); font-weight: 700; }

/* ---------- 09. 图片容器基础规则 ---------- */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  background-color: var(--sand);
  background-image:
    linear-gradient(135deg, rgba(20, 40, 61, .06) 0 25%, transparent 25% 50%, rgba(20, 40, 61, .06) 50% 75%, transparent 75%),
    radial-gradient(120% 90% at 18% 0%, rgba(201, 162, 39, .16), transparent 60%);
  background-size: 22px 22px, 100% 100%;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-card);
}

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

.media--wide { aspect-ratio: 21 / 9; border-radius: calc(var(--r-card) + 4px); }
.media--tile { aspect-ratio: 1 / 1; border-radius: var(--r-card); }
.media--tall { aspect-ratio: 3 / 4; }
.media--flat { box-shadow: none; }

.media__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--text-mute);
}

/* ---------- 10. 页头 · 刊头式导航 ---------- */
.skip-link {
  position: absolute;
  top: 8px;
  left: clamp(10px, 3vw, 26px);
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--gold-light);
  color: var(--wine-deep);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  transform: translateY(-180%);
  transition: transform .24s var(--ease);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  color: var(--cream);
  background-color: var(--wine);
  background-image:
    radial-gradient(90% 130% at 10% -20%, rgba(233, 201, 107, .22), transparent 56%),
    radial-gradient(120% 150% at 92% 130%, rgba(20, 40, 61, .72), transparent 62%),
    linear-gradient(180deg, #7B2032 0%, #6E1B2A 48%, #46101C 100%);
  border-bottom: 1px solid var(--line-gold);
  box-shadow: 0 1px 0 rgba(233, 201, 107, .28), 0 26px 44px -38px rgba(27, 20, 22, .95);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, .035) 0 1px,
    transparent 1px 6px
  );
  opacity: .8;
}

.header-inner {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 20px var(--gap) 0;
}

/* 刊头三栏：左索引标记 · 中品牌 · 右胶囊 CTA */
.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 4px 0 16px;
}

.masthead__issue {
  grid-column: 1;
  justify-self: start;
  padding-left: 10px;
  border-left: 1px solid var(--line-gold);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .22em;
  color: rgba(247, 242, 232, .66);
}

.masthead__brand {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.masthead__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: radial-gradient(circle at 32% 26%, rgba(233, 201, 107, .38), rgba(70, 16, 28, .28));
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1;
  color: var(--gold-light);
}

.masthead__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 34px);
  letter-spacing: .16em;
  color: #FBF6EC;
}

.masthead__line {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.masthead__cta {
  grid-column: 3;
  justify-self: end;
}

.masthead__brand:hover .masthead__name { color: var(--gold-light); }
.masthead__brand { transition: color .26s var(--ease); }

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-gold);
  background: rgba(20, 40, 61, .3);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
}

.nav-toggle__bars {
  display: block;
  position: relative;
  width: 16px;
  height: 2px;
  background: var(--gold-light);
  box-shadow: 0 -5px 0 var(--gold-light), 0 5px 0 var(--gold-light);
}

[data-nav-toggle][aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
  box-shadow: none;
}

[data-nav-toggle][aria-expanded="true"] .nav-toggle__bars::before,
[data-nav-toggle][aria-expanded="true"] .nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--gold-light);
}

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

/* 导航条 */
.site-nav {
  display: block;
  border-top: 1px solid rgba(233, 201, 107, .26);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: clamp(6px, 2.4vw, 30px);
  padding: 0;
}

.nav-list__item { display: flex; }

.nav-list__link {
  position: relative;
  display: block;
  padding: 14px 4px 17px;
  font-size: 15px;
  letter-spacing: .08em;
  color: rgba(247, 242, 232, .86);
  transition: color .24s var(--ease);
}

.nav-list__link::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 9px;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}

.nav-list__link:hover { color: #FFFFFF; }
.nav-list__link:hover::after { transform: scaleX(1); }

.nav-list__link[aria-current="page"] {
  color: var(--gold-light);
  font-weight: 500;
}

.nav-list__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--gold);
  height: 2px;
}

/* 滚动进度金线 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 55%, var(--gold) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .1s linear;
}

/* ---------- 11. 页脚 ---------- */
.site-footer {
  margin-top: clamp(56px, 8vw, 104px);
  color: rgba(247, 242, 232, .84);
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 82% at 8% 0%, rgba(110, 27, 42, .58), transparent 60%),
    radial-gradient(96% 76% at 100% 108%, rgba(20, 40, 61, .78), transparent 62%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 8px);
  border-top: 1px solid var(--line-gold);
  font-size: 15px;
}

.footer-inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 62px) var(--gap) 26px;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(233, 201, 107, .22);
}

.footer-brand__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 24px);
  letter-spacing: .14em;
  color: #FBF6EC;
}

.footer-brand__line {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--gold-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(26px, 4vw, 38px) 0 clamp(22px, 3vw, 32px);
  align-items: start;
}

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

.footer-col--feedback {
  padding: 24px clamp(18px, 2.4vw, 28px) 26px;
  border: 1px solid rgba(233, 201, 107, .34);
  border-radius: var(--r-card);
  background: linear-gradient(158deg, rgba(110, 27, 42, .9) 0%, rgba(70, 16, 28, .92) 100%);
  box-shadow: 0 34px 62px -46px rgba(0, 0, 0, .95);
}

.footer-heading {
  position: relative;
  padding-left: 14px;
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .04em;
  color: #FBF6EC;
}

.footer-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: .38em;
  width: 3px;
  height: .95em;
  border-radius: 2px;
  background: var(--gold);
}

.footer-text {
  max-width: 46ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(247, 242, 232, .76);
}

.footer-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
}

.footer-note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(247, 242, 232, .56);
}

.footer-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 9px 0;
  line-height: 1.7;
  border-bottom: 1px dashed rgba(233, 201, 107, .18);
  font-size: 14.5px;
  color: rgba(247, 242, 232, .8);
  word-break: break-word;
}

.footer-list li:last-child { border-bottom: 0; }

.footer-label {
  flex: 0 0 auto;
  min-width: 74px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--mist);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(233, 201, 107, .22);
  font-size: 13px;
  color: rgba(247, 242, 232, .56);
}

.footer-copy { line-height: 1.7; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-legal a { transition: color .24s var(--ease); }
.footer-legal a:hover { color: var(--gold-light); }

/* ---------- 12. 滚动显现 ---------- */
html[data-reveal-ready] [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity .55s var(--ease) var(--reveal-delay, 0ms),
    transform .55s var(--ease) var(--reveal-delay, 0ms);
}

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

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1024px) {
  .split { grid-template-columns: 4fr 6fr; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  body { font-size: 16px; }

  .header-inner {
    position: relative;
    padding: 14px var(--gap) 0;
  }

  .masthead {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2px 0 12px;
    padding-right: 108px;
  }

  .masthead__issue,
  .masthead__cta,
  .masthead__line { display: none; }

  .masthead__brand {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    text-align: left;
  }

  .masthead__mark { width: 32px; height: 32px; font-size: 16px; }
  .masthead__name { font-size: 21px; letter-spacing: .12em; }

  .nav-toggle {
    display: inline-flex;
    position: absolute;
    top: 16px;
    right: var(--gap);
  }

  .site-nav {
    max-height: 0;
    overflow: hidden;
    border-top-color: rgba(233, 201, 107, .18);
    transition: max-height .42s var(--ease);
  }

  .site-nav[data-open] {
    max-height: 560px;
    border-top-color: rgba(233, 201, 107, .34);
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 6px 0 14px;
  }

  .nav-list__item { display: block; }

  .nav-list__link {
    padding: 13px 2px;
    border-bottom: 1px solid rgba(233, 201, 107, .14);
    letter-spacing: .1em;
  }

  .nav-list__link::after { left: 2px; right: auto; width: 42px; bottom: 6px; }
  .nav-list__item:last-child .nav-list__link { border-bottom: 0; }

  .split { grid-template-columns: 1fr; }
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }

  #main-content { scroll-margin-top: 110px; }
}

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

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

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

  html[data-reveal-ready] [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .plate:hover,
  .plate:focus-within { transform: none; }
}
