:root {
  --bg: #0f1117;
  --bg-soft: #161a23;
  --card: #1b202b;
  --card-2: #20263280;
  --border: #2a313f;
  --text: #e6e9ef;
  --muted: #9aa3b2;
  --accent: #6ea8fe;
  --accent-2: #8b7bf0;
  --accent-soft: #6ea8fe22;
  --award: #f5b945;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --max: 920px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background:
    radial-gradient(1200px 600px at 80% -10%, #1d2740 0%, transparent 55%),
    radial-gradient(900px 500px at -10% 0%, #241d3d 0%, transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}

a:hover {
  color: #a9c8ff;
  border-bottom-color: currentColor;
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 24px 40px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #141927 0%, transparent 100%);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.avatar {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-text {
  flex: 1;
  min-width: 280px;
}

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

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  background: linear-gradient(120deg, #fff 0%, #b9c6ff 60%, #c7b6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 12px 0 22px;
  max-width: 46ch;
}

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

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-weight: 600;
  font-size: .92rem;
  transition: transform .12s ease, border-color .15s ease, background .15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--text);
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #0d1019;
}

.btn-primary:hover {
  color: #0d1019;
}

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow);
}

.card h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  letter-spacing: -.01em;
  margin-bottom: 16px;
  position: relative;
  padding-left: 14px;
}

.card h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  bottom: .15em;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.intro p + p {
  margin-top: 14px;
}

.muted {
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* ---------- Stats ---------- */
.stats {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 24px;
  width: 100%;
}

.stat-card {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-number {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---------- Lists ---------- */
.pill-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pill-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
}

.pill-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
}

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.timeline li {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  padding-left: 16px;
  border-left: 2px solid var(--border);
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
}

.time-when {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
  padding-top: 1px;
}

.time-desc {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

/* ---------- Publications ---------- */
.pubs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pub {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  transition: border-color .15s ease, transform .12s ease;
}

.pub:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.pub h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.12rem;
  line-height: 1.35;
  margin-bottom: 6px;
}

.pub .authors {
  color: var(--muted);
  font-size: .95rem;
}

.pub .authors u {
  color: var(--text);
  text-decoration-color: var(--accent);
}

.pub .venue {
  margin: 6px 0 10px;
  font-size: .92rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 1px 8px;
}

.award {
  color: var(--award);
  font-weight: 600;
}

.pub .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pub .links a {
  font-size: .85rem;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  border-bottom: 1px solid var(--border);
}

.pub .links a:hover {
  border-color: var(--accent);
}

.abstract-btn {
  font-family: inherit;
  font-size: .85rem;
  cursor: pointer;
  padding: 3px 12px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  transition: background .15s ease;
}

.abstract-btn:hover {
  background: var(--accent-soft);
}

.abstract {
  display: none;
  margin-top: 12px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  color: var(--muted);
  font-size: .92rem;
}

/* ---------- Footer ---------- */
.site-footer {
  max-width: var(--max);
  margin: 20px auto 0;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
}

.social a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  transition: transform .12s ease, border-color .15s ease;
}

.social a:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.social img {
  width: 24px;
  height: 24px;
}

.copyright {
  color: var(--muted);
  font-size: .9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .hero {
    padding: 40px 20px 32px;
    text-align: center;
  }
  .hero-inner {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .tagline {
    margin-left: auto;
    margin-right: auto;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
