/* =========================================================
   诗以载史 · 基础层：重置 / 排版 / 通用区块 / 入场动画
   ========================================================= */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .4s var(--ease), color .4s var(--ease);
}
body.no-scroll { overflow: hidden; }
/* 细腻毛玻璃的来源：柔和色晕 + 极淡宣纸纹理，供卡片磨砂折射 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(75% 65% at 50% 38%, color-mix(in srgb, var(--bg-soft) 45%, transparent), transparent 82%),
    radial-gradient(82% 72% at -8% -10%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 76%),
    radial-gradient(74% 64% at 108% 6%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 76%),
    radial-gradient(62% 56% at 50% 102%, color-mix(in srgb, var(--accent-soft) 10%, transparent), transparent 72%);
  transition: background .4s var(--ease);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 通用 ---------- */
.section { padding: 92px 0; }
.section-sm { padding: 30px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; letter-spacing: .28em; color: var(--accent); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 42%, transparent); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.25; }
.display { font-size: clamp(38px, 6vw, 62px); letter-spacing: .02em; margin: 0 0 18px; }
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--ink-soft); max-width: 60ch; }
.section.about-head { text-align: center; }
.section.about-head .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--ink-soft); }

/* 整行宽度 = 随机标题 6 个字的宽度（与 .hero-title 同款 clamp，确保等单位对齐）；
   space-between + 加大 gap 使三个数据间距明显拉开；max-width:100% 防窄屏溢出 */
.stat-row { display: flex; flex-wrap: wrap; width: calc(6 * clamp(36px, 6vw, 64px)); max-width: 100%; gap: 44px; margin-top: 38px; justify-content: space-between; }
.stat { text-align: center; }
.stat .num { font-family: var(--serif); font-size: 34px; font-weight: 700; }
.stat .num .unit { font-size: 16px; color: var(--ink-faint); margin-left: 4px; }
.stat .label { font-size: 13px; color: var(--ink-soft); letter-spacing: .08em; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

