:root {
  --paper: #fbfaf6;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #9d2933;
  --rule: #e3ded3;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141311;
    --ink: #ece8e1;
    --muted: #9a958c;
    --accent: #d08b8b;
    --rule: #2c2823;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.18rem);
  line-height: 1.65;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

header, main, footer {
  max-width: 36rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Masthead ------------------------------------------------------------- */

.masthead {
  padding-top: 2.5rem;
}

.logo {
  display: block;
  width: min(260px, 72vw);
  max-width: 100%;
  height: auto;
}

/* Body ----------------------------------------------------------------- */

main { padding-top: 3.5rem; }

.eyebrow {
  margin: 0 0 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 1.6rem;
  font-weight: 400;
  font-size: clamp(2.1rem, 1.5rem + 3vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }

.lede {
  font-size: 1.14em;
  line-height: 1.55;
  margin-bottom: 1.15em;
}

.series-list {
  margin: 2.8rem 0 2rem;
  border-top: 1px solid var(--rule);
}

.series {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule);
}

.series:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.series h2 {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.series p { margin: 0; }

.status {
  margin-top: 1.6rem;
  font-style: italic;
  color: var(--muted);
}

/* Footer --------------------------------------------------------------- */

footer {
  margin-top: 4.5rem;
  padding-top: 1.5rem;
  padding-bottom: 3.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.86rem;
  color: var(--muted);
}

.contact { margin-bottom: 1.4rem; }

.colophon {
  margin: 0;
  line-height: 1.55;
  font-size: 0.82rem;
}

/* Links and details ---------------------------------------------------- */

a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover { text-decoration: underline; }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--paper);
}

.nowrap { white-space: nowrap; }
