/* ===== Global ===== */
:root { --brand-blue: #5091c7; }

html, body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: #222;
  background: #fdfdfd;
}

/* Global link styles */
a, a:visited { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Container aligns all sections with headshot edge */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 72px;  /* tweak to align section text with photo edge */
}

/* ===== Hero ===== */
.hero {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 36px 0 8px;
  flex-wrap: wrap;
}

.profile-pic {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
}

.hero-text { max-width: 680px; }

h1 { font-size: 1.75rem; margin: 0 0 10px; font-weight: 700; }
.tagline { font-size: 1.25rem; font-weight: 500; color: var(--brand-blue); margin: 0 0 16px; }
.bio { font-size: 1rem; line-height: 1.6; margin: 0 0 18px; }

/* Social icons row */
.social-links { display: flex; align-items: center; gap: 6px; }
.social-links a { margin: 0; }
.icon { width: 28px; height: 28px; transition: transform .3s; vertical-align: middle; }
.icon:hover { transform: scale(1.2); }

/* ===== Sections ===== */
.section { padding: 36px 0; }
.section + .section { border-top: 1px solid #eee; }
.section h2 { font-size: 1.6rem; margin: 0 0 18px; font-weight: 700; }

/* Speaking */
.talk { margin: 0; }
.talk-title { font-weight: 600; }
.talk-meta { font-weight: 300; color: #555; }

/* News – compact list */
.news-list { list-style: disc; margin: 0; padding-left: 1.1rem; }
.news-list li { margin: 0; line-height: 1.45; }

/* Research cards */
.paper {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 28px;
  align-items: start;
  margin: 0 0 32px;
}
.paper-thumb { display: block; position: relative; }
.paper-thumb img { width: 100%; height: auto; border-radius: 12px; display: block; }
.paper-title { font-size: 1.35rem; margin: 0 0 6px; font-weight: 700; }
.paper-authors { margin: 0 0 4px; color: #444; font-weight: 300; }
.paper-venue { margin: 0 8px 8px 0; color: #666; font-weight: 300; }
.pdf-link { display: inline-flex; align-items: center; gap: 8px; }
.pdf-icon { width: 48px; height: 48px; }

@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .paper { grid-template-columns: 1fr; }
}

/* Apply Helvetica Neue Thin style to bio and news filler text */
.bio p,
.news-list li {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300; /* Thin */
  font-size: 1rem; /* Match paper text size */
  line-height: 1.5;
}

/* === Hero section customizations === */
.hero .bio {
  font-weight: 300; /* thin text */
}
