:root {
  --paper: #fbfaf7;
  --surface: #ffffff;
  --ink: #14171d;
  --muted: #626977;
  --line: #dfe3ea;
  --line-strong: #c7ced8;
  --blue: #295f98;
  --blue-deep: #173a62;
  --slate: #344054;
  --shadow: 0 18px 52px rgba(30, 41, 59, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(41, 95, 152, 0.045), rgba(41, 95, 152, 0) 340px),
    radial-gradient(circle at top right, rgba(52, 64, 84, 0.06), transparent 360px),
    var(--paper);
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  line-height: 1.62;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--blue-deep);
}

.site-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 64px;
  padding: 56px 0 80px;
}

.profile {
  position: sticky;
  top: 32px;
  align-self: start;
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.portrait {
  display: block;
  width: 164px;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  filter: saturate(0.92) contrast(1.03);
}

.eyebrow,
.section-kicker,
.venue {
  margin: 0 0 8px;
  color: var(--blue-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
  font-weight: 500;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(2.45rem, 8vw, 4.45rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

h3 {
  margin-bottom: 5px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.role {
  margin-bottom: 0;
  color: var(--blue-deep);
  font-weight: 800;
}

.affiliation {
  margin: 4px 0 24px;
  color: var(--muted);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.links a:hover,
.links a:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
  background: #ffffff;
}

main {
  display: grid;
  gap: 54px;
}

section {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.intro {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 0;
}

.intro p:not(.section-kicker) {
  max-width: 760px;
  color: #303744;
  font-size: 1.08rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  align-items: baseline;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.item,
.paper {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
}

time {
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}

.item p,
.paper p {
  margin-bottom: 0;
}

.list {
  display: grid;
  gap: 13px;
}

.item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  padding: 18px;
}

.item p {
  color: var(--muted);
}

.item-wide p {
  max-width: 690px;
}

.compact .item {
  align-items: center;
}

.papers {
  display: grid;
  gap: 18px;
}

.paper {
  padding: 22px;
}

.paper h3 {
  max-width: 780px;
  font-size: 1.18rem;
}

.paper p {
  max-width: 820px;
}

.authors {
  color: var(--muted);
}

.paper a {
  display: inline-flex;
  margin-top: 14px;
  margin-right: 16px;
  font-weight: 800;
}

::selection {
  color: #ffffff;
  background: var(--blue);
}

@media (max-width: 880px) {
  .site-shell {
    width: min(100% - 32px, 680px);
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 24px 0 64px;
  }

  .profile {
    position: static;
    display: grid;
    grid-template-columns: 118px 1fr;
    column-gap: 20px;
    padding: 20px;
  }

  .portrait {
    grid-row: span 5;
    width: 118px;
    margin-bottom: 0;
  }

  h1 {
    font-size: 2.6rem;
  }

  .links {
    grid-column: 1 / -1;
    margin-top: 18px;
  }

  .intro {
    min-height: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: min(100% - 22px, 680px);
  }

  .profile {
    grid-template-columns: 92px 1fr;
    column-gap: 16px;
  }

  .portrait {
    width: 92px;
  }

  h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .links a {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
  }

  .paper,
  .item {
    padding: 16px;
  }
}
