:root {
  --bg: #f6f4ef;
  --paper: #fffdf8;
  --ink: #23262b;
  --muted: #6b6f76;
  --line: #e3ded3;
  --accent: #2f6f8f;
  --accent-soft: #e4eef2;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --paper: #1c1f23;
    --ink: #e7e4dd;
    --muted: #9a9ea5;
    --line: #2c3036;
    --accent: #7fb6cf;
    --accent-soft: #233039;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 Georgia, "PT Serif", "Times New Roman", serif;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
header.site .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 18px; flex-wrap: wrap; }
.brand { font: 600 26px/1.1 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: -0.5px; color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent); }
.tagline { color: var(--muted); font-size: 15px; margin: 4px 0 0; }
nav a { font: 15px -apple-system, "Segoe UI", Roboto, Arial, sans-serif; margin-left: 18px; color: var(--muted); text-decoration: none; }
nav a:first-child { margin-left: 0; }
nav a:hover, nav a[aria-current] { color: var(--ink); }
main { padding: 36px 0 56px; }
.post-card { padding: 0 0 34px; margin: 0 0 34px; border-bottom: 1px solid var(--line); }
.post-card:last-child { border-bottom: 0; }
.post-card h2 { font-size: 27px; line-height: 1.25; margin: 10px 0 8px; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.meta { font: 14px -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--muted); }
.tag { display: inline-block; background: var(--accent-soft); color: var(--accent); border-radius: 4px; padding: 1px 8px; margin-left: 6px; font-size: 13px; }
figure { margin: 22px 0; }
figure img { width: 100%; height: auto; display: block; border-radius: 6px; background: var(--line); }
figcaption { font: 14px -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--muted); margin-top: 8px; }
article h1 { font-size: 34px; line-height: 1.2; margin: 6px 0 10px; }
article h2 { font-size: 23px; margin: 34px 0 8px; }
article p, article li { margin: 0 0 16px; }
blockquote { margin: 22px 0; padding: 4px 18px; border-left: 3px solid var(--accent); color: var(--muted); font-style: italic; }
.exif { font: 13px ui-monospace, Menlo, Consolas, monospace; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 10px 14px; }
.more { font: 15px -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font: 14px -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
footer.site .wrap { padding-top: 22px; padding-bottom: 30px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 560px) {
  body { font-size: 16px; }
  .post-card h2 { font-size: 23px; }
  article h1 { font-size: 28px; }
  nav a { margin-left: 14px; }
}
