:root {
  color-scheme: light;
  --paper: #f6f7f1;
  --water: #edf1ec;
  --ink: #17342f;
  --quiet: #47615a;
  --rule: #c9d4ca;
  --sun: #f2de96;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Avenir Next', Avenir, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
a { color: inherit; text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #8c4b2c; outline-offset: 5px; }
img { display: block; max-width: 100%; }
figure, h1, h2, p { margin: 0; }
h1, h2, .story-title { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.042em; }
.wrap { width: min(100% - 5rem, 1220px); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: .75rem; left: .75rem; padding: .6rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 5.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 3rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; flex-shrink: 0; text-decoration: none; }
.brand-mark { width: 39px; height: 39px; flex: none; }
.brand-name { display: block; font: 1.65rem/.95 var(--serif); letter-spacing: -.06em; }
.brand-note { display: block; margin-top: .35rem; color: var(--quiet); font-size: .72rem; line-height: 1.2; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.8rem; font-size: .89rem; font-weight: 600; }
.site-nav a { padding-block: .45rem; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current] { text-decoration: underline; }
.site-nav .about-link { border: 1px solid var(--rule); padding-inline: .9rem; border-radius: 2rem; }

.lead { margin-top: 1.6rem; }
.lead-frame { position: relative; isolation: isolate; min-height: clamp(29rem, 39vw, 35.5rem); display: grid; align-items: end; }
.lead-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; z-index: -1; background: #889f9c; }
.lead-copy { max-width: 33rem; width: calc(100% - 4rem); margin: 2rem; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--ink); color: var(--paper); }
.lead-kind { display: flex; align-items: center; gap: .55rem; margin-bottom: .9rem; font-size: .76rem; letter-spacing: .025em; font-weight: 600; color: var(--sun); }
.lead-kind::before { content: ''; width: .48rem; height: .48rem; border: 1px solid currentColor; border-radius: 50%; }
.lead h1 { font-size: clamp(2.8rem, 5.3vw, 4.65rem); }
.lead-copy p { max-width: 36ch; margin-top: .95rem; line-height: 1.55; color: #dfe8df; font-size: .98rem; }
.lead-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.35rem; padding: .48rem .9rem; border-radius: 2rem; background: var(--sun); color: var(--ink); text-decoration: none; font-size: .84rem; font-weight: 750; }
.lead-link:hover { background: #fff0b9; }
.lead-link:focus-visible { outline-color: var(--sun); }
.arrow-icon { width: 1em; height: 1em; flex: none; }
.figure-note { color: var(--quiet); margin-top: .55rem; font-size: .76rem; }
.lead .figure-note { text-align: right; }

.journal { padding: 2.8rem 0 4.25rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding-bottom: .85rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.35rem; }
.section-head h2, .archive-heading h1 { font-size: clamp(2.35rem, 4.5vw, 3.7rem); }
.section-label { color: var(--quiet); font-size: .85rem; white-space: nowrap; }
.story-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.story-photo { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: var(--water); }
.story-link { display: block; text-decoration: none; }
.story-link:hover .story-title { text-decoration: underline; text-underline-offset: .14em; text-decoration-thickness: 1px; }
.story-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem .9rem; margin-top: .8rem; font-size: .75rem; color: var(--quiet); }
.story-meta span { font-weight: 750; }
.story-title { margin: .5rem 0 0; font-size: clamp(1.55rem, 2.8vw, 2.1rem); }
.story-summary { margin-top: .55rem; font-size: .91rem; color: var(--quiet); max-width: 42ch; }
.pagination { border-top: 1px solid var(--rule); padding-top: 1.4rem; margin-top: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-size: .88rem; }
.page-numbers { display: flex; gap: .4rem; }
.page-number { width: 2.45rem; height: 2.45rem; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 50%; text-decoration: none; font-weight: 700; }
.page-number[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
a.page-number:hover { background: var(--water); }
.page-step { display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; }
.previous .arrow-icon { transform: rotate(180deg); }
.pagination span.page-step { color: var(--quiet); }
.archive-heading { margin-top: 2.65rem; padding: 2.65rem 2.5rem; background: var(--water); }
.archive-heading p { max-width: 46ch; margin-top: .65rem; color: var(--quiet); }
.archive-journal { padding-top: 1.75rem; }

.article { padding-top: 2rem; padding-bottom: 4rem; }
.back { display: inline-flex; align-items: center; gap: .45rem; color: var(--quiet); font-size: .86rem; font-weight: 650; }
.article-head { max-width: 730px; margin: 2.5rem auto 2rem; }
.article-kicker { color: var(--quiet); font-size: .85rem; font-weight: 700; }
.article h1 { margin-top: .55rem; font-size: clamp(2.8rem, 7.3vw, 5.65rem); }
.deck { color: var(--quiet); max-width: 46ch; margin-top: 1rem; font-size: clamp(1.05rem, 2vw, 1.23rem); }
.byline { border-top: 1px solid var(--rule); margin-top: 1.5rem; padding-top: .8rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: var(--quiet); font-size: .82rem; }
.byline strong { font-weight: 750; color: var(--ink); }
.article-photo { width: 100%; aspect-ratio: 2.3; object-fit: cover; background: var(--water); }
.article-body { max-width: 660px; margin: 2.4rem auto 0; font: clamp(1.08rem, 2vw, 1.19rem)/1.78 var(--serif); }
.article-body p + p { margin-top: 1.15em; }
.article-body h2 { margin-top: 1.35em; margin-bottom: .4em; font-size: clamp(1.65rem, 3.5vw, 2.35rem); }
.article-body a, .credits a, .back { text-decoration-color: #739890; }
.article-body a:hover, .credits a:hover, .back:hover { text-decoration-color: currentColor; }
.story-next { max-width: 660px; margin: 2.5rem auto 0; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: .91rem; }
.story-next span { display: block; color: var(--quiet); margin-bottom: .4rem; }
.story-next a { font: 1.5rem/1.15 var(--serif); }
.credits { padding-left: 1.2em; margin: 1rem 0 0; font: .92rem/1.6 var(--sans); }
.credits li + li { margin-top: .65rem; }

.site-footer { background: var(--water); border-top: 1px solid var(--rule); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 1.75rem; font-size: .85rem; color: var(--quiet); }
.footer-title { color: var(--ink); font: 1.15rem/1.4 var(--serif); }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }

@media (max-width: 840px) {
  .wrap { width: calc(100% - 3rem); }
  .story-list { gap: 1.3rem; }
  .lead-copy { margin: 1.25rem; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; gap: .7rem 1.2rem; padding-block: .95rem .65rem; }
  .site-nav { gap: 1rem; font-size: .84rem; }
  .site-nav .about-link { border: 0; padding-inline: 0; }
  .lead { margin-top: 1rem; }
  .lead-frame { min-height: auto; display: block; }
  .lead-photo { position: static; width: 100%; height: auto; aspect-ratio: 1.5; }
  .lead-copy { margin: 0; width: auto; max-width: none; }
  .lead h1 { font-size: clamp(2.4rem, 10vw, 3.75rem); }
  .journal { padding-block: 2rem 2.75rem; }
  .story-list { grid-template-columns: 1fr; gap: 1.7rem; }
  .story-title { font-size: 1.85rem; }
  .story-summary { max-width: none; }
  .archive-heading { margin-top: 1.25rem; padding: 1.55rem 1rem; }
  .article-head { margin-top: 1.7rem; }
  .article-photo { aspect-ratio: 1.55; }
  .footer-inner { flex-wrap: wrap; }
}
