/* ============================================================
   金牛娱乐 · /assets/site.css
   共享外壳与基础组件：reset / 变量 / 排版 / 布局 / 头部 / 页脚
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #0E0E10;
}

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

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

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

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

button {
  background: none;
  border: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

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

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

:focus-visible {
  outline: 2px solid #E8B84B;
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 2. 变量与基础 ---------- */
:root {
  /* 品牌色 */
  --ink: #0E0E10;
  --ink-soft: #141418;
  --graphite: #2A2A2E;
  --umber: #3A1F1B;
  --gold: #C9A227;
  --amber: #E8B84B;
  --cinnabar: #B23A2E;
  --bronze: #6B5A2E;
  --paper: #F3E9D2;
  --ivory: #FBF7EE;
  --fog: #8A8A8F;

  /* 派生 */
  --line: rgba(107, 90, 46, 0.42);
  --line-strong: rgba(201, 162, 39, 0.55);
  --surface: rgba(42, 42, 46, 0.62);
  --body-ink: rgba(243, 233, 210, 0.82);
  --body-ink-dim: rgba(243, 233, 210, 0.62);

  /* 字体 */
  --font-display: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Georgia, serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC",
    "Source Han Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", "Noto Sans Mono",
    "Roboto Mono", Menlo, Consolas, monospace;

  /* 形状 */
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --pill: 999px;

  /* 节奏 */
  --shell: 1240px;
  --gutter: clamp(18px, 4vw, 44px);
  --shadow-soft: 0 26px 64px -38px rgba(0, 0, 0, 0.92);
  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    radial-gradient(1180px 720px at 84% -12%, rgba(201, 162, 39, 0.14), transparent 62%),
    radial-gradient(880px 560px at 6% 2%, rgba(178, 58, 46, 0.10), transparent 60%),
    radial-gradient(900px 700px at 50% 108%, rgba(58, 31, 27, 0.42), transparent 68%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(201, 162, 39, 0.34);
  color: var(--ivory);
}

/* ---------- 3. 排版 ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 7.2vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ivory);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: var(--ivory);
}

.sub-title {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--paper);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.lede {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.8;
  color: var(--body-ink);
  max-width: 64ch;
}

.prose {
  max-width: 70ch;
  line-height: 1.85;
  color: var(--body-ink);
}

.prose p + p { margin-top: 1.1em; }

.mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
}

.muted { color: var(--fog); }

.text-metal { color: var(--amber); }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .text-metal {
    background-image: linear-gradient(
      96deg,
      #FBF7EE 0%,
      #E8B84B 26%,
      #C9A227 52%,
      #8E7420 74%,
      #F3E9D2 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

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

.section {
  padding-block: clamp(44px, 7vw, 92px);
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 72ch;
  margin-bottom: clamp(20px, 3vw, 36px);
}

#main-content { display: block; }

/* Bento 错层网格 */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 22px);
}

.span-3, .span-4, .span-5, .span-6,
.span-7, .span-8, .span-9, .span-12 { grid-column: span 12; }

@media (min-width: 700px) {
  .span-3 { grid-column: span 6; }
  .span-4 { grid-column: span 6; }
  .span-5 { grid-column: span 6; }
  .span-6 { grid-column: span 6; }
  .span-7 { grid-column: span 12; }
  .span-8 { grid-column: span 12; }
  .span-9 { grid-column: span 12; }
}

@media (min-width: 1000px) {
  .span-3 { grid-column: span 3; }
  .span-4 { grid-column: span 4; }
  .span-5 { grid-column: span 5; }
  .span-6 { grid-column: span 6; }
  .span-7 { grid-column: span 7; }
  .span-8 { grid-column: span 8; }
  .span-9 { grid-column: span 9; }
  .span-12 { grid-column: span 12; }
}

/* 面板 */
.panel {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 30px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(168deg, rgba(42, 42, 46, 0.74), rgba(20, 20, 24, 0.9));
  box-shadow: var(--shadow-soft);
}

.panel--plain {
  background: rgba(20, 20, 24, 0.72);
}

.panel--gold {
  border-color: rgba(201, 162, 39, 0.5);
  background:
    radial-gradient(520px 260px at 92% -10%, rgba(232, 184, 75, 0.2), transparent 70%),
    linear-gradient(155deg, rgba(201, 162, 39, 0.14), rgba(20, 20, 24, 0.92) 62%);
}

.panel--umber {
  background: linear-gradient(160deg, rgba(58, 31, 27, 0.86), rgba(20, 20, 24, 0.94));
}

/* ---------- 5. 按钮与标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.24s var(--ease),
    color 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}

.btn--gold {
  color: #17130A;
  font-weight: 700;
  background: linear-gradient(135deg, #E8B84B, #C9A227 55%, #9C7C1C);
  box-shadow: 0 12px 26px -14px rgba(201, 162, 39, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -14px rgba(232, 184, 75, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn--ghost {
  color: var(--paper);
  border-color: var(--line-strong);
  background: rgba(42, 42, 46, 0.5);
}

.btn--ghost:hover {
  color: var(--ivory);
  border-color: var(--amber);
  background: rgba(201, 162, 39, 0.12);
}

.btn--sm {
  padding: 8px 15px;
  font-size: 12px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--pill);
  border: 1px solid rgba(107, 90, 46, 0.5);
  background: rgba(42, 42, 46, 0.5);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--body-ink);
}

.tag--gold {
  color: var(--amber);
  border-color: rgba(201, 162, 39, 0.6);
  background: rgba(201, 162, 39, 0.1);
}

.tag--cinnabar {
  color: #E88A7C;
  border-color: rgba(178, 58, 46, 0.6);
  background: rgba(178, 58, 46, 0.14);
}

/* ---------- 6. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(107, 90, 46, 0.35);
  background:
    radial-gradient(120% 90% at 24% 12%, rgba(232, 184, 75, 0.16), transparent 58%),
    linear-gradient(158deg, rgba(58, 31, 27, 0.6), rgba(20, 20, 24, 0.94));
  aspect-ratio: 16 / 10;
}

.media::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 10, 12, 0.34), transparent 48%);
  z-index: 1;
}

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

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

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(251, 247, 238, 0.84);
  background: linear-gradient(0deg, rgba(10, 10, 12, 0.92), transparent);
}

/* ---------- 7. 导航辅助组件 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--fog);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(107, 90, 46, 0.9);
}

.breadcrumb a {
  color: rgba(243, 233, 210, 0.7);
  transition: color 0.2s var(--ease);
}

.breadcrumb a:hover { color: var(--amber); }

.breadcrumb [aria-current="page"] { color: var(--amber); }

.rail {
  display: flex;
  gap: clamp(12px, 1.6vw, 20px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 39, 0.5) transparent;
}

.rail > * {
  flex: 0 0 min(340px, 82vw);
  scroll-snap-align: start;
}

.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-track { background: rgba(107, 90, 46, 0.16); border-radius: 99px; }
.rail::-webkit-scrollbar-thumb { background: rgba(201, 162, 39, 0.45); border-radius: 99px; }

.timeline {
  position: relative;
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
  padding-left: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.7), rgba(107, 90, 46, 0.25) 55%, transparent);
}

.timeline__item { position: relative; }

.timeline__item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 9px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.16);
}

.timeline__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 6px;
}

.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: rgba(14, 14, 16, 0.7);
}

.segmented button {
  padding: 8px 15px;
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--body-ink-dim);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.segmented button:hover { color: var(--ivory); background: rgba(201, 162, 39, 0.12); }

.segmented button[aria-selected="true"] {
  color: #17130A;
  font-weight: 700;
  background: linear-gradient(135deg, #E8B84B, #C9A227);
}

/* ---------- 8. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 200;
  padding: 12px 22px;
  border-radius: var(--pill);
  background: var(--amber);
  color: #17130A;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: translate(-50%, -180%);
  transition: transform 0.22s var(--ease);
}

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

/* ---------- 9. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: clamp(10px, 1.4vw, 16px) var(--gutter);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: calc(100% + 16px);
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(14, 14, 16, 0.96) 0%,
    rgba(14, 14, 16, 0.72) 58%,
    rgba(14, 14, 16, 0) 100%
  );
}

.header-shell {
  position: relative;
  max-width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 20px);
  min-height: 58px;
  padding: 8px 8px 8px 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(30, 30, 36, 0.88), rgba(15, 15, 19, 0.95));
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 60px -40px #000, inset 0 1px 0 rgba(232, 184, 75, 0.14);
  transition: min-height 0.25s var(--ease), padding 0.25s var(--ease),
    box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header[data-condensed] .header-shell {
  min-height: 48px;
  padding-block: 4px;
  box-shadow: 0 18px 40px -30px #000, inset 0 1px 0 rgba(232, 184, 75, 0.22);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 4px 10px 4px 4px;
  border-radius: var(--pill);
  transition: background 0.22s var(--ease);
}

.brand:hover { background: rgba(201, 162, 39, 0.1); }

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--amber);
  border: 1px solid rgba(201, 162, 39, 0.55);
  background: radial-gradient(circle at 32% 26%, rgba(232, 184, 75, 0.32), rgba(14, 14, 16, 0.94) 72%);
  box-shadow: inset 0 0 14px rgba(201, 162, 39, 0.24);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.brand:hover .brand-mark {
  transform: translateY(-1px);
  box-shadow: inset 0 0 20px rgba(232, 184, 75, 0.42), 0 0 18px rgba(201, 162, 39, 0.35);
}

.brand-mark svg { width: 19px; height: 19px; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ivory);
}

.brand-sub {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--fog);
}

.brand--footer .brand-mark { width: 40px; height: 40px; }
.brand--footer .brand-name { font-size: 17px; }

/* 胶囊导航 */
.pill-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.pill-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: var(--pill);
  border: 1px solid rgba(107, 90, 46, 0.28);
  background: rgba(14, 14, 16, 0.55);
}

.pill-nav__list a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: rgba(243, 233, 210, 0.72);
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.pill-nav__list a:hover {
  color: var(--ivory);
  background: rgba(201, 162, 39, 0.14);
}

.pill-nav__list a[aria-current="page"] {
  color: var(--ivory);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.28), rgba(201, 162, 39, 0.1));
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.5);
}

/* 头部右侧 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.header-search {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: rgba(243, 233, 210, 0.7);
  border: 1px solid transparent;
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.header-search:hover {
  color: var(--amber);
  border-color: var(--line);
  background: rgba(201, 162, 39, 0.1);
}

.header-cta { margin-left: 2px; }

/* 菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: rgba(42, 42, 46, 0.6);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-toggle:hover { border-color: var(--line-strong); color: var(--ivory); }

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s var(--ease), opacity 0.24s var(--ease);
}

.site-header[data-open] .nav-toggle__bars span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.site-header[data-open] .nav-toggle__bars span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

/* ---------- 10. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(48px, 8vw, 108px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(720px 420px at 88% 0%, rgba(201, 162, 39, 0.12), transparent 66%),
    radial-gradient(620px 480px at 6% 100%, rgba(58, 31, 27, 0.55), transparent 68%),
    linear-gradient(180deg, #101014, #0A0A0C);
  color: var(--body-ink);
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 184, 75, 0.7), transparent);
}

.footer-inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(38px, 5.6vw, 68px) var(--gutter) clamp(26px, 4vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: start;
}

.footer-brand { display: grid; gap: 14px; justify-items: start; }

.footer-tagline {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ivory);
}

.footer-note {
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.8;
  color: var(--fog);
}

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

.footer-col__title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
}

.footer-col__list { display: grid; gap: 10px; }

.footer-col__list a {
  display: inline-block;
  font-size: 14.5px;
  color: rgba(243, 233, 210, 0.74);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-col__list a:hover {
  color: var(--ivory);
  transform: translateX(3px);
}

.footer-col--contact { min-width: 0; }

.footer-contact { display: grid; }

.footer-contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(107, 90, 46, 0.34);
}

.footer-contact__row:first-child { padding-top: 0; }

.footer-contact__label {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--fog);
}

.footer-contact__value {
  flex: 1 1 140px;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(243, 233, 210, 0.88);
  word-break: break-word;
}

.footer-col--contact .footer-note { margin-top: 14px; max-width: 30ch; }

.copy-btn {
  flex: 0 0 auto;
  padding: 5px 11px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--fog);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.copy-btn:hover { color: var(--amber); border-color: var(--line-strong); }

.copy-btn[data-copied="true"] {
  color: #17130A;
  background: var(--amber);
  border-color: var(--amber);
}

.footer-base {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 18px var(--gutter) 28px;
  border-top: 1px solid rgba(107, 90, 46, 0.3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--fog);
}

.footer-copy { margin: 0; }

.footer-icp { color: rgba(201, 162, 39, 0.86); }

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-legal-links a { transition: color 0.2s var(--ease); }
.footer-legal-links a:hover { color: var(--amber); }

/* ---------- 11. 进场显隐 ---------- */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}

.reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal-ready [data-reveal].is-revealed:nth-child(2n) { transition-delay: 0.05s; }
.reveal-ready [data-reveal].is-revealed:nth-child(3n) { transition-delay: 0.1s; }

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1180px) and (min-width: 981px) {
  .pill-nav__list a {
    padding: 7px 10px;
    font-size: 11.5px;
    letter-spacing: 0.04em;
  }
  .brand-sub { display: none; }
}

@media (max-width: 1080px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.9fr);
  }
  .footer-col--contact { grid-column: 1 / -1; }
  .footer-col--contact .footer-note { max-width: 52ch; }
}

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

  .header-shell { gap: 8px; padding: 8px; }

  .pill-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: block;
    padding: 12px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(24, 24, 29, 0.98), rgba(14, 14, 16, 0.99));
    box-shadow: 0 34px 64px -34px #000, inset 0 1px 0 rgba(232, 184, 75, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.99);
    transform-origin: top center;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
      visibility 0.22s linear;
    max-height: min(70vh, 520px);
    overflow-y: auto;
  }

  .site-header[data-open] .pill-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .pill-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .pill-nav__list a {
    display: block;
    padding: 13px 16px;
    border-radius: 14px;
    font-size: 14px;
    letter-spacing: 0.08em;
  }

  .pill-nav__list a[aria-current="page"] {
    box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.45);
  }

  .header-cta { padding: 8px 13px; font-size: 11.5px; }
  .brand-sub { display: none; }
}

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .footer-brand { gap: 12px; }
  .footer-note { max-width: 46ch; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .display { letter-spacing: -0.015em; }
}

@media (max-width: 560px) {
  .header-search { display: none; }
  .nav-toggle__label { display: none; }
  .nav-toggle { padding: 9px 12px; }
  .brand-name { font-size: 14.5px; letter-spacing: 0.12em; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-mark svg { width: 17px; height: 17px; }
  .footer-contact__value { font-size: 13px; }
}

@media (max-width: 400px) {
  .header-cta { display: none; }
}

/* ---------- 13. 动效降级 ---------- */
@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;
  }

  .reveal-ready [data-reveal],
  .reveal-ready [data-reveal].is-revealed {
    opacity: 1 !important;
    transform: none !important;
  }

  .brand:hover .brand-mark,
  .btn--gold:hover,
  .footer-col__list a:hover { transform: none; }
}
