
:root {
  --cream: #faf6ef;
  --cream-dark: #f1e9da;
  --charcoal: #2b2620;
  --emerald: #1f4d3a;
  --emerald-dark: #163a2b;
  --gold: #c9a227;
  --terracotta: #c4623a;
  --line: #e4dbc8;
  --tier5: #4e7a5a;
  --tier10: #c9a227;
  --tier20: #a8442b;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(43,38,32,0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--emerald-dark);
  line-height: 1.2;
  margin-top: 0;
}

a { color: var(--emerald-dark); }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--emerald);
  border-bottom: 4px solid var(--gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff !important;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.site-header nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-header nav a {
  color: #f1e9da !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.site-header nav a:hover,
.site-header nav a.active {
  border-bottom-color: var(--gold);
  color: #fff !important;
}

/* Hero (home) */
.hero {
  background: linear-gradient(180deg, var(--emerald) 0%, var(--emerald-dark) 100%);
  color: #f6f1e4;
  padding: 72px 0 64px;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 10px;
}

.hero h1 {
  color: #fff;
  font-size: 3.2rem;
  margin: 0 0 14px;
}

.hero .lede {
  font-size: 1.35rem;
  color: #f6f1e4;
  max-width: 640px;
  margin: 0 auto 12px;
  font-style: italic;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 30px;
  color: #d9d0ba;
  font-size: 1rem;
}

.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.98rem;
  transition: transform 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold);
  color: var(--emerald-dark) !important;
}

.btn-ghost {
  background: transparent;
  border: 2px solid #f6f1e4;
  color: #f6f1e4 !important;
}

/* Tier cards on home */
.tier-cards-section { padding: 64px 0 20px; text-align: center; }
.tier-cards-section h2 { font-size: 2rem; margin-bottom: 32px; }

.tier-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.tier-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 20px;
  text-decoration: none;
  border-top: 6px solid var(--emerald);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tier-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(43,38,32,0.14); }

.tier-card.tier-5 { border-top-color: var(--tier5); }
.tier-card.tier-10 { border-top-color: var(--tier10); }
.tier-card.tier-20 { border-top-color: var(--tier20); }

.tier-card-price {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--emerald-dark);
}

.tier-card-label {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  color: var(--charcoal);
  font-weight: 600;
}

.tier-card-blurb {
  color: #6b6152;
  font-size: 0.92rem;
  margin: 10px 0 14px;
  text-align: center;
}

.tier-card-cta {
  font-weight: 600;
  color: var(--terracotta) !important;
  font-size: 0.9rem;
}

/* Promise section */
.promise { padding: 60px 0 80px; text-align: center; }
.promise h2 { font-size: 2rem; margin-bottom: 30px; }
.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  text-align: left;
}
.promise-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.promise-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.promise-item p { color: #5a5245; font-size: 0.95rem; margin: 0; }

/* Tier landing hero */
.tier-hero {
  padding: 56px 0 40px;
  color: #fff;
  text-align: center;
}
.tier-hero h1 { color: #fff; font-size: 2.6rem; margin-bottom: 12px; }
.tier-hero .lede { max-width: 640px; margin: 0 auto 20px; color: #f1ecdd; font-size: 1.08rem; }
.tier-hero .eyebrow { color: #f1ecdd; opacity: 0.85; }

.tier-5-bg { background: linear-gradient(135deg, var(--tier5), #345643); }
.tier-10-bg { background: linear-gradient(135deg, #a6821f, var(--tier10)); }
.tier-20-bg { background: linear-gradient(135deg, #7c2f19, var(--tier20)); }
.about-bg { background: linear-gradient(135deg, var(--emerald), var(--emerald-dark)); }

.tier-switch { font-size: 0.95rem; color: #f6f1e4; }
.tier-pill {
  display: inline-block;
  margin: 0 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
}
.tier-pill:hover { background: rgba(255,255,255,0.3); }

/* TOC */
.toc-section { padding: 44px 0 10px; }
.toc-section h2 { font-size: 1.3rem; margin-bottom: 14px; }
.toc-list {
  columns: 2;
  gap: 30px;
  padding-left: 20px;
  color: #4c4638;
}
.toc-list li { margin-bottom: 8px; break-inside: avoid; }
.toc-list a { text-decoration: none; font-weight: 500; }
.toc-list a:hover { text-decoration: underline; }
.toc-price { color: #8a8070; font-size: 0.85rem; }

/* Recipe list */
.recipe-list { padding: 30px 0 70px; display: flex; flex-direction: column; gap: 40px; }

.recipe {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 30px 34px;
  scroll-margin-top: 20px;
  border: 1px solid var(--line);
}

.recipe-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 14px;
}

.recipe-head h3 { font-size: 1.5rem; margin-bottom: 4px; }
.recipe-tagline { color: #8a8070; font-style: italic; margin: 0; font-size: 0.95rem; }

.price-badge {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 8px 16px;
  border-radius: 999px;
  color: #fff;
  white-space: nowrap;
}
.price-badge.tier-5 { background: var(--tier5); }
.price-badge.tier-10 { background: var(--tier10); color: var(--charcoal); }
.price-badge.tier-20 { background: var(--tier20); }

.recipe-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: #5a5245;
  margin-bottom: 20px;
}

.recipe-body {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
}

.ingredients h4, .instructions h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.ingredients table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.ingredients td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.ingredients td.cost { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 10px; }
.ingredients tfoot td { border-bottom: none; border-top: 2px solid var(--charcoal); font-weight: 700; padding-top: 10px; }

.instructions ol { padding-left: 20px; margin: 0 0 16px; }
.instructions li { margin-bottom: 8px; }

.tip {
  background: var(--cream-dark);
  border-left: 4px solid var(--gold);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.93rem;
  margin: 0;
}

/* About page */
.about-body { padding: 46px 0 70px; max-width: 760px; }
.about-body h2 { margin-top: 34px; font-size: 1.5rem; }
.about-body .lede { font-size: 1.15rem; color: #4c4638; }
.about-list { padding-left: 20px; }
.about-list li { margin-bottom: 8px; }
.closing { font-style: italic; color: #6b6152; margin-top: 30px; }

/* Ad slots */
.ad-slot {
  position: relative;
  margin: 34px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: #fbf8f1;
  color: #b3a98f;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ad-slot.ad-banner { max-width: 728px; min-height: 90px; }
.ad-slot.ad-rectangle { max-width: 336px; min-height: 280px; }
.ad-label {
  position: absolute;
  top: 8px;
  left: 14px;
  font-size: 0.62rem;
  color: #c9bfa4;
}
.ad-placeholder-text { font-size: 0.7rem; }

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: #cfc7b6;
  padding: 40px 0;
  margin-top: 20px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.3rem;
  margin: 0 0 4px;
}
.footer-tag { margin: 0; color: var(--gold); font-style: italic; }
.footer-note { max-width: 460px; font-size: 0.85rem; color: #a49b89; }
.footer-note p { margin: 0 0 8px; }

/* Nav dropdowns */
.nav-dropdown { position: relative; list-style: none; }
.nav-dropdown details { display: inline-block; }
.nav-dropdown summary {
  cursor: pointer;
  color: #f1e9da;
  font-weight: 500;
  font-size: 0.95rem;
  list-style: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: " BE"; font-size: 0.7rem; }
.nav-dropdown summary.active { border-bottom-color: var(--gold); color: #fff; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  list-style: none;
  margin: 6px 0 0;
  padding: 8px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(43,38,32,0.2);
  min-width: 180px;
}
.nav-dropdown-menu li { margin: 0; }
.nav-dropdown-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--charcoal) !important;
  text-decoration: none;
  font-size: 0.92rem;
  border-bottom: none !important;
}
.nav-dropdown-menu a:hover { background: var(--cream-dark); }

/* Cuisine icons + badges */
.cuisine-icon { width: 28px; height: 28px; color: currentColor; vertical-align: middle; }
.tier-hero h1 .cuisine-icon { width: 36px; height: 36px; color: var(--gold); margin-right: 6px; }
.cuisine-hero-bg { background: linear-gradient(135deg, var(--terracotta), #7c2f19); }
.cuisine-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--cream-dark);
  color: var(--emerald-dark);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Tag chips */
.tag-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(196,98,58,0.12);
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Swap-it + pairs-well-with */
.swap-tip { border-left-color: var(--terracotta); margin-top: 10px; }
.pairs-with { font-size: 0.9rem; color: #5a5245; margin: 10px 0 0; }
.pairs-with a { font-weight: 600; }

/* TOC grouped by tier (cuisine pages) */
.toc-tier-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.toc-tier-group h3 { font-size: 1rem; color: var(--terracotta); margin-bottom: 8px; }
.toc-tier-group .toc-list { columns: 1; padding-left: 18px; }

/* Cuisine cross-link cards (used on tier pages + homepage) */
.cuisine-cross-section { padding: 10px 0 60px; }
.cuisine-cross-section h2 { font-size: 1.4rem; margin-bottom: 4px; }
.lede-small { color: #8a8070; margin: 0 0 20px; font-size: 0.95rem; }
.cuisine-cards-section { padding: 20px 0 60px; text-align: center; }
.cuisine-cards-section h2 { font-size: 1.8rem; margin-bottom: 28px; }
.cuisine-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}
.cuisine-mini-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--charcoal) !important;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cuisine-mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cuisine-mini-card .cuisine-icon { width: 34px; height: 34px; color: var(--terracotta); }
.cuisine-mini-name { font-weight: 700; font-family: 'Playfair Display', serif; font-size: 1.05rem; }
.cuisine-mini-count { font-size: 0.82rem; color: #8a8070; }

/* Featured recipe of the day (homepage) */
.featured-section { padding: 0 0 20px; }
.featured-card {
  background: linear-gradient(135deg, #fff, var(--cream-dark));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px;
  text-align: center;
}
.featured-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 8px;
}
.featured-card h2 { margin: 0 0 6px; font-size: 1.6rem; }
.featured-card h2 a { text-decoration: none; }
.featured-card p { color: #5a5245; margin: 0 0 14px; }
.featured-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-size: 0.9rem;
  color: #5a5245;
}

/* All-recipes filter hub */
.filter-section { padding: 30px 0 10px; }
.filter-group { margin-bottom: 16px; }
.filter-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #8a8070;
  margin-bottom: 8px;
}
.filter-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--charcoal);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.filter-btn:hover { border-color: var(--terracotta); }
.filter-btn.active { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.filter-status {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: #5a5245;
}
.clear-filters-btn {
  border: none;
  background: none;
  color: var(--terracotta);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.88rem;
  padding: 0;
  text-decoration: underline;
}
.no-results { padding: 40px 0 60px; text-align: center; color: #8a8070; }

/* Recipe preview cards (all-recipes hub) */
.recipe-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  padding: 30px 0 70px;
}
.recipe-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: var(--charcoal) !important;
  box-shadow: var(--shadow);
  transition: transform 0.15s;
}
.recipe-card:hover { transform: translateY(-3px); }
.recipe-card-top { display: flex; justify-content: space-between; align-items: center; }
.recipe-card h3 { font-size: 1.1rem; margin: 0; }
.recipe-card p { font-size: 0.88rem; color: #5a5245; margin: 0; flex-grow: 1; }
.recipe-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }

@media (max-width: 720px) {
  .recipe-body { grid-template-columns: 1fr; }
  .toc-list { columns: 1; }
  .hero h1 { font-size: 2.3rem; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .nav-dropdown-menu { position: static; box-shadow: none; background: rgba(255,255,255,0.06); }
  .nav-dropdown-menu a { color: #f1e9da !important; }
  .nav-dropdown-menu a:hover { background: rgba(255,255,255,0.1); }
  .recipe-card-grid { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .site-footer, .ad-slot, .filter-section, .tier-switch, .cuisine-cross-section,
  .cuisine-cards-section, .featured-section { display: none !important; }
  .recipe { box-shadow: none; border: none; page-break-inside: avoid; }
  body { background: #fff; }
}
