/* ==========================================================================
   美高梅品牌站 — 共享样式表 /assets/site.css
   母题：剧院帷幕 · 展签 · 档案索引
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --wine: #6E1230;
  --wine-deep: #4A0B20;
  --wine-mid: #8E2444;
  --gold: #C8A15A;
  --gold-light: #E8CE96;
  --ink: #17141A;
  --ivory: #F7F2EA;
  --sand: #E3DACB;
  --paper: #FFFCF7;
  --peacock: #14707A;
  --amber: #C4621E;
  --gray: #6B6570;

  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --wrap: 1240px;
  --masthead-h: 68px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

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

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid rgba(110, 18, 48, .18); margin: 0; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--ink);
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--wine); text-decoration: none; transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
a:hover { color: var(--wine-mid); }

strong, b { font-weight: 700; }
small { font-size: .8125rem; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.site-footer :focus-visible,
.site-header :focus-visible { outline-color: var(--gold-light); }

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

/* ---------- 3. 布局骨架 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

.section { padding-block: clamp(48px, 7vw, 96px); }
.section__head { margin-bottom: clamp(24px, 3vw, 42px); }
.section__title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  margin: 12px 0 12px;
}
.section__lead {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray);
  max-width: 44em;
  margin: 0;
}

.is-dark {
  background: var(--wine);
  color: rgba(247, 242, 234, .86);
}
.is-dark h1, .is-dark h2, .is-dark h3, .is-dark h4 { color: var(--ivory); }
.is-dark .section__lead { color: rgba(247, 242, 234, .7); }
.is-dark a { color: var(--gold-light); }

.stack { display: grid; gap: clamp(14px, 2vw, 22px); }
.grid { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.mono {
  font-family: var(--mono);
  letter-spacing: .04em;
}

/* ---------- 4. 通用组件 ---------- */
.plate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 15px;
  border: 1px solid rgba(110, 18, 48, .28);
  border-radius: 999px;
  background: rgba(110, 18, 48, .05);
  color: var(--wine);
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  line-height: 1.7;
  margin: 0;
}
.plate--on-dark {
  color: var(--gold-light);
  border-color: rgba(232, 206, 150, .42);
  background: rgba(232, 206, 150, .1);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--sand);
  color: var(--ink);
  font-size: .75rem;
  letter-spacing: .06em;
  line-height: 1.7;
}
.tag--live { background: var(--amber); color: #FFF8F0; }
.tag--blue { background: var(--peacock); color: #F1FBFC; }

.region-code {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .08em;
  color: var(--gold);
}
.region-name { font-family: var(--sans); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-light); color: var(--ink); transform: translateY(-1px); }
.btn--wine { background: var(--wine); color: var(--gold-light); }
.btn--wine:hover { background: var(--wine-mid); color: var(--gold-light); }
.btn--ghost { background: transparent; border-color: rgba(200, 161, 90, .55); color: var(--gold-light); }
.btn--ghost:hover { background: rgba(200, 161, 90, .14); border-color: var(--gold); color: var(--gold-light); }
.btn--sm { padding: 8px 18px; font-size: .8125rem; }

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.2vw, 26px);
  background: var(--paper);
  border: 1px solid rgba(110, 18, 48, .14);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 6px;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease, background-color .22s ease;
}
.card:hover {
  border-color: rgba(142, 36, 68, .5);
  box-shadow: 0 30px 50px -40px rgba(74, 11, 32, .65);
  transform: translateY(-2px);
}
.card__title { font-size: 1.125rem; margin: 0; }
.card__meta {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--gray);
}
.card__text { font-size: .9375rem; color: var(--gray); margin: 0; }

/* 图片容器基座 —— 页面阶段放置 <img> 或留空作装饰底纹 */
.media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 6px;
  background: linear-gradient(140deg, var(--wine) 0%, var(--wine-deep) 52%, var(--ink) 100%);
}
.media > img,
.media > picture,
.media > picture > img,
.media > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media--cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
  border-radius: 0;
}
.media--shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 20, 26, 0) 42%, rgba(23, 20, 26, .68) 100%);
  pointer-events: none;
}
.media--pattern {
  background-image:
    repeating-linear-gradient(115deg, rgba(200, 161, 90, .18) 0 1px, transparent 1px 22px),
    linear-gradient(140deg, var(--wine) 0%, var(--wine-deep) 55%, var(--ink) 100%);
}
.media__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .08em;
  color: var(--gold-light);
}

.prose {
  font-size: 1.0625rem;
  line-height: 1.8;
  max-width: 38em;
}
.prose h2 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin: 2em 0 .6em; }
.prose h3 { font-size: 1.15rem; margin: 1.6em 0 .5em; }
.prose li { position: relative; padding-left: 1.5em; margin-bottom: .4em; }
.prose li::before {
  content: "";
  position: absolute;
  left: .3em;
  top: .82em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.prose blockquote {
  margin: 1.6em 0;
  padding: 6px 0 6px 20px;
  border-left: 2px solid var(--gold);
  color: var(--gray);
}

.breadcrumbs {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--gray);
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li::after { content: "/"; color: rgba(200, 161, 90, .8); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: inherit; }
.breadcrumbs a:hover { color: var(--wine); }

/* ---------- 5. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(74, 11, 32, .9);
  color: var(--ivory);
  transition: background-color .24s ease, box-shadow .24s ease;
}
.site-header.is-solid {
  background: var(--wine);
  box-shadow: 0 18px 36px -26px rgba(23, 20, 26, .95);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(200, 161, 90, 0) 0%,
    rgba(200, 161, 90, .55) 22%,
    rgba(232, 206, 150, .95) 50%,
    rgba(200, 161, 90, .55) 78%,
    rgba(200, 161, 90, 0) 100%);
  opacity: .45;
  transition: opacity .24s ease;
  pointer-events: none;
}
.site-header.is-solid::after { opacity: 1; }

.skip-link {
  position: absolute;
  top: 8px;
  left: 20px;
  z-index: 120;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  background: var(--gold);
  color: var(--ink);
  font-size: .875rem;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); color: var(--ink); }

/* 顶部工具栏 */
.topbar { border-bottom: 1px solid rgba(232, 206, 150, .14); }
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
  font-size: .75rem;
  letter-spacing: .06em;
}
.topbar__brand { display: flex; align-items: center; gap: 12px; margin: 0; }
.topbar__name { color: var(--gold-light); font-weight: 600; letter-spacing: .14em; }
.topbar__tag { color: rgba(247, 242, 234, .55); }
.topbar__meta { display: flex; align-items: center; gap: 18px; }
.topbar__mail {
  font-family: var(--mono);
  letter-spacing: .04em;
  color: rgba(247, 242, 234, .7);
}
.topbar__cta {
  color: var(--gold-light);
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(200, 161, 90, .5);
}
.topbar__cta:hover { color: #FFF; border-color: var(--gold); }

/* 品牌 + 主导航 */
.masthead__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: var(--masthead-h);
  padding-block: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  flex: 0 0 auto;
}
.brand:hover { color: inherit; }
.brand__glyph {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 12px 12px 12px 3px;
  background: linear-gradient(140deg, var(--wine-mid) 0%, var(--wine-deep) 58%, var(--ink) 100%);
  border: 1px solid rgba(200, 161, 90, .55);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__mark {
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--ivory);
}
.brand__sub {
  font-family: var(--mono);
  font-size: .5625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(232, 206, 150, .62);
}

.masthead__drawer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.primary-nav { min-width: 0; }
.primary-nav__list { display: flex; align-items: center; gap: 2px; }
.primary-nav__list a {
  position: relative;
  display: block;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  color: rgba(247, 242, 234, .8);
  white-space: nowrap;
}
.primary-nav__list a:hover { color: var(--gold-light); background: rgba(232, 206, 150, .08); }
.primary-nav__list a[aria-current="page"] { color: var(--gold-light); }
.primary-nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

/* 工具区 */
.utility {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.utility__btn,
.utility__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border: 1px solid rgba(232, 206, 150, .22);
  border-radius: 999px;
  background: rgba(232, 206, 150, .05);
  color: rgba(247, 242, 234, .82);
  font-size: .8125rem;
  letter-spacing: .04em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.utility__btn:hover,
.utility__link:hover {
  color: var(--gold-light);
  border-color: rgba(200, 161, 90, .6);
  background: rgba(232, 206, 150, .13);
}
.utility__cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.utility__cta:hover { background: var(--gold-light); color: var(--ink); }

.utility__chev {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
[aria-expanded="true"] .utility__chev { transform: rotate(-135deg) translateY(-2px); }

/* 板块索引面板 */
.region-menu { position: relative; }
.region-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(580px, calc(100vw - 40px));
  padding: 18px 18px 14px;
  background: var(--ink);
  border: 1px solid rgba(200, 161, 90, .34);
  border-radius: var(--radius-md);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .95);
  z-index: 80;
}
.region-panel[hidden] { display: none; }
.region-panel__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(232, 206, 150, .16);
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  color: rgba(247, 242, 234, .55);
}
.region-panel__range { color: var(--gold-light); font-weight: 600; }
.region-panel__hint { margin-left: auto; font-family: var(--sans); letter-spacing: .08em; }
.region-panel__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}
.region-panel__list a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: .8438rem;
  color: rgba(247, 242, 234, .78);
}
.region-panel__list a:hover { background: rgba(200, 161, 90, .14); color: var(--gold-light); }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(232, 206, 150, .32);
  border-radius: 14px 14px 14px 5px;
  background: rgba(232, 206, 150, .08);
  color: var(--gold-light);
  transition: background-color .2s ease, border-color .2s ease;
}
.nav-toggle:hover { background: rgba(232, 206, 150, .16); border-color: rgba(200, 161, 90, .65); }
.nav-toggle__bars { display: block; position: relative; width: 18px; height: 12px; }
.nav-toggle__bars i {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .24s ease, opacity .24s ease, top .24s ease;
}
.nav-toggle__bars i:nth-child(1) { top: 0; }
.nav-toggle__bars i:nth-child(2) { top: 5px; }
.nav-toggle__bars i:nth-child(3) { top: 10px; }
.site-header[data-open] .nav-toggle__bars i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.site-header[data-open] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars i:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  background: var(--wine-deep);
  color: rgba(247, 242, 234, .76);
  font-size: .9375rem;
}
.site-footer::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(200, 161, 90, 0) 0%,
    rgba(200, 161, 90, .7) 30%,
    rgba(232, 206, 150, .95) 50%,
    rgba(200, 161, 90, .7) 70%,
    rgba(200, 161, 90, 0) 100%);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.15fr 1.4fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(46px, 6vw, 78px) clamp(32px, 4vw, 50px);
}
.footer__col { min-width: 0; }
.footer__mark {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--ivory);
  margin: 0 0 14px;
}
.footer__lead {
  max-width: 30em;
  margin: 0 0 20px;
  font-size: .9375rem;
  line-height: 1.8;
  color: rgba(247, 242, 234, .62);
}
.footer__seal {
  margin: 0;
  font-family: var(--mono);
  font-size: .625rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(200, 161, 90, .6);
}
.footer__head {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200, 161, 90, .22);
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--gold);
}
.footer__list { display: grid; gap: 10px; font-size: .90625rem; }
.footer__list a { color: rgba(247, 242, 234, .72); }
.footer__list a:hover { color: var(--gold-light); }
.footer__list--regions a { display: flex; align-items: baseline; gap: 10px; }
.footer__col--contact .footer__list { gap: 16px; }
.footer__k {
  display: block;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  color: rgba(200, 161, 90, .72);
}
.footer__v { display: block; color: rgba(247, 242, 234, .8); line-height: 1.7; }

.copy-btn {
  display: block;
  text-align: left;
  font-family: var(--mono);
  font-size: .875rem;
  letter-spacing: .02em;
  color: var(--ivory);
  border-bottom: 1px dashed rgba(200, 161, 90, .35);
  word-break: break-all;
  transition: color .18s ease, border-color .18s ease;
}
.copy-btn:hover { color: var(--gold-light); border-color: var(--gold); }
.copy-btn.is-copied { color: var(--gold-light); border-color: var(--gold); }
.copy-btn.is-copied::after {
  content: "已复制";
  margin-left: 8px;
  font-family: var(--sans);
  font-size: .6875rem;
  letter-spacing: .08em;
  color: var(--gold);
}

.footer__note {
  margin: 18px 0 0;
  font-size: .8125rem;
  line-height: 1.75;
  color: rgba(247, 242, 234, .5);
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 20px 30px;
  border-top: 1px solid rgba(232, 206, 150, .18);
  font-size: .8125rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 22px; margin: 0; }
.footer__legal a { color: rgba(247, 242, 234, .66); }
.footer__legal a:hover { color: var(--gold-light); }
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: rgba(247, 242, 234, .45);
}
.footer__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(200, 161, 90, .6);
}

/* 返回顶部 */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 70;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px 16px 16px 5px;
  background: var(--wine);
  border: 1px solid rgba(200, 161, 90, .5);
  color: var(--gold-light);
  box-shadow: 0 20px 34px -22px rgba(0, 0, 0, .9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .24s ease, transform .24s ease, visibility .24s, background-color .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--wine-mid); }
.to-top__arrow {
  width: 9px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg) translate(1px, 1px);
}

/* ---------- 7. 出现动效 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s var(--ease);
}
html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 8. 响应式 ---------- */
@media (max-width: 1180px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 1023px) {
  :root { --masthead-h: 64px; }

  .topbar { display: none; }
  .nav-toggle { display: grid; }

  .masthead__drawer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    flex: none;
    padding: 14px 20px 26px;
    background: var(--wine-deep);
    border-top: 1px solid rgba(200, 161, 90, .3);
    box-shadow: 0 44px 64px -42px rgba(0, 0, 0, .95);
    max-height: calc(100vh - var(--masthead-h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .site-header[data-open] .masthead__drawer {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .primary-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav__list a { padding: 13px 14px; border-radius: 12px; font-size: 1rem; }
  .primary-nav__list a[aria-current="page"] { background: rgba(232, 206, 150, .1); }
  .primary-nav__list a[aria-current="page"]::after {
    left: 4px;
    right: auto;
    top: 12px;
    bottom: 12px;
    width: 3px;
    height: auto;
  }

  .utility {
    margin: 16px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(232, 206, 150, .16);
    flex-wrap: wrap;
    gap: 10px;
  }
  .region-menu { width: 100%; }
  .utility__btn { width: 100%; justify-content: space-between; }
  .region-panel {
    position: static;
    width: auto;
    margin-top: 12px;
    box-shadow: none;
  }
  .region-panel__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .region-panel__list { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 34px; }
  .footer__col--brand { grid-column: auto; }
  .footer__base { flex-direction: column; align-items: flex-start; gap: 10px; }
  .brand__sub { display: none; }
  .grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .brand__mark { font-size: 1.0625rem; }
  .utility__cta { padding: 9px 14px; }
}

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