:root {
  color-scheme: light;
  --page: #f6f5ef;
  --mast: #faf9f4;
  --paper: #fffefa;
  --ink: #182b24;
  --muted: #53615a;
  --accent: #1c5340;
  --warm: #8d432f;
  --rule: #cdd1c5;
  --wash: #e7ebe1;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; color: var(--ink); background: var(--page); font-family: var(--sans); line-height: 1.55; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: var(--warm); }
:focus-visible { outline: 2px solid var(--warm); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; z-index: 2; top: .7rem; left: .7rem; padding: .65rem 1rem; background: var(--paper); transform: translateY(-160%); }
.skip:focus { transform: none; }
.wrap { width: min(100% - 4rem, 1120px); margin-inline: auto; }

.mast { border-bottom: 1px solid var(--rule); background: var(--mast); }
.mast-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.wordmark { color: var(--ink); font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 700; letter-spacing: -.07em; line-height: 1; text-decoration: none; padding-block: 1rem; }
.wordmark span { color: var(--warm); }
.mast nav { display: flex; gap: clamp(.75rem, 2.4vw, 1.8rem); flex-wrap: wrap; }
.mast nav a { color: var(--ink); font-weight: 620; font-size: .89rem; text-decoration: none; padding-block: 1.25rem; }
.mast nav a:hover, .mast nav a:focus-visible { color: var(--accent); text-decoration: underline; }

.brief-header { margin: clamp(2rem, 5vw, 4rem) 0 1.6rem; }
.kicker { color: var(--accent); font-weight: 700; font-size: .72rem; line-height: 1.4; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 .6rem; }
.kicker::before { content: ""; display: inline-block; width: 1.6rem; height: 1px; margin-right: .55rem; background: var(--warm); vertical-align: middle; }
h1, h2, h3 { font-family: var(--serif); font-weight: 650; letter-spacing: -.047em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(3.2rem, 8.5vw, 6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.35rem); }
h3 { font-size: 1.63rem; }
p { margin: .65rem 0 0; }
.brief-caption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .35rem; }
.brief-caption p, .section-head > p, .directory-status { color: var(--muted); }
label { font-size: .8rem; font-weight: 700; }
select, input, button { font: inherit; color: var(--ink); }
select, input, .more { padding: .55rem .7rem; min-height: 44px; border: 1px solid #aab3a8; border-radius: 3px; background: var(--paper); }
select, .more { cursor: pointer; }
.edition-control { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; }
:target, #person-detail:focus, #edition:focus { scroll-margin: 1rem; }

.lead { display: grid; grid-template-columns: 1.05fr .95fr; background: var(--paper); border: 1px solid var(--rule); overflow: hidden; border-radius: 5px; }
.lead-copy { padding: clamp(1.35rem, 4vw, 2.8rem); align-self: center; }
.lead h2 { max-width: 16ch; font-size: clamp(2.35rem, 4.7vw, 4.2rem); }
.topic { margin: 0 0 .7rem; color: var(--warm); font-size: .71rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.lead p:not(.topic) { max-width: 52ch; color: var(--muted); }
.figure { position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; min-height: 250px; margin: 0; background: #34534a; }
.figure img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; filter: grayscale(1) sepia(.28); mix-blend-mode: luminosity; opacity: .86; }
.figure figcaption { position: relative; align-self: flex-end; margin: .45rem; padding: .2rem .48rem; color: white; background: #182b24; border-radius: 2px; font-size: .67rem; }
.figure a { color: inherit; }
.story-sources, .story-people { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .55rem; margin-top: .85rem; font-size: .83rem; }
.story-sources { gap: .6rem .9rem; }
.story-sources a { font-weight: 650; }
.story-evidence { margin-top: .8rem; background: var(--wash); border-radius: 3px; padding: .5rem .75rem; font-size: .88rem; }
.story-evidence summary { cursor: pointer; color: var(--accent); font-weight: 700; }
.story-evidence dl { margin: .65rem 0 .15rem; }
.story-evidence dt { font-weight: 700; }
.story-evidence dd { margin: 0 0 .65rem; }
.story-evidence dd:last-child { margin-bottom: 0; }
.story-evidence dd p, .story-evidence .story-sources { margin-top: .15rem; }
.story-people a { text-decoration: none; background: var(--wash); padding: .22rem .48rem; border-radius: 3px; }
.story-people a:hover { text-decoration: underline; }
.story { padding: 1rem 0 1.2rem; border-top: 1px solid var(--rule); }
.story p:not(.topic) { color: var(--muted); }
.edition-rest { display: grid; grid-template-columns: 1fr minmax(14rem, .34fr); gap: clamp(1.4rem, 5vw, 3.5rem); margin-top: 2.25rem; }
.edition-rest h2 { font-size: clamp(1.85rem, 4vw, 2.6rem); margin-bottom: .75rem; }
.edition-people { border-left: 1px solid var(--rule); padding-left: 1.25rem; }
.edition-people h2 { font-size: 1.7rem; }
.edition-people ul { list-style: none; padding: 0; margin: 0; }
.edition-people li { border-bottom: 1px solid var(--rule); padding: .58rem 0; }
.edition-people li a { font-weight: 700; }
.edition-people li span { display: block; color: var(--muted); font-size: .82rem; }
.edition-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: .65rem; border-top: 1px solid var(--rule); margin-top: .9rem; font-size: .86rem; }

.section { border-top: 1px solid var(--rule); margin: clamp(2.5rem, 6vw, 4.6rem) 0; padding-top: 1.6rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: .45rem 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.archive-grid, .people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1.4rem; padding: 0; margin: 0; list-style: none; }
.archive-grid li, .people-grid li { border-bottom: 1px solid var(--rule); }
.archive-grid a, .people-grid a { display: block; padding: .75rem 0 .9rem; color: var(--ink); text-decoration: none; }
.archive-grid a:hover strong, .people-grid a:hover strong { text-decoration: underline; }
.archive-grid a[aria-current="true"] { color: var(--accent); }
.archive-grid time, .person-cohort { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .71rem; font-weight: 700; color: var(--accent); }
.archive-grid strong, .people-grid strong { font-family: var(--serif); font-weight: 700; font-size: 1.18rem; line-height: 1.2; display: block; margin: .22rem 0; }
.people-grid small { color: var(--muted); display: block; font-size: .83rem; }
#sent-in-status, .sent-in-description { color: var(--muted); }
.sent-in-entry { max-width: 51rem; }
.sent-in-entry h4 { margin: .85rem 0 .25rem; font-size: .88rem; }
.sent-in-entry ol, .sent-in-entry ul { margin: 0; padding-left: 1.25rem; }
.sent-in-entry li + li { margin-top: .55rem; }
.sent-in-entry li p { margin: 0; }
.sent-in-entry .story-sources { margin-top: .2rem; }
.directory-controls { display: flex; align-items: end; flex-wrap: wrap; gap: .85rem; margin: 1.2rem 0 .75rem; }
.directory-controls label { display: block; margin-bottom: .28rem; }
.search-control { flex: 1 1 13rem; }
.search-control input { width: min(100%, 28rem); }
.directory-status { font-size: .82rem; margin-bottom: .35rem; }
.more { margin-top: 1rem; }
.person-panel { border: 1px solid var(--rule); border-radius: 3px; padding: 1.1rem 1.3rem; background: var(--paper); }
.person-panel header { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: start; gap: .5rem 1rem; }
.person-panel h3 { font-size: clamp(1.95rem, 4vw, 2.65rem); }
.person-panel h4 { margin: .9rem 0 0; }
.person-panel p { color: var(--muted); }
.person-panel ul { margin: .45rem 0 .1rem; padding-left: 1.2rem; }
.person-panel li + li { margin-top: .4rem; }
.person-panel .close-person { align-self: start; background: transparent; border: 1px solid var(--rule); padding: .4rem .6rem; border-radius: 3px; cursor: pointer; }
.method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2.5rem; }
.method-grid p { color: var(--muted); }
.site-footer { border-top: 1px solid var(--rule); color: var(--muted); font-size: .8rem; padding: 1.2rem 0; }

@media (max-width: 780px) {
  .wrap { width: min(100% - 2.3rem, 1120px); }
  .archive-grid, .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 590px) {
  .mast-inner { display: block; }
  .wordmark { display: inline-block; padding: .8rem 0 .2rem; }
  .mast nav { gap: 0 .85rem; }
  .mast nav a { padding-block: .48rem .72rem; font-size: .8rem; }
  .lead, .edition-rest, .method-grid { grid-template-columns: 1fr; }
  .figure { min-height: 170px; }
  .edition-people { border-left: 0; padding-left: 0; }
  .archive-grid, .people-grid { column-gap: .8rem; }
  .footer-inner { flex-wrap: wrap; gap: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #17221e;
    --mast: #192621;
    --paper: #202e28;
    --ink: #f0efe7;
    --muted: #bdc9bf;
    --accent: #a8dbc3;
    --warm: #f1b29c;
    --rule: #4a5b51;
    --wash: #35493d;
  }
}
