/* ============================================================
   博澳娱乐会馆 · 共享样式 /assets/site.css
   夜幕数字会馆：墨蓝为底，暖金为骨，霓虹青与珊瑚橘做状态
   ============================================================ */

:root {
  --ink: #0B1A2E;
  --ink-2: #12263F;
  --ink-3: #183355;
  --gold: #E8B96A;
  --gold-light: #F6D79B;
  --cyan: #3FE0D0;
  --coral: #FF7A59;
  --stone: #8C97A6;
  --cream: #F2EDE4;
  --moss: #4E6B57;
  --clay: #B5674A;

  --glass: rgba(242, 237, 228, 0.06);
  --glass-strong: rgba(242, 237, 228, 0.11);
  --line: rgba(242, 237, 228, 0.14);
  --line-strong: rgba(232, 185, 106, 0.44);

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

  --wrap: 1240px;
  --gutter: 28px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 220ms;
}

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

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

body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    radial-gradient(900px 520px at 12% -8%, rgba(232, 185, 106, 0.10), transparent 70%),
    radial-gradient(760px 480px at 92% 4%, rgba(63, 224, 208, 0.07), transparent 72%);
  background-repeat: no-repeat;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.02em;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1.2em; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }

a {
  color: var(--gold);
  text-decoration-color: rgba(232, 185, 106, 0.42);
  text-underline-offset: 0.22em;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
a:hover { color: var(--gold-light); text-decoration-color: var(--gold-light); }

button { font: inherit; }

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

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

/* ---------------- 工具类 ---------------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.mono { font-family: var(--font-mono); letter-spacing: 0.04em; }
.text-gold { color: var(--gold); }
.text-stone { color: var(--stone); }
.text-cyan { color: var(--cyan); }

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 999;
  padding: 11px 20px;
  background: var(--gold);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 180ms var(--ease);
}
.skip-link:focus { top: 0; color: var(--ink); }

.cut-corner {
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  padding: 0.08em 0.14em;
  margin-left: -0.14em;
}

.display-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.1;
  letter-spacing: 0.015em;
  margin: 0 0 20px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 12px;
}

.lede {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.8;
  color: var(--stone);
  max-width: 62ch;
  margin: 0 0 1.2em;
}

.annotation {
  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--stone);
  text-transform: uppercase;
  margin: 0;
}

.divider {
  height: 1px;
  border: 0;
  margin: 32px 0;
  background: linear-gradient(90deg, var(--gold), rgba(232, 185, 106, 0.06) 70%, transparent);
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  background: rgba(232, 185, 106, 0.12);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  color: var(--ink);
  border-color: var(--gold-light);
}

.btn-ghost {
  color: var(--cream);
  border-color: var(--line);
}
.btn-ghost:hover {
  color: var(--gold-light);
  border-color: var(--line-strong);
  background: var(--glass);
}

/* ---------------- 状态点 ---------------- */
.status-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: dot-pulse 2.4s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(63, 224, 208, 0.55); opacity: 1; }
  50% { box-shadow: 0 0 0 6px rgba(63, 224, 208, 0); opacity: 0.72; }
}

/* ---------------- 页头 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: linear-gradient(180deg, rgba(11, 26, 46, 0.97) 0%, rgba(11, 26, 46, 0.88) 100%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  color: var(--cream);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px var(--gutter) 14px;
}

.header-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-self: start;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--stone);
  white-space: nowrap;
}

.masthead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  justify-self: center;
  text-align: center;
}

.masthead-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  text-decoration: none;
  color: var(--cream);
  transition: color var(--dur) var(--ease), font-size var(--dur) var(--ease);
}
.masthead-brand:hover { color: var(--gold-light); }

.masthead-domain {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-indent: 0.24em;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  justify-self: end;
}

.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  color: var(--cream);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-toggle:hover { border-color: var(--line-strong); color: var(--gold-light); }

.nav-toggle-label {
  font-size: 12px;
  letter-spacing: 0.18em;
}

.nav-toggle-bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.primary-nav {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 16px;
  font-size: 15px;
  letter-spacing: 0.07em;
  color: var(--cream);
  text-decoration: none;
  border-radius: 3px;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-link:hover {
  color: var(--gold-light);
  background: var(--glass);
}
.nav-link[aria-current="page"] { color: var(--gold); }

.nav-panel-foot { display: none; }
.nav-panel-cta { width: 100%; justify-content: center; }

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold), var(--cyan) 62%, var(--coral));
  pointer-events: none;
}

/* 页头收缩态（桌面） */
@media (min-width: 900px) {
  .nav-link[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 2px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--cyan));
  }

  .site-header[data-scrolled] .header-inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 22px;
    row-gap: 0;
    min-height: 52px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .site-header[data-scrolled] .header-bar { display: contents; }
  .site-header[data-scrolled] .header-left { display: none; }
  .site-header[data-scrolled] .masthead {
    order: 1;
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    justify-self: start;
    text-align: left;
  }
  .site-header[data-scrolled] .masthead-brand { font-size: 17px; letter-spacing: 0.1em; }
  .site-header[data-scrolled] .masthead-domain { font-size: 11px; letter-spacing: 0.16em; }
  .site-header[data-scrolled] .primary-nav {
    order: 2;
    justify-self: center;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
  .site-header[data-scrolled] .nav-link { padding: 8px 12px; font-size: 14px; }
  .site-header[data-scrolled] .nav-link[aria-current="page"]::after { left: 12px; right: 12px; bottom: 1px; }
  .site-header[data-scrolled] .header-right { order: 3; }
  .site-header[data-scrolled] .header-cta { padding: 7px 14px; font-size: 13px; }
}

/* ---------------- 页头（移动端） ---------------- */
@media (max-width: 899px) {
  .header-bar {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }
  .header-status { display: none; }
  .header-left { justify-self: start; }

  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .masthead-brand { font-size: 21px; letter-spacing: 0.14em; }
  .masthead-domain { font-size: 10px; letter-spacing: 0.2em; }

  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 0;
    padding: 12px var(--gutter) 26px;
    background: rgba(11, 26, 46, 0.985);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.5);
    max-height: 72vh;
    overflow-y: auto;
  }
  .site-header[data-open] .primary-nav { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-link {
    display: block;
    padding: 15px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav-link[aria-current="page"] {
    color: var(--gold);
    box-shadow: inset 3px 0 0 var(--gold);
    padding-left: 12px;
  }
  .nav-panel-foot { display: block; margin: 20px 0 0; }

  .site-header[data-scrolled] .header-inner { padding-top: 9px; padding-bottom: 9px; }
  .site-header[data-scrolled] .masthead-brand { font-size: 18px; }
  .site-header[data-scrolled] .masthead-domain { display: none; }
}

/* ---------------- 章节 ---------------- */
.section { padding: clamp(48px, 6.5vw, 96px) 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  padding-bottom: 16px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.section-index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.section-title {
  font-size: clamp(21px, 2.3vw, 31px);
  margin: 0;
}

.section-note {
  margin: 0 0 0 auto;
  font-size: 13px;
  color: var(--stone);
}

/* ---------------- 网格与卡片 ---------------- */
.grid {
  display: grid;
  gap: 22px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  position: relative;
  padding: 22px 24px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
}

.card-glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.card-title {
  font-size: 18px;
  margin: 0;
  letter-spacing: 0.03em;
}

.card-body { margin: 0; color: var(--stone); font-size: 15px; }
.card-body p:last-child { margin-bottom: 0; }

.card-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--stone);
}

@media (min-width: 900px) {
  .stagger > .card:nth-child(odd) { transform: translateX(-24px); }
  .stagger > .card:nth-child(even) { transform: translateX(24px); }
  .stagger > .card:nth-child(odd):hover { transform: translate(-24px, -4px); }
  .stagger > .card:nth-child(even):hover { transform: translate(24px, -4px); }
}

/* ---------------- 时间轴 ---------------- */
.timeline {
  position: relative;
  margin: 0;
  padding: 4px 0 4px 34px;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(232, 185, 106, 0.1));
}

.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--cyan);
}

.timeline-date {
  display: block;
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 6px;
}

.timeline-body { margin: 0; color: var(--stone); font-size: 15px; }

/* ---------------- 标签与徽标 ---------------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  border-radius: 2px;
  color: var(--cream);
  background: var(--glass-strong);
  border: 1px solid var(--line);
}
.tag-moss { background: rgba(78, 107, 87, 0.32); border-color: rgba(78, 107, 87, 0.7); }
.tag-clay { background: rgba(181, 103, 74, 0.3); border-color: rgba(181, 103, 74, 0.7); }
.tag-cyan { background: rgba(63, 224, 208, 0.16); border-color: rgba(63, 224, 208, 0.55); }
.tag-coral { background: rgba(255, 122, 89, 0.16); border-color: rgba(255, 122, 89, 0.55); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
}
.badge-update {
  color: var(--coral);
  border-color: rgba(255, 122, 89, 0.6);
  background: rgba(255, 122, 89, 0.1);
}

/* ---------------- 面包屑 ---------------- */
.breadcrumbs { margin: 0 0 26px; }
.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--stone);
}
.breadcrumbs-list li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(140, 151, 166, 0.55);
}
.breadcrumbs-list a { color: var(--stone); text-decoration: none; }
.breadcrumbs-list a:hover { color: var(--gold-light); }
.breadcrumbs-list [aria-current="page"] { color: var(--gold); }

/* ---------------- 媒体容器 ---------------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(150deg, var(--ink-3) 0%, var(--ink-2) 55%, var(--ink) 100%);
  border: 1px solid var(--line);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.media-frame > img,
.media-frame > video,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(242, 237, 228, 0.05) 0px,
    rgba(242, 237, 228, 0.05) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: overlay;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--portrait { aspect-ratio: 3 / 4; }

.media-frame-caption {
  margin: 12px 0 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--stone);
}

/* ---------------- 标签页 ---------------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 26px;
  border-bottom: 1px solid var(--line);
}
.tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.09em;
  color: var(--stone);
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.tab:hover { color: var(--cream); background: var(--glass); }
.tab[aria-selected="true"] {
  color: var(--gold);
  border-bottom-color: var(--cyan);
}

.tab-panel[hidden] { display: none; }
.tab-panel.is-active { animation: panel-in 220ms var(--ease) both; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ---------------- 入场显现 ---------------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}
html.js [data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: none;
}

/* ---------------- 页脚 ---------------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  color: var(--cream);
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 58%, #091524 100%);
  border-top: 1px solid var(--line);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--cyan) 48%, var(--coral));
  opacity: 0.85;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.35fr;
  gap: 40px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px var(--gutter) 42px;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.14em;
  margin: 0 0 8px;
  color: var(--cream);
}

.footer-domain {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0 0 14px;
}

.footer-icp {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--stone);
  margin: 0;
}

.footer-nav-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--stone);
  margin: 0 0 16px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a {
  font-size: 14px;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer-links a:hover { color: var(--gold-light); border-bottom-color: var(--line-strong); }

.footer-contact {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-contact li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}
.footer-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--stone);
}
.footer-value {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--cream);
  word-break: break-word;
}

.footer-base { border-top: 1px solid var(--line); }
.footer-base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 20px var(--gutter) 30px;
}

.footer-hint {
  flex: 1 1 320px;
  margin: 0;
  font-size: 13px;
  color: var(--stone);
  max-width: 58ch;
}

.footer-utility {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-utility a {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--stone);
  text-decoration: none;
}
.footer-utility a:hover { color: var(--gold-light); }

.footer-copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--stone);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-service { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }

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

  .card { padding: 20px; }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 42px var(--gutter) 32px;
  }
  .footer-service { grid-column: auto; }
  .footer-base-inner { padding: 18px var(--gutter) 26px; }
  .footer-utility { gap: 14px; }
}

@media (max-width: 420px) {
  .masthead-brand { font-size: 18px; letter-spacing: 0.1em; }
  .nav-toggle-label { display: none; }
  .footer-links { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------- 降低动效 ---------------- */
@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;
  }
  html.js [data-reveal],
  html.js [data-reveal][data-revealed="true"] {
    opacity: 1 !important;
    transform: none !important;
  }
  .stagger > .card:nth-child(odd),
  .stagger > .card:nth-child(even) { transform: none !important; }
  .card:hover { transform: none; }
}
