/* ==========================================================================
   皇家至尊中文品牌站 · 共享样式表  /assets/site.css
   色彩：深空黑 #0E0E12 / 暗紫夜 #1A0E2A / 皇家紫 #5B2A86 / 深紫 #3A1A5E
        至尊金 #C9A227 / 亮金 #E9CE6B / 冰蓝 #7EC8E3 / 暗酒红 #7A2E3B
        奶油纸 #F4E9D8 / 中性紫灰 #9A93A8
   ========================================================================== */

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

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

body { margin: 0; }

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

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  --c-ink: #0E0E12;
  --c-night: #1A0E2A;
  --c-royal: #5B2A86;
  --c-royal-deep: #3A1A5E;
  --c-gold: #C9A227;
  --c-gold-lite: #E9CE6B;
  --c-ice: #7EC8E3;
  --c-wine: #7A2E3B;
  --c-cream: #F4E9D8;
  --c-mute: #9A93A8;

  --line-gold: rgba(201, 162, 39, 0.32);
  --line-soft: rgba(154, 147, 168, 0.16);
  --glow-royal: rgba(91, 42, 134, 0.35);

  --font-display: "Playfair Display", "Source Han Serif SC", "Noto Serif SC", "Songti SC", Georgia, serif;
  --font-body: "Inter", "Source Han Sans SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shell-max: 1280px;
  --gutter: clamp(1.125rem, 4vw, 3rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.24s;
  --cut: 14px;
}

/* ---------- 3. 基础页面 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-mute);
  background-color: var(--c-ink);
  background-image:
    radial-gradient(1100px 640px at 86% -10%, rgba(91, 42, 134, 0.34), transparent 64%),
    radial-gradient(860px 540px at 0% 104%, rgba(58, 26, 94, 0.36), transparent 62%),
    radial-gradient(rgba(244, 233, 216, 0.03) 1px, transparent 1.3px);
  background-size: auto, auto, 4px 4px;
  background-repeat: no-repeat, no-repeat, repeat;
  background-attachment: fixed, fixed, fixed;
  overflow-x: hidden;
}

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

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

h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2rem); }
h3 { font-size: clamp(1.125rem, 1.8vw, 1.3rem); }

::selection { background: var(--c-royal); color: var(--c-cream); }

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

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

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 50%;
  z-index: 200;
  transform: translate(-50%, -220%);
  padding: 0.6rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-ink);
  background: var(--c-gold-lite);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- 5. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(14, 14, 18, 0.97) 0%, rgba(26, 14, 42, 0.9) 100%);
  border-bottom: 1px solid var(--line-gold);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--c-royal) 22%, var(--c-gold) 50%, var(--c-royal) 78%, transparent 100%);
  opacity: 0.8;
  pointer-events: none;
}

/* 滚动进度条 */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 2;
  display: block;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--c-royal) 0%, var(--c-gold) 62%, var(--c-gold-lite) 100%);
  pointer-events: none;
}

.header-inner {
  position: relative;
  width: min(var(--shell-max), 100%);
  margin-inline: auto;
  padding: 0.85rem var(--gutter);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  transition: padding 0.28s var(--ease);
}

/* 品牌轨道 */
.brand-rail {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  color: inherit;
}

.crown-badge {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-gold);
  background: linear-gradient(135deg, rgba(91, 42, 134, 0.6) 0%, rgba(26, 14, 42, 0.92) 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.12), 0 0 20px rgba(91, 42, 134, 0.4);
  clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px);
  transition: width 0.28s var(--ease), height 0.28s var(--ease);
}

.crown-badge svg { width: 30px; height: 30px; overflow: visible; transition: width 0.28s var(--ease), height 0.28s var(--ease); }

.crown-badge path,
.footer-crest path {
  fill: none;
  stroke: var(--c-gold);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.crown-badge circle,
.footer-crest circle { fill: var(--c-gold-lite); }

.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-cream);
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  color: var(--c-gold);
  white-space: nowrap;
  transition: opacity 0.28s var(--ease);
}

/* 右侧区域 */
.header-zone {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 2.6vw, 2.25rem);
  min-width: 0;
}

.site-nav { min-width: 0; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.9vw, 1.7rem);
}

.nav-list a {
  position: relative;
  display: block;
  padding: 0.55rem 0.1rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--c-mute);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 1px;
  background: linear-gradient(90deg, var(--c-gold) 0%, var(--c-gold-lite) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}

.nav-list a:hover { color: var(--c-cream); }
.nav-list a:hover::after { transform: scaleX(1); }

.nav-list a[aria-current="page"] { color: var(--c-gold-lite); }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.quick-actions { display: flex; align-items: center; gap: 0.6rem; }

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line-gold);
  background: rgba(26, 14, 42, 0.72);
  color: var(--c-cream);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--c-gold-lite);
  transition: background-color var(--dur) var(--ease);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--c-gold-lite);
  transition: transform var(--dur) 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); }

/* 头部收窄 */
@media (min-width: 981px) {
  .site-header.is-condensed .header-inner { padding-block: 0.5rem; }
  .site-header.is-condensed .crown-badge { width: 38px; height: 38px; }
  .site-header.is-condensed .crown-badge svg { width: 24px; height: 24px; }
  .site-header.is-condensed .brand-sub { opacity: 0; max-height: 0; }
}

/* ---------- 6. 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--c-cream);
  background: transparent;
  border: 1px solid transparent;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
              color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

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

.btn-gold {
  color: #160B24;
  border-color: rgba(233, 206, 107, 0.6);
  background: linear-gradient(135deg, var(--c-gold) 0%, var(--c-gold-lite) 100%);
  box-shadow: 0 8px 26px rgba(201, 162, 39, 0.22);
}

.btn-gold:hover { background: linear-gradient(135deg, var(--c-gold-lite) 0%, #F6E9AE 100%); }

.btn-ghost {
  color: var(--c-cream);
  border-color: var(--line-gold);
  background: rgba(26, 14, 42, 0.4);
}

.btn-ghost:hover {
  color: var(--c-gold-lite);
  border-color: var(--c-gold-lite);
  background: rgba(91, 42, 134, 0.34);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; --cut: 9px; }

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(4rem, 10vw, 8rem);
  color: var(--c-mute);
  border-top: 1px solid var(--line-gold);
  background:
    radial-gradient(760px 340px at 50% 0%, rgba(91, 42, 134, 0.36), transparent 72%),
    linear-gradient(180deg, var(--c-ink) 0%, #08080C 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
  pointer-events: none;
}

.footer-crest {
  display: flex;
  justify-content: center;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.footer-crest svg { width: 56px; height: 56px; overflow: visible; }

.footer-inner {
  width: min(var(--shell-max), 100%);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.25rem) var(--gutter) clamp(1.75rem, 4vw, 2.75rem);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 2.4fr) minmax(0, 1.7fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.footer-brandline {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--c-cream);
  letter-spacing: 0.05em;
}

.footer-tagline {
  margin-top: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: var(--c-gold);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-gold);
  padding-bottom: 0.6rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--line-soft);
}

.footer-col li + li { margin-top: 0.55rem; }

.footer-col a {
  font-size: 0.9rem;
  color: var(--c-mute);
  transition: color var(--dur) var(--ease);
}

.footer-col a:hover { color: var(--c-cream); }

.footer-contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.875rem;
}

.footer-contact-row + .footer-contact-row { margin-top: 0.85rem; }

.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--c-ice);
}

.footer-contact-value {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--c-cream);
  word-break: break-word;
}

.footer-base {
  width: min(var(--shell-max), 100%);
  margin-inline: auto;
  padding: clamp(1.5rem, 3vw, 2rem) var(--gutter);
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 2rem;
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--c-mute);
}

.footer-note { max-width: 46ch; font-size: 0.8125rem; color: var(--c-mute); }

.footer-copy {
  width: min(var(--shell-max), 100%);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(2rem, 4vw, 3rem);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: rgba(154, 147, 168, 0.65);
}

/* 返回顶部 */
.back-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 70;
  padding: 0.78rem 1.1rem;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  color: var(--c-gold-lite);
  border-color: var(--line-gold);
  background: linear-gradient(135deg, rgba(58, 26, 94, 0.96) 0%, rgba(14, 14, 18, 0.96) 100%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.94);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-top::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 1px solid var(--c-gold);
  border-right-color: transparent;
  border-radius: 50%;
  animation: crestSpin 3.6s linear infinite;
}

@keyframes crestSpin { to { transform: rotate(360deg); } }

/* ---------- 8. 内容容器 ---------- */
.wrap {
  width: min(var(--shell-max), 100%);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 6vw, 5.5rem) var(--gutter);
}

.wrap-narrow {
  width: min(56rem, 100%);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 6vw, 4rem) var(--gutter);
}

.prose {
  max-width: 64ch;
  font-size: 1.0625rem;
  line-height: 1.75;
}

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

.prose a {
  color: var(--c-ice);
  text-decoration: underline;
  text-decoration-color: rgba(126, 200, 227, 0.45);
  text-underline-offset: 4px;
}

.prose a:hover { text-decoration-color: var(--c-ice); }

.prose strong { color: var(--c-cream); font-weight: 600; }

.lede {
  max-width: 46ch;
  font-size: clamp(1.0625rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  color: var(--c-cream);
}

/* ---------- 9. 通用组件 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding-block: clamp(1.25rem, 3vw, 2rem) 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--c-mute);
}

.breadcrumb li { display: flex; align-items: center; gap: 0.55rem; }
.breadcrumb li + li::before { content: "/"; color: rgba(201, 162, 39, 0.6); }
.breadcrumb a { color: var(--c-mute); transition: color var(--dur) var(--ease); }
.breadcrumb a:hover { color: var(--c-gold-lite); }
.breadcrumb [aria-current="page"] { color: var(--c-cream); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.section-label::before {
  content: "";
  flex: none;
  width: 26px;
  height: 1px;
  background: var(--c-gold);
}

.section-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head h2 { margin-top: 0.7rem; }
.section-head h3 { margin-top: 0.7rem; }

.divider-gold {
  height: 1px;
  border: 0;
  margin: clamp(2rem, 5vw, 3.5rem) 0;
  background: linear-gradient(90deg, var(--c-gold) 0%, rgba(201, 162, 39, 0.12) 58%, transparent 100%);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--c-gold-lite);
  background: rgba(122, 46, 59, 0.3);
  border: 1px solid rgba(201, 162, 39, 0.4);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

.panel {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line-gold);
  background: linear-gradient(155deg, rgba(91, 42, 134, 0.24) 0%, rgba(26, 14, 42, 0.86) 52%, rgba(14, 14, 18, 0.94) 100%);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.panel h3 { margin-bottom: 0.6rem; }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }

/* 可复用图片容器 */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-gold);
  background: linear-gradient(140deg, rgba(91, 42, 134, 0.55) 0%, rgba(26, 14, 42, 0.9) 55%, rgba(14, 14, 18, 0.96) 100%);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.media-frame > img,
.media-frame > svg,
.media-frame img,
.media-frame > picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 162, 39, 0.18);
  pointer-events: none;
}

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.6rem 0.95rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--c-cream);
  background: linear-gradient(180deg, transparent 0%, rgba(14, 14, 18, 0.92) 100%);
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--portrait { aspect-ratio: 3 / 4; }

/* ---------- 10. 进入视口显现 ---------- */
html.js-on [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
}

html.js-on [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 11. 响应式 ---------- */
@media (max-width: 1200px) {
  .nav-list { gap: 0.9rem; }
  .nav-list a { font-size: 0.85rem; letter-spacing: 0.05em; }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .quick-actions { display: none; }

  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    max-height: 82vh;
    overflow-y: auto;
    padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, var(--c-night) 0%, var(--c-ink) 100%);
    border-top: 1px solid var(--line-gold);
    box-shadow: 0 -26px 64px rgba(0, 0, 0, 0.62);
    transform: translateY(101%);
    visibility: hidden;
    transition: transform 0.34s var(--ease), visibility 0.34s var(--ease);
  }

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

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

  .nav-list a {
    padding: 0.95rem 0.25rem;
    font-size: 1.0625rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-list a::after { display: none; }

  .nav-list a[aria-current="page"]::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 2px;
    margin-right: 0.6rem;
    vertical-align: middle;
    background: var(--c-gold);
  }

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

  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 1.05rem; }
  .crown-badge { width: 40px; height: 40px; }
  .crown-badge svg { width: 25px; height: 25px; }

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

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

  .back-top { padding: 0.68rem 0.95rem; font-size: 0.75rem; }
}

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

/* ---------- 12. 动效降级 ---------- */
@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;
    scroll-behavior: auto !important;
  }

  html.js-on [data-reveal] { opacity: 1; transform: none; }
  .back-top::before { animation: none; }
}
