/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --bg-alt: #f7f7f7;
  --text: #1a1a1a;
  --text-muted: #555;
  --accent: #2563aa;
  --accent-light: #dbeafe;
  --border: #e5e5e5;
  --font: 'Inter', system-ui, sans-serif;
  --max-w: 860px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 400;
}
.nav-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ===== LAYOUT ===== */
main { padding-top: 56px; }

section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 24px;
  border-bottom: 1px solid var(--border);
}
section:last-of-type { border-bottom: none; }

/* ===== HERO ===== */
#top {
  padding: 80px 24px 64px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero-photo {
  width: 150px;
  height: 190px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.hero-text {
  flex: 1;
}
.hero-name {
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.hero-title {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
}
.hero-affil {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.hero-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: background 0.15s, color 0.15s;
}
.btn:hover {
  background: var(--accent);
  color: white;
  text-decoration: none;
}
.btn-solid {
  background: var(--accent);
  color: white;
}
.btn-solid:hover { background: #1d4f8a; }

/* ===== SECTION HEADINGS ===== */
.section-title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

/* ===== ABOUT ===== */
#about p {
  color: var(--text);
  max-width: 680px;
}

/* ===== RESEARCH INTERESTS ===== */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.research-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}
.research-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--accent);
}
.research-card ul {
  list-style: none;
  padding: 0;
}
.research-card ul li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 3px 0;
  padding-left: 12px;
  position: relative;
}
.research-card ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ===== EXPERIENCE ===== */
.exp-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0 24px;
  margin-bottom: 32px;
}
.exp-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  padding-top: 3px;
  white-space: nowrap;
}
.exp-content h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.exp-content .exp-org {
  font-size: 0.88rem;
  color: var(--accent);
  margin-bottom: 6px;
}
.exp-content p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ===== EDUCATION ===== */
#education { background: var(--bg-alt); }

/* ===== PUBLICATIONS ===== */
.pub-list { list-style: none; }
.pub-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.pub-item:last-child { border-bottom: none; }
.pub-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.pub-journal {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--accent-light);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
}
.pub-year {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.pub-badge {
  font-size: 0.72rem;
  font-weight: 600;
  background: #fef3c7;
  color: #92400e;
  padding: 2px 7px;
  border-radius: 4px;
}
.pub-badge.review {
  background: #f3e8ff;
  color: #6b21a8;
}
.pub-title {
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text);
}
.pub-authors {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.pub-authors strong {
  color: var(--text);
  font-weight: 600;
}

/* ===== AWARDS & CONFERENCES ===== */
.award-item, .conf-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.award-item:last-child, .conf-item:last-child { border-bottom: none; }
.conf-year {
  display: inline-block;
  font-weight: 600;
  color: var(--accent);
  min-width: 44px;
}
.conf-type {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 8px;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}
.contact-value {
  font-size: 0.92rem;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 32px 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-name { font-size: 1.8rem; }
  .nav-links { display: none; }
  .exp-item { grid-template-columns: 1fr; }
  .exp-date { margin-bottom: 4px; }
}
