@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,500&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --bg: #faf6ef;
  --text: #2b2420;
  --muted: #7a6f63;
  --accent: #b5563a;
  --line: #d8cdbf;
  --code-bg: #f1eadf;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1815;
    --text: #e8e0d6;
    --muted: #a89c8d;
    --accent: #e0825f;
    --line: #3a332c;
    --code-bg: #251f1a;
  }
}

* { box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
}

.strip {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.strip a { color: var(--accent); text-decoration: none; }
.strip a:hover { text-decoration: underline; }

.masthead { padding-top: 3.5rem; }

.avatar {
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 0.3rem;
}

.blog-title, .blog-title a {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.tagline {
  color: var(--muted);
  font-style: italic;
  font-family: "Fraunces", Georgia, serif;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--text);
  font-weight: 600;
}

a { color: var(--accent); }

time { color: var(--muted); }

.about {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
}
.about p:first-of-type { font-size: 1.12rem; }

.post-list { list-style: none; }
.post-list li { border-bottom: 1px solid var(--line); }
.post-link {
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.post-link:hover { border-bottom-color: var(--accent); color: var(--accent); }

.empty, .notice { color: var(--muted); font-style: italic; }

blockquote {
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-style: italic;
}

pre, code {
  border: 1px solid var(--line);
  background: var(--code-bg);
}
pre { border-radius: 4px; }
code { padding: 0.1em 0.3em; border-radius: 3px; }
pre code { padding: 0; border: none; background: none; }

hr {
  border-top: 1px solid var(--line);
  width: 4rem;
  margin: 2.5rem auto;
}

.receipt, .colophon {
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.post-header time { display: block; margin-top: 0.3rem; }

@media (max-width: 30rem) {
  .blog-title { font-size: 1.6rem; }
  body { font-size: 1rem; }
}
