/* sunfaded — hand-written, no dependencies */
:root {
  --ink: #2b2a26;
  --muted: #7a766c;
  --accent: #4a6b8a;
  --bg: #faf9f6;
  --line: #e4e1da;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

header { border-bottom: 1px solid var(--line); }
header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 22px;
  padding-bottom: 14px;
}
.brand {
  font-size: 1.35rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.02em;
}
nav a {
  margin-left: 18px;
  text-decoration: none;
  color: var(--accent);
}
nav a:hover { text-decoration: underline; }

main { padding-top: 34px; padding-bottom: 50px; }
.intro { color: var(--muted); font-style: italic; }

h1, h2 { font-weight: normal; line-height: 1.3; }
h2 { margin-top: 40px; }

.postlist { list-style: none; padding: 0; margin: 20px 0 0; }
.postlist li { border-top: 1px solid var(--line); padding: 18px 0; }
.postlist .date {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: "Courier New", monospace;
}
.postlist a {
  font-size: 1.12rem;
  text-decoration: none;
  color: var(--accent);
}
.postlist a:hover { text-decoration: underline; }
.excerpt { margin: 6px 0 0; color: var(--muted); font-size: 0.95rem; }

article { max-width: 640px; }
.meta {
  font-size: 0.82rem;
  color: var(--muted);
  font-family: "Courier New", monospace;
  margin-bottom: 30px;
}
article p { margin: 1.1em 0; }
blockquote {
  margin: 1.4em 0;
  padding-left: 16px;
  border-left: 3px solid var(--line);
  color: var(--muted);
  font-style: italic;
}
code {
  font-family: "Courier New", monospace;
  background: #f0eee8;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.85em;
}
pre {
  background: #f0eee8;
  padding: 14px 16px;
  overflow-x: auto;
  border-radius: 4px;
  font-size: 0.85em;
  line-height: 1.5;
}
pre code { padding: 0; background: none; }

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.92rem;
  margin: 1.4em 0;
}
th, td {
  border: 1px solid var(--line);
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}
th {
  width: 9em;
  background: #f0eee8;
  font-weight: normal;
  color: var(--muted);
  white-space: nowrap;
}

.back { margin-top: 44px; }
.back a { color: var(--accent); text-decoration: none; }
.back a:hover { text-decoration: underline; }

footer {
  border-top: 1px solid var(--line);
  padding: 18px 0 30px;
  color: var(--muted);
  font-size: 0.85rem;
}
footer a { color: var(--muted); text-decoration: none; margin-left: 6px; }
footer a:hover { text-decoration: underline; }
