
:root {
  --ink: #191510;
  --muted: #6d665e;
  --cream: #f7f2e9;
  --paper: #fffdf9;
  --gold: #a7652c;
  --gold-dark: #76431d;
  --green: #285b43;
  --line: #e7ded1;
  --shadow: 0 20px 60px rgba(42, 29, 16, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(167,101,44,.10), transparent 34rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(231,222,209,.85);
  background: rgba(255,253,249,.92);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  color: white; background: linear-gradient(145deg, var(--gold), var(--gold-dark));
  box-shadow: 0 8px 24px rgba(118,67,29,.25);
}
.brand-copy small { display: block; color: var(--gold); font-size: .67rem; letter-spacing: .17em; text-transform: uppercase; }
.brand-copy span { font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; }
.nav-links { display: flex; gap: 24px; color: var(--muted); font-size: .94rem; font-weight: 650; }
.nav-links a:hover { color: var(--gold-dark); }

.hero { padding: 92px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 58px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--green); background: #eef5f0;
  border: 1px solid #d7e6dc; border-radius: 999px;
  padding: 7px 13px; font-size: .82rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .09em;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; }
h1 { font-size: clamp(3.25rem, 7vw, 6.9rem); letter-spacing: -.055em; margin: 24px 0 20px; max-width: 840px; }
h1 em { color: var(--gold); font-weight: 400; }
.hero-copy > p { color: var(--muted); font-size: 1.17rem; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 9px;
  min-height: 50px; border-radius: 999px; padding: 0 21px;
  font-weight: 800; border: 1px solid var(--line);
}
.btn-primary { background: var(--ink); color: white; border-color: var(--ink); }
.btn-secondary { background: white; }
.btn:hover { transform: translateY(-1px); }

.hero-card {
  position: relative; border-radius: 30px; background: white;
  padding: 14px; box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.hero-card::before {
  content: ""; position: absolute; inset: -25px -30px auto auto;
  width: 150px; height: 150px; border-radius: 50%;
  background: rgba(167,101,44,.13); z-index: -1;
}
.hero-card img { display: block; border-radius: 20px; aspect-ratio: 1 / 1.414; object-fit: cover; object-position: top; }
.hero-badge {
  position: absolute; left: -20px; bottom: 34px;
  background: var(--green); color: white; border-radius: 15px;
  padding: 11px 15px; font-weight: 800; box-shadow: 0 12px 30px rgba(40,91,67,.25);
}

.section { padding: 78px 0; }
.section-soft { background: var(--cream); border-block: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 32px; }
.section-heading h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); margin: 0; letter-spacing: -.035em; }
.section-heading p { max-width: 560px; margin: 0; color: var(--muted); }

.browse-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.browse-card {
  padding: 27px; background: white; border: 1px solid var(--line);
  border-radius: 20px; min-height: 220px; transition: .2s ease;
}
.browse-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(42,29,16,.08); }
.browse-icon { font-size: 2rem; }
.browse-card h3 { font-size: 1.65rem; margin: 14px 0 8px; }
.browse-card p { color: var(--muted); margin: 0 0 18px; }
.text-link { color: var(--gold-dark); font-weight: 800; }

.toolbar {
  display: grid; grid-template-columns: 1fr auto; gap: 14px;
  margin-bottom: 25px;
}
.search {
  display: flex; align-items: center; gap: 10px;
  background: white; border: 1px solid var(--line); border-radius: 15px;
  padding: 0 16px;
}
.search input { width: 100%; min-height: 51px; border: 0; outline: 0; background: transparent; }
.toolbar select {
  min-height: 51px; border: 1px solid var(--line); border-radius: 15px;
  padding: 0 42px 0 15px; background: white;
}

.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.recipe-card {
  overflow: hidden; background: white; border: 1px solid var(--line);
  border-radius: var(--radius); transition: .2s ease;
}
.recipe-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(42,29,16,.10); }
.recipe-image-wrap { aspect-ratio: 4 / 3; overflow: hidden; background: #eee8de; }
.recipe-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s ease; }
.recipe-card:hover img { transform: scale(1.035); }
.recipe-body { padding: 21px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.tag { font-size: .72rem; font-weight: 800; color: var(--green); background: #edf5f0; border-radius: 999px; padding: 5px 9px; }
.recipe-card h3 { font-size: 1.65rem; margin: 0 0 8px; }
.recipe-card p { color: var(--muted); margin: 0 0 18px; }
.recipe-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .82rem; border-top: 1px solid var(--line); padding-top: 14px; }

.placeholder { opacity: .72; }
.placeholder .recipe-image-wrap {
  display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, #f6f0e7, #f6f0e7 16px, #efe6d9 16px, #efe6d9 32px);
}
.placeholder-symbol { font-size: 3rem; }

.az-row { display: flex; flex-wrap: wrap; gap: 8px; }
.az-row button {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: white; cursor: pointer;
  color: var(--muted); font-weight: 800;
}
.az-row button:hover, .az-row button.active { background: var(--ink); color: white; border-color: var(--ink); }

.callout {
  display: grid; grid-template-columns: 1.2fr auto; align-items: center; gap: 24px;
  background: var(--green); color: white; padding: 38px;
  border-radius: 26px;
}
.callout h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 10px; }
.callout p { margin: 0; color: rgba(255,255,255,.79); }
.callout .btn { background: white; color: var(--green); border-color: white; }

.site-footer { padding: 42px 0; border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: .9rem; }
.footer-grid strong { color: var(--ink); }

.recipe-page { padding: 60px 0 90px; }
.recipe-page-header { text-align: center; max-width: 800px; margin: 0 auto 34px; }
.recipe-page-header h1 { font-size: clamp(3rem, 7vw, 5.7rem); margin-bottom: 14px; }
.recipe-page-header p { color: var(--muted); font-size: 1.08rem; }
.infographic-shell { max-width: 1040px; margin: auto; background: white; padding: 14px; border-radius: 28px; box-shadow: var(--shadow); }
.infographic-shell img { display: block; width: 100%; border-radius: 18px; }
.recipe-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 28px 0; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 680px; margin-inline: auto; transform: none; }
  .browse-grid, .recipe-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { padding-top: 55px; }
  h1 { font-size: 3.45rem; }
  .browse-grid, .recipe-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 12px; }
  .toolbar { grid-template-columns: 1fr; }
  .callout { grid-template-columns: 1fr; padding: 28px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .hero-badge { left: 10px; bottom: 20px; }
}
