/* ─── Base ───────────────────────────────────────── */
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #2a2a2a;
  margin: 0;
  padding: 0;
  background: #f0eeeb;
}

/* ─── Hero ───────────────────────────────────────── */
.hero-section {
  display: grid;
  grid-template-columns: 440px 1fr;
  min-height: 88vh;
  align-items: stretch;
}

.hero-photo-col {
  overflow: hidden;
  background: #e8e4de;
}

.hero-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-bio-col {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f0eeeb;
}

.hero-name {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  color: #1a1a2e;
  margin: 0 0 1rem;
  border: none;
}

.hero-role {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 4px;
}

.hero-institution {
  font-size: 18px;
  color: #666;
  font-style: italic;
  margin: 0 0 1.25rem;
}

.hero-social {
  display: flex;
  gap: 14px;
  margin-bottom: 1.75rem;
}

.hero-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1a1a2e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.hero-social a:hover {
  background: #7b7fa8;
}

.hero-bio {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-btn {
  display: inline-block;
  padding: 10px 24px;
  border: 1.5px solid #1a1a2e;
  color: #1a1a2e;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .04em;
  width: fit-content;
}

.hero-btn:hover {
  background: #1a1a2e;
  color: #fff;
  text-decoration: none;
}

/* ─── Page content below hero ────────────────────── */
.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* ─── Section headings ───────────────────────────── */
h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ddd;
}

/* ─── Paper cards ────────────────────────────────── */
.paper-card {
  border: 1px solid #e0ddd8;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-bottom: 12px;
  background: #fff;
}

.paper-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 5px;
  color: #1a1a2e;
}

.paper-meta {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.paper-status {
  display: inline-block;
  font-size: 11px;
  padding: 2px 9px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  background: #fef9ec;
  color: #92610a;
  border: 1px solid #f5d97e;
}
details summary {
  font-size: 15px;
  color: #1a1a2e;
  cursor: pointer;
  list-style: none;
  margin-bottom: 6px;
}
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "▸ "; }
details[open] summary::before { content: "▾ "; }.abstract-text {
  font-size: 13px;
  color: #555;
  line-height: 1.65;
  margin: 8px 0;
}

.paper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.pill {
  font-size: 15px;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #e0ddd8;
  color: #555;
  text-decoration: none;
  background: transparent;
}
.pill:hover { background: #f3f4f6; text-decoration: none; color: #333; }
.pill-arxiv { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }

/* ─── Fields ─────────────────────────────────────── */
.fields-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1rem; }
.field {
  font-size: 16px;
  padding: 5px 13px;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
}

/* ─── Table ──────────────────────────────────────── */
table { font-size: 16px; border-collapse: collapse; width: 100%; margin-bottom: 1rem; }
td { padding: 6px 8px 6px 0; border-bottom: 1px solid #eee; vertical-align: top; }
td:first-child { color: #888; white-space: nowrap; width: 160px; font-size: 16px; }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
  .hero-section { grid-template-columns: 1fr; }
  .hero-photo-col { height: 60vw; }
  .hero-bio-col { padding: 2.5rem 1.5rem; }
  .hero-name { font-size: 32px; }
}

.paper-coauthor {
  font-size: 15px;
  color: #222;
  margin-bottom: 6px;
}

.paper-coauthor a {
  color: #222;
  text-decoration: none;
}

.paper-coauthor a:hover {
  text-decoration: underline;
}

/* ─── Teaching ─────────────────────────────────── */
.course-card {
  border: 1px solid #e0ddd8;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-bottom: 12px;
  background: #fff;
}

.course-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 5px;
  color: #1a1a2e;
}

.course-meta {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 8px;
}

.course-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}