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

:root {
  color-scheme: light dark;
  --paper: #f4efe6;
  --ink: #2a2622;
  --rule: #c9beae;
  --accent: #8a3a2a;
  --muted: #6b6258;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1a1816;
    --ink: #e8e0d2;
    --rule: #3a342c;
    --accent: #d88a6a;
    --muted: #8a8277;
  }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.75;
}

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

.strip {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.7rem 1.2rem;
}

.strip a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dotted var(--rule);
}

.strip a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.masthead, main, .colophon {
  max-width: 38rem;
  padding: 0 1.3rem;
}

.masthead {
  padding-top: 4rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
}

.avatar {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.2rem;
}

.blog-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 2.4rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}

.blog-title a {
  color: var(--ink);
  text-decoration: none;
}

.tagline {
  font-style: italic;
  font-family: 'Fraunces', Georgia, serif;
  color: var(--muted);
  margin-top: 0.6rem;
  font-size: 1.05rem;
}

main h1, main h2, main h3, main h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.005em;
}

h1 { font-size: 1.9rem; line-height: 1.2; }
h2 { font-size: 1.3rem; color: var(--ink); }

.about {
  font-size: 1.1rem;
}

.about p:first-child::first-letter {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 3.4rem;
  float: left;
  line-height: 0.9;
  padding: 0.3rem 0.6rem 0 0;
  color: var(--accent);
  font-weight: 600;
}

.posts h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 500;
  font-family: 'Inter', system-ui, sans-serif;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.4rem;
}

.post-list li {
  border-bottom: 1px dotted var(--rule);
  padding: 0.75rem 0;
}

.post-link {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid transparent;
}

.post-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.post-list time, .post-header time {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
}

.empty {
  font-style: italic;
  color: var(--muted);
  padding: 1rem 0;
}

.post-header {
  margin-bottom: 2rem;
}

.post-header h1 {
  margin-bottom: 0.4rem;
}

.post-body {
  font-size: 1.1rem;
}

.post-body p {
  margin: 1rem 0;
}

blockquote {
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-style: italic;
  margin: 1.5rem 0;
  padding-left: 1.2rem;
}

pre, code {
  font-family: 'Inter', ui-monospace, monospace;
  font-size: 0.9rem;
}

pre {
  background: rgba(138, 58, 42, 0.05);
  border: 1px solid var(--rule);
  border-radius: 2px;
}

code {
  background: rgba(138, 58, 42, 0.07);
  padding: 0.05rem 0.3rem;
  border-radius: 2px;
}

hr {
  border-top: 1px solid var(--rule);
  width: 30%;
  margin: 2.5rem auto;
}

.receipt, .colophon {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
}

.colophon {
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
}
