:root {
  --bg: #fffaf3;
  --card: #ffffff;
  --text: #2b2420;
  --muted: #6f625a;
  --accent: #c2532d;
  --border: #eadfd3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

header, main, footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  padding-top: 48px;
  padding-bottom: 24px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  color: var(--accent);
}

header p { margin: 8px 0 0; color: var(--muted); }

.recipe {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.recipe img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.recipe h2 { margin-top: 0; }

.recipe summary {
  display: inline-block;
  cursor: pointer;
  list-style: none;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-weight: bold;
}

.recipe summary::-webkit-details-marker { display: none; }

.recipe summary:hover { background: var(--bg); }

.recipe details[open] > summary {
  font-size: 0;
  margin-bottom: 8px;
}

.recipe details[open] > summary::after {
  content: "Hide recipe";
  font-size: 1rem;
}

.recipe h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 4px;
}

footer {
  padding-top: 16px;
  padding-bottom: 48px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
