/* =============================================================
   葡京娱乐会馆 — 共享样式表 /assets/site.css
   纵向叙事长卷 · 居中刊头 · 会馆光晕
   ============================================================= */

/* ---------- 01. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

/* ---------- 02. 变量 ---------- */
:root {
  --ink-0: #0B0A0B;
  --ink-1: #1A1113;
  --crimson: #8C0E22;
  --red: #C4122F;
  --gold: #D9A441;
  --gold-soft: #F2DCA8;
  --paper: #F3E7D3;
  --paper-deep: #E4D3B6;
  --lime: #C7F24A;
  --orange: #FF7A2F;
  --mist: #9A8F8C;

  --text-1: #F0E7DB;
  --text-2: #B6A9A4;
  --line-gold: rgba(217, 164, 65, .28);
  --line-soft: rgba(243, 231, 211, .12);

  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 1200px;
  --radius-organic: 26px 26px 26px 8px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 03. 基础排版 ---------- */
body {
  min-height: 100%;
  background-color: var(--ink-0);
  background-image:
    radial-gradient(760px 400px at 88% -8%, rgba(140, 14, 34, .40), transparent 68%),
    radial-gradient(560px 340px at 4% 10%, rgba(217, 164, 65, .09), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -.01em;
}

p { max-width: 38em; }

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

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

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

/* ---------- 04. 布局骨架 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  position: relative;
  padding-block: clamp(72px, 9vw, 140px);
  background-color: var(--ink-0);
  color: var(--text-1);
}

.section--ink { background-color: var(--ink-0); }

.section--deep {
  background-color: var(--ink-1);
  background-image: linear-gradient(160deg, rgba(140, 14, 34, .34), rgba(11, 10, 11, .1) 62%);
}

.section--band {
  background-color: var(--crimson);
  background-image: linear-gradient(118deg, #6E0A1A, var(--crimson) 48%, #4A0713);
  color: var(--gold-soft);
  --text-1: #FBF3E2;
  --text-2: rgba(251, 243, 226, .76);
  --line-soft: rgba(251, 243, 226, .2);
  --line-gold: rgba(242, 220, 168, .42);
}

.section--paper {
  background-color: var(--paper);
  background-image: linear-gradient(180deg, var(--paper), var(--paper-deep));
  color: #22160F;
  --text-1: #22160F;
  --text-2: #6E5A4E;
  --line-soft: rgba(34, 22, 15, .16);
  --line-gold: rgba(140, 14, 34, .32);
}

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

.stack > * + * { margin-top: var(--stack, 18px); }

.grid {
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr);
}
.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)); }
.grid--5-7 { grid-template-columns: 5fr 7fr; }
.grid--7-5 { grid-template-columns: 7fr 5fr; }
.grid--4-8 { grid-template-columns: 4fr 8fr; }
.grid--8-4 { grid-template-columns: 8fr 4fr; }

.shift-up,
.shift-down { margin-top: 0; }

/* ---------- 05. 章节排版组件 ---------- */
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .32em;
  line-height: 1;
  color: var(--gold);
}

.section__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--orange);
}

.section__title {
  margin-top: 14px;
  font-size: clamp(28px, 4vw, 46px);
  color: var(--text-1);
}

.section__lede {
  margin-top: 16px;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.78;
  color: var(--text-2);
}

.label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  line-height: 1.4;
  color: var(--text-2);
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -.01em;
}

/* ---------- 06. 按钮 ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--gold-soft);
  --btn-line: var(--line-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid var(--btn-line);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .22s var(--ease-out), background-color .25s ease,
              color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: linear-gradient(135deg, #FF9351, var(--orange) 56%, #E35910);
  --btn-fg: #1B0C03;
  --btn-line: rgba(255, 122, 47, .55);
  box-shadow: 0 10px 26px rgba(255, 122, 47, .26);
}
.btn--primary:hover { box-shadow: 0 15px 34px rgba(255, 122, 47, .42); }

.btn--outline { --btn-bg: transparent; }
.btn--outline:hover {
  background: rgba(217, 164, 65, .14);
  border-color: var(--gold);
}

.btn--gold {
  --btn-bg: linear-gradient(135deg, var(--gold-soft), var(--gold));
  --btn-fg: #241505;
  --btn-line: rgba(217, 164, 65, .6);
}

.btn--ghost {
  --btn-line: transparent;
  --btn-bg: transparent;
  padding-inline: 10px;
}
.btn--ghost:hover { --btn-fg: var(--gold); }

/* ---------- 07. 标签与状态 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  background: rgba(217, 164, 65, .08);
  color: var(--gold-soft);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1.4;
}
.tag--live {
  background: var(--lime);
  border-color: transparent;
  color: #16210A;
  font-weight: 700;
}
.tag--hot {
  background: var(--orange);
  border-color: transparent;
  color: #241004;
  font-weight: 700;
}
.tag--muted {
  background: transparent;
  border-color: var(--line-soft);
  color: var(--text-2);
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(199, 242, 74, .16);
}

/* ---------- 08. 卡片与看板 ---------- */
.card {
  position: relative;
  overflow: hidden;
  padding: 26px 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-organic);
  background: linear-gradient(158deg, rgba(26, 17, 19, .97), rgba(11, 10, 11, .92));
  color: var(--text-1);
}
.card--paper {
  background: linear-gradient(170deg, #FBF2E2, var(--paper));
  border-color: rgba(140, 14, 34, .2);
  color: #22160F;
}
.card--gold {
  border-color: rgba(217, 164, 65, .5);
  box-shadow: 0 0 0 1px rgba(217, 164, 65, .12), 0 18px 44px rgba(0, 0, 0, .46);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--gold-soft);
}
.stat__unit {
  margin-left: 4px;
  font-size: .46em;
  color: var(--gold);
}
.stat__label {
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--text-2);
}
.stat--pos .stat__value { color: var(--lime); }

/* ---------- 09. 图片容器基础规则 ---------- */
.figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-organic);
  background: linear-gradient(140deg, #2A1519, #0B0A0B 72%);
  isolation: isolate;
}
.figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 15% 0%, rgba(217, 164, 65, .14), transparent 62%);
  pointer-events: none;
}
.figure__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure--16x9 { aspect-ratio: 16 / 9; }
.figure--4x3 { aspect-ratio: 4 / 3; }
.figure--3x4 { aspect-ratio: 3 / 4; }
.figure--wide { aspect-ratio: 21 / 9; }

/* ---------- 10. 面包屑与内页页头 ---------- */
.breadcrumb {
  font-size: 13px;
  letter-spacing: .08em;
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
}
.breadcrumb__list li + li::before {
  content: "／";
  color: var(--gold);
  opacity: .7;
}
.breadcrumb a { color: var(--text-2); transition: color .2s ease; }
.breadcrumb a:hover { color: var(--gold-soft); }

.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 96px) clamp(44px, 5.4vw, 76px);
  background-color: var(--ink-1);
  background-image: linear-gradient(122deg, rgba(140, 14, 34, .52), rgba(11, 10, 11, .22) 58%);
  border-bottom: 1px solid var(--line-gold);
}
.page-head::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -78%;
  width: 44vw;
  height: 44vw;
  border-radius: 48% 52% 44% 56% / 54% 46% 54% 46%;
  background: radial-gradient(circle at 36% 34%, rgba(217, 164, 65, .22), transparent 62%);
  pointer-events: none;
}
.page-head__title {
  margin-top: 16px;
  font-size: clamp(30px, 4.6vw, 54px);
  color: var(--gold-soft);
}
.page-head__lede {
  margin-top: 16px;
  max-width: 620px;
  font-size: 17px;
  color: var(--text-2);
}

/* ---------- 11. 显现动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .68s ease, transform .68s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-reveal][data-delay="1"] { transition-delay: .06s; }
[data-reveal][data-delay="2"] { transition-delay: .12s; }
[data-reveal][data-delay="3"] { transition-delay: .18s; }
[data-reveal][data-delay="4"] { transition-delay: .24s; }
[data-reveal][data-delay="5"] { transition-delay: .30s; }

/* ---------- 12. 刊头 / 共享头部 ---------- */
.skip-link {
  position: absolute;
  left: 50%;
  top: -64px;
  z-index: 200;
  transform: translateX(-50%);
  padding: 11px 22px;
  border-radius: 0 0 14px 14px;
  background: var(--gold);
  color: #241505;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  transition: top .22s var(--ease-out);
}
.skip-link:focus { top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, rgba(11, 10, 11, .985), rgba(13, 11, 12, .94));
  border-bottom: 1px solid var(--line-gold);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.masthead { position: relative; }

.masthead__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 18px 24px 12px;
  transition: padding .32s var(--ease-out);
}

.masthead__wing {
  display: flex;
  align-items: center;
  gap: 10px;
}
.masthead__wing--start { justify-content: flex-start; }
.masthead__wing--end { justify-content: flex-end; }

.masthead__brand {
  justify-self: center;
  text-align: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 6px;
  background: linear-gradient(150deg, var(--red), var(--crimson));
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  border-radius: 50% 50% 46% 54% / 52% 48% 52% 48%;
  box-shadow: 0 0 0 1px rgba(217, 164, 65, .5), 0 8px 20px rgba(140, 14, 34, .5);
  transition: width .3s var(--ease-out), height .3s var(--ease-out), font-size .3s var(--ease-out);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: .08em;
  color: var(--gold-soft);
  text-shadow: 0 2px 20px rgba(217, 164, 65, .3);
  transition: font-size .3s var(--ease-out);
}

.brand__tag {
  display: block;
  max-height: 26px;
  overflow: hidden;
  margin-top: 3px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  line-height: 1.5;
  color: var(--text-2);
  white-space: nowrap;
  transition: max-height .3s ease, opacity .3s ease;
}

.quick-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  background: rgba(26, 17, 19, .72);
}

.quick-switch__tab {
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.4;
  white-space: nowrap;
  transition: color .22s ease, background-color .22s ease;
}
.quick-switch__tab:hover,
.quick-switch__tab:focus-visible {
  color: var(--gold-soft);
  background: rgba(140, 14, 34, .55);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  justify-self: end;
  padding: 9px 15px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  color: var(--gold-soft);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1;
  transition: background-color .22s ease, border-color .22s ease;
}
.nav-toggle:hover { background: rgba(140, 14, 34, .48); }

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}
.nav-toggle__bars span {
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform .28s var(--ease-out), opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  overflow: hidden;
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(90deg,
    rgba(140, 14, 34, .34), rgba(11, 10, 11, 0) 26%,
    rgba(11, 10, 11, 0) 74%, rgba(140, 14, 34, .34));
}

.site-nav__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}
.site-nav__list li + li { border-left: 1px solid var(--line-soft); }

.site-nav__list a {
  position: relative;
  display: block;
  padding: 13px 22px;
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
  white-space: nowrap;
  transition: color .22s ease, background-color .22s ease;
}
.site-nav__list a:hover {
  color: var(--gold-soft);
  background: rgba(140, 14, 34, .3);
}
.site-nav__list a[aria-current="page"] { color: var(--gold-soft); }
.site-nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 22px;
  height: 2px;
  margin-left: -11px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}
.scroll-progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--crimson), var(--red) 38%, var(--gold) 72%, var(--lime));
  transition: width .12s linear;
}

/* 收纳为窄条 */
.site-header.is-condensed .masthead__inner { padding: 8px 24px 6px; }
.site-header.is-condensed .brand__mark {
  width: 26px;
  height: 26px;
  font-size: 14px;
  margin-bottom: 3px;
}
.site-header.is-condensed .brand__name { font-size: 18px; }
.site-header.is-condensed .brand__tag { max-height: 0; opacity: 0; }
.site-header.is-condensed .site-nav__list a { padding: 9px 20px; font-size: 14px; }

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line-gold);
  background-color: #0C090A;
  background-image:
    radial-gradient(880px 320px at 10% 0%, rgba(140, 14, 34, .42), transparent 70%),
    linear-gradient(180deg, #150F10, #0B0A0B 66%);
  color: var(--text-1);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.15fr 2fr;
  gap: 56px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 66px 24px 44px;
}

.footer__brand { min-width: 0; }

.footer__brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--gold-soft);
}

.footer__brandline {
  margin-top: 12px;
  max-width: 28em;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-2);
}

.footer__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 12px;
  font-size: 14px;
}

.footer__contact-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--gold);
}

.footer__contact-value {
  color: var(--text-1);
  overflow-wrap: anywhere;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer__col-title {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--gold);
}
.footer__col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.footer__list {
  display: grid;
  gap: 10px;
}
.footer__list a {
  display: inline-block;
  font-size: 15px;
  color: var(--text-2);
  transition: color .2s ease, transform .2s var(--ease-out);
}
.footer__list a:hover {
  color: var(--gold-soft);
  transform: translateX(4px);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 22px 24px 34px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--text-2);
}

.footer__legalnote { max-width: none; color: var(--text-2); }

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer__legal-links a {
  color: var(--text-2);
  transition: color .2s ease;
}
.footer__legal-links a:hover { color: var(--gold-soft); }

.footer__icp {
  max-width: none;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: .04em;
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1080px) {
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 54px 24px 36px;
  }
}

@media (max-width: 900px) {
  .masthead__inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px 18px 10px;
  }
  .masthead__wing { display: none; }
  .masthead__brand { justify-self: start; text-align: left; }
  .brand { align-items: flex-start; }
  .brand__mark { width: 28px; height: 28px; font-size: 15px; margin-bottom: 4px; }
  .brand__name { font-size: 21px; }
  .brand__tag { font-size: 10.5px; letter-spacing: .22em; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    border-top-color: transparent;
    background: rgba(15, 11, 12, .99);
    max-height: 0;
    transition: max-height .42s var(--ease-out), border-top-color .3s ease;
  }
  .site-nav[data-open="true"] {
    max-height: 560px;
    border-top-color: var(--line-gold);
  }
  .site-nav__list {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 6px 18px 16px;
  }
  .site-nav__list li + li {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }
  .site-nav__list a { padding: 14px 10px; }
  .site-nav__list a[aria-current="page"]::after {
    left: auto;
    right: 10px;
    margin-left: 0;
    bottom: 50%;
    transform: translateY(50%);
  }

  .site-header.is-condensed .masthead__inner { padding: 12px 18px 10px; }
  .site-header.is-condensed .brand__mark { width: 28px; height: 28px; font-size: 15px; }
  .site-header.is-condensed .brand__name { font-size: 21px; }
  .site-header.is-condensed .brand__tag { max-height: 26px; opacity: 1; }
  .site-header.is-condensed .site-nav__list a { padding: 14px 10px; font-size: 15px; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .grid--2,
  .grid--3,
  .grid--4,
  .grid--5-7,
  .grid--7-5,
  .grid--4-8,
  .grid--8-4 { grid-template-columns: minmax(0, 1fr); }
  .wrap { padding-inline: 18px; }
  .footer__cols { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .footer__legal {
    padding: 20px 18px 30px;
    justify-content: flex-start;
  }
}

@media (min-width: 861px) {
  .shift-up { margin-top: -56px; }
  .shift-down { margin-top: 56px; }
}

/* ---------- 15. 动效偏好与打印 ---------- */
@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;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .btn:hover { transform: none; }
  .footer__list a:hover { transform: none; }
}

@media print {
  .site-header,
  .site-footer { display: none; }
  body { background: #fff; color: #000; }
}
