/* =========================================================
   字体：HarmonyOS Sans SC（自托管，所有人看到同一套字形）
   ========================================================= */
@font-face{
  font-family:"HarmonyOS Sans SC";
  src:url("../assets/fonts/harmony-sans-400.woff2") format("woff2");
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face{
  font-family:"HarmonyOS Sans SC";
  src:url("../assets/fonts/harmony-sans-500.woff2") format("woff2");
  font-weight:500; font-style:normal; font-display:swap;
}
@font-face{
  font-family:"HarmonyOS Sans SC";
  src:url("../assets/fonts/harmony-sans-700.woff2") format("woff2");
  font-weight:700; font-style:normal; font-display:swap;
}
/* ============================================================
   戊子楠 · 作品集
   设计系统：12 栏栅格 + 基线节奏 + 香芋紫 / 鼠尾草绿
   ============================================================ */

/* ---------- 1. 设计变量（Design Tokens） ---------- */
:root {
  /* 主色：香芋紫 */
  --taro-900: #2A2140;
  --taro-800: #3A2E58;
  --taro-700: #4C3D73;
  --taro-600: #6B5A9E;
  --taro-500: #8E7CC3;
  --taro-300: #B7A6E0;
  --taro-100: #E9E3F7;
  --taro-50:  #F6F3FC;

  /* 强调色：与香芋紫互补的鼠尾草绿（低饱和，久看不刺眼） */
  --sage-600: #6E8F62;
  --sage-500: #8FBF7F;
  --sage-400: #A8D19A;
  --sage-200: #D6E9CD;

  /* 中性色 */
  --ink:      #1A1622;
  --ink-70:   #4A4458;
  --ink-50:   #7A7386;
  --line:     #E4DFEF;
  --paper:    #FCFBFF;

  /* 栅格：12 栏 / 24px 栏间距 / 阶梯式页边距 */
  --cols: 12;
  --gutter: 24px;
  --margin: 40px;
  --maxw: 1280px;

  /* 排版比例 1.25（大三度） */
  --fs-1: 0.75rem;   /* 12 */
  --fs-2: 0.875rem;  /* 14 */
  --fs-3: 1rem;      /* 16 */
  --fs-4: 1.25rem;   /* 20 */
  --fs-5: 1.5625rem; /* 25 */
  --fs-6: 1.953rem;  /* 31 */
  --fs-7: 2.441rem;  /* 39 */
  --fs-8: 3.052rem;  /* 49 */

  --lh-tight: 1.15;
  --lh-body: 1.7;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(42, 33, 64, .10);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "HarmonyOS Sans SC", "HarmonyOS Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: var(--fs-3);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* 中文标点与字距 */
p { margin: 0 0 1.2em; letter-spacing: .01em; }
h1, h2, h3 { margin: 0; line-height: var(--lh-tight); font-weight: 700; letter-spacing: -.01em; }

/* ---------- 3. 栅格系统 ---------- */
.grid-12,
.cards-12 {
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  gap: var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--margin);
}

/* 跨栏工具类：桌面 12 栏，移动端全部变 1 栏 */
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* ---------- 4. 顶部导航 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--margin);
  background: rgba(252, 251, 255, .82);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--taro-500), var(--taro-700));
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-4);
}

.brand-text {
  display: flex; flex-direction: column;
  font-size: var(--fs-2);
  font-weight: 700;
  letter-spacing: .14em;
}
.brand-text small {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--ink-50);
}

.site-nav { display: flex; gap: 26px; }
.site-nav a {
  position: relative;
  font-size: var(--fs-2);
  color: var(--ink-70);
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--sage-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.is-active { color: var(--ink); font-weight: 600; }

/* 汉堡按钮（移动端） */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}

/* ---------- 5. 首屏 Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--taro-900);
}

/* 图片层 */
.hero-media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

/* 渐变遮罩：顶部透明 → 底部香芋紫（核心效果） */
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(26, 22, 34, .78) 0%,
      rgba(42, 33, 64, .62) 32%,
      rgba(76, 61, 115, .82) 66%,
      var(--taro-800) 88%,
      var(--taro-900) 100%),
    radial-gradient(120% 70% at 15% 10%, rgba(183, 166, 224, .18), transparent 60%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--margin) 9vh;
  color: #fff;
}

.eyebrow {
  font-size: var(--fs-1);
  letter-spacing: .34em;
  color: var(--taro-300);
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2rem, 5.2vw, var(--fs-8));
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.hero-title .line { display: block; }

/* 高亮：鼠尾草绿，和香芋紫互为补色 */
.hl {
  font-style: normal;
  color: var(--sage-400);
  position: relative;
  white-space: nowrap;
}
.hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .08em;
  height: .32em;
  background: var(--sage-500);
  opacity: .18;
  border-radius: 3px;
  z-index: -1;
}

.hero-lead {
  max-width: 34em;
  font-size: var(--fs-4);
  color: rgba(255, 255, 255, .82);
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: var(--fs-2);
  font-weight: 600;
  letter-spacing: .04em;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--sage-500); color: #10240C; }
.btn-primary:hover { background: var(--sage-400); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .34); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }

.hero-scroll {
  position: absolute;
  right: var(--margin); bottom: 34px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: .3em;
  color: rgba(255, 255, 255, .45);
  writing-mode: vertical-rl;
}

/* ---------- 6. 区块 ---------- */
.section {
  padding: 96px var(--margin);
}
.section + .section { padding-top: 0; }

.kicker {
  font-size: var(--fs-1);
  letter-spacing: .22em;
  color: var(--taro-500);
  margin-bottom: 14px;
  font-weight: 600;
}

.h2 { font-size: clamp(1.75rem, 3.4vw, var(--fs-6)); }
.h3 { font-size: clamp(1.35rem, 2.4vw, var(--fs-5)); }

.section-head { max-width: var(--maxw); margin: 0 auto 44px; padding: 0 var(--margin); }

.prose p { color: var(--ink-70); max-width: 40em; }
.prose strong { color: var(--taro-700); font-weight: 700; }

/* ---------- 7. 卡片 ---------- */
.card a { display: block; }
.card-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--taro-50);
  aspect-ratio: 4 / 3;
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.card a:hover .card-media img { transform: scale(1.05); }

.card-title { font-size: var(--fs-4); margin: 18px 0 6px; }
.card-meta { font-size: var(--fs-2); color: var(--ink-50); margin: 0; }

/* ---------- 8. 页脚 ---------- */
.site-foot {
  margin-top: 40px;
  padding: 56px var(--margin) 40px;
  background: var(--taro-900);
  color: rgba(255, 255, 255, .72);
}
.foot-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.foot-name { font-size: var(--fs-4); font-weight: 700; color: #fff; margin: 0 0 4px; }
.foot-sub { font-size: var(--fs-2); margin: 0; color: var(--taro-300); }
.foot-links { display: flex; gap: 20px; font-size: var(--fs-2); }
.foot-links a:hover { color: #fff; }
.copy {
  max-width: var(--maxw);
  margin: 32px auto 0;
  font-size: var(--fs-1);
  color: rgba(255, 255, 255, .38);
}

/* ---------- 9. 响应式断点 ---------- */
/* 平板横屏 / 小笔记本 */
@media (max-width: 1024px) {
  :root { --margin: 32px; --gutter: 20px; }
  .section { padding: 72px var(--margin); }
}

/* 平板竖屏 */
@media (max-width: 768px) {
  :root { --margin: 20px; --gutter: 16px; }

  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--margin) 16px;
    background: rgba(252, 251, 255, .98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }

  .col-4, .col-6, .col-8 { grid-column: span 12; }

  .hero { min-height: 84vh; }
  .hero-inner { padding-bottom: 7vh; }
  .hero-lead { font-size: var(--fs-3); }
  .hero-scroll { display: none; }

  .section { padding: 56px var(--margin); }
  .section + .section { padding-top: 0; }
}

/* 手机 */
@media (max-width: 480px) {
  :root { --margin: 16px; }
  .brand-text small { display: none; }
  .hero-title { letter-spacing: -.01em; }
  .btn { width: 100%; }
  .hero-actions { gap: 10px; }
}

/* 尊重"减少动态"偏好 */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 10. 内页页头 ---------- */
.page-head {
  padding: 120px 0 56px;
  background: linear-gradient(180deg, var(--taro-50), var(--paper));
  border-bottom: 1px solid var(--line);
}
.page-head-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--margin);
}
.h1 { font-size: clamp(2rem, 4.6vw, var(--fs-7)); margin-bottom: 18px; }
.page-lead { max-width: 36em; color: var(--ink-70); font-size: var(--fs-4); }

/* ---------- 11. 时间轴 ---------- */
.timeline {
  list-style: none;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--margin);
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: calc(var(--margin) + 96px);
  top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--taro-300), var(--sage-200));
}

.tl-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 40px;
  padding: 0 0 72px;
  position: relative;
}
.tl-year {
  position: relative;
  text-align: right;
  padding-right: 26px;
}
.tl-year span {
  display: inline-block;
  font-size: var(--fs-2);
  font-weight: 700;
  color: var(--taro-600);
  background: var(--paper);
  padding: 2px 0;
  position: relative;
  z-index: 1;
}
.tl-year::after {
  content: "";
  position: absolute;
  right: -7px; top: 12px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--sage-500);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--sage-200);
}
.tl-body { max-width: 46em; }
.tl-title { font-size: var(--fs-4); margin-bottom: 10px; }
.tl-desc { color: var(--ink-70); margin-bottom: 20px; }
.tl-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.tl-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: var(--taro-50);
}

/* ---------- 12. 头像 / 社交 ---------- */
.avatar-wrap {
  border-radius: 50%;
  overflow: hidden;
  width: min(240px, 60vw);
  aspect-ratio: 1;
  background: var(--taro-100);
  box-shadow: var(--shadow);
}
.avatar { width: 100%; height: 100%; object-fit: cover; }

.social { list-style: none; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.social a {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-2);
  transition: border-color .2s, background .2s, transform .2s;
}
.social a:hover {
  border-color: var(--taro-300);
  background: var(--taro-50);
  transform: translateY(-2px);
}
.note { font-size: var(--fs-2); color: var(--ink-50); }

/* 移动端时间轴 */
@media (max-width: 768px) {
  .page-head { padding: 88px 0 40px; }
  .timeline::before { left: 7px; }
  .tl-item { grid-template-columns: 1fr; gap: 14px; padding-left: 32px; }
  .tl-year { text-align: left; padding-right: 0; }
  .tl-year::after { left: -32px; right: auto; }
}

/* ============================================================
   13. 编辑式 HERO（首页版头）
   ============================================================ */
.hero2 {
  position: relative;
  min-height: 94vh;
  padding: 84px 0 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(183, 166, 224, .55), transparent 55%),
    linear-gradient(165deg, var(--taro-900) 0%, var(--taro-800) 46%, var(--taro-700) 74%, var(--taro-900) 100%);
  color: #fff;
  isolation: isolate;
}

/* 可见的 12 栏栅格线 */
.grid-rules {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  padding: 0 var(--margin);
  pointer-events: none;
  z-index: 0;
}
.grid-rules i {
  display: block;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02));
  border-left: 1px solid rgba(255,255,255,.07);
  border-right: 1px solid rgba(255,255,255,.07);
}

.hero-side {
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: .34em;
  color: rgba(255,255,255,.35);
  z-index: 2;
}

.hero2-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--margin);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: center;
  min-height: 74vh;
}

.hero2-text { grid-column: 1 / span 7; }

.meta-line {
  display: flex; gap: 18px;
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--taro-300);
  margin-bottom: 30px;
}
.meta-line span:first-child {
  color: var(--sage-400);
  font-weight: 700;
}

.display {
  font-size: clamp(3rem, 9vw, 8.4rem);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.045em;
  margin: 0 0 34px;
}
.d-line { display: block; }
.d-hl {
  color: var(--sage-400);
  -webkit-text-stroke: 0;
}
.d-hl2 {
  color: transparent;
  -webkit-text-stroke: 2px var(--sage-400);
}
.d-dot { color: var(--taro-300); }

.hero2-lead {
  font-size: var(--fs-4);
  line-height: 1.8;
  color: rgba(255,255,255,.74);
  margin-bottom: 34px;
}

.hero2-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.hero2-actions em { font-style: normal; margin-left: 6px; }

.hero2-specs {
  display: flex; gap: 34px;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero2-specs dt {
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--taro-300);
  margin-bottom: 4px;
}
.hero2-specs dd { margin: 0; font-size: var(--fs-2); color: rgba(255,255,255,.86); }

/* 人像：拱形裁切 + 单色处理 */
.hero2-figure {
  grid-column: 9 / span 4;
  margin: 0;
  position: relative;
}
.hero2-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 260px 260px 18px 18px;
  filter: grayscale(.35) contrast(1.05) brightness(.96);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.hero2-figure::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 260px 260px 18px 18px;
  background: linear-gradient(180deg, transparent 46%, rgba(58,46,88,.72) 100%);
  mix-blend-mode: multiply;
}
.hero2-figure figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--taro-300);
}

/* 跑马字 */
.marquee {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
  overflow: hidden;
  padding: 12px 0;
}
.marquee-track {
  display: flex;
  gap: 26px;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: .34em;
  color: rgba(255,255,255,.55);
  animation: marquee 26s linear infinite;
}
.marquee-track b { color: var(--sage-500); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   14. 排版知识区块
   ============================================================ */
.knowledge .section-sub {
  max-width: 40em;
  color: var(--ink-70);
  margin-top: 12px;
}
.knowledge.alt { background: var(--taro-50); }

/* 栅格演示 */
.grid-demo {
  max-width: var(--maxw);
  margin: 0 auto 44px;
  padding: 0 var(--margin);
}
.gd-cols {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
.gd-cols i {
  display: grid;
  place-items: center;
  height: 108px;
  background: linear-gradient(180deg, rgba(183,166,224,.34), rgba(183,166,224,.12));
  border: 1px dashed var(--taro-300);
  border-radius: 6px;
  font-size: 11px;
  font-style: normal;
  color: var(--taro-600);
}
.gd-annot {
  position: relative;
  height: 42px;
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--ink-50);
}
.gd-label { position: absolute; }
.gd-margin { left: 0; }
.gd-gutter { left: 34%; color: var(--sage-600); }
.gd-col { right: 0; }

.know-body { margin-top: 10px; }
.know-num {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--taro-300);
  margin: 0;
}
.know-cap { font-size: 11px; letter-spacing: .24em; color: var(--ink-50); }

/* 基线演示 */
.baseline-demo {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 34px var(--margin);
  border-radius: var(--radius);
  overflow: hidden;
}
.bl-lines {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0 27px,
    rgba(143, 191, 127, .38) 27px 28px
  );
  pointer-events: none;
}
.bl-text { position: relative; }
.bl-text h3 { font-size: var(--fs-5); margin-bottom: 1em; line-height: 28px; }
.bl-text p { line-height: 28px; margin: 0 0 28px; color: var(--ink-70); }
.bl-text p:last-child { margin-bottom: 0; }

/* 字级比例 */
.scale-list {
  list-style: none;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--margin);
}
.scale-list li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.scale-list span {
  font-size: var(--s);
  font-weight: 800;
  color: var(--taro-600);
  min-width: 3.2em;
  line-height: 1;
}
.scale-list em {
  font-style: normal;
  font-size: var(--fs-2);
  color: var(--ink-50);
  letter-spacing: .08em;
}

/* ============================================================
   15. HERO 响应式
   ============================================================ */
@media (max-width: 1024px) {
  .hero2-text { grid-column: 1 / span 8; }
  .hero2-figure { grid-column: 9 / span 4; }
}

@media (max-width: 768px) {
  .hero2 { min-height: auto; padding-top: 64px; }
  .grid-rules, .hero-side { display: none; }
  .hero2-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding-bottom: 8px;
  }
  .hero2-text, .hero2-figure { grid-column: 1; }
  .display { font-size: clamp(2.6rem, 13vw, 4rem); line-height: .96; }
  .hero2-lead { font-size: var(--fs-3); }
  .hero2-specs { gap: 20px; flex-wrap: wrap; }
  .hero2-figure img { aspect-ratio: 16 / 12; border-radius: 18px; }
  .hero2-figure { order: -1; }
  .gd-cols i { height: 56px; font-size: 9px; }
  .gd-annot { font-size: 9px; }
  .scale-list li { gap: 12px; }
}

/* ---------- HERO 修正 ---------- */
.grid-rules i {
  background: none !important;
  border-left: none !important;
  border-right: 1px solid rgba(255,255,255,.07) !important;
}
.hero2 { min-height: 88vh; padding-bottom: 0; }
.hero2-inner { min-height: auto; padding-top: 24px; padding-bottom: 48px; }
.display {
  font-size: clamp(2.6rem, 6.6vw, 6rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  margin-bottom: 28px;
}
.meta-line { margin-bottom: 22px; }
.hero2-lead { font-size: var(--fs-3); line-height: 1.9; margin-bottom: 28px; }
.hero2-actions { margin-bottom: 32px; }
.hero2-figure img { aspect-ratio: 4 / 5; border-radius: 220px 220px 16px 16px; }

/* ---------- HERO 高度与垂直分布 ---------- */
.hero2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 760px;
  max-height: 96vh;
  padding-top: 72px;
}
.hero2-inner {
  flex: 1 1 auto;
  display: grid;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 28px;
}
.marquee { margin-top: 0; }
.d-dot { color: var(--sage-400); }

/* ---------- 移动端修正 ---------- */
.nav-toggle { display: none; background: #fff; }
@media (max-width: 768px) {
  .nav-toggle { display: block !important; flex: 0 0 auto; }
  .hero2 { padding-top: 56px; min-height: auto; max-height: none; }
  .hero2-figure { width: 100%; overflow: hidden; }
  .hero2-figure img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 180px 180px 14px 14px;
    object-position: center 22%;
  }
  .hero2-inner { padding-left: var(--margin); padding-right: var(--margin); }
  .site-head { padding: 12px var(--margin); }
}

/* ---------- 溢出与导航修正 ---------- */
html, body { overflow-x: hidden; max-width: 100%; }
.hero2-figure { width: 100%; max-width: 100%; }
.hero2-figure img { max-width: 100%; }
@media (max-width: 768px) {
  .hero2-inner { grid-template-columns: 1fr !important; }
  .site-head { display: flex; align-items: center; }
  .nav-toggle {
    display: block !important;
    position: relative;
    z-index: 60;
    background: #fff;
    border: 1px solid var(--line);
  }
  .site-nav { display: none; }
  .site-nav.is-open { display: flex; }
}


/* ---------- 移动端最终修正（块级布局，彻底避免栅格溢出） ---------- */
@media (max-width: 768px) {
  .hero2 { overflow: hidden; }
  .hero2-inner {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
    padding-left: var(--margin);
    padding-right: var(--margin);
  }
  .hero2-text, .hero2-figure {
    width: 100% !important;
    max-width: 100% !important;
    grid-column: auto !important;
  }
  .hero2-figure { margin: 0 0 26px; }
  .hero2-figure img { width: 100% !important; height: auto; }
  .site-head { position: relative; }
  .nav-toggle {
    position: absolute !important;
    right: var(--margin);
    top: 50%;
    transform: translateY(-50%);
  }
  .display { font-size: clamp(2.4rem, 12vw, 3.6rem); }
}

/* ---------- 汉堡按钮增强可见性 ---------- */
.nav-toggle {
  width: 44px;
  height: 44px;
  padding: 11px 10px;
  background: var(--taro-700) !important;
  border: none !important;
  border-radius: 11px;
  box-shadow: 0 6px 16px rgba(42,33,64,.25);
  cursor: pointer;
}
.nav-toggle span { background: #fff !important; height: 2px; margin: 3.5px 0; }
@media (min-width: 769px) { .nav-toggle { display: none !important; } }

/* ---------- 汉堡按钮：顶层可见，桌面隐藏 ---------- */
.nav-toggle {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0 10px;
  background: var(--taro-700) !important;
  border: none !important;
  border-radius: 11px;
}
.nav-toggle span { display: block !important; background: #fff !important; height: 2px; margin: 3.5px 0; }
@media (min-width: 769px) { .site-head .nav-toggle { display: none !important; } }

/* ---------- 关键修复：跑马字撑宽文档导致右侧元素跑出屏幕 ---------- */
html, body { width: 100%; max-width: 100%; }
.hero2 { width: 100%; max-width: 100vw; overflow: hidden; }
.marquee { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; }
.marquee-track { min-width: 0; }
.site-head { width: 100%; max-width: 100vw; box-sizing: border-box; }

/* ---------- 移动端导航：改为常显横排（放弃汉堡） ---------- */
@media (max-width: 768px) {
  .nav-toggle { display: none !important; }
  .site-head {
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 10px;
  }
  .site-nav {
    display: flex !important;
    position: static !important;
    width: 100%;
    gap: 18px;
    padding: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    order: 3;
  }
  .site-nav a {
    font-size: 13px;
    padding: 4px 0 !important;
    border-bottom: none !important;
  }
}

@media (max-width: 768px) {
  .site-nav { flex-direction: row !important; align-items: center; justify-content: flex-start; gap: 22px; }
  .site-head { padding-top: 10px; }
}

/* ============================================================
   16. 多身份版首页（hero3 / stats / matrix / mosaic / cta）
   ============================================================ */
.hero3 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 86vh;
  padding-top: 76px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(110% 80% at 85% 0%, rgba(183,166,224,.5), transparent 58%),
    linear-gradient(160deg, #241C38 0%, #3A2E58 42%, #4C3D73 72%, #2A2140 100%);
}
.hero3-inner {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto; width: 100%;
  padding: 10px var(--margin) 30px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: center;
  flex: 1 1 auto;
}
.hero3-text { grid-column: 1 / span 7; }

.display3 {
  font-size: clamp(2.8rem, 7.4vw, 6.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0 0 26px;
}
.d3-line { display: block; }
.d3-hl {
  color: transparent;
  -webkit-text-stroke: 2px var(--sage-400);
}

.hero3-lead {
  font-size: var(--fs-3);
  line-height: 1.9;
  color: rgba(255,255,255,.76);
  margin-bottom: 24px;
  max-width: 34em;
}

.role-chips {
  list-style: none; padding: 0; margin: 0 0 30px;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.role-chips li {
  padding: 7px 15px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.82);
  transition: background .2s, border-color .2s, transform .2s;
}
.role-chips li:hover {
  background: rgba(143,191,127,.16);
  border-color: var(--sage-500);
  transform: translateY(-2px);
}
.hero3-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero3-figure { grid-column: 9 / span 4; margin: 0; position: relative; }
.hero3-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 240px 240px 16px 16px;
  filter: grayscale(.4) contrast(1.06) brightness(.95);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.hero3-figure::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 240px 240px 16px 16px;
  background: linear-gradient(180deg, transparent 45%, rgba(42,33,64,.78) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero3-figure figcaption {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between;
  margin-top: 10px;
  font-size: 10px; letter-spacing: .18em;
  color: var(--taro-300);
}

/* ---------- 身份矩阵 ---------- */
.matrix {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--margin);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
.mx-card {
  grid-column: span 4;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.mx-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(42,33,64,.12);
  border-color: var(--taro-300);
}
.mx-lg { grid-column: span 6; }
.mx-idx {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--taro-500);
  margin-bottom: 14px;
}
.mx-title { font-size: var(--fs-4); margin-bottom: 10px; }
.mx-desc { font-size: var(--fs-2); color: var(--ink-70); margin-bottom: 16px; }
.mx-tags {
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--ink-50);
  margin: 0;
}

/* ---------- 非对称作品网格 ---------- */
.alt-bg { background: var(--taro-50); }
.mosaic {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--margin);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: var(--gutter);
}
.mo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--taro-100);
}
.mo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .4s;
}
.mo:hover img { transform: scale(1.06); filter: brightness(1.04); }
.mo-1 { grid-column: span 6; grid-row: span 2; }
.mo-2 { grid-column: span 3; grid-row: span 1; }
.mo-3 { grid-column: span 3; grid-row: span 2; }
.mo-4 { grid-column: span 3; grid-row: span 1; }
.mo-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(26,22,34,.82));
  color: #fff;
  display: flex; flex-direction: column; gap: 3px;
}
.mo-cap b { font-size: var(--fs-4); font-weight: 700; }
.mo-cap i { font-style: normal; font-size: 11px; letter-spacing: .16em; color: rgba(255,255,255,.7); }

.know-small { font-size: var(--fs-2); color: var(--ink-50); margin-top: 10px; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(150deg, #2A2140, #4C3D73 70%, #2A2140);
  color: #fff;
  padding: 96px var(--margin);
}
.cta-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--margin); }
.kicker.light { color: var(--sage-400); }
.cta-title {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 14px 0 34px;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero3-text { grid-column: 1 / span 8; }
  .hero3-figure { grid-column: 9 / span 4; }
}

@media (max-width: 768px) {
  .hero3 { min-height: auto; padding-top: 24px; }
  .hero3-inner { display: block !important; padding-bottom: 20px; }
  .hero3-figure { width: 100%; margin-bottom: 24px; }
  .hero3-figure img { aspect-ratio: 1 / 1; object-position: center 20%; }
  .display3 { font-size: clamp(2.3rem, 12vw, 3.8rem); }
  .grid-rules, .hero-side { display: none; }
  .mx-card, .mx-lg { grid-column: span 12; }
  .mosaic { grid-auto-rows: 160px; }
  .mo-1 { grid-column: span 12; grid-row: span 2; }
  .mo-2, .mo-3, .mo-4 { grid-column: span 6; grid-row: span 1; }
  .cta { padding: 64px 0; }
}

/* ============================================================
   17. 多页面版：hero4 / page-hero / 列表组件
   ============================================================ */
.hero4 {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--taro-900);
}
.hero4-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 22%;
  filter: grayscale(1) contrast(1.1) brightness(.85);
  transform: scale(1.06);
  animation: heroZoom 22s var(--ease) forwards;
}
.hero4-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,16,28,.86) 0%, rgba(42,33,64,.7) 34%, rgba(76,61,115,.85) 70%, #241C38 100%),
    radial-gradient(90% 60% at 20% 20%, rgba(183,166,224,.22), transparent 62%);
}
.hero4-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--margin);
}
.display4 {
  font-size: clamp(2.8rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.035em;
  margin: 0 0 28px;
}
.d4-line { display: block; }
.d4-out {
  color: transparent;
  -webkit-text-stroke: 2px var(--sage-400);
}
.hero4-lead {
  font-size: var(--fs-4);
  line-height: 1.85;
  color: rgba(255,255,255,.78);
  margin-bottom: 28px;
  max-width: 36em;
}
.hero4-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero4-meta {
  position: absolute;
  right: var(--margin); bottom: 28px;
  z-index: 2;
  display: flex; gap: 18px;
  font-size: 10px; letter-spacing: .22em;
  color: rgba(255,255,255,.4);
}

/* 内页页头 */
.page-hero {
  padding: 132px 0 60px;
  background: linear-gradient(180deg, var(--taro-50), var(--paper));
  border-bottom: 1px solid var(--line);
}
.page-hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--margin); }
.page-lead { max-width: 34em; color: var(--ink-70); font-size: var(--fs-4); margin-top: 14px; }

/* 作品索引列表 */
.work-list { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--margin); }
.wl-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease), background .3s;
}
.wl-item:hover { padding-left: 14px; background: var(--taro-50); }
.wl-idx { font-size: 11px; letter-spacing: .2em; color: var(--taro-500); }
.wl-title { font-size: clamp(1.25rem, 2.4vw, 1.75rem); margin-bottom: 6px; }
.wl-desc { margin: 0; font-size: var(--fs-2); color: var(--ink-70); max-width: 46em; }
.wl-more { font-size: var(--fs-2); color: var(--ink-50); white-space: nowrap; }

/* 双栏图 */
.gallery-2 {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--margin);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter);
}
.g-item { margin: 0; }
.g-item img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); background: var(--taro-50);
}
.g-item figcaption {
  display: flex; gap: 10px; align-items: baseline;
  margin-top: 10px; font-size: 12px; color: var(--ink-50);
}
.g-item figcaption b { color: var(--taro-600); letter-spacing: .1em; }

/* 曲目表 */
.track-list { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--margin); }
.track {
  display: grid; grid-template-columns: 56px 1fr auto;
  gap: 20px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.track-no { font-size: 12px; letter-spacing: .2em; color: var(--taro-500); }
.track-main b { display: block; font-size: var(--fs-4); }
.track-main i { font-style: normal; font-size: 12px; color: var(--ink-50); }
.track-tag {
  font-size: 11px; letter-spacing: .14em; color: var(--ink-50);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
}

/* 步骤 */
.steps {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--margin);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter);
}
.step { border-top: 2px solid var(--taro-500); padding-top: 16px; }
.step span { font-size: 11px; letter-spacing: .2em; color: var(--taro-500); }
.step b { display: block; margin: 8px 0 6px; font-size: var(--fs-3); }
.step p { margin: 0; font-size: var(--fs-2); color: var(--ink-70); }

/* 书 */
.book {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--margin);
  display: grid; grid-template-columns: 260px 1fr; gap: 40px;
  align-items: start;
}
.book-cover img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.book-title { font-size: var(--fs-5); margin-bottom: 8px; }
.book-meta { font-size: var(--fs-2); color: var(--ink-50); margin-bottom: 16px; }
.book-desc { color: var(--ink-70); max-width: 34em; }

/* 平台 / 文章 */
.platform-list { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--margin); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.pf {
  display: flex; flex-direction: column; gap: 6px;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s, transform .25s, background .25s;
}
.pf:hover { border-color: var(--taro-300); background: var(--taro-50); transform: translateY(-3px); }
.pf b { font-size: var(--fs-4); }
.pf span { font-size: 12px; color: var(--ink-50); }

.article-list { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--margin); }
.art {
  display: grid; grid-template-columns: 56px 1fr; gap: 8px 20px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.art-idx { grid-row: span 2; font-size: 12px; letter-spacing: .2em; color: var(--taro-500); }
.art b { font-size: var(--fs-4); }
.art i { font-style: normal; font-size: var(--fs-2); color: var(--ink-50); }

.wide-fig { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--margin); }
.wide-fig img { width: 100%; border-radius: var(--radius); }
.wide-fig figcaption { display: flex; gap: 10px; margin-top: 10px; font-size: 12px; color: var(--ink-50); }
.wide-fig figcaption b { color: var(--taro-600); letter-spacing: .1em; }

.now-list { list-style: none; padding: 0; margin: 0; }
.now-list li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.now-list b { font-size: var(--fs-2); color: var(--taro-600); letter-spacing: .1em; }
.now-list span { font-size: var(--fs-2); color: var(--ink-70); }

.todo { color: var(--taro-500); font-style: normal; }
.todo-link { opacity: .7; }

@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .platform-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero4 { min-height: 88vh; }
  .hero4-bg { background-position: center 18%; }
  .display4 { font-size: clamp(2.4rem, 13vw, 3.8rem); }
  .hero4-lead { font-size: var(--fs-3); }
  .hero4-meta { display: none; }
  .page-hero { padding: 96px 0 40px; }
  .wl-item { grid-template-columns: 44px 1fr; gap: 12px; padding: 22px 0; }
  .wl-more { grid-column: 2; font-size: 12px; }
  .gallery-2 { grid-template-columns: 1fr; }
  .steps, .platform-list { grid-template-columns: 1fr; }
  .book { grid-template-columns: 1fr; gap: 20px; }
  .book-cover { max-width: 220px; }
}

/* ---------- 二维码 ---------- */
.qr-row { display: flex; gap: 20px; flex-wrap: wrap; margin: 8px 0 4px; }
.qr { margin: 0; text-align: center; }
.qr img {
  width: 132px; height: 132px;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  border: 1px solid var(--line);
}
.qr figcaption { font-size: 12px; color: var(--ink-50); margin-top: 8px; letter-spacing: .08em; }

/* 二维码网格 */
.qr-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px; margin: 10px 0 6px; }
.qr img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #fff; }

/* 顶部品牌：用小头像替代「戊」字方块 */
.brand-mark {
  width: 38px; height: 38px;
  padding: 0;
  overflow: hidden;
  border-radius: 50%;
  background: var(--taro-100);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(42,33,64,.18);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-text { font-size: 15px; letter-spacing: .06em; }

.qr-text .qr-card {
  aspect-ratio: 1/1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
.qr-text .qr-card b { font-size: 14px; color: var(--taro-700); }
.qr-text .qr-card span { font-size: 12px; color: var(--ink-50); letter-spacing: .04em; }

/* 空状态 */
.empty-state {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--margin);
}
.empty-inner {
  border: 1px dashed var(--taro-300);
  border-radius: var(--radius);
  padding: 64px 24px;
  text-align: center;
  background: linear-gradient(180deg, var(--taro-50), #fff);
}
.empty-mark { font-size: 30px; color: var(--taro-300); margin: 0 0 10px; }
.empty-title { font-size: var(--fs-5); margin-bottom: 10px; }
.empty-desc { color: var(--ink-70); max-width: 30em; margin: 0 auto 14px; }
.empty-meta { font-size: 11px; letter-spacing: .22em; color: var(--ink-50); margin: 0; }

/* 五个方向：三列栅格 */
.matrix { grid-template-columns: repeat(3, 1fr); }
.mx-third { grid-column: span 1; }
@media (max-width: 1024px) { .matrix { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .matrix { grid-template-columns: 1fr; } }

/* 四方向：两列 */
.matrix { grid-template-columns: repeat(2, 1fr); }
.mx-half { grid-column: span 1; }
@media (max-width: 768px) { .matrix { grid-template-columns: 1fr; } }

/* ============================================================
   18. 质感提升：更克制的对比、更细的线、更慢的动效
   ============================================================ */
:root {
  --line: #E7E2F1;
}
body { letter-spacing: .005em; }

/* 导航更轻 */
.site-head {
  padding: 16px var(--margin);
  background: rgba(252, 251, 255, .72);
  border-bottom: 1px solid rgba(228, 223, 239, .8);
}
.site-nav a { letter-spacing: .04em; }

/* 首屏标题更紧致 */
.display4 { letter-spacing: -.045em; line-height: .96; }
.hero4-lead { max-width: 30em; color: rgba(255,255,255,.72); }

/* 卡片：去掉重阴影，用细线与轻微位移 */
.mx-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 26px 26px;
  background: #fff;
  box-shadow: none;
  transition: transform .45s cubic-bezier(.22,.61,.36,1), border-color .3s, background .3s;
}
.mx-card:hover {
  transform: translateY(-3px);
  border-color: var(--taro-300);
  background: linear-gradient(180deg, #fff, var(--taro-50));
  box-shadow: none;
}
.mx-idx { color: var(--taro-400, #A99BD8); letter-spacing: .24em; }
.mx-title { font-size: 1.35rem; }
.mx-desc { color: #5B5568; line-height: 1.75; }

/* 区块留白更松 */
.section { padding: 110px var(--margin); }
.section-head { margin-bottom: 56px; }
.kicker { letter-spacing: .26em; }

/* 精选图：更轻的圆角与更慢的缩放 */
.mo { border-radius: 14px; }
.mo img { transition: transform .9s cubic-bezier(.22,.61,.36,1); }

/* 页脚更矮更静 */
.site-foot { padding: 64px var(--margin) 44px; }
.copy { opacity: .75; }

@media (max-width: 768px) {
  .section { padding: 68px var(--margin); }
  .mx-card { padding: 24px 20px 20px; }
}

/* ============================================================
   19. 照片墙：12 栏密集混排
   ============================================================ */
.ph-section { padding-top: 40px; }
.ph-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--margin);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 90px;
  gap: 14px;
}
.ph {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--taro-50);
}
.ph img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.22,.61,.36,1), filter .5s;
  filter: saturate(.96);
}
.ph:hover img { transform: scale(1.04); filter: saturate(1.05) contrast(1.02); }

/* 竖图：占 3 列 4 行 */
.ph-v { grid-column: span 3; grid-row: span 4; }
/* 偶发更长的竖图 */
.ph-v.ph-tall { grid-row: span 6; }
/* 横图：占 6 列 3 行 */
.ph-h { grid-column: span 6; grid-row: span 3; }
.ph-h.ph-wide { grid-row: span 4; }

/* 第一张做开场大图 */
.ph:first-child { grid-column: span 6; grid-row: span 6; }

.ph figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 26px 14px 10px;
  font-size: 10px; letter-spacing: .2em;
  color: rgba(255,255,255,.86);
  background: linear-gradient(180deg, transparent, rgba(20,16,28,.72));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s, transform .4s;
}
.ph:hover figcaption { opacity: 1; transform: none; }
.ph figcaption span { color: var(--sage-400); font-weight: 700; }
.ph figcaption i { font-style: normal; opacity: .7; }

/* 平板：6 栏 */
@media (max-width: 1024px) {
  .ph-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 80px; }
  .ph-v { grid-column: span 2; grid-row: span 4; }
  .ph-h { grid-column: span 4; grid-row: span 3; }
  .ph:first-child { grid-column: span 6; grid-row: span 4; }
}

/* 手机：4 栏 */
@media (max-width: 768px) {
  .ph-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 64px; gap: 8px; }
  .ph-v { grid-column: span 2; grid-row: span 3; }
  .ph-v.ph-tall { grid-row: span 4; }
  .ph-h { grid-column: span 4; grid-row: span 2; }
  .ph:first-child { grid-column: span 4; grid-row: span 4; }
  .ph figcaption { opacity: 1; transform: none; padding: 18px 8px 6px; font-size: 9px; }
}

/* ============================================================
   20. 首屏：左文右图（竖版照片，不再裁脸）
   ============================================================ */
.hero4-bg {
  background:
    radial-gradient(110% 80% at 78% 12%, rgba(183,166,224,.45), transparent 58%),
    linear-gradient(160deg, #241C38 0%, #3A2E58 44%, #4C3D73 74%, #2A2140 100%);
  filter: none;
  animation: none;
}
.hero4-inner {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: center;
}
.hero4-photo {
  position: relative;
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 420px;
}
.hero4-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  filter: saturate(.92) contrast(1.03);
}
.hero4-photo::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, transparent 60%, rgba(36,28,56,.5) 100%);
  pointer-events: none;
}
.hero4-photo figcaption {
  position: relative;
  display: flex; justify-content: space-between;
  margin-top: 10px;
  font-size: 10px; letter-spacing: .18em;
  color: rgba(255,255,255,.45);
}
.hero4-photo figcaption span { color: var(--sage-400); }

@media (max-width: 1024px) {
  .hero4-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero4-photo { justify-self: start; max-width: 320px; }
}
@media (max-width: 768px) {
  .hero4-photo { max-width: 100%; }
  .hero4-photo img { aspect-ratio: 4 / 3; object-position: center 45%; }
}

/* ============================================================
   21. 新版首页：黑白竖图满屏 + 香芋紫渐变 + 软紫/深绿文字 + 无序线条
   ============================================================ */
:root {
  --soft: #C9BEE8;
  --soft-2: #D9D0F0;
  --green-deep: #7E9F6E;
  --green-soft: #9CB98C;
  --ink-x: #1A1526;
}

body.page-x { background: #141020; color: var(--soft-2); }

/* 首屏 */
.heroX {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: #141020;
}
.heroX-media { position: absolute; inset: 0; z-index: 0; }
.heroX-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(1) contrast(1.06) brightness(.92);
  transform: scale(1.02);
}
/* 渐变：上部保留原图，越往下越紫 */
.heroX-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(20,16,32,0) 0%,
      rgba(32,25,52,.10) 22%,
      rgba(58,46,88,.55) 48%,
      rgba(90,74,140,.86) 68%,
      rgba(108,92,160,.96) 84%,
      #6B5A9E 100%);
}
/* 无序线条花纹 */
.heroX-noise {
  position: absolute; inset: 0; z-index: 2;
  background-size: cover;
  background-position: center;
  opacity: .55;
  mix-blend-mode: screen;
  pointer-events: none;
}

.heroX-inner {
  position: relative; z-index: 3;
  width: 100%; max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--margin) 12vh;
}
.heroX-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: .28em;
  color: var(--green-soft);
  margin-bottom: 26px;
}
.heroX-title {
  font-size: clamp(3rem, 9vw, 7.4rem);
  line-height: .98;
  letter-spacing: -.03em;
  font-weight: 800;
  margin: 0 0 26px;
  color: #F2EEFB;
}
.heroX-title span { display: block; }
.hx-out { color: transparent; -webkit-text-stroke: 2px var(--green-deep); }
.heroX-lead {
  font-size: 1.0625rem; line-height: 1.9;
  color: var(--soft);
  max-width: 34em;
  margin-bottom: 30px;
}
.heroX-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btnX {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--green-deep);
  color: #0F1B0C;
  font-size: 14px; font-weight: 600;
  letter-spacing: .04em;
  transition: transform .3s, background .3s;
}
.btnX:hover { background: var(--green-soft); transform: translateY(-2px); }
.btnX-ghost {
  background: transparent;
  border: 1px solid rgba(201,190,232,.4);
  color: var(--soft);
}
.btnX-ghost:hover { background: rgba(201,190,232,.1); }
.heroX-foot {
  position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3;
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--margin);
  display: flex; justify-content: space-between;
  font-size: 10px; letter-spacing: .22em; color: rgba(217,208,240,.5);
}

/* 区块 */
.secX { padding: 120px 0; max-width: var(--maxw); margin: 0 auto; padding-left: var(--margin); padding-right: var(--margin); }
.secX-head { margin-bottom: 46px; }
.kx { font-size: 11px; letter-spacing: .28em; color: var(--green-soft); margin-bottom: 12px; }
.kx-green { color: var(--green-deep); }
.hx { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: #EFEBF9; letter-spacing: -.01em; }
.leadX { color: rgba(201,190,232,.72); margin-top: 10px; }
.lnk { color: var(--green-soft); text-decoration: none; border-bottom: 1px solid rgba(156,185,140,.4); }

/* 四个方向 */
.dirX { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dir {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px 22px 24px;
  border: 1px solid rgba(201,190,232,.16);
  border-radius: 12px;
  background: linear-gradient(170deg, rgba(201,190,232,.06), rgba(20,16,32,.2));
  transition: transform .45s cubic-bezier(.22,.61,.36,1), border-color .3s, background .3s;
  overflow: hidden;
}
.dir::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(126,159,110,.22), transparent 70%);
  transition: transform .6s;
}
.dir:hover { transform: translateY(-5px); border-color: rgba(156,185,140,.5); }
.dir:hover::after { transform: scale(1.6); }
.dir-no { font-size: 11px; letter-spacing: .24em; color: var(--green-soft); }
.dir h3 { font-size: 1.3rem; color: #F0ECFA; margin: 0; }
.dir p { margin: 0; font-size: 13.5px; line-height: 1.75; color: rgba(201,190,232,.72); }
.dir-tag { margin-top: auto; font-size: 10px; letter-spacing: .2em; color: rgba(156,185,140,.75); }

/* 照片条 */
.stripX {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.stripX a { display: block; overflow: hidden; border-radius: 4px; }
.stripX img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  filter: grayscale(.2) brightness(.92);
  transition: filter .5s, transform .8s cubic-bezier(.22,.61,.36,1);
}
.stripX a:hover img { filter: none; transform: scale(1.05); }

/* CTA */
.ctaX {
  padding: 120px 0;
  background: linear-gradient(160deg, #1D1730, #4C3D73 65%, #2A2140);
  position: relative;
  overflow: hidden;
}
.ctaX::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("assets/pattern.svg");
  background-size: cover; opacity: .3; mix-blend-mode: screen;
}
.ctaX-inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--margin); }
.ctaX-title {
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  line-height: 1.15; letter-spacing: -.02em;
  color: #F2EEFB; margin: 14px 0 32px;
}
.ctaX-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 页脚 */
.site-foot { background: #100D18; }

/* 响应式 */
@media (max-width: 1024px) {
  .dirX { grid-template-columns: repeat(2, 1fr); }
  .stripX { grid-template-columns: repeat(3, 1fr); }
  .secX { padding: 88px var(--margin); }
}
@media (max-width: 768px) {
  .heroX { min-height: 92vh; }
  .heroX-media img { object-position: center 12%; }
  .heroX-inner { padding-bottom: 16vh; }
  .heroX-title { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .heroX-lead { font-size: 15px; }
  .dirX { grid-template-columns: 1fr; }
  .stripX { grid-template-columns: repeat(2, 1fr); }
  .secX { padding: 64px var(--margin); }
  .ctaX { padding: 72px 0; }
}

/* 深色页面上导航 */
.head-x {
  background: rgba(16, 13, 24, .55);
  border-bottom: 1px solid rgba(201,190,232,.10);
  backdrop-filter: blur(14px) saturate(1.2);
}
.head-x .brand-text { color: #EFEBF9; }
.head-x .brand-text small { color: rgba(201,190,232,.55); }
.head-x .site-nav a { color: rgba(217,208,240,.72); }
.head-x .site-nav a:hover, .head-x .site-nav a.is-active { color: #fff; }
.head-x .site-nav a::after { background: var(--green-deep); }
.head-x .nav-toggle { background: #241C38 !important; }

/* ============================================================
   22. 单页长站：完整竖图首屏 + 叠加框 + 锚点引导
   ============================================================ */
.heroFull {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0E0B16;
  isolation: isolate;
}
/* 背景：同一张图放大模糊，填满两侧 */
.hf-backdrop {
  position: absolute; inset: -40px;
  background-size: cover;
  background-position: center;
  filter: blur(38px) brightness(.45) saturate(.8);
  transform: scale(1.12);
  z-index: 0;
}
/* 完整照片：contain，不裁切 */
.hf-photo {
  position: relative;
  z-index: 1;
  width: min(46vw, 620px);
  max-height: 92vh;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 40px 120px rgba(0,0,0,.65);
  filter: grayscale(1) contrast(1.05);
}
/* 渐变：底部融入香芋紫 */
.hf-veil {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14,11,22,.55) 0%, rgba(14,11,22,.18) 26%, rgba(76,61,115,.30) 62%, rgba(107,90,158,.92) 92%, #6B5A9E 100%);
}
/* 无序线条 */
.hf-pattern {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background-size: cover;
  background-position: center;
  opacity: .85;
  mix-blend-mode: screen;
}

/* 叠加框 */
.hf-box {
  position: absolute; z-index: 4;
  border: 1px solid rgba(201,190,232,.28);
  background: rgba(20,16,32,.42);
  backdrop-filter: blur(10px) saturate(1.1);
  border-radius: 10px;
  padding: 16px 20px;
}
.hf-box-top { top: 96px; left: max(24px, calc(50% - 620px)); }
.hf-meta { margin: 0; font-size: 10.5px; letter-spacing: .26em; color: var(--green-soft); }
.hf-meta i { font-style: normal; color: rgba(201,190,232,.55); margin-left: 10px; }

.hf-box-main {
  left: max(24px, calc(50% - 620px));
  bottom: 14vh;
  max-width: 520px;
  padding: 28px 26px 24px;
  background: rgba(20,16,32,.5);
}
.hf-title {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0 0 16px;
  color: #F2EEFB;
}
.hf-title span { display: block; }
.hf-out { color: transparent; -webkit-text-stroke: 2px var(--green-deep); }
.hf-lead { margin: 0 0 20px; font-size: 15px; line-height: 1.85; color: var(--soft); }
.hf-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hf-box-bottom {
  right: max(24px, calc(50% - 620px));
  bottom: 40px;
  display: flex; gap: 26px;
  font-size: 10px; letter-spacing: .22em;
  color: rgba(217,208,240,.6);
  background: transparent; border: none; padding: 0;
}

/* 锚点引导 */
.navX {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(201,190,232,.12);
  border-top: 1px solid rgba(201,190,232,.12);
}
.navX a {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px 20px;
  background: #141020;
  transition: background .3s;
}
.navX a:hover { background: #1D1730; }
.navX b { font-size: 11px; letter-spacing: .24em; color: var(--green-soft); font-weight: 400; }
.navX span { font-size: 15px; color: #EDE8F8; }

/* 通用区块 */
.altX { background: #17131F; }
.secX { scroll-margin-top: 76px; }
.twoX { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.figX { margin: 0; }
.figX img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; filter: saturate(.95); }
.figX figcaption { display: flex; gap: 10px; margin-top: 10px; font-size: 12px; color: rgba(201,190,232,.6); }
.figX figcaption b { color: var(--green-soft); font-weight: 500; letter-spacing: .1em; }

.listX { border-top: 1px solid rgba(201,190,232,.12); }
.rowX {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(201,190,232,.12);
}
.rowX b { font-size: 15px; color: #EFEBF9; font-weight: 600; }
.rowX span { font-size: 12px; color: rgba(201,190,232,.55); }

.cardX {
  border: 1px solid rgba(201,190,232,.18);
  border-radius: 10px;
  padding: 24px 22px;
  background: linear-gradient(170deg, rgba(201,190,232,.06), rgba(20,16,32,.2));
}
.cardX-no { font-size: 10px; letter-spacing: .24em; color: var(--green-soft); }
.cardX h3 { margin: 10px 0 8px; font-size: 1.25rem; color: #F0ECFA; }
.cardX p { margin: 0; font-size: 13px; color: rgba(201,190,232,.65); }

.emptyX {
  border: 1px dashed rgba(201,190,232,.28);
  border-radius: 10px;
  padding: 44px 24px;
  text-align: center;
}
.emptyX p { margin: 0 0 8px; font-size: 1.15rem; color: #EFEBF9; }
.emptyX span { font-size: 13px; color: rgba(201,190,232,.6); }

.stripX-4 { grid-template-columns: repeat(4, 1fr); }
.moreX { margin-top: 26px; }
.moreX a { color: var(--green-soft); font-size: 13px; border-bottom: 1px solid rgba(156,185,140,.4); }

.aboutX { display: grid; grid-template-columns: 200px 1fr; gap: 34px; align-items: start; }
.aboutX img { width: 100%; border-radius: 8px; filter: grayscale(.2); }
.aboutX p { color: rgba(201,190,232,.78); line-height: 1.9; margin: 0 0 14px; }

@media (max-width: 1024px) {
  .hf-photo { width: min(70vw, 520px); }
  .hf-box-main { left: 24px; right: 24px; max-width: none; }
  .hf-box-top { left: 24px; }
  .hf-box-bottom { right: 24px; }
  .navX { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .heroFull { min-height: 100svh; padding: 90px 0 40px; flex-direction: column; }
  .hf-photo { width: auto; max-width: 78vw; max-height: 48vh; }
  .hf-box { position: static; margin: 14px 16px 0; }
  .hf-box-top { order: -1; margin-top: 8px; }
  .hf-box-bottom { display: none; }
  .hf-box-main { margin: 16px; }
  .hf-title { font-size: 2.1rem; }
  .navX { grid-template-columns: repeat(2, 1fr); }
  .twoX { grid-template-columns: 1fr; }
  .aboutX { grid-template-columns: 1fr; }
  .aboutX img { width: 140px; }
  .stripX-4 { grid-template-columns: repeat(2, 1fr); }
}

/* 书籍条目：纯文字，无配图 */
.book-plain { grid-template-columns: 1fr !important; }
.book-plain .book-info { max-width: 46em; }

/* 视频嵌入 */
.videoX { display: grid; grid-template-columns: 7fr 3fr; gap: 26px; align-items: start; }
.videoX-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.videoX-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.videoX-meta h3 { margin: 0 0 10px; font-size: 1.2rem; color: #F0ECFA; }
.videoX-meta p { margin: 0 0 14px; font-size: 13.5px; line-height: 1.8; color: rgba(201,190,232,.72); }
.videoX-meta a { color: var(--green-soft); font-size: 13px; border-bottom: 1px solid rgba(156,185,140,.4); }
@media (max-width: 1024px) { .videoX { grid-template-columns: 1fr; } }

/* 视频区块容器与配色（浅色页默认深字） */
.videoWrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--margin); }
.videoX-meta h3 { color: #1A1622; }
.videoX-meta p { color: #4A4458; }
.videoX-meta a { color: var(--green-600, #6E8F62); border-bottom: 1px solid rgba(110,143,98,.45); }
/* 深色首页内保持浅色文字 */
.page-x .videoX-meta h3 { color: #F0ECFA; }
.page-x .videoX-meta p { color: rgba(201,190,232,.72); }
.page-x .videoX-meta a { color: var(--green-soft); }

/* ============================================================
   23. 全站统一：线条纹理贯穿 + 香芋紫主色 + 深绿点缀（修正版）
   ============================================================ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("assets/pattern.svg");
  background-size: 1100px auto;
  background-repeat: repeat;
  opacity: .14;
  mix-blend-mode: multiply;
}
body > * { position: relative; z-index: 1; }
body.page-x::before { opacity: .5; mix-blend-mode: screen; }

/* 香芋紫：标题与链接主色 */
.h1, .h2, .h3, .hx, .tl-title, .book-title, .card-title { color: #2A2140; }
.page-lead { color: #4A4458; }
.section-sub { color: #6B6478; }

/* 深绿：所有小标签、kicker、链接下划线（浅色页可见） */
.kicker, .kx, .kicker.light { color: #5F8451 !important; }
.section-sub .todo, .todo { color: #6E8F62; }
.link-green, .moreX a, .lnk { color: #5F8451 !important; border-bottom: 1px solid rgba(95,132,81,.45); }
.site-foot a:hover { color: #9CB98C; }
.navX { background: rgba(42,33,64,.14); }
.navX a { background: #171226; }
.navX a:hover { background: #241C38; }
.navX b { color: #9CB98C; }
.prose p, .tl-desc, .know-small { color: #4A4458; }

/* 卡片描边带一点紫 */
.mx-card, .cardX, .dir { border-color: rgba(107,90,158,.22); }


/* 学校行 */
.lead-quiet { color: #6B6478; font-size: .95em; margin: 0 0 1.2em; letter-spacing: .04em; }
/* 诗歌排版 */
.poems { max-width: 760px; margin: 0 auto; padding: 0 var(--margin); }
.poem { padding: 34px 0; border-bottom: 1px solid var(--line); }
.poem:last-child { border-bottom: none; }
.poem-title { font-size: 1.4rem; color: #2A2140; margin: 0 0 6px; letter-spacing: .02em; }
.poem-meta { font-size: 12px; color: #6B6478; margin: 0 0 18px; letter-spacing: .08em; }
.poem-body {
  font-family: inherit;
  font-size: 15px; line-height: 2;
  color: #3E3948;
  white-space: pre-wrap;
  margin: 0;
  letter-spacing: .02em;
}

/* 冬日：极细的雪 */
.hf-snow {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.2px 1.2px at 28% 42%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1.8px 1.8px at 46% 12%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.2px 1.2px at 63% 34%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 22%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.1px 1.1px at 88% 48%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1.4px 1.4px at 8% 62%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1.3px 1.3px at 34% 72%, rgba(255,255,255,.3), transparent 60%),
    radial-gradient(1.5px 1.5px at 58% 66%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1.2px 1.2px at 82% 78%, rgba(255,255,255,.3), transparent 60%);
  animation: snowDrift 26s linear infinite;
  opacity: .8;
}
@keyframes snowDrift {
  0%   { transform: translate3d(0,-2%,0); }
  100% { transform: translate3d(-1.5%,2%,0); }
}
@media (prefers-reduced-motion: reduce) { .hf-snow { animation: none; } }

/* 诗：只留标题的清单式排版 */
.poem-titleonly { padding: 22px 0; }
.poem-titleonly .poem-title { font-size: 1.15rem; margin: 0; display: flex; justify-content: space-between; align-items: baseline; }
.poem-titleonly .poem-meta { margin: 0; }
.poem-titleonly .poem-title::after {
  content: "POEM";
  font-size: 10px; letter-spacing: .24em; color: #6E8F62; opacity: .8;
}

/* ============================================================
   24. 全站深紫统一主题（覆盖内页）
   ============================================================ */
body {
  background: #141020 !important;
  color: #D8D0EE !important;
}
body::before { opacity: .32 !important; mix-blend-mode: screen !important; }

.site-head {
  background: rgba(16,13,24,.66) !important;
  border-bottom: 1px solid rgba(201,190,232,.10) !important;
  backdrop-filter: blur(14px) saturate(1.2);
}
.brand-text { color: #EFEBF9 !important; }
.brand-text small { color: rgba(201,190,232,.55) !important; }
.site-nav a { color: rgba(217,208,240,.7) !important; }
.site-nav a:hover, .site-nav a.is-active { color: #fff !important; }
.site-nav a::after { background: #7E9F6E !important; }
.nav-toggle { background: #241C38 !important; }

/* 页头 */
.page-hero {
  background: linear-gradient(180deg, #17121F, #141020) !important;
  border-bottom: 1px solid rgba(201,190,232,.10) !important;
}
.page-hero .h1, .h1 { color: #F2EEFB !important; }
.page-lead { color: rgba(201,190,232,.72) !important; }
.kicker, .kx { color: #8FB47A !important; }

/* 通用文字 */
.h2, .h3, .hx, .card-title, .tl-title, .book-title, .mx-title, .poem-title { color: #EDE8F8 !important; }
p, .prose p, .tl-desc, .book-desc, .know-small, .lead-quiet { color: rgba(201,190,232,.72) !important; }
.section-sub { color: rgba(201,190,232,.6) !important; }
.prose strong { color: #C9BEE8 !important; }
.note, .copy { color: rgba(201,190,232,.45) !important; }
a { color: #C9BEE8; }
a:hover { color: #9CB98C; }

/* 区块底色 */
.section, .alt-bg, .section.alt { background: transparent !important; }
.alt-bg { background: rgba(201,190,232,.03) !important; }
.secX { background: transparent; }

/* 卡片与列表 */
.mx-card, .cardX, .dir, .pf, .book, .emptyX, .empty-state .empty-inner {
  background: linear-gradient(170deg, rgba(201,190,232,.07), rgba(20,16,32,.35)) !important;
  border-color: rgba(201,190,232,.18) !important;
}
.mx-card:hover, .dir:hover, .pf:hover { border-color: rgba(156,185,140,.5) !important; background: rgba(201,190,232,.1) !important; }
.wl-item { border-color: rgba(201,190,232,.12) !important; }
.wl-item:hover { background: rgba(201,190,232,.05) !important; }
.wl-idx, .mx-idx, .dir-no { color: #8FB47A !important; }
.wl-more { color: rgba(201,190,232,.5) !important; }
.track, .rowX, .art, .now-list li { border-color: rgba(201,190,232,.12) !important; }
.track-main b, .rowX b, .art b, .now-list b { color: #EDE8F8 !important; }
.track-main i, .rowX span, .art i, .now-list span { color: rgba(201,190,232,.6) !important; }
.track-tag { border-color: rgba(201,190,232,.2) !important; color: rgba(201,190,232,.6) !important; }

/* 时间轴 */
.timeline::before { background: linear-gradient(180deg, rgba(201,190,232,.35), rgba(156,185,140,.25)) !important; }
.tl-year span { background: #141020 !important; color: #C9BEE8 !important; }
.tl-year::after { background: #7E9F6E !important; border-color: #141020 !important; box-shadow: 0 0 0 2px rgba(126,159,110,.35) !important; }

/* 二维码 */
.qr img, .qr-card { background: #fff !important; border-color: rgba(201,190,232,.2) !important; }
.qr figcaption { color: rgba(201,190,232,.6) !important; }

/* 书籍 */
.book-cover img { filter: grayscale(.2) brightness(.9); }

/* 诗 */
.poem { border-color: rgba(201,190,232,.12) !important; }
.poem-meta { color: rgba(201,190,232,.5) !important; }
.poem-body { color: rgba(216,208,238,.85) !important; }

/* 页脚 */
.site-foot { background: #0E0B16 !important; }
.foot-name { color: #F2EEFB !important; }
.foot-sub, .foot-links a { color: rgba(201,190,232,.6) !important; }

/* 按钮 */
.btn-primary { background: #7E9F6E !important; color: #0F1B0C !important; }
.btn-primary:hover { background: #9CB98C !important; }
.btn-ghost { border-color: rgba(201,190,232,.35) !important; color: #C9BEE8 !important; }

/* 诗的清单式排版 */
.poem-list { list-style: none; padding: 0; max-width: var(--maxw); margin: 0 auto; padding-left: var(--margin); padding-right: var(--margin); }
.poem-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(201,190,232,.12);
}
.poem-list span { font-size: 1.15rem; color: #EDE8F8; }
.poem-list i { font-style: normal; font-size: 11px; letter-spacing: .2em; color: rgba(201,190,232,.5); }
/* 作品分组：一栏两张 / 一栏三张 */
.grp { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--margin); display: grid; gap: 16px; }
.grp-2 { grid-template-columns: repeat(2, 1fr); }
.grp-3 { grid-template-columns: repeat(3, 1fr); }
.gi { margin: 0; }
.gi img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 6px; background: rgba(201,190,232,.05);
  filter: grayscale(.35) contrast(1.04) brightness(.96);
  transition: filter .6s, transform .8s cubic-bezier(.22,.61,.36,1);
}
.gi:hover img { filter: grayscale(0) contrast(1.06) brightness(1); transform: scale(1.02); }
.gi figcaption {
  display: flex; gap: 10px; align-items: baseline;
  margin-top: 10px; font-size: 12px; color: rgba(201,190,232,.55);
}
.gi figcaption b { color: #8FB47A; letter-spacing: .1em; font-weight: 500; }
@media (max-width: 768px) {
  .grp-2, .grp-3 { grid-template-columns: 1fr; }
}

/* 团员形象 */
.league-fig { margin: 26px 0 8px; max-width: 320px; }
.league-fig img {
  width: 100%; border-radius: 8px;
  filter: saturate(.95) contrast(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.league-fig figcaption {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 10px;
}
.league-fig figcaption b { color: #EDE8F8; font-size: 14px; letter-spacing: .06em; }
.league-fig figcaption span { font-size: 12px; color: rgba(201,190,232,.55); }

/* ============================================================
   25. 关于页顶部：照片墙背景 + 虚化 + 圆形头像
   ============================================================ */
.aboutHero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: #0E0B16;
}
.ah-bg {
  position: absolute; inset: -30px;
  background-size: cover; background-position: center;
  filter: blur(.4px) saturate(.98);
  transform: scale(1.04);
  z-index: 0;
}
.ah-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(58% 52% at 50% 44%, rgba(14,11,22,.28), rgba(14,11,22,.72) 82%),
    linear-gradient(180deg, rgba(14,11,22,.42), rgba(42,33,64,.68) 70%, #141020 100%);
}
.ah-inner { position: relative; z-index: 2; text-align: center; padding: 0 24px; }
.ah-avatar {
  width: 132px; height: 132px; margin: 0 auto 26px;
  border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(201,190,232,.5);
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
}
.ah-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ah-name {
  font-size: clamp(2rem, 4.6vw, 3rem);
  color: #F2EEFB; letter-spacing: .08em;
  margin: 0 0 18px; font-weight: 700;
}
.ah-line {
  font-size: 15px; line-height: 2;
  color: rgba(216,208,238,.78);
  margin: 0 0 20px;
}
.ah-meta { font-size: 11px; letter-spacing: .24em; color: rgba(201,190,232,.5); margin: 0; }
.ah-scroll {
  position: absolute; bottom: 26px; left: 0; right: 0; z-index: 2;
  text-align: center; font-size: 11px; letter-spacing: .3em;
  color: rgba(201,190,232,.4);
  animation: ahFloat 2.6s ease-in-out infinite;
}
@keyframes ahFloat { 0%,100% { transform: translateY(0);} 50% { transform: translateY(6px);} }
@media (prefers-reduced-motion: reduce) { .ah-scroll { animation: none; } }
@media (max-width: 768px) {
  .aboutHero { min-height: 88vh; }
  .ah-avatar { width: 104px; height: 104px; }
  .ah-line { font-size: 14px; }
}

/* 引导条：现在只剩四格，改成四等分 */
.navX { grid-template-columns: repeat(4, 1fr) !important; }
@media (max-width: 768px) { .navX { grid-template-columns: repeat(2, 1fr) !important; } }

/* =========================================================
   页脚字体标注：全站统一（首页 / 内页 / 门页同一套）
   ========================================================= */
.font-note{
  max-width: var(--maxw);
  margin: 8px auto 0;
  padding: 0;
  font-size: 9.5px;
  letter-spacing: .2em;
  line-height: 1.6;
  color: rgba(201,190,232,.38) !important;
}

/* 备案号：页脚底部居中，与版权行保持一致 */
.site-foot .icp{
  max-width: var(--maxw);
  margin: 8px auto 0;
  text-align: center;
  font-size: var(--fs-1);
  letter-spacing: .04em;
  color: rgba(255,255,255,.38);
}
.site-foot .icp a{ color: inherit; text-decoration: none; }
.site-foot .icp a:hover{ color: #9CB98C; }
.site-foot .icp{ opacity:.75; }
