:root {
  --bg: #fffaf3;
  --ink: #2b2118;
  --muted: #6b5d50;
  --accent: #c4451c;
  --accent-dark: #a23814;
  --cream: #f6ecde;
  --line: #eadfce;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3, .brand { font-family: 'Fraunces', Georgia, serif; line-height: 1.2; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { font-size: 1.5rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.site-header nav a { margin-left: 22px; text-decoration: none; color: var(--ink); font-weight: 500; }
.site-header nav a:hover, .site-header nav a.active { color: var(--accent); }

/* Hero */
.hero {
  background: linear-gradient(rgba(30, 18, 10, .62), rgba(30, 18, 10, .72)), url('background.jpg') center/cover;
  color: #fff; padding: 110px 0; text-align: center;
}
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); margin: 8px 0 16px; }
.hero .lead { max-width: 640px; margin: 0 auto 30px; font-size: 1.15rem; opacity: .95; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: #ffc9a8; margin: 0; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; padding: 14px 30px; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* Strip */
.strip { background: var(--cream); border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 20px; text-align: center; }
.strip-grid strong { display: block; font-family: 'Fraunces', serif; font-size: 1.3rem; }
.strip-grid span { color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding: 70px 0; }
.section.alt { background: var(--cream); }
.section h2 { font-size: 2rem; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 32px; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 28px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(60, 40, 20, .12); }
.card img { width: 100%; height: 210px; object-fit: cover; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin: 8px 0 6px; font-size: 1.25rem; }
.card p { margin: 0 0 14px; color: var(--muted); font-size: .95rem; flex: 1; }
.tag { align-self: flex-start; background: var(--cream); color: var(--accent-dark); font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.meta { display: flex; gap: 14px; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

/* How it works */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 30px; }
.how h3 { margin: 10px 0 6px; }
.how p { margin: 0; color: var(--muted); }
.num { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; align-items: center; justify-content: center; font-weight: 700; }

/* Recipe page */
.recipe { padding-top: 30px; }
.crumbs { color: var(--muted); font-size: .9rem; margin: 0; }
.crumbs a { text-decoration: none; }
.recipe h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 10px 0; }
.lead.dark { color: var(--muted); font-size: 1.1rem; margin: 0 0 22px; max-width: 700px; }
.rhero { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; background: var(--cream); border-radius: var(--radius); padding: 16px; margin: 20px 0 34px; text-align: center; }
.facts span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts strong { font-size: 1.05rem; }
.cols { display: grid; grid-template-columns: 340px 1fr; gap: 44px; padding-bottom: 60px; align-items: start; }
.ingredients { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.ingredients h2, .method h2 { font-size: 1.5rem; margin: 0 0 14px; }
.ingredients ul { padding-left: 20px; margin: 0; }
.ingredients li { margin-bottom: 8px; }
.method ol { padding-left: 22px; margin: 0; }
.method li { margin-bottom: 16px; padding-left: 6px; }
.method ol li::marker { color: var(--accent); font-weight: 700; }
.tips { background: #fff4e6; border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 8px; margin-top: 26px; }
.tips h3 { margin: 0 0 8px; font-size: 1.1rem; }
.tips ul { margin: 0; padding-left: 20px; }
.note { color: var(--muted); font-size: .88rem; }

/* Legal / info pages */
.doc { padding: 50px 0 70px; }
.doc h1 { font-size: 2.4rem; margin: 0 0 12px; }
.doc h2 { font-size: 1.35rem; margin: 30px 0 8px; }
.doc ul { padding-left: 22px; }

/* Footer */
.site-footer { background: #2b2118; color: #e9ddd0; padding: 50px 0 24px; margin-top: 0; }
.site-footer .brand { color: #fff; margin-bottom: 8px; }
.site-footer a { display: block; color: #e9ddd0; text-decoration: none; margin-bottom: 6px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h4 { margin: 0 0 10px; color: #fff; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.foot-grid p { margin: 0; max-width: 320px; }
.copy { border-top: 1px solid #4a3d31; margin-top: 30px; padding-top: 18px; font-size: .85rem; color: #b9aa9a; }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cols { grid-template-columns: 1fr; gap: 28px; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid, .how, .foot-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 70px 0; }
  .site-header nav a { margin-left: 14px; font-size: .95rem; }
  .brand { font-size: 1.2rem; }
}
