/* ============================================================
   site.css — 新葡京品牌 中文站 CN
   夜间阅览室体系：刊头 / 编号索引 / 色带章节 / 纸面阅读
   ============================================================ */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --ink: #14302A;
  --ink-deep: #0E2320;
  --teal: #24443D;
  --gold: #C8A96A;
  --gold-pale: #E8D7B5;
  --mist: #8FA3A0;
  --moss: #5E7468;
  --paper: #F4EFE6;
  --paper-tint: #EDE6DA;
  --sand: #D9D0C1;
  --wine: #7E2F2F;
  --char: #1B1B18;

  --line: rgba(20, 48, 42, 0.16);
  --line-strong: rgba(20, 48, 42, 0.36);
  --line-gold: rgba(200, 169, 106, 0.42);
  --line-light: rgba(244, 239, 230, 0.14);

  --shadow-soft: 0 1px 0 rgba(20, 48, 42, 0.04), 0 18px 40px -30px rgba(20, 48, 42, 0.55);

  --focus: #7E2F2F;

  --font-serif: "Songti SC", "Noto Serif CJK SC", "SimSun", Georgia, serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --w: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.75rem);
  --ease: cubic-bezier(0.32, 0.72, 0.28, 1);
}

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

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

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 8% -4%, rgba(200, 169, 106, 0.12), transparent 46%),
    radial-gradient(circle at 96% 12%, rgba(143, 163, 160, 0.10), transparent 40%);
  background-repeat: no-repeat;
  color: var(--char);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--ink);
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }

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

#main-content,
[id] { scroll-margin-top: 7rem; }

/* ---------- 3. 通用工具 ---------- */
.container {
  width: min(var(--w), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.container--narrow {
  width: min(40em, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.muted { color: var(--moss); }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}

.rule--gold { background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.section { padding-block: clamp(2.6rem, 6vw, 5rem); }
.section--tint { background: var(--paper-tint); }

.section--ink {
  background: var(--ink);
  color: var(--paper);
}
.section--ink h1,
.section--ink h2,
.section--ink h3 { color: var(--gold-pale); }
.section--ink .muted { color: var(--mist); }

/* ---------- 4. 跳至正文 ---------- */
.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 0.9rem;
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}

/* ---------- 5. 刊头 header ---------- */
.site-header {
  --focus: #E8D7B5;
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--line-gold);
  box-shadow: 0 12px 34px -28px rgba(0, 0, 0, 0.95);
}

.site-header__inner {
  position: relative;
  width: min(var(--w), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.meta-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  padding-block: 0.4rem;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.48);
  white-space: nowrap;
  overflow: hidden;
}

.meta-strip__item { flex: 0 0 auto; }

.meta-strip__sep {
  flex: 0 0 auto;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.65;
}

.masthead {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-block: 0.95rem 0.85rem;
}

.masthead__aside {
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.5);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.masthead__aside--end { justify-self: end; }

a.masthead__aside:hover { color: var(--gold-pale); }

.masthead__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.42rem;
  text-decoration: none;
  color: inherit;
}

.brand__cn {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3.2vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: #F4EFE6;
}

.brand__rule {
  position: relative;
  width: clamp(88px, 20vw, 156px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.brand__rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

.brand__en {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: rgba(232, 215, 181, 0.74);
  white-space: nowrap;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(200, 169, 106, 0.42);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-toggle:hover { border-color: var(--gold); color: var(--gold-pale); }

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 15px;
}
.nav-toggle__bars span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.24s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(2.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  transform: translateY(-2.5px) rotate(-45deg);
}

/* 居中刊头导航 */
.site-nav { display: flex; justify-content: center; }

.site-nav__list {
  display: flex;
  justify-content: center;
  gap: clamp(0.4rem, 2.2vw, 1.7rem);
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: nav;
}

.site-nav__item { counter-increment: nav; }

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.6rem 0.35rem 0.85rem;
  font-size: 14px;
  letter-spacing: 0.07em;
  color: rgba(244, 239, 230, 0.76);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.site-nav__link::before {
  content: counter(nav, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(200, 169, 106, 0.62);
  transform: translateY(-0.34em);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0.42rem;
  height: 1px;
  background: var(--gold);
  transition: left 0.26s var(--ease), right 0.26s var(--ease);
}

.site-nav__link:hover { color: #F4EFE6; }
.site-nav__link:hover::after { left: 0.35rem; right: 0.35rem; }

.site-nav__link[aria-current="page"] { color: var(--gold-pale); }
.site-nav__link[aria-current="page"]::after {
  left: 0.35rem;
  right: 0.35rem;
  height: 2px;
  background: var(--wine);
  box-shadow: 0 -2px 0 rgba(232, 215, 181, 0.6);
}

/* 阅读进度 */
.read-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(244, 239, 230, 0.1);
  overflow: hidden;
}
.read-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
  transition: width 0.12s linear;
}

/* ---------- 6. 页脚 footer ---------- */
.site-footer {
  --focus: #E8D7B5;
  background: var(--ink-deep);
  color: rgba(244, 239, 230, 0.74);
  border-top: 1px solid var(--line-gold);
  margin-top: clamp(3rem, 8vw, 6rem);
}

.site-footer__inner {
  width: min(var(--w), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding-block: clamp(2.2rem, 5vw, 3.6rem) 1.4rem;
}

.footer-masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line-light);
}

.footer-masthead__brand {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  letter-spacing: 0.2em;
  color: var(--paper);
}

.footer-masthead__en {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(200, 169, 106, 0.62);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.35fr 1.15fr;
  gap: clamp(1.3rem, 3vw, 2.4rem);
  padding-block: 1.9rem 1.6rem;
}

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

.footer-col__title {
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(200, 169, 106, 0.85);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-list__link {
  display: inline-block;
  padding-block: 0.1rem;
  font-size: 14px;
  color: rgba(244, 239, 230, 0.74);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-list__link:hover {
  color: var(--gold-pale);
  border-bottom-color: var(--line-gold);
}

.footer-contact {
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-contact__row {
  display: grid;
  grid-template-columns: 3.4em minmax(0, 1fr);
  gap: 0.6rem;
  align-items: baseline;
}

.footer-contact__term {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(143, 163, 160, 0.9);
}

.footer-contact__value {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.82);
  overflow-wrap: anywhere;
}

.footer-contact__note {
  margin-top: 0.8rem;
  font-size: 12px;
  color: rgba(143, 163, 160, 0.9);
}

.footer-col--notice { align-self: start; }

.footer-notice {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 0.7rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(200, 169, 106, 0.3);
  border-left: 2px solid var(--gold);
  border-radius: 2px;
  background: rgba(244, 239, 230, 0.03);
  text-decoration: none;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
}
.footer-notice:hover {
  border-color: rgba(200, 169, 106, 0.62);
  border-left-color: var(--gold-pale);
  background: rgba(244, 239, 230, 0.06);
}

.footer-notice__label {
  grid-column: 1;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--gold-pale);
}

.footer-notice__text {
  grid-column: 1;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.66);
}

.footer-notice__arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
  transition: transform 0.22s var(--ease);
}
.footer-notice:hover .footer-notice__arrow { transform: translateX(3px); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-light);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(143, 163, 160, 0.92);
}

.footer-bottom__copy,
.footer-bottom__icp { margin: 0; }

.footer-bottom__links {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}
.footer-bottom__links a {
  color: rgba(244, 239, 230, 0.7);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-bottom__links a:hover {
  color: var(--gold-pale);
  border-bottom-color: var(--line-gold);
}

/* ---------- 7. 章节标题 ---------- */
.section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 0.4rem 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.section-head__index {
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.section-head__title {
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  letter-spacing: 0.06em;
}

.section-head__sub {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--moss);
}

.index-num {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border: 1px solid var(--line-gold);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--moss);
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.3rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.btn:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--ink);
}

.btn--solid {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.btn--solid:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--paper);
}

.btn--ghost {
  border-color: var(--line-gold);
  color: var(--ink);
}
.btn--ghost:hover {
  background: transparent;
  border-color: var(--gold);
  color: var(--wine);
}

/* ---------- 9. 面包屑 ---------- */
.breadcrumbs {
  padding-block: 1.1rem 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--moss);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs__item { display: inline-flex; align-items: center; }

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--sand);
}

.breadcrumbs__link {
  color: var(--moss);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.breadcrumbs__link:hover {
  color: var(--wine);
  border-bottom-color: var(--gold);
}

.breadcrumbs__current { color: var(--char); }

/* ---------- 10. 卡片与标签 ---------- */
.card {
  display: block;
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  transition: transform 0.26s var(--ease), border-color 0.26s var(--ease), box-shadow 0.26s var(--ease);
}
a.card:hover,
a.card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 22px 44px -32px rgba(20, 48, 42, 0.6);
}

.card__index {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.card__title {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

.card__text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--moss);
}

.card__meta {
  display: block;
  margin-top: 0.9rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.tag {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--moss);
  background: rgba(232, 215, 181, 0.22);
}

/* ---------- 11. 网格 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(1rem, 2.4vw, 1.7rem);
}

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

.grid--asym {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
}

/* ---------- 12. 正文 ---------- */
.prose {
  max-width: 38em;
  font-size: 16px;
  line-height: 1.9;
  color: var(--char);
}
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  margin-top: 2em;
  padding-top: 0.9em;
  border-top: 1px solid var(--line);
}
.prose h3 { font-size: 1.05rem; margin-top: 1.7em; }
.prose p { color: rgba(27, 27, 24, 0.9); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.prose a:hover { color: var(--wine); border-bottom-color: var(--wine); }
.prose blockquote {
  margin-inline: 0;
  padding: 0.2em 0 0.2em 1.1em;
  border-left: 2px solid var(--moss);
  color: var(--moss);
  font-family: var(--font-serif);
}

/* ---------- 13. 图像容器基础规则 ---------- */
.figure {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.figure__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(232, 215, 181, 0.35), transparent 58%),
    linear-gradient(158deg, var(--teal) 0%, var(--ink) 72%);
  box-shadow: var(--shadow-soft);
}

.figure__frame::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  opacity: 0.7;
  z-index: 1;
}

.figure__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.figure--wide .figure__img { aspect-ratio: 16 / 9; }
.figure--tall .figure__img { aspect-ratio: 3 / 4; }

.figure__caption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.7rem;
  font-size: 12px;
  line-height: 1.7;
  color: var(--moss);
}
.figure__caption::before {
  content: "—";
  color: var(--gold);
}

/* ---------- 14. 滚动显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 15. 平板 ---------- */
@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col--notice { grid-column: 1 / -1; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 16. 移动：刊头与编号抽屉 ---------- */
@media (max-width: 899px) {
  .masthead {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 0.85rem;
    padding-inline: 3.4rem;
  }

  .masthead__aside { display: none; }

  .brand__en {
    white-space: normal;
    text-align: center;
    max-width: 22ch;
    letter-spacing: 0.14em;
    line-height: 1.9;
    font-size: 9px;
  }

  .nav-toggle {
    display: inline-flex;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .site-nav {
    display: none;
    border-top: 1px solid var(--line-light);
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
  }

  .site-nav[data-open] { display: block; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 0.5rem;
  }

  .site-nav__item {
    border-bottom: 1px solid rgba(244, 239, 230, 0.08);
  }

  .site-nav__item:last-child { border-bottom: 0; }

  .site-nav__link {
    display: flex;
    width: 100%;
    padding: 0.9rem 0.9rem 0.9rem 0.75rem;
    font-size: 15px;
    letter-spacing: 0.1em;
  }

  .site-nav__link::after { display: none; }

  .site-nav__link[aria-current="page"] {
    color: var(--gold-pale);
    background: rgba(244, 239, 230, 0.04);
    box-shadow: inset 3px 0 0 var(--wine);
  }

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

  .section-head { gap: 0.3rem 0.8rem; }
}

@media (max-width: 600px) {
  .meta-strip {
    font-size: 9px;
    letter-spacing: 0.12em;
    gap: 0.4rem;
    justify-content: flex-start;
    padding-inline: 0.1rem;
  }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .slide-only-desktop { display: none; }
}

/* ---------- 17. 降低动效 ---------- */
@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;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .read-progress__bar { transition: none; }
}
