/* ============================================================
   新葡京CN版 · /assets/site.css
   共享层：reset / tokens / 头部 / 页脚 / 通用组件
   ============================================================ */

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #071F1A;
  --ink-deep: #0B2B24;
  --glass: rgba(19, 58, 48, .72);
  --gold: #C8A24A;
  --gold-bright: #E7C77A;
  --ivory: #F4EBDD;
  --crimson: #7A1F2B;
  --sage: #6F8A7F;
  --char: #0A0C0B;
  --paper: #FBF7EF;

  --shell: 1200px;
  --gutter: clamp(16px, 4.2vw, 44px);
  --hairline: rgba(200, 162, 74, .24);
  --hairline-soft: rgba(200, 162, 74, .14);
  --header-h: 64px;

  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 中文排版基线 ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: .02em;
  color: var(--ivory);
}

h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 700; line-height: 1.18; }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
h4 { font-size: clamp(17px, 2vw, 20px); }

p { text-wrap: pretty; }

strong { font-weight: 600; }

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

/* ---------- 4. 布局容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

#main-content { scroll-margin-top: calc(var(--header-h) + 24px); }
section[id], h2[id], h3[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- 5. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(7, 31, 26, .98), rgba(11, 43, 36, .94));
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.skip-link {
  position: absolute;
  left: 14px;
  top: -80px;
  z-index: 95;
  padding: 10px 20px;
  background: var(--gold);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  border-radius: 0 0 3px 3px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .12s linear;
  pointer-events: none;
  z-index: 2;
}

/* 眉条 */
.header-strip { display: none; }

.header-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 7px;
}

.header-strip__line {
  font-size: 11.5px;
  letter-spacing: .16em;
  color: rgba(244, 235, 221, .6);
}

.header-strip__meta {
  font-size: 10.5px;
  letter-spacing: .34em;
  color: var(--gold);
}

/* 主行 */
.header-main { position: relative; }

.header-main__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 10px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
  flex: 0 0 auto;
}

.brand__seal {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-bright);
  border: 1px solid var(--gold);
  background:
    radial-gradient(circle at 28% 18%, rgba(200, 162, 74, .3), rgba(200, 162, 74, 0) 68%),
    linear-gradient(150deg, rgba(19, 58, 48, .9), rgba(7, 31, 26, .9));
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.brand__seal::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(200, 162, 74, .34);
  pointer-events: none;
}

.brand:hover .brand__seal,
.brand:focus-visible .brand__seal {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(200, 162, 74, .12);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.22;
}

.brand__name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .07em;
  color: var(--ivory);
}

.brand__sub {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--sage);
}

/* 导航（移动端：坠落玻璃面板） */
.nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 65;
  display: flex;
  flex-direction: column;
  padding: 6px var(--gutter) 22px;
  background: rgba(9, 38, 32, .985);
  border-bottom: 1px solid rgba(200, 162, 74, .3);
  box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .9);
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}

.site-header[data-open] .nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__list {
  display: grid;
  gap: 0;
}

.nav__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 2px;
  font-size: 16px;
  color: rgba(244, 235, 221, .8);
  border-bottom: 1px solid var(--hairline-soft);
  transition: color .2s var(--ease);
}

.nav__num {
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--sage);
  transition: color .2s var(--ease);
}

.nav__label { display: inline-block; }

.nav__link:hover,
.nav__link:focus-visible { color: var(--gold-bright); }

.nav__link:hover .nav__num,
.nav__link:focus-visible .nav__num { color: var(--gold); }

/* 导航链接的金线延展（桌面悬停 / 当前页常驻） */
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .26s var(--ease);
  pointer-events: none;
}

.nav__link[aria-current="page"] { color: var(--gold-bright); }
.nav__link[aria-current="page"] .nav__num { color: var(--gold); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); background: var(--gold-bright); }

.nav__cta {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

/* 移动索引按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid rgba(200, 162, 74, .45);
  border-radius: 2px;
  color: var(--ivory);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .14em;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}

.nav-toggle:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

.site-header[data-open] .nav-toggle {
  border-color: var(--gold-bright);
  background: rgba(200, 162, 74, .14);
  color: var(--gold-bright);
}

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

.nav-toggle__bars span {
  display: block;
  height: 1px;
  background: var(--gold);
  transition: transform .24s var(--ease), opacity .18s var(--ease), background .2s var(--ease);
}

.site-header[data-open] .nav-toggle__bars span { background: var(--gold-bright); }
.site-header[data-open] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav-toggle__label { white-space: nowrap; }

/* 小屏底栏 */
.mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: rgba(11, 43, 36, .95);
  border-top: 1px solid rgba(200, 162, 74, .32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mobile-dock__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 7px 4px;
  border-radius: 3px;
  color: rgba(244, 235, 221, .74);
  font-size: 11.5px;
  letter-spacing: .08em;
  transition: color .2s var(--ease), background .2s var(--ease);
}

.mobile-dock__mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1;
  color: var(--gold);
  border: 1px solid rgba(200, 162, 74, .5);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.mobile-dock__label { display: block; }

.mobile-dock__item:hover,
.mobile-dock__item:focus-visible { color: var(--gold-bright); background: rgba(200, 162, 74, .1); }

.mobile-dock__item[aria-current="page"] { color: var(--gold-bright); }
.mobile-dock__item[aria-current="page"] .mobile-dock__mark {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ink) 0%, #051813 100%);
  border-top: 1px solid rgba(200, 162, 74, .3);
  padding-block: clamp(40px, 6vw, 76px) 22px;
  color: rgba(244, 235, 221, .8);
}

.site-footer::before {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -46%;
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  background: radial-gradient(circle, rgba(200, 162, 74, .16), rgba(200, 162, 74, 0) 66%);
  pointer-events: none;
}

.site-footer > .shell { position: relative; z-index: 1; }

.footer__lead { display: grid; gap: 10px; }

.brand--footer { margin-bottom: 6px; }
.brand--footer .brand__seal { width: 46px; height: 46px; font-size: 22px; }
.brand--footer .brand__name { font-size: 20px; }

.footer__eyebrow {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer__wordmark {
  font-family: var(--serif);
  font-size: clamp(54px, 13vw, 118px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: .08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(200, 162, 74, .55);
  user-select: none;
  margin-block: 4px 8px;
}

@supports not ((-webkit-text-stroke: 1px #000)) {
  .footer__wordmark { color: rgba(200, 162, 74, .3); }
}

.footer__tagline {
  font-size: 15px;
  letter-spacing: .06em;
  color: rgba(244, 235, 221, .74);
  max-width: 30ch;
}

.footer__matrix {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline-soft);
}

.footer__col { min-width: 0; }

.footer__title {
  margin-bottom: 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}

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

.footer__link {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  font-size: 14.5px;
  color: rgba(244, 235, 221, .82);
  transition: color .2s var(--ease);
}

.footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: rgba(200, 162, 74, .6);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .26s var(--ease);
}

.footer__link:hover,
.footer__link:focus-visible { color: var(--gold-bright); }
.footer__link:hover::after,
.footer__link:focus-visible::after { transform: scaleX(1); }
.footer__link[aria-current="page"] { color: var(--gold-bright); }
.footer__link[aria-current="page"]::after { transform: scaleX(1); }

.footer__value {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(244, 235, 221, .82);
  overflow-wrap: anywhere;
}

.footer__value + .footer__value { margin-top: 6px; }

.footer__value--strong {
  font-family: var(--serif);
  font-size: clamp(20px, 4.6vw, 26px);
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--gold-bright);
}

.footer__note {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--sage);
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline-soft);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--sage);
}

.footer__copy, .footer__icp { margin: 0; }

.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid rgba(200, 162, 74, .4);
  border-radius: 2px;
  color: rgba(244, 235, 221, .82);
  font-size: 12.5px;
  letter-spacing: .12em;
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}

.footer__top:hover,
.footer__top:focus-visible {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  background: rgba(200, 162, 74, .12);
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: transparent;
  color: var(--gold-bright);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  text-align: center;
  cursor: pointer;
  transition: background .24s var(--ease), color .24s var(--ease), border-color .24s var(--ease), transform .24s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  border-color: var(--gold-bright);
  background: rgba(200, 162, 74, .14);
}

.btn--gold {
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 60%, #B08A34);
  color: #06201A;
  font-weight: 600;
}

.btn--gold:hover,
.btn--gold:focus-visible {
  border-color: transparent;
  background: linear-gradient(135deg, #F2DA9C, var(--gold-bright) 55%, var(--gold));
  color: #06201A;
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: rgba(200, 162, 74, .45);
  color: rgba(244, 235, 221, .86);
}

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

.btn--sm { padding: 8px 16px; font-size: 13px; }

/* ---------- 8. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--sage);
}

.breadcrumb__link {
  color: rgba(244, 235, 221, .7);
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.breadcrumb__link:hover,
.breadcrumb__link:focus-visible {
  color: var(--gold-bright);
  border-bottom-color: rgba(200, 162, 74, .55);
}

.breadcrumb__sep { color: rgba(200, 162, 74, .5); }
.breadcrumb [aria-current="page"] { color: var(--gold-bright); }

/* ---------- 9. 正文容器 ---------- */
.prose {
  max-width: 66ch;
  font-size: 16.5px;
  line-height: 1.9;
  color: rgba(244, 235, 221, .86);
}

.prose > * + * { margin-top: 1.05em; }
.prose p { margin: 0; }

.prose h2 {
  margin-top: 2em;
  font-size: clamp(23px, 3vw, 30px);
  color: var(--ivory);
}

.prose h3 {
  margin-top: 1.7em;
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--gold-bright);
}

.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--gold); }

.prose a {
  color: var(--gold-bright);
  border-bottom: 1px solid rgba(200, 162, 74, .45);
  transition: border-color .2s var(--ease);
}

.prose a:hover { border-bottom-color: var(--gold-bright); }

.prose strong { color: var(--ivory); }

.prose blockquote {
  padding: 14px 20px;
  border-left: 2px solid var(--gold);
  background: rgba(19, 58, 48, .5);
  color: var(--ivory);
}

.prose--paper { color: #26332D; }
.prose--paper h2 { color: #10201A; }
.prose--paper h3 { color: #6B4E14; }
.prose--paper strong { color: #0A0C0B; }
.prose--paper a { color: #7A5A16; border-bottom-color: rgba(122, 90, 22, .45); }

/* ---------- 10. 分区 / 网格 / 卡片 ---------- */
.section { padding-block: clamp(44px, 7vw, 88px); }
.section--ink { background: var(--ink); }
.section--deep { background: var(--ink-deep); }
.section--ivory { background: var(--ivory); color: var(--ink); }
.section--paper { background: var(--paper); color: #16201C; }
.section--ivory h1, .section--ivory h2, .section--ivory h3,
.section--paper h1, .section--paper h2, .section--paper h3 { color: #0C211B; }

.eyebrow {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: var(--crimson);
  color: var(--ivory);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .12em;
  border-radius: 2px;
}

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(200, 162, 74, .22);
  border-radius: 2px;
  background: linear-gradient(158deg, rgba(19, 58, 48, .58), rgba(7, 31, 26, .82));
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}

.card:hover,
.card:focus-within {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 18px 32px -26px rgba(0, 0, 0, .95);
}

.card__label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--gold);
}

.card__title {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ivory);
}

.card__text {
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(244, 235, 221, .76);
}

/* ---------- 11. 图像占位容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(200, 162, 74, .22);
  border-radius: 2px;
  background: linear-gradient(142deg, rgba(19, 58, 48, .92), rgba(7, 31, 26, 1));
  isolation: isolate;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(200, 162, 74, .07) 0 1px, rgba(200, 162, 74, 0) 1px 12px);
  pointer-events: none;
  z-index: 1;
}

.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3  { aspect-ratio: 4 / 3; }
.media--1x1  { aspect-ratio: 1 / 1; }
.media--3x4  { aspect-ratio: 3 / 4; }

.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(7, 31, 26, .92), rgba(7, 31, 26, 0));
  font-size: 12.5px;
  letter-spacing: .06em;
  color: rgba(244, 235, 221, .8);
}

/* ---------- 12. 显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

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

/* ---------- 13. 断点：平板 ---------- */
@media (min-width: 640px) {
  .footer__matrix { grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
  .footer__col--contact { grid-column: 1 / -1; }
}

/* ---------- 14. 断点：桌面 ---------- */
@media (min-width: 960px) {
  .header-strip { display: block; border-bottom: 1px solid var(--hairline-soft); }

  .header-main__inner { padding-block: 12px; gap: 26px; }

  .brand__seal { width: 44px; height: 44px; font-size: 22px; }
  .brand__name { font-size: 19px; }

  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: clamp(6px, 1.2vw, 16px);
    flex: 1 1 auto;
    max-height: none;
    padding: 0;
    background: none;
    border-bottom: 0;
    box-shadow: none;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .nav__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(6px, 1.3vw, 18px);
  }

  .nav__link {
    gap: 6px;
    padding: 8px 2px;
    font-size: 13.5px;
    border-bottom: 0;
    white-space: nowrap;
  }

  .nav__num { font-size: 9.5px; letter-spacing: .12em; }
  .nav__link::after { bottom: 2px; }

  .nav__cta { display: none; width: auto; margin-top: 0; }

  .nav-toggle { display: none; }

  .mobile-dock { display: none; }

  .footer__matrix { grid-template-columns: 1fr 1fr 1.3fr; gap: 34px; }
  .footer__col--contact { grid-column: auto; }

  [data-reveal] { transform: translateY(18px); }
}

@media (min-width: 960px) and (max-width: 1179px) {
  .nav__cta { display: none; }
}

@media (min-width: 1180px) {
  .nav__cta { display: inline-flex; width: auto; margin-top: 0; }
  .nav__link { font-size: 14px; }
}

/* 小屏为固定底栏留出空间 */
@media (max-width: 959px) {
  .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ---------- 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;
  }

  .scroll-progress { transition: none; }

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