/* ============================================================
   皇冠国际娱乐 · 共享站点样式 /assets/site.css
   夜色打底 + 金属金结构线 + 亮青交互反馈 + 矿物纸面呼吸
   ============================================================ */

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

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

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

ul, ol { list-style: none; }

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

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

/* ---------- 2. 变量 ---------- */
:root {
  --c-gold: #D4AF37;
  --c-gold-deep: #A8842A;
  --c-ink: #0E0D0C;
  --c-charcoal: #1A1917;
  --c-wine: #6E1B2A;
  --c-cyan: #35E0D2;
  --c-cream: #F3EDE2;
  --c-rock: #6E6A63;
  --c-moss: #4A5A46;
  --c-terra: #B2653F;

  --gold-line: rgba(212, 175, 55, 0.26);
  --gold-soft: rgba(212, 175, 55, 0.10);
  --cyan-line: rgba(53, 224, 210, 0.42);

  --text: #EFE7DA;
  --text-dim: #B4AB9C;
  --paper-ink: #16130F;
  --paper-text: #3B352C;

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

  --fs-1: 12px;
  --fs-2: 15px;
  --fs-3: 18px;
  --fs-4: 24px;
  --fs-5: 32px;
  --fs-6: 48px;
  --fs-7: 76px;

  --shell: 1280px;
  --gutter: clamp(18px, 4vw, 48px);
  --cut: 14px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 620px at 80% -8%, rgba(212, 175, 55, 0.16), transparent 62%),
    radial-gradient(900px 540px at 4% 6%, rgba(110, 27, 42, 0.30), transparent 60%),
    var(--c-ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-3);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0.01em;
  color: var(--c-cream);
}

h1 { font-size: clamp(32px, 6vw, var(--fs-7)); font-weight: 900; }
h2 { font-size: clamp(24px, 3.6vw, var(--fs-6)); }
h3 { font-size: clamp(20px, 2.2vw, var(--fs-5)); }
h4 { font-size: var(--fs-4); line-height: 1.35; }

p { max-width: 42em; }

strong { color: var(--c-gold); font-weight: 500; }

::selection { background: rgba(53, 224, 210, 0.28); color: var(--c-cream); }

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

.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: 0.12em;
}

.text-dim { color: var(--text-dim); }

/* ---------- 4. 布局骨架 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  position: relative;
  padding: clamp(46px, 7vw, 104px) 0;
}

.section--tight { padding: clamp(30px, 3.6vw, 56px) 0; }

.section--paper {
  background: var(--c-cream);
  color: var(--paper-text);
}

.section--paper h1,
.section--paper h2,
.section--paper h3,
.section--paper h4 { color: var(--paper-ink); }

.section--paper p { color: var(--paper-text); }

.section--paper strong { color: var(--c-wine); }

.section--paper .eyebrow { color: var(--c-wine); }

.section--paper .lede { color: #55503f; }

.section__head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(24px, 4vw, 48px);
  max-width: 46em;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.2vw, var(--fs-6));
  font-weight: 800;
  line-height: 1.14;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.eyebrow::before {
  content: "／";
  margin-right: 8px;
  color: var(--c-gold-deep);
  letter-spacing: 0;
}

.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 6.6vw, var(--fs-7));
  line-height: 1.08;
}

.metal {
  background: linear-gradient(180deg, #FFF6D6 0%, #D4AF37 42%, #8A6A1C 74%, #F2D98A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.26));
}

.index-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: 0.16em;
  color: var(--c-gold);
}

.lede {
  font-size: clamp(var(--fs-2), 1.4vw, var(--fs-3));
  line-height: 1.85;
  color: var(--text-dim);
  max-width: 38em;
}

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

.cut {
  clip-path: polygon(
    var(--cut) 0,
    100% 0,
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    0 100%,
    0 var(--cut)
  );
}

/* ---------- 5. 网格 ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.grid--3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.grid--split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }

@media (max-width: 900px) {
  .grid--split { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 6. 面板 · 卡片 · 标签 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(160deg, rgba(26, 25, 23, 0.96), rgba(14, 13, 12, 0.96));
  border: 1px solid var(--gold-line);
}

.panel--cut {
  border: 0;
  clip-path: polygon(
    var(--cut) 0,
    100% 0,
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    0 100%,
    0 var(--cut)
  );
  box-shadow: inset 0 0 0 1px var(--gold-line);
}

.card {
  position: relative;
  padding: clamp(20px, 2.6vw, 30px);
  background: var(--c-charcoal);
  border-top: 1px solid var(--gold-line);
  transition: transform 0.24s var(--ease), background-color 0.24s var(--ease);
}

.card:hover,
.card:focus-within {
  transform: translateY(-6px);
  background: #211F1C;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: 0.14em;
  color: var(--c-gold);
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
}

.tag--cyan {
  color: var(--c-cyan);
  border-color: var(--cyan-line);
  background: rgba(53, 224, 210, 0.08);
}

.band {
  padding: clamp(26px, 4vw, 56px) 0;
  background: linear-gradient(100deg, var(--c-wine), #370D17 72%);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}

.band--moss { background: linear-gradient(100deg, var(--c-moss), #262E26 72%); }

.band--terra { background: linear-gradient(100deg, var(--c-terra), #6B3A24 72%); }

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  font-family: var(--font-body);
  font-size: var(--fs-2);
  letter-spacing: 0.1em;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease),
    background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover { transform: translateY(-3px); }

.btn--gold {
  color: #14120E;
  font-weight: 500;
  background: linear-gradient(120deg, #F2DC9B, var(--c-gold) 52%, var(--c-gold-deep));
}

.btn--ghost {
  color: var(--c-cream);
  border-color: var(--gold-line);
  background: rgba(26, 25, 23, 0.6);
}

.btn--ghost:hover {
  color: var(--c-gold);
  border-color: var(--c-gold);
}

.btn--cyan {
  color: var(--c-cyan);
  border-color: var(--cyan-line);
}

.btn--cyan:hover { background: rgba(53, 224, 210, 0.12); }

.btn--cut {
  border: 0;
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
}

.btn--cut:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: -4px;
}

/* ---------- 8. 面包屑 ---------- */
.breadcrumb {
  padding: 18px 0 6px;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: 0.12em;
  color: var(--c-rock);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.breadcrumb__link { color: var(--text-dim); }

.breadcrumb__link:hover { color: var(--c-cyan); }

.breadcrumb__sep { color: var(--c-gold-deep); }

.breadcrumb__current { color: var(--c-gold); }

/* ---------- 9. 正文容器 ---------- */
.prose {
  max-width: 38em;
  font-size: var(--fs-3);
  line-height: 1.85;
}

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

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  color: var(--c-cream);
  margin-top: 1.8em;
}

.section--paper .prose h2,
.section--paper .prose h3 { color: var(--paper-ink); }

.prose ul,
.prose ol {
  display: grid;
  gap: 10px;
}

.prose li {
  position: relative;
  padding-left: 22px;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 10px;
  height: 2px;
  background: var(--c-gold);
}

.prose blockquote {
  margin-left: 0;
  padding: 18px 22px;
  background: var(--c-moss);
  color: var(--c-cream);
  border-left: 3px solid var(--c-gold);
}

.section--paper .prose blockquote { color: var(--c-cream); }

/* ---------- 10. 图片容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 92% at 50% 10%, rgba(212, 175, 55, 0.24), rgba(14, 13, 12, 0.94) 62%),
    var(--c-charcoal);
}

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

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

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

.media--portrait { aspect-ratio: 4 / 5; }

.media__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(58% 48% at 50% 58%, rgba(212, 175, 55, 0.30), transparent 72%);
  mix-blend-mode: screen;
}

.media__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: 0.14em;
  color: var(--c-cream);
  background: rgba(14, 13, 12, 0.74);
}

/* ---------- 11. 分段切换 ---------- */
.tabset { display: block; }

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--gold-line);
  background: rgba(26, 25, 23, 0.72);
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
}

.segmented__btn {
  flex: 1 1 auto;
  padding: 11px 18px;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: 0.14em;
  color: var(--text-dim);
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.segmented__btn:hover { color: var(--c-cream); }

.segmented__btn[aria-selected="true"] {
  color: #14120E;
  background: linear-gradient(120deg, #F0D68A, var(--c-gold));
}

.segmented__btn:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: -3px;
}

.segment-panel { display: none; padding-top: clamp(20px, 3vw, 34px); }

.segment-panel[data-active] {
  display: block;
  animation: segSlide 0.32s var(--ease) both;
}

@keyframes segSlide {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 12. 显现与进度 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 2px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--c-gold-deep), var(--c-gold) 58%, var(--c-cyan));
}

/* ---------- 13. 跳过链接 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 120;
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: 0.14em;
  color: #14120E;
  background: var(--c-gold);
  transition: top 0.2s var(--ease);
}

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

/* ---------- 14. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(14, 13, 12, 0.97);
  border-bottom: 1px solid var(--gold-line);
}

.brand-layer {
  background: linear-gradient(90deg, rgba(110, 27, 42, 0.34), rgba(26, 25, 23, 0.55) 44%, rgba(14, 13, 12, 0.6));
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

.brand-layer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: var(--fs-3);
  font-weight: 900;
  color: #16130E;
  background: linear-gradient(140deg, #F7E6AE, var(--c-gold) 46%, var(--c-gold-deep));
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.35);
}

.brand__text { display: grid; }

.brand__name {
  font-family: var(--font-display);
  font-size: var(--fs-3);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: var(--c-cream);
}

.brand__tag {
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  line-height: 1.4;
  letter-spacing: 0.2em;
  color: var(--c-gold);
}

.brand-layer__version {
  justify-self: center;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: 0.12em;
  color: var(--c-rock);
  white-space: nowrap;
}

.brand-layer__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}

.quick-link {
  padding: 6px 2px;
  font-size: var(--fs-2);
  letter-spacing: 0.08em;
  color: var(--c-cream);
  border-bottom: 1px solid var(--gold-line);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.quick-link:hover {
  color: var(--c-gold);
  border-color: var(--c-gold);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: 0.18em;
  color: var(--c-cream);
  background: rgba(26, 25, 23, 0.72);
  border: 1px solid var(--gold-line);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--c-gold);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--c-gold);
  transition: transform 0.22s var(--ease);
}

.nav-toggle__bars::before { top: -6px; }

.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }

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

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

.nav-layer { background: rgba(14, 13, 12, 0.94); }

.nav-layer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 56px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.6vw, 26px);
  counter-reset: navitem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 2px;
  font-size: var(--fs-2);
  letter-spacing: 0.06em;
  color: var(--text-dim);
  transition: color 0.2s var(--ease);
}

.nav-link::before {
  counter-increment: navitem;
  content: "0" counter(navitem);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-rock);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 6px;
  height: 2px;
  background: var(--c-gold);
  transition: right 0.28s var(--ease);
}

.nav-link:hover { color: var(--c-cream); }

.nav-link:hover::after { right: 0; }

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

.nav-link[aria-current="page"]::after {
  right: 0;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-deep));
}

.nav-cta {
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: 0.14em;
  color: #14120E;
  background: linear-gradient(120deg, #F2DC9B, var(--c-gold) 54%, var(--c-gold-deep));
  clip-path: polygon(
    9px 0,
    100% 0,
    100% calc(100% - 9px),
    calc(100% - 9px) 100%,
    0 100%,
    0 9px
  );
  transition: filter 0.2s var(--ease);
}

.nav-cta:hover { filter: brightness(1.1); }

.nav-cta:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: -4px;
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(6, 6, 5, 0.74);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s var(--ease);
}

body[data-nav-open] .nav-scrim {
  opacity: 1;
  pointer-events: auto;
}

body[data-nav-open] { overflow: hidden; }

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

/* ---------- 15. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  padding-top: clamp(30px, 5vw, 60px);
  background: linear-gradient(180deg, rgba(26, 25, 23, 0.94), var(--c-ink) 46%);
  border-top: 1px solid var(--gold-line);
  color: var(--text);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
  padding-bottom: clamp(26px, 4vw, 46px);
}

.footer-brand { display: grid; gap: 14px; align-content: start; }

.brand--footer { justify-self: start; }

.footer-note {
  font-size: var(--fs-2);
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 30em;
}

.footer-col { display: grid; gap: 12px; align-content: start; }

.footer-col__title {
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--c-gold);
  text-transform: uppercase;
}

.footer-list { display: grid; gap: 9px; }

.footer-link {
  font-size: var(--fs-2);
  color: var(--text-dim);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.footer-link:hover {
  color: var(--c-cyan);
  padding-left: 4px;
}

.footer-contact {
  display: grid;
  gap: 10px;
  padding: clamp(20px, 3vw, 30px) 0;
  border-top: 1px solid rgba(212, 175, 55, 0.16);
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}

.footer-contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  max-width: none;
  font-size: var(--fs-2);
}

.footer-contact__label {
  flex: 0 0 84px;
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: 0.16em;
  color: var(--c-gold-deep);
}

.footer-contact__value { color: var(--text); }

.footer-hours {
  padding: 16px 0 0;
  font-size: var(--fs-2);
  color: var(--text-dim);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 18px 0 34px;
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: var(--fs-1);
  letter-spacing: 0.1em;
  color: var(--c-rock);
}

.footer-legal--muted { color: var(--gold-soft); }

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1100px) {
  .footer-main { grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .brand-layer__inner {
    grid-template-columns: 1fr auto;
    min-height: 60px;
  }

  .brand-layer__version { display: none; }

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

  .nav-layer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: block;
    width: min(86vw, 330px);
    padding: 24px 22px 30px;
    overflow-y: auto;
    background: linear-gradient(200deg, var(--c-charcoal), var(--c-ink) 72%);
    border-left: 1px solid var(--gold-line);
    transform: translateX(102%);
    transition: transform 0.3s var(--ease);
  }

  .nav-layer[data-open] { transform: translateX(0); }

  .nav-layer__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li { border-bottom: 1px solid rgba(212, 175, 55, 0.14); }

  .nav-link {
    width: 100%;
    padding: 16px 4px;
    font-size: var(--fs-3);
    color: var(--text);
  }

  .nav-link::before { font-size: 12px; color: var(--c-gold-deep); }

  .nav-link::after { display: none; }

  .nav-cta {
    margin-top: 24px;
    padding: 15px;
    text-align: center;
  }

  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: var(--fs-2); line-height: 1.7; }

  .brand__name { font-size: var(--fs-2); }

  .quick-link { display: none; }

  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 26px; }

  .footer-contact__label { flex: 0 0 100%; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 17. 动效偏好 ---------- */
@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;
  }

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

  .media__glow { display: none; }

  .btn:hover,
  .card:hover,
  .card:focus-within { transform: none; }
}
