/* ============================================================
   乐投LETOU · /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 刊头 / 轨道导航 / 页脚 /
   通用按钮 / 面包屑 / 容器 / 网格 / 基础组件
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

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

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

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

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

/* ---------- 变量 ---------- */
:root {
  --ink: #1C1611;
  --rail-bg: #16232B;
  --ochre: #8C4A24;
  --sand: #C99A4B;
  --sand-light: #EBD3A3;
  --paper: #F4EEE3;
  --paper-2: #EAE2D2;
  --cold: #1E6B84;
  --cold-light: #7FB2C4;
  --orange: #E0762B;
  --orange-paper: #A8481A;
  --muted: #6B6055;

  --font-display: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'SimSun', serif;
  --font-label: 'Barlow Condensed', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', 'SFMono-Regular', 'Menlo', 'Consolas', monospace;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;

  --rail-w: 88px;
  --header-h: 68px;

  --hairline: 1px solid rgba(127, 178, 196, .42);
  --hairline-soft: 1px solid rgba(127, 178, 196, .26);
  --hairline-gold: 1px solid rgba(201, 154, 75, .3);

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (max-width: 1023px) {
  :root { --header-h: 60px; }
}

/* ---------- 中文排版基线 ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper);
  padding-top: var(--header-h);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.18;
  letter-spacing: -.01em;
}

.label {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: .95em;
  letter-spacing: .01em;
}

.note {
  font-size: 13px;
  line-height: 1.72;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(107, 96, 85, .38);
  text-underline-offset: 3px;
}

.prose { max-width: 40em; }
.prose p + p { margin-top: 1em; }

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  left: 14px;
  top: -80px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--sand);
  color: var(--ink);
  border-radius: var(--radius-pill);
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: .12em;
  transition: top .18s var(--ease);
}

.skip-link:focus { top: 14px; }

/* ---------- 刊头 ---------- */
.site-header {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}

.site-header__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 26px);
  padding: 0 clamp(14px, 2.2vw, 28px);
  background: var(--ink);
  color: var(--paper);
  border-bottom: var(--hairline-gold);
  pointer-events: auto;
}

@media (min-width: 1024px) {
  .site-header__bar {
    padding-left: calc(var(--rail-w) + clamp(18px, 2.2vw, 34px));
    padding-right: clamp(20px, 2.6vw, 40px);
  }
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-right: auto;
}

.brand__mark {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sand);
  border-radius: 10px;
  color: var(--sand);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__name {
  font-family: var(--font-label);
  font-size: 17px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper);
}

.brand__line {
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(244, 238, 227, .55);
}

@media (max-width: 479px) {
  .brand__line { display: none; }
}

.header-tagline {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .04em;
  color: rgba(244, 238, 227, .7);
  white-space: nowrap;
  padding-left: 18px;
  border-left: 1px solid rgba(201, 154, 75, .3);
}

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

/* 刊头元信息 */
.meta-strip {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.5vw, 26px);
  font-size: 12px;
}

.meta-strip__item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.meta-strip__k {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(244, 238, 227, .42);
}

.meta-strip .mono { color: var(--cold-light); }

@media (max-width: 1419px) {
  .meta-strip { display: none; }
}

/* 条款入口 */
.utility-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 20px);
  font-size: 12.5px;
  white-space: nowrap;
}

.utility-nav__link {
  color: rgba(244, 238, 227, .68);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}

.utility-nav__link:hover {
  color: var(--sand-light);
  border-bottom-color: var(--sand);
}

@media (max-width: 1023px) {
  .utility-nav { display: none; }
}

/* 抽屉开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  border: 1px solid rgba(201, 154, 75, .5);
  border-radius: var(--radius-pill);
  color: var(--sand-light);
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}

.nav-toggle:hover {
  background: rgba(201, 154, 75, .15);
  border-color: var(--sand);
}

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

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

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) {
  transform: translateY(-4.5px) rotate(-45deg);
}

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

@media (max-width: 520px) {
  .nav-toggle { padding: 9px 12px; }
  .nav-toggle__text { display: none; }
}

/* ---------- 侧边轨道导航（桌面端） ---------- */
.site-rail {
  position: absolute;
  top: var(--header-h);
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  background: var(--rail-bg);
  border-right: 1px solid rgba(201, 154, 75, .2);
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  z-index: 91;
}

.rail__brand { display: none; }

.rail__list {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  overflow-y: auto;
  overflow-x: visible;
  scrollbar-width: thin;
}

.rail__item { position: relative; }

.rail__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
  color: rgba(244, 238, 227, .58);
  transition: color .18s var(--ease), background-color .18s var(--ease);
}

.rail__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--sand);
  transform: translateY(-50%);
  transition: height .2s var(--ease);
}

.rail__link:hover,
.rail__link:focus-visible {
  color: var(--sand-light);
  background: rgba(201, 154, 75, .09);
}

.rail__link:hover::before,
.rail__link:focus-visible::before { height: 58%; }

.rail__link[aria-current="page"] {
  color: var(--sand-light);
  background: rgba(201, 154, 75, .14);
}

.rail__link[aria-current="page"]::before {
  height: 58%;
  background: var(--sand);
}

.rail__index {
  font-size: 13px;
  letter-spacing: .08em;
  color: inherit;
}

.rail__link[aria-current="page"] .rail__index { color: var(--sand); }

.rail__label {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  background: var(--rail-bg);
  color: var(--sand-light);
  border: 1px solid rgba(127, 178, 196, .32);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: .1em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 6;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}

.rail__link:hover .rail__label,
.rail__link:focus-visible .rail__label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.rail__extra { display: none; }

.rail__foot {
  margin-top: auto;
  border-top: 1px solid rgba(201, 154, 75, .16);
  padding: 8px 0 14px;
}

.rail__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 12px 0;
  color: rgba(244, 238, 227, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .26s var(--ease), color .18s var(--ease), visibility .26s;
}

.rail__top.is-visible {
  opacity: 1;
  visibility: visible;
}

.rail__top:hover { color: var(--sand); }

.rail__top-arrow { font-size: 15px; line-height: 1; }

.rail__top-label {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .14em;
}

/* ---------- 轨道导航（移动端抽屉） ---------- */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 89;
  background: rgba(28, 22, 17, .58);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .26s var(--ease), visibility .26s;
}

.nav-scrim.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 1023px) {
  .site-rail {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(84vw, 306px);
    padding: calc(var(--header-h) + 6px) 0 20px;
    overflow-y: auto;
    border-right: 1px solid rgba(201, 154, 75, .3);
    transform: translateX(-102%);
    transition: transform .28s var(--ease);
    z-index: 95;
  }

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

  .rail__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 22px 16px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(201, 154, 75, .2);
  }

  .rail__brand-mark {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid var(--sand);
    border-radius: 9px;
    color: var(--sand);
    font-size: 10px;
  }

  .rail__brand-text {
    font-family: var(--font-label);
    font-size: 13px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(244, 238, 227, .6);
  }

  .rail__list { padding: 0; }

  .rail__link {
    justify-content: flex-start;
    gap: 16px;
    height: 56px;
    padding: 0 22px;
  }

  .rail__link::before { height: 58%; }

  .rail__label {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: none;
    border: 0;
    padding: 0;
    font-size: 15px;
    letter-spacing: .06em;
    color: inherit;
  }

  .rail__extra {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 18px;
    padding: 14px 22px 0;
    border-top: 1px solid rgba(201, 154, 75, .18);
  }

  .rail__extra-link {
    padding: 8px 0;
    font-size: 13.5px;
    color: rgba(244, 238, 227, .62);
    border-bottom: 1px solid rgba(127, 178, 196, .16);
  }

  .rail__extra-link:hover { color: var(--sand-light); }

  .rail__foot { display: none; }
}

/* ---------- 主内容区 ---------- */
#main-content {
  display: block;
  min-height: 62vh;
}

.wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) clamp(18px, 3vw, 44px) clamp(40px, 5vw, 80px);
}

.wrap--narrow { max-width: 940px; }
.wrap--wide { max-width: 1560px; }

/* ---------- 面包屑 ---------- */
.breadcrumb { padding-bottom: 20px; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--cold-light);
}

.breadcrumb__link:hover {
  color: var(--cold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-label);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.btn--solid {
  background: var(--ink);
  color: var(--sand-light);
  border-color: var(--ink);
}

.btn--solid:hover {
  background: var(--ochre);
  border-color: var(--ochre);
  color: var(--paper);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(28, 22, 17, .35);
}

.btn--ghost:hover {
  border-color: var(--cold);
  color: var(--cold);
}

.btn--sand {
  background: var(--sand);
  color: var(--ink);
  border-color: var(--sand);
}

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

/* ---------- 面板 / 数据带 ---------- */
.panel {
  position: relative;
  background: var(--paper);
  border: var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 40px);
}

.panel + .panel { margin-top: clamp(28px, 4vw, 64px); }

.panel--dark {
  background: var(--rail-bg);
  border-color: rgba(201, 154, 75, .28);
  color: var(--paper);
}

.panel--ochre {
  background: var(--ochre);
  border-color: rgba(244, 238, 227, .26);
  color: var(--paper);
}

.data-band {
  background: var(--rail-bg);
  color: var(--paper);
  border: 1px solid rgba(201, 154, 75, .26);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 40px);
}

.data-band .section-head { border-bottom-color: rgba(201, 154, 75, .3); }
.data-band .section-head__title { color: var(--paper); }
.data-band .section-head__index { color: var(--sand); }

/* ---------- 分区题头 ---------- */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: clamp(18px, 2.4vw, 32px);
  border-bottom: 1px solid rgba(127, 178, 196, .5);
}

.section-head__index {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--cold);
}

.section-head__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.3;
  letter-spacing: -.005em;
}

/* ---------- 数据行 ---------- */
.data-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
  min-height: 52px;
  padding: 10px 4px;
  border-bottom: var(--hairline-soft);
  transition: background-color .16s var(--ease);
}

.data-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--cold);
  transition: width .16s var(--ease);
}

.data-row:hover { background: var(--sand-light); }

.data-row:hover::after,
.data-row:focus-within::after { width: 100%; }

.data-row__index {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--cold);
}

.data-row__body { font-size: 15px; line-height: 1.7; }

.data-row__range {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  color: var(--cold);
  white-space: nowrap;
}

.data-band .data-row { border-bottom-color: rgba(201, 154, 75, .2); }
.data-band .data-row:hover { background: rgba(201, 154, 75, .12); }
.data-band .data-row__index,
.data-band .data-row__range { color: var(--cold-light); }

@media (max-width: 640px) {
  .data-row {
    grid-template-columns: 48px minmax(0, 1fr);
    row-gap: 4px;
  }

  .data-row__range {
    grid-column: 2 / -1;
    font-size: 13px;
  }
}

/* ---------- 胶囊标签 ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  border: 1px solid rgba(127, 178, 196, .6);
  border-radius: var(--radius-pill);
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cold);
  white-space: nowrap;
}

.pill--orange {
  border-color: rgba(168, 72, 26, .5);
  color: var(--orange-paper);
}

.pill--sand {
  border-color: rgba(201, 154, 75, .7);
  color: var(--ochre);
}

/* ---------- 网格工具 ---------- */
.g-grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 32px);
}

.g-grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g-grid--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.g-grid--4 { grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); }

/* ---------- 图片容器（供页面阶段放置图片） ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: var(--hairline-soft);
  background: var(--paper-2);
}

.media-frame--wide { aspect-ratio: 16 / 5; }
.media-frame--grid { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }

.media-frame__img,
.media-frame > img,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(28, 22, 17, .72);
  border: 1px solid rgba(201, 154, 75, .45);
  color: var(--sand-light);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: .06em;
}

/* ---------- 复制按钮 ---------- */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(127, 178, 196, .55);
  border-radius: var(--radius-pill);
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cold);
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}

.copy-btn:hover {
  background: rgba(30, 107, 132, .1);
  border-color: var(--cold);
}

.copy-btn.is-copied {
  background: var(--cold);
  border-color: var(--cold);
  color: var(--paper);
}

/* ---------- 显现动效 ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
}

.has-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  border-top: 3px solid var(--sand);
  margin-top: clamp(48px, 7vw, 110px);
}

.site-footer__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 72px) clamp(18px, 3vw, 44px) clamp(20px, 2.6vw, 32px);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(200px, 1.05fr) 2fr minmax(240px, 1.2fr);
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(28px, 3.4vw, 48px);
  border-bottom: 1px solid rgba(201, 154, 75, .24);
}

@media (max-width: 1023px) {
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand__mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sand);
  border-radius: 9px;
  color: var(--sand);
  font-size: 11px;
}

.footer-brand__name {
  font-family: var(--font-label);
  font-size: 18px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-brand__line {
  font-size: 12.5px;
  letter-spacing: .06em;
  color: rgba(244, 238, 227, .55);
}

.footer-brand__note {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(244, 238, 227, .72);
  max-width: 24em;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

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

.footer-col__title {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 12px;
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-col__link {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(244, 238, 227, .78);
  transition: color .16s var(--ease);
}

.footer-col__link:hover {
  color: var(--sand-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}

.contact-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(201, 154, 75, .14);
}

.contact-row__k {
  flex: 0 0 44px;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(201, 154, 75, .82);
}

.contact-row__v {
  color: rgba(244, 238, 227, .86);
  word-break: break-word;
}

.contact-note {
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(244, 238, 227, .52);
  text-decoration: underline;
  text-decoration-color: rgba(244, 238, 227, .22);
  text-underline-offset: 3px;
}

.site-footer__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(212px, 1fr));
  gap: 8px clamp(18px, 2.4vw, 36px);
  padding: clamp(18px, 2.2vw, 26px) 0;
  border-bottom: 1px solid rgba(201, 154, 75, .18);
  font-size: 13px;
  color: rgba(244, 238, 227, .72);
}

.footer-meta__item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-meta__k {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(201, 154, 75, .85);
}

.site-footer__meta .mono { color: var(--cold-light); }

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding-top: 18px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(244, 238, 227, .5);
}

/* ---------- 无障碍与动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

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

  .rail__top {
    transition: none;
  }
}
