/* 自托管字体：Syne / Space Grotesk / Caveat / DM Serif Display（latin 子集）
   本地声明在 Google Fonts <link> 之后，优先生效，使各环境渲染一致 */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/Caveat_normal_400.woff2') format('woff2');
}

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Caveat_normal_700.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/DM_Serif_Display_italic_400.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/DM_Serif_Display_normal_400.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/Space_Grotesk_normal_300.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/Space_Grotesk_normal_400.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/Space_Grotesk_normal_500.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/Space_Grotesk_normal_600.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Space_Grotesk_normal_700.woff2') format('woff2');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/Syne_normal_400.woff2') format('woff2');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/Syne_normal_500.woff2') format('woff2');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/Syne_normal_600.woff2') format('woff2');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Syne_normal_700.woff2') format('woff2');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/Syne_normal_800.woff2') format('woff2');
}

/* ============================================================
   Linda Zhang Portfolio · Visual System v2.1
   Hero: Editorial Archive / Literary / Minimal / Academic+Creative
   Font: DM Serif Display (editorial) + Syne + Space Grotesk + Caveat
   Base: Warm paper / Subtle texture / Document feel
   ============================================================ */

/* ── Tokens ── */
:root {
  --bg: #FBFBFD;
  --paper: #F5F3EF;
  --white: #FAFAF8;
  --ink: #f2f0eb;
  --ink-2: #cfcdc6;
  --ink-3: #9a9a92;
  --line: rgba(242,240,235,.12);
  --line-strong: rgba(242,240,235,.25);

  /* Hero 光晕（premium，低饱和） */
  --glow-1: rgba(99,102,241,.12);   /* indigo */
  --glow-2: rgba(16,185,129,.10);   /* green  */
  --glow-3: rgba(236,72,153,.07);   /* pink   */
  --glass-bg: rgba(255,255,255,.55);
  --glass-bd: rgba(255,255,255,.7);
  --glass-shadow: 0 22px 55px -22px rgba(20,20,40,.22);
  --name: #15151b;

  /* Section accents */
  --ac-about: #3b82f6;
  --ac-exp: #6366f1;
  --ac-res: #10b981;
  --ac-chal: #8b5cf6;
  --ac-vol: #c2410c;
  --ac-media: #db2777;
  --ac-ai: #0891b2;

  /* Fonts */
  --f-editorial: 'DM Serif Display', 'Syne', Georgia, serif;
  --f-display: 'Syne', system-ui, sans-serif;
  --f-body: 'Space Grotesk', -apple-system, "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --f-accent: 'Caveat', cursive;

  /* Spacing */
  --gutter: clamp(20px, 5vw, 80px);
  --max-w: 1280px;

  /* Easing */
  --ease-out-exp: cubic-bezier(.16,1,.3,1);
  --ease-out: cubic-bezier(.33,1,.68,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* ── 全站森林背景（固定不动，全站同一张底图） ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url('assets/A_dreamy_ethereal_forest_backg_2026-08-21T10-10-11.jpg');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  filter: saturate(.92) contrast(1.02) brightness(1.08) blur(6px);
  transform: scale(1.06);
}
/* 全站暗色蒙层 — 与原 hero 整体暗度一致，全站统一 */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 28% 45%, rgba(18,28,16,.08) 0%, rgba(12,16,10,.28) 88%),
    linear-gradient(105deg, rgba(12,16,10,0) 32%, rgba(12,16,10,.34) 100%);
  pointer-events: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 600; }
::selection { background: var(--ink); color: var(--white); }

/* ═══════════════ FLOATING NAV (dark on hero, light on scroll) ═══════════════ */
.float-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(24px, 4vw, 48px);
  background: rgba(15,20,12,.55);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: transform .4s var(--ease-out), opacity .4s, background .4s;
}
.float-nav.scrolled {
  background: rgba(15,20,12,.7);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.float-nav.hidden { transform: translateY(-100%); opacity: 0; }
.nav-brand {
  font-family: var(--f-editorial); font-weight: 400; font-size: 18px;
  letter-spacing: .02em; cursor: pointer;
  color: #fff; font-style: italic;
}
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  font-family: var(--f-body); font-size: 12.5px; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
  position: relative; padding: 4px 0;
  transition: color .25s;
  color: rgba(255,255,255,.7);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0;
  height: 2px; background: #fff; transition: width .3s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-clock {
  font-family: var(--f-body); font-size: 14px; font-weight: 400;
  color: rgba(255,255,255,.6); letter-spacing: .05em;
}

/* ═══════════════ SECTION DOTS (right side) ═══════════════ */
.section-dots {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
  z-index: 99; display: flex; flex-direction: column; gap: 12px;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.3); cursor: pointer;
  transition: transform .3s var(--ease-out), background .3s;
  position: relative;
}
.dot:hover { transform: scale(1.4); background: rgba(255,255,255,.6); }
.dot.active { background: #fff; transform: scale(1.3); }

/* ═══════════════ REVEAL ANIMATION ═══════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s var(--ease-out-exp), transform .9s var(--ease-out-exp);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Stagger children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: .08s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: .16s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: .24s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: .32s; }


/* ═══════════════ A  HERO — Dreamy Forest / Orchid Style ═══════════════ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px clamp(28px, 6vw, 80px) 80px;
  position: relative; overflow: hidden;
}

/* ── Background: forest image — presence lowered by BLUR, kept bright (no darkening) ── */
.hero-bg {
  display: none; /* 全站统一用 body 森林背景，hero 不再单独放图 */
}
.forest-bg {
  display: none;
}
.hero-overlay {
  display: none; /* 全站统一用 body 暗色蒙层 */
}

/* ── Layout: left photo (45%) / right text (55%) ── */
.hero-inner {
  display: grid;
  grid-template-columns: 42fr 58fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; width: 100%;
}


/* ── LEFT: Archive Photo ── */
.hero-left { display: flex; justify-content: flex-end; }
.dream-photo { position: relative; width: 100%; max-width: 400px; margin: 0; }

.photo-wrap {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 5px;                /* near-square, archive print */
  overflow: hidden;
  transform: rotate(-1.6deg);         /* pinned-print feel */
  transition: transform .7s var(--ease-out-exp);
  box-shadow:
    0 6px 22px rgba(0,0,0,.28),
    0 16px 52px rgba(0,0,0,.20);
  background: #1a1e15;
}
.dream-photo:hover .photo-wrap {
  transform: rotate(0deg) scale(1.015);
  box-shadow:
    0 10px 30px rgba(0,0,0,.32),
    0 24px 70px rgba(0,0,0,.24);
}
.photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.96) contrast(1.02);
  transition: filter .6s, transform .7s var(--ease-out-exp);
}
.dream-photo:hover .photo-wrap img { transform: scale(1.04); }

/* Sticky note (便利贴) — small SQUARE, tilted, straddling photo corner + background */
.photo-sticker {
  position: absolute; top: -16px; left: -16px; z-index: 4;
  width: 64px; height: 64px;                 /* small square */
  padding: 10px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, #fdfcf3 0%, #f3edcc 100%);
  border-radius: 4px;
  box-shadow: 0 9px 22px rgba(0,0,0,.32);
  transform: rotate(-9deg);                  /* tilted */
  border: 1px solid rgba(0,0,0,.05);
}
.stk-no {
  display: block;
  font-family: var(--f-display); font-weight: 800;
  font-size: 22px; color: #1a1a1a; letter-spacing: -.02em;
  line-height: 1;
}



/* ── RIGHT: Text ── */
.hero-right { color: #fff; }

/* Generative book-reveal particles — full-viewport, behind text, above forest bg */
.hero-tree {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Name — large serif, like "Orchid" in the reference */
.hero-name { margin-bottom: 20px; }
.name-en {
  display: block;
  /* Syne, same size as the previous version (revert the heavier 800) */
  font-family: var(--f-display);
  font-size: clamp(40px, 6.5vw, 78px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.02em;
  color: #fff;
  /* Soft glow like the Orchid text on green background */
  filter: drop-shadow(0 2px 20px rgba(0,0,0,.25));
}
.name-cn {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(18px, 3vw, 30px);
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-top: 18px;
  letter-spacing: .08em;
}

/* Role / positioning lines — match later sections' English display font (Syne) */
.hero-role {
  display: flex; flex-direction: column; gap: 4px;
  margin-bottom: 22px;
  padding-left: 14px;
  border-left: 2px solid rgba(255,255,255,.3);
}
.hero-role span {
  font-family: var(--f-display); font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.75);
  letter-spacing: .02em;
  line-height: 1.6;
}

/* Core tagline — italic, literary */
.hero-line {
  font-family: var(--f-editorial);
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 400; font-style: italic;
  color: rgba(255,255,255,.82);
  line-height: 1.5;
  max-width: 38ch;
  margin-bottom: 2px;
}

/* School info — three items inline, same priority as name */
.hero-school {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px;
  margin: 0 0 24px;
}
.hs-name {
  font-family: var(--f-display); font-size: clamp(16px, 2.2vw, 22px); font-weight: 700;
  color: #fff; letter-spacing: .01em;
}
.hs-meta {
  font-family: var(--f-display); font-size: clamp(16px, 2.2vw, 22px); font-weight: 700;
  color: #fff; letter-spacing: .01em;
}

/* Bio paragraph */
.hero-desc {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  max-width: 44ch;
  margin-bottom: 32px;
}

/* Enter link — minimal, elegant */
.hero-enter {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-body); font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: 4px;
  margin-top: -10px;
  transition: all .35s var(--ease-out);
}
.hero-enter:hover {
  color: #fff;
  border-color: #fff;
  gap: 12px;
}
.hero-enter svg { transition: transform .3s var(--ease-out); }
.hero-enter:hover svg { transform: translateY(3px); }


/* ── Scroll hint at bottom ── */
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint span {
  font-family: var(--f-body); font-size: 10px; font-weight: 400;
  letter-spacing: .25em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
  animation: breathe 3.5s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 36px;
  background: rgba(255,255,255,.3);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 100%; height: 60%; background: rgba(255,255,255,.7);
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: .3; }
  50% { opacity: .65; }
}
@keyframes scrollPulse {
  0% { top: -60%; }
  100% { top: 120%; }
}


.hero-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-out-exp), transform 1.1s var(--ease-out-exp);
  transition-delay: var(--fd, 0s);
}
.hero.is-loaded .hero-fade {
  opacity: 1; transform: translateY(0);
}


/* ═══════════════ SHARED SECTION STYLES ═══════════════ */
.sec {
  padding: clamp(80px, 12vh, 140px) clamp(24px, 6vw, 80px);
  position: relative; overflow: hidden;
}
.sec-num {
  font-family: var(--f-display); font-size: clamp(48px, 8vw, 80px);
  font-weight: 800; line-height: 1;
  color: var(--white);
  -webkit-text-stroke: 1.5px rgba(17,17,17,.12);
  display: block; margin-bottom: 12px;
  user-select: none;
}
.sec-title {
  font-family: var(--f-display); font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800; line-height: 1.1; letter-spacing: -.02em;
}
.sec-sub {
  font-size: 14px; color: var(--ink-3); margin-top: 8px;
  max-width: 48ch; line-height: 1.6;
}


/* ═══════════════ B  CAPABILITIES — Layered Poster Typography ═══════════════ */
.about-sec {
  background: transparent;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* 四词居中重叠层叠 */
.poster-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 40px 0;                      /* 左右不加 padding，横线才能贴边贯通 */
}

.poster-word {
  font-family: var(--f-display);         /* 同 Experience 标题字体 */
  font-size: clamp(34px, 6vw, 92px);    /* 加大 1-2 号，仍不出屏 */
  font-weight: 700;                     /* 字重保持不变，避免视觉变大 */
  letter-spacing: -0.02em;
  line-height: 1.05;
  white-space: nowrap;
  color: #f2f1ec;                       /* 米白：暗色背景下清晰可读 */
  user-select: none;
  cursor: pointer;
  transition: all 0.55s cubic-bezier(.16,1,.3,1);
  position: relative;
  z-index: 1;
  opacity: 0.49;                        /* 默认半透明 */
}

/* 行间横线：前三行底部各一条，共三条；负 margin 抵消 .sec 左右 padding，真正贴边贯通 */
.poster-word:not(:last-child) {
  padding-bottom: clamp(18px, 3.2vh, 34px);
  margin-bottom: clamp(18px, 3.2vh, 34px);
  border-bottom: 2px solid rgba(236, 236, 230, 0.25);  /* 米白分隔线 */
  width: calc(100% + 2 * clamp(24px, 6vw, 80px));   /* 补回 .sec 的左右 padding */
  margin-left: calc(-1 * clamp(24px, 6vw, 80px));   /* 左右各拉出到屏幕边缘 */
}

/* 入场动画 */
.poster-word {
  animation: posterIn .9s var(--ease-out-exp) both;
}
.poster-word:nth-child(1) { animation-delay: .08s; }
.poster-word:nth-child(2) { animation-delay: .16s; }
.poster-word:nth-child(3) { animation-delay: .24s; }
.poster-word:nth-child(4) { animation-delay: .32s; }

@keyframes posterIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 0.49; transform: translateY(0); }
}

/* 悬停：该词放大 + 变深 + 不透明，其余保持低透明 */
.poster-stage:has(.poster-word:hover) .poster-word {
  opacity: 0.18;                        /* 非悬停词稍淡 */
}
.poster-word:hover {
  opacity: 1 !important;
  color: #b0d2a4;                       /* 浅叶绿：清爽高级 */
  transform: scale(1.12);             /* 字号放大 */
  letter-spacing: 0.005em;
  z-index: 10;
}

/* 移动端 */
@media(max-width: 768px) {
  .poster-word {
    font-size: clamp(26px, 9vw, 52px);
    white-space: normal;
  }
  .poster-word:hover { transform: scale(1.08); }
}


/* ═══════════════ C  EXPERIENCE — Case Study · Silk Green Editorial ═══════════════ */
/* 与目录页统一浅绿米白底色 */
.exp-sec {
  /* Case Study 独立配色 tokens — 暗色背景白字 */
  --cs-ink: #f5f3ef;
  --cs-ink-2: #e8e7e3;
  --cs-gray: #e0dfda;
  --cs-accent: #a4bdd0;
  --cs-accent-deep: #cfe0ec;
  --cs-line: rgba(242, 240, 235, .18);
  position: relative;
  background: transparent;
  color: var(--cs-ink);
  padding: clamp(90px, 14vh, 150px) 0;
  border-bottom: none;
  overflow: hidden;
}




/* 流动丝绸画布：WebGL 着色器实时渲染浅色绸缎 */
.exp-sec > .silk-flow-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .silk-flow-canvas { opacity: .9; }
}

/* 内容压在丝绸背景之上 */
.exp-sec > *, .proj1-sec > *, .proj2-sec > * { position: relative; z-index: 1; }

/* ── 项目头部：编号 + 项目标题 + 档案信息（杂志两栏版式） ── */
.exp-top {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto clamp(52px, 8vh, 100px);
  padding: 0 var(--gutter);
}
.exp-head-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 76px);
  padding-top: 24px;
}
.exp-no-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(20px, 3.2vh, 30px);
}
.exp-no-sm {
  font-family: var(--f-display);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 700;
  line-height: 1;
  color: var(--cs-accent);
}
.exp-no-line { width: 56px; height: 1px; background: var(--cs-line); }
.exp-kicker {
  font-family: var(--f-body);
  font-size: 12px; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--cs-gray);
}
/* 项目标题：作品集项目名尺度，非章节巨字 */
.exp-big {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--cs-ink);
}
.eb-line { display: block; overflow: hidden; }
.eb-word {
  display: inline-block;
  font-size: clamp(36px, 5.2vw, 68px);
  transform: translateY(112%);
  transition: transform 1s var(--ease-out-exp);
}
.exp-sec.in-view .eb-word,
.proj1-sec.in-view .eb-word,
.proj2-sec.in-view .eb-word,
.vol-sec.in-view .eb-word,
.ai-sec.in-view .eb-word,
.media-sec.in-view .eb-word { transform: translateY(0); }
.exp-org {
  margin-top: clamp(18px, 3vh, 28px);
  font-family: var(--f-display);
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--cs-ink-2);
}
.exp-head-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 4px;
}
.exp-role {
  font-size: 16px; font-weight: 600;
  letter-spacing: .03em;
  color: var(--cs-ink-2);
}
.exp-date {
  margin-top: 8px;
  font-size: 13.5px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--cs-gray);
}
.exp-desc {
  margin-top: 18px;
  font-size: 16px; line-height: 1.9;
  color: var(--cs-ink-2);
  max-width: 44ch;
}

/* ── PROJECT IMPACT：成果前置，编辑排版大数字（非 KPI 卡片） ── */
.impact-area {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto clamp(52px, 8vh, 100px);
  padding: 0 var(--gutter);
}
.impact-head {
  display: flex; align-items: center; gap: 16px;
}
.impact-title {
  font-family: var(--f-display);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--cs-accent);
  white-space: nowrap;
}
.impact-rule { flex: 1; height: 1px; background: var(--cs-line); }
.impact-tag {
  font-size: 12.5px;
  letter-spacing: .28em;
  color: var(--cs-gray);
  white-space: nowrap;
}
.impact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(26px, 4.5vh, 42px);
}
.impact-item {
  display: flex; flex-direction: column; gap: 12px;
  padding-left: clamp(18px, 2.4vw, 30px);
  border-left: 1px solid var(--cs-line);
}
.impact-item:first-child {
  padding-left: 0;
  border-left: none;
}
.impact-num {
  display: flex; align-items: flex-start;
  font-family: var(--f-display);
  font-size: clamp(46px, 6.2vw, 86px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -0.03em;
  color: var(--cs-ink);
}
.impact-num i {
  font-style: normal;
  font-size: .42em;
  font-weight: 600;
  color: var(--cs-accent);
  margin: .3em 0 0 .14em;
}
.impact-lbl {
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--cs-gray);
}

/* ── 两个工作模块：同一项目并排展示，非卡片 ── */
.modules {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto clamp(52px, 8vh, 100px);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4.5vw, 68px);
}
.module { position: relative; padding-top: clamp(22px, 3vh, 32px); }
.module + .module {
  border-left: 1px solid var(--cs-line);
  padding-left: clamp(28px, 4vw, 56px);
}
.mod-idx {
  font-family: var(--f-display);
  font-size: 15px; font-weight: 700;
  letter-spacing: .1em;
  color: var(--cs-accent);
}
.mod-title {
  margin-top: 14px;
  font-family: var(--f-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--cs-ink);
  transition: color .5s ease;
}
.mod-desc {
  margin-top: 14px;
  font-size: 13.5px; line-height: 1.9;
  color: var(--cs-ink-2);
  max-width: 38ch;
}
/* hover：细线延伸 + 标题变雾蓝灰 */
.mod-draw {
  display: block;
  margin-top: 20px;
  width: 0; height: 1px;
  background: var(--cs-accent);
  opacity: .6;
  transition: width .7s var(--ease-out-exp);
}
.module:hover .mod-draw { width: 64px; }
.module:hover .mod-title { color: var(--cs-accent-deep); }

/* ── 内容流程轨迹：细线波纹 + 节点连接（momentum graph） ── */
.flow-wrap {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.flow-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 4px;
}
.flow-title {
  font-family: var(--f-display);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--cs-accent);
  white-space: nowrap;
}
.flow-rule { flex: 1; height: 1px; background: var(--cs-line); }
.flow-tag {
  font-size: 12.5px;
  letter-spacing: .28em;
  color: var(--cs-gray);
  white-space: nowrap;
}
.wave-stage {
  position: relative;
  height: clamp(440px, 58vh, 600px);
  overflow: hidden;
  cursor: crosshair;
  perspective: 1300px;            /* 玻璃卡 3D 悬浮 */
}
#waveCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.wave-hint {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-body);
  font-size: 10.5px; letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--cs-gray);
  white-space: nowrap;
  pointer-events: none;
}

/* ── 五个节点：漂浮在流线轨迹上的标注点 ── */
.wnode {
  position: absolute;
  left: var(--nx); top: var(--ny);
  transform: translate(-50%, -50%);
  background: none; border: none;
  padding: 14px 10px;
  display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  cursor: pointer;
  color: var(--cs-ink);
  transition: transform .7s var(--ease-out-exp), filter .7s ease;
  animation: wnodeFloat 6.5s ease-in-out infinite;
  animation-delay: var(--wd, 0s);
  z-index: 2;
}
@keyframes wnodeFloat {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -9px; }
}
.wnode:nth-child(1) { --wd: 0s;    --nx: 8%;  --ny: 26%; }
.wnode:nth-child(2) { --wd: -1.4s; --nx: 27%; --ny: 62%; }
.wnode:nth-child(3) { --wd: -2.6s; --nx: 47%; --ny: 22%; }
.wnode:nth-child(4) { --wd: -3.7s; --nx: 66%; --ny: 60%; }
.wnode:nth-child(5) { --wd: -4.9s; --nx: 86%; --ny: 26%; }

/* 节点呼吸圈（默认慢速，hover 扩散） */
.wnode::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 72px; height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  border: 1px solid rgba(200, 220, 235, .75);
  opacity: .7;
  transform: scale(.62);
  animation: nodeRippleIdle 5.5s ease-out infinite;
  animation-delay: var(--wd, 0s);
  pointer-events: none;
}
@keyframes nodeRippleIdle {
  0%   { transform: scale(.55); opacity: .45; }
  70%  { transform: scale(1.05); opacity: 0; }
  100% { transform: scale(1.05); opacity: 0; }
}

.wn-no {
  font-family: var(--f-body);
  font-size: 10px; font-weight: 500;
  letter-spacing: .3em;
  color: var(--cs-gray);
  transition: color .5s ease;
}
.wn-cn {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.3vw, 30px);
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.1;
  color: var(--cs-ink);
  transition: color .5s ease, text-shadow .5s ease;
}
.wn-en {
  font-family: var(--f-body);
  font-size: 9px; font-weight: 500;
  letter-spacing: .32em;
  color: var(--cs-gray);
  transition: color .5s ease;
}

/* hover：轻微放大 + 上升 + 变雾蓝灰 + 水波扩散 */
.wnode:hover,
.wnode.active {
  transform: translate(-50%, -50%) scale(1.14) translateY(-12px);
  animation-play-state: paused;
  filter: drop-shadow(0 16px 30px rgba(42, 50, 58, .16));
  z-index: 5;
}
.wnode:hover::before,
.wnode.active::before {
  border-color: rgba(210, 228, 240, .9);
  animation: nodeRippleHot 2.2s ease-out infinite;
}
@keyframes nodeRippleHot {
  0%   { transform: scale(.45); opacity: .85; }
  100% { transform: scale(1.7); opacity: 0; }
}
.wnode:hover .wn-cn,
.wnode.active .wn-cn {
  color: var(--cs-accent-deep);
  text-shadow: 0 2px 22px rgba(255, 255, 255, .8);
}
.wnode:hover .wn-no,
.wnode.active .wn-no { color: var(--cs-accent); }
.wnode:hover .wn-en,
.wnode.active .wn-en { color: var(--cs-accent); }

/* ── 跟随节点的玻璃拟态信息卡：3D 悬浮出现 ── */
.wave-panel {
  position: absolute;
  left: 0; top: 0;
  width: min(320px, calc(100% - 40px));
  padding: 20px 22px 18px;
  background: linear-gradient(165deg, rgba(252, 252, 250, .78), rgba(236, 238, 236, .62));
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(112, 128, 142, .30);
  border-radius: 10px;
  box-shadow:
    0 24px 48px -20px rgba(38, 48, 58, .28),
    0 2px 8px rgba(38, 48, 58, .06);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) rotateX(10deg) scale(.96);
  transform-origin: 50% 100%;
  transition:
    opacity .5s var(--ease-out-exp),
    transform .6s var(--ease-out-exp),
    left .45s cubic-bezier(.22, .9, .3, 1),
    top .45s cubic-bezier(.22, .9, .3, 1);
  z-index: 7;
}
.wave-panel.show {
  opacity: 1;
  transform: translateY(0) rotateX(0) scale(1);
}
/* 左侧细雾蓝灰线，批注感 */
.wave-panel::before {
  content: '';
  position: absolute; left: 0; top: 16px; bottom: 16px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(90, 107, 92, .6), transparent);
}
.wp-tag {
  font-family: var(--f-body);
  font-size: 10px; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
  color: #5a6b5c;
  margin-bottom: 10px;
}
.wp-title {
  font-family: var(--f-display);
  font-size: 21px; font-weight: 700;
  letter-spacing: .04em;
  color: #2a2e2a;
}
.wp-body {
  margin-top: 12px;
  font-size: 13px; line-height: 1.95;
  color: #4a4f4a;
  white-space: pre-line;          /* 支持多行过程描述 */
}

/* ── 响应式 ── */
@media(max-width: 900px) {
  .exp-head-grid { grid-template-columns: 1fr; gap: 30px; }
  .exp-head-right { padding-bottom: 0; }
  .exp-desc { max-width: 46ch; }
  .impact-row { grid-template-columns: 1fr; gap: 30px; }
  .impact-item { border-left: 1px solid var(--cs-line); padding-left: 22px; }
  .modules { grid-template-columns: 1fr; }
  .module + .module {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--cs-line);
    padding-top: 30px;
  }
}
@media(max-width: 640px) {
  .wave-stage { height: 680px; }
  /* 窄屏：节点纵向流动分布 */
  .wnode:nth-child(1) { --nx: 24%; --ny: 10%; }
  .wnode:nth-child(2) { --nx: 74%; --ny: 25%; }
  .wnode:nth-child(3) { --nx: 22%; --ny: 40%; }
  .wnode:nth-child(4) { --nx: 72%; --ny: 55%; }
  .wnode:nth-child(5) { --nx: 46%; --ny: 68%; }
  .wp-body { font-size: 12.5px; line-height: 1.8; margin-top: 10px; }
  .impact-num { font-size: 52px; }
}


/* ═══════════════ D  大创 RESEARCH — Silk Green · Field Study ═══════════════ */
/* 与 Experience 页同一套丝绸绿 Case Study 视觉系统 */
.proj1-sec {
  --cs-ink: #f5f3ef;
  --cs-ink-2: #e8e7e3;
  --cs-gray: #e0dfda;
  --cs-accent: #a4bdd0;
  --cs-accent-deep: #cfe0ec;
  --cs-line: rgba(242, 240, 235, .18);
  --map-green: #b8b0a0;
  --map-ink: #e0dfda;
  position: relative;
  background: transparent;
  color: var(--cs-ink);
  padding: clamp(50px, 7vh, 80px) 0 clamp(10px, 2vh, 24px);
  border-bottom: none;
  overflow: hidden;
}

/* 本页缩小 header 下方间距 */
.proj1-sec .exp-top { margin-bottom: clamp(28px, 4vh, 48px); }

/* 角色行：本页加大并标注项目负责人 */
.proj1-sec .exp-role {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
}


/* 左：研究内容 · 右：融合背景的调研地图 */
.proj1-body {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 4.1fr) minmax(0, 7.2fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.proj1-text { padding-top: 120px; }
.proj1-map-wrap { padding-top: 40px; }
.proj1-details { margin-top: 40px; }
.proj1-details p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--cs-ink-2);
  max-width: 46ch;
  margin-bottom: 20px;
}
.proj1-details p:last-child { margin-bottom: 0; }
.proj1-details strong {
  display: block;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--cs-ink);
  margin-bottom: 6px;
}

/* 调研地图：无卡片无容器，直接融在丝绸背景中 */
.map-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.map-title {
  font-family: var(--f-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cs-gray);
  white-space: nowrap;
}
.map-rule { flex: 1; height: 1px; background: var(--cs-line); }
.map-tag {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--cs-gray);
  white-space: nowrap;
}
.research-stage { position: relative; }
.research-map { width: 100%; height: auto; display: block; }

/* 省界：块面浅绿填充，如研究报告的数据地图（本页视觉中心） */
.rm-provinces path {
  fill: rgba(200, 192, 175, .7);
  stroke: rgba(210, 202, 185, .95);
  stroke-width: .8;
  stroke-linejoin: round;
}
/* 十段线（南海） */
.rm-nine-dash path {
  fill: none;
  stroke: rgba(200, 192, 175, .9);
  stroke-width: 1;
  stroke-dasharray: 4 3;
  stroke-linecap: round;
}
/* 南海诸岛 */
.rm-islands circle { fill: rgba(200, 192, 175, .95); }

/* 调研路线：细虚线曲线，学术感 */
.rm-route {
  fill: none;
  stroke: #6a9ab8;
  stroke-width: 1.6;
  stroke-dasharray: 2 5;
  stroke-linecap: round;
  opacity: 1;
}

/* 调研地点：绿点 + 微弱呼吸光环 + 标注 */
.rm-city-g { pointer-events: none; }
.rm-ring {
  fill: none;
  stroke: #6a9ab8;
  stroke-width: 1.6;
  transform-box: fill-box;
  transform-origin: center;
  animation: rmBreath 4.5s ease-in-out infinite;
}
@keyframes rmBreath {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.55); opacity: .3; }
}
.rm-dot { fill: #8ab4cc; }
.rm-label {
  font-family: var(--f-body);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .06em;
  fill: #f5f3ef;
  text-anchor: middle;
}
.rm-city-g:nth-child(2) .rm-ring,
.rm-city-g:nth-child(4) .rm-ring { animation-delay: -1.6s; }
.rm-city-g:nth-child(3) .rm-ring { animation-delay: -3.2s; }

/* 慢速巡航的小飞机（SMIL animateMotion，16s 一圈） */
.rm-plane path { fill: #ffffff; }

@media (prefers-reduced-motion: reduce) {
  .rm-ring { animation: none; opacity: .5; }
}
.vid-wrap {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); background: #000;
}
.vid-wrap video { width: 100%; display: block; max-height: 62vh; object-fit: cover; }
.vid-cap {
  font-size: 13px; color: var(--ink-3); margin-top: 10px;
  text-align: center;
}


/* ═══════════════ E  挑战杯 CHALLENGE — Silk Green · Case Study ═══════════════ */
/* 与 Experience / 大创页同一套丝绸绿 Case Study 视觉系统：
   头部同款 exp-top 版式，对话气泡左右交替，卡片图表，编辑排版统计 */
.proj2-sec {
  --cs-ink: #f5f3ef;
  --cs-ink-2: #e8e7e3;
  --cs-gray: #e0dfda;
  --cs-accent: #a4bdd0;
  --cs-accent-deep: #cfe0ec;
  --cs-line: rgba(242, 240, 235, .18);
  --map-green: #b8a488;
  position: relative;
  background: transparent;
  color: var(--cs-ink);
  padding: clamp(50px, 8vh, 80px) 0 clamp(80px, 12vh, 130px);
  border-bottom: none;
  overflow: hidden;
}

/* 头部双列：左标题 右角色信息，与 proj1 一致 */
.proj2-sec .exp-head-grid { grid-template-columns: 1.15fr .85fr; }
.proj2-sec .exp-head-right {
  justify-content: flex-start;
  padding-top: 128px;
  padding-bottom: 0;
  margin-top: 0;
}

/* 头部下方数据统计（横线分隔 + 三列横排） */
.p2-stats {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--cs-line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.p2-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.p2-stat b {
  font-family: var(--f-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--cs-ink);
}
.p2-stat span {
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--cs-gray);
  text-transform: uppercase;
}

/* 左列：对话气泡（视觉元素） */
.proj2-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: 40px;
}
.proj2-left .exp-desc { margin-top: 0; margin-bottom: 40px; }
/* 头部底部间距收紧 */
.proj2-sec .exp-top { margin-bottom: clamp(34px, 5vh, 54px); }

.proj2-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* 右列：数据卡片 + 全息图 + 项目信息 */
.proj2-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: 40px;
  padding-left: 24px;
}

/* ── 调研对话气泡：左右交替（无外框，标题为独立小标签） ── */
.chat-side { position: sticky; top: 100px; }
.chat-box {
  background: none;
  border: none;
  overflow: visible;
}
.chat-title {
  background: none;
  border: none;
  color: var(--cs-ink-2);
  font-family: var(--f-display);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .22em;
  margin-bottom: 14px;
  padding: 0 0 16px;
}
.chat-msgs { padding: 0; display: flex; flex-direction: column; gap: 10px; }
.msg {
  max-width: 92%; padding: 11px 16px;
  font-size: 13.5px; line-height: 1.7;
}
/* 回答：右侧液体玻璃气泡，三角形尾巴朝右下 */
.msg.bot {
  align-self: flex-end;
  position: relative;
  background: rgba(255, 255, 255, .65);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 18px 18px 6px 18px;
  box-shadow: 0 6px 20px -6px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.6);
  color: #2a2e2a;
}
/* 三角形尾巴：指向右下 */
.msg.bot::after {
  content: "";
  position: absolute;
  right: -8px; bottom: 8px;
  width: 0; height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent rgba(255,255,255,.65);
  filter: drop-shadow(1px 0 0 rgba(255,255,255,.8));
}
/* 提问：左侧液体玻璃气泡，三角形尾巴朝左下 */
.msg.user {
  align-self: flex-start;
  position: relative;
  background: rgba(100, 120, 140, .5);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(120, 150, 175, .6);
  border-radius: 18px 18px 18px 6px;
  box-shadow: 0 6px 20px -6px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.3);
  color: #f5f3ef;
}
/* 三角形尾巴：指向左下 */
.msg.user::after {
  content: "";
  position: absolute;
  left: -8px; bottom: 8px;
  width: 0; height: 0;
  border-style: solid;
  border-width: 5px 8px 5px 0;
  border-color: transparent rgba(100,120,140,.5) transparent transparent;
  filter: drop-shadow(-1px 0 0 rgba(120,150,175,.6));
}

/* 气泡自动漂浮：幅度加大更明显 */
.msg {
  animation: msgFloat 4.5s ease-in-out infinite;
}
.msg:nth-child(2n) { animation-delay: -1.2s; }
.msg:nth-child(3n) { animation-delay: -2.5s; }
.msg:nth-child(4n) { animation-delay: -3.7s; }
@keyframes msgFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-12px) scale(1.025); }
}
@media (prefers-reduced-motion: reduce) {
  .msg { animation: none; }
}

/* ── 数据统计：编辑排版大数字（非应用小部件） ── */
.data-panel-placeholder { /* wrapper */ }
.data-stats { display: flex; gap: clamp(20px, 3vw, 36px); margin-bottom: 30px; }
.dstat {
  flex: 1; background: none; border: none;
  border-left: 1px solid var(--cs-line);
  border-radius: 0;
  padding: 2px 0 2px clamp(16px, 2vw, 24px);
  text-align: left;
}
.dstat:first-child { border-left: none; padding-left: 0; }
.dstat b {
  display: block; font-family: var(--f-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700; line-height: 1;
  letter-spacing: -.02em;
  color: var(--cs-ink);
}
.dstat-prize b {
  font-size: clamp(17px, 1.6vw, 21px);
  white-space: nowrap;
  letter-spacing: .02em;
}
.dstat span {
  display: block; margin-top: 8px;
  font-size: 11.5px; letter-spacing: .12em;
  color: var(--cs-gray);
}

/* ── 全息悬浮卡片：3D 陀螺仪效果 ── */
.holo-card-wrap {
  perspective: 1200px;
  margin-bottom: 24px;
}
.holo-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform .2s ease-out;
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 22px 24px 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px -4px rgba(0,0,0,.1);
  animation: holoSway 3.5s ease-in-out infinite;
}
.holo-glare {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 25%,
    rgba(255,255,255,.08) 38%,
    rgba(255,255,255,.25) 50%,
    rgba(255,255,255,.08) 62%,
    transparent 75%
  );
  background-size: 250% 250%;
  background-position: 50% 50%;
  mix-blend-mode: overlay;
  opacity: .7;
  animation: glareMove 3.5s ease-in-out infinite;
}
.holo-iridescent { display: none; }
@keyframes holoSway {
  0%, 100% { transform: rotateY(-3deg) rotateX(1.5deg); }
  50%      { transform: rotateY(3deg) rotateX(-1.5deg); }
}
@keyframes glareMove {
  0%, 100% { background-position: 15% 50%; }
  50%      { background-position: 85% 50%; }
}
.holo-content {
  position: relative;
  z-index: 2;
  transform: translateZ(20px);
}
.chart-head {
  font-family: var(--f-display);
  font-size: 13px; font-weight: 700;
  margin-bottom: 16px; color: #ffffff;
}
.chart-head::before {
  content: "FIG. 01 · ";
  font-size: 10px; font-weight: 700;
  letter-spacing: .26em;
  color: #8ec5e8;
  margin-right: 6px;
}
.bar-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.bar-row:last-child { margin-bottom: 0; }
.br-lbl {
  width: 68px; font-size: 13px; color: #ffffff; flex-shrink: 0;
}
.br-track {
  flex: 1; height: 8px;
  background: rgba(255, 255, 255, .15);
  border-radius: 99px; overflow: hidden;
}
.br-track i {
  display: block; height: 100%; width: var(--w);
  background: #c8c0af;
  border-radius: 99px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s var(--ease-out-exp);
}
.br-track i.animate { transform: scaleX(1); }

/* ── 项目信息：三段带冒号条目体 ── */
.proj2-info {
  font-size: 13px; color: var(--cs-ink-2);
  line-height: 1.9;
  padding: 0 24px;
  margin-top: 18px;
}
.proj2-info strong {
  font-weight: 700;
  color: var(--cs-ink);
}
.proj2-info p + p { margin-top: 8px; }


/* ═══════════════ F  志愿 VOLUNTEER ═══════════════ */
.vol-sec {
  --cs-ink: #efeae5;
  --cs-ink-2: #e2ddd7;
  --cs-gray: #b8b6b0;
  --cs-accent: #6a9ab8;
  --cs-accent-deep: #8ec5e8;
  --cs-line: rgba(242, 240, 235, .18);
  background: transparent;
  overflow: hidden;
  position: relative;
}
.vol-sec .exp-kicker { color: #f2f0eb; }
.vol-sec .exp-role { color: #f2f0eb; }
.vol-sec .exp-date { color: #f2f0eb; }
.vol-sec .exp-desc { color: #f2f0eb; }
.leaves-layer {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.leaf {
  position: absolute; top: -40px; font-size: 20px;
  color: var(--ac-vol); opacity: .6;
  animation: leafFall linear infinite; will-change: transform;
  pointer-events: auto; cursor: pointer;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.1));
}
@keyframes leafFall {
  0% { transform: translateY(-40px) rotate(0deg) translateX(0); opacity: 0; }
  10% { opacity: .8; }
  90% { opacity: .6; }
  100% { transform: translateY(105vh) rotate(480deg) translateX(40px); opacity: 0; }
}

.vol-header { margin-bottom: 40px; position: relative; z-index: 1; }
.vol-header > div { max-width: 600px; }

.vol-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center; position: relative; z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.vol-role {
  font-size: 13px; font-weight: 700; color: var(--ac-vol);
  letter-spacing: .06em; margin-bottom: 16px;
}
.vol-info p {
  font-size: 14.5px; color: var(--cs-ink-2); line-height: 1.75; max-width: 46ch; margin-bottom: 20px;
}
.vol-info p:last-of-type { margin-bottom: 0; }
.vol-info strong {
  display: block;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--cs-ink);
  margin-bottom: 6px;
}
.vol-stat { margin: -4px 0 14px; }
.vol-stat b {
  font-family: var(--f-display); font-size: 48px; font-weight: 800;
  color: var(--ac-vol);
}
.vol-stat span { font-size: 13px; color: #f2f0eb; margin-left: 8px; }
.vol-hint {
  font-family: var(--f-accent); font-size: 18px; color: var(--ac-vol);
  opacity: .7; margin-top: 12px;
}

.vol-poem-stage {
  display: flex; align-items: center; justify-content: center;
  min-height: 280px;
  margin-top: -30px;
}
.poem-display {
  font-family: var(--f-display); font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.75; color: var(--ink); text-align: center;
  border-left: 3px solid var(--ac-vol); padding-left: 24px;
  transition: opacity .4s, transform .4s;
  max-width: 340px;
}


/* ═══════════════ G  MEDIA ═══════════════ */
.media-sec {
  --cs-ink: #f5f3ef;
  --cs-ink-2: #e8e7e3;
  --cs-gray: #e0dfda;
  --cs-accent: #6a9ab8;
  --cs-accent-deep: #8ec5e8;
  --cs-line: rgba(242, 240, 235, .18);
  background: transparent;
  position: relative;
  overflow: hidden;
}
.media-sec .exp-top { margin-bottom: clamp(34px, 5vh, 54px); }
.media-sec .exp-head-grid { grid-template-columns: 1fr; }

.media-videos {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; margin-bottom: 48px;
  max-width: var(--max-w); margin-inline: auto; padding: 0 var(--gutter);
}
.media-card { width: 100%; }
.vid-wrap, .vid-wrap video {
  width: 100%; aspect-ratio: 16 / 10;
  border-radius: 4px; overflow: hidden;
}
.media-card {
  background: none; border: none;
  border-radius: 0; padding: 0;
  transition: none;
}
.media-card:hover {
  box-shadow: none;
}
.vid-feature { margin-bottom: 0; }

/* ── 视频信息 + X.com 风格交互栏（暗黑模式） ── */
.vid-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 4px 4px; }
.vid-meta h4 { font-size: 15px; font-weight: 600; color: var(--cs-ink); }
.vid-actions { display: flex; gap: 6px; }
.va-btn {
  display: flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px 10px; border-radius: 999px;
  color: #c0c4c8; font-family: var(--f-body);
  font-size: 12px; font-weight: 500;
  transition: background .2s, color .2s, transform .15s;
}
.va-btn:active { transform: scale(.92); }
.va-icon { width: 18px; height: 18px; fill: none; transition: fill .25s, stroke .25s, transform .3s; }

/* 点赞特效 */
.va-like.liked { color: #f91880; }
.va-like.liked .va-heart { fill: #f91880; stroke: #f91880; animation: heartPop .35s cubic-bezier(.34,1.56,.64,1); }
@keyframes heartPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  70% { transform: scale(.9); }
  100% { transform: scale(1); }
}
.va-like:hover { background: rgba(249,24,128,.1); color: #f91880; }

/* 分享特效 */
.va-share.shared .va-icon { animation: shareBurst .4s ease; color: #00ba7c; }
@keyframes shareBurst {
  0% { transform: translateX(0) scale(1); }
  30% { transform: translateX(3px) scale(1.15); }
  60% { transform: translateX(-2px) scale(.95); }
  100% { transform: translateX(0) scale(1); }
}
.va-share:hover { background: rgba(0,186,124,.1); color: #00ba7c; }

/* 评论按钮 */
.va-comment:hover { background: rgba(29,155,240,.1); color: #1d9bf0; }
.va-comment.opened { color: #1d9bf0; background: rgba(29,155,240,.1); }

/* ── 评论区（暗黑模式，常开） ── */
.vid-comments {
  max-height: 500px; overflow: visible;
}
.vc-list { display: flex; flex-direction: column; gap: 8px; padding: 4px 0 12px; }
.vc-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 12px; border-radius: 12px;
  background: rgba(255,255,255,.04);
  animation: vcSlideIn .3s var(--ease-out-exp);
}
@keyframes vcSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.vc-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #6d9eeb, #d9a441);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #fff; font-weight: 600;
}
.vc-body { flex: 1; }
.vc-name { font-size: 12px; font-weight: 600; color: #e7e9ea; }
.vc-text { font-size: 13px; color: #a0a8b0; line-height: 1.5; margin-top: 2px; }
.vc-hint { font-size: 13px; color: #c0c4c8; margin-bottom: 6px; font-style: italic; }
.vc-form { display: flex; gap: 8px; padding: 4px 0 8px; }
.vc-input {
  flex: 1; padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
  font-family: var(--f-body); font-size: 13px;
  background: rgba(255,255,255,.05); color: #e7e9ea;
  outline: none; transition: border-color .2s;
}
.vc-input::placeholder { color: #e0dfe2; }
.vc-input:focus { border-color: #1d9bf0; }
.vc-submit {
  padding: 8px 18px; border: none; border-radius: 999px;
  background: #1d9bf0; color: #fff;
  font-family: var(--f-body); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: background .2s, transform .15s;
}
.vc-submit:hover { background: #1a8cd8; }
.vc-submit:active { transform: scale(.93); }
.vc-submit:disabled { opacity: .5; cursor: default; }

/* ── 翻书轮播（完整双页结构 + 整张纸 3D 翻页） ── */
.book-carousel {
  position: relative;
  max-width: 720px;
  margin: 0 auto 48px;
  padding: 0 var(--gutter);
  perspective: 1800px;
  overflow: hidden;
}
.book-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  border-radius: 4px;
  transform-style: preserve-3d;
}
/* 左页（静态） */
.book-page-left,
.book-page-right {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background-size: 200% auto;
  background-repeat: no-repeat;
  overflow: hidden;
  z-index: 1;
}
.book-page-left {
  left: 0;
  background-position: left center;
  border-radius: 4px 0 0 4px;
}
.book-page-right {
  right: 0;
  background-position: right center;
  border-radius: 0 4px 4px 0;
}

/* 中央书脊 */
.book-spine {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 6px;
  transform: translateX(-50%);
  background: linear-gradient(to right,
    transparent 0%,
    rgba(0,0,0,.03) 25%,
    rgba(45,35,22,.3) 45%,
    rgba(55,42,28,.45) 50%,
    rgba(45,35,22,.3) 55%,
    rgba(0,0,0,.03) 75%,
    transparent 100%);
  z-index: 100;
  pointer-events: none;
  border-radius: 3px;
}
/* 书脊两侧柔化投影 */
.book-spine-shadow {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 100px;
  transform: translateX(-50%);
  background: linear-gradient(to right,
    transparent 0%,
    rgba(0,0,0,.05) 20%,
    rgba(0,0,0,.08) 45%,
    rgba(0,0,0,.08) 55%,
    rgba(0,0,0,.05) 80%,
    transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* 翻页层：半页宽，绕书脊旋转 */
.flip-page {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.22, .61, .36, 1);
  z-index: 50;
  pointer-events: none;
  will-change: transform;
}
.flip-page.hidden {
  opacity: 0;
}
/* 右翻：右半页，绕左边缘（书脊）向左翻 */
.flip-page.flip-right-dir {
  right: 0;
  transform-origin: left center;
}
/* 左翻：左半页，绕右边缘（书脊）向右翻 */
.flip-page.flip-left-dir {
  left: 0;
  transform-origin: right center;
}

/* 正反面 — 各显示半页内容 */
.flip-front, .flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background-size: 200% auto;
  background-repeat: no-repeat;
  overflow: hidden;
}
/* 右翻：正面显示右半页，背面显示左半页（下一页的左半，翻过去后衔接） */
.flip-page.flip-right-dir .flip-front {
  background-position: right center;
  border-radius: 0 4px 4px 0;
}
.flip-page.flip-right-dir .flip-back {
  background-position: left center;
  transform: rotateY(180deg);
  border-radius: 4px 0 0 4px;
}
/* 左翻：正面显示左半页，背面显示右半页（上一页的右半，翻过去后衔接） */
.flip-page.flip-left-dir .flip-front {
  background-position: left center;
  border-radius: 4px 0 0 4px;
}
.flip-page.flip-left-dir .flip-back {
  background-position: right center;
  transform: rotateY(-180deg);
  border-radius: 0 4px 4px 0;
}

/* 纸张厚度边缘（自由边） */
.flip-page .fp-edge {
  position: absolute;
  top: 0; bottom: 0;
  width: 3px;
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(to right,
    rgba(255,253,248,.85) 0%,
    rgba(225,220,210,.65) 50%,
    rgba(200,195,185,.45) 100%);
  box-shadow: 1px 0 4px rgba(0,0,0,.12);
}
.flip-page.flip-right-dir .fp-edge {
  right: 0;
  border-radius: 0 3px 3px 0;
}
.flip-page.flip-left-dir .fp-edge {
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* 动态阴影（书脊侧） */
.flip-page .fp-shade {
  position: absolute;
  top: 0; bottom: 0;
  width: 55px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity .45s ease;
}
.flip-page.flip-right-dir .fp-shade {
  left: 0;
  background: linear-gradient(to right,
    rgba(0,0,0,.22) 0%,
    rgba(0,0,0,.08) 45%,
    transparent 100%);
}
.flip-page.flip-left-dir .fp-shade {
  right: 0;
  background: linear-gradient(to left,
    rgba(0,0,0,.22) 0%,
    rgba(0,0,0,.08) 45%,
    transparent 100%);
}
.flip-page.flipping .fp-shade { opacity: 1; }

/* hover 方向提示 */
.book-hover-l, .book-hover-r {
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  z-index: 200;
  pointer-events: none;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity .35s;
  color: rgba(255,255,255,.28);
  font-size: 26px;
}
.book-hover-l { left: 0; justify-content: flex-start; padding-left: 20px; }
.book-hover-r { right: 0; justify-content: flex-end; padding-right: 20px; }
.book-hover-l.visible { opacity: 1; }
.book-hover-r.visible { opacity: 1; }

/* 圆点 */
.book-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.book-hint {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.06em;
  margin-top: 10px;
  opacity: 1;
}
.book-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(42,42,38,.18);
  cursor: pointer; transition: background .25s, width .3s;
}
.book-dot.active { background: rgba(42,42,38,.7); width: 18px; border-radius: 999px; }

@media (max-width: 768px) {
  .book-carousel { max-width: 100%; overflow: hidden; }
  .book-stage { aspect-ratio: 16 / 9; }
}


.social-proof {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 8px; background: #F8F8F8;
  border-radius: 14px; margin-top: 12px;
}
.sp-thumb {
  width: 60px; height: 60px; border-radius: 10px;
  overflow: hidden; flex-shrink: 0; border: 1px solid var(--line);
}
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sp-info h4 { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.sp-stats { display: flex; gap: 16px; }
.sp-stats span { font-size: 12.5px; color: var(--ink-3); }
.sp-stats b { color: var(--ac-vol); }

/* PPT Grid */
.ppt-area { margin-top: 12px; }
.ppt-label {
  font-family: var(--f-display); font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 18px;
}
.ppt-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.ppt-item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
  transition: all .35s var(--ease-out);
}
.ppt-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px -24px rgba(17,17,17,.12);
}
.ppt-img {
  aspect-ratio: 16/9; background-size: cover;
  background-position: center; background-color: #f0f0f0;
}
.ppt-meta { padding: 14px 16px; }
.ppt-meta h4 {
  font-family: var(--f-display); font-size: 17px; font-weight: 700;
}
.ppt-meta span {
  font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em;
}


/* ═══════════════ H  AI LAB ═══════════════ */
.ai-sec {
  --cs-ink: #f5f3ef;
  --cs-ink-2: #e8e7e3;
  --cs-gray: #e0dfda;
  --cs-accent: #6a9ab8;
  --cs-accent-deep: #8ec5e8;
  --cs-line: rgba(242, 240, 235, .18);
  background: transparent;
  position: relative;
  overflow: hidden;
}
.ai-sec .exp-top { margin-bottom: clamp(34px, 5vh, 54px); }
.ai-sec .exp-head-grid { grid-template-columns: 1fr; }
.ai-header { margin-bottom: 40px; }
.ai-header > div { max-width: 600px; }

.ai-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.ai-text p {
  font-size: 14px; color: var(--cs-ink-2); line-height: 1.75; margin-bottom: 10px;
}
.ai-text strong { color: var(--cs-ink); }

.ai-pipeline {
  display: flex; flex-direction: column; gap: 6px;
  align-items: flex-start; margin: 8px 0 18px;
}
.apipe {
  background: rgba(106, 154, 184, .25); color: #8ec5e8;
  font-size: 13px; font-weight: 500;
  padding: 9px 20px; border-radius: 24px;
  letter-spacing: .03em;
  backdrop-filter: blur(8px) saturate(160%);
  -webkit-backdrop-filter: blur(8px) saturate(160%);
  border: 1px solid rgba(106, 154, 184, .35);
}
.apipe-arrow {
  color: #6a9ab8; font-size: 16px; padding-left: 18px;
}

/* ── 文件夹按钮 ── */
.ai-folder-area {
  display: flex; align-items: center; justify-content: center;
  min-height: 200px;
}
.ai-folder-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer; user-select: none;
  transition: transform .3s var(--ease-out-exp);
}
.ai-folder-btn:hover { transform: scale(1.05); }
.ai-folder-btn:active { transform: scale(.95); }
.ai-folder-icon {
  width: 80px; height: 60px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.15));
  transition: transform .4s var(--ease-out-exp);
}
.ai-folder-icon svg { width: 100%; height: 100%; }
.ai-folder-label {
  font-family: var(--f-body); font-size: 14px; font-weight: 600;
  color: #f5f3ef; letter-spacing: .08em;
  opacity: 1; transition: opacity .3s;
}
.ai-folder-btn:hover .ai-folder-label { opacity: 1; }
.ai-sec.open .ai-folder-icon { transform: rotate(-8deg) scale(.92); }

/* ── 分散图片卡片 ── */
.ai-scatter {
  position: absolute; inset: 0; z-index: 5;
  pointer-events: none;
}
.ai-card {
  position: absolute;
  left: var(--sx); top: var(--sy);
  width: var(--w);
  margin: 0;
  background: #fff;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 12px 40px -12px rgba(0,0,0,.20);
  opacity: 0;
  pointer-events: none;
  transform: translate(0, 120px) scale(.05) rotate(0deg);
  transform-origin: bottom center;
  transition: transform .7s cubic-bezier(.26,1.3,.5,1), opacity .5s;
}
.ai-sec.open .ai-card {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, 0) scale(1) rotate(var(--rot));
  cursor: zoom-in;
}
.ai-sec.open .ai-card:nth-child(1) { transition-delay: .1s; }
.ai-sec.open .ai-card:nth-child(2) { transition-delay: .25s; }
.ai-sec.open .ai-card:nth-child(3) { transition-delay: .4s; }
.ai-card img {
  width: 100%; display: block;
  border-radius: 14px 14px 0 0;
}
.ai-card figcaption {
  font-size: 13px; color: #6a6a62;
  padding: 8px 12px; text-align: center;
  letter-spacing: .04em;
}
.ai-card-wide img { aspect-ratio: 16 / 10; object-fit: cover; }

/* ── 分散位置：桌面 ── */
.ai-card:nth-child(1) { --sx: 8%;  --sy: 22%; --rot: -4deg; --w: 380px; }  /* Coze 左中大 */
.ai-card:nth-child(2) { --sx: 83%; --sy: 28%; --rot: 6deg;  --w: 190px; }  /* 飞书详情页 文件夹右边 */
.ai-card:nth-child(3) { --sx: 26%; --sy: 62%; --rot: -2deg; --w: 420px; }  /* 飞书推送 中下宽 */
.ai-sec.open .ai-card:hover {
  z-index: 10;
  transform: translate(0, -8px) scale(1.04) rotate(0deg);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.25);
  transition: transform .35s var(--ease-out-exp), box-shadow .35s;
}

/* ── 灯箱 ── */
.ai-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.ai-lightbox.open { opacity: 1; pointer-events: auto; }
.ai-lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(20,18,14,.75);
  backdrop-filter: blur(6px);
}
.ai-lb-inner {
  position: relative; z-index: 1;
  max-width: 88vw; max-height: 80vh;
  display: flex; flex-direction: column; align-items: center;
}
.ai-lb-inner img {
  max-width: 88vw; max-height: 72vh;
  border-radius: 12px;
  box-shadow: 0 24px 80px -20px rgba(0,0,0,.5);
}
.ai-lb-cap {
  margin-top: 14px;
  font-size: 14px; color: rgba(255,255,255,.7);
  letter-spacing: .04em;
}
.ai-lb-close {
  position: absolute; top: 24px; right: 24px; z-index: 2;
  width: 40px; height: 40px;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff; font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.ai-lb-close:hover { background: rgba(255,255,255,.3); }

@media (prefers-reduced-motion: reduce) {
  .ai-card {
    opacity: 1; transform: none;
    transition: none;
  }
  .ai-sec:not(.open) .ai-card { opacity: 0; }
}

/* Footer */
.site-footer {
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid var(--line); text-align: center;
}
.footer-top {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 8px;
}
.footer-name {
  font-family: var(--f-display); font-size: 20px; font-weight: 800;
}
.footer-dot { color: var(--ink-3); }
.footer-year {
  font-family: var(--f-display); font-size: 20px; font-weight: 800;
  color: #e8902c;
}
.footer-sub {
  font-size: 13px; color: var(--ink);
  letter-spacing: .08em;
}


/* ═══════════════ RESPONSIVE ═══════════════ */
@media(max-width: 1024px) {
  .ppt-grid, .media-videos { grid-template-columns: repeat(2, 1fr); }
  .proj1-body, .proj2-split, .vol-split, .ai-split {
    grid-template-columns: 1fr;
  }
  .proj1-map-wrap, .chat-side { position: static; }
  .exp-head-grid { grid-template-columns: 1fr; gap: 30px; }
  .exp-head-right { padding-bottom: 0; }
  /* 平板：图片缩小，避开中心文件夹 */
  .ai-card:nth-child(1) { --sx: 1%;  --sy: 10%; --w: 260px; }
  .ai-card:nth-child(2) { --sx: 76%; --sy: 14%; --w: 150px; }
  .ai-card:nth-child(3) { --sx: 10%; --sy: 48%; --w: 300px; }
}

@media(max-width: 768px) {
  .float-nav { padding: 14px 20px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 11px; }
  .nav-clock { display: none; }
  .section-dots { display: none; }

  .hero { padding: 110px 20px 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-left { justify-content: center; }
  .dream-photo { max-width: 320px; margin: 0 auto; }
  .hero-right { text-align: left; }
  .name-en { font-size: clamp(42px, 13vw, 64px); }

  .sec { padding: 64px 20px; }
  .sec-num { font-size: 48px; }

  .ppt-grid, .media-videos {
    grid-template-columns: 1fr;
  }
  .exp-data { width: 100%; flex-wrap: wrap; }

  /* 手机：图片更小，全部避开中心文件夹 */
  .ai-card:nth-child(1) { --sx: 1%;  --sy: 14%; --w: 150px; }
  .ai-card:nth-child(2) { --sx: 62%; --sy: 10%; --w: 100px; }
  .ai-card:nth-child(3) { --sx: 5%;  --sy: 46%; --w: 200px; }
  .ai-folder-area { min-height: 220px; }
  .ai-folder-icon { width: 56px; height: 42px; }
  .ai-folder-label { font-size: 11px; }
}

@media(max-width: 480px) {
  .dstat { padding: 2px 0 2px 14px; }
  .pill-btn { padding: 10px 20px; font-size: 12px; }
  .hn-line { font-size: clamp(38px, 12vw, 60px); }
  /* 超小屏：最小尺寸，紧贴边缘不挡文件夹 */
  .ai-card:nth-child(1) { --sx: 1%;  --sy: 4%;  --w: 120px; }
  .ai-card:nth-child(2) { --sx: 58%; --sy: 2%;  --w: 80px; }
  .ai-card:nth-child(3) { --sx: 3%;  --sy: 30%; --w: 160px; }
}


/* ═══════════════ MOBILE ENHANCED (≤768px) ═══════════════ */
@media(max-width: 768px) {
  /* 通用：section 间距收紧 */
  .sec { padding: 56px 0; }
  .sec-num { font-size: 36px; letter-spacing: .02em; }
  .exp-kicker { font-size: 11px; letter-spacing: .2em; }
  .exp-title {
    font-size: clamp(28px, 7.5vw, 44px);
    line-height: 1.15;
  }
  .exp-sub { font-size: 13.5px; line-height: 1.7; }
  .exp-no-line { margin: 0 10px; width: 28px; }

  /* ── Hero ── */
  .hero { min-height: auto; padding: 90px 20px 60px; }
  .hero-inner { gap: 32px; max-width: 100%; }
  .hero-tree { opacity: .75; z-index: 3; }
  .dream-photo { max-width: 240px; }
  .name-en { font-size: clamp(36px, 11vw, 56px); }
  .name-cn { font-size: 16px; }
  .hero-tagline { font-size: 13px; }
  .hero-cta { font-size: 12px; padding: 10px 22px; }
  .hero-stats { gap: 20px; margin-top: 24px; }
  .hs-num { font-size: 22px; }
  .hs-label { font-size: 11px; }

  /* ── About / 目录页 ── */
  .about-sec { min-height: auto; padding: 60px 0; }
  .poster-stage { padding: 0 20px; }
  .poster-word {
    font-size: clamp(26px, 8vw, 44px);
    letter-spacing: -0.01em;
    white-space: normal;
    line-height: 1.2;
    opacity: 0.85;
    text-align: center;
  }
  .poster-word:active { opacity: 1; }
  .poster-word:not(:last-child) {
    padding-bottom: 16px;
    margin-bottom: 16px;
    width: 100%;
    margin-left: 0;
  }

  /* ── Experience ── */
  .exp-sec { padding: 60px 0; }
  .exp-top { margin-bottom: 36px; }
  .exp-head-grid { gap: 24px; }
  .proj2-sec .exp-head-grid { grid-template-columns: 1fr; }
  .proj2-sec .exp-head-right { padding-top: 0; }
  .exp-head-right { padding: 0; }
  .exp-role, .exp-date { font-size: 12px; }
  .exp-desc { font-size: 13.5px; line-height: 1.7; }
  .impact-row { gap: 24px; }
  .impact-item { padding-left: 0; padding-top: 0; border-left: none; border-top: 1px solid var(--cs-line); padding-top: 20px; }
  .impact-item:first-child { border-top: none; padding-top: 0; }
  .impact-num { font-size: 40px; }
  .impact-label { font-size: 12px; }
  .modules { gap: 24px; }
  .module + .module { padding-top: 24px; }
  .mod-title { font-size: 15px; }
  .mod-desc { font-size: 13px; line-height: 1.7; }
  .wave-stage { height: 560px; }

  /* ── Project 1 大创 ── */
  .proj1-sec { padding: 56px 0; }
  .proj1-text { padding-top: 0; }
  .proj1-map-wrap { padding-top: 12px; }
  .proj1-details { margin-top: 16px; }
  .proj1-details p { font-size: 13.5px; line-height: 1.7; }
  .proj1-details strong { font-size: 11px; }
  .map-head { margin-bottom: 10px; }
  .map-title { font-size: 11px; }
  .map-tag { font-size: 11px; }
  .rm-label { font-size: 11px; }

  /* ── Project 2 挑战杯 ── */
  .proj2-sec { padding: 56px 0; }
  .proj2-split { gap: 32px; }
  .proj2-left { padding-top: 0; }
  .proj2-right {
    padding-top: 0;
    padding-left: 0;
  }
  .chat-box { max-width: 100%; }
  .chat-title { font-size: 11.5px; }
  .msg {
    max-width: 88%;
    padding: 9px 14px;
    font-size: 12.5px;
    line-height: 1.65;
  }
  .holo-card-wrap { margin-bottom: 20px; }
  .holo-card { padding: 20px; }
  .chart-head { font-size: 13px; margin-bottom: 16px; }
  .bar-row { margin-bottom: 12px; }
  .br-lbl { font-size: 12px; }
  .proj2-info { padding: 0; margin-top: 20px; }
  .proj2-info p { font-size: 13px; line-height: 1.7; }
  .proj2-info strong { font-size: 11px; }

  /* ── Volunteer 古诗进社区 ── */
  .vol-sec { padding: 56px 0; }
  .vol-split { gap: 28px; }
  .vol-role { font-size: 12px; }
  .vol-info p { font-size: 13.5px; line-height: 1.7; }
  .vol-info strong { font-size: 11px; }
  .poem-display { padding: 24px 20px; }
  .poem-title { font-size: 18px; }
  .poem-body { font-size: 15px; line-height: 2; }
  .poem-author { font-size: 12px; }

  /* ── AI Lab ── */
  .ai-sec { padding: 56px 0; }
  .ai-split { gap: 28px; }
  .ai-header { margin-bottom: 28px; }
  .ai-text p { font-size: 13.5px; line-height: 1.7; }
  .ai-pipeline { gap: 6px; margin: 12px 0 16px; }
  .apipe { font-size: 12px; padding: 7px 16px; }
  .ai-folder-area { min-height: 260px; }
  .ai-folder-icon { width: 64px; height: 48px; }
  .ai-folder-label { font-size: 12px; }
  .ai-folder-hint { font-size: 11px; margin-top: 6px; }
  /* 手机：scatter 在文件夹区域内，相对于文件夹定位，永远在上方 */
  .ai-folder-area { position: relative; min-height: 260px; overflow: visible; }
  .ai-scatter {
    position: absolute;
    inset: auto;
    left: 0; right: 0;
    bottom: 100%;
    height: 320px;
  }
  .ai-card:nth-child(1) { --sx: 0%;   --sy: 0%;   --w: 120px; }
  .ai-card:nth-child(2) { --sx: 62%;  --sy: 6%;   --w: 95px; }
  .ai-card:nth-child(3) { --sx: 20%;  --sy: 48%;  --w: 160px; }

  /* ── Media 媒体 ── */
  .media-sec { padding: 56px 0; }
  .media-videos { gap: 24px; }
  .ppt-grid { gap: 20px; }
  .vid-wrap { border-radius: 12px; }
  .vid-cap { font-size: 13px; padding: 12px 0 8px; }
  .vid-actions { gap: 14px; margin-top: 8px; }
  .va-btn { font-size: 12px; gap: 4px; }
  .vc-input { font-size: 12px; padding: 8px 14px; }
  .vc-submit { font-size: 12px; padding: 8px 16px; }
  .book-carousel { padding: 0; max-width: 100%; margin-bottom: 32px; }
  .book-stage { aspect-ratio: 16 / 9; }
  .book-hint { font-size: 12px; margin-top: 8px; }

  /* ── 页脚 ── */
  .site-footer { padding: 40px 0 24px; }
  .footer-inner { gap: 16px; }
  .footer-name { font-size: 16px; }
  .footer-year { font-size: 16px; }
  .footer-dot { font-size: 12px; }
  .footer-sub { font-size: 11px; text-align: center; padding: 0 20px; }
  .footer-line { margin: 16px 0; }
}

/* ═══════════════ SMALL PHONE (≤480px) ═══════════════ */
@media(max-width: 480px) {
  .sec { padding: 44px 0; }
  .hero { padding: 80px 16px 48px; }
  .dream-photo { max-width: 200px; }
  .name-en { font-size: clamp(30px, 10vw, 44px); }
  .exp-title { font-size: clamp(24px, 7vw, 36px); }
  .poster-word { font-size: clamp(24px, 8vw, 40px); }
  .impact-num { font-size: 32px; }
  .wave-stage { height: 500px; }
  .msg { font-size: 12px; padding: 8px 12px; }
  .poem-title { font-size: 16px; }
  .poem-body { font-size: 14px; }
  .book-stage { aspect-ratio: 4 / 3; }
}
