:root {
  --bg: #141312;
  --fg: #e8e2d9;
  --strong: #f6f0e8;
  --muted: #a8a196;
  --line: #2c2926;
  --accent: #e5927a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: clamp(1.06rem, 1rem + .3vw, 1.18rem)/1.7 "Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, serif;
  -webkit-font-smoothing: antialiased;
}

main { max-width: 66ch; margin: 0 auto; padding: clamp(3rem, 12vh, 7rem) 1.4rem 4rem; }

h1, h2 { color: var(--strong); line-height: 1.2; }
h1 { margin: 0; font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.7rem); letter-spacing: -.01em; }
h2 { margin: 3.5rem 0 1rem; font-size: 1.4em; }

p { margin: 0 0 1.4em; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
a:hover { text-decoration-thickness: 2px; }

header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.subtitle { margin: 1rem 0 0; color: var(--muted); font-size: 1.12em; line-height: 1.5; }
.meta { margin: 1.25rem 0 0; color: var(--muted); font-size: .9em; }

.sources { margin: 0; padding-left: 1.4em; color: var(--muted); font-size: .9em; }
.sources li { margin-bottom: .5em; }

.notes { margin: 0; padding: 0; list-style: none; }
.notes li { margin-bottom: 3rem; }
.notes .meta { margin: 0; }
.notes h2 { margin: .4rem 0 .6rem; font-size: 1.35em; }
.notes h2 a { color: var(--strong); text-decoration: none; }
.notes h2 a:hover { text-decoration: underline; }
.notes p { margin: 0; color: var(--muted); }

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .95em;
}
