/* A shared reading system. No font downloads or client-side layout. */
:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #24282b;
  --muted: #596168;
  --accent: #205d7b;
  --line: #dce0e2;
  --content: 880px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--serif); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: #123e55; text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin-top: 0; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.3; text-wrap: pretty; }
h1 { font-size: clamp(1.85rem, 4vw, 2.4rem); letter-spacing: -.025em; margin-bottom: 18px; }
h2 { font-size: 1.55rem; margin-bottom: 18px; }
h3 { font-size: 1.13rem; font-weight: 600; margin-bottom: 7px; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin-bottom: 16px; }
li { margin-bottom: 4px; }
main, .nav, .footer-inner { overflow-wrap: break-word; }
.container, .container-wide, .nav { width: min(calc(100% - 64px), var(--content)); margin-inline: auto; }
.measure, .prose { max-width: 76ch; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 10; left: 16px; top: 12px; transform: translateY(-200%); padding: 8px 12px; background: var(--ink); color: white; }
.skip-link:focus { transform: none; }

/* Navigation stays visible at every width, including without JavaScript. */
.site-header { margin-bottom: 38px; }
.nav { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 24px; padding-block: 25px 17px; border-bottom: 1px solid var(--line); font-family: var(--sans); }
.nav-brand { color: var(--ink); font-size: .95rem; font-weight: 600; text-decoration: none; }
.nav-menu, .link-line, .artifact-links, .footer-links, .section-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0 20px; padding: 0; margin: 0; }
.nav-menu { gap: 0 24px; }
.nav-menu li, .link-line li, .footer-links li, .section-links li { margin: 0; }
.nav-menu a { display: inline-block; padding-block: 8px; font-size: .86rem; text-decoration: none; }
.nav-menu a:hover, .nav-menu a[aria-current] { text-decoration: underline; }
.nav-menu a[aria-current] { color: var(--ink); }

/* Homepage: personal introduction, then a conventional bibliography. */
.intro { padding-bottom: 16px; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) 144px; gap: 14px 42px; align-items: start; }
.intro-heading { grid-column: 1; }
.intro h1 { margin-bottom: 9px; }
.name-part { white-space: nowrap; }
.affiliation { color: var(--muted); font-family: var(--sans); font-size: .92rem; line-height: 1.65; margin-bottom: 12px; }
.portrait { grid-column: 2; grid-row: 1 / span 2; width: 144px; aspect-ratio: 4 / 5; object-fit: cover; }
.intro-bio { grid-column: 1; }
.intro-bio p:last-child { margin-bottom: 0; }
.intro-interests { margin-top: 20px; }
.intro-interests p { margin-bottom: 12px; }
.availability { font-size: .94rem; }
.link-line, .artifact-links, .section-links { font-family: var(--sans); font-size: .84rem; }
.link-line a, .section-links a { display: inline-block; padding-block: 5px; }
.section-links { margin-top: 13px; color: var(--muted); }
.section { padding: 24px 0 16px; }
.section-head { margin-bottom: 20px; }
.section-head h2 { padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.section-head p, .lede { color: var(--muted); }
.section-head p:last-child { margin-bottom: 0; }
.top-space { margin-top: 24px; }
.top-space-sm { margin-top: 16px; }
.subsection-title { font: 600 .85rem/1.5 var(--sans); margin: 26px 0 18px; color: var(--muted); }
.subsection-title:first-child { margin-top: 0; }

/* Bibliography, project records, and dated entries share one text rhythm. */
.publication-list, .research-list, .timeline, .plain-list { list-style: none; margin: 0; padding: 0; }
.publication { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px; margin-bottom: 25px; }
.pub-year { font: .84rem/1.7 var(--sans); color: var(--muted); padding-top: 2px; }
.publication h3 { font-size: 1.07rem; margin-bottom: 5px; line-height: 1.45; }
.pub-authors, .pub-venue { font-size: .95rem; margin-bottom: 5px; line-height: 1.55; }
.pub-authors { color: var(--muted); }
.pub-authors strong { color: var(--ink); font-weight: 600; }
.pub-links { display: flex; flex-wrap: wrap; gap: 5px 16px; font: .82rem/1.6 var(--sans); margin: 6px 0 0; }
.contribution { margin-top: 7px; font-size: .91rem; }
summary { cursor: pointer; color: var(--accent); font: .83rem/1.6 var(--sans); width: fit-content; padding-block: 5px; }
summary:hover { text-decoration: underline; text-underline-offset: .18em; }
details[open] > summary { margin-bottom: 8px; }
.contribution p { margin: 0; max-width: 70ch; color: var(--muted); }
.research-item { display: flex; flex-direction: column; margin-bottom: 28px; }
.research-item > div { min-width: 0; }
.research-item .item-status { order: -1; font: .79rem/1.6 var(--sans); color: var(--muted); margin-bottom: 5px; }
.research-item h3 { margin-bottom: 6px; }
.research-item p { margin-bottom: 6px; }
.item-link { font: .84rem/1.6 var(--sans); }
.timeline li { display: grid; grid-template-columns: 138px minmax(0, 1fr); gap: 14px; margin-bottom: 13px; }
.timeline time { font: .79rem/1.65 var(--sans); color: var(--muted); padding-top: 3px; }
.timeline p { margin: 0; }
.news-history { margin-top: 10px; }
.news-history[open] { margin-top: 18px; }
.cv-entry { margin-bottom: 23px; }
.cv-entry p { margin-bottom: 6px; }
.cv-entry > p:first-of-type { color: var(--muted); font-size: .92rem; }

/* Articles. Figures sit in the reading column and link to their originals. */
.page-head { padding-bottom: 18px; }
.page-head h1 { text-wrap: balance; }
.breadcrumbs { font: .8rem/1.6 var(--sans); color: var(--muted); margin-bottom: 24px; }
.breadcrumbs a { color: inherit; }
.eyebrow, .meta-label { font: .79rem/1.6 var(--sans); color: var(--muted); margin-bottom: 9px; }
.page-deck { font-size: 1.15rem; line-height: 1.6; max-width: 70ch; margin-bottom: 16px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; font: .81rem/1.65 var(--sans); color: var(--muted); margin-bottom: 16px; }
.status-line { font-size: .96rem; margin: 18px 0 0; padding-left: 16px; border-left: 2px solid var(--line); max-width: 76ch; }
.status-line strong { font-weight: 600; }
.question-block h2 { padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.question-block p { font-size: 1.15rem; }
.evidence-grid, .boundary-grid, .two-col, .experience-grid { display: block; }
.evidence-block, .boundary-block { margin-bottom: 23px; max-width: 76ch; }
.evidence-block p, .boundary-block p { margin-bottom: 0; }
.figure-wide { width: min(calc(100% - 64px), var(--content)); margin: 22px auto 30px; }
.figure-standard { margin: 24px 0; }
.figure-wide img, .figure-standard img { width: 100%; }
.figure-link { display: block; }
figcaption { margin-top: 10px; font: .82rem/1.65 var(--sans); color: var(--muted); }
.figure-original { display: inline-block; margin-top: 5px; }
.table-hint { display: none; font: .8rem/1.5 var(--sans); color: var(--muted); margin: 16px 0 8px; }
.table-wrap { overflow-x: auto; width: 100%; margin: 0 0 24px; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; line-height: 1.55; }
caption { text-align: left; font: .82rem/1.6 var(--sans); color: var(--muted); padding-bottom: 10px; }
th, td { padding: 12px 14px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { font: 600 .8rem/1.5 var(--sans); border-top: 1px solid var(--ink); }
th:last-child, td:last-child { padding-right: 0; }
.callout { margin: 22px 0; max-width: 76ch; }
.callout h3 { font-size: 1rem; }
.callout p:last-child { margin-bottom: 0; }
.definition-list { margin: 0; display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 18px 24px; }
.definition-list dt { font: 600 .82rem/1.6 var(--sans); padding-top: 3px; }
.definition-list dd { margin: 0; }
.note-list article { margin-bottom: 38px; }
.note-list h2 { font-size: 1.4rem; }
blockquote { margin: 22px 0; padding-left: 18px; border-left: 2px solid var(--line); font-style: italic; }
.back-next { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 35px; padding-top: 15px; border-top: 1px solid var(--line); font: .82rem/1.6 var(--sans); }
.site-footer { margin-top: 36px; padding-bottom: 30px; }
.footer-inner { border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; font: .77rem/1.7 var(--sans); color: var(--muted); }
.footer-inner p { margin: 0; }
.footer-links { gap: 0 16px; }
.error-page { padding: 14vh 0; }
.error-code { font: .9rem var(--sans); color: var(--muted); }

@media (max-width: 680px) {
  .container, .container-wide, .nav, .figure-wide { width: calc(100% - 40px); }
  .nav { flex-wrap: wrap; gap: 2px; padding-top: 15px; padding-bottom: 9px; }
  .nav-brand { width: 100%; }
  .nav-menu { gap: 0 24px; }
  .nav-menu a { min-height: 44px; padding-block: 11px; }
  .site-header { margin-bottom: 28px; }
  .intro-grid { grid-template-columns: minmax(0, 1fr) 100px; gap: 18px; }
  .portrait { width: 100px; grid-row: 1; }
  .intro-bio { grid-column: 1 / -1; }
  .intro h1 { font-size: 1.9rem; }
  .affiliation { font-size: .83rem; }
  .intro-interests { margin-top: 16px; }
  .section { padding-top: 23px; }
  .publication { grid-template-columns: 1fr; gap: 3px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; margin-bottom: 17px; }
  .definition-list { grid-template-columns: 1fr; gap: 4px; }
  .definition-list dd { margin-bottom: 15px; }
  table { min-width: 590px; }
  .table-hint { display: block; }
  .page-head h1 { font-size: 1.85rem; }
}
@media (max-width: 360px) {
  .container, .container-wide, .nav, .figure-wide { width: calc(100% - 32px); }
  .intro-grid { grid-template-columns: minmax(0, 1fr) 76px; gap: 14px; }
  .portrait { width: 76px; }
  .intro h1 { font-size: 1.7rem; }
  .nav-menu { justify-content: space-between; width: 100%; gap: 12px; }
}
@media print {
  body { color: black; font-size: 11pt; }
  .site-header, .site-footer, .section-links, .back-next, .skip-link, .table-hint { display: none; }
  .container, .figure-wide { width: 100%; }
  a { color: black; }
  .section { padding-block: 12px; }
  h1, h2, h3 { break-after: avoid; }
  figure, .publication, .cv-entry { break-inside: avoid; }
  .table-wrap { overflow: visible; }
  table { min-width: 0; }
  details > summary { display: none; }
  details::details-content { content-visibility: visible; }
  details > * { display: block; }
}
