/* ==========================================================================
   赢国平台 · 共享样式表 /assets/site.css
   展览画册 × 城市服务索引档案
   ========================================================================== */

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

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

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

ul,
ol {
  padding: 0;
  list-style: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

/* ---------- 2. 变量 ---------- */
:root {
  --inkblue: #0b1f2e;
  --inkblue-2: #14354c;
  --paper: #f3ede0;
  --paper-2: #ded5c4;
  --gold: #c8a04a;
  --gold-lit: #e8c97a;
  --cinnabar: #b63c2b;
  --cinnabar-lit: #c9482f;
  --celadon: #6c9b84;
  --stone: #6e8fa3;
  --ink: #1d2329;

  --sheet-max: 1440px;
  --gutter: clamp(20px, 5vw, 72px);
  --rail-h: 48px;
  --header-h: 84px;

  --hair-gold: 1px solid rgba(200, 160, 74, 0.38);
  --hair-soft: 1px solid rgba(200, 160, 74, 0.22);

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

  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-17: 1.0625rem;
  --fs-20: 1.25rem;
  --fs-28: 1.75rem;
  --fs-44: clamp(2rem, 4vw, 2.75rem);
  --fs-72: clamp(2.6rem, 6vw, 4.5rem);
  --fs-112: clamp(3.4rem, 9vw, 7rem);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--fs-17);
  line-height: 1.75;
  color: var(--paper);
  background-color: var(--inkblue);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.04em;
}

p {
  text-wrap: pretty;
}

strong {
  font-weight: 700;
  color: var(--gold-lit);
}

code,
kbd,
samp,
.num,
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.num {
  display: inline-block;
  font-size: var(--fs-72);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--gold);
}

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

/* ---------- 4. 无障碍 ---------- */
.skip-link {
  position: fixed;
  left: 16px;
  top: -120px;
  z-index: 300;
  padding: 12px 22px;
  font-size: var(--fs-14);
  letter-spacing: 0.1em;
  color: var(--inkblue);
  background: var(--gold);
  border: 1px solid var(--gold-lit);
  text-decoration: none;
  transition: top 0.16s ease;
}

.skip-link:focus {
  top: 12px;
}

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

.on-paper :focus-visible,
.slab--paper :focus-visible {
  outline-color: var(--cinnabar);
}

#main-content {
  display: block;
  scroll-margin-top: calc(var(--header-h) + var(--rail-h) + 16px);
}

/* ---------- 5. 容器与网格 ---------- */
.sheet {
  width: 100%;
  max-width: var(--sheet-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  grid-template-columns: minmax(0, 1fr);
}

.slab {
  padding-block: clamp(48px, 8vw, 120px);
}

.slab--paper {
  background: var(--paper);
  color: var(--ink);
}

.slab--deep {
  background: var(--inkblue-2);
  color: var(--paper);
}

.prose {
  max-width: 68ch;
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  color: inherit;
}

.prose a {
  color: var(--gold-lit);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 160, 74, 0.6);
}

.on-paper .prose a,
.slab--paper .prose a {
  color: var(--cinnabar);
  border-bottom-color: rgba(182, 60, 43, 0.45);
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: var(--fs-14);
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  color: inherit;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, transform 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--cta {
  background: var(--cinnabar);
  color: #f8f2e5;
  border-color: var(--cinnabar);
  box-shadow: 4px 4px 0 rgba(200, 160, 74, 0.55);
}

.btn--cta:hover,
.btn--cta:focus-visible {
  background: var(--cinnabar-lit);
  border-color: var(--gold-lit);
  box-shadow: 6px 6px 0 rgba(200, 160, 74, 0.8);
}

.btn--gold {
  background: var(--gold);
  color: var(--inkblue);
  border-color: var(--gold);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: var(--gold-lit);
  border-color: var(--gold-lit);
}

.btn--ghost {
  border-color: rgba(200, 160, 74, 0.6);
  color: var(--gold-lit);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(200, 160, 74, 0.14);
  color: var(--paper);
  border-color: var(--gold-lit);
}

.btn--paper {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper-2);
}

.btn--paper:hover,
.btn--paper:focus-visible {
  background: #fffdf7;
  border-color: var(--gold);
}

/* ---------- 7. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.12em;
  color: rgba(243, 237, 224, 0.55);
}

.crumbs a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.crumbs a:hover,
.crumbs a:focus-visible {
  color: var(--gold-lit);
  border-bottom-color: var(--gold-lit);
}

.crumbs > li:not(:last-child)::after {
  content: "/";
  margin-left: 10px;
  color: rgba(200, 160, 74, 0.55);
}

.crumbs [aria-current="page"] {
  color: var(--gold);
}

.on-paper .crumbs,
.slab--paper .crumbs {
  color: rgba(29, 35, 41, 0.55);
}

.on-paper .crumbs > li:not(:last-child)::after,
.slab--paper .crumbs > li:not(:last-child)::after {
  color: rgba(182, 60, 43, 0.5);
}

/* ---------- 8. 注释与标签 ---------- */
.annot {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-body);
  font-size: var(--fs-12);
  letter-spacing: 0.3em;
  line-height: 1;
  color: var(--gold);
}

.annot--light {
  color: rgba(200, 160, 74, 0.62);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  color: var(--gold-lit);
  background: rgba(20, 53, 76, 0.85);
  border: 1px solid rgba(200, 160, 74, 0.5);
}

.on-paper .tag,
.slab--paper .tag {
  color: var(--ink);
  background: var(--paper-2);
  border-color: rgba(29, 35, 41, 0.28);
}

/* ---------- 9. 图片容器 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(200, 160, 74, 0.35);
  background-color: var(--inkblue-2);
  background-image:
    linear-gradient(160deg, rgba(20, 53, 76, 0.92), rgba(11, 31, 46, 0.98)),
    repeating-linear-gradient(90deg, rgba(200, 160, 74, 0.16) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(200, 160, 74, 0.12) 0 1px, transparent 1px 40px);
}

.media::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(200, 160, 74, 0.28);
  pointer-events: none;
}

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

.media--wide {
  aspect-ratio: 21 / 9;
}

.media--tall {
  aspect-ratio: 3 / 4;
}

.media--square {
  aspect-ratio: 1 / 1;
}

.media--paper {
  background-color: var(--paper-2);
  background-image:
    linear-gradient(160deg, #f7f2e7, var(--paper-2)),
    repeating-linear-gradient(90deg, rgba(29, 35, 41, 0.07) 0 1px, transparent 1px 40px);
  border-color: rgba(29, 35, 41, 0.22);
}

.media--paper::after {
  border-color: rgba(29, 35, 41, 0.14);
}

.media__cap {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  color: var(--stone);
}

.on-paper .media__cap,
.slab--paper .media__cap {
  color: rgba(29, 35, 41, 0.6);
}

/* ---------- 10. 弱显现与目录高亮协议 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-toc-link] {
  transition: color 0.16s ease, border-color 0.16s ease;
}

[data-toc-link][aria-current="true"] {
  color: var(--gold-lit);
}

.on-paper [data-toc-link][aria-current="true"],
.slab--paper [data-toc-link][aria-current="true"] {
  color: var(--cinnabar);
}

/* ==========================================================================
   头部
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--inkblue);
  border-bottom: 1px solid rgba(200, 160, 74, 0.42);
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5) inset, 0 22px 40px -34px rgba(0, 0, 0, 0.95);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  z-index: 3;
  pointer-events: none;
  background: rgba(200, 160, 74, 0.12);
}

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold), var(--gold-lit) 55%, var(--cinnabar));
  transition: transform 0.1s linear;
}

.site-status {
  background: var(--inkblue-2);
  border-bottom: 1px solid rgba(200, 160, 74, 0.2);
}

.site-status__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  min-height: var(--rail-h);
  padding-block: 7px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.12em;
  color: rgba(243, 237, 224, 0.7);
}

.site-status__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 3px 11px;
  color: var(--gold-lit);
  border: 1px solid rgba(108, 155, 132, 0.55);
  background: rgba(108, 155, 132, 0.1);
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--celadon);
  box-shadow: 0 0 0 3px rgba(108, 155, 132, 0.16);
  animation: dot-breathe 1.2s ease-in-out infinite;
}

@keyframes dot-breathe {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.82);
  }
}

.site-status__note {
  white-space: nowrap;
}

.site-status__meta {
  margin-left: auto;
  color: rgba(110, 143, 163, 0.95);
  letter-spacing: 0.14em;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--paper);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--inkblue);
  background: var(--gold);
  border: 1px solid var(--gold-lit);
  box-shadow: 3px 3px 0 rgba(182, 60, 43, 0.92);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.brand:hover .brand__mark,
.brand:focus-visible .brand__mark {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 rgba(182, 60, 43, 0.92);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.16em;
  color: var(--paper);
}

.brand__tagline {
  font-size: 0.6875rem;
  line-height: 1.2;
  letter-spacing: 0.2em;
  color: rgba(243, 237, 224, 0.5);
}

/* 移动目录按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid rgba(200, 160, 74, 0.5);
  color: var(--gold-lit);
  font-size: var(--fs-14);
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.nav-toggle:hover {
  background: rgba(200, 160, 74, 0.12);
  border-color: var(--gold-lit);
}

.nav-toggle[aria-expanded="true"] {
  background: rgba(200, 160, 74, 0.16);
  color: var(--paper);
  border-color: var(--gold-lit);
}

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child {
  transform: translateY(2.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child {
  transform: translateY(-2.5px) rotate(-45deg);
}

.nav-toggle__label {
  line-height: 1;
}

/* 主导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  margin-left: auto;
  padding-left: clamp(16px, 2.4vw, 36px);
  border-left: 1px solid rgba(200, 160, 74, 0.3);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.8vw, 8px);
  counter-reset: navidx;
}

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

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 10px;
  font-size: 0.9375rem;
  letter-spacing: 0.07em;
  text-decoration: none;
  color: rgba(243, 237, 224, 0.76);
  transition: color 0.16s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 1px;
  background: var(--gold-lit);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.16s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--paper);
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after {
  transform: scaleX(1);
}

.site-nav__link[aria-current="page"] {
  color: var(--gold-lit);
}

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

.site-nav__cta {
  flex: 0 0 auto;
  padding: 10px 18px;
  font-size: var(--fs-14);
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 132px);
  background: var(--inkblue);
  color: rgba(243, 237, 224, 0.78);
  border-top: 1px solid rgba(200, 160, 74, 0.4);
}

.site-footer::before {
  content: "";
  display: block;
  height: 8px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--gold) 0 22px,
    transparent 22px 44px
  );
  opacity: 0.45;
}

.site-footer__inner {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  padding-block: clamp(40px, 6vw, 76px) clamp(24px, 3vw, 40px);
}

.site-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(20px, 3vw, 30px);
  border-bottom: var(--hair-soft);
}

.site-footer__brandblock {
  min-width: 0;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.16em;
  color: var(--paper);
}

.site-footer__brandline {
  margin-top: 8px;
  font-size: var(--fs-14);
  letter-spacing: 0.22em;
  color: var(--stone);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}

.site-footer__col {
  min-width: 0;
}

.site-footer__col--wide {
  grid-column: 1 / -1;
}

.site-footer__heading {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 400;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.site-footer__links {
  display: grid;
  gap: 2px;
}

.site-footer__link {
  position: relative;
  display: inline-block;
  padding: 7px 0 7px 2px;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: rgba(243, 237, 224, 0.8);
  transition: color 0.16s ease, padding-left 0.16s ease;
}

.site-footer__link::before {
  content: "—";
  position: absolute;
  left: 0;
  opacity: 0;
  color: var(--gold);
  transition: opacity 0.16s ease, left 0.16s ease;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: var(--paper);
  padding-left: 26px;
}

.site-footer__link:hover::before,
.site-footer__link:focus-visible::before {
  opacity: 1;
}

.site-footer__meta {
  font-size: var(--fs-14);
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: rgba(243, 237, 224, 0.82);
}

.site-footer__note {
  margin-top: 12px;
  max-width: 44ch;
  font-size: var(--fs-14);
  line-height: 1.85;
  color: rgba(243, 237, 224, 0.52);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  padding-top: clamp(20px, 3vw, 30px);
  border-top: var(--hair-soft);
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: rgba(243, 237, 224, 0.52);
}

.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.site-footer__legal-links a {
  text-decoration: none;
  color: rgba(243, 237, 224, 0.72);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.site-footer__legal-links a:hover,
.site-footer__legal-links a:focus-visible {
  color: var(--gold-lit);
  border-bottom-color: var(--gold-lit);
}

.site-footer__icp,
.site-footer__copy {
  letter-spacing: 0.1em;
}

.site-footer__copy {
  margin-left: auto;
  color: rgba(110, 143, 163, 0.9);
}

/* 抄录行 */
.copyline {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  text-align: left;
  cursor: pointer;
  background: rgba(20, 53, 76, 0.6);
  border: 1px dashed rgba(200, 160, 74, 0.42);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.copyline:hover,
.copyline:focus-visible {
  background: rgba(200, 160, 74, 0.14);
  border-color: var(--gold-lit);
  border-style: solid;
}

.copyline__text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.copyline__hint {
  margin-left: auto;
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.copyline[data-copied="true"] {
  border-color: var(--celadon);
  border-style: solid;
  background: rgba(108, 155, 132, 0.16);
}

.copyline[data-copied="true"] .copyline__hint {
  color: var(--celadon);
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (min-width: 720px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 820px) {
  .site-footer__grid {
    grid-template-columns: 1.05fr 1.2fr 1.6fr;
  }

  .site-footer__col--wide {
    grid-column: auto;
  }
}

@media (min-width: 920px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .site-nav__link {
    padding: 8px 7px;
  }

  .site-nav__link::after {
    left: 7px;
    right: 7px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
    --rail-h: 40px;
  }

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

  .site-header__inner {
    gap: 14px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
    font-size: 1.125rem;
  }

  .brand__name {
    font-size: 1.125rem;
  }

  .brand__tagline {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 12px var(--gutter) 24px;
    background: var(--inkblue-2);
    border-top: 1px solid rgba(200, 160, 74, 0.45);
    border-left: 0;
    border-bottom: 1px solid rgba(200, 160, 74, 0.45);
    box-shadow: 0 30px 44px -30px rgba(0, 0, 0, 0.95);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

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

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

  .site-nav__item + .site-nav__item {
    border-top: 1px solid rgba(243, 237, 224, 0.1);
  }

  .site-nav__link {
    display: block;
    padding: 15px 4px;
    font-size: 1rem;
    letter-spacing: 0.1em;
  }

  .site-nav__link::after {
    left: 4px;
    right: auto;
    width: 26px;
    bottom: 8px;
  }

  .site-nav__link::before {
    content: counter(navidx, decimal-leading-zero);
    display: inline-block;
    margin-right: 14px;
    font-family: var(--font-mono);
    font-size: var(--fs-12);
    letter-spacing: 0.1em;
    color: var(--gold);
  }

  .site-nav__cta {
    margin-top: 18px;
    width: 100%;
    padding: 13px 18px;
  }

  .site-status__meta {
    display: none;
  }

  .site-status__note {
    margin-left: auto;
    font-size: 0.6875rem;
  }
}

@media (max-width: 700px) {
  :root {
    --fs-72: clamp(2.1rem, 9vw, 3rem);
    --fs-112: clamp(2.6rem, 13vw, 4rem);
  }

  .annot {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    letter-spacing: 0.22em;
  }

  .site-footer__top {
    flex-direction: column;
    gap: 14px;
  }

  .site-footer__copy {
    margin-left: 0;
  }

  .site-footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .copyline {
    font-size: 0.75rem;
  }
}

@media (max-width: 420px) {
  .site-status__badge {
    font-size: 0.625rem;
    padding: 2px 8px;
  }

  .site-status__note {
    display: none;
  }
}

/* ---------- 减少动效 ---------- */
@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;
  }

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

  .status-dot {
    animation: none;
  }
}
