/* ============================================================
   赢咖会馆 · 共享样式 /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, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
hr { border: 0; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink-900: #07090C;
  --ink-800: #0E1218;
  --ink-700: #161C24;

  --gold-500: #D8A94A;
  --gold-300: #F0D394;
  --cyan-400: #39D6C8;
  --red-500: #D9483B;
  --red-300: #FF9A8C;
  --sand-100: #F4EEE2;
  --muted-400: #8C97A6;
  --glass: rgba(255, 255, 255, 0.06);

  --line-gold: rgba(216, 169, 74, 0.22);
  --line-soft: rgba(244, 238, 226, 0.10);

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

  --shell: 1440px;
  --content: 1220px;
  --radius: 16px;
  --gap: clamp(16px, 2.4vw, 28px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --head-h: 108px;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1100px 620px at 4% -6%, rgba(216, 169, 74, 0.10), transparent 62%),
    radial-gradient(880px 520px at 102% 2%, rgba(57, 214, 200, 0.055), transparent 58%),
    linear-gradient(180deg, #07090C 0%, #0B0F15 38%, #07090C 100%);
  background-attachment: fixed;
  color: var(--sand-100);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.02vw, 17px);
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--sand-100);
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6vw, 96px); font-weight: 900; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: clamp(20px, 2vw, 28px); }
h4 { font-size: 18px; }
p { text-wrap: pretty; }

strong { color: var(--gold-300); font-weight: 700; }

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

::selection {
  background: rgba(216, 169, 74, 0.32);
  color: #fff;
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 400;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  background: var(--gold-500);
  color: #120E07;
  font-weight: 700;
  font-size: 14px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- 5. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background:
    linear-gradient(180deg, rgba(7, 9, 12, 0.96) 0%, rgba(9, 12, 16, 0.88) 100%);
  border-bottom: 1px solid var(--line-gold);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
html.is-scrolled .site-header {
  box-shadow: 0 18px 44px -26px rgba(0, 0, 0, 0.95);
  border-bottom-color: rgba(216, 169, 74, 0.38);
}

.header-shell {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  max-width: var(--shell);
  margin-inline: auto;
}

/* 左侧品牌轨道 */
.header-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 14px 0 12px;
  border-right: 1px solid rgba(216, 169, 74, 0.16);
}
.rail-line {
  width: 1px;
  flex: 1 1 auto;
  min-height: 12px;
  background: linear-gradient(180deg, rgba(216, 169, 74, 0), rgba(216, 169, 74, 0.55), rgba(216, 169, 74, 0));
}
.rail-line-short { flex: 0 0 26px; }
.rail-mark {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(240, 211, 148, 0.72);
}
.rail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 3px rgba(57, 214, 200, 0.12), 0 0 12px rgba(57, 214, 200, 0.85);
}

.header-inner {
  min-width: 0;
  padding-inline: clamp(16px, 3vw, 40px);
}

/* 上层：品牌说明 + 工具链 + 主行动 */
.header-top {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 26px);
  min-height: 66px;
  padding: clamp(9px, 1.1vw, 13px) 0 clamp(7px, 0.9vw, 10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(216, 169, 74, 0.55);
  background: linear-gradient(160deg, rgba(216, 169, 74, 0.20), rgba(216, 169, 74, 0.02));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--gold-300);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.09em;
  color: var(--sand-100);
}
.brand-tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted-400);
}

.header-utils {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.util-link {
  padding: 6px 2px;
  color: var(--muted-400);
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.util-link:hover,
.util-link:focus-visible {
  color: var(--gold-300);
  border-bottom-color: var(--gold-500);
}
.util-sep { color: rgba(140, 151, 166, 0.42); }

.header-cta { flex: 0 0 auto; margin-left: 6px; }

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease);
}
.btn-gold {
  background: linear-gradient(135deg, #E8C67C, #D8A94A 58%, #B88730);
  color: #120E07;
  box-shadow: 0 6px 20px rgba(216, 169, 74, 0.22);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(216, 169, 74, 0.34); }
.btn-ghost {
  background: var(--glass);
  color: var(--sand-100);
  border-color: rgba(244, 238, 226, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(57, 214, 200, 0.6); color: var(--cyan-400); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 38px; padding: 9px 17px; font-size: 13px; }

/* 移动导览按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin-left: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(216, 169, 74, 0.35);
  border-radius: 10px;
  color: var(--gold-300);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.nav-toggle:hover { border-color: rgba(57, 214, 200, 0.6); color: var(--cyan-400); }
.nav-toggle-bars { display: flex; flex-direction: column; gap: 4px; width: 18px; }
.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 下层：主导航 */
.site-nav { display: block; }
.nav-list {
  display: flex;
  align-items: stretch;
  gap: clamp(2px, 0.9vw, 14px);
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }

.nav-item { flex: 0 0 auto; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 10px;
  font-size: 14.5px;
  color: rgba(244, 238, 226, 0.72);
  white-space: nowrap;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(216, 169, 74, 0.62);
  border-bottom: 2px solid var(--gold-500);
  padding-bottom: 1px;
  transition: color 0.18s var(--ease);
}
.nav-label { display: inline-block; }

.nav-link:hover,
.nav-link:hover .nav-num { color: var(--gold-300); }

.nav-link[aria-current="page"] { color: var(--gold-300); }
.nav-link[aria-current="page"] .nav-num { color: var(--cyan-400); border-bottom-color: var(--cyan-400); }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-500), rgba(216, 169, 74, 0));
  box-shadow: 0 0 12px rgba(216, 169, 74, 0.6);
}

/* 滚动进度金线 */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--cyan-400), var(--gold-500));
  box-shadow: 0 0 10px rgba(216, 169, 74, 0.55);
  transition: width 0.12s linear;
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 130px);
  overflow: hidden;
  border-top: 1px solid var(--line-gold);
  background:
    linear-gradient(180deg, #0E1218 0%, #090C10 55%, #07090C 100%);
}
.footer-glow {
  position: absolute;
  inset: -120px -10% auto -10%;
  height: 340px;
  pointer-events: none;
  background:
    radial-gradient(60% 100% at 14% 0%, rgba(216, 169, 74, 0.13), transparent 68%),
    radial-gradient(46% 90% at 88% 6%, rgba(57, 214, 200, 0.07), transparent 70%);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.55fr);
  gap: clamp(28px, 5vw, 80px);
  padding-block: clamp(44px, 6vw, 80px) clamp(28px, 3.5vw, 44px);
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--sand-100);
}
.footer-summary {
  margin-top: 18px;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(244, 238, 226, 0.66);
}
.footer-tag {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.15em;
  color: rgba(216, 169, 74, 0.82);
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}
.footer-col-title {
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(216, 169, 74, 0.24);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--gold-500);
}
.footer-links li + li { margin-top: 10px; }
.footer-links a {
  display: inline-block;
  font-size: 14.5px;
  color: rgba(244, 238, 226, 0.70);
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-300);
  transform: translateX(3px);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px clamp(20px, 3vw, 40px);
  padding-block: clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--line-soft);
}
.contact-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted-400);
}
.contact-value {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--sand-100);
  word-break: break-word;
}

.footer-note {
  max-width: 68ch;
  padding-bottom: clamp(18px, 2.4vw, 26px);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted-400);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  padding-block: 18px clamp(26px, 3.4vw, 38px);
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--muted-400);
}
.footer-copy { letter-spacing: 0.04em; }
.footer-domain { font-family: var(--font-mono); letter-spacing: 0.08em; color: rgba(216, 169, 74, 0.75); }
.footer-legal { font-family: var(--font-mono); letter-spacing: 0.06em; }

/* ---------- 7. 容器与节奏 ---------- */
.container {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}
.container-wide { max-width: var(--shell); }

.section { padding-block: clamp(48px, 7vw, 96px); }
.section + .section { border-top: 1px solid var(--line-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--gold-500);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-500);
}

.lede {
  max-width: 62ch;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.85;
  color: rgba(244, 238, 226, 0.78);
}

.stack > * + * { margin-top: var(--gap); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.rule-gold {
  height: 1px;
  margin-block: clamp(28px, 4vw, 52px);
  background: linear-gradient(90deg, rgba(216, 169, 74, 0.70), rgba(216, 169, 74, 0));
}

/* ---------- 8. 面包屑 ---------- */
.breadcrumbs {
  padding-block: clamp(14px, 2vw, 22px);
  border-bottom: 1px solid var(--line-soft);
}
.crumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted-400);
}
.crumb-list li { display: inline-flex; align-items: center; gap: 8px; }
.crumb-list li:not(:last-child)::after {
  content: "/";
  color: rgba(140, 151, 166, 0.42);
}
.crumb-list a { transition: color 0.18s var(--ease); }
.crumb-list a:hover { color: var(--gold-300); }
.crumb-list [aria-current="page"] { color: var(--gold-300); }

/* ---------- 9. 网格 ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ---------- 10. 卡片与标签 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--ink-700);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}
.card:hover { border-color: rgba(216, 169, 74, 0.34); }

.card-glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02));
  border-color: rgba(244, 238, 226, 0.14);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 22px 48px -30px rgba(0, 0, 0, 0.95);
}
.card-solid {
  background: linear-gradient(180deg, #171E27, #11161D);
  border-color: rgba(216, 169, 74, 0.16);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid rgba(244, 238, 226, 0.16);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  color: rgba(244, 238, 226, 0.78);
}
.tag-gold {
  border-color: rgba(216, 169, 74, 0.45);
  background: rgba(216, 169, 74, 0.10);
  color: var(--gold-300);
}
.tag-cyan {
  border-color: rgba(57, 214, 200, 0.45);
  background: rgba(57, 214, 200, 0.08);
  color: var(--cyan-400);
}
.tag-red {
  border-color: rgba(217, 72, 59, 0.50);
  background: rgba(217, 72, 59, 0.10);
  color: var(--red-300);
}

.num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  padding-bottom: 2px;
}

/* ---------- 11. 图片容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 82% 0%, rgba(216, 169, 74, 0.16), transparent 62%),
    linear-gradient(160deg, #12181F, #0A0E13 72%);
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 9, 12, 0) 44%, rgba(7, 9, 12, 0.66) 100%);
}
.media-frame { position: relative; aspect-ratio: 16 / 10; }
.media-wide { aspect-ratio: 21 / 9; }
.media-tall { aspect-ratio: 3 / 4; }
.media-square { aspect-ratio: 1 / 1; }
.media-img { width: 100%; height: 100%; object-fit: cover; }
.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted-400);
}

/* ---------- 12. 滚动显现 ---------- */
html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease);
}
html.js-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 13. 断点 ---------- */
@media (max-width: 1199px) and (min-width: 1024px) {
  .util-link { font-size: 11.5px; }
  .header-cta { padding: 8px 14px; font-size: 12.5px; }
  .nav-link { font-size: 13.5px; padding-inline: 8px; }
}

@media (max-width: 1023px) {
  .header-shell { grid-template-columns: minmax(0, 1fr); }
  .header-rail { display: none; }
  .header-utils { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand { margin-right: auto; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 210;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding: 10px clamp(16px, 4vw, 28px) 26px;
    background: linear-gradient(180deg, rgba(14, 18, 24, 0.99), rgba(7, 9, 12, 0.99));
    border-bottom: 1px solid var(--line-gold);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .site-nav[data-open] { display: block; animation: panelIn 0.22s var(--ease); }

  .nav-list { flex-direction: column; gap: 0; padding-bottom: 0; overflow-x: visible; }
  .nav-item { width: 100%; border-bottom: 1px solid rgba(244, 238, 226, 0.08); }
  .nav-link { width: 100%; justify-content: flex-start; padding: 15px 4px; font-size: 16px; }
  .nav-link[aria-current="page"]::after { left: 4px; right: auto; width: 34px; bottom: 8px; }
  .nav-num { font-size: 12px; }

  .btn-sm { min-height: 44px; padding: 11px 18px; font-size: 13.5px; }
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

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

@media (max-width: 768px) {
  body { background-attachment: scroll; }
  .brand-tag { display: none; }
  .brand-name { font-size: 17px; }
  .brand-mark { width: 36px; height: 36px; font-size: 12px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { grid-template-columns: minmax(0, 1fr); }
  .nav-toggle-text { display: none; }
  .nav-toggle { padding: 10px 12px; }
}

@media (max-width: 480px) {
  .header-inner { padding-inline: 16px; }
  h1 { font-size: clamp(34px, 10vw, 48px); }
}

/* ---------- 14. 无障碍与减弱动效 ---------- */
@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-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .footer-links a:hover,
  .footer-links a:focus-visible { transform: none; }
  .btn-gold:hover { transform: none; }
}
