/* =========================================================================
   Budget Plates - Design System
   Warm, premium, editorial recipe site. Signature element: the Plate Badge.
   ========================================================================= */

/* ----- Tokens ----------------------------------------------------------- */
:root {
  /* Brand palette */
  --cream:      #FFF8EA;
  --cream-2:    #FBEFD7;   /* soft alt section */
  --cream-3:    #F7E9CC;   /* deeper warm wash */
  --card:       #FFFFFF;
  --ink:        #26221C;
  --ink-soft:   #5b5346;   /* muted body text */
  --ink-faint:  #6f6656;   /* meta text - darkened to meet WCAG AA 4.5:1 on cream */
  /* One global brand green (#06C167) everywhere; -deep and -dark are
     darkened shades of it for hover, pressed, and shadow depth. */
  --green-badge:#06C167;
  --green:      #06C167;
  --green-deep: #05A257;
  --green-dark: #048346;
  --tomato:     #D94F30;
  --tomato-deep:#b83c22;
  --butter:     #F4C542;
  --butter-deep:#e0ad2a;
  --border:     #E8DCC8;
  --border-ink: rgba(38,34,28,0.12);

  /* Type - GT Walsheim direction per the Framer design MD; Mona Sans is
     the licensed substitute for display, Inter for body/UI. */
  --display: "Mona Sans", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --wrap: 1240px;
  --gut: clamp(1.15rem, 4vw, 2rem);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;

  /* Dark surface palette - Framer design system (canvas → surface lift) */
  --charcoal:      #141414;  /* Surface 1 - newsletter cards, dark promo bands */
  --charcoal-deep: #090909;  /* Canvas - top bar, footer */
  --charcoal-surf: #1A1A1A;  /* Surface 2 - raised elements inside dark cards */
  --charcoal-text: #FFFFFF;
  --charcoal-mute: #999999;
  --charcoal-line: #262626;  /* Hairline */

  --shadow-sm: 0 2px 8px rgba(38,34,28,0.06);
  --shadow-md: 0 10px 30px -12px rgba(38,34,28,0.22);
  --shadow-lg: 0 26px 60px -22px rgba(38,34,28,0.30);
  --ring: 0 0 0 3px rgba(6,193,103,0.35);
}

/* ----- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  letter-spacing: -0.011em;
  font-feature-settings: "cv01", "cv05", "cv09", "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 650; line-height: 1.04; letter-spacing: -0.03em; }

/* Prices and figures always align: tabular numerals wherever money or
   stats render (per the Framer MD's tnum principle). */
.plate__amt, .tier__range, .hero-meta-card .val, .recipe-hero__plate .txt .v,
.recipe-stats .cell .v, .cost-table td, .cost-table th, .price-lg,
.recipe-card__meta, .trust-item b { font-variant-numeric: tabular-nums; }
ul { list-style: none; padding: 0; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }

/* ----- Layout helpers --------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(2rem, 4vw, 3.1rem); }
.section--tight { padding-block: clamp(1.5rem, 3vw, 2.2rem); }
.section--flush { padding-top: 0; }
.bg-cream2 { background: var(--cream-2); border-block: 1px solid var(--border); }
.bg-ink { background: var(--charcoal); color: var(--charcoal-text); }
.hide-mobile { display: none !important; }

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tomato);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px; background: var(--tomato); border-radius: 2px;
}
.eyebrow--center::before { display: none; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.1rem, 2vw, 1.6rem);
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.section-head p { color: var(--ink-soft); max-width: 46ch; margin-top: 0.5rem; }
.section-head .link-more { white-space: nowrap; }

.link-more {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 2px solid transparent;
  transition: gap 0.2s ease, border-color 0.2s ease;
}
.link-more:hover { gap: 0.7rem; border-color: var(--green); }
.link-more svg { width: 16px; height: 16px; }

/* ----- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  line-height: 1;
  min-height: 44px;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--tomato); color: #fff; box-shadow: 0 4px 0 var(--tomato-deep); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--tomato-deep); }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--tomato-deep); }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 4px 0 var(--green-deep); }
.btn--green:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--green-deep); }
.btn--green:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--green-deep); }
.btn--ghost { background: var(--card); color: var(--ink); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* =========================================================================
   THE PRICE BADGE - signature element
   A clean circular price stamp in the reserved badge green (#06C167).
   The bright green appears nowhere else, so the badge reads as the
   site's money signal at a glance.
   ========================================================================= */
.plate {
  --size: 88px;
  position: relative;
  width: var(--size);
  height: var(--size);
  flex: 0 0 auto;
  border-radius: 50%;
  /* Subtle top-left highlight over the brand green; fades out well before
     center so it reads as light on enamel, not a gradient. */
  background:
    radial-gradient(130% 130% at 30% 20%, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0) 46%),
    var(--green-badge);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px solid var(--green-deep); /* darker green edge */
  box-shadow:
    inset 0 0 0 1.5px rgba(255,248,234,0.9), /* thin cream inner ring */
    0 2px 3px rgba(4,110,60,0.22),
    0 8px 20px -8px rgba(4,110,60,0.55);     /* soft lift */
}
.plate__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(var(--size) * 0.055);
  line-height: 1;
  width: 100%;
}
.plate__amt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 600; /* lighter than the old 700 so the enlarged decimal stands out */
  font-size: calc(var(--size) * 0.30);
  letter-spacing: -0.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plate__amt .cur {
  font-size: 0.62em;
  line-height: 1;
  margin-right: 0.05em;
  opacity: 0.95;
}
/* Decimal point prominence: an ordinary period between heavy display digits visually
   disappears at small badge sizes (1.17 can read as 117). Make the decimal a large,
   spaced, vertically-centered dot so it reads unmistakably as a separator, without
   changing badge size, colors, or the amount shown. */
.plate__amt .dec {
  font-size: 1.42em;
  font-weight: 800;
  margin: 0 0.07em;
  letter-spacing: 0;
  line-height: 0;
  /* Nudge the low period up just enough to sit optically between the digits as a
     clear decimal, without floating to mid-height like a bullet. */
  transform: translateY(-0.06em);
}
.plate__per {
  display: block;
  font-family: var(--body);
  font-weight: 600;
  font-size: max(calc(var(--size) * 0.095), 8px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
}
.plate--sm { --size: 72px; }
.plate--lg { --size: 132px; }
.plate--xl { --size: clamp(120px, 20vw, 176px); }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,248,234,0.88);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; margin-right: auto; }
.brand__mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; }
.brand__name .b { color: var(--tomato); }

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: 0.4rem; }
.nav a {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: 999px;
  color: var(--ink);
  transition: background 0.16s ease, color 0.16s ease;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--cream-3); }
.nav a[aria-current="page"] { color: var(--green); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 999px;
  color: var(--ink);
  transition: background 0.16s ease;
}
.icon-btn:hover { background: var(--cream-3); }
.icon-btn svg { width: 22px; height: 22px; }

.nav-toggle { display: grid; }
@media (min-width: 960px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .hide-mobile { display: inline-flex !important; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(84vw, 360px);
  background: var(--cream);
  z-index: 100;
  transform: translateX(100%);
  /* Hidden when closed: keeps the off-canvas panel out of the scrollable
     area (no sideways scroll) and out of the tab order. Hide is delayed
     until the slide-out finishes so the animation still plays. */
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.32s;
  box-shadow: var(--shadow-lg);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1); }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.mobile-menu nav ul { display: flex; flex-direction: column; gap: 0.2rem; }
.mobile-menu nav a {
  display: block;
  padding: 0.9rem 0.6rem;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-menu nav a:hover { color: var(--tomato); }
.scrim {
  position: fixed; inset: 0; background: rgba(28,25,20,0.4);
  z-index: 90; opacity: 0; visibility: hidden; transition: opacity 0.3s ease;
}
.scrim.open { opacity: 1; visibility: visible; }
body.no-scroll { overflow: hidden; }

/* =========================================================================
   SEARCH
   ========================================================================= */
.search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.5rem 0.4rem 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.search:focus-within { border-color: var(--green); box-shadow: var(--ring); }
.search svg { width: 20px; height: 20px; color: var(--ink-faint); flex: 0 0 auto; }
.search input { flex: 1; border: none; background: none; outline: none; min-width: 0; font-size: 1rem; }
.search input::placeholder { color: var(--ink-faint); }
.search button { flex: 0 0 auto; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { padding-top: clamp(1.5rem, 4vw, 2.75rem); }
.hero-grid { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
.hero-copy { align-self: center; }
.hero-copy h1 {
  font-size: clamp(2.5rem, 8vw, 4.3rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0.9rem 0 0;
}
.hero-copy h1 em { font-style: italic; color: var(--tomato); font-weight: 500; }
.hero-copy .lede { font-size: clamp(1.05rem, 2vw, 1.24rem); color: var(--ink-soft); margin-top: 1.1rem; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.hero-trust { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.6rem; color: var(--ink-soft); font-size: 0.92rem; }
.hero-trust strong { color: var(--ink); }

.hero-figure { position: relative; }
.hero-figure .frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-ink);
  aspect-ratio: 4 / 3.4;
  background: var(--cream-3);
}
.hero-figure .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure .plate {
  position: absolute;
  left: -14px;
  bottom: -14px;
  z-index: 3;
}
.hero-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 3;
  background: var(--card);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tomato); }
.hero-meta-card {
  position: absolute;
  right: -12px;
  top: 18%;
  z-index: 3;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0.95rem;
  display: none;
}
.hero-meta-card .label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-faint); font-weight: 700; }
.hero-meta-card .val { font-family: var(--display); font-size: 1.15rem; font-weight: 600; }

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.02fr 1.1fr; align-items: stretch; }
  .hero-meta-card { display: block; }
  .hero-figure .frame { aspect-ratio: 4 / 3.7; height: 100%; }
}

/* =========================================================================
   RECIPE CARDS
   ========================================================================= */
.card-grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.6rem); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.recipe-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(38,34,28,0.05), 0 4px 14px -6px rgba(38,34,28,0.08);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s cubic-bezier(0.22,1,0.36,1), border-color 0.3s ease;
}
.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(38,34,28,0.06), 0 18px 38px -14px rgba(38,34,28,0.22);
  border-color: #ddcfb4;
}
.recipe-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--cream-3);
  overflow: hidden;
}
.recipe-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s cubic-bezier(0.22,1,0.36,1); }
.recipe-card:hover .recipe-card__media img { transform: scale(1.04); }
.recipe-card__media::after { /* contrast scrim so badge + tag always pop */
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(28,24,18,0.52) 0%, rgba(28,24,18,0.12) 34%, transparent 60%);
}
.recipe-card__cat {
  position: absolute;
  z-index: 2;
  top: 0.65rem; left: 0.65rem;
  background: rgba(255,255,255,0.97);
  color: var(--green-deep);
  font-weight: 800;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(38,34,28,0.06);
  box-shadow: 0 2px 6px rgba(38,34,28,0.12);
}
.recipe-card__plate { /* the signature - fully inside the image, never clipped */
  position: absolute;
  z-index: 2;
  right: 0.7rem;   /* default: bottom-right, over the image's negative space */
  bottom: 0.7rem;
}
/* Per-image badge position overrides (recipe JSON badge_position). Rules:
   bottom-right default; top-right only when bottom-right covers food;
   bottom-left only when the right side is busy. Top-left collides with the
   category tag on cards, so reserve it for the hero. */
.recipe-card__plate.plate--pos-bottom-left { right: auto; left: 0.7rem; }
.recipe-card__plate.plate--pos-top-right { bottom: auto; top: 0.7rem; }
.recipe-card__plate.plate--pos-top-left { right: auto; bottom: auto; left: 0.7rem; top: 0.7rem; }
.recipe-card__body { padding: 1.15rem 1.15rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.recipe-card__title {
  font-size: 1.24rem;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.015em;
  transition: color 0.2s ease;
}
.recipe-card:hover .recipe-card__title { color: var(--green-deep); }
.recipe-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 0.7rem;
  color: var(--ink-faint);
  font-size: 0.86rem;
  font-weight: 500;
}
.recipe-card__meta span { display: inline-flex; align-items: center; gap: 0.32rem; }
.recipe-card__meta svg { width: 15px; height: 15px; }
.recipe-card__foot {
  margin-top: auto;
  padding-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.recipe-card__total { font-size: 0.84rem; color: var(--ink-soft); }
.recipe-card__total b { color: var(--ink); font-weight: 700; }
.recipe-card__stretch { position: absolute; inset: 0; z-index: 1; }

/* horizontal wide card (hero side column, list contexts) */
.recipe-card--wide { flex-direction: row; }
/* Small wide-card image clips the badge's soft lift-shadow at the photo/body seam,
   making the badge look cut. Let it overflow the media (still inside the rounded card)
   so the whole badge and its shadow read cleanly. */
.recipe-card--wide .recipe-card__media { aspect-ratio: auto; flex: 0 0 42%; min-height: 150px; overflow: visible; }
.recipe-card--wide .recipe-card__plate { bottom: 0.8rem; right: 0.8rem; }
.recipe-card--wide .recipe-card__plate.plate--pos-bottom-left { right: auto; left: 0.8rem; }
/* Larger than the old 58px so the price reads clearly on the compact side-card image,
   still comfortably inside the media box (see media overflow note above). */
.recipe-card--wide .plate { --size: 68px; border-width: 2.5px; }
.recipe-card--wide .recipe-card__body { padding: 0.85rem 1rem 0.85rem; }
.recipe-card--wide .recipe-card__title { font-size: 1.08rem; }
.recipe-card--wide .recipe-card__meta { margin-top: 0.45rem; font-size: 0.82rem; }
.recipe-card--wide .recipe-card__foot { padding-top: 0.6rem; }
.recipe-card--wide .recipe-card__cat { top: 0.55rem; left: 0.55rem; font-size: 0.62rem; padding: 0.26rem 0.55rem; }

/* =========================================================================
   CATEGORY CHIPS
   ========================================================================= */
.chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
@media (min-width: 620px) { .chips { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .chips { grid-template-columns: repeat(6, 1fr); } }
.chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.2rem 0.6rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.chip:hover { transform: translateY(-4px); border-color: var(--green); }
.chip__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream-2);
}
.chip__icon svg { width: 30px; height: 30px; }
.chip small { display: block; font-weight: 500; color: var(--ink-faint); font-size: 0.78rem; }

/* =========================================================================
   BUDGET TIERS
   ========================================================================= */
.tiers { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 560px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiers { grid-template-columns: repeat(4, 1fr); } }
.tier {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tier:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tier::after {
  content: "";
  position: absolute; inset: auto -30px -30px auto;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--cream-2); z-index: 0;
}
.tier > * { position: relative; z-index: 1; }
.tier__range { font-family: var(--display); font-size: 1.9rem; font-weight: 600; letter-spacing: -0.02em; }
.tier__range .cur { color: var(--green); }
.tier h3 { font-family: var(--body); font-size: 1rem; font-weight: 700; }
.tier p { font-size: 0.9rem; color: var(--ink-soft); }
.tier .link-more { margin-top: auto; }

/* =========================================================================
   GUIDES
   ========================================================================= */
.guides { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 720px) { .guides { grid-template-columns: repeat(3, 1fr); } }
.guide {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  padding: 1.4rem;
  border: 1px solid var(--border-ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.guide:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.guide__bg { position: absolute; inset: 0; z-index: 0; }
.guide__bg img { width: 100%; height: 100%; object-fit: cover; }
.guide::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(28,25,20,0.86) 0%, rgba(28,25,20,0.25) 55%, rgba(28,25,20,0.05) 100%);
}
.guide__body { position: relative; z-index: 2; }
.guide__kicker { font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--butter); }
.guide h3 { font-size: 1.35rem; margin-top: 0.4rem; color: #fff; }
.guide p { font-size: 0.9rem; opacity: 0.9; margin-top: 0.35rem; }

/* =========================================================================
   NEWSLETTER
   ========================================================================= */
.newsletter {
  position: relative;
  background: var(--charcoal);
  color: var(--charcoal-text);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.4rem);
  overflow: hidden;
  border: 1px solid var(--charcoal-line);
}
.newsletter::before {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  border: 2px solid rgba(247,241,230,0.10);
}
.newsletter::after {
  content: ""; position: absolute; right: -10px; bottom: -90px;
  width: 200px; height: 200px; border-radius: 50%;
  border: 2px solid rgba(247,241,230,0.07);
}
.newsletter__grid { position: relative; z-index: 1; display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 820px) { .newsletter__grid { grid-template-columns: 1.1fr 1fr; } }
.newsletter h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--charcoal-text); }
.newsletter p { color: var(--charcoal-mute); margin-top: 0.7rem; max-width: 44ch; }
.newsletter form { display: flex; flex-direction: column; gap: 0.7rem; }
@media (min-width: 480px) { .newsletter form { flex-direction: row; } }
.newsletter input[type=email] {
  flex: 1;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  border: 2px solid var(--charcoal-line);
  background: rgba(255,255,255,0.97);
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.newsletter input[type=email]:focus { border-color: var(--green); }
.newsletter .fineprint { font-size: 0.8rem; color: var(--charcoal-mute); margin-top: 0.8rem; }

/* Compact newsletter - sits right after the hero */
.newsletter--compact {
  padding: clamp(1.35rem, 3vw, 1.9rem) clamp(1.3rem, 3.5vw, 2.2rem);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--butter); /* same accent language as the section rules */
  box-shadow: var(--shadow-md);
}
.newsletter--compact::before, .newsletter--compact::after { display: none; }
.newsletter--compact .newsletter__grid { gap: 1rem 2rem; align-items: center; }
@media (min-width: 820px) { .newsletter--compact .newsletter__grid { grid-template-columns: 1.25fr 1fr; } }
.newsletter--compact h2 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); letter-spacing: -0.02em; }
.newsletter--compact p { font-size: 0.93rem; margin-top: 0.35rem; max-width: 52ch; }
.newsletter--compact form {
  background: var(--charcoal-surf);
  border: 1px solid var(--charcoal-line);
  border-radius: 999px;
  padding: 0.35rem;
  gap: 0.35rem;
}
@media (max-width: 479px) { .newsletter--compact form { border-radius: var(--radius); } }
.newsletter--compact input[type=email] { padding: 0.72rem 1.1rem; border: 2px solid transparent; }
.newsletter--compact input[type=email]:focus { border-color: var(--green); }
.newsletter--compact .btn { box-shadow: none; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--charcoal-deep); /* canvas */
  color: var(--charcoal-text);
  padding-block: clamp(3rem, 6vw, 4.4rem) 2rem;
  margin-top: clamp(3rem,6vw,5rem);
  border-top: 3px solid var(--butter); /* echoes the section rule - the site's structural accent */
}
.footer-top { display: grid; gap: 2.4rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2rem 2.5rem; } }
.footer-brand .brand__logo { height: 52px; }
.footer-brand .brand__name { color: var(--charcoal-text); font-size: 1.55rem; }
.footer-brand p { color: var(--charcoal-mute); font-size: 0.95rem; line-height: 1.65; margin-top: 1.1rem; max-width: 36ch; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--charcoal-surf); border: 1px solid var(--charcoal-line); color: var(--charcoal-text);
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.footer-social a:hover { background: var(--green); border-color: var(--green); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 {
  font-family: var(--body); font-size: 0.74rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--butter);
  margin-bottom: 1.15rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--charcoal-line);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a {
  color: var(--charcoal-mute); font-size: 0.95rem;
  transition: color 0.14s ease, padding-left 0.14s ease;
}
.footer-col a:hover { color: var(--charcoal-text); padding-left: 0.3rem; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem;
  border-top: 1px solid var(--charcoal-line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  color: var(--charcoal-mute); font-size: 0.85rem;
}
.footer-bottom a { color: var(--charcoal-mute); }
.footer-bottom a:hover { color: var(--charcoal-text); }

/* =========================================================================
   PAGE HEADER (interior pages)
   ========================================================================= */
.page-head { padding-block: clamp(2.2rem, 5vw, 3.4rem) clamp(1.5rem, 3vw, 2rem); }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 700; letter-spacing: -0.04em; }
.page-head .lede { color: var(--ink-soft); font-size: 1.1rem; max-width: 60ch; margin-top: 0.9rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 0.86rem; color: var(--ink-faint); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--tomato); }
.breadcrumb .sep { opacity: 0.5; }

/* Filter bar */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.filter-chip {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--card);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.16s ease;
  white-space: nowrap;
}
.filter-chip:hover { border-color: var(--ink); }
.filter-chip.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* =========================================================================
   RECIPE PAGE
   ========================================================================= */
.recipe-hero-grid { display: grid; gap: clamp(1.5rem, 4vw, 2.4rem); }
@media (min-width: 900px) { .recipe-hero-grid { grid-template-columns: 1.15fr 1fr; align-items: center; } }
.recipe-hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-ink);
  background: var(--cream-3);
}
.recipe-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.recipe-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.04em; margin-top: 0.7rem; }
.recipe-hero .lede { color: var(--ink-soft); margin-top: 1rem; font-size: 1.08rem; }
.recipe-hero__plate { display: flex; align-items: center; gap: 1.1rem; margin-top: 1.5rem; }
.recipe-hero__plate .txt .k { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--ink-faint); font-weight: 700; }
.recipe-hero__plate .txt .v { font-family: var(--display); font-size: 1.5rem; font-weight: 600; }
.recipe-hero__plate .txt .v small { font-size: 0.85rem; color: var(--ink-soft); font-family: var(--body); font-weight: 500; }

.recipe-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1.6rem;
}
@media (min-width: 560px) { .recipe-stats { grid-template-columns: repeat(4, 1fr); } }
.recipe-stats .cell { background: var(--card); padding: 0.95rem 1rem; text-align: center; }
.recipe-stats .cell .k { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 0.3rem; }
.recipe-stats .cell .k svg { width: 14px; height: 14px; }
.recipe-stats .cell .v { font-family: var(--display); font-size: 1.35rem; font-weight: 600; margin-top: 0.2rem; }

.recipe-body { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 940px) { .recipe-body { grid-template-columns: 1fr 1.6fr; align-items: start; } }

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 3vw, 1.8rem);
}
.panel + .panel { margin-top: 1.5rem; }
.panel h2, .content-block h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 0.6rem; }
.panel h2 .num, .content-block h2 .num {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
  font-size: 0.9rem; font-family: var(--body); font-weight: 700;
  flex: 0 0 auto;
}

.ingredients { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.2rem; }
.ingredients li {
  display: flex; gap: 0.8rem; align-items: baseline;
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid var(--border);
}
.ingredients li:last-child { border-bottom: none; }
.ingredients .amt { font-weight: 700; color: var(--green-deep); min-width: 74px; flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.ingredients .cost { margin-left: auto; color: var(--ink-faint); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.ingredients-note { margin-top: 1rem; font-size: 0.85rem; color: var(--ink-faint); }

.steps { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 1.4rem; counter-reset: step; }
.step { display: flex; gap: 1rem; }
.step__num {
  flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--cream-2); color: var(--green-deep);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 1.2rem;
  border: 1.5px solid var(--border);
}
.step__text { padding-top: 0.35rem; }
.step__text h4 { font-family: var(--body); font-weight: 700; font-size: 1rem; margin-bottom: 0.2rem; }
.step__text p { color: var(--ink-soft); }

/* cost breakdown */
.cost-table { width: 100%; border-collapse: collapse; margin-top: 1.2rem; font-variant-numeric: tabular-nums; }
.cost-table th { text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); padding: 0.5rem 0; border-bottom: 2px solid var(--border); }
.cost-table th:last-child, .cost-table td:last-child { text-align: right; }
.cost-table td { padding: 0.65rem 0; border-bottom: 1px solid var(--border); }
.cost-table tr:last-child td { border-bottom: none; }
.cost-table tfoot td { font-weight: 700; border-bottom: none; border-top: 2px solid var(--ink); padding-top: 0.8rem; }
.cost-table tfoot .grand { color: var(--green-deep); font-family: var(--display); font-size: 1.15rem; }

/* callout tips */
.callout {
  display: flex;
  gap: 0.9rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--cream-2);
  border: 1px solid var(--border);
  margin-top: 1rem;
}
.callout__icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--butter); display: grid; place-items: center; }
.callout__icon svg { width: 22px; height: 22px; color: var(--ink); }
.callout--tomato { background: #fbe6df; }
.callout--tomato .callout__icon { background: var(--tomato); }
.callout--tomato .callout__icon svg { color: #fff; }
.callout h4 { font-family: var(--body); font-weight: 700; margin-bottom: 0.2rem; }
.callout p { font-size: 0.94rem; color: var(--ink-soft); }
.tip-list { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.2rem; }
.tip-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.tip-list li svg { width: 20px; height: 20px; color: var(--green); flex: 0 0 auto; margin-top: 0.15rem; }

.sticky-side { position: sticky; top: 90px; }

/* FAQ accordion (recipe pages) */
.faq {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 0;
  margin-bottom: 0.7rem;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--green);
  line-height: 1;
  flex: 0 0 auto;
}
.faq[open] summary::after { content: "\2212"; }
.faq[open] summary { border-bottom: 1px solid var(--border); }
.faq p { padding: 0.9rem 1.2rem 1.1rem; color: var(--ink-soft); }

/* cost table footer rows */
.cost-table tfoot td { font-weight: 600; }
.cost-table .grand-row td { font-weight: 700; }

/* =========================================================================
   ABOUT / CONTACT / LEGAL
   ========================================================================= */
.prose { max-width: 68ch; }
.prose p { margin-top: 1rem; color: var(--ink-soft); }
.prose h2 { font-size: 1.7rem; margin-top: 2.4rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6rem; font-family: var(--body); font-weight: 700; }
.prose ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.prose ul li { display: flex; gap: 0.6rem; color: var(--ink-soft); }
.prose ul li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tomato); margin-top: 0.6rem; flex: 0 0 auto; }
.prose a { color: var(--green-deep); font-weight: 600; border-bottom: 1.5px solid var(--border); }
.prose a:hover { border-color: var(--green); }
.prose strong { color: var(--ink); }

.about-hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .about-hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.about-figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; border: 1px solid var(--border-ink); }
.about-figure img { width: 100%; height: 100%; object-fit: cover; }

.value-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .value-grid { grid-template-columns: repeat(3, 1fr); } }
.value {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.6rem;
}
.value__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--cream-2); display: grid; place-items: center; margin-bottom: 1rem; }
.value__icon svg { width: 28px; height: 28px; color: var(--green); }
.value h3 { font-family: var(--body); font-weight: 700; font-size: 1.15rem; }
.value p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.4rem; }

.team-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.member { text-align: center; }
.member__photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 0 auto 0.9rem; max-width: 150px; border: 3px solid var(--card); box-shadow: var(--shadow-md); background: var(--cream-3); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; }
.member p { color: var(--tomato); font-size: 0.85rem; font-weight: 600; }

/* Contact */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.4rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--card);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--green); box-shadow: var(--ring); }
.form-field textarea { min-height: 140px; resize: vertical; }
.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-info .row { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info .row .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--cream-2); display: grid; place-items: center; flex: 0 0 auto; }
.contact-info .row .ic svg { width: 22px; height: 22px; color: var(--green); }
.contact-info .row h4 { font-family: var(--body); font-weight: 700; }
.contact-info .row p { color: var(--ink-soft); font-size: 0.94rem; }

/* Featured band (about the price) */
.band-price {
  background: var(--charcoal);
  color: var(--charcoal-text);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.4rem);
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 820px) { .band-price { grid-template-columns: auto 1fr; } }
.band-price h2 { color: #fff; font-size: clamp(1.7rem,3.5vw,2.4rem); }
.band-price p { color: var(--charcoal-mute); margin-top: 0.7rem; max-width: 52ch; }

/* misc utilities */
.mt-sm { margin-top: 0.8rem; }
.mt { margin-top: 1.5rem; }
.text-center { text-align: center; }
.divider { height: 1px; background: var(--border); border: none; margin-block: clamp(2rem,5vw,3.5rem); }
.pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill { padding: 0.4rem 0.85rem; border-radius: 999px; background: var(--cream-2); border: 1px solid var(--border); font-size: 0.85rem; font-weight: 600; }

/* =========================================================================
   BUDGET-BYTES-STYLE INDEX COMPONENTS
   ========================================================================= */

/* Top utility strip */
.topbar { background: var(--charcoal-deep); color: var(--charcoal-text); }
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 38px; font-size: 0.83rem; flex-wrap: wrap; text-align: center; position: relative; }
.topbar span { color: rgba(255,248,234,0.72); }
.topbar a { color: var(--butter); font-weight: 700; display: inline-flex; align-items: center; gap: 0.3rem; }
.topbar a:hover { text-decoration: underline; }

/* Social icons in the top bar: absolutely positioned so the centered promo
   line never shifts; desktop only, the mobile menu carries them instead. */
.topbar__social { display: none; }
@media (min-width: 880px) {
  .topbar__social {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    position: absolute;
    right: var(--gut);
    top: 50%;
    transform: translateY(-50%);
  }
}
.topbar__social a {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: rgba(255,248,234,0.72);
  transition: color 0.16s ease, background 0.16s ease;
}
.topbar__social a:hover { color: #fff; background: var(--green); text-decoration: none; }
.topbar__social svg { width: 15px; height: 15px; }

/* Social row inside the mobile menu */
.mobile-menu__social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.mobile-menu__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  color: var(--ink-soft);
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.mobile-menu__social a:hover { background: var(--green); border-color: var(--green); color: #fff; }
.mobile-menu__social svg { width: 19px; height: 19px; }

/* Logo image mark */
.brand__logo { height: 42px; width: auto; display: block; }
@media (min-width: 560px) { .brand__logo { height: 46px; } }

/* Section heading with trailing rule (BB signature structural device) */
.rule-head {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.25rem;
}
.rule-head h2 { font-size: clamp(1.5rem, 2.9vw, 2.15rem); letter-spacing: -0.025em; line-height: 1.02; }
.rule-head::after { content: ""; flex: 1 1 auto; height: 3px; background: var(--butter); border-radius: 2px; min-width: 24px; }
.rule-head .link-more { white-space: nowrap; }
.rule-head .eyebrow { margin-bottom: 0.15rem; }
/* Allow the heading block to shrink and wrap so the heading + link + rule
   row never exceeds a narrow viewport (min-width:0 lets the h2 wrap). */
.rule-head__titles { flex: 0 1 auto; min-width: 0; }

/* Trust strip (honest, specific - not giant vanity stats) */
.trust-strip { background: var(--cream-2); border-block: 1px solid var(--border); }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px 1.5rem; padding-block: 1rem; }
@media (min-width: 720px) { .trust-strip .wrap { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 0.7rem; }
.trust-item .ic { width: 38px; height: 38px; border-radius: 50%; background: var(--butter); display: grid; place-items: center; flex: 0 0 auto; }
.trust-item .ic svg { width: 20px; height: 20px; color: var(--ink); }
.trust-item b { font-family: var(--display); font-size: 1.15rem; font-weight: 600; display: block; line-height: 1.1; }
.trust-item span { font-size: 0.78rem; color: var(--ink-soft); }

/* Category circle row */
.cat-row { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.3rem 0 0.8rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
@media (min-width: 1080px) { .cat-row { justify-content: space-between; overflow: visible; } }
.cat-item { flex: 0 0 auto; width: 96px; text-align: center; scroll-snap-align: start; }
.cat-item__thumb {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto;
  overflow: hidden; border: 3px solid var(--card); box-shadow: var(--shadow-md);
  background: var(--cream-3); position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cat-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-item:hover .cat-item__thumb { transform: translateY(-4px); border-color: var(--butter); }
/* The browse-all action lives in the section heading ("All categories")
   rather than as a fake category circle in the row. */
.cat-item span { display: block; margin-top: 0.55rem; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.02em; }

/* Hero value statement - the brand promise, above the index */
.hero-intro {
  padding-bottom: 1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}
.hero-intro h1 {
  font-size: clamp(1.8rem, 3.7vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.0;
}
.hero-intro h1 em { font-style: italic; font-weight: 600; color: var(--tomato); }

/* FEATURED hero (1 dominant card + 2 compact side cards) */
.latest { display: grid; gap: 1rem; }
@media (min-width: 880px) { .latest { grid-template-columns: 1.85fr 1fr; align-items: stretch; } }
.latest__side { display: grid; gap: 1rem; grid-template-rows: 1fr 1fr; }

/* caption under the featured area - the per-plate promise, stated plainly */
.latest-caption {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.latest-caption::before {
  content: "";
  flex: 0 0 auto;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green-badge);
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(38,34,28,0.25); /* miniature price badge dot */
}

.feature-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 340px; display: flex; box-shadow: var(--shadow-md);
  border: 1px solid var(--border-ink);
}
@media (min-width: 880px) { .feature-card { min-height: 100%; height: 100%; max-height: 460px; } }
.feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.feature-card:hover img { transform: scale(1.04); }
.feature-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(24,20,14,0.86) 0%, rgba(24,20,14,0.35) 45%, transparent 72%); }
.feature-card__tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 3;
  background: var(--butter); color: var(--ink);
  font-weight: 800; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.45rem 0.9rem; border-radius: 8px; line-height: 1.15; box-shadow: var(--shadow-sm);
}
.feature-card__body { position: relative; z-index: 3; margin-top: auto; padding: 1.4rem; padding-right: 118px; color: #fff; width: 100%; }
@media (min-width: 520px) { .feature-card__body { padding-right: 150px; } }
@media (max-width: 519px) { .feature-card .plate--lg { --size: 100px; } .feature-card__plate { right: 0.8rem; bottom: 0.8rem; } }
.feature-card__cat { font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--butter); }
.feature-card__body h3 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin-top: 0.3rem; letter-spacing: -0.018em; }
.feature-card__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-top: 0.7rem; font-size: 0.86rem; color: rgba(255,255,255,0.9); font-weight: 500; }
.feature-card__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.feature-card__meta svg { width: 15px; height: 15px; }
.feature-card__plate { position: absolute; z-index: 4; right: 1rem; bottom: 1rem; }
.feature-card__plate.plate--pos-bottom-left { right: auto; left: 1rem; }
.feature-card__plate.plate--pos-top-right { bottom: auto; top: 1rem; }
.feature-card__plate.plate--pos-top-left { right: auto; bottom: auto; left: 1rem; top: 1rem; }

/* Servings scaler on recipe pages */
.scaler { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; }
.scaler button {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--card);
  display: grid; place-items: center; font-size: 1.05rem; line-height: 1;
  color: var(--ink-soft); transition: border-color 0.16s ease, color 0.16s ease;
}
.scaler button:hover { border-color: var(--green); color: var(--green); }

/* Affiliate tools section */
.affiliate-disclosure { color: var(--ink-faint); font-size: 0.85rem; margin-top: 0.4rem; }
.affiliate-tools a { color: var(--green); font-weight: 600; }
.affiliate-tools a:hover { text-decoration: underline; }
.feature-card .recipe-card__stretch { z-index: 3; }

/* Promo dark banner */
.promo { position: relative; overflow: hidden; background: var(--charcoal); color: var(--charcoal-text); border-radius: var(--radius-lg); }
.promo__grid { display: grid; gap: 1.2rem; align-items: center; padding: clamp(1.6rem, 4vw, 2.6rem); }
@media (min-width: 760px) { .promo__grid { grid-template-columns: auto 1fr auto; gap: 2rem; } }
.promo__badge { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 1.05rem; }
.promo__badge .plus { background: var(--butter); color: var(--ink); border-radius: 7px; padding: 0.15rem 0.5rem; font-family: var(--display); }
.promo h2 { color: #fff; font-size: clamp(1.4rem, 2.8vw, 2rem); }
.promo p { color: rgba(255,248,234,0.78); margin-top: 0.4rem; font-size: 0.95rem; max-width: 46ch; }
.promo .price-lg { font-family: var(--display); font-size: 1.1rem; color: var(--butter); font-weight: 600; }

/* Butter "small budget" banner */
.banner-butter { background: var(--butter); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); position: relative; overflow: hidden; }
.banner-butter__grid { display: grid; gap: 1rem; align-items: center; position: relative; z-index: 1; }
@media (min-width: 720px) { .banner-butter__grid { grid-template-columns: 1fr auto; } }
.banner-butter h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.banner-butter p { margin-top: 0.5rem; max-width: 52ch; color: #4a3f22; font-weight: 500; }
.banner-butter::before { content: ""; position: absolute; right: -50px; top: -50px; width: 200px; height: 200px; border-radius: 50%; border: 3px solid rgba(38,34,28,0.10); }

/* About + team compact block */
.about-block { display: grid; gap: 2rem; }
@media (min-width: 820px) { .about-block { grid-template-columns: 0.9fr 1.1fr; } }
.about-block .lead p { color: var(--ink-soft); margin-top: 0.8rem; }

/* "Learn how to" small cards */
.learn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
@media (min-width: 640px) { .learn-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .learn-grid { grid-template-columns: repeat(6, 1fr); } }
.learn-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.6rem; padding: 1.1rem 0.6rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); font-weight: 700; font-size: 0.86rem; transition: transform 0.16s ease, border-color 0.16s ease; }
.learn-item:hover { transform: translateY(-3px); border-color: var(--green); }
.learn-item .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; }
.learn-item .ic svg { width: 24px; height: 24px; color: var(--green); }

/* Dense grid modifier for the index */
.card-grid--dense { gap: clamp(0.9rem, 1.8vw, 1.25rem); }
.card-grid--dense .recipe-card__body { padding: 0.95rem 1rem 0.95rem; }
.card-grid--dense .recipe-card__title {
  font-size: 1.04rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(2 * 1.14em); /* two title lines reserved - keeps foot rows aligned */
}
.card-grid--dense .recipe-card__meta { margin-top: 0.5rem; gap: 0.3rem 0.8rem; font-size: 0.8rem; }
.card-grid--dense .recipe-card__foot { padding-top: 0.7rem; border-top: 1px solid var(--cream-2); }
.card-grid--dense .recipe-card__total { font-size: 0.8rem; }

/* 5-col option at very wide */
@media (min-width: 1180px) { .grid-5 { grid-template-columns: repeat(5, 1fr) !important; } }

/* load reveal - only hidden when JS is present, so no-JS still shows content */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; } }
