:root {
  --bg: #f4efe6;
  --paper: #fffaf2;
  --ink: #2b2433;
  --muted: #6d6375;
  --accent: #d0573f;
  --accent-2: #3f7f8f;
  --line: #e3d8c8;
}
* { box-sizing: border-box; }
html { font-size: 17px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "PT Serif", "Times New Roman", serif;
  line-height: 1.65;
}
a { color: var(--accent-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header.site {
  border-bottom: 4px solid var(--ink);
  background: var(--paper);
}
header.site .wrap { display: flex; align-items: center; gap: 14px; padding-top: 18px; padding-bottom: 14px; }
.logo { width: 44px; height: 44px; image-rendering: pixelated; }
.brand { font-family: "Courier New", ui-monospace, monospace; font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; color: var(--ink); text-decoration: none; }
.brand small { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); letter-spacing: 0; }
nav.top { margin-left: auto; font-family: "Courier New", ui-monospace, monospace; font-size: .9rem; }
nav.top a { margin-left: 16px; color: var(--ink); text-decoration: none; }
nav.top a:hover { color: var(--accent); }
main { padding: 34px 0 60px; }
h1, h2, h3 { font-family: "Courier New", ui-monospace, monospace; line-height: 1.25; }
h1 { font-size: 1.9rem; margin: 0 0 .4em; }
h2 { font-size: 1.35rem; margin: 1.8em 0 .5em; }
.lead { font-size: 1.08rem; color: var(--muted); margin-top: 0; }
.post-list { list-style: none; padding: 0; margin: 28px 0 0; }
.post-list li { background: var(--paper); border: 2px solid var(--line); padding: 18px 20px; margin-bottom: 16px; }
.post-list h2 { margin: 0 0 .2em; font-size: 1.18rem; }
.post-list h2 a { color: var(--ink); text-decoration: none; }
.post-list h2 a:hover { color: var(--accent); }
.meta { font-family: "Courier New", ui-monospace, monospace; font-size: .8rem; color: var(--muted); }
.tag { display: inline-block; font-family: "Courier New", ui-monospace, monospace; font-size: .75rem; background: var(--ink); color: var(--paper); padding: 1px 7px; margin-right: 6px; }
article.post { background: var(--paper); border: 2px solid var(--line); padding: 28px 30px; }
article.post p, article.post li { max-width: 66ch; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }
.swatches span { width: 34px; height: 34px; border: 2px solid var(--ink); }
.pixels { display: grid; grid-template-columns: repeat(8, 18px); gap: 0; margin: 18px 0; border: 2px solid var(--ink); width: max-content; }
.pixels i { width: 18px; height: 18px; display: block; }
.note { border-left: 4px solid var(--accent); padding: 4px 14px; background: #fbf1e3; }
code { font-family: "Courier New", ui-monospace, monospace; background: #efe4d3; padding: 0 4px; }
footer.site { border-top: 2px solid var(--line); padding: 22px 0 40px; font-size: .85rem; color: var(--muted); font-family: "Courier New", ui-monospace, monospace; }
@media (max-width: 560px) {
  header.site .wrap { flex-wrap: wrap; }
  nav.top { margin-left: 0; width: 100%; }
  nav.top a { margin: 0 14px 0 0; }
  article.post { padding: 20px 18px; }
}
