:root {
  --bg: #faf6f0;
  --text: #2b2420;
  --muted: #7a6d63;
  --accent: #a0522d;
  --line: #e6dccf;
  --card: #fffdf9;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1916;
    --text: #ece4da;
    --muted: #a99b8f;
    --accent: #d98a5c;
    --line: #3a322c;
    --card: #25201c;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.65 Georgia, "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: 720px; margin: 0 auto; padding: 0 20px; }

header.site {
  border-bottom: 1px solid var(--line);
  padding: 28px 0 20px;
}
header.site .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.brand { font-size: 26px; font-weight: bold; color: var(--text); text-decoration: none; letter-spacing: .2px; }
.brand span { color: var(--accent); }
nav a { margin-left: 18px; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 15px; color: var(--muted); text-decoration: none; }
nav a:first-child { margin-left: 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }

main { padding: 36px 0 56px; }
.intro { color: var(--muted); font-style: italic; margin: 0 0 36px; }

.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.post-list li:last-child { border-bottom: 0; }
.post-list h2 { margin: 4px 0 8px; font-size: 24px; line-height: 1.3; }
.post-list h2 a { color: var(--text); text-decoration: none; }
.post-list h2 a:hover { color: var(--accent); }
.post-list p { margin: 0; color: var(--muted); }
.meta { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14px; color: var(--muted); }

article h1 { font-size: 34px; line-height: 1.2; margin: 6px 0 24px; }
article h2 { font-size: 24px; margin: 36px 0 12px; }
article p, article li { margin: 0 0 16px; }
article ul, article ol { padding-left: 24px; }
.recipe {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 24px 0;
}
.recipe h3 { margin: 0 0 10px; font-size: 19px; }
.recipe ul { margin: 0; }
.recipe li { margin-bottom: 6px; }
blockquote { margin: 24px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); color: var(--muted); font-style: italic; }
.back { display: inline-block; margin-top: 28px; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 15px; }

footer.site { border-top: 1px solid var(--line); padding: 22px 0 34px; color: var(--muted); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14px; }

@media (max-width: 520px) {
  body { font-size: 17px; }
  article h1 { font-size: 28px; }
  nav a { margin-left: 14px; }
}
