:root {
  --paper: #faf8f3;
  --ink: #23211d;
  --muted: #6f6a60;
  --rule: #e3ded2;
  --accent: #8a5a2b;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171613;
    --ink: #eae6dd;
    --muted: #9a9387;
    --rule: #2e2b26;
    --accent: #c99a6b;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.72 Georgia, "Iowan Old Style", "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 620px; margin: 0 auto; padding: 0 24px; }

header.masthead { padding: 48px 0 0; }
header.masthead .brand {
  display: inline-block;
  font: 600 15px/1 ui-monospace, Menlo, monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
header.masthead p.tagline {
  margin: 14px 0 0;
  color: var(--muted);
  font-style: italic;
  font-size: 16px;
  max-width: 46ch;
}
header.masthead nav { margin-top: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
header.masthead nav a {
  color: var(--muted);
  text-decoration: none;
  font: 13px/1 ui-monospace, Menlo, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-right: 20px;
}
header.masthead nav a:hover, header.masthead nav a.here { color: var(--accent); }

main { padding: 34px 0 56px; }

h1 { font-size: 27px; line-height: 1.32; font-weight: 600; margin: 0 0 6px; }
h2 { font-size: 20px; line-height: 1.4; font-weight: 600; margin: 40px 0 10px; }
p { margin: 0 0 18px; }
a { color: var(--accent); }

ul.entries { list-style: none; margin: 0; padding: 0; }
ul.entries li { padding: 20px 0; border-bottom: 1px solid var(--rule); }
ul.entries li:first-child { border-top: 1px solid var(--rule); }
ul.entries a { text-decoration: none; color: var(--ink); font-size: 19px; }
ul.entries a:hover { color: var(--accent); }
ul.entries .meta {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font: 12.5px/1.5 ui-monospace, Menlo, monospace;
  letter-spacing: .04em;
}
ul.entries p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }

article header { margin-bottom: 26px; }
article header .meta {
  color: var(--muted);
  font: 12.5px/1.5 ui-monospace, Menlo, monospace;
  letter-spacing: .04em;
}
article blockquote {
  margin: 24px 0;
  padding-left: 18px;
  border-left: 2px solid var(--rule);
  color: var(--muted);
  font-style: italic;
}
article figure { margin: 26px 0; }
article figure figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }

footer.colophon {
  border-top: 1px solid var(--rule);
  padding: 22px 0 46px;
  color: var(--muted);
  font: 12.5px/1.7 ui-monospace, Menlo, monospace;
}
footer.colophon a { color: var(--muted); }
