:root {
  --cream: #FBF6EE;
  --paper: #FFFCF8;
  --ink: #3A2415;
  --muted: #7A6454;
  --line: #E8D9C8;
  --terra: #C45C26;
  --terra-d: #A4481C;
  --chip: #F3E6D6;
  --max: 1080px;
  --r: 14px;
  --shadow: 0 8px 24px rgba(58, 36, 21, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra-d); text-decoration: none; }
a:hover { color: var(--terra); }
h1, h2, h3 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 1.2;
  margin: 0 0 .4em;
}
p { margin: 0 0 1em; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 246, 238, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 12px; position: relative;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #C45C26; }
.brand strong { display: block; font: 700 1.05rem Georgia, serif; }
.brand small { color: var(--terra); font-size: .75rem; letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 18px; }
.nav a { color: var(--ink); font-weight: 600; font-size: .95rem; padding: 8px 0; }
.nav a.is-active, .nav a:hover { color: var(--terra); }
.nav-btn { display: none; cursor: pointer; padding: 8px; }
.nav-btn span {
  display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px;
}
.search { display: flex; margin-left: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.search input {
  border: 0; background: transparent; padding: 8px 12px; width: 160px; font: inherit; color: var(--ink); outline: none;
}
.search button {
  border: 0; background: var(--terra); color: #fff; font-weight: 700; padding: 8px 14px; cursor: pointer;
}

.hero { position: relative; min-height: 72vw; max-height: 560px; overflow: hidden; color: #fff; }
.hero-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(58,36,21,.15) 0%, rgba(58,36,21,.72) 100%);
}
.hero-copy { position: relative; z-index: 1; padding: 88px 0 40px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700;
  color: var(--terra); margin: 0 0 8px;
}
.hero .eyebrow { color: #F3D2B8; }
.hero h1 { font-size: clamp(2rem, 7vw, 3.4rem); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 40rem; }
.hero .lead { color: #F7EDE3; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.btn {
  display: inline-block; background: var(--terra); color: #fff !important;
  padding: 12px 20px; border-radius: 999px; font-weight: 700;
  box-shadow: var(--shadow);
}
.btn:hover { background: var(--terra-d); }
.btn-ghost {
  background: transparent; color: #fff !important; border: 1.5px solid rgba(255,255,255,.7);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }

.section { padding: 36px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.section-head a { font-weight: 700; }

.cards {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
.card {
  background: var(--paper); border-radius: var(--r); overflow: hidden;
  color: inherit; box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.card-body { padding: 14px 16px 16px; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); font-size: .92rem; margin-bottom: .5em; }
.card-lg img { aspect-ratio: 16/10; }
.card-lg h3 { font-size: 1.6rem; }
.feature-split { display: grid; gap: 18px; }
.feature-side { display: grid; gap: 18px; }
.card-row { flex-direction: row; min-height: 160px; }
.card-row img { width: 42%; aspect-ratio: 1; min-height: 100%; }
.card-row .card-body { display: flex; flex-direction: column; justify-content: center; }

.cat-cards {
  display: grid; gap: 12px;
  grid-template-columns: 1fr 1fr;
}
.cat-card {
  position: relative; border-radius: var(--r); overflow: hidden; min-height: 140px;
  color: #fff !important; box-shadow: var(--shadow);
}
.cat-card img { width: 100%; height: 140px; object-fit: cover; }
.cat-card span {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(58,36,21,.78));
  display: flex; flex-direction: column; justify-content: flex-end; padding: 12px 14px;
}
.cat-card strong { font: 700 1.05rem Georgia, serif; }
.cat-card small { opacity: .9; font-size: .8rem; }
.cat-card.is-on { outline: 3px solid var(--terra); outline-offset: 2px; }
@media (max-width: 639px) {
  .cat-card:last-child { grid-column: span 2; }
}
.chip {
  display: inline-block; background: var(--chip); color: var(--terra-d);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px; margin-bottom: 8px;
}
.meta { color: var(--muted); font-size: .85rem; }

.cat-row, .filters { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-pill, .filter {
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
  padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem;
}
.cat-pill:hover, .filter:hover, .filter.is-on {
  background: var(--terra); color: #fff; border-color: var(--terra);
}
.count { color: var(--muted); font-size: .9rem; margin: 14px 0; }

.about-band { background: #F3E6D6; padding: 40px 0; }
.about-inner { display: grid; gap: 22px; }
.about-photo { width: 100%; border-radius: var(--r); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.facts { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.facts li { background: var(--paper); padding: 14px 16px; border-radius: var(--r); }
.facts strong { display: block; font-size: 1.2rem; color: var(--terra-d); }

.tips-band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tip-cards { display: grid; gap: 16px; }
.tip {
  background: var(--cream); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
}
.tip img { width: 100%; height: 150px; object-fit: cover; }
.tip div { padding: 14px 16px 16px; }
.tip p { color: var(--muted); margin: 0; }

.cta-band { padding: 8px 0 36px; }
.cta-inner {
  display: grid; gap: 20px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px; box-shadow: var(--shadow);
}
.cta-inner img { width: 100%; max-width: 280px; margin: 0 auto; border-radius: 12px; object-fit: cover; aspect-ratio: 1; }

.menu-hero { position: relative; min-height: 220px; overflow: hidden; color: #fff; }
.menu-hero img { width: 100%; height: 260px; object-fit: cover; }
.menu-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(58,36,21,.25), rgba(58,36,21,.7));
}
.menu-hero-copy { position: relative; z-index: 1; margin-top: -200px; padding-bottom: 28px; }
.menu-hero .lead { color: #F7EDE3; }
.empty { background: var(--paper); padding: 24px; border-radius: var(--r); border: 1px solid var(--line); }

.page-hero { padding: 28px 0 8px; }
.recipe { padding: 24px 0 8px; }
.crumb { color: var(--muted); font-size: .9rem; }
.stats {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 0; margin: 0 0 18px;
}
.stats li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
}
.stats span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.recipe-hero { width: 100%; border-radius: var(--r); aspect-ratio: 16/9; object-fit: cover; margin: 8px 0 20px; }
.recipe-grid { display: grid; gap: 24px; }
.ing { list-style: none; padding: 0; margin: 0; }
.ing li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.steps li { display: flex; gap: 12px; margin-bottom: 14px; }
.steps span {
  flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--terra); color: #fff;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700; margin-top: 2px;
}

.legal { padding: 28px 0 48px; max-width: 760px; }
.legal h2 { margin-top: 1.4em; }
.legal ul { padding-left: 1.2em; }
.muted { color: var(--muted); }

.ad-label { display: block; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: #A08A78; margin-bottom: 6px; text-align: center; }
.promo { margin: 8px 0 4px; }
.promo-link { display: block; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.promo img { width: 100%; height: 180px; object-fit: cover; }
.promo-inarticle img, .promo-rectangle img { height: 220px; object-fit: cover; }
.promo-mobile img { height: 70px; object-fit: cover; }

.site-footer { background: #3A2415; color: #F3E6D6; padding: 36px 0 28px; margin-top: 24px; }
.footer-grid { display: grid; gap: 22px; }
.site-footer a { color: #F7EDE3; display: block; margin: 6px 0; }
.site-footer h3 { font-size: 1rem; color: #fff; }
.brand-footer { color: #fff; margin-bottom: 10px; }
.brand-footer small { color: #E8B089; }
.foot-mail { margin-top: 14px; }

@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .hero { min-height: 420px; }
  .cat-cards { grid-template-columns: repeat(5, 1fr); }
  .cat-card img { height: 160px; }
  .tip-cards { grid-template-columns: 1fr 1fr 1fr; }
  .promo img { height: 240px; }
}
@media (min-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr 1fr; }
  .cards-3 { grid-template-columns: 1fr 1fr 1fr; }
  .feature-split { grid-template-columns: 1.35fr .85fr; align-items: stretch; }
  .recipe-grid { grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
  .about-inner { grid-template-columns: 1fr 1fr; align-items: center; }
  .cta-inner { grid-template-columns: 220px 1fr; padding: 22px 28px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .hero { min-height: 480px; }
  .search input { width: 190px; }
}
@media (max-width: 799px) {
  .nav-btn { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 4px;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .search { margin: 8px 0 0; }
  .search input { width: 100%; }
  .card-row { flex-direction: column; }
  .card-row img { width: 100%; aspect-ratio: 16/9; min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
