:root {
  --ink: #17201d;
  --muted: #5d6863;
  --paper: #e8eae7;
  --white: #f0f1ee;
  --line: #c9cdc8;
  --green: #1f4d3d;
  --green-light: #dfe8e2;
  --rust: #a84d2d;
  --max: 1180px;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 28px 32px;
}

.home-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.home-link:hover,
.home-link:focus-visible {
  color: var(--green);
}

nav {
  display: flex;
  gap: 34px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--green);
}

main {
  overflow: hidden;
}

.hero {
  align-items: center;
  column-gap: clamp(48px, 8vw, 110px);
  display: grid;
  grid-template-columns: 1.5fr 0.75fr;
  margin: 0 auto;
  max-width: var(--max);
  min-height: calc(100vh - 104px);
  padding: 70px 32px 120px;
  row-gap: 64px;
}

.eyebrow {
  color: var(--rust);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  font-size: clamp(38px, 4.4vw, 58px);
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  max-width: 800px;
}

.dek {
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(20px, 1.9vw, 27px);
  line-height: 1.3;
  margin-bottom: 28px;
  max-width: 710px;
}

.intro {
  color: var(--muted);
  font-size: 17px;
  max-width: 680px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 38px;
}

.button {
  border: 1px solid var(--green);
  border-radius: 2px;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  text-decoration: none;
}

.button.primary {
  background: var(--green);
  color: white;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.headshot {
  justify-self: end;
  margin: 0;
  width: min(100%, 300px);
}

.headshot img {
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  object-position: 50% 40%;
  width: 100%;
}

.hero-contact {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-style: normal;
  gap: 24px;
  grid-column: 1 / -1;
  grid-template-columns: 1.2fr 1fr auto;
  line-height: 1.6;
  padding-top: 22px;
}

.section {
  padding: 110px max(32px, calc((100vw - var(--max)) / 2 + 32px));
}

.research {
  background: var(--white);
}

.section-heading {
  margin-bottom: 70px;
  max-width: 720px;
}

.section-heading h2 {
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.agenda {
  border-top: 1px solid var(--line);
  padding: 54px 0 70px;
}

.agenda-heading {
  display: grid;
  gap: 30px;
  grid-template-columns: 54px minmax(0, 660px);
  margin-bottom: 44px;
}

.agenda-heading > span {
  color: var(--rust);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.agenda-heading h3 {
  font-size: clamp(30px, 3.5vw, 46px);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

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

.publication-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-left: 84px;
}

.publication-card {
  background: #e3e6e2;
  border-top: 3px solid var(--green);
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 32px;
}

.publication-card.working-paper {
  background: var(--green-light);
  border-top-color: var(--rust);
}

.publication-card h4 {
  font-size: clamp(23px, 2.1vw, 30px);
  margin-bottom: 16px;
}

.publication-card > p:not(.paper-meta):not(.coauthors) {
  color: var(--muted);
}

.publication-card .coauthors {
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  margin: -4px 0 16px;
}

.publication-card .paper-link {
  margin-top: auto;
  padding-top: 18px;
}

.featured-paper {
  background: var(--green-light);
  display: grid;
  gap: 50px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-left: 84px;
  padding: 38px 42px;
}

.paper-meta {
  color: var(--rust);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.featured-paper h4 {
  font-size: clamp(24px, 2.5vw, 34px);
  margin-bottom: 16px;
  max-width: 820px;
}

.featured-paper p:last-child {
  color: var(--muted);
  margin-bottom: 0;
  max-width: 780px;
}

.paper-link {
  align-self: end;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.paper-list {
  list-style: none;
  margin: 18px 0 0 84px;
  padding: 0;
}

.paper-list li {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 30px;
  justify-content: space-between;
  padding: 22px 4px;
}

.paper-list strong,
.paper-list small {
  display: block;
}

.paper-list strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.25;
}

.paper-list small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
}

.paper-list a {
  color: var(--rust);
  font-size: 20px;
  text-decoration: none;
}

.ongoing {
  padding-bottom: 0;
}

.teaching-grid {
  display: grid;
  gap: clamp(40px, 8vw, 120px);
  grid-template-columns: repeat(2, 1fr);
}

.teaching-grid h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.dates {
  color: var(--rust);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.teaching-grid ul {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.teaching-grid li {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.teaching-grid li span {
  color: var(--green);
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer {
  background: #12372c;
  color: rgba(255, 255, 255, 0.64);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  padding: 22px max(32px, calc((100vw - var(--max)) / 2 + 32px));
}

footer p {
  margin: 0;
}

footer a {
  color: white;
  text-decoration: none;
}

@media (max-width: 800px) {
  .site-header {
    padding: 22px;
  }

  nav {
    gap: 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 60px 22px 90px;
  }

  .headshot {
    justify-self: start;
    max-width: 520px;
    width: min(76vw, 300px);
  }

  .section {
    padding: 80px 22px;
  }

  .agenda-heading {
    gap: 15px;
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .featured-paper {
    gap: 24px;
    grid-template-columns: 1fr;
    margin-left: 0;
    padding: 28px;
  }

  .publication-grid {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .publication-card {
    min-height: 0;
  }

  .paper-list {
    margin-left: 0;
  }

  .teaching-grid,
  .hero-contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  nav a:first-child {
    display: none;
  }

  h1 {
    font-size: 38px;
  }

  .hero {
    min-height: auto;
  }

  .paper-list strong {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
