/* ============================================================
   Minimal academic homepage — light theme
   ============================================================ */

:root {
  --ink:        #1a1a1a;
  --ink-soft:   #444;
  --muted:      #777;
  --line:       #e6e6e6;
  --link:       #2a5db0;
  --link-hover: #d23b3b;
  --bg:         #fdfdfc;
  --maxw:       760px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 24px 80px;
}

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

hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 44px 0;
}

/* ---------- Header ---------- */
.intro {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}
.intro-text { flex: 1 1 auto; }

.name {
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 .25em;
}
.tagline {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin: 0 0 1em;
}
.blurb {
  color: var(--ink-soft);
  margin: 0 0 1.1em;
}
.links {
  font-family: "Inter", system-ui, sans-serif;
  font-size: .92rem;
  color: var(--muted);
  margin: 0;
}

.intro-photo {
  flex: 0 0 150px;
}
.intro-photo img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  background: #ececec;
  display: block;
}

/* ---------- Section headings ---------- */
section h2 {
  font-family: "Inter", system-ui, sans-serif;
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin: 0 0 1.1em;
}

.note {
  font-size: .9rem;
  color: var(--muted);
  margin: -.4em 0 1.2em;
}

/* ---------- Sub-headings inside Experiences ---------- */
.subhead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin: 1.6em 0 .8em;
}
.subhead:first-of-type { margin-top: 0; }

/* ---------- News ---------- */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-list li {
  margin-bottom: .55em;
  color: var(--ink-soft);
}
.news-list .date {
  display: inline-block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: .8rem;
  color: var(--muted);
  width: 92px;
}

/* ---------- Publications ---------- */
.pub {
  display: flex;
  gap: 22px;
  margin-bottom: 30px;
  align-items: flex-start;
}
.pub-thumb {
  flex: 0 0 150px;
}
.pub-thumb img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: #f0f0f0;
  display: block;
}
.pub-body { flex: 1 1 auto; }
.pub-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 .2em;
  line-height: 1.35;
}
.pub-authors { margin: 0 0 .15em; color: var(--ink-soft); }
.pub-authors .me { font-weight: 600; color: var(--ink); }
.pub-venue { margin: 0 0 .3em; color: var(--muted); font-size: .96rem; }
.pub-links {
  font-family: "Inter", system-ui, sans-serif;
  font-size: .85rem;
  margin: 0;
}

/* ---------- Timeline (education / honors) ---------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline > li {
  display: flex;
  gap: 24px;
  margin-bottom: .9em;
}
.timeline .when {
  flex: 0 0 130px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: .85rem;
  color: var(--muted);
  padding-top: .15em;
}
.timeline .what { flex: 1 1 auto; color: var(--ink-soft); }
.timeline .what strong { color: var(--ink); }
.timeline .what ul {
  margin: .35em 0 0;
  padding-left: 1.1em;
}
.timeline .what ul li {
  margin-bottom: .25em;
  font-size: .96rem;
  line-height: 1.5;
}

/* ---------- Award list ---------- */
.award-list {
  list-style: none;
  margin: 0 0 .5em;
  padding: 0;
}
.award-list li {
  margin-bottom: .5em;
  color: var(--ink-soft);
  padding-left: 64px;
  text-indent: -64px;
}
.award-list .yr {
  display: inline-block;
  width: 56px;
  text-indent: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: .8rem;
  color: var(--muted);
}
.award-list strong { color: var(--ink); }

/* ---------- Publication summary line ---------- */
.pub-summary {
  margin: .25em 0 .35em;
  font-size: .95rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- Footer ---------- */
footer {
  font-family: "Inter", system-ui, sans-serif;
  font-size: .82rem;
  color: var(--muted);
  text-align: center;
}
footer p { margin: .25em 0; }

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  body { font-size: 17px; }
  .page { padding: 40px 20px 60px; }
  .intro { flex-direction: column-reverse; gap: 20px; }
  .intro-photo { flex: 0 0 auto; }
  .name { font-size: 2rem; }
  .pub { flex-direction: column; gap: 12px; }
  .pub-thumb, .pub-thumb img { width: 100%; }
  .pub-thumb img { height: 160px; }
  .timeline li { flex-direction: column; gap: 2px; }
  .news-list .date { width: auto; margin-right: 8px; }
}
