:root {
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --bg: #fdfdfb;
  --accent: #a5502e;
  --border: #e6e3dd;
  --max-width: 680px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  line-height: 1.65;
  font-size: 18px;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1.5rem;
}

.site-header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.nav-links a {
  margin-left: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.nav-links a:first-child { margin-left: 0; }

.content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.intro {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.post-list li:first-child { padding-top: 0; }

.post-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.post-date {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

.post-excerpt {
  color: var(--muted);
  margin: 0.5rem 0 0;
  font-size: 0.98rem;
}

.post-title {
  font-size: 2rem;
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.post-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0;
  margin-bottom: 2rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
}

.post-content pre {
  background: #f2f0eb;
  padding: 1rem;
  overflow-x: auto;
  border-radius: 4px;
  font-size: 0.9rem;
}

.post-content code {
  background: #f2f0eb;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  font-size: 0.9em;
}

.post-content blockquote {
  border-left: 3px solid var(--border);
  margin-left: 0;
  padding-left: 1rem;
  color: var(--muted);
}

.back-link {
  margin-top: 3rem;
  font-size: 0.95rem;
}

.site-footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 2rem 1.5rem;
}
