/* ============================================================
   csxai.com demo — 「仓鼠学AI」浅色系视觉系统
   依据 docs/csxai-new-direction-design-v2.md §5
   ============================================================ */
:root {
  --bg: #FAF9F6;          /* 暖白纸感 */
  --surface: #FFFFFF;
  --ink: #1F2430;         /* 深墨蓝黑 */
  --ink-soft: #5A6272;
  --accent: #2E6BFF;      /* 先驱蓝 */
  --accent-soft: #E8F0FF;
  --gold: #E8A33D;        /* 曙光金 */
  --gold-soft: #FBF1DE;
  --line: #E7E4DD;
  --teal: #17A589;        /* 提效实战 */
  --teal-soft: #E2F5F0;
  --violet: #7C5CD6;      /* 学习科研 */
  --violet-soft: #F0EAFB;
  --radius: 14px;
  --shadow: 0 2px 6px rgba(31, 36, 48, .04), 0 12px 32px rgba(31, 36, 48, .06);
  --shadow-hover: 0 4px 10px rgba(31, 36, 48, .06), 0 20px 44px rgba(46, 107, 255, .10);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --tech: "Sora", "Avenir Next", "Trebuchet MS", var(--sans);
  --mono: "SFMono-Regular", "Consolas", "JetBrains Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  position: relative;
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 520px at 85% -8%, rgba(46, 107, 255, .07), transparent 62%),
    radial-gradient(900px 460px at -8% 22%, rgba(232, 163, 61, .06), transparent 60%);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
/* 细噪点纹理，避免浅色底寡淡（absolute 避免全屏合成层开销） */
body::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1120px, 92%); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

::selection { background: var(--accent); color: #fff; }

/* ---------- 通用排印 ---------- */
.eyebrow {
  font-family: var(--tech);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  border-radius: 2px;
}
.section-head { margin-bottom: 2.2rem; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.3;
  margin-top: .6rem;
  letter-spacing: .01em;
}
.section-head p { color: var(--ink-soft); max-width: 44em; margin-top: .5rem; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .78em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 20px rgba(46, 107, 255, .28);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(46, 107, 255, .36); }
.btn-ghost {
  border-color: var(--line); color: var(--ink); background: var(--surface);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn .arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 246, .86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
@supports not ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
  .site-header { background: rgba(250, 249, 246, .96); }
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: .65rem; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--accent) 20%, #6D97FF 75%);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 900; font-size: 1.05rem;
  box-shadow: 0 6px 14px rgba(46, 107, 255, .3);
  position: relative; overflow: hidden;
}
.logo-mark::after {
  content: ""; position: absolute; right: -8px; top: -8px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); opacity: .85;
}
.logo-text { line-height: 1.2; }
.logo-text strong { font-family: var(--serif); font-size: 1.05rem; font-weight: 900; display: block; }
.logo-text span { font-family: var(--tech); font-size: .68rem; letter-spacing: .18em; color: var(--ink-soft); }
.nav-links { display: flex; gap: .2rem; align-items: center; }
.nav-links a {
  padding: .5em .95em;
  border-radius: 999px;
  font-size: .93rem;
  color: var(--ink-soft);
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--accent-soft); }
.nav-links a.active { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.nav-cta { margin-left: .6rem; }
.nav-links .btn-primary { color: #fff; }
.nav-toggle {
  display: none;
  background: none; border: 1.5px solid var(--line);
  border-radius: 10px; padding: .45em .6em;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  margin: 4px 0; border-radius: 2px; transition: transform .3s ease, opacity .3s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3.2rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative; z-index: 2;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.28;
  margin: 1.1rem 0 1.2rem;
}
.hero h1 em {
  font-style: normal;
  white-space: nowrap;
  background: linear-gradient(100deg, var(--accent) 30%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { color: var(--ink-soft); max-width: 34em; font-size: 1.05rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.9rem; }
.hero-stats {
  display: flex; gap: clamp(1.4rem, 4vw, 3rem);
  margin-top: 2.6rem; padding-top: 1.6rem;
  border-top: 1px dashed var(--line);
  flex-wrap: wrap;
}
.hero-stats .stat b {
  font-family: var(--tech); font-size: 1.55rem; font-weight: 700; color: var(--ink);
  display: block; line-height: 1.2;
}
.hero-stats .stat b i { font-style: normal; color: var(--gold); }
.hero-stats .stat span { font-size: .82rem; color: var(--ink-soft); }

/* 光路意象：Hero 背景 SVG 线条 */
.hero-path {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .65;
}
.hero-path path {
  fill: none;
  stroke: url(#pathGrad);
  stroke-width: 1.6;
  stroke-dasharray: 6 9;
  animation: dashDrift 26s linear infinite;
}
@keyframes dashDrift { to { stroke-dashoffset: -600; } }

/* 抽象头像占位（真人素材缺失，几何剪影 + 徽章） */
.avatar-stage { position: relative; display: grid; place-items: center; }
.avatar-ring {
  width: clamp(220px, 26vw, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(232, 163, 61, .35), transparent 46%),
    linear-gradient(150deg, var(--accent-soft), #FFFFFF 70%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 0 0 10px rgba(255, 255, 255, .7);
  display: grid; place-items: center;
  position: relative;
}
.avatar-ring::before {
  content: ""; position: absolute; inset: -16px;
  border-radius: 50%;
  border: 1.5px dashed rgba(46, 107, 255, .28);
  animation: spin 42s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* Hero 离屏时暂停无限动画，降低功耗 */
.hero-paused .hero-path path,
.hero-paused .avatar-ring::before { animation-play-state: paused; }
.avatar-badge {
  position: absolute; bottom: 6%;
  background: var(--ink); color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: .9rem;
  padding: .42em 1.2em; border-radius: 999px;
  box-shadow: 0 8px 18px rgba(31, 36, 48, .28);
  white-space: nowrap;
}
.avatar-badge i { font-style: normal; color: var(--gold); }
.avatar-note {
  margin-top: 1.1rem; font-size: .75rem; color: var(--ink-soft); text-align: center;
}

/* ---------- 区块通用 ---------- */
section.block { padding: clamp(3rem, 6vw, 4.6rem) 0; }
.block + .block { border-top: 1px solid var(--line); }

/* ---------- 内容支柱卡片 ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1.2rem;
}
.pillar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .7rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.pillar-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--pillar-color, var(--accent));
  border-radius: 0 4px 4px 0;
}
.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: color-mix(in srgb, var(--pillar-color, var(--accent)) 40%, var(--line));
}
.pillar-card h3 { font-family: var(--serif); font-weight: 900; font-size: 1.3rem; }
.pillar-card .promise { color: var(--ink-soft); font-size: .93rem; flex: 1; }
.pillar-card .go {
  font-size: .9rem; font-weight: 600;
  color: var(--pillar-color, var(--accent));
  display: inline-flex; align-items: center; gap: .4em;
}
.pillar-card--main {
  background: linear-gradient(160deg, #FFFFFF 40%, var(--accent-soft));
}
.pillar-card--main .hot {
  position: absolute; top: 1.1rem; right: 1.1rem;
  font-family: var(--tech); font-size: .66rem; letter-spacing: .14em;
  background: var(--gold-soft); color: #7A4A00;
  border: 1px solid rgba(232, 163, 61, .45);
  padding: .28em .8em; border-radius: 999px; font-weight: 600;
}

/* ---------- 文章卡片 ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.2rem;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.article-card .cover {
  height: 128px;
  display: flex; align-items: flex-end; padding: 1rem 1.2rem;
  background:
    radial-gradient(240px 130px at 88% -20%, rgba(255, 255, 255, .55), transparent 70%),
    var(--cover, var(--accent-soft));
  position: relative;
}
.article-card .cover::after {
  content: ""; position: absolute; left: 1.2rem; bottom: 2.3rem;
  width: 42px; height: 1.5px;
  background: currentColor; opacity: .5;
}
.article-card .cover .num {
  margin-left: auto;
  font-family: var(--tech); font-weight: 700; font-size: 2.4rem; line-height: 1;
  opacity: .28;
}
.article-card .body { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.article-card h3 { font-size: 1.04rem; line-height: 1.5; font-weight: 700; }
.article-card h3 a:hover { color: var(--accent); }
.article-card p.excerpt { font-size: .88rem; color: var(--ink-soft); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card .meta { display: flex; align-items: center; gap: .7rem; font-size: .78rem; color: var(--ink-soft); font-family: var(--tech); }

.tag {
  display: inline-flex; align-items: center;
  font-size: .74rem; font-weight: 600;
  padding: .24em .85em; border-radius: 999px;
}
.tag--career { background: var(--accent-soft); color: var(--accent); }
.tag--practice { background: var(--teal-soft); color: var(--teal); }
.tag--campus { background: var(--violet-soft); color: var(--violet); }

/* ---------- 金句条（鼠哥说） ---------- */
.quote-strip {
  background: linear-gradient(120deg, var(--accent-soft) 0%, #FFFFFF 55%, var(--gold-soft));
  border-block: 1px solid var(--line);
  padding: clamp(2.6rem, 5vw, 3.8rem) 0;
  text-align: center;
}
.quote-strip blockquote {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  line-height: 1.55;
  max-width: 24em; margin-inline: auto;
}
.quote-strip blockquote em { font-style: normal; color: var(--accent); }
.quote-strip cite {
  display: block; margin-top: 1.1rem;
  font-style: normal; font-family: var(--tech);
  font-size: .8rem; letter-spacing: .2em; color: var(--ink-soft);
}

/* ---------- 关于我摘要 ---------- */
.about-teaser {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
}
.about-teaser .mini-tl { display: grid; gap: .8rem; }
.about-teaser .tl-item {
  display: flex; gap: .9rem; align-items: baseline;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: .75rem 1.1rem;
}
.about-teaser .tl-item b { font-family: var(--tech); color: var(--gold); font-size: .9rem; white-space: nowrap; }
.about-teaser .tl-item span { font-size: .9rem; color: var(--ink-soft); }

/* ---------- 栏目页 ---------- */
.page-hero { padding: clamp(2.8rem, 6vw, 4.2rem) 0 2.4rem; }
.page-hero h1 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(2rem, 4.4vw, 3rem);
  margin: .9rem 0 .8rem; line-height: 1.25;
}
.page-hero .manifesto { color: var(--ink-soft); max-width: 40em; font-size: 1.03rem; }
.pillar-hero--career h1 em { color: var(--accent); font-style: normal; }
.pillar-hero--practice h1 em { color: var(--teal); font-style: normal; }
.pillar-hero--campus h1 em { color: var(--violet); font-style: normal; }
.list-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; margin-bottom: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--ink-soft);
}

/* ---------- 文章页 ---------- */
.article-hero { padding: clamp(2.6rem, 5vw, 4rem) 0 1.8rem; }
.article-hero h1 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  line-height: 1.35; margin: 1rem 0 1.1rem; max-width: 26em;
}
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; font-size: .85rem; color: var(--ink-soft); font-family: var(--tech); }
.article-layout {
  display: grid; grid-template-columns: minmax(0, 720px) 260px;
  gap: clamp(2rem, 4vw, 3.5rem);
  justify-content: center;
  padding-bottom: 4rem;
}
.prose { font-size: 1.02rem; line-height: 1.95; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 {
  font-family: var(--serif); font-weight: 900; font-size: 1.45rem;
  margin-top: 2.4em; padding-left: .85rem;
  border-left: 4px solid var(--gold);
  line-height: 1.4;
}
.prose p { color: #333947; }
.prose strong { color: var(--ink); }
.prose ul { list-style: disc; padding-left: 1.4em; color: #333947; }
.prose ul li + li { margin-top: .45em; }
.prose .callout {
  background: var(--gold-soft);
  border: 1px solid rgba(232, 163, 61, .4);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  font-size: .95rem;
}
.prose .callout b { color: #7A4A00; }

/* 提示词代码块（可复制） */
.prompt-block {
  background: var(--ink);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(31, 36, 48, .22);
}
.prompt-block .pb-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 1rem;
  background: rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.prompt-block .pb-head span {
  font-family: var(--tech); font-size: .7rem; letter-spacing: .2em;
  color: rgba(255, 255, 255, .55); text-transform: uppercase;
}
.prompt-block .copy-btn {
  background: var(--gold); color: #3A2A08;
  border: none; border-radius: 999px;
  font-size: .75rem; font-weight: 700;
  padding: .32em 1em;
  transition: transform .2s ease, background .2s ease;
}
.prompt-block .copy-btn:hover { transform: translateY(-1px); }
.prompt-block .copy-btn.copied { background: #7ED9A8; }
.prompt-block pre {
  padding: 1.15rem 1.25rem;
  font-family: var(--mono);
  font-size: .86rem; line-height: 1.75;
  color: #E9EDF6;
  white-space: pre-wrap; word-break: break-word;
}

/* 作者卡片 */
.author-card {
  margin-top: 3rem;
  background: linear-gradient(140deg, var(--accent-soft), #FFFFFF 65%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap;
}
.author-card .a-avatar {
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), #7EA0FF);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 900; color: #fff; font-size: 1.3rem;
  box-shadow: 0 8px 18px rgba(46, 107, 255, .3);
  flex-shrink: 0;
}
.author-card .a-body { flex: 1; min-width: 220px; }
.author-card .a-body strong { font-family: var(--serif); font-size: 1.05rem; }
.author-card .a-body p { font-size: .88rem; color: var(--ink-soft); }

/* 文章加载与未找到状态 */
.article-loading {
  text-align: center; padding: 3rem 0;
  color: var(--ink-soft); font-size: .95rem;
}
.article-notfound {
  text-align: center; padding: 3rem 1rem;
}
.article-notfound h2 {
  font-family: var(--serif); font-weight: 900; font-size: 1.5rem;
  margin-bottom: 1rem;
}
.article-notfound p {
  color: var(--ink-soft); margin-bottom: 1.6rem;
}
.notfound-links {
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center;
}

/* 文章侧栏 */
.article-side { position: sticky; top: 92px; align-self: start; display: grid; gap: 1.4rem; }
.side-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem 1.25rem;
}
.side-box h4 { font-size: .8rem; letter-spacing: .12em; color: var(--ink-soft); font-family: var(--tech); text-transform: uppercase; margin-bottom: .8rem; }
.side-box ul { display: grid; gap: .7rem; }
.side-box ul a { font-size: .88rem; line-height: 1.5; display: block; }
.side-box ul a:hover { color: var(--accent); }

/* ---------- 关于我页 ---------- */
.timeline { position: relative; padding-left: 2rem; display: grid; gap: 1.6rem; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 0; border-left: 2px dashed rgba(46, 107, 255, .3);
}
.tl-node { position: relative; }
.tl-node::before {
  content: ""; position: absolute; left: -2rem; top: .5rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px var(--gold-soft);
}
.tl-node b { font-family: var(--tech); color: var(--accent); font-size: .88rem; letter-spacing: .06em; }
.tl-node h3 { font-family: var(--serif); font-weight: 900; font-size: 1.15rem; margin: .15rem 0 .25rem; }
.tl-node p { color: var(--ink-soft); font-size: .93rem; }
.about-panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.8rem;
}
.social-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .9rem; }
.social-item {
  border: 1px solid var(--line); border-radius: 12px;
  padding: .9rem 1rem; text-align: center;
  transition: border-color .25s ease, transform .25s ease;
  background: var(--bg);
}
.social-item:hover { border-color: var(--accent); transform: translateY(-3px); }
.social-item b { display: block; font-size: .95rem; }
.social-item span { font-size: .75rem; color: var(--ink-soft); font-family: var(--tech); }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2rem; border-bottom: 1px solid var(--line);
}
.footer-grid h5 { font-size: .82rem; letter-spacing: .14em; color: var(--ink-soft); font-family: var(--tech); text-transform: uppercase; margin-bottom: .9rem; }
.footer-grid ul { display: grid; gap: .55rem; font-size: .92rem; }
.footer-grid ul a:hover { color: var(--accent); }
.footer-brand p { color: var(--ink-soft); font-size: .9rem; max-width: 26em; margin-top: .8rem; }
.footer-bottom {
  padding-top: 1.4rem;
  display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between;
  font-size: .8rem; color: var(--ink-soft);
}

/* ---------- 入场动效 ---------- */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-grid > *, .page-hero > * { animation: riseIn .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-grid > *:nth-child(2) { animation-delay: .15s; }
.page-hero > *:nth-child(2) { animation-delay: .1s; }
.page-hero > *:nth-child(3) { animation-delay: .2s; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .avatar-stage { order: -1; margin-bottom: .6rem; }
  .pillars-grid { grid-template-columns: 1fr; }
  .about-teaser { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 1rem 4%;
    gap: .3rem;
    transform: translateY(-130%);
    transition: transform .35s cubic-bezier(.2, .7, .2, 1);
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .8em 1rem; border-radius: 10px; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.72rem; }
  .page-hero h1 { font-size: 1.8rem; }
  .hero-stats { gap: 1.2rem; }
}
