:root {
  color-scheme: light;
  --ink: #172e29;
  --muted: #455d53;
  --paper: #fbf9f3;
  --tint: #edf0e7;
  --rule: #c9d1c2;
  --green: #102c29;
  --gold: #efcf91;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
a { color: inherit; text-underline-offset: .24em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 2; padding: .5rem 1rem; background: var(--paper); transform: translateY(-160%); }
.skip:focus { transform: none; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.header-row, nav, .actions, .paper-links, .footer-bottom { display: flex; flex-wrap: wrap; align-items: center; }
.header-row { justify-content: space-between; gap: .25rem 2rem; padding-block: .8rem; }
.brand { font: bold 1.34rem var(--serif); text-decoration: none; padding-block: .55rem; }
nav { gap: .15rem clamp(.85rem, 3vw, 2rem); }
nav a { padding-block: .55rem; font-size: .92rem; text-decoration: none; }
nav a:hover, .brand:hover { text-decoration: underline; }
.hero, .footer { background: var(--green); color: var(--paper); }
.hero { overflow: hidden; position: relative; isolation: isolate; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; min-height: 32rem; padding-block: clamp(4.5rem, 10vw, 8rem); }
.hero-content { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 .8rem; color: #525d3d; font-size: .76rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow, .footer .eyebrow { color: var(--gold); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(3.65rem, 9vw, 8rem); letter-spacing: -.075em; }
h2 { font-size: clamp(2.45rem, 5.5vw, 4.5rem); letter-spacing: -.055em; }
h3 { font-size: clamp(1.28rem, 2.8vw, 1.9rem); letter-spacing: -.022em; }
.intro { max-width: 33rem; color: #e1e9df; font-size: clamp(1.05rem, 2vw, 1.22rem); margin: 1.5rem 0 2rem; }
.actions { gap: .75rem; }
.button { display: inline-flex; align-items: center; gap: .65rem; padding: .69rem .95rem; font-size: .9rem; font-weight: 700; text-decoration: none; border: 1px solid transparent; }
.primary { background: var(--gold); color: var(--green); }
.outline { border-color: #9aaf9d; }
.button:hover { text-decoration: underline; }
.portrait {
  display: block;
  width: min(100%, 24rem);
  height: auto;
  justify-self: end;
  border: 1px solid #e5ca95;
  box-shadow: .65rem .65rem 0 #c1ceaa28;
}
.hero-grid { gap: 2.5rem; }
.first-edition { border-top: 1px solid #c9bda2; margin-top: 1.5rem; padding-top: 1rem; }
.first-edition h4 { margin: 0; font-size: 1rem; }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.split { display: grid; grid-template-columns: 1fr 1.55fr; gap: 1.5rem clamp(2rem, 7vw, 6rem); }
.section-copy p:first-child { margin-top: 0; }
.section-copy, .section-lead { font-size: 1.12rem; }
.section-lead { max-width: 42rem; margin-bottom: 1.75rem; }
.text-link, .paper-links a { font-weight: 650; }
.tinted { background: var(--tint); }
.filter { display: grid; gap: .35rem; max-width: 29rem; margin-block: 1.8rem 1rem; }
.filter label { font-size: .88rem; font-weight: 700; }
.filter input { width: 100%; min-height: 2.75rem; padding: .55rem .75rem; border: 1px solid #6a7c6f; border-radius: 0; color: var(--ink); background: var(--paper); font: inherit; }
.filter p { margin: 0; color: var(--muted); font-size: .82rem; }
.papers, .profiles { list-style: none; padding: 0; margin: 0; }
.paper { display: grid; grid-template-columns: minmax(7rem, 1fr) minmax(0, 4.8fr); gap: .5rem 1.5rem; padding-block: 1.4rem; border-top: 1px solid var(--rule); }
.paper:last-child { border-bottom: 1px solid var(--rule); }
.paper time { font-size: .86rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.paper h3 a { text-decoration: none; }
.paper h3 a:hover { text-decoration: underline; }
.paper p { margin: .35rem 0 .45rem; color: var(--muted); }
.paper-links { gap: .35rem 1.25rem; font-size: .84rem; overflow-wrap: anywhere; }
.small { font-size: .89rem; color: var(--muted); }
.book { padding: clamp(1.25rem, 4vw, 2.4rem); background: #f0eadb; border-left: 4px solid #937137; }
.book h3 { font-size: clamp(1.85rem, 4vw, 3.15rem); }
.book h3 span { display: block; margin-top: .25em; font-size: .68em; font-style: italic; }
.footer h2 { font-size: clamp(2.3rem, 5vw, 3.75rem); }
.profiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-block: 1.6rem 2.4rem; }
.profiles a { display: block; height: 100%; padding: .85rem .95rem; border: 1px solid #769087; font-weight: 650; text-decoration: none; }
.profiles a:hover { background: #21413a; text-decoration: underline; }
.profiles small { display: block; font-variant-numeric: tabular-nums; font-weight: normal; }
.profiles span { color: var(--gold); }
details { max-width: 53rem; }
summary { width: fit-content; cursor: pointer; font-weight: 700; }
details p { color: #e1e9df; }
.footer-bottom { justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #769087; font-size: .88rem; }
@media (max-width: 59rem) {
  .hero-grid { grid-template-columns: 1.65fr 1fr; min-height: auto; }
  .profiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero-grid, .split, .paper { grid-template-columns: minmax(0, 1fr); }
  .portrait { justify-self: start; width: min(100% - .65rem, 20rem); }
}
@media (max-width: 23rem) {
  h1 { font-size: 3.25rem; }
  .profiles { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .actions, .filter, .footer-bottom { display: none !important; }
  .hero, .footer, .tinted, .book { color: black; background: white; }
  .hero-grid, .section { min-height: auto; padding-block: 1rem; }
  .hero .eyebrow, .footer .eyebrow, .intro, details p { color: black; }
  .paper, .book { break-inside: avoid; }
}
