:root {
  --fg: #1a1a1a;
  --bg: #ffffff;
  --muted: #6b6b6b;
  --rule: #d6d6d6;
  --font-heading: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

ins {
  text-decoration: underline;
  text-underline-offset: 0.12em;
  background: transparent;
}

.shell {
  display: grid;
  grid-template-columns: 200px minmax(0, 42rem);
  gap: 3.5rem;
  max-width: 928px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.identity {
  position: sticky;
  top: 2.75rem;
  align-self: start;
}

@media (max-width: 900px) {
  .shell {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-top: 1.75rem;
  }
  .identity { position: static; }
}

.identity .avatar {
  width: 150px;
  margin-bottom: 0.85rem;
}

.identity .avatar img {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
}

.identity .name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0.35rem 0 0.85rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.icon-pad-right {
  padding-right: 0.5em;
  margin-right: 0.5em;
  width: 1.25em;
  text-align: center;
}

.identity .social {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
}

.identity .social li {
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
  white-space: nowrap;
}

.identity .social a {
  display: block;
  color: inherit;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 0.05rem 0;
}

.identity .social a:hover {
  text-decoration: underline;
}

.identity .social .fa,
.identity .social .fas,
.identity .social .fab,
.identity .social .fa-solid,
.identity .social .ai {
  color: #000;
}

.main { min-width: 0; }

.blurb {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  line-height: 1.45;
  letter-spacing: -0.015em;
  margin: 0 0 2.5rem;
}

.blurb p {
  margin: 0 0 0.85rem;
}

.blurb p:last-child {
  margin-bottom: 0;
}

section {
  margin: 0 0 2.75rem;
}

section#news {
  margin-bottom: 2rem;
}

section h2 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--muted);
}

section#news h2,
section#publications h2,
section#resume h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--fg);
}

section#news h2 {
  font-size: 1.55rem;
  margin: 0 0 0.65rem;
}

section#publications h2,
section#resume h2 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

section#resume h2 {
  margin: 0 0 0.65rem;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-list li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  font-size: 0.98rem;
  line-height: 1.55;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
}

.news-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.news-list .date {
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  line-height: 1.4;
  padding-top: 0.15rem;
}

.news-list li.featured {
  grid-template-columns: 1fr;
  gap: 0.4rem;
  padding: 0 0 0.95rem;
  margin: 0 0 0.15rem;
  border-bottom: 1px solid var(--fg);
}

.news-list li.featured .date {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.news-list li.featured .body {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.pubs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.pubs .pub-title {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.pubs .pub-title a {
  color: var(--fg);
  text-decoration: none;
}

.pubs .pub-title a:hover {
  text-decoration: underline;
}

.pubs .pub-authors {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.pubs .pub-meta {
  font-size: 0.88rem;
  color: var(--muted);
}

.pubs .pub-meta .venue {
  display: inline;
  font-weight: 600;
  color: var(--fg);
  margin: 0;
}

.pubs .badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  padding: 0.05rem 0.35rem;
  margin-left: 0.25rem;
  color: var(--fg);
}

.pubs .plinks {
  margin-left: 0.15rem;
}

.pubs .plink {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.pubs .dot {
  margin: 0 0.35rem;
  color: #bbb;
}

.resume-link {
  margin: 0;
  font-size: 0.98rem;
}

.resume-link a {
  color: var(--fg);
}

@media (max-width: 640px) {
  .news-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .identity .avatar,
  .identity .avatar img {
    width: 96px;
    height: 96px;
  }
}
