:root {
  --bg: #f4f8f6;
  --paper: #ffffffcc;
  --text: #1d2a2f;
  --muted: #4a5f67;
  --line: #c7d9d2;
  --accent: #0f766e;
  --accent-2: #ef6c2f;
  --chip: #e7f2ee;
  --shadow: 0 16px 35px rgba(15, 118, 110, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, #d3eee6 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, #ffe0ce 0%, transparent 35%),
    var(--bg);
  line-height: 1.7;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Source Serif 4", "Noto Sans SC", Georgia, serif;
  letter-spacing: 0.01em;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.section-wrap {
  width: min(980px, 92vw);
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.45;
}

.orb-a {
  width: 280px;
  height: 280px;
  top: -70px;
  left: -90px;
  background: #89d8c4;
}

.orb-b {
  width: 220px;
  height: 220px;
  right: -50px;
  top: 280px;
  background: #ffbb96;
}

.hero {
  padding: 56px 0 30px;
}

.hero__content {
  display: grid;
  grid-template-columns: 152px 1fr;
  gap: 28px;
  align-items: center;
}

.avatar {
  width: 152px;
  height: 152px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 3px solid #ffffff;
}

.eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
}

h1 {
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
  line-height: 1.15;
}

.name-cn {
  font-family: "Noto Sans SC", sans-serif;
  font-size: 0.72em;
  color: var(--muted);
}

.subtitle {
  margin: 10px 0 4px;
  font-size: 1.02rem;
  color: var(--muted);
}

.summary {
  max-width: 740px;
  margin: 8px 0 0;
}

.hero__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text);
  background: #fff;
  transition: 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(20, 40, 40, 0.08);
}

.btn--solid {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(110deg, var(--accent), #12847a);
}

.nav {
  position: sticky;
  top: 8px;
  z-index: 5;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  background: #ffffffc9;
}

.nav a {
  padding: 8px 11px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.93rem;
}

.nav a:hover {
  text-decoration: none;
  color: var(--text);
  background: #e8f4f0;
}

.panel {
  margin: 18px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 8px 20px rgba(15, 42, 53, 0.04);
}

.panel h2 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips span {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--chip);
  border: 1px solid #d6ebe3;
  font-size: 0.92rem;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.interest-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px;
}

.interest-card h3 {
  font-size: 1.03rem;
  margin-bottom: 8px;
}

.interest-card ul {
  margin: 0;
  padding-left: 18px;
}

.interest-card li {
  margin: 4px 0;
  color: var(--muted);
}

.pub-item {
  padding: 14px 0;
  border-top: 1px dashed #c8d6d1;
}

.pub-item:first-of-type {
  border-top: none;
  padding-top: 2px;
}

.pub-item h3 {
  font-size: 1.12rem;
}

.meta {
  margin: 6px 0;
  color: var(--muted);
}

.tag {
  display: inline-block;
  margin: 2px 0 5px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(110deg, var(--accent-2), #f18a58);
}

.links {
  margin-top: 4px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.timeline-item,
.edu-item {
  padding-left: 14px;
  border-left: 3px solid #c7ddd6;
  margin: 12px 0;
}

.timeline-item h3,
.edu-item h3 {
  font-size: 1.05rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.project-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(17, 42, 54, 0.08);
}

.project-card h3 {
  margin-bottom: 5px;
}

.footer {
  width: min(980px, 92vw);
  margin: 8px auto 30px;
  color: var(--muted);
  font-size: 0.9rem;
}

.fade-in {
  animation: panelIn 0.55s ease both;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 36px;
  }

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

  .avatar {
    width: 124px;
    height: 124px;
  }

  .panel {
    padding: 20px;
  }

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

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