:root {
  --bg: #ffffff;
  --bg-alt: #f8f7f4;
  --bg-card: #ffffff;
  --text: #0a0a0b;
  --text-soft: rgba(10,10,11,0.7);
  --text-mute: rgba(10,10,11,0.5);
  --text-faint: rgba(10,10,11,0.3);
  --line: rgba(10,10,11,0.12);
  --shadow: 0 22px 40px -12px rgba(0,0,0,0.15), 0 4px 8px -2px rgba(0,0,0,0.06);
  --serif: 'Times New Roman', 'Songti SC', 'STSong', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
  --hand: 'Caveat', cursive;
  --ease-quiet: cubic-bezier(.22, 1, .36, 1);
  --ease-precise: cubic-bezier(.4, 0, .2, 1);
  --ease-emphasis: cubic-bezier(.16, 1, .3, 1);
}
[data-theme="dark"] {
  --bg: #0a0a0b;
  --bg-alt: #131316;
  --bg-card: #18181c;
  --text: #f5f5f0;
  --text-soft: rgba(245,245,240,0.75);
  --text-mute: rgba(245,245,240,0.55);
  --text-faint: rgba(245,245,240,0.35);
  --line: rgba(245,245,240,0.12);
  --shadow: 0 22px 40px -12px rgba(0,0,0,0.6), 0 4px 8px -2px rgba(0,0,0,0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background 0.6s var(--ease-quiet), color 0.6s var(--ease-quiet); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; color: inherit; cursor: pointer; font: inherit; }

.noise { position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0.035; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E"); }
[data-theme="dark"] .noise { opacity: 0.08; mix-blend-mode: screen; }

/* === 艺术感菜单 === */
.nav { 
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; 
  display: flex; justify-content: space-between; align-items: baseline; 
  padding: 1.2rem 3rem; 
  background: rgba(255, 255, 255, 0.45); 
  backdrop-filter: blur(40px) saturate(180%); 
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-bottom: none; 
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 4px 30px rgba(0,0,0,0.04); 
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; 
  transition: all 0.5s var(--ease-quiet); 
}
.nav.scrolled { 
  padding: 0.85rem 3rem; 
  background: rgba(255, 255, 255, 0.65); 
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 40px rgba(0,0,0,0.06); 
}
[data-theme="dark"] .nav { 
  background: rgba(10, 10, 11, 0.55); 
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 4px 30px rgba(0,0,0,0.4); 
}
[data-theme="dark"] .nav.scrolled { 
  background: rgba(10, 10, 11, 0.75); 
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 40px rgba(0,0,0,0.6); 
}

.nav-logo { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; letter-spacing: -0.02em; text-transform: none; flex-shrink: 0; cursor: pointer; user-select: none; display: flex; align-items: baseline; gap: 0.6rem; }
.nav-logo small { font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mute); font-weight: 400; }

.nav-menu { display: flex; gap: 2.5rem; }
.nav-menu a { color: var(--text-soft); transition: color 0.4s var(--ease-quiet); position: relative; display: flex; align-items: baseline; gap: 0.3rem; }
.nav-menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-quiet); }
.nav-menu a:hover { color: var(--text); }
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: baseline; gap: 1.2rem; flex-shrink: 0; }
.nav-cta { display: inline-flex; align-items: baseline; gap: 0.5rem; color: var(--text); font-size: 0.7rem; }
.nav-cta::after { content: '→'; transition: transform 0.4s var(--ease-quiet); }
.nav-cta:hover::after { transform: translateX(4px); }

.theme-toggle { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: all 0.4s var(--ease-quiet); color: var(--text); flex-shrink: 0; background: rgba(255,255,255,0.4); backdrop-filter: blur(8px); }
[data-theme="dark"] .theme-toggle { background: rgba(10,10,11,0.4); }
.theme-toggle:hover { background: var(--bg-alt); }
.theme-toggle svg { width: 14px; height: 14px; }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

.section-label { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-mute); display: inline-flex; align-items: center; gap: 0.9rem; }
.section-label::before { content: ''; width: 32px; height: 1px; background: var(--text-mute); flex-shrink: 0; }

/* === Hero 幻灯片修复失真 === */
.hero { position: relative; min-height: 48vh; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease-quiet); }
.slide.active { opacity: 1; }
.slide img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  object-position: center; 
  filter: grayscale(0.35) contrast(1.04); 
}
[data-theme="dark"] .slide img { filter: grayscale(0.2) contrast(1.1) brightness(0.7); }

.hero-slides::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 25%; min-height: 120px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, var(--bg) 0%, rgba(255,255,255,0.4) 50%, transparent 100%); }
[data-theme="dark"] .hero-slides::before { background: linear-gradient(180deg, var(--bg) 0%, rgba(10,10,11,0.4) 50%, transparent 100%); }
.hero-slides::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 15%; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(255,255,255,0.4) 0%, transparent 100%); }
[data-theme="dark"] .hero-slides::after { background: linear-gradient(0deg, rgba(10,10,11,0.4) 0%, transparent 100%); }

.hero-content { position: relative; z-index: 2; min-height: 48vh; display: flex; flex-direction: column; padding: 5.5rem 3rem 3.5rem; gap: 1.2rem; }
.hero-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.hero-top .section-num { display: none; }
.hero-center { flex: 1; display: grid; grid-template-columns: 7fr 5fr; gap: 3rem; align-items: center; }
.hero-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 7vw, 6.5rem); line-height: 0.95; letter-spacing: -0.025em; width: fit-content; text-shadow: 0 4px 20px rgba(0,0,0,0.15); }
[data-theme="dark"] .hero-title { text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.line-mask { overflow: hidden; display: block; padding-bottom: 0.05em; }
.line { display: block; transform: translateY(110%); will-change: transform; }
.line.italic { font-style: italic; }

.hero-side { 
  display: flex; flex-direction: column; gap: 1.5rem; width: fit-content; 
  background: rgba(255, 255, 255, 0.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); 
  border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 12px; padding: 2rem 2.5rem; 
  box-shadow: 0 8px 32px rgba(0,0,0,0.08); text-shadow: 0 2px 10px rgba(255,255,255,0.5); 
}
[data-theme="dark"] .hero-side { 
  background: rgba(10, 10, 11, 0.3); border: 1px solid rgba(255, 255, 255, 0.12); 
  box-shadow: 0 8px 32px rgba(0,0,0,0.4); text-shadow: 0 2px 10px rgba(0,0,0,0.5); 
}

.hero-sub { font-size: 0.98rem; line-height: 1.78; color: var(--text-soft); max-width: 26rem; }
.hero-cta { display: inline-flex; align-items: center; gap: 0.8rem; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.9rem 0; border-top: 1px solid var(--text); border-bottom: 1px solid var(--text); width: fit-content; transition: padding 0.6s var(--ease-quiet); }
.hero-cta::after { content: '→'; transition: transform 0.5s var(--ease-quiet); }
.hero-cta:hover { padding: 0.9rem 0.5rem; }
.hero-cta:hover::after { transform: translateX(6px); }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-mute); flex-wrap: wrap; gap: 0.8rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.hero-scroll { display: flex; align-items: center; gap: 0.8rem; }
.hero-scroll-line { width: 56px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero-scroll-line::after { content: ''; position: absolute; inset: 0; background: var(--text); transform: translateX(-100%); animation: scrollLine 2.4s var(--ease-quiet) infinite; }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }
.hero-controls { position: absolute; bottom: 0.6rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 1.5rem; }
.slide-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.85); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: all 0.4s var(--ease-quiet); color: var(--text); }
[data-theme="dark"] .slide-btn { background: rgba(10,10,11,0.85); }
.slide-btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.slide-btn svg { width: 14px; height: 14px; }
.slide-dots { display: flex; gap: 0.7rem; align-items: center; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); cursor: pointer; transition: all 0.4s var(--ease-quiet); }
.dot.active { background: var(--text); width: 24px; border-radius: 4px; }

.section-header { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: end; margin-bottom: 3.5rem; }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 0.98; letter-spacing: -0.02em; margin-top: 2rem; }
.section-title em { font-style: italic; }
.section-intro { font-size: 1rem; color: var(--text-soft); line-height: 1.78; max-width: 28rem; }

.video-card { display: flex; flex-direction: column; gap: 1.2rem; }
.video-poster { position: relative; overflow: hidden; cursor: pointer; background: var(--bg-alt); }
.video-poster img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3) contrast(1.04); transition: transform 1.3s var(--ease-quiet), filter 0.8s var(--ease-quiet); }
[data-theme="dark"] .video-poster img { filter: grayscale(0.15) contrast(1.1); }
.video-poster:hover img { transform: scale(1.05); filter: grayscale(0) contrast(1.02); }
[data-theme="dark"] .video-poster:hover img { filter: grayscale(0) contrast(1.05) brightness(1.1); }
.video-poster.tall { aspect-ratio: 4/5; }
.video-poster.wide { aspect-ratio: 16/9; }
.video-poster.std { aspect-ratio: 3/2; }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,0.88); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; transition: all 0.5s var(--ease-quiet); z-index: 2; }
[data-theme="dark"] .play-btn { background: rgba(10,10,11,0.88); }
[data-theme="dark"] .play-btn svg { color: #f5f5f0; }
.play-btn svg { width: 22px; height: 22px; color: #0a0a0b; margin-left: 3px; }
.video-poster:hover .play-btn { background: #fff; transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 8px 30px rgba(0,0,0,0.25); }
[data-theme="dark"] .video-poster:hover .play-btn { background: #f5f5f0; }
[data-theme="dark"] .video-poster:hover .play-btn svg { color: #0a0a0b; }
.video-duration { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.72); color: #fff; font-family: var(--serif); font-size: 0.78rem; letter-spacing: 0.03em; padding: 3px 10px; z-index: 2; }
.video-tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.92); color: #0a0a0b; font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 4px 10px; z-index: 2; }
[data-theme="dark"] .video-tag { background: rgba(245,245,240,0.92); color: #0a0a0b; }
.video-meta { display: flex; flex-direction: column; gap: 0.4rem; }
.video-num { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--text-faint); }
.video-title { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; }
.video-title small { display: block; font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mute); margin-top: 0.5rem; font-weight: 400; }
.video-desc { font-size: 0.9rem; color: var(--text-soft); line-height: 1.68; }

/* === 简介部分 === */
.profile { padding: 0 3rem 4rem; max-width: 1400px; margin: 0 auto; }
.profile-main { display: grid; grid-template-columns: 5fr 7fr; gap: 3.5rem; align-items: stretch; margin-bottom: 3rem; }
.profile-video { position: relative; height: 100%; }
.profile-slides { position: relative; width: 100%; height: 100%; min-height: 480px; overflow: hidden; border-radius: 8px; background: var(--bg-alt); box-shadow: var(--shadow); }
.profile-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease-quiet); }
.profile-slide.active { opacity: 1; }
.profile-slide img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2) contrast(1.04); transform: scale(1.02); }
.profile-slide.active img { animation: profileZoom 18s var(--ease-quiet) forwards; }
[data-theme="dark"] .profile-slide img { filter: grayscale(0.1) contrast(1.1); }
@keyframes profileZoom { to { transform: scale(1.06); } }
.profile-slides::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.15) 100%); }
.profile-slide-controls { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 1rem; }
.profile-slide-controls .slide-btn { width: 32px; height: 32px; background: rgba(255,255,255,0.85); }
[data-theme="dark"] .profile-slide-controls .slide-btn { background: rgba(10,10,11,0.85); }
.profile-slide-controls .slide-btn svg { width: 12px; height: 12px; }
.profile-slide-controls .dot { width: 6px; height: 6px; }
.profile-slide-controls .dot.active { width: 20px; }
.profile-detail { display: flex; flex-direction: column; gap: 1.2rem; height: 100%; }
.profile-text-block { display: flex; flex-direction: column; gap: 0.5rem; }
.profile-name { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
.profile-name em { font-style: italic; }
.profile-tagline { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--text-mute); letter-spacing: 0.01em; line-height: 1.4; }
.profile-paras { display: flex; flex-direction: column; gap: 0.8rem; }
.profile-para { font-size: 0.94rem; line-height: 1.65; color: var(--text-soft); }
.profile-para:first-of-type::first-letter { font-family: var(--serif); font-size: 2.6rem; line-height: 0.9; float: left; margin: 0.15rem 0.5rem 0 0; color: var(--text); }
.profile-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-top: auto; }
.gallery-card { position: relative; overflow: hidden; border-radius: 6px; border: 1px solid var(--line); aspect-ratio: 3/4; cursor: pointer; transition: transform 0.5s var(--ease-emphasis), box-shadow 0.5s var(--ease-quiet); background: var(--bg-alt); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3) contrast(1.04); transition: transform 1.3s var(--ease-quiet), filter 0.8s var(--ease-quiet); }
[data-theme="dark"] .gallery-card img { filter: grayscale(0.15) contrast(1.1); }
.gallery-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -12px rgba(0,0,0,0.25), 0 4px 8px -2px rgba(0,0,0,0.08); }
[data-theme="dark"] .gallery-card:hover { box-shadow: 0 16px 30px -12px rgba(0,0,0,0.6), 0 4px 8px -2px rgba(0,0,0,0.3); }
.gallery-card:hover img { transform: scale(1.05); filter: grayscale(0) contrast(1.02); }
[data-theme="dark"] .gallery-card:hover img { filter: grayscale(0) contrast(1.05) brightness(1.08); }
.gallery-card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.8rem 0.6rem 0.5rem; z-index: 2; background: linear-gradient(0deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.3) 70%, transparent 100%); color: #fff; }
.gallery-card-title { font-family: var(--serif); font-size: 0.9rem; line-height: 1.1; margin-bottom: 0.1rem; }
.gallery-card-desc { font-size: 0.6rem; opacity: 0.78; letter-spacing: 0.08em; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 3rem; }
.stat { display: flex; flex-direction: column; gap: 0.3rem; }
.stat-num { font-family: var(--serif); font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 0.95; letter-spacing: -0.02em; font-weight: 400; }
.stat-num em { font-style: italic; font-size: 0.55em; vertical-align: super; color: var(--text-mute); margin-left: 0.1em; }
.stat-label { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute); line-height: 1.4; }
.stat-label small { display: block; font-size: 0.72rem; letter-spacing: 0; text-transform: none; color: var(--text-soft); margin-top: 0.15rem; font-family: var(--sans); }

/* === 个人简介：成就阵列卡片 (2x2 棋盘格) === */
.achievements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ach-card {
  padding: 2.2rem 2rem;
  border-radius: 6px;
  transition: transform 0.5s var(--ease-emphasis), box-shadow 0.5s var(--ease-quiet);
  display: flex;
  flex-direction: column;
}
.ach-card:hover {
  transform: translateY(-4px);
}
.ach-card.dark {
  background: var(--bg-card-dark, #18181c);
  background-color: #18181c;
  color: #f5f5f0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}
.ach-card.dark:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.ach-card.light {
  background: var(--bg-card);
  background-color: #ffffff;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}
.ach-card.light:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
[data-theme="dark"] .ach-card.light {
  background-color: #18181c;
  border: 1px solid rgba(255,255,255,0.08);
}
.ach-tag {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 0.8rem;
  font-weight: 500;
}
.ach-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin: 0 0 1.4rem 0;
  padding-bottom: 1.2rem;
  font-weight: 400;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.ach-card.light .ach-title {
  border-bottom: 1px solid var(--line);
}
.ach-title small {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  opacity: 0.4;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 400;
}
.ach-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.ach-list li {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  padding-left: 1.2rem;
  position: relative;
  opacity: 0.85;
}
.ach-list li:last-child {
  margin-bottom: 0;
}
.ach-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.4;
}

/* === 学生成就区域 === */
.students { 
  padding: 0 3rem 10px; 
  max-width: 1400px; 
  margin: -34px auto 0; 
}
.students .section-intro {
  text-align: right;
  margin-left: auto; 
}
.students-featured { margin-bottom: 3rem; }
.students-featured .video-poster { aspect-ratio: 21/9; border-radius: 8px; }
.students-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 1.5rem; 
  margin-bottom: 4rem; 
}
.student-card { 
  position: relative;
  cursor: pointer;
  transition: transform 0.5s var(--ease-emphasis); 
}
.student-card:hover { 
  transform: translateY(-6px); 
}
.student-image { 
  position: relative;
  width: 100%; 
  aspect-ratio: 3/4; 
  overflow: hidden; 
  border-radius: 6px; 
  background: var(--bg-alt); 
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.12); 
  transition: box-shadow 0.5s var(--ease-quiet); 
}
.student-card:hover .student-image { 
  box-shadow: 0 16px 30px -12px rgba(0,0,0,0.25), 0 4px 8px -2px rgba(0,0,0,0.08); 
}
[data-theme="dark"] .student-image { box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
[data-theme="dark"] .student-card:hover .student-image { box-shadow: 0 16px 30px -12px rgba(0,0,0,0.6), 0 4px 8px -2px rgba(0,0,0,0.3); }
.student-image img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  filter: grayscale(0.4) contrast(1.05); 
  transition: all 1.4s cubic-bezier(.16, 1, .3, 1); 
}
[data-theme="dark"] .student-image img { filter: grayscale(0.2) contrast(1.1); }
.student-card:hover .student-image img { 
  transform: scale(1.08); 
  filter: grayscale(0) contrast(1.02); 
}
[data-theme="dark"] .student-card:hover .student-image img { filter: grayscale(0) contrast(1.05) brightness(1.08); }
.student-drawer {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 10, 12, 0.55); 
  backdrop-filter: blur(12px) saturate(150%); 
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  display: flex; flex-direction: column;
  padding: 1.8rem 1.5rem;
  box-sizing: border-box;
  opacity: 0; transform: translateY(15%);
  transition: all 0.7s cubic-bezier(.16, 1, .3, 1);
  z-index: 2;
}
.student-card:hover .student-drawer {
  opacity: 1; transform: translateY(0);
}
.drawer-header {
  margin-bottom: 1.2rem; opacity: 0; transform: translateY(10px);
  transition: all 0.7s cubic-bezier(.16, 1, .3, 1) 0.1s; 
}
.student-card:hover .drawer-header { opacity: 1; transform: translateY(0); }
.drawer-num {
  font-family: 'Times New Roman', 'Songti SC', serif;
  font-style: italic; font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4); margin-bottom: 0.4rem;
}
.drawer-name {
  font-family: 'Times New Roman', 'Songti SC', serif;
  font-size: 1.6rem; color: #ffffff; margin: 0; line-height: 1.1; font-weight: 400;
}
.drawer-line {
  width: 30px; height: 1px; background: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.2rem; transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s cubic-bezier(.16, 1, .3, 1) 0.2s;
}
.student-card:hover .drawer-line { transform: scaleX(1); }
.drawer-desc-box {
  flex: 1; overflow-y: auto; padding-right: 4px;
  opacity: 0; transform: translateY(10px);
  transition: all 0.7s cubic-bezier(.16, 1, .3, 1) 0.2s;
}
.student-card:hover .drawer-desc-box { opacity: 1; transform: translateY(0); }
.drawer-desc {
  font-size: 0.82rem; line-height: 1.8; 
  color: rgba(255, 255, 255, 0.85); margin: 0; text-align: justify;
}
.drawer-desc-box::-webkit-scrollbar { width: 2px; }
.drawer-desc-box::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.3); }
.drawer-desc-box::-webkit-scrollbar-track { background: transparent; }

.vortex { position: relative; height: 100vh; background: #050505; overflow: hidden; }
.vortex-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.vortex::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at center, transparent 0%, transparent 45%, rgba(0,0,0,0.7) 100%); }
.vortex-overlay { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; padding: 5rem 3rem 3rem; }
.vortex-top, .vortex-bottom { display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,0.55); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; gap: 1rem; flex-wrap: wrap; }
.vortex-center { text-align: center; }
.vortex-title { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(2.5rem, 6.5vw, 5.4rem); line-height: 1; color: #fff; letter-spacing: -0.015em; text-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.vortex-sub { margin-top: 1.6rem; font-size: 0.78rem; color: rgba(255,255,255,0.55); letter-spacing: 0.14em; text-transform: uppercase; }

.voices-block { margin-top: 4rem; text-align: center; padding: 4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.voices-block .section-label { justify-content: center; }
.voices-quote { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3.2vw, 2.6rem); line-height: 1.4; letter-spacing: -0.01em; margin: 2rem auto 2rem; max-width: 36rem; }
.voices-quote em { font-style: italic; }
.voices-quote .mark { font-style: italic; color: var(--text-faint); font-size: 1.2em; vertical-align: -0.05em; }
.voices-author { font-family: var(--hand); font-size: 1.7rem; margin-bottom: 0.4rem; line-height: 1; }
.voices-role { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-mute); }

/* === 作品区域 === */
.works { 
  padding: 60px 3rem 9rem; 
  max-width: 1400px; 
  margin: -64px auto 0; 
}
.works .section-label { display: none; }
.works .section-intro { 
  text-align: right; 
  margin-left: auto; 
}
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem 2.5rem; }

.news { padding: 9rem 3rem; max-width: 1400px; margin: 0 auto; }
.timeline { border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: 160px 200px 1fr 80px; gap: 2.5rem; align-items: start; padding: 2.4rem 0; border-bottom: 1px solid var(--line); transition: padding 0.5s var(--ease-quiet); }
.timeline-item:hover { padding: 2.4rem 1rem; }
.timeline-date { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--text-mute); padding-top: 0.3rem; }
.timeline-thumb { width: 100%; aspect-ratio: 3/2; overflow: hidden; }
.timeline-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3); transition: filter 0.6s var(--ease-quiet), transform 1.2s var(--ease-quiet); }
[data-theme="dark"] .timeline-thumb img { filter: grayscale(0.2); }
.timeline-item:hover .timeline-thumb img { filter: grayscale(0); transform: scale(1.04); }
.timeline-body { padding-top: 0.2rem; }
.timeline-title { font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; margin-bottom: 0.6rem; }
.timeline-desc { font-size: 0.92rem; color: var(--text-soft); line-height: 1.72; }
.timeline-tag { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute); text-align: right; padding-top: 0.5rem; }

.footer { background: var(--bg-alt); color: var(--text); padding: 8rem 3rem 3rem; border-top: 1px solid var(--line); }
[data-theme="dark"] .footer { background: #050505; }
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-header { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: end; margin-bottom: 6rem; }
.footer-title { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 7.5vw, 7.4rem); line-height: 0.95; letter-spacing: -0.025em; margin-top: 2rem; }
.footer-title em { font-style: italic; }
.footer-intro { font-size: 1rem; color: var(--text-soft); line-height: 1.78; max-width: 28rem; }
.footer-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; padding: 3rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-block .label { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 1rem; }
.contact-block .value { font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; }
.contact-block .value small { display: block; font-family: var(--sans); font-size: 0.82rem; color: var(--text-mute); margin-top: 0.5rem; letter-spacing: 0; }
.footer-bottom { margin-top: 3rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mute); flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: var(--sans); font-size: 1rem; letter-spacing: 0.05em; text-transform: none; color: var(--text); font-weight: 600; }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease-quiet), transform 1.1s var(--ease-quiet); }
.reveal.in { opacity: 1; transform: translateY(0); }
.theme-transition * { transition: background-color 0.6s var(--ease-quiet), color 0.6s var(--ease-quiet), border-color 0.6s var(--ease-quiet) !important; }

@media (max-width: 900px) {
  .nav { padding: 0.8rem 1.25rem; gap: 0.5rem; align-items: center; }
  .nav.scrolled { padding: 0.65rem 1.25rem; }
  .nav-menu { display: none; }
  .nav-logo { font-size: 0.85rem; }
  .nav-logo small { display: none; }
  .nav-actions { gap: 0.6rem; }
  .nav-cta { font-size: 0.6rem; letter-spacing: 0.12em; }
  .theme-toggle { width: 30px; height: 30px; }
  .theme-toggle svg { width: 13px; height: 13px; }

  .hero { min-height: 42vh; }
  .hero-content { padding: 5rem 1.25rem 3rem; min-height: 42vh; gap: 1rem; }
  .hero-top { gap: 0.5rem; }
  .hero-top .section-label { font-size: 0.6rem; }
  .hero-top .section-label::before { width: 20px; }
  .hero-center { grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
  .hero-title { font-size: clamp(1.8rem, 9vw, 2.8rem); padding: 0; }
  .hero-side { padding: 1.5rem 1.5rem; }
  .hero-sub { font-size: 0.88rem; line-height: 1.65; }
  .hero-cta { font-size: 0.65rem; padding: 0.7rem 0; }
  .hero-bottom { font-size: 0.58rem; gap: 0.5rem; }
  .hero-controls { bottom: 0.4rem; gap: 1rem; }
  .slide-btn { width: 32px; height: 32px; }
  .slide-btn svg { width: 12px; height: 12px; }
  .dot { width: 6px; height: 6px; }
  .dot.active { width: 20px; }

  .profile { padding: 2rem 1.25rem 4rem; }
  .section-header { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
  .section-title { font-size: clamp(1.8rem, 7vw, 2.6rem); margin-top: 1rem; }
  .section-intro { font-size: 0.92rem; line-height: 1.7; }
  .section-label { font-size: 0.6rem; }
  .section-label::before { width: 20px; }

  .profile-main { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
  .profile-video { height: auto; }
  .profile-slides { aspect-ratio: 4/5; height: auto; max-width: 320px; margin: 0 auto; min-height: auto; }
  .profile-detail { height: auto; }
  .profile-gallery { margin-top: 1rem; }
  .profile-name { font-size: clamp(1.8rem, 6vw, 2.4rem); text-align: center; }
  .profile-tagline { font-size: 1rem; text-align: center; }
  .profile-para { font-size: 0.92rem; line-height: 1.7; }
  .profile-para:first-of-type::first-letter { font-size: 2.4rem; }
  .profile-gallery { grid-template-columns: 1fr; gap: 1rem; }
  .gallery-card { aspect-ratio: 3/2; }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0.8rem; padding: 1.5rem 0; margin-bottom: 2rem; }
  .stat-num { font-size: clamp(2rem, 8vw, 2.8rem); }
  .stat-label { font-size: 0.58rem; }
  .stat-label small { font-size: 0.72rem; }

  .achievements-grid { grid-template-columns: 1fr; }

  .students { padding: 3rem 1.25rem 10px; margin: 0 auto; }
  .students .section-intro {
    text-align: left;
    margin-left: 0;
  }
  .students-featured { margin-bottom: 2rem; }
  .students-featured .video-poster { aspect-ratio: 16/9; }
  .students-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
  .student-name { font-size: 1.1rem; }
  .student-desc { font-size: 0.82rem; }

  .vortex { height: 70vh; min-height: 480px; }
  .vortex-overlay { padding: 2.5rem 1.25rem 2rem; }
  .vortex-top, .vortex-bottom { font-size: 0.55rem; gap: 0.5rem; }
  .vortex-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .vortex-sub { font-size: 0.65rem; margin-top: 1rem; }

  .voices-block { margin-top: 2.5rem; padding: 2.5rem 0; }
  .voices-quote { font-size: clamp(1.2rem, 5vw, 1.6rem); margin: 1.5rem auto; padding: 0 0.5rem; }
  .voices-author { font-size: 1.4rem; }
  .voices-role { font-size: 0.6rem; }

  .works { 
    padding: 30px 1.25rem 5rem; 
    margin: 0 auto; 
  }
  .works .section-intro {
    text-align: left;
    margin-left: 0;
  }
  .works-grid { grid-template-columns: 1fr; gap: 2rem; }

  .news { padding: 5rem 1.25rem; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.8rem; padding: 1.5rem 0; }
  .timeline-item:hover { padding: 1.5rem 0.5rem; }
  .timeline-date { font-size: 1.1rem; padding-top: 0; }
  .timeline-thumb { max-width: 180px; aspect-ratio: 3/2; }
  .timeline-body { padding-top: 0; }
  .timeline-title { font-size: 1.15rem; margin-bottom: 0.4rem; }
  .timeline-desc { font-size: 0.86rem; line-height: 1.65; }
  .timeline-tag { text-align: left; padding-top: 0; font-size: 0.55rem; }

  .footer { padding: 4rem 1.25rem 2rem; }
  .footer-header { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
  .footer-title { font-size: clamp(2rem, 8vw, 2.8rem); margin-top: 1rem; }
  .footer-intro { font-size: 0.92rem; }
  .footer-contact { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 0; }
  .contact-block .value { font-size: 1rem; }
  .contact-block .value small { font-size: 0.78rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; align-items: flex-start; margin-top: 2rem; font-size: 0.6rem; }
  .footer-logo { font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .hero { min-height: 39vh; }
  .hero-content { min-height: 39vh; }
  .hero-title { font-size: 1.7rem; }
  .section-title { font-size: 1.6rem; }
  .footer-title { font-size: 1.8rem; }
  .stats { grid-template-columns: 1fr 1fr; gap: 1.5rem 0.8rem; }
  .stat-num { font-size: 1.8rem; }
  .video-poster.tall { aspect-ratio: 4/5; }
  .video-poster.std { aspect-ratio: 4/3; }
  .vortex { height: 60vh; min-height: 400px; }
  .vortex-title { font-size: 1.6rem; }
  .voices-quote { font-size: 1.1rem; }
  .students-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .line { transform: translateY(0) !important; }
  .reveal { opacity: 1; transform: none; }
}
