/* ==========================================================================
   /assets/site.css — 澳门新葡平台网址8883 共享层
   深海墨蓝 · 香槟金 · 暖米白 · 珊瑚橙  /  展览画册式框架
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  /* 色彩体系 */
  --ink: #0B1E2D;
  --ink-soft: #123A52;
  --sea: #3A6B7E;
  --cream: #F6F0E4;
  --ivory: #FFFDF8;
  --gold: #C6A15B;
  --gold-soft: #E9D9B7;
  --coral: #D96C4F;
  --coral-deep: #B4523A;
  --black: #121820;
  --slate: #52616B;
  --mist: #DDE4E6;

  /* 线条与阴影 */
  --line: rgba(11, 30, 45, .14);
  --line-gold: rgba(198, 161, 91, .52);
  --line-light: rgba(246, 240, 228, .16);
  --shadow-card: 0 20px 44px -34px rgba(11, 30, 45, .62);
  --shadow-lift: 0 26px 50px -30px rgba(11, 30, 45, .5);

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

  /* 尺度 */
  --wrap: 1280px;
  --gutter: clamp(20px, 4.5vw, 72px);
  --topbar-h: 44px;
  --mainbar-h: 68px;
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 28px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + var(--mainbar-h) + 16px);
}
body, h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
}
ul, ol { padding: 0; list-style: none; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
hr { border: 0; }

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--black);
  background-color: var(--cream);
  background-image:
    radial-gradient(120% 70% at 100% 0%, rgba(233, 217, 183, .55), transparent 58%),
    radial-gradient(90% 60% at 0% 100%, rgba(58, 107, 126, .10), transparent 62%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) {
  body { font-size: 17px; }
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.012em;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 1.8vw, 1.375rem); }

p { max-width: 72ch; }

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

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

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

#main-content { scroll-margin-top: calc(var(--topbar-h) + var(--mainbar-h) + 24px); }

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

/* ---------- 4. 骨架容器 ---------- */
.container {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(64px, 9vw, 140px);
}
.section--ink {
  background:
    radial-gradient(90% 80% at 12% 0%, rgba(58, 107, 126, .55), transparent 60%),
    radial-gradient(70% 70% at 100% 100%, rgba(198, 161, 91, .16), transparent 62%),
    var(--ink);
  color: rgba(246, 240, 228, .82);
}
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--cream); }
.section--cream { background: var(--cream); }

.section-head { display: grid; gap: 14px; align-content: start; }
.section-index {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--gold-soft);
  transition: color .5s var(--ease);
}
[data-reveal].is-revealed .section-index,
.section-index.is-revealed { color: var(--gold); }
.section-title { font-size: clamp(1.55rem, 3vw, 2.4rem); }
.section-note {
  max-width: 48ch;
  font-size: .9375rem;
  line-height: 1.95;
  color: var(--slate);
}
.section--ink .section-note { color: rgba(246, 240, 228, .62); }

.rule {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), rgba(198, 161, 91, .06));
}

/* ---------- 5. 通用组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .16em;
  color: var(--slate);
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
  flex: none;
}
.section--ink .eyebrow { color: rgba(233, 217, 183, .8); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .28em .85em;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  background: rgba(233, 217, 183, .38);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  white-space: nowrap;
}
.tag--gold { background: rgba(198, 161, 91, .16); color: #7A5C21; border-color: rgba(198, 161, 91, .6); }
.tag--coral { background: rgba(217, 108, 79, .12); color: var(--coral-deep); border-color: rgba(217, 108, 79, .48); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .82em 1.6em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: .9375rem;
  letter-spacing: .04em;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: transform .26s var(--ease), background .26s var(--ease),
              color .26s var(--ease), border-color .26s var(--ease), box-shadow .26s var(--ease);
}
.btn--primary {
  background: var(--coral);
  color: #FFF6F1;
  box-shadow: 0 16px 28px -20px rgba(217, 108, 79, .95);
}
.btn--primary:hover { background: var(--coral-deep); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-gold);
}
.btn--ghost:hover { background: rgba(198, 161, 91, .14); transform: translateY(-2px); }
.btn--line {
  padding-inline: 0;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--gold);
  color: var(--ink);
}
.btn--line:hover { color: var(--coral-deep); border-bottom-color: var(--coral); }
.section--ink .btn--ghost { color: var(--cream); border-color: rgba(233, 217, 183, .55); }
.section--ink .btn--ghost:hover { background: rgba(233, 217, 183, .14); }
.section--ink .btn--line { color: var(--cream); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55em;
  font-size: .8125rem;
  letter-spacing: .05em;
  color: var(--slate);
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: .55em; }
.breadcrumbs li + li::before { content: "／"; color: var(--gold); font-size: .72rem; }
.breadcrumbs a { transition: color .2s var(--ease); }
.breadcrumbs a:hover { color: var(--ink); }

.prose {
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.92;
  color: var(--black);
}
.prose > * + * { margin-top: 1.15em; }
.prose h2, .prose h3 { margin-top: 1.9em; }
.prose ul { display: grid; gap: .55em; }
.prose ul li { position: relative; padding-left: 1.45em; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .95em;
  width: 9px;
  height: 1px;
  background: var(--gold);
}
.section--ink .prose { color: rgba(246, 240, 228, .84); }

.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.split { display: grid; gap: clamp(28px, 4.5vw, 64px); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--asym { grid-template-columns: 1.35fr .85fr; }
  .split--asym-rev { grid-template-columns: .85fr 1.35fr; }
}

.card {
  position: relative;
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--ivory);
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
  box-shadow: var(--shadow-lift);
}
.card--outline { background: transparent; box-shadow: none; border-color: var(--line-gold); }
.card--ink {
  background: var(--ink-soft);
  border-color: rgba(198, 161, 91, .34);
  color: rgba(246, 240, 228, .82);
  box-shadow: 0 26px 50px -34px rgba(0, 0, 0, .7);
}
.card--ink .card-title { color: var(--cream); }
.card-title { font-size: 1.2rem; line-height: 1.35; margin-bottom: .5em; }
.card-text { font-size: .9375rem; line-height: 1.9; color: var(--slate); }
.card--ink .card-text { color: rgba(246, 240, 228, .66); }
.card-meta {
  display: inline-block;
  margin-bottom: .9em;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--gold);
}

/* ---------- 6. 图片容器（页面阶段放置占位） ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-m);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(233, 217, 183, .9), transparent 55%),
    linear-gradient(150deg, var(--ink-soft), var(--sea));
  aspect-ratio: 16 / 10;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.media--tall { aspect-ratio: 4 / 5; border-radius: var(--radius-l); }
.media--wide { aspect-ratio: 21 / 9; }
.media--soft {
  background:
    radial-gradient(110% 110% at 100% 0%, rgba(198, 161, 91, .55), transparent 58%),
    linear-gradient(150deg, var(--cream), var(--gold-soft));
}
.media-caption {
  margin-top: .8em;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--slate);
}

.vertical-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .32em;
  color: var(--slate);
}

/* ---------- 7. 共享页头（装订边框） ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translate(-50%, -180%);
  z-index: 120;
  padding: .65em 1.3em;
  border-radius: 999px;
  background: var(--coral);
  color: #FFF6F1;
  font-size: .875rem;
  letter-spacing: .06em;
  box-shadow: 0 18px 30px -20px rgba(0, 0, 0, .6);
  transition: transform .24s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

.header-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--topbar-h);
  padding-inline: var(--gutter);
  background: var(--ink);
  color: rgba(246, 240, 228, .74);
  border-bottom: 1px solid rgba(198, 161, 91, .38);
}
.topbar-note {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: rgba(233, 217, 183, .82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: none;
}
.quick-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.quick-link {
  font-size: .8125rem;
  letter-spacing: .1em;
  color: rgba(246, 240, 228, .76);
  border-bottom: 1px solid transparent;
  padding-block: 3px;
  transition: color .22s var(--ease), border-color .22s var(--ease);
}
.quick-link:hover,
.quick-link:focus-visible { color: var(--gold-soft); border-bottom-color: var(--gold); }

.header-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 40px);
  min-height: var(--mainbar-h);
  padding: 12px var(--gutter);
  background: var(--ivory);
  border-bottom: 1px solid rgba(11, 30, 45, .1);
}

.brand {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--gold);
  flex: none;
}
.brand-text { display: grid; gap: 2px; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.25;
  color: var(--ink);
}
.brand-tagline {
  font-size: .6875rem;
  letter-spacing: .14em;
  line-height: 1.4;
  color: var(--slate);
}

.nav-toggle {
  position: relative;
  z-index: 5;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 15px 9px 13px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  background: rgba(233, 217, 183, .32);
  color: var(--ink);
  font-size: .8125rem;
  letter-spacing: .14em;
  cursor: pointer;
}
.nav-toggle-box { display: grid; gap: 4px; width: 16px; }
.nav-toggle-box i {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.site-header[data-open] .nav-toggle-box i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.site-header[data-open] .nav-toggle-box i:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle-box i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); }
.nav-list { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.nav-list a {
  position: relative;
  display: inline-block;
  padding: 10px 1px;
  font-size: .9375rem;
  letter-spacing: .03em;
  color: var(--ink-soft);
  transition: color .22s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transition: right .34s var(--ease);
}
.nav-list a:hover { color: var(--ink); }
.nav-list a:hover::after { right: 0; }
.nav-list a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-list a[aria-current="page"]::after { right: 0; background: var(--coral); }
.nav-note { display: none; }

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 6;
  background: linear-gradient(90deg, var(--gold), var(--coral));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
  transition: opacity .3s var(--ease);
}
.site-header[data-open] .scroll-progress { opacity: 0; }

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

/* ---------- 8. 共享页脚（手册封底） ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(85% 70% at 0% 0%, rgba(58, 107, 126, .5), transparent 62%),
    radial-gradient(70% 60% at 100% 10%, rgba(198, 161, 91, .14), transparent 60%),
    var(--ink);
  color: rgba(246, 240, 228, .8);
  font-size: .9375rem;
  line-height: 1.85;
  padding-top: clamp(52px, 7vw, 96px);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(198, 161, 91, .05) 72%);
}

.footer-inner {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  grid-template-columns: 1fr;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: clamp(40px, 5vw, 68px);
}

.footer-brand { display: grid; align-content: start; gap: 0; }
.footer-lockup {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--cream);
  display: inline-block;
  line-height: 1.3;
}
.footer-intro {
  margin-top: 14px;
  max-width: 34ch;
  font-size: .875rem;
  line-height: 1.95;
  color: rgba(246, 240, 228, .62);
}
.footer-badge {
  margin-top: 20px;
  padding-top: 14px;
  display: inline-block;
  border-top: 1px solid rgba(198, 161, 91, .3);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--gold);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 36px);
}
.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--gold);
}
.footer-list { display: grid; gap: 10px; }
.footer-list a {
  color: rgba(246, 240, 228, .78);
  font-size: .9375rem;
  transition: color .22s var(--ease);
}
.footer-list a:hover,
.footer-list a:focus-visible { color: var(--gold-soft); }

.footer-contact-list { display: grid; gap: 14px; }
.footer-contact-list li { display: grid; gap: 3px; }
.footer-contact-key {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  color: rgba(198, 161, 91, .88);
}
.footer-contact-val {
  color: var(--cream);
  font-size: .9375rem;
  word-break: break-word;
}
.footer-contact-note {
  margin-top: 18px;
  max-width: 36ch;
  font-size: .8125rem;
  line-height: 1.9;
  color: rgba(246, 240, 228, .46);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 28px;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding: 22px var(--gutter) 34px;
  border-top: 1px solid rgba(246, 240, 228, .14);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  color: rgba(246, 240, 228, .54);
}
.footer-copy, .footer-legal { max-width: none; }
.footer-sub {
  flex: 1 1 100%;
  max-width: 60ch;
  font-family: var(--font-sans);
  font-size: .8125rem;
  letter-spacing: .02em;
  color: rgba(246, 240, 228, .4);
}

/* ---------- 9. 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .68em 1.1em;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--gold); color: var(--gold-soft); }

/* ---------- 10. 显现与滚动高亮 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

[data-spy] a { transition: color .22s var(--ease), border-color .22s var(--ease); }
[data-spy] a[aria-current="true"] { color: var(--gold); }

/* ---------- 11. 响应式 ---------- */
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 1.1fr 1.55fr 1fr; }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  :root { --mainbar-h: 64px; }

  .header-main { position: relative; z-index: 3; background: var(--ivory); }
  .header-topbar { position: relative; z-index: 3; }
  .topbar-note { font-size: .6875rem; letter-spacing: .1em; }

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

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--topbar-h) + var(--mainbar-h) + 30px) var(--gutter) 48px;
    background:
      radial-gradient(90% 60% at 100% 0%, rgba(58, 107, 126, .55), transparent 60%),
      var(--ink);
    color: var(--cream);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .4s var(--ease);
  }
  .site-header[data-open] .site-nav { opacity: 1; visibility: visible; transform: none; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    counter-reset: navi;
  }
  .nav-list li { border-bottom: 1px solid rgba(198, 161, 91, .2); }
  .nav-list a {
    display: block;
    padding: 18px 0;
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 5.5vw, 1.5rem);
    line-height: 1.3;
    color: var(--cream);
  }
  .nav-list a::before {
    counter-increment: navi;
    content: counter(navi, decimal-leading-zero);
    margin-right: .85em;
    font-family: var(--font-mono);
    font-size: .6875rem;
    letter-spacing: .1em;
    color: var(--gold);
    opacity: .8;
    vertical-align: .45em;
  }
  .nav-list a::after { display: none; }
  .nav-list a:hover,
  .nav-list a:focus-visible { color: var(--gold-soft); }
  .nav-list a[aria-current="page"] { color: var(--gold); }

  .nav-note {
    display: block;
    margin-top: 30px;
    max-width: 34ch;
    padding-left: 16px;
    border-left: 1px solid rgba(198, 161, 91, .45);
    font-size: .8125rem;
    line-height: 1.95;
    color: rgba(246, 240, 228, .52);
  }
}

@media (max-width: 640px) {
  .brand-tagline { display: none; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-mark svg { width: 32px; height: 32px; }
  .quick-nav { gap: 12px; }
  .quick-link { font-size: .75rem; letter-spacing: .06em; }
  .topbar-note { max-width: 46%; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .nav-toggle-label { display: none; }
  .nav-toggle { padding: 10px 12px; }
}

@media (min-width: 981px) {
  .nav-note { display: none; }
}

/* ---------- 12. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .to-top { transition: none; }
}
