:root {
  --bg: #fbf8f3;
  --text: #2b2724;
  --muted: #7a716a;
  --accent: #2f6f5e;
  --rule: #e6dfd5;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1a18;
    --text: #e9e4dd;
    --muted: #a39a90;
    --accent: #7cc3ab;
    --rule: #34302c;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.65 Georgia, "Iowan Old Style", serif;
}
header.site, main, footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
}
header.site {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  font-family: system-ui, sans-serif;
}
.brand { font-weight: 700; color: var(--text); text-decoration: none; }
nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover, a:hover { color: var(--accent); }
a { color: var(--accent); }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 0.4em 0 0.6em; }
h2 { font-size: 1.25rem; margin-top: 1.8em; }
.intro { padding: 32px 0 8px; }
.intro p { color: var(--muted); }
.meta { margin: 0; color: var(--muted); font: 14px system-ui, sans-serif; }
ul.posts { list-style: none; padding: 0; }
ul.posts li { padding: 20px 0; border-top: 1px solid var(--rule); }
ul.posts li > a { font-size: 1.25rem; font-weight: 700; text-decoration: none; }
ul.posts li > p:last-child { margin: 4px 0 0; }
article { padding: 28px 0; }
footer {
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font: 14px system-ui, sans-serif;
}
.projects h2 { margin: 1.6em 0 0.2em; padding-top: 1.2em; border-top: 1px solid var(--rule); }
.projects h2 + p { margin-top: 0; color: var(--muted); font: 14px system-ui, sans-serif; }
