:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #192329;
  --muted: #505c64;
  --line: #d4dde1;
  --accent: #224e63;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.62 Arial, Helvetica, sans-serif; }
a { color: var(--accent); text-decoration-thickness: .075em; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; top: .75rem; left: 1rem; padding: .55rem 1rem; background: white; transform: translateY(-220%); z-index: 2; }
.skip-link:focus { transform: none; }
.page { max-width: 73rem; padding: 0 clamp(1.1rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem); margin: 0 auto; }
.topbar { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem 2rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.wordmark { font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.sections { display: flex; flex-wrap: wrap; gap: .25rem clamp(.7rem, 2vw, 1.45rem); font-size: .9375rem; }
.sections a { padding: .2rem 0; text-decoration: none; color: var(--muted); }
.sections a[aria-current], .sections a:hover { color: var(--ink); text-decoration: underline; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.16; }
h1, .profile-section h2, .reading-body h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
h1 { font-size: clamp(2.9rem, 6.5vw, 5.65rem); letter-spacing: -.045em; }
.profile-lead { margin: clamp(2rem, 5vw, 4.2rem) 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .85fr); align-items: center; gap: clamp(1.5rem, 6vw, 4.2rem); }
.role { color: var(--accent); margin: .8rem 0 1.5rem; font-size: clamp(1.12rem, 2vw, 1.4rem); }
.lead-text, .reading .intro { font-size: clamp(1.13rem, 2.2vw, 1.43rem); line-height: 1.5; }
.profile-lead p + p, .reading-body p + p { margin-top: .95rem; }
.portrait { min-width: 0; }
.photo-link, .portrait img { display: block; }
.portrait img { width: 100%; height: auto; background: #eef1f3; }
figcaption { display: flex; justify-content: space-between; color: var(--muted); padding-top: .5rem; font-size: .875rem; }
.gallery { margin: 2.5rem 0; }
.gallery h2 { margin-bottom: 1rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: start; }
.profile-section { border-top: 1px solid var(--line); padding: clamp(1.75rem, 4vw, 3rem) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem clamp(1.5rem, 4vw, 3rem); scroll-margin-top: 1rem; }
.profile-section h2, .reading-body h2 { font-size: clamp(1.65rem, 3.1vw, 2.25rem); letter-spacing: -.025em; }
.profile-section h3 { font-size: 1.18rem; line-height: 1.4; margin-bottom: .5rem; }
.profile-section article + article { border-top: 1px solid var(--line); margin-top: 1.3rem; padding-top: 1.3rem; }
.profile-section p + p { margin-top: .8rem; }
.publication-date, .crumb, caption { font-size: .9375rem; color: var(--muted); }
.publication-date { margin-bottom: .55rem; }
.reading { max-width: 48rem; margin: clamp(1.7rem, 5vw, 3.6rem) auto 0; }
.crumb { margin: 0 0 1.5rem; }
.crumb span[aria-hidden] { margin: 0 .4rem; color: var(--muted); }
.reading h1 { max-width: 18ch; font-size: clamp(2.5rem, 5.5vw, 4.4rem); }
.reading .intro { margin-top: 1.2rem; }
.byline { margin-top: .75rem; color: var(--muted); font-size: .9375rem; }
table[id] { scroll-margin-top: 1rem; }
.reading-head { border-bottom: 1px solid var(--line); padding-bottom: 1.8rem; }
.reading-body { max-width: 68ch; }
.reading-body section { margin-top: clamp(1.8rem, 4vw, 2.8rem); }
.reading-body h2 { margin-bottom: .8rem; }
table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-variant-numeric: tabular-nums; }
caption { text-align: left; padding-bottom: .55rem; }
th, td { padding: .65rem .45rem; border-bottom: 1px solid var(--line); text-align: right; vertical-align: bottom; }
th:first-child { text-align: left; padding-left: 0; }
thead { background: #eff4f5; }
thead th { font-size: .925rem; line-height: 1.4; overflow-wrap: anywhere; }
thead th:first-child { padding-left: .4rem; }
td { white-space: nowrap; }
.missing { margin-top: 4rem; }
.missing p { margin: 1rem 0; }
@media (max-width: 720px) {
  .topbar { display: block; }
  .sections { margin-top: .65rem; }
  .profile-lead, .profile-section, .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .profile-lead .portrait { max-width: 28rem; }
}
@media (max-width: 400px) {
  .sections { column-gap: .85rem; }
  th, td { padding-inline: .28rem; }
}
