:root {
  --bg: #f4f3f0;
  --fg: #2b2d2f;
  --muted: #7a7d80;
  --line: #dcdad5;
  --link: #3d5560;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #17191b; --fg: #e4e2de; --muted: #8d9094; --line: #2c2f32; --link: #a9c0c9; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.7 Georgia, "Times New Roman", serif; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; }

header.site { padding: 40px 0 28px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
header.site .name { font-size: 1.25rem; letter-spacing: .03em; color: var(--fg); }
header.site nav { font: 15px/1 system-ui, -apple-system, sans-serif; display: flex; gap: 18px; }
header.site nav a { color: var(--muted); }
header.site nav a:hover { color: var(--fg); text-decoration: none; }

.intro h1 { font-weight: normal; font-size: 2.1rem; letter-spacing: .02em; margin: 24px 0 6px; line-height: 1.25; }
.intro p { color: var(--muted); font-style: italic; margin: 0 0 40px; }

.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { border-top: 1px solid var(--line); padding: 28px 0; display: grid; grid-template-columns: 168px 1fr; gap: 22px; align-items: start; }
.post-list img { width: 100%; aspect-ratio: 4 / 3; display: block; border-radius: 2px; }
.post-list h2 { font-weight: normal; font-size: 1.3rem; margin: 0 0 2px; line-height: 1.35; }
.post-list p { margin: 8px 0 0; }
@media (max-width: 560px) {
  .post-list li { grid-template-columns: 1fr; gap: 14px; }
}

time, .meta { color: var(--muted); font: 14px/1.4 system-ui, -apple-system, sans-serif; }

article.post h1 { font-weight: normal; font-size: 2rem; line-height: 1.25; margin: 20px 0 6px; }
article.post figure { margin: 28px 0; }
article.post figure img { width: 100%; display: block; border-radius: 2px; }
article.post figcaption { color: var(--muted); font: 14px/1.5 system-ui, -apple-system, sans-serif; margin-top: 8px; }
article.post p { margin: 0 0 1.1em; }
.back { display: inline-block; margin: 12px 0 0; font: 15px/1 system-ui, -apple-system, sans-serif; }

.page h1 { font-weight: normal; font-size: 2rem; margin: 20px 0 16px; }

footer.site { border-top: 1px solid var(--line); margin-top: 40px; padding: 20px 0 48px; color: var(--muted); font: 14px/1.5 system-ui, -apple-system, sans-serif; }
