:root {
  --paper: #fbfaf6;
  --ink: #1a1a18;
  --muted: #64615a;
  --line: #d9d4c8;
  --accent: #315f4c;
  --accent-warm: #a5462a;
  --accent-cool: #4c5f8c;
  --soft: #f0ece2;
  --max: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
}

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

a:hover {
  color: var(--accent-warm);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.icon-link svg {
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

main,
.site-footer {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: 440px;
  padding: 76px 0 66px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 330px);
  gap: 44px;
  align-items: center;
}

.hero-portrait {
  margin: 0;
  justify-self: end;
}

.hero-portrait img {
  display: block;
  width: min(330px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: 8px;
}

.eyebrow,
.section-kicker,
.venue,
.authors,
.paper-links,
.timeline-item span,
.footer-links,
.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent-warm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.12;
  text-transform: none;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(46px, 8vw, 84px);
  line-height: 0.98;
  font-weight: 500;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 500;
}

.section-heading h2 {
  color: var(--accent-warm);
  font-size: clamp(30px, 4.5vw, 46px);
}

h3 {
  margin-bottom: 6px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
}

h3 a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

h3 a:hover {
  color: var(--accent-warm);
}

.lead {
  max-width: 660px;
  margin-bottom: 26px;
  font-size: clamp(22px, 3vw, 29px);
  line-height: 1.42;
}

.link-row,
.paper-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.link-row a,
.paper-links a,
.subtle-link,
.footer-links a {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}

.link-row a,
.paper-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 30px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.section {
  padding: 58px 0;
  border-top: 1px solid var(--line);
}

.two-column {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 52px;
}

.copy-stack p {
  max-width: 640px;
}

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

.metric-line {
  margin-top: 24px;
  color: var(--accent-cool);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.section-heading {
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.subtle-link {
  color: var(--muted);
}

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

.paper {
  counter-increment: paper-counter;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.paper:first-child {
  border-top: 0;
}

.authors,
.venue {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.authors a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.authors a:hover {
  color: var(--accent-warm);
}

.venue {
  color: var(--accent-cool);
}

.paper-links {
  margin-top: 10px;
}

.paper-links a {
  min-height: 24px;
  font-size: 13px;
}

.publication-network {
  display: block;
  width: 100%;
  height: 280px;
  margin: 0 0 26px;
  border: 0;
}

.publication-network-note {
  max-width: 820px;
  margin: -8px 0 14px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.section-intro {
  max-width: 820px;
  margin: -4px 0 14px;
  color: var(--ink);
}

.editor-feature {
  margin: 10px 0 8px;
  display: grid;
  grid-template-columns: minmax(150px, 240px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  max-width: 760px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.editor-feature--text {
  display: block;
  max-width: 680px;
}

.editor-feature img {
  display: block;
  width: 100%;
  max-height: 118px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #fff;
}

.feature-label {
  margin-bottom: 4px;
  color: var(--accent-warm);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.editor-feature p:not(.feature-label) {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.38;
}

.editor-feature a {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12.5px;
}

.quiet-section {
  background: var(--paper);
}

.talk-list {
  border-top: 1px solid var(--line);
}

.talk-map-note {
  max-width: 760px;
  margin: -8px 0 18px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.talk-map {
  display: block;
  width: 100%;
  height: 390px;
  margin: 0 0 30px;
  border: 0;
}

.talk {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.talk:last-child {
  border-bottom: 0;
}

.talk time {
  color: var(--accent-warm);
  font-weight: 700;
}

.talk h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

.talk h3 a {
  color: inherit;
}

.talk p {
  margin: 0;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.talk-kind {
  color: var(--accent-warm);
  font-weight: 700;
}

.cv-block {
  margin-top: 30px;
}

.cv-block h3 {
  margin-bottom: 12px;
  color: var(--accent-warm);
  font-size: clamp(25px, 4vw, 38px);
}

.cv-summary {
  max-width: 860px;
}

.cv-summary p {
  margin-bottom: 14px;
}

.cv-list,
.timeline {
  border-top: 1px solid var(--line);
}

.cv-entry,
.timeline-item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cv-date-logo {
  text-align: right;
}

.cv-date-logo span,
.timeline-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-warm);
  font-size: 14px;
  font-weight: 700;
}

.cv-date-logo img {
  display: inline-block;
  max-width: 128px;
  max-height: 54px;
  object-fit: contain;
}

.cv-entry p,
.timeline-item p {
  margin: 0;
}

.cv-entry p + p {
  margin-top: 4px;
}

.cv-course-list {
  margin: 8px 0 0;
  padding-left: 18px;
}

.cv-course-list li + li {
  margin-top: 4px;
}

.cv-course-list span {
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
}

.site-footer {
  padding: 40px 0 56px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin-bottom: 0;
}

.footer-links {
  justify-content: flex-end;
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }

  .site-header,
  .site-footer {
    display: block;
  }

  .nav {
    margin-top: 12px;
    justify-content: flex-start;
  }

  .hero,
  .two-column,
  .editor-feature,
  .cv-entry,
  .timeline-item,
  .talk {
    grid-template-columns: 1fr;
  }

  .cv-date-logo {
    text-align: left;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 46px;
  }

  .hero-portrait {
    margin-top: 28px;
    justify-self: start;
  }

  .hero-portrait img {
    width: min(260px, 100%);
  }

  .section-heading {
    display: block;
  }

  .footer-links {
    margin-top: 18px;
    justify-content: flex-start;
  }
}
