:root {
  --bg: #faf6ee;
  --card: #ffffff;
  --text: #292820;
  --muted: #6f6b5e;
  --primary: #b83d2f;
  --on-primary: #ffffff;
  --line: #e8e1d3;
  --serif: ui-serif, 'New York', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1b19;
    --card: #262522;
    --text: #f2eee4;
    --muted: #a9a496;
    --primary: #d1584a;
    --line: #3a3833;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
main { max-width: 560px; margin: 0 auto; padding: 24px 16px 48px; }
h1, h2 { font-family: var(--serif); font-weight: 700; margin: 0; }
h1 { font-size: 30px; line-height: 1.2; }
h2 { font-size: 22px; line-height: 1.3; margin-top: 28px; }
p { margin: 8px 0 0; }
.muted { color: var(--muted); }
.brand { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--primary); text-decoration: none; }
.top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.hero { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; background: var(--line); display: block; margin-bottom: 18px; }
.actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.btn { display: block; text-align: center; padding: 14px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-subtle { background: var(--card); color: var(--text); border: 1px solid var(--line); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 14px; color: var(--muted); }
ul.ings, ol.steps { padding-left: 20px; margin: 10px 0 0; }
ul.ings li, ol.steps li { margin: 6px 0; }
.state { text-align: center; padding: 64px 8px; }
.hidden { display: none !important; }
.kitchen-badge { width: 56px; height: 56px; border-radius: 18px; margin: 0 auto 18px; box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.55); }

/* home page: the hero stays dark in both themes, to match its artwork */
.home-hero { background: #14110e; color: #faf6ee; text-align: center; }
.home-hero img { display: block; width: 100%; max-width: 1200px; height: auto; margin: 0 auto; }
.home-hero-text { max-width: 620px; margin: 0 auto; padding: 8px 16px 48px; }
.home-hero h1 { font-size: clamp(32px, 6vw, 48px); line-height: 1.12; text-wrap: balance; }
.home-hero p { margin-top: 14px; font-size: 18px; color: #d8d2c4; text-wrap: balance; }
.home-hero .home-note { margin-top: 12px; font-size: 14px; color: #a9a496; }
.home-cta { display: inline-block; margin-top: 24px; padding: 15px 28px; background: #b83d2f; color: #fff; }
.home-main { max-width: 960px; padding: 48px 16px; }
.home-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.home-features h2 { margin-top: 0; }
.home-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.home-shots img { display: block; width: 100%; height: auto; border-radius: 20px; background: var(--line); }
.home-plus { max-width: 620px; margin: 56px auto 0; text-align: center; }
.home-plus h2 { margin-top: 0; }
.home-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 24px 16px 40px; border-top: 1px solid var(--line); font-size: 14px; }
.home-footer a { color: var(--muted); }
/* wider than the artwork: fade its sides into the background */
@media (min-width: 1201px) {
  .home-hero img { -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
}
@media (max-width: 560px) {
  .home-features { grid-template-columns: minmax(0, 1fr); }
  .home-shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -16px; padding-right: 16px; }
  .home-shots img { flex: 0 0 72%; width: 72%; scroll-snap-align: start; }
}
