:root {
  color-scheme: light;
  --ink: #202b26;
  --muted: #4e5f55;
  --accent: #215943;
  --line: #cbd7cf;
  --paper: #f8faf8;
}
* { box-sizing: border-box; }
body {
  width: min(100% - 3rem, 67rem);
  margin: auto;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 system-ui, sans-serif;
}
a { color: var(--accent); text-underline-offset: .25em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.masthead, nav, footer { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.masthead { justify-content: space-between; border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
.masthead a { text-decoration: none; }
.masthead a:hover, .masthead [aria-current] { text-decoration: underline; }
.name { font-weight: 700; color: var(--ink); }
h1, h2, h3 { font-family: Georgia, serif; font-weight: 400; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(3rem, 8vw, 6.5rem); letter-spacing: -.06em; }
h2 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.035em; }
h3 { font-size: 1.65rem; }
p { max-width: 58ch; }
.lede { font-size: clamp(1.2rem, 2.4vw, 1.45rem); line-height: 1.5; }
.intro { padding: clamp(2.25rem, 6vw, 4.5rem) 0 1.75rem; }
.portrait { width: 7rem; aspect-ratio: 1; position: relative; overflow: hidden; border-radius: 50%; margin-bottom: 1.25rem; }
.portrait img { position: absolute; width: 240%; max-width: none; height: auto; left: -36%; top: -42%; }
.photos { padding-bottom: 2rem; }
.photos h2 { font-size: 1.65rem; margin-bottom: .85rem; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; max-width: 46rem; }
.photo-grid a { display: block; }
.photo-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .25rem; }
.intro h1 { font-size: clamp(1.85rem, 4vw, 2.65rem); letter-spacing: -.03em; }
figure { margin: 0; }
figure img { display: block; width: 100%; height: auto; border-radius: .25rem; }
figcaption { color: var(--muted); font: italic 1rem/1.5 Georgia, serif; margin-top: .75rem; }
.writing { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.writing h2 { font-size: 1.65rem; }
.blog { padding-top: clamp(3rem, 8vw, 6rem); }
.archive { margin-top: 3rem; }
.archive h2 { margin-bottom: 1.25rem; }
.archive article { border-top: 1px solid var(--line); display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.5rem 0; }
.archive article p { margin: .45rem 0; }
.archive article a { display: inline-block; margin-right: .85rem; }
time { color: var(--muted); font-variant-numeric: tabular-nums; }
footer { margin-top: 3rem; padding: 1.25rem 0 2rem; border-top: 1px solid var(--line); }
@media (max-width: 42rem) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  figure { max-width: 24rem; }
  .archive article { grid-template-columns: 1fr; gap: .35rem; }
}
.post { max-width: 46rem; }
.post h1 { font-size: clamp(2.75rem, 7vw, 5rem); }
.post h2 { margin-top: 2rem; }
.post-date { color: var(--muted); margin-top: 0; }
.post-figure { margin: 1.75rem 0; }
.post-figure a { display: block; }
.photo-grid .fishing-photo { object-position: center 70%; }
.publication-list { max-width: 53rem; margin-top: 2rem; }
.publication-list h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); letter-spacing: -.015em; }
.publication-source { color: var(--muted); }
.publication-authors { color: var(--muted); max-width: 75ch; }
.publication-authors strong { color: var(--ink); }
