:root {
  --bg: #0f141d;
  --ink: #ece7db;
  --muted: #9ea6b3;
  --rule: #2a3342;
  --land: #1c2431;
  --land-edge: #3a4558;
  --moth: #f0b24a;
  --moth-soft: #8a6a3a;
  --wind: #8fc3e8;
  --card: rgba(15, 20, 29, 0.94);
  --body: "Atkinson Hyperlegible", "Helvetica Neue", Arial, sans-serif;
  --display: "Fraunces", Georgia, serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--body);
}

a { color: inherit; text-decoration-color: var(--moth); text-underline-offset: 2px; }

h1, h2 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
}

h1 { font-size: 2rem; margin: 0 0 0.75rem; }
h2 { font-size: 1.5rem; margin: 0 0 0.75rem; }

.prose {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.intro { padding-top: 1.5rem; }
.dek { font-size: 1.15rem; color: var(--muted); }

.photo { margin: 1.5rem 0 0; }
.photo img { display: block; width: 100%; height: auto; border-radius: 4px; }
.photo figcaption, .credit { font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem; }

header.site, footer.site {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}
header.site a { text-decoration: none; font-weight: 700; }
footer.site { border-top: 1px solid var(--rule); }

.references { color: var(--muted); font-size: 0.9rem; }
.references h2 { color: var(--ink); }
.references ul { padding: 0; list-style: none; }
.references li { margin: 0 0 0.5rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (min-width: 720px) {
  body { font-size: 18px; }
  h1 { font-size: 2.6rem; }
  h2 { font-size: 1.8rem; }
}

