:root {
  --bg: #0c0e12;
  --ink: #e8e4dc;
  --muted: #8a8578;
  --accent: #e8a54b;
  --accent-cool: #7eb8da;
  --card: #151820;
  --line: #2a2f3a;
  --sidebar: #12151c;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  min-height: 100vh;
}
a { color: var(--accent-cool); }
a:hover { color: var(--accent); }
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 1.25rem;
}
.site-header .wrap {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.brand {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}
.brand span { color: var(--accent); }
.tagline {
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.layout {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
}
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
}
main h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 2rem; }
.post-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.25rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.post-card:hover {
  border-color: #3a4254;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.post-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}
.post-card h2 a { text-decoration: none; color: var(--ink); }
.post-card h2 a:hover { color: var(--accent); }
.post-meta {
  font-family: ui-monospace, monospace;
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.post-excerpt { color: #d4d0c8; margin: 0; }
.sidebar .widget {
  background: var(--sidebar);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1rem;
}
.sidebar h3 {
  font-size: 0.8rem;
  font-family: ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.sidebar p, .sidebar li {
  font-size: 0.92rem;
  color: #d4d0c8;
}
.sidebar ul { padding-left: 1.1rem; }
.sidebar li { margin-bottom: 0.35rem; }
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.25rem;
  text-align: center;
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--muted);
}
.post-body { max-width: 720px; }
.post-body section { margin-bottom: 2rem; }
.post-body h2 {
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.post-body p { margin-bottom: 1rem; color: #d4d0c8; }
.post-body .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
}
.post-body .card h3 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--ink); }
.post-body .card p { color: #ddd6cc; }
.post-body .meta {
  font-family: ui-monospace, monospace;
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.post-body .aside {
  border-left: 3px solid var(--accent-cool);
  padding-left: 1rem;
  font-style: italic;
  color: var(--muted);
}
.back { display: inline-block; margin-bottom: 1.5rem; font-size: 0.9rem; }