/* Little Sand — a quiet personal notebook */
:root {
  --bg: #f3eee4;
  --paper: #fffaf2;
  --ink: #2c2620;
  --muted: #6d645a;
  --accent: #3e5a53;
  --accent-soft: #dce6e2;
  --rule: #e6d9c8;
  --max: 42rem;
}
* { box-sizing: border-box; }
html { font-size: 18px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", Georgia, serif;
  line-height: 1.65;
  letter-spacing: 0.01em;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
.wrap { max-width: calc(var(--max) + 2.5rem); margin: 0 auto; padding: 0 1.25rem; }
header.site {
  padding: 2.25rem 0 1.25rem;
  border-bottom: 1px solid var(--rule);
}
header.site .mark {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}
header.site h1 {
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}
header.site h1 a { color: inherit; text-decoration: none; }
header.site p.tag {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-style: italic;
}
nav.site {
  margin-top: 0.9rem;
  display: flex;
  gap: 1.1rem;
  font-size: 0.95rem;
}
nav.site a { color: var(--ink); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--accent); text-decoration: underline; }
main { padding: 2.2rem 0 3rem; }
article.post, .about, .intro { background: transparent; }
.intro { margin-bottom: 2rem; color: var(--muted); }
.intro p { margin: 0; max-width: 36rem; }
ol.posts { list-style: none; padding: 0; margin: 0; }
ol.posts li {
  padding: 1.15rem 0;
  border-top: 1px solid var(--rule);
}
ol.posts li:last-child { border-bottom: 1px solid var(--rule); }
ol.posts time {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
ol.posts h2 { font-size: 1.25rem; margin: 0.15rem 0 0.3rem; font-weight: 600; }
ol.posts h2 a { color: inherit; text-decoration: none; }
ol.posts h2 a:hover { color: var(--accent); }
ol.posts p { margin: 0; color: var(--muted); }
article.post header { margin-bottom: 1.4rem; }
article.post h1 {
  font-size: 1.85rem;
  line-height: 1.25;
  margin: 0.2rem 0 0.5rem;
  letter-spacing: -0.02em;
}
article.post .meta { color: var(--muted); font-size: 0.92rem; }
article.post p { margin: 0 0 1.05rem; }
article.post p.kicker { font-style: italic; color: var(--muted); }
footer.site {
  border-top: 1px solid var(--rule);
  padding: 1.4rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}
footer.site p { margin: 0; }
@media (max-width: 640px) {
  html { font-size: 17px; }
  header.site h1, article.post h1 { font-size: 1.55rem; }
}
