@font-face {
  font-family: Lora;
  src: url('/fonts/lora-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('/fonts/source-sans-3-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #fcfbf8;
  --ink: #282b28;
  --muted: #656961;
  --accent: #37695f;
  --line: #dedfd7;
  --serif: Lora, Georgia, serif;
  --sans: 'Source Sans 3', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--background); }
body { margin: 0; color: var(--ink); font: 18px/1.65 var(--sans); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
::selection { background: #dbe9de; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(38px, 6vw, 52px); line-height: 1.2; letter-spacing: -0.035em; }
h2 { font-size: 25px; line-height: 1.35; letter-spacing: -0.02em; }
h3 { font-size: 19px; line-height: 1.45; font-weight: 600; }
strong { font-weight: 600; }
sup { font-size: 0.7em; }
ul, ol { padding: 0; margin: 0; list-style: none; }

.site { max-width: 876px; padding: 0 36px; margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 35px 0 25px; border-bottom: 1px solid var(--line); }
.wordmark { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--ink); }
.site-header a { text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 16px; }
nav a { color: var(--muted); }
nav a:hover, nav a[aria-current] { color: var(--ink); text-decoration: underline; }
main { padding: 54px 0 0; }
main > section + section { margin-top: 45px; }
section > h2, .section-heading { margin-bottom: 22px; }

.identity { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.eyebrow { color: var(--muted); font-size: 13px; line-height: 1.5; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }
.identity .eyebrow { margin-bottom: 10px; }
.role { color: var(--muted); margin-top: 10px; }
.portrait { width: 120px; height: auto; flex-shrink: 0; border-radius: 10px; }
.bio p + p { margin-top: 16px; }
.bio a { text-decoration: none; border-bottom: 1px solid #b7cbc2; }
.contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.contact a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; text-decoration: none; }
.contact a:hover, .contact a:focus-visible { background: #e9eee8; }
.contact svg { display: block; width: 21px; height: 21px; }

.news li { display: grid; grid-template-columns: 93px 1fr; align-items: baseline; gap: 18px; }
.date, .note, .muted { color: var(--muted); }
.date { font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.section-link { font-size: 15px; white-space: nowrap; }
.publication + .publication { margin-top: 27px; }
.publication .eyebrow { margin-bottom: 5px; color: var(--accent); }
.publication h3 { font-size: 17px; }
.publication h3 a { color: var(--ink); text-decoration: none; }
.publication h3 a:hover { color: var(--accent); text-decoration: underline; }
.authors { margin-top: 5px; font-size: 16px; line-height: 1.55; }
.authors strong { font-weight: 700; }
.venue { color: var(--muted); margin-top: 2px; font-size: 15px; line-height: 1.5; }
.paper-links { display: flex; gap: 19px; margin-top: 6px; font-size: 15px; }
.note { margin-top: 20px; font-size: 14px; }
.timeline-item { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; }
.timeline-item + .timeline-item { margin-top: 21px; }
.timeline-item h3 { font-size: 18px; }
.timeline-item h3 .muted { font-weight: 400; font-size: 15px; }
.timeline-item p:not(.date) { font-size: 16px; color: var(--muted); }
.timeline-item a { color: inherit; text-decoration: none; }
.timeline-item a:hover { color: var(--accent); text-decoration: underline; }
.page-heading { margin-bottom: 40px; }
.page-heading p { margin-top: 14px; color: var(--muted); }
.page-heading + section { margin-top: 0; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 65px; padding: 22px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.skip-link { position: absolute; left: 16px; top: -100px; background: white; padding: 8px 14px; }
.skip-link:focus { top: 12px; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .site { padding: 0 23px; }
  .site-header { align-items: flex-start; flex-direction: column; gap: 15px; padding-top: 24px; }
  nav { gap: 23px; }
  main { padding-top: 37px; }
  .identity { gap: 18px; }
  .identity .eyebrow { font-size: 11px; }
  .portrait { width: 84px; }
  .role { font-size: 15px; }
  h1 { font-size: 38px; }
  h2 { font-size: 23px; }
  h3 { font-size: 18px; }
  .section-heading { flex-wrap: wrap; gap: 8px; }
  .timeline-item { flex-direction: column; gap: 3px; }
  .news li { grid-template-columns: 77px 1fr; gap: 12px; }
  .site-footer { flex-direction: column; gap: 3px; }
}

@media print {
  body { background: white; font-size: 11pt; }
  .site { max-width: none; padding: 0; }
  nav, .skip-link { display: none; }
  .site-header, .site-footer { padding: 10px 0; }
  main { padding-top: 24px; }
  main > section + section { margin-top: 24px; }
  .publication, .timeline-item { break-inside: avoid; }
  a { color: inherit; }
}
