/* Foundations: system fonts, a warm neutral palette and one quiet accent. */
:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --ink: #242823;
  --muted: #60655f;
  --accent: #3d5a49;
  --line: #d8d9d1;
  --serif: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .3em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 1px; }
::selection { background: #dce5d9; color: var(--ink); }
p, h1, h2, h3 { margin: 0; }
.page-shell { width: min(100% - 7rem, 1120px); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 10; padding: .65rem 1rem; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 1rem; }
/* Header and anchor navigation. */
.site-header { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 112px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 1.2rem; font-weight: 650; letter-spacing: -.065em; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--accent); }
nav { display: flex; flex-wrap: wrap; gap: 2.1rem; }
nav a { color: var(--muted); font-size: .8rem; text-decoration: none; }
nav a:hover { color: var(--ink); text-decoration: underline; }
/* The opening follows the editorial grid. */
.hero { padding-top: 5.8rem; }
.eyebrow { font-size: .65rem; font-weight: 550; letter-spacing: .15em; line-height: 1.6; color: var(--accent); }
.small-mark { display: inline-block; width: 6px; height: 6px; margin-right: .7rem; background: var(--accent); vertical-align: .12em; }
h1 { margin-top: var(--space-4); font-family: var(--serif); font-weight: 400; font-size: clamp(4.5rem, 8.4vw, 7.4rem); line-height: 1.02; letter-spacing: -.055em; }
h1 span { color: var(--accent); }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-4); margin-top: 2.6rem; }
.hero-role { font-size: 1.02rem; font-weight: 500; }
.hero-description { color: var(--muted); font-size: .94rem; margin-top: .65rem; }
.text-link { display: inline-flex; align-items: center; gap: 1.2rem; font-size: .8rem; text-decoration: none; padding-block: .3rem; }
.text-link:hover { text-decoration: underline; }
.text-link span { color: var(--accent); font-size: 1.2rem; }
.hero-link { border-bottom: 1px solid var(--line); white-space: nowrap; }
.hero-caption { display: flex; justify-content: space-between; margin-top: 5.2rem; padding-bottom: 1rem; color: var(--muted); font-size: .58rem; letter-spacing: .12em; }
/* Editorial sections: quiet labels and open typography. */
.editorial-section { display: grid; grid-template-columns: 1fr 2.35fr; column-gap: var(--space-6); padding-block: 5rem; border-top: 1px solid var(--line); }
.section-label { display: flex; align-items: baseline; gap: 1.2rem; padding-top: .4rem; }
.section-number { color: var(--accent); font-size: .65rem; letter-spacing: .04em; }
.section-label h2 { font-size: .84rem; font-weight: 500; }
.lead { font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 2.75rem); font-weight: 400; line-height: 1.18; letter-spacing: -.03em; }
.lead em { font-weight: 400; color: var(--accent); }
.body-copy { margin-top: var(--space-4); max-width: 62ch; }
.body-copy p + p { margin-top: var(--space-3); }
.body-copy, .section-intro, .experience-item p:not(.period):not(.organization), .interest p, .research-copy { color: var(--muted); font-size: .94rem; }
.section-intro { max-width: 55ch; margin-bottom: var(--space-5); }
.experience-list { list-style: none; margin: 0; padding: 0; }
.experience-item { display: grid; grid-template-columns: 126px 1fr; gap: var(--space-3); padding-block: var(--space-4); border-top: 1px solid var(--line); }
.experience-item:last-child { padding-bottom: 0; }
.period { font-size: .59rem; letter-spacing: .06em; color: var(--muted); padding-top: .3rem; }
h3 { font-size: 1.04rem; font-weight: 550; line-height: 1.5; letter-spacing: -.015em; }
.organization { color: var(--accent); font-size: .8rem; margin-top: .3rem; margin-bottom: .9rem; }
.interest + .interest { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.interest p { margin-top: .7rem; max-width: 59ch; }
.research-section .lead { margin-top: var(--space-3); }
.research-copy { max-width: 57ch; margin-top: var(--space-3); }
.research-note { margin-top: var(--space-4); font-size: .72rem; color: var(--accent); }
.contact-links { min-width: 0; font-style: normal; }
.contact-email { color: var(--accent); font-size: clamp(0.7rem, 1.15vw, 0.85rem); overflow-wrap: anywhere; }
.contact-socials { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin-top: var(--space-3); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding-block: var(--space-4) var(--space-5); border-top: 1px solid var(--line); font-size: .7rem; color: var(--muted); }
.footer-name { color: var(--ink); font-size: .82rem; font-weight: 550; margin-bottom: .25rem; }
/* Tablet: retain the editorial grid and let the hero wrap. */
@media (max-width: 900px) {
  .page-shell { width: calc(100% - 4rem); }
  .hero-bottom { align-items: flex-start; flex-direction: column; }
  .hero-caption { margin-top: var(--space-6); }
  .editorial-section { grid-template-columns: 145px 1fr; column-gap: var(--space-4); padding-block: var(--space-6); }
  .experience-item { grid-template-columns: 1fr; gap: var(--space-1); }
  .desktop-break { display: none; }
}
/* Mobile: section labels introduce the body from above. */
@media (max-width: 600px) {
  html { scroll-padding-top: 1.25rem; }
  .page-shell { width: calc(100% - 2.5rem); }
  .site-header { min-height: auto; padding-block: 1.4rem; flex-direction: column; align-items: flex-start; gap: 1rem; }
  nav { gap: 1.5rem; }
  nav a { font-size: .75rem; padding-block: .25rem; }
  .hero { padding-top: 3.5rem; }
  .hero .eyebrow { font-size: .55rem; letter-spacing: .12em; }
  h1 { font-size: clamp(3.5rem, 13vw, 4.8rem); margin-top: var(--space-3); }
  .hero-bottom { margin-top: var(--space-4); gap: var(--space-3); }
  .hero-role { font-size: .94rem; }
  .hero-caption { margin-top: 3rem; font-size: .49rem; letter-spacing: .06em; gap: .6rem; }
  .hero-caption span:last-child { white-space: nowrap; }
  .editorial-section { grid-template-columns: 1fr; gap: 1.8rem; padding-block: 3rem; }
  .section-label { gap: 1rem; padding-top: 0; }
  .lead { font-size: 2.1rem; }
  .body-copy { margin-top: var(--space-3); }
  .section-intro { margin-bottom: var(--space-4); }
  .site-footer { align-items: flex-start; flex-direction: column; gap: var(--space-2); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .page-shell { width: 100%; }
  nav, .hero-link, .site-footer > a, .skip-link { display: none; }
  .hero { padding-top: 2rem; }
  h1 { font-size: 52pt; }
  .hero-caption { margin-top: 2rem; }
  .editorial-section { padding-block: 2rem; }
  .experience-item, .interest { break-inside: avoid; }
}
