:root {
  color-scheme: light;
  --ink: #263336;
  --muted: #657378;
  --accent: #216b70;
  --line: #e0e7e7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; background: #fff; color: var(--ink); font: 18px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { max-width: 100%; height: auto; }
strong { font-weight: 650; }
.skip-link { position: absolute; left: 16px; top: -80px; padding: 8px 16px; background: #fff; z-index: 3; }
.skip-link:focus { top: 8px; }
.site-header { position: sticky; top: 0; background: #fffffff5; border-bottom: 1px solid var(--line); z-index: 2; }
.header-inner { max-width: 1160px; margin: auto; min-height: 80px; padding: 15px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { color: var(--ink); font-weight: 650; white-space: nowrap; }
.wordmark span { font-weight: 400; margin-left: 6px; color: var(--muted); }
nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 16px; }
nav a { color: #495b60; }
main, footer { max-width: 1160px; padding: 0 32px; margin: auto; }
section { margin-bottom: 48px; }
.profile { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 44px 0 0; margin-bottom: 38px; }
.eyebrow { color: var(--accent); font-size: 14px; font-weight: 650; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 10px; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { margin: 0 0 14px; font-size: 48px; line-height: 1.2; letter-spacing: -.8px; }
h1 span { font-family: serif; font-size: 32px; letter-spacing: 2px; margin-left: 10px; }
.profile-copy > p:not(.eyebrow) { margin: 10px 0; font-size: 18px; line-height: 1.8; }
.portrait { display: block; width: 100%; height: auto; aspect-ratio: 1706 / 1279; border-radius: 4px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 18px; font-size: 16px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 24px; }
h2 { font-size: 34px; line-height: 1.3; margin: 0; letter-spacing: -.4px; }
.section-heading > span { font-size: 16px; color: var(--muted); }
h3 { font-size: 21px; line-height: 1.5; margin: 0 0 4px; font-weight: 650; }
.publication { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 30px; align-items: center; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.publication:last-child { border-bottom: 0; padding-bottom: 0; }
.paper-thumbnail { display: block; border-radius: 4px; }
.paper-thumbnail img { display: block; width: 100%; height: auto; max-height: 215px; object-fit: contain; }
.paper-content { min-width: 0; }
.paper-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; }
.publication .contribution-note { font-size: 16px; color: var(--muted); margin-top: 5px; }
.paper-year, .date { font-size: 16px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 2px; }
.publication h3 a { color: var(--ink); }
.publication h3 a:hover { color: var(--accent); }
.publication p { margin: 3px 0; font-size: 18px; line-height: 1.65; }
.authors { color: #57676c; }
.authors strong { color: var(--ink); }
.venue { color: var(--muted); font-style: italic; }
.paper-link { display: inline-flex; gap: 6px; align-items: center; padding: 4px 12px; border: 1px solid #c4d8d9; border-radius: 4px; font-size: 16px; font-weight: 600; background: #f5fafa; }
.paper-link:hover { background: #e8f2f2; text-decoration: none; }
.dated-row { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 24px; margin-bottom: 22px; }
.dated-row p { font-size: 18px; margin: 3px 0; }
.muted { color: var(--muted); font-size: 16px; }
.project { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 30px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.project:first-of-type { padding-top: 0; }
.project > img { width: 100%; max-height: 185px; object-fit: contain; object-position: center top; border-radius: 3px; }
.project p { font-size: 18px; margin: 8px 0; }
.project .award-callout { margin: 14px 0; padding: 12px 16px; border-left: 3px solid var(--accent); background: #f0f7f7; color: var(--accent); }
.project-compact .award-callout { margin: 8px 0; padding: 6px 12px; }
.project-compact details { margin-top: 8px; }
.project .eyebrow { font-size: 14px; margin: 0 0 5px; }
.project h3 { font-size: 22px; }
.project-tasks { margin: 12px 0; padding-left: 22px; }
.project-tasks li { margin-bottom: 10px; }
.book { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 30px; align-items: center; }
.book-cover { display: block; width: 180px; margin: auto; }
.book-cover img { display: block; width: 100%; height: auto; }
.book h3 { font-size: 22px; }
.book p { margin: 14px 0; }
details { margin-top: 12px; }
summary { cursor: pointer; color: var(--accent); font-size: 16px; font-weight: 600; }
.highlights { list-style: none; padding: 0; margin: 0; }
.highlights li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; margin-bottom: 14px; font-size: 18px; }
.awards-archive { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 22px; }
.prose { font-size: 18px; }
.prose h2 { font: 650 23px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; margin-top: 28px; }
.prose h3 { margin-top: 20px; font-size: 18px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 28px; font-size: 16px; color: var(--muted); }
@media (max-width: 850px) {
  html { scroll-padding-top: 125px; }
  .header-inner { padding: 12px 22px; flex-direction: column; align-items: flex-start; gap: 8px; }
  nav { gap: 10px 20px; font-size: 16px; }
  main, footer { padding-left: 22px; padding-right: 22px; }
  .profile { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 30px; }
  .portrait { max-width: 520px; }
  h1 { font-size: 42px; }
  h1 span { font-size: 30px; }
  .project, .book { grid-template-columns: 180px minmax(0, 1fr); gap: 22px; }
  .publication { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
  .publication { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .paper-thumbnail { width: 100%; max-width: 380px; }
  .paper-thumbnail img { max-height: 250px; object-position: left center; }
  .highlights li { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; }
  .paper-year, .highlights .date { font-size: 15px; }
  .publication h3 { font-size: 21px; }
  .publication p { font-size: 18px; }
  .dated-row { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .project, .book { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .book-cover { margin-left: 0; }
  .project > img { max-width: 280px; max-height: 200px; }
  .section-heading > span { font-size: 15px; }
  h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, footer, .skip-link { display: none; }
  main { max-width: none; padding: 0; }
  .profile { padding-top: 0; }
  .publication, .project, .book { break-inside: avoid; }
  a { color: inherit; }
}
