﻿/* =====================================================
   李佳鹏 · 个人主页样式
   萤火虫主题：深夜蓝绿 + 萤火金
   ===================================================== */

:root {
  --ink: #1d2b33;
  --ink-soft: #41535d;
  --muted: #64777f;
  --bg: #f6f9f7;
  --bg-alt: #eef3f0;
  --card: #ffffff;
  --line: #e3ebe7;
  --deep: #0b2430;          /* 夜色 */
  --deep-2: #123c46;
  --teal: #147d6e;          /* 学术绿 */
  --teal-dark: #0c5f55;
  --gold: #ffc83d;          /* 萤火金 */
  --gold-deep: #e7a817;
  --gold-soft: #fff4d6;
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(11,36,48,.06);
  --shadow-md: 0 12px 32px rgba(11,36,48,.12);
  --shadow-lg: 0 24px 60px rgba(11,36,48,.18);
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-serif: "STSong", "SimSun", "Songti SC", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 78px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* ---------- 导航栏 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(11,36,48,.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--deep), var(--deep-2));
  color: var(--gold);
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 6px 16px rgba(11,36,48,.25);
}
.brand-text {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
}
.brand-text small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: var(--muted);
}
.nav { display: flex; gap: 6px; }
.nav-link {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: color .25s, background .25s;
}
.nav-link:hover { color: var(--teal-dark); background: rgba(20,125,110,.08); }
.nav-link.active { color: var(--teal-dark); font-weight: 600; background: rgba(20,125,110,.1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首页横幅 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #eaf6f2;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255,200,61,.14), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(20,125,110,.35), transparent 60%),
    linear-gradient(160deg, #071a24 0%, #0b2430 45%, #0e3340 100%);
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }

/* 萤火虫粒子 */
.fireflies {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.firefly {
  position: absolute;
  bottom: -12px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px 2px rgba(255,200,61,.7), 0 0 22px 6px rgba(255,200,61,.28);
  opacity: 0;
  animation: fireflyFloat linear infinite;
}
@keyframes fireflyFloat {
  0%   { transform: translate(0, 0) scale(1); opacity: 0; }
  8%   { opacity: var(--o, .9); }
  50%  { transform: translate(var(--dx, 60px), -55vh) scale(.85); opacity: var(--o, .9); }
  92%  { opacity: 0; }
  100% { transform: translate(calc(var(--dx, 60px) * 1.4), -105vh) scale(.6); opacity: 0; }
}

.hero-eyebrow {
  display: inline-block;
  padding: 7px 18px;
  border: 1px solid rgba(255,200,61,.45);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold);
  background: rgba(255,200,61,.08);
  margin-bottom: 22px;
}
.hero-name {
  font-size: clamp(52px, 9vw, 92px);
  font-weight: 800;
  letter-spacing: 14px;
  line-height: 1.15;
  background: linear-gradient(180deg, #ffffff 30%, #bcd9d1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 40px rgba(0,0,0,.25);
  margin-bottom: 6px;
}
.hero-sub {
  font-size: 15px;
  letter-spacing: 5px;
  color: rgba(234,246,242,.75);
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-tagline {
  font-size: clamp(16px, 2.4vw, 21px);
  color: rgba(234,246,242,.92);
  line-height: 1.9;
  margin-bottom: 0;
}
.hero-tagline br { display: none; }

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 54px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .25s, box-shadow .25s, background .25s;
  cursor: pointer;
}
.btn-gold {
  color: #2a1f00;
  background: linear-gradient(135deg, #ffd970, var(--gold) 55%, #f0b31f);
  box-shadow: 0 10px 26px rgba(255,200,61,.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(255,200,61,.45); }
.btn-ghost {
  color: #eaf6f2;
  border: 1.5px solid rgba(234,246,242,.4);
  background: rgba(255,255,255,.05);
}
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255,255,255,.12); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}
.stat {
  padding: 20px 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
}
.stat b {
  display: block;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
}
.stat span {
  display: block;
  font-size: 12.5px;
  color: rgba(234,246,242,.8);
  letter-spacing: 1px;
  margin-top: 2px;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 44px;
  border: 2px solid rgba(234,246,242,.4);
  border-radius: 999px;
}
.hero-scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 5px; height: 9px;
  margin-left: -2.5px;
  border-radius: 4px;
  background: var(--gold);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--teal);
  background: rgba(20,125,110,.1);
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px; height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  margin: 14px auto 0;
}
.section-desc { color: var(--muted); font-size: 15.5px; }

/* 滚动显现动画 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 关于我 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
}
.about-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  text-align: center;
}
.avatar {
  position: relative;
  width: 170px; height: 170px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.35), transparent 40%),
    linear-gradient(145deg, var(--deep-2), var(--deep));
  border: 4px solid var(--gold);
  box-shadow: 0 14px 34px rgba(11,36,48,.28);
}
.avatar-letter { font-size: 64px; font-weight: 800; color: var(--gold); }
.avatar-caption {
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  background: var(--card);
  padding: 2px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.about-facts { margin-top: 36px; text-align: left; }
.about-facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 2px;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.about-facts li:last-child { border-bottom: 0; }
.fact-label { color: var(--muted); flex-shrink: 0; }
.fact-value { text-align: right; font-weight: 500; }

.about-text p { margin-bottom: 18px; color: var(--ink-soft); font-size: 15.5px; text-align: justify; }
.about-text b { color: var(--teal-dark); }
.about-quote {
  margin-top: 22px;
  padding: 18px 24px;
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-serif);
  font-size: 18px;
  color: #7a5b00;
}

/* ---------- 研究方向 ---------- */
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.research-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.research-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  opacity: 0;
  transition: opacity .3s;
}
.research-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.research-card:hover::before { opacity: 1; }
.research-icon { font-size: 34px; margin-bottom: 12px; }
.research-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--ink); }
.research-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.research-points li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.research-points li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold-deep);
  font-size: 12px;
}

/* ---------- 论文 ---------- */
.pub-list { max-width: 900px; margin: 0 auto; }
.pub {
  display: flex;
  gap: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.pub:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(20,125,110,.35); }
.pub-year {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--deep-2), var(--deep));
  box-shadow: inset 0 -14px 22px rgba(255,200,61,.14);
}
.pub-body h4 {
  font-size: 16.5px;
  line-height: 1.55;
  margin-bottom: 8px;
  color: var(--ink);
}
.pub-authors { font-size: 14px; color: var(--ink-soft); margin-bottom: 4px; }
.pub-authors b { color: var(--teal-dark); }
.pub-meta { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.pub-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.tag-first { background: var(--gold-soft); color: #8a6400; border: 1px solid rgba(231,168,23,.35); }
.tag-journal { background: rgba(20,125,110,.1); color: var(--teal-dark); }
.pub-link { font-size: 13px; font-weight: 600; color: var(--teal); border-bottom: 1px dashed var(--teal); }
.pub-link:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

/* ---------- 科研项目 ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.project-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.project-card.lead { border-top: 4px solid var(--gold); }
.project-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.tag-lead { background: linear-gradient(135deg, #ffd970, var(--gold)); color: #2a1f00; }
.tag-part { background: rgba(20,125,110,.12); color: var(--teal-dark); }
.tag-status { background: #e3f6f0; color: var(--teal-dark); }
.tag-done { background: #eef0f0; color: var(--muted); }
.project-period { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.project-card h3 { font-size: 17.5px; margin-bottom: 8px; line-height: 1.5; }
.project-src { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.project-desc { font-size: 14px; color: var(--ink-soft); }

/* ---------- 专利 ---------- */
.patent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.patent-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.patent-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.patent-icon { font-size: 40px; margin-bottom: 14px; }
.patent-card h3 { font-size: 16.5px; line-height: 1.6; margin-bottom: 10px; }
.patent-meta { font-size: 13px; color: var(--muted); }

/* ---------- 荣誉 ---------- */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.honor-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}
.honor-card h3 { font-size: 18px; margin-bottom: 16px; }
.honor-list li {
  position: relative;
  padding: 8px 0 8px 26px;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
}
.honor-list li:last-child { border-bottom: 0; }
.honor-list li::before {
  content: "◆";
  position: absolute;
  left: 2px;
  color: var(--gold-deep);
  font-size: 12px;
  top: 11px;
}

/* 国家级金奖 */
.gold-section {
  background: linear-gradient(150deg, #fffdf4, #fff7dd);
  border: 1px solid rgba(231,168,23,.35);
  border-radius: 20px;
  padding: 34px 30px;
  margin-bottom: 44px;
}
.gold-title {
  text-align: center;
  font-size: 21px;
  margin-bottom: 26px;
  color: #6d4d00;
}
.gold-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gold-card {
  text-align: center;
  background: #fff;
  border: 1px solid rgba(231,168,23,.3);
  border-radius: 16px;
  padding: 26px 20px;
  box-shadow: 0 8px 24px rgba(231,168,23,.12);
}
.gold-medal { font-size: 38px; margin-bottom: 10px; }
.gold-card h4 { font-size: 16px; line-height: 1.55; margin-bottom: 10px; color: #6d4d00; }
.gold-card h4 span { font-size: 13.5px; color: var(--gold-deep); }
.gold-card p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 14px; }
.gold-role {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(20,125,110,.1);
  color: var(--teal-dark);
  font-size: 12.5px;
  font-weight: 600;
}

/* 相册 */
.gallery-title { font-size: 20px; margin-bottom: 22px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-item {
  cursor: zoom-in;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.gallery-item:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-md); }
.gallery-item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform .45s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  padding: 9px 12px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}

/* 灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7,20,28,.92);
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: min(92vw, 1100px);
  max-height: 84vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox-caption {
  position: absolute;
  bottom: 22px;
  left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,.85);
  font-size: 14px;
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 26px;
  font-size: 40px;
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
  line-height: 1;
}

/* ---------- 联系 ---------- */
.contact-card {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact-left {
  background: linear-gradient(160deg, var(--deep), var(--deep-2));
  color: #eaf6f2;
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contact-left h3 { font-size: 30px; letter-spacing: 6px; margin-bottom: 6px; }
.contact-title { font-size: 14px; color: rgba(234,246,242,.8); margin-bottom: 18px; }
.contact-sign {
  width: 170px;
  margin: 0 auto 14px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
}
.contact-quote { font-family: var(--font-serif); font-size: 16px; color: var(--gold); }
.contact-right { padding: 36px 38px; }
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-ico { font-size: 22px; line-height: 1.4; }
.contact-list b { display: block; font-size: 14px; margin-bottom: 2px; }
.contact-list p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--deep);
  color: rgba(234,246,242,.75);
  padding: 34px 0;
  text-align: center;
  font-size: 14px;
}
.footer-note { color: var(--gold); margin-top: 4px; font-size: 13px; letter-spacing: 2px; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-card { max-width: 400px; margin: 0 auto; }
  .research-grid, .project-grid { grid-template-columns: 1fr; }
  .patent-grid { grid-template-columns: 1fr; }
  .gold-grid { grid-template-columns: 1fr; }
  .honor-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1fr; }
  .contact-left { padding: 34px 24px; }

  .nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 14px 6vw 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav-link { padding: 12px 14px; font-size: 16px; border-radius: 10px; }
  .nav-toggle { display: flex; }
}

@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .hero { min-height: 92vh; padding: 110px 0 90px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-name { letter-spacing: 8px; }
  .pub { flex-direction: column; gap: 12px; }
  .pub-year { width: 100%; height: 44px; border-radius: 10px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: auto; max-height: 300px; object-fit: cover; }
  .hero-tagline br { display: inline; }
}

/* 减少动态效果（系统偏好） */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .firefly, .hero-scroll span { animation: none; opacity: 0; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 关于我：研究特色 & 教育背景时间线 ---------- */
.about-highlight {
  margin-top: 4px;
  margin-bottom: 18px;
  padding: 16px 20px;
  background: rgba(20,125,110,.07);
  border: 1px solid rgba(20,125,110,.18);
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.about-highlight b { color: var(--teal-dark); }

.edu-section {
  margin-top: 56px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 34px;
  box-shadow: var(--shadow-sm);
}
.edu-title { font-size: 20px; margin-bottom: 26px; }
.edu-timeline {
  position: relative;
  padding-left: 26px;
}
.edu-timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--teal));
  border-radius: 2px;
}
.edu-item {
  position: relative;
  padding: 0 0 30px 22px;
}
.edu-item:last-child { padding-bottom: 0; }
.edu-dot {
  position: absolute;
  left: -26px; top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--gold), 0 2px 6px rgba(231,168,23,.4);
}
.edu-tag {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
  background: rgba(20,125,110,.1);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
.edu-item h4 { font-size: 16.5px; margin-bottom: 4px; }
.edu-item p { font-size: 14px; color: var(--muted); }

@media (max-width: 560px) {
  .edu-section { padding: 24px 20px; }
  .edu-item { padding-left: 16px; }
}

/* ---------- 关于我：小标题与方向卡片 ---------- */
.about-sub {
  font-size: 17px;
  font-weight: 700;
  margin: 26px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--gold);
  color: var(--ink);
}
.about-dir {
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  margin-bottom: 12px;
}
.about-dir h4 { font-size: 15.5px; margin-bottom: 6px; color: var(--teal-dark); }
.about-dir p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 0; }
.about-dir-text { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 14px; }

/* ---------- 头像照片与证书链接 ---------- */
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.cert-pdf-links {
  margin-top: 16px;
  padding: 12px 16px;
  background: #fbfdfc;
  border: 1px dashed var(--line);
  border-radius: 12px;
}
.cert-pdf-links p { font-size: 13px; color: var(--muted); }
.cert-pdf-links a {
  color: var(--teal-dark);
  font-weight: 600;
  border-bottom: 1px dashed var(--teal);
  margin: 0 2px;
}
.cert-pdf-links a:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.contact-list a {
  color: var(--teal-dark);
  border-bottom: 1px dashed var(--teal);
}
.contact-list a:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

/* ---------- 重点证书置顶 ---------- */
.cert-pdf-links.cert-top { margin-bottom: 20px; }
.cert-pdf-links .cert-links { margin-top: 6px; line-height: 2; }

