/* ==========================================================================
   百家平台乐 · 共享样式表 /assets/site.css
   海报式分层构图 · 复古出版色体系 · 侧边轨道导航
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

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

ul, ol { list-style: none; }

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

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

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

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

/* --------------------------------------------------------------------------
   2. 设计令牌
   -------------------------------------------------------------------------- */
:root {
  /* 色彩 */
  --paper:        #FBF4E9; /* 奶油纸底 */
  --card:         #FFFBF4; /* 米白卡面 */
  --orange:       #E4572E; /* 暖橙红 主色 */
  --orange-deep:  #C2431F; /* 深橙压色 */
  --ink:          #16324F; /* 深蓝 正文 */
  --brown:        #241C17; /* 深棕黑 */
  --gold:         #C9A227; /* 金线 */
  --clay:         #F2A488; /* 陶土浅橙 */
  --mist:         #DDE7F0; /* 雾蓝 */
  --jade:         #3F7A6B; /* 柔和青绿 */

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

  /* 形状 */
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --pill: 999px;

  /* 阴影 */
  --shadow-1: 0 2px 0 rgba(36, 28, 23, .05), 0 14px 30px -20px rgba(36, 28, 23, .45);
  --shadow-2: 0 22px 44px -24px rgba(36, 28, 23, .55);

  /* 动效 */
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* 布局 */
  --rail: 88px;
  --maxw: 1280px;
}

/* --------------------------------------------------------------------------
   3. 基础排版
   -------------------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--brown);
  background-color: var(--paper);
  min-height: 100vh;
  padding-top: 64px;
  padding-bottom: 84px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

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

p { max-width: 68ch; }

::selection {
  background: var(--clay);
  color: var(--brown);
}

/* 焦点反馈：金色描边，与悬停态区分 */
:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   4. 跳至主要内容
   -------------------------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 22px;
  border-radius: var(--pill);
  background: var(--brown);
  color: var(--card);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   5. 内容容器 / 网格 / 章节
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(34px, 5vw, 64px); }

.section--cream { background-color: var(--card); }

.section--ink {
  background-color: var(--ink);
  color: var(--card);
}
.section--ink .lede,
.section--ink p { color: rgba(255, 251, 244, .82); }

.section--brown {
  background-color: var(--brown);
  color: var(--paper);
}
.section--brown .lede,
.section--brown p { color: rgba(251, 244, 233, .82); }

.stack { display: flex; flex-direction: column; gap: 16px; }

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.4vw, 32px);
}

@media (min-width: 760px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--7-5 { grid-template-columns: 7fr 5fr; }
  .grid--8-4 { grid-template-columns: 8fr 4fr; }
}

/* --------------------------------------------------------------------------
   6. 排版组件
   -------------------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brown);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.015em;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.32;
}

.lede {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.7;
  color: rgba(36, 28, 23, .76);
}

.accent {
  color: var(--orange);
  font-weight: 700;
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: var(--pill);
  background: var(--clay);
  color: var(--brown);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1;
}

.eyebrow--ink {
  background: rgba(22, 50, 79, .1);
  color: var(--ink);
}

.eyebrow--gold {
  background: transparent;
  color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: var(--pill);
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.tag--clay { background: var(--clay); color: var(--brown); }

.tag--gold {
  background: transparent;
  color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0));
}

.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;
}

/* --------------------------------------------------------------------------
   7. 按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--pill);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1;
  transition: transform .22s var(--ease),
              background-color .22s var(--ease),
              color .22s var(--ease),
              box-shadow .22s var(--ease);
}

.btn--primary {
  background: var(--orange);
  color: var(--brown);
  box-shadow: 0 16px 32px -20px rgba(228, 87, 46, .95);
}
.btn--primary:hover {
  background: var(--orange-deep);
  color: var(--card);
  transform: translateY(-4px);
  box-shadow: 0 24px 42px -22px rgba(194, 67, 31, .95);
}

.btn--ghost {
  background: transparent;
  color: var(--brown);
  box-shadow: inset 0 0 0 1.5px rgba(36, 28, 23, .26);
}
.btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--brown);
  transform: translateY(-4px);
}

.btn--ink {
  background: var(--ink);
  color: var(--card);
}
.btn--ink:hover {
  background: var(--brown);
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   8. 面板 / 媒体容器
   -------------------------------------------------------------------------- */
.panel {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 36px);
}

.panel--soft { background: var(--mist); }
.panel--warm { background: var(--clay); }

/* 可复用响应式图片容器 —— 页面阶段直接放入 <img> */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--clay), var(--mist));
}

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

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

.media-frame > figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 22px 16px;
  background: linear-gradient(0deg, rgba(36, 28, 23, .74), rgba(36, 28, 23, 0));
  color: var(--card);
  font-size: 14px;
  line-height: 1.5;
}

.media-frame[data-empty]::after {
  content: attr(data-empty);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  color: rgba(36, 28, 23, .45);
}

/* --------------------------------------------------------------------------
   9. 面包屑
   -------------------------------------------------------------------------- */
.breadcrumb {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: rgba(36, 28, 23, .55);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

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

.breadcrumb li:not(:first-child)::before {
  content: "/";
  margin: 0 9px;
  color: var(--clay);
}

.breadcrumb a { transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb [aria-current="page"] { color: var(--brown); }

/* --------------------------------------------------------------------------
   10. 滚动显现
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

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

/* --------------------------------------------------------------------------
   11. 站点头部 —— 移动端基础形态
   -------------------------------------------------------------------------- */
.site-header {
  position: static;
}

/* 移动端顶部品牌条 */
.mobile-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 75;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px 0 16px;
  background: rgba(251, 244, 233, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(36, 28, 23, .09);
}

.mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--brown);
}

.mobile-brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--brown);
  font-size: 15px;
  font-weight: 900;
  flex: none;
}

.mobile-brand-text { line-height: 1; }

/* 移动导航按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px 9px 13px;
  border-radius: var(--pill);
  background: var(--brown);
  color: var(--card);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  transition: background-color .2s var(--ease);
}

.nav-toggle:hover { background: var(--orange-deep); }

.nav-toggle-icon {
  display: grid;
  gap: 4px;
  width: 16px;
  flex: none;
}

.nav-toggle-icon i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}

.site-header[data-open="true"] .nav-toggle-icon i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.site-header[data-open="true"] .nav-toggle-icon i:nth-child(2) {
  opacity: 0;
}
.site-header[data-open="true"] .nav-toggle-icon i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle-text { line-height: 1; }

/* 抽屉轨道 */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 80;
  width: min(82vw, 320px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 22px 18px 26px;
  background: var(--brown);
  color: var(--paper);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  transform: translateX(-104%);
  transition: transform .28s var(--ease);
}

.site-header[data-open="true"] .rail { transform: translateX(0); }

.rail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(251, 244, 233, .1);
  color: var(--card);
  font-size: 22px;
  line-height: 1;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}

.rail-close:hover {
  background: var(--orange);
  color: var(--brown);
}

/* 抽屉品牌区 */
.rail-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 40px 18px 4px;
  border-bottom: 1px solid rgba(251, 244, 233, .14);
}

.rail-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--brown);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  flex: none;
}

.rail-brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--card);
}

.rail-brand-tag {
  display: block;
  width: 100%;
  margin-top: 2px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--clay);
}

/* 抽屉导航列表 */
.rail-nav {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

.rail-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rail-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 16px;
  color: var(--paper);
  transition: background-color .2s var(--ease),
              color .2s var(--ease),
              transform .2s var(--ease);
}

.rail-link:hover { background: rgba(251, 244, 233, .12); }

.rail-mark {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(251, 244, 233, .12);
  color: var(--clay);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}

.rail-label {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.25;
}

.rail-link[aria-current="page"] {
  background: var(--orange);
  color: var(--brown);
}

.rail-link[aria-current="page"] .rail-mark {
  background: var(--card);
  color: var(--orange-deep);
}

/* 轨道底部主行动 */
.rail-cta {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 18px;
  border-radius: var(--pill);
  background: var(--orange);
  color: var(--brown);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center;
  line-height: 1.3;
  transition: background-color .2s var(--ease),
              color .2s var(--ease),
              transform .2s var(--ease);
}

.rail-cta:hover {
  background: var(--orange-deep);
  color: var(--card);
  transform: translateY(-3px);
}

/* 遮罩 */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 78;
  background: rgba(36, 28, 23, .52);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s var(--ease), visibility .24s var(--ease);
}

.site-header[data-open="true"] ~ .nav-scrim {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 移动端底部快捷入口 */
.quick-dock {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 65;
  padding: 6px;
  border-radius: 22px;
  background: rgba(36, 28, 23, .95);
  box-shadow: 0 22px 46px -24px rgba(36, 28, 23, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.dock-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}

.dock-link {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 6px 4px;
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-align: center;
  color: rgba(251, 244, 233, .76);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}

.dock-link:hover,
.dock-link[aria-current="page"] {
  background: var(--orange);
  color: var(--brown);
}

/* 返回顶部 */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 68;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 17px;
  border-radius: var(--pill);
  background: var(--card);
  color: var(--brown);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .03em;
  box-shadow: var(--shadow-1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .24s var(--ease),
              transform .24s var(--ease),
              visibility .24s var(--ease),
              background-color .2s var(--ease),
              color .2s var(--ease);
}

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

.to-top:hover {
  background: var(--orange);
  color: var(--brown);
}

.to-top-icon { font-size: 15px; line-height: 1; }

/* --------------------------------------------------------------------------
   12. 站点头部 —— 桌面端轨道
   -------------------------------------------------------------------------- */
@media (min-width: 900px) {
  body {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: var(--rail);
  }

  .mobile-bar,
  .quick-dock,
  .nav-scrim { display: none !important; }

  .rail-close { display: none; }

  .rail {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--rail);
    align-items: center;
    gap: 16px;
    padding: 20px 8px 22px;
    background: var(--paper);
    color: var(--brown);
    border-right: 1px solid rgba(36, 28, 23, .1);
    border-radius: 0;
    overflow: visible;
    transform: none;
    transition: none;
  }

  .rail-brand {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 0;
    border-bottom: 0;
    text-align: center;
  }

  .rail-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: 17px;
  }

  .rail-brand-name {
    max-width: 68px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
    color: var(--brown);
  }

  .rail-brand-tag { display: none; }

  .rail-nav {
    display: flex;
    align-items: flex-start;
    width: 100%;
  }

  .rail-list { gap: 6px; }

  .rail-link {
    flex-direction: column;
    gap: 5px;
    padding: 10px 4px;
    border-radius: 16px;
    color: var(--brown);
  }

  .rail-link:hover {
    background: rgba(228, 87, 46, .1);
    transform: translateY(-3px);
  }

  .rail-mark {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: var(--card);
    color: var(--ink);
    box-shadow: inset 0 0 0 1px rgba(36, 28, 23, .09);
  }

  .rail-link:hover .rail-mark {
    background: var(--clay);
    color: var(--brown);
    box-shadow: none;
  }

  .rail-label {
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
  }

  .rail-link[aria-current="page"] {
    background: var(--orange);
    color: var(--brown);
  }

  .rail-link[aria-current="page"] .rail-mark {
    background: var(--card);
    color: var(--orange-deep);
    box-shadow: none;
  }

  .rail-cta {
    width: 100%;
    padding: 20px 0;
    font-size: 12px;
    letter-spacing: .2em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }

  .to-top {
    right: 28px;
    bottom: 28px;
  }
}

/* --------------------------------------------------------------------------
   13. 站点页脚
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background-color: var(--brown);
  color: var(--paper);
  margin-top: clamp(32px, 5vw, 72px);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -180px;
  height: 400px;
  background: radial-gradient(58% 100% at 50% 0%,
              rgba(228, 87, 46, .22), rgba(228, 87, 46, 0) 72%);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, .22);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 88px) 24px clamp(30px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 56px);
}

.footer-lead { max-width: 34ch; }

.footer-eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--clay);
  line-height: 1.4;
}

.footer-closing {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.7vw, 34px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--card);
  max-width: 22ch;
}

.footer-cta { margin-top: 26px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 28px;
}

.footer-col-title {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--clay);
}

.footer-links {
  display: grid;
  gap: 11px;
}

.footer-links a {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(251, 244, 233, .82);
  transition: color .2s var(--ease);
}

.footer-links a:hover {
  color: var(--card);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.footer-contact {
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: 26px;
  border-top: 1px solid rgba(251, 244, 233, .14);
}

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

.footer-contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  font-size: 15px;
  color: rgba(251, 244, 233, .86);
}

.footer-contact-key {
  flex: none;
  min-width: 52px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--clay);
}

.footer-contact-value {
  line-height: 1.6;
}

.footer-contact-item--note { display: block; }

.footer-contact-note {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(251, 244, 233, .56);
}

.copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: var(--pill);
  background: rgba(251, 244, 233, .08);
  box-shadow: inset 0 0 0 1px rgba(251, 244, 233, .16);
  color: var(--card);
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.4;
  transition: background-color .2s var(--ease),
              box-shadow .2s var(--ease),
              transform .2s var(--ease);
}

.copy-chip:hover {
  background: rgba(228, 87, 46, .24);
  box-shadow: inset 0 0 0 1px rgba(228, 87, 46, .5);
  transform: translateY(-2px);
}

.copy-chip.is-copied {
  background: var(--jade);
  box-shadow: inset 0 0 0 1px var(--jade);
}

.copy-chip-hint {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--clay);
  transition: color .2s var(--ease);
}

.copy-chip.is-copied .copy-chip-hint { color: var(--card); }

.footer-base {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 20px 24px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  border-top: 1px solid rgba(251, 244, 233, .12);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: rgba(251, 244, 233, .58);
}

.footer-legal,
.footer-copy { max-width: none; }

@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: 5fr 7fr;
    padding-inline: 48px;
  }
  .footer-base { padding-inline: 48px; }
  .shell { padding-inline: 48px; }
}

@media (min-width: 640px) and (max-width: 899px) {
  .shell { padding-inline: 32px; }
}

/* --------------------------------------------------------------------------
   14. 减少动效
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

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

  .rail { transition: none; }
  .to-top { transition: none; }
}
