@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f8faf6;
  --ink: #1c3028;
  --muted: #54675b;
  --accent: #246548;
  --line: #d9e3d8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 system-ui, sans-serif; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: #153c30; text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
h1, h2, h3, h4, p, figure { margin-top: 0; }
.site-header { position: sticky; top: 0; z-index: 10; background: #184a36; border-bottom: 1px solid #184a36; }
.site-header :focus-visible { outline-color: #c4dfae; }
.navigation, .page-shell, .site-footer { max-width: 1080px; margin-inline: auto; padding-inline: 36px; }
.navigation { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { color: #f0f5e9; font-size: 19px; font-weight: 650; letter-spacing: -.7px; text-decoration: none; white-space: nowrap; }
.wordmark-dot { color: var(--accent); }
.site-header .wordmark-dot { color: #f0f5e9; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { color: #f0f5e9; font-size: 14px; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { text-decoration: underline; }
.header-profiles { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.header-profiles a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 4px; }
.header-profiles a:hover { background: #31614a; }
.header-profiles img { display: block; filter: invert(1); }
.hero { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 72px; padding-block: 90px 86px; }
.eyebrow { margin-bottom: 19px; color: var(--accent); font-size: 11px; font-weight: 650; letter-spacing: 2px; text-transform: uppercase; }
h1 { margin-bottom: 17px; font-size: clamp(44px, 5vw, 66px); font-weight: 650; line-height: 1.1; letter-spacing: -3px; }
.hero-intro { font-size: 29px; font-weight: 450; line-height: 1.25; letter-spacing: -.5px; margin-bottom: 28px; }
.hero-copy > p:not(.eyebrow, .hero-intro) { color: var(--muted); font-size: 15px; max-width: 490px; }
.hero-copy strong { color: var(--ink); font-weight: 550; }
.hero-links { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 30px; font-size: 13px; }
.hero-links > a:not(.button) { text-decoration: none; }
.email-reveal { border: 0; padding: 0; background: none; color: var(--accent); font: inherit; cursor: pointer; }
.email-reveal:hover { text-decoration: underline; text-underline-offset: 4px; }
.email-address { overflow-wrap: anywhere; }
.button { display: inline-flex; gap: 24px; align-items: center; background: var(--accent); border: 1px solid var(--accent); color: white; padding: 11px 19px; border-radius: 24px; font-size: 13px; text-decoration: none; }
.button:hover { background: #204e42; color: white; text-decoration: none; }
.portrait { margin: 0; position: relative; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px 16px 72px 16px; }
.portrait figcaption { margin-top: 20px; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); text-align: center; }
.section { padding-block: 58px 62px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 38px; }
.section-heading .eyebrow { margin-bottom: 8px; }
h2 { font-size: 34px; font-weight: 600; line-height: 1.2; margin-bottom: 0; letter-spacing: -1px; }
.quiet-link { font-size: 12px; text-decoration: none; }
#publications .section-heading { margin-bottom: 24px; }
.publication-year { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 18px; }
.publication-year > h3 { font-size: 22px; font-weight: 400; color: var(--muted); margin: 12px 0 0; }
.paper { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.publication-year:last-of-type .paper:last-child { border-bottom: 0; padding-bottom: 0; }
.venue { grid-column: 1; grid-row: 1; align-self: center; color: var(--accent); font-size: 10px; font-weight: 650; letter-spacing: .3px; line-height: 1.5; text-transform: uppercase; }
.paper h4 { grid-column: 1 / -1; grid-row: 2; font-size: 16px; line-height: 1.4; font-weight: 550; margin: 0; }
.paper h4 a { color: var(--ink); text-decoration: none; }
.paper h4 a:hover { color: var(--accent); text-decoration: underline; }
.authors { grid-column: 1 / -1; grid-row: 3; color: var(--muted); font-size: 12px; line-height: 1.5; margin: 0; }
.paper-links { grid-column: 2; grid-row: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 11px; line-height: 1.5; }
.paper-links a { text-decoration: none; }
.missing-pdf { color: var(--muted); }
.bibliography-source { color: var(--muted); font-size: 12px; margin: 24px 0 0 98px; }
.markdown-content { max-width: 760px; padding-left: 128px; }
#cv .markdown-content { max-width: 900px; }
#cv .markdown-content em { color: var(--muted); font-style: normal; font-size: 12px; }
#cv .markdown-content ul { padding-left: 20px; }
#cv .markdown-content li { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.markdown-content h3 { margin-top: 32px; margin-bottom: 12px; font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); }
.markdown-content h3:first-child { margin-top: 0; }
.markdown-content p { color: var(--muted); font-size: 14px; }
.markdown-content strong { color: var(--ink); font-weight: 600; }
.markdown-content table { width: 100%; border-collapse: collapse; font-size: 13px; }
.markdown-content th, .markdown-content td { text-align: left; vertical-align: top; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); }
.markdown-content th { color: var(--muted); font-weight: 500; }
.site-footer { border-top: 1px solid var(--line); padding-block: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 11px; }
.site-footer a { text-decoration: none; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 20; background: var(--paper); padding: 10px 20px; }
.skip-link:focus { top: 10px; }
.project-page { max-width: 820px; padding: 70px 36px; margin-inline: auto; }
.project-page h1 { margin-top: 20px; }
.project-page h2 { margin-bottom: 28px; }
.project-page h3 { margin-top: 30px; }
.project-page .eyebrow { margin-top: 40px; }
.project-page hr { border: 0; border-top: 1px solid var(--line); margin-block: 40px; }
.project-list { margin-block: 36px; }
.project-card { padding-block: 28px; border-block: 1px solid var(--line); }
.project-card h2 { margin-bottom: 12px; }
.project-card h2 a { color: var(--ink); text-decoration: none; }
.project-card h2 a:hover { color: var(--accent); text-decoration: underline; }
.project-card p { color: var(--muted); margin-bottom: 0; }

@media (max-width: 760px) {
  .navigation, .page-shell, .site-footer { padding-inline: 22px; }
  .navigation { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding-block: 14px; }
  .wordmark { grid-column: 1; grid-row: 1; }
  .header-profiles { grid-column: 2; grid-row: 1; }
  .nav-links { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: 8px 10px; justify-content: center; margin-left: 0; }
  .nav-links a { font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-block: 45px 48px; }
  .portrait { max-width: 340px; margin-right: 18px; }
  .section { padding-block: 38px; }
  .section-heading { align-items: flex-start; flex-wrap: wrap; gap: 18px; margin-bottom: 22px; }
  .publication-year { grid-template-columns: 1fr; gap: 0; }
  .publication-year > h3 { margin-top: 20px; margin-bottom: 0; }
  .paper { grid-template-columns: minmax(0, 1fr); gap: 5px; padding-block: 12px; }
  .venue, .paper h4, .authors, .paper-links { grid-column: 1; grid-row: auto; }
  .markdown-content { padding-left: 0; }
  .bibliography-source { margin-left: 0; }
}

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