/* ============================================================
   BestDish website — extends the design system
   Depends on tokens.css, base.css, components.css
   ============================================================ */

/* ---------- Page chrome ---------- */
.bd-site { min-height: 100vh; }

.bd-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: var(--bd-space-6);
  /* align nav edges to the same grid as section content */
  padding: var(--bd-space-4) max(var(--bd-gutter), calc((100vw - var(--bd-container)) / 2));
  background: color-mix(in srgb, var(--bd-cherry) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--bd-cream) 12%, transparent);
}
.bd-nav__brand { display: flex; align-items: center; gap: var(--bd-space-3); text-decoration: none; color: inherit; }
.bd-nav__brand img { width: 56px; height: 56px; }
.bd-nav__brand-name {
  font-family: var(--bd-font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: var(--bd-track-tight);
  font-size: var(--bd-size-md);
}
.bd-nav__links { display: flex; gap: var(--bd-space-5); margin-left: auto; align-items: center; }
.bd-nav__links a {
  text-decoration: none;
  font-family: var(--bd-font-body);
  font-weight: 500;
  font-size: var(--bd-size-sm);
  letter-spacing: var(--bd-track-wide);
  text-transform: uppercase;
  color: var(--bd-cream);
  opacity: 0.85;
  transition: opacity var(--bd-dur-fast) var(--bd-ease-out);
}
.bd-nav__links a:hover { opacity: 1; }
.bd-nav__links a.bd-btn { opacity: 1; }
@media (max-width: 768px) {
  .bd-nav__links a:not(.bd-btn) { display: none; }
}

.bd-footer {
  background: var(--bd-gravy);
  color: var(--bd-cream);
  padding: var(--bd-space-9) var(--bd-gutter) var(--bd-space-6);
  margin-top: var(--bd-space-10);
}
.bd-footer__top { display: grid; gap: var(--bd-space-7); grid-template-columns: 1fr; max-width: 1200px; margin: 0 auto; }
@media (min-width: 768px) { .bd-footer__top { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.bd-footer__brand-line { font-family: var(--bd-font-display); font-weight: 900; text-transform: uppercase; letter-spacing: var(--bd-track-tight); font-size: var(--bd-size-2xl); line-height: var(--bd-lh-tight); }
.bd-footer__col h4 { font-family: var(--bd-font-body); font-weight: 900; font-size: var(--bd-size-xs); text-transform: uppercase; letter-spacing: var(--bd-track-wider); color: var(--bd-orange); margin: 0 0 var(--bd-space-3); }
.bd-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--bd-space-2); }
.bd-footer__col a { color: var(--bd-cream); text-decoration: none; opacity: 0.85; }
.bd-footer__col a:hover { opacity: 1; }
.bd-footer__bottom { max-width: 1200px; margin: var(--bd-space-7) auto 0; padding-top: var(--bd-space-5); border-top: 1px solid color-mix(in srgb, var(--bd-cream) 12%, transparent); display: flex; justify-content: space-between; gap: var(--bd-space-4); flex-wrap: wrap; font-size: var(--bd-size-xs); opacity: 0.7; }

/* ---------- Hero ---------- */
.bd-hero-wrap { position: relative; overflow: hidden; padding: var(--bd-space-9) 0 var(--bd-space-10); }
.bd-hero-headline {
  font-family: var(--bd-font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: var(--bd-track-tight);
  line-height: 0.92;
  font-size: clamp(48px, 9vw, 144px);
  margin: 0 0 var(--bd-space-5);
}
.bd-hero-headline em { font-style: normal; color: var(--bd-orange); }
.bd-hero-lede { max-width: 60ch; font-size: clamp(var(--bd-size-md), 2vw, var(--bd-size-lg)); font-weight: 300; line-height: var(--bd-lh-relaxed); margin: 0 0 var(--bd-space-6); }

/* ---------- Sections ---------- */
.bd-section { padding: var(--bd-space-9) 0; position: relative; }
.bd-section--alt { background: var(--bd-gravy); }
.bd-section--cream { background: var(--bd-cream); color: var(--bd-cherry); }
.bd-section--cream .bd-eyebrow { color: var(--bd-orange); }

/* ---------- Dish reel (the home page meal carousel) ---------- */
.bd-reel { display: grid; gap: var(--bd-space-6); grid-template-columns: 1fr; }
@media (min-width: 768px) { .bd-reel { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bd-reel { grid-template-columns: repeat(3, 1fr); } }

.bd-dish-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--bd-radius-lg);
  background: var(--bd-gravy);
  aspect-ratio: 4/5;
  display: block;
  text-decoration: none;
  color: var(--bd-cream);
  transition: transform var(--bd-dur-normal) var(--bd-ease-out);
}
.bd-dish-card:hover { transform: translateY(-4px); }
.bd-dish-card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--bd-dur-slow) var(--bd-ease-out), filter var(--bd-dur-normal) var(--bd-ease-out);
}
.bd-dish-card:hover .bd-dish-card__img { transform: scale(1.05); }
.bd-dish-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(32,4,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--bd-space-6);
}
.bd-dish-card__restaurant {
  font-family: var(--bd-font-body);
  font-weight: 900;
  font-size: var(--bd-size-xs);
  text-transform: uppercase;
  letter-spacing: var(--bd-track-wider);
  color: var(--bd-orange);
  margin: 0 0 var(--bd-space-2);
}
.bd-dish-card__name {
  font-family: var(--bd-font-display);
  font-weight: 700;
  font-size: var(--bd-size-2xl);
  text-transform: uppercase;
  letter-spacing: var(--bd-track-tight);
  line-height: var(--bd-lh-snug);
  margin: 0;
}
.bd-dish-card--placeholder { background: var(--bd-cherry); display: grid; place-items: center; padding: var(--bd-space-6); }
.bd-dish-card--placeholder .bd-dish-card__overlay { background: none; position: static; padding: 0; }

/* ---------- Dish detail page ---------- */
.bd-dish-hero {
  display: grid;
  gap: var(--bd-space-7);
  grid-template-columns: 1fr;
  align-items: center;
  padding: var(--bd-space-8) 0;
}
@media (min-width: 1024px) { .bd-dish-hero { grid-template-columns: 1fr 1fr; } }
.bd-dish-hero__photo {
  width: 100%; aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--bd-radius-lg);
  background: var(--bd-gravy);
}
.bd-dish-hero__category {
  font-family: var(--bd-font-body); font-weight: 900;
  font-size: var(--bd-size-xs);
  text-transform: uppercase; letter-spacing: var(--bd-track-wider);
  color: var(--bd-orange);
}
.bd-dish-hero__restaurant {
  font-family: var(--bd-font-display); font-weight: 700;
  font-size: var(--bd-size-lg);
  text-transform: uppercase; letter-spacing: var(--bd-track-tight);
  color: var(--bd-cream);
  display: inline-block;
  margin: var(--bd-space-2) 0 var(--bd-space-5);
  text-decoration: none;
  border-bottom: 2px solid var(--bd-orange);
  padding-bottom: 2px;
}
.bd-dish-hero__name {
  font-family: var(--bd-font-display); font-weight: 900;
  font-size: clamp(40px, 7vw, 96px);
  text-transform: uppercase;
  letter-spacing: var(--bd-track-tight);
  line-height: var(--bd-lh-tight);
  margin: 0 0 var(--bd-space-5);
}
.bd-dish-hero__tagline { font-size: var(--bd-size-lg); font-weight: 300; line-height: var(--bd-lh-relaxed); max-width: 50ch; margin: 0 0 var(--bd-space-6); }

.bd-dish-meta { display: grid; gap: var(--bd-space-5); grid-template-columns: repeat(2, 1fr); margin-top: var(--bd-space-7); }
.bd-dish-meta__cell { padding-top: var(--bd-space-3); border-top: 2px solid var(--bd-orange); }
.bd-dish-meta__label { font-size: var(--bd-size-xs); text-transform: uppercase; letter-spacing: var(--bd-track-wider); color: var(--bd-orange); font-weight: 900; margin: 0 0 var(--bd-space-1); }
.bd-dish-meta__value { font-family: var(--bd-font-display); font-size: var(--bd-size-lg); font-weight: 700; text-transform: uppercase; letter-spacing: var(--bd-track-tight); margin: 0; }

.bd-info-grid { display: grid; gap: var(--bd-space-6); grid-template-columns: 1fr; }
@media (min-width: 768px) { .bd-info-grid { grid-template-columns: 1fr 1fr; } }

.bd-panel {
  background: color-mix(in srgb, var(--bd-cream) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--bd-cream) 14%, transparent);
  border-radius: var(--bd-radius-lg);
  padding: var(--bd-space-6);
}
.bd-panel h3 {
  font-family: var(--bd-font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--bd-track-tight);
  font-size: var(--bd-size-xl);
  margin: 0 0 var(--bd-space-4);
}
.bd-panel--cream { background: var(--bd-cream); color: var(--bd-cherry); border-color: var(--bd-honeydew); }

/* Nutrition facts panel — modeled on the FDA label */
.bd-nutri {
  background: var(--bd-cream);
  color: var(--bd-cherry);
  border: 2px solid var(--bd-cherry);
  border-radius: var(--bd-radius-md);
  padding: var(--bd-space-4);
  font-family: var(--bd-font-body);
}
.bd-nutri__title { font-family: var(--bd-font-display); font-size: var(--bd-size-xl); text-transform: uppercase; margin: 0 0 var(--bd-space-1); }
.bd-nutri__serving { font-size: var(--bd-size-xs); margin: 0 0 var(--bd-space-3); border-bottom: 6px solid var(--bd-cherry); padding-bottom: var(--bd-space-2); }
.bd-nutri__row { display: flex; justify-content: space-between; padding: var(--bd-space-1) 0; border-top: 1px solid var(--bd-cherry); font-size: var(--bd-size-sm); }
.bd-nutri__row span:first-child { font-weight: 500; }
.bd-nutri__cal { display: flex; justify-content: space-between; align-items: baseline; padding: var(--bd-space-2) 0; border-top: 4px solid var(--bd-cherry); }
.bd-nutri__cal-label { font-weight: 900; font-size: var(--bd-size-md); }
.bd-nutri__cal-value { font-weight: 900; font-size: var(--bd-size-2xl); font-family: var(--bd-font-display); }

.bd-heat-cols { display: grid; gap: var(--bd-space-5) var(--bd-space-4); grid-template-columns: 1fr; margin-top: var(--bd-space-4); }
@media (min-width: 600px) { .bd-heat-cols { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.bd-heat__method { font-family: var(--bd-font-display); font-weight: 900; text-transform: uppercase; font-size: var(--bd-size-md); color: var(--bd-orange); letter-spacing: var(--bd-track-tight); margin: 0 0 var(--bd-space-2); }
.bd-heat__steps { font-size: var(--bd-size-sm); line-height: var(--bd-lh-relaxed); }

/* ---------- People grid (chefs, farms) ---------- */
.bd-people { display: grid; gap: var(--bd-space-6); grid-template-columns: 1fr; }
@media (min-width: 640px) { .bd-people { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bd-people { grid-template-columns: repeat(3, 1fr); } }
.bd-person { display: grid; gap: var(--bd-space-3); }
.bd-person__photo { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 15%; border-radius: var(--bd-radius-lg); background: var(--bd-gravy); }
.bd-person__photo--placeholder { display: grid; place-items: center; font-family: var(--bd-font-display); font-weight: 900; text-transform: uppercase; font-size: var(--bd-size-3xl); color: var(--bd-orange); background: var(--bd-gravy); }
.bd-person__name { font-family: var(--bd-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: var(--bd-track-tight); font-size: var(--bd-size-xl); margin: 0; }
.bd-person__role { font-family: var(--bd-font-body); font-weight: 900; font-size: var(--bd-size-xs); text-transform: uppercase; letter-spacing: var(--bd-track-wider); color: var(--bd-orange); margin: 0 0 var(--bd-space-2); }
.bd-person__bio { font-size: var(--bd-size-sm); line-height: var(--bd-lh-relaxed); margin: 0; opacity: 0.9; }

/* ---------- Building list ---------- */
.bd-buildings { display: grid; gap: var(--bd-space-3); }
.bd-building-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: var(--bd-space-5);
  align-items: baseline;
  padding: var(--bd-space-5) 0;
  border-bottom: 1px solid color-mix(in srgb, var(--bd-cream) 18%, transparent);
}
.bd-building-row__num { font-family: var(--bd-font-mono); color: var(--bd-orange); font-size: var(--bd-size-sm); }
.bd-building-row__name { font-family: var(--bd-font-display); font-weight: 700; text-transform: uppercase; font-size: var(--bd-size-xl); letter-spacing: var(--bd-track-tight); margin: 0; }
.bd-building-row__address { display: block; font-family: var(--bd-font-body); font-weight: 400; font-size: var(--bd-size-sm); margin-top: var(--bd-space-1); opacity: 0.75; text-transform: none; letter-spacing: 0; }
.bd-building-row__type { font-size: var(--bd-size-xs); text-transform: uppercase; letter-spacing: var(--bd-track-wider); opacity: 0.7; }
.bd-building-row__status { font-size: var(--bd-size-xs); font-weight: 900; text-transform: uppercase; letter-spacing: var(--bd-track-wider); color: var(--bd-orange); padding: var(--bd-space-1) var(--bd-space-3); border: 2px solid var(--bd-orange); border-radius: var(--bd-radius-pill); }
.bd-building-row__status--live { color: var(--bd-cherry); background: var(--bd-orange); }

/* ---------- 3-way CTA at end of home ---------- */
.bd-fork { display: grid; gap: var(--bd-space-6); grid-template-columns: 1fr; }
@media (min-width: 768px) { .bd-fork { grid-template-columns: repeat(3, 1fr); } }
.bd-fork__card {
  background: color-mix(in srgb, var(--bd-cream) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--bd-cream) 14%, transparent);
  border-radius: var(--bd-radius-lg);
  padding: var(--bd-space-6);
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--bd-cream);
  transition: background var(--bd-dur-normal) var(--bd-ease-out), transform var(--bd-dur-normal) var(--bd-ease-out);
}
.bd-fork__card:hover { background: color-mix(in srgb, var(--bd-orange) 16%, transparent); transform: translateY(-4px); }
.bd-fork__eyebrow { font-size: var(--bd-size-xs); text-transform: uppercase; letter-spacing: var(--bd-track-wider); color: var(--bd-orange); margin: 0 0 var(--bd-space-3); font-weight: 900; }
.bd-fork__title { font-family: var(--bd-font-display); font-weight: 900; text-transform: uppercase; letter-spacing: var(--bd-track-tight); font-size: var(--bd-size-2xl); line-height: var(--bd-lh-tight); margin: 0 0 var(--bd-space-4); }
.bd-fork__body { flex: 1; margin: 0 0 var(--bd-space-5); }
.bd-fork__cta { font-family: var(--bd-font-body); font-weight: 900; text-transform: uppercase; letter-spacing: var(--bd-track-wider); font-size: var(--bd-size-sm); color: var(--bd-orange); }

/* ---------- Marquee (for restaurant logos + scrolling lines) ---------- */
.bd-marquee {
  overflow: hidden;
  position: relative;
  padding: var(--bd-space-5) 0;
  border-block: 2px solid color-mix(in srgb, var(--bd-cream) 14%, transparent);
}
.bd-marquee__track {
  display: flex; gap: var(--bd-space-9);
  white-space: nowrap;
  animation: bd-marquee 38s linear infinite;
  font-family: var(--bd-font-display);
  font-weight: 900;
  font-size: var(--bd-size-2xl);
  text-transform: uppercase;
  letter-spacing: var(--bd-track-tight);
  color: var(--bd-cream);
}
.bd-marquee__track > span { display: inline-flex; align-items: center; gap: var(--bd-space-5); }
.bd-marquee__track > span::after { content: "●"; color: var(--bd-orange); font-size: 0.6em; }
@keyframes bd-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Step blocks ---------- */
.bd-steps-grid { display: grid; gap: var(--bd-space-7); grid-template-columns: 1fr; }
@media (min-width: 768px) { .bd-steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .bd-steps-grid { grid-template-columns: repeat(4, 1fr); } }
.bd-step-big { display: grid; gap: var(--bd-space-3); }
.bd-step-big__num { font-family: var(--bd-font-mono); font-size: var(--bd-size-md); letter-spacing: var(--bd-track-wider); color: var(--bd-orange); border-top: 4px solid var(--bd-orange); padding-top: var(--bd-space-3); }
.bd-step-big__title { font-family: var(--bd-font-display); font-weight: 900; text-transform: uppercase; font-size: var(--bd-size-2xl); letter-spacing: var(--bd-track-tight); line-height: var(--bd-lh-tight); margin: 0; }
.bd-step-big__body { margin: 0; line-height: var(--bd-lh-relaxed); }

/* ---------- Comparison table (vs delivery / vs grocery / vs vending) ---------- */
.bd-compare { display: grid; gap: var(--bd-space-3); }
.bd-compare__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--bd-space-3);
  padding: var(--bd-space-5);
  border-radius: var(--bd-radius-lg);
  background: color-mix(in srgb, var(--bd-cream) 6%, transparent);
}
@media (min-width: 768px) { .bd-compare__row { grid-template-columns: 1fr 1fr 1fr 1fr; align-items: center; } }
.bd-compare__row--win { background: var(--bd-orange); color: var(--bd-cream); }
.bd-compare__cell { font-size: var(--bd-size-sm); }
.bd-compare__cell strong { font-family: var(--bd-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: var(--bd-track-tight); font-size: var(--bd-size-md); display: block; margin-bottom: var(--bd-space-1); }

/* ---------- Floating splash decorations ---------- */
.bd-splash-fixed {
  position: absolute;
  pointer-events: none;
  background: var(--bd-orange);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  filter: url(#bd-grit);
  opacity: 0.85;
  z-index: 0;
}
.bd-section > .bd-container { position: relative; z-index: 1; }

/* ---------- Scroll reveal ----------
   Default state is VISIBLE. JS adds .js-reveal-ready to <html> the moment
   it runs; that class is the only thing that makes .bd-reveal start hidden.
   This means no-JS, SEO, print, and screenshot environments see real content. */
.bd-reveal { transition: opacity 700ms var(--bd-ease-out), transform 700ms var(--bd-ease-out); }
html.js-reveal-ready .bd-reveal:not(.is-in) { opacity: 0; transform: translateY(24px); }
html.js-reveal-ready .bd-reveal.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html.js-reveal-ready .bd-reveal:not(.is-in) { opacity: 1; transform: none; } .bd-marquee__track, .bd-dish-card__img { animation: none !important; transition: none !important; } }

/* ---------- Hero strapline ticker ---------- */
.bd-strapline { display: flex; gap: var(--bd-space-5); flex-wrap: wrap; font-family: var(--bd-font-body); font-weight: 900; font-size: var(--bd-size-xs); text-transform: uppercase; letter-spacing: var(--bd-track-wider); }
.bd-strapline > * { display: inline-flex; align-items: center; }
.bd-strapline > *::before { content: ""; width: 4px; height: 14px; background: var(--bd-orange); margin-right: var(--bd-space-3); border-radius: 2px; }

/* ---------- Lead-in oversize quote ---------- */
.bd-pullquote {
  font-family: var(--bd-font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--bd-track-tight);
  font-size: clamp(var(--bd-size-2xl), 4vw, var(--bd-size-4xl));
  line-height: var(--bd-lh-snug);
  max-width: 22ch;
}
.bd-pullquote__attr {
  display: block;
  font-family: var(--bd-font-body);
  font-weight: 900;
  font-size: var(--bd-size-xs);
  letter-spacing: var(--bd-track-wider);
  color: var(--bd-orange);
  margin-top: var(--bd-space-4);
}

/* ---------- B2B forms ---------- */
.bd-form { display: grid; gap: var(--bd-space-4); max-width: 560px; }
.bd-field { display: grid; gap: var(--bd-space-2); }
.bd-field label { font-size: var(--bd-size-xs); text-transform: uppercase; letter-spacing: var(--bd-track-wider); font-weight: 900; color: var(--bd-orange); }
.bd-field input, .bd-field textarea, .bd-field select {
  background: transparent;
  border: 0; border-bottom: 2px solid var(--bd-cream);
  color: var(--bd-cream);
  font-family: var(--bd-font-body);
  font-size: var(--bd-size-md);
  padding: var(--bd-space-2) 0;
}
.bd-field input:focus, .bd-field textarea:focus, .bd-field select:focus { outline: none; border-bottom-color: var(--bd-orange); }
.bd-field textarea { min-height: 120px; resize: vertical; }

/* ============================================================
   v2 — packaging-led upgrades (damask, package panels, lobby)
   ============================================================ */

/* ---------- Damask pattern layer (from the sleeves) ----------
   Set --pat to a colourway SVG; the SVG carries its own opacity. */
.bd-pattern { background-image: var(--pat); background-size: 220px; background-repeat: repeat; }
.bd-pattern-band {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--pat); background-size: 220px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

/* ---------- Farm → chef → you ribbon (from packaging) ---------- */
.bd-ribbon {
  display: inline-flex; align-items: center; gap: var(--bd-space-2);
  font-family: var(--bd-font-body); font-weight: 900; text-transform: uppercase;
  letter-spacing: var(--bd-track-wide); font-size: 10px; line-height: 1; white-space: nowrap;
  background: var(--bd-orange); color: var(--bd-cream);
  padding: var(--bd-space-2) var(--bd-space-3); border-radius: var(--bd-radius-pill);
  max-width: 100%;
}
.bd-ribbon span { display: inline-flex; align-items: center; gap: var(--bd-space-2); }
.bd-ribbon span::after { content: "→"; opacity: .8; }
.bd-ribbon span:last-child::after { content: none; }

/* ---------- Faux package front panel (the signature object) ---------- */
.bd-pack {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--bd-radius-lg);
  background: var(--pack-bg, var(--bd-cherry));
  color: var(--pack-fg, var(--bd-cream));
  border: var(--bd-border-medium) solid color-mix(in srgb, var(--pack-fg, var(--bd-cream)) 26%, transparent);
  padding: clamp(28px, 4vw, 48px) clamp(18px, 2.2vw, 30px);
  display: grid; gap: var(--bd-space-5); justify-items: center; text-align: center;
  box-shadow: var(--bd-shadow-lift);
}
.bd-pack::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--pat); background-size: 190px;
}
.bd-pack__badge { width: 84px; height: 84px; }
.bd-pack__rest {
  font-family: var(--bd-font-body); font-weight: 900; text-transform: uppercase;
  letter-spacing: var(--bd-track-wider); font-size: var(--bd-size-xs);
  color: var(--pack-fg, var(--bd-cream)); opacity: .85; margin: 0;
}
.bd-pack__name {
  font-family: var(--bd-font-display); font-weight: 900; text-transform: uppercase;
  letter-spacing: var(--bd-track-tight); line-height: 0.92;
  font-size: clamp(26px, 3.2vw, 40px); margin: 0; max-width: 100%;
  overflow-wrap: anywhere;
}
.bd-pack__rule { width: 64px; height: var(--bd-border-thick); background: var(--bd-orange); border-radius: 2px; }
.bd-pack__meta {
  font-family: var(--bd-font-mono); font-size: var(--bd-size-xs);
  letter-spacing: var(--bd-track-wide); opacity: .75; margin: 0;
}

/* ---------- Hero (split: copy + package art) ---------- */
.bd-hero--split { padding-top: var(--bd-space-9); padding-bottom: var(--bd-space-9); }
.bd-hero--split .bd-container {
  display: grid; gap: var(--bd-space-8); grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 1000px) { .bd-hero--split .bd-container { grid-template-columns: 1.08fr 0.92fr; } }
.bd-hero__art { position: relative; display: flex; justify-content: center; }
.bd-hero__art .bd-pack { transform: rotate(-2.5deg); max-width: 380px; width: 100%; }
.bd-loc {
  display: inline-flex; align-items: center; gap: var(--bd-space-2);
  font-family: var(--bd-font-body); font-weight: 900; font-size: var(--bd-size-xs);
  text-transform: uppercase; letter-spacing: var(--bd-track-wider);
  color: var(--bd-cream); border: 2px solid color-mix(in srgb, var(--bd-cream) 30%, transparent);
  padding: var(--bd-space-1) var(--bd-space-3); border-radius: var(--bd-radius-pill);
}
.bd-loc::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bd-orange); }

/* ---------- Stat band ---------- */
.bd-statband { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--bd-space-6) var(--bd-space-5); }
@media (min-width: 880px) { .bd-statband { grid-template-columns: repeat(4, 1fr); } }
.bd-stat { border-top: var(--bd-border-thick) solid var(--bd-orange); padding-top: var(--bd-space-3); }
.bd-stat__n {
  font-family: var(--bd-font-display); font-weight: 900; line-height: 0.9;
  font-size: clamp(40px, 5.5vw, 76px); color: var(--bd-orange); margin: 0;
  letter-spacing: var(--bd-track-tight);
}
.bd-stat__l { font-size: var(--bd-size-sm); line-height: var(--bd-lh-snug); margin: var(--bd-space-3) 0 0; opacity: .9; max-width: 22ch; }

/* ---------- Lobby / freezer feature ---------- */
.bd-lobby { display: grid; gap: var(--bd-space-7); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .bd-lobby { grid-template-columns: 1fr 1fr; } .bd-lobby--flip > :first-child { order: 2; } }
.bd-lobby__media { position: relative; }
.bd-lobby__img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center; border-radius: var(--bd-radius-lg); background: var(--bd-cream); display: block; }
.bd-lobby__tag {
  position: absolute; bottom: var(--bd-space-4); left: var(--bd-space-4);
  background: var(--bd-orange); color: var(--bd-cream);
  font-family: var(--bd-font-body); font-weight: 900; text-transform: uppercase;
  letter-spacing: var(--bd-track-wider); font-size: var(--bd-size-xs);
  padding: var(--bd-space-2) var(--bd-space-4); border-radius: var(--bd-radius-pill);
}

/* ---------- Dish card v2 (marketing-sample style) ---------- */
.bd-dish-card__tab {
  position: absolute; top: var(--bd-space-3); left: var(--bd-space-3); z-index: 2;
  background: var(--bd-orange); color: var(--bd-cream);
  font-family: var(--bd-font-body); font-weight: 900; font-size: var(--bd-size-xs);
  text-transform: uppercase; letter-spacing: var(--bd-track-wide);
  padding: var(--bd-space-1) var(--bd-space-3); border-radius: var(--bd-radius-pill);
  max-width: calc(100% - var(--bd-space-6)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bd-dish-card__chip {
  position: absolute; top: var(--bd-space-3); right: var(--bd-space-3); z-index: 2;
  background: color-mix(in srgb, var(--bd-gravy) 70%, transparent);
  color: var(--bd-cream); font-family: var(--bd-font-body); font-weight: 900;
  font-size: 10px; text-transform: uppercase; letter-spacing: var(--bd-track-wider);
  padding: var(--bd-space-1) var(--bd-space-2); border-radius: var(--bd-radius-pill);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.bd-dish-card__fill {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center;
  gap: var(--bd-space-4);
  background: var(--pack-bg, var(--bd-gravy)); background-image: var(--pat); background-size: 150px;
}
.bd-dish-card__badge { width: clamp(72px, 22%, 104px); height: auto; filter: drop-shadow(0 4px 14px rgba(32,4,0,.4)); }
.bd-dish-card__frozen {
  font-family: var(--bd-font-body); font-weight: 900; text-transform: uppercase;
  letter-spacing: var(--bd-track-wider); font-size: var(--bd-size-xs); color: var(--bd-cream);
  opacity: .82;
}
.bd-dish-card__cta {
  display: inline-flex; align-items: center; gap: var(--bd-space-2);
  font-family: var(--bd-font-body); font-weight: 900; font-size: var(--bd-size-xs);
  text-transform: uppercase; letter-spacing: var(--bd-track-wider); color: var(--bd-orange);
  margin-top: var(--bd-space-3); opacity: 0; transform: translateY(6px);
  transition: opacity var(--bd-dur-normal) var(--bd-ease-out), transform var(--bd-dur-normal) var(--bd-ease-out);
}
.bd-dish-card:hover .bd-dish-card__cta { opacity: 1; transform: translateY(0); }

/* ---------- Section headers with kicker + splash anchor ---------- */
.bd-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--bd-space-5); flex-wrap: wrap; margin-bottom: var(--bd-space-7); }
.bd-sec-head h2 { margin: 0; max-width: 20ch; }

/* ---------- Cream-section eyebrow/quote tweaks ---------- */
.bd-section--cream .bd-stat__l, .bd-section--cream .bd-pack__meta { opacity: .8; }

/* ---------- Reduced-motion / mobile pack rotation reset ---------- */
@media (max-width: 999px) { .bd-hero__art .bd-pack { transform: none; } }
@media (prefers-reduced-motion: reduce) { .bd-hero__art .bd-pack { transform: none; } }

/* ---------- Textured hero (brand orange-blob graphic behind the hero) ---------- */
.bd-hero--textured {
  background-image:
    linear-gradient(180deg,
      color-mix(in srgb, var(--bd-cherry) 70%, transparent) 0%,
      transparent 20%, transparent 68%,
      var(--bd-cherry) 100%),
    linear-gradient(100deg,
      var(--bd-cherry) 34%,
      color-mix(in srgb, var(--bd-cherry) 74%, transparent) 58%,
      color-mix(in srgb, var(--bd-cherry) 50%, transparent) 100%),
    url("../assets/textures/hero-texture.jpg");
  background-size: cover;
  background-position: center, center, right center;
  background-repeat: no-repeat;
}
@media (max-width: 999px) {
  /* On stacked mobile the pack sits below copy — keep texture as a top band, fade to cherry for legibility */
  .bd-hero--textured {
    background-image:
      linear-gradient(180deg,
        color-mix(in srgb, var(--bd-cherry) 55%, transparent) 0%,
        var(--bd-cherry) 46%),
      url("../assets/textures/hero-texture.jpg");
    background-position: center top;
  }
}

/* ---------- Brand icons ---------- */
.bd-icon { display: block; width: 100%; height: 100%; }

/* ---------- Numbered step flow (how it works) ---------- */
.bd-flow { list-style: none; margin: var(--bd-space-7) 0 0; padding: 0;
  display: grid; gap: var(--bd-space-7); grid-template-columns: 1fr; }
@media (min-width: 600px) { .bd-flow--c3, .bd-flow--c4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .bd-flow--c3 { grid-template-columns: repeat(3, 1fr); }
  .bd-flow--c4 { grid-template-columns: repeat(4, 1fr); }
}
.bd-flow__step { display: grid; gap: var(--bd-space-4); align-content: start; }
.bd-flow__num {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--bd-blueberry); color: var(--bd-cherry);
  font-family: var(--bd-font-display); font-weight: 900;
  font-size: 46px; line-height: 1; letter-spacing: var(--bd-track-tight);
}
.bd-flow__arrow { display: none; }
@media (min-width: 1024px) {
  .bd-flow__arrow {
    display: block; position: absolute; left: calc(100% + 10px); top: 42px;
    transform: translateY(-50%); width: 30px; height: 30px; color: var(--bd-pistachios);
  }
}
.bd-flow__title { font-family: var(--bd-font-display); font-weight: 900;
  text-transform: uppercase; font-size: var(--bd-size-xl);
  letter-spacing: var(--bd-track-tight); line-height: var(--bd-lh-tight); margin: 0; }
.bd-flow__body { margin: 0; line-height: var(--bd-lh-relaxed); opacity: .9; }

/* ---------- Stat band icons ---------- */
.bd-stat__icon { width: 30px; height: 30px; color: var(--bd-pistachios); margin-bottom: var(--bd-space-3); }

/* ---------- Comparison icons ---------- */
.bd-compare__icon { width: 38px; height: 38px; color: var(--bd-pistachios); margin-bottom: var(--bd-space-3); }
.bd-compare__cell--win { background: var(--bd-orange); color: var(--bd-cream);
  padding: var(--bd-space-5); border-radius: var(--bd-radius-md); }
.bd-compare__badge { width: 44px; height: 44px; margin-bottom: var(--bd-space-3); display: block; }

/* ---------- Final consumer CTA (home) ---------- */
.bd-finalcta { max-width: 60ch; }
.bd-finalcta__head {
  font-family: var(--bd-font-display); font-weight: 900; text-transform: uppercase;
  letter-spacing: var(--bd-track-tight); line-height: var(--bd-lh-tight);
  font-size: clamp(38px, 5.2vw, 72px); margin: var(--bd-space-4) 0 0; max-width: 16ch;
}
.bd-finalcta__lede { max-width: 52ch; margin-top: var(--bd-space-5); }
.bd-finalcta__actions { display: flex; flex-wrap: wrap; gap: var(--bd-space-3); margin-top: var(--bd-space-7); }
.bd-finalcta__partners {
  margin-top: var(--bd-space-8); padding-top: var(--bd-space-5);
  border-top: 1px solid color-mix(in srgb, var(--bd-cream) 16%, transparent);
  font-size: var(--bd-size-sm); opacity: .85;
}
.bd-finalcta__partners a {
  font-family: var(--bd-font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: var(--bd-track-tight); font-size: var(--bd-size-xs);
  color: var(--bd-orange); margin-left: var(--bd-space-4); white-space: nowrap;
}
.bd-finalcta__partners a:hover { color: var(--bd-cream); }

/* ---------- Restaurant map + grid (home) ---------- */
.bd-restmap {
  height: 460px; width: 100%; border-radius: var(--bd-radius-lg); overflow: hidden;
  background: var(--bd-cream); z-index: 0;
  border: 1px solid color-mix(in srgb, var(--bd-cherry) 18%, transparent);
}
@media (max-width: 700px) { .bd-restmap { height: 360px; } }
.bd-restmap .leaflet-container { font-family: var(--bd-font-body); background: #e9e9e0; }
.bd-restmap .leaflet-control-zoom a {
  background: var(--bd-cherry); color: var(--bd-cream);
  border-color: color-mix(in srgb, var(--bd-cream) 15%, transparent);
}
.bd-restmap .leaflet-control-zoom a:hover { background: var(--bd-orange); color: var(--bd-cream); }
.bd-restmap .leaflet-control-attribution {
  background: color-mix(in srgb, var(--bd-cream) 82%, transparent);
  color: color-mix(in srgb, var(--bd-cherry) 60%, transparent);
}
.bd-restmap .leaflet-control-attribution a { color: var(--bd-orange); }

/* logo pins — cream tile + orange ring so they pop on the light basemap */
.bd-pin { background: transparent !important; border: 0 !important; }
.bd-pin__tile {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; padding: 7px; border-radius: 14px;
  background: var(--bd-cream); border: 2px solid var(--bd-orange);
  box-shadow: 0 4px 12px rgba(32,4,0,.28);
}
/* override Leaflet's `.leaflet-container img { max-width:none !important }` */
.bd-pin__tile img { width: 100% !important; height: 100% !important; object-fit: contain; }
.bd-pin__point {
  display: block; width: 0; height: 0; margin: -1px auto 0;
  border-left: 8px solid transparent; border-right: 8px solid transparent;
  border-top: 10px solid var(--bd-orange); filter: drop-shadow(0 3px 2px rgba(32,4,0,.25));
}
.bd-pin:hover .bd-pin__tile { background: var(--bd-orange); }
.bd-pin:hover .bd-pin__tile img { filter: brightness(0) invert(1); }

/* branded popups */
.bd-popup .leaflet-popup-content-wrapper {
  background: var(--bd-cherry); color: var(--bd-cream);
  border-radius: var(--bd-radius-md); box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.bd-popup .leaflet-popup-tip { background: var(--bd-cherry); }
.bd-popup .leaflet-popup-content { margin: var(--bd-space-4) var(--bd-space-5); font-size: var(--bd-size-sm); line-height: var(--bd-lh-snug); }
.bd-popup strong { display: block; font-family: var(--bd-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: var(--bd-track-tight); font-size: var(--bd-size-md); }
.bd-popup__meta { display: block; opacity: .8; margin-top: 2px; }
.bd-popup__link { display: inline-block; margin-top: var(--bd-space-3); color: var(--bd-orange) !important; font-family: var(--bd-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: var(--bd-track-tight); font-size: var(--bd-size-xs); }

/* restaurant grid */
.bd-restgrid { display: grid; gap: var(--bd-space-4); grid-template-columns: repeat(2, 1fr); margin-top: var(--bd-space-6); }
@media (min-width: 680px) { .bd-restgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .bd-restgrid { grid-template-columns: repeat(4, 1fr); } }
.bd-rest-card {
  display: grid; gap: var(--bd-space-1); padding: var(--bd-space-4);
  border-radius: var(--bd-radius-md); text-decoration: none; color: inherit;
  background: color-mix(in srgb, var(--bd-cream) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--bd-cream) 10%, transparent);
  transition: transform .2s ease, background .2s ease;
}
.bd-rest-card:hover { transform: translateY(-3px); background: color-mix(in srgb, var(--bd-cream) 11%, transparent); }
.bd-rest-card__logo {
  display: flex; align-items: center; justify-content: center; height: 76px;
  background: var(--bd-cream); border-radius: var(--bd-radius-sm);
  padding: var(--bd-space-3); margin-bottom: var(--bd-space-3);
}
.bd-rest-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bd-rest-card__name { font-family: var(--bd-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: var(--bd-track-tight); font-size: var(--bd-size-lg); margin: 0; line-height: var(--bd-lh-tight); }
.bd-rest-card__meta { font-size: var(--bd-size-xs); opacity: .75; margin: 0; }
.bd-rest-card__dish { font-family: var(--bd-font-mono); font-size: var(--bd-size-xs); color: var(--bd-orange); margin-top: var(--bd-space-2); }

/* ---------- Partner logo bar (home) ---------- */
.bd-logobar { background: var(--bd-cream); padding: var(--bd-space-6) 0; }
.bd-logobar__label {
  text-align: center; margin: 0 0 var(--bd-space-5); color: var(--bd-cherry);
  font-family: var(--bd-font-body); font-weight: 900; text-transform: uppercase;
  letter-spacing: var(--bd-track-wider); font-size: var(--bd-size-xs); opacity: .65;
}
.bd-marquee--logos { border-block: none; padding: 0; }
.bd-marquee--logos .bd-marquee__track { gap: var(--bd-space-10); align-items: center; }
.bd-marquee--logos .bd-marquee__track > span { gap: 0; }
.bd-marquee--logos .bd-marquee__track > span::after { content: none; }
.bd-marquee--logos img {
  height: 52px; width: auto; max-width: 180px; object-fit: contain; display: block;
}

/* ---------- Uniform monochrome restaurant logos on light surfaces ---------- */
/* brightness(0) renders any logo (colour or light) as a solid black silhouette,
   keeping its transparency — so the partner set reads consistently on cream. */
.bd-marquee--logos img,
.bd-rest-card__logo img,
.bd-pin__tile img { filter: brightness(0); }
.bd-marquee--logos img { opacity: .8; }
.bd-rest-card:hover .bd-rest-card__logo img { opacity: .65; }

/* ---------- Hero dish showpiece (replaces the faux package) ---------- */
.bd-hero-dish { position: relative; display: block; width: 100%; max-width: 420px; text-decoration: none; color: var(--bd-cream); }
.bd-hero-dish__media {
  position: relative; display: block; aspect-ratio: 4/5;
  border-radius: var(--bd-radius-lg); overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.bd-hero-dish__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--bd-ease-out); }
.bd-hero-dish:hover .bd-hero-dish__media img { transform: scale(1.04); }
.bd-hero-dish__chip {
  position: absolute; top: var(--bd-space-4); right: var(--bd-space-4); z-index: 2;
  background: var(--bd-orange); color: var(--bd-cream);
  font-family: var(--bd-font-mono); text-transform: uppercase;
  letter-spacing: var(--bd-track-wide); font-size: var(--bd-size-xs);
  padding: 6px 12px; border-radius: var(--bd-radius-pill);
}
.bd-hero-dish__cap {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 3px;
  padding: var(--bd-space-8) var(--bd-space-5) var(--bd-space-5);
  background: linear-gradient(180deg, transparent, rgba(32,4,0,.92));
}
.bd-hero-dish__rest { font-family: var(--bd-font-body); font-weight: 900; text-transform: uppercase; letter-spacing: var(--bd-track-wider); font-size: var(--bd-size-xs); color: var(--bd-orange); }
.bd-hero-dish__name { font-family: var(--bd-font-display); font-weight: 900; text-transform: uppercase; letter-spacing: var(--bd-track-tight); line-height: var(--bd-lh-tight); font-size: var(--bd-size-2xl); }
.bd-hero-dish__cta { font-family: var(--bd-font-mono); font-size: var(--bd-size-xs); color: var(--bd-cream); opacity: .85; margin-top: 4px; }
.bd-hero-dish__badge { position: absolute; top: -20px; left: -20px; width: 86px; height: 86px; z-index: 3; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }
@media (max-width: 999px) {
  .bd-hero-dish { margin-inline: auto; }
  .bd-hero-dish__badge { width: 64px; height: 64px; top: -14px; left: -8px; }
}

/* ============================================================
   CREAM THEME (experimental) — light surface variant.
   Inert unless <body class="bd-theme--cream">. Flips the dark
   cherry surface to cream so photography + logos carry the page.
   ============================================================ */
/* html carries the bg too, else its cherry default fills the canvas behind
   the transparent sections (CSS background-propagation rule). */
html:has(.bd-theme--cream) { background: var(--bd-cream); }
.bd-theme--cream {
  background: var(--bd-cream); color: var(--bd-gravy);
  --c-tint: #F1ECDE;                                   /* gentle band */
  --c-card: #FFFFFF;                                   /* cards on light */
  --c-line: color-mix(in srgb, var(--bd-cherry) 14%, transparent);
}
/* global text intent */
.bd-theme--cream .bd-headline,
.bd-theme--cream .bd-hero-headline,
.bd-theme--cream .bd-flow__title,
.bd-theme--cream .bd-finalcta__head { color: var(--bd-cherry); }
.bd-theme--cream .bd-hero-headline em { color: var(--bd-orange); }
.bd-theme--cream .bd-lede,
.bd-theme--cream .bd-hero-lede,
.bd-theme--cream .bd-flow__body,
.bd-theme--cream .bd-stat__l { color: var(--bd-gravy); }

/* nav */
.bd-theme--cream .bd-nav { background: color-mix(in srgb, var(--bd-cream) 88%, transparent); border-bottom-color: var(--c-line); }
.bd-theme--cream .bd-nav__brand-name { color: var(--bd-cherry); }
.bd-theme--cream .bd-nav__links a { color: var(--bd-gravy); }
.bd-theme--cream .bd-nav__links a.bd-btn--primary { color: var(--bd-cream); }

/* hero — plain cream, dark headline */
.bd-theme--cream .bd-hero--textured { background: var(--bd-cream); }
.bd-theme--cream .bd-loc { color: var(--bd-cherry); border-color: var(--c-line); }

/* tinted bands replace the old dark sections */
.bd-theme--cream .bd-section--alt,
.bd-theme--cream .bd-section--cream { background: var(--c-tint); color: var(--bd-gravy); }
.bd-theme--cream .bd-logobar { background: var(--c-tint); border-block: 1px solid var(--c-line); }

/* restaurant grid cards */
.bd-theme--cream .bd-rest-card { background: var(--c-card); border-color: var(--c-line); }
.bd-theme--cream .bd-rest-card:hover { background: #fff; }
.bd-theme--cream .bd-rest-card__name { color: var(--bd-cherry); }
.bd-theme--cream .bd-rest-card__meta { color: var(--bd-gravy); opacity: .8; }

/* comparison */
.bd-theme--cream .bd-compare__row { background: var(--c-card); }
.bd-theme--cream .bd-compare__cell { color: var(--bd-gravy); }
.bd-theme--cream .bd-compare__cell strong { color: var(--bd-cherry); }
.bd-theme--cream .bd-compare__cell--win,
.bd-theme--cream .bd-compare__cell--win strong { color: var(--bd-cream); }

/* final cta */
.bd-theme--cream .bd-finalcta__partners { border-top-color: var(--c-line); }

/* buttons: outline styles flip to dark-on-light */
.bd-theme--cream .bd-btn--secondary { color: var(--bd-cherry); border-color: var(--bd-cherry); }
.bd-theme--cream .bd-btn--secondary:hover { background: var(--bd-cherry); color: var(--bd-cream); }
.bd-theme--cream .bd-btn--ghost { color: var(--bd-cherry); }

/* --- cream theme refinements: deeper tint bands + cherry accent close --- */
.bd-theme--cream { --c-tint: #EEE6D2; }
/* the final CTA becomes a cherry accent block — rhythm + a strong climax */
.bd-theme--cream .bd-section:has(.bd-finalcta) { background: var(--bd-cherry); color: var(--bd-cream); }
.bd-theme--cream .bd-section:has(.bd-finalcta) .bd-finalcta__head { color: var(--bd-cream); }
.bd-theme--cream .bd-section:has(.bd-finalcta) .bd-lede { color: var(--bd-cream); }
.bd-theme--cream .bd-section:has(.bd-finalcta) .bd-eyebrow { color: var(--bd-orange); }
.bd-theme--cream .bd-section:has(.bd-finalcta) .bd-finalcta__partners { color: var(--bd-cream); border-top-color: color-mix(in srgb, var(--bd-cream) 22%, transparent); }
.bd-theme--cream .bd-section:has(.bd-finalcta) .bd-btn--secondary { color: var(--bd-cream); border-color: var(--bd-cream); }
.bd-theme--cream .bd-section:has(.bd-finalcta) .bd-btn--secondary:hover { background: var(--bd-cream); color: var(--bd-cherry); }

/* ---------- Hero: full-bleed rotating photo + overlay ---------- */
.bd-hero--full { position: relative; overflow: hidden; min-height: min(92vh, 900px); display: flex; padding: 0; }
.bd-hero-full__media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 0; background: var(--bd-gravy); z-index: 0; overflow: hidden;
}
.bd-hero-full__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.48) 42%, rgba(0,0,0,.08) 100%),
    linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.08) 46%, rgba(0,0,0,.3) 100%);
}
.bd-hero-show__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--bd-ease-out); pointer-events: none; }
.bd-hero-show__slide.is-active { opacity: 1; }
.bd-hero-show__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 7s linear; }
.bd-hero-show__slide.is-active img { transform: scale(1.07); }
.bd-hero-show__dots { position: absolute; bottom: var(--bd-space-6); right: var(--bd-space-7); z-index: 3; display: flex; gap: 7px; }
.bd-hero-show__dots span { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--bd-cream) 50%, transparent); transition: background .3s, width .3s; cursor: pointer; }
.bd-hero-show__dots span.is-on { background: var(--bd-cream); width: 22px; border-radius: 4px; }

.bd-hero-full__inner { position: relative; z-index: 2; display: flex; align-items: flex-end; padding-block: var(--bd-space-9); }
.bd-hero-full__content { max-width: 30rem; }
@media (min-width: 1000px) { .bd-hero-full__content { max-width: 48rem; } }
@media (max-width: 767px) { .bd-hero-full__credit { display: none; } }
.bd-hero__cta { display: flex; gap: var(--bd-space-3); flex-wrap: wrap; margin-top: var(--bd-space-7); }
.bd-hero-full__credit {
  position: absolute; top: var(--bd-space-7); right: var(--bd-gutter); z-index: 3;
  font-family: var(--bd-font-body); font-weight: 900; font-size: var(--bd-size-xs);
  text-transform: uppercase; letter-spacing: var(--bd-track-wider); color: var(--bd-cream);
  background: color-mix(in srgb, var(--bd-gravy) 42%, transparent); backdrop-filter: blur(4px);
  padding: 8px 15px; border-radius: var(--bd-radius-pill);
}
/* dark-hero text overrides (text sits over the photo) */
.bd-hero--full .bd-hero-headline { color: var(--bd-cream); margin-top: var(--bd-space-5); max-width: 18ch; }
.bd-hero--full .bd-hero-headline em { color: var(--bd-orange); }
.bd-hero--full .bd-hero-lede { color: var(--bd-cream); opacity: .94; }
.bd-hero--full .bd-strapline { color: var(--bd-cream); }
.bd-hero--full .bd-loc { color: var(--bd-cream); border-color: color-mix(in srgb, var(--bd-cream) 45%, transparent); background: color-mix(in srgb, var(--bd-gravy) 35%, transparent); }
.bd-hero--full .bd-btn--secondary { color: var(--bd-cream); border-color: var(--bd-cream); }
.bd-hero--full .bd-btn--secondary:hover { background: var(--bd-cream); color: var(--bd-cherry); }
@media (min-width: 1000px) {
  .bd-hero--full .bd-hero-headline { font-size: clamp(60px, 6.4vw, 108px); }
}

/* ---------- Cream theme: stat band becomes a cherry accent (rhythm) ---------- */
.bd-theme--cream .bd-section:has(.bd-statband) { background: var(--bd-cherry); color: var(--bd-cream); }
.bd-theme--cream .bd-section:has(.bd-statband) .bd-stat__l { color: var(--bd-cream); opacity: .85; }

/* brick/blob texture on the cherry accent bands (cream theme) */
.bd-theme--cream .bd-section:has(.bd-statband),
.bd-theme--cream .bd-section:has(.bd-finalcta) {
  background-color: var(--bd-cherry);
  background-image:
    linear-gradient(0deg, color-mix(in srgb, var(--bd-cherry) 58%, transparent), color-mix(in srgb, var(--bd-cherry) 58%, transparent)),
    url("../assets/textures/hero-texture.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* brighter base: drop the oat tint — bands go cream, structure via hairlines + cards */
.bd-theme--cream .bd-section--alt,
.bd-theme--cream .bd-section--cream { background: var(--bd-cream); border-top: 1px solid var(--c-line); }
.bd-theme--cream .bd-logobar { background: var(--bd-cream); border-block: 1px solid var(--c-line); }
.bd-theme--cream .bd-compare__row { border: 1px solid var(--c-line); }

/* deepen the texture wash on accent bands so red/orange copy keeps contrast */
.bd-theme--cream .bd-section:has(.bd-statband),
.bd-theme--cream .bd-section:has(.bd-finalcta) {
  background-image:
    linear-gradient(0deg, color-mix(in srgb, var(--bd-cherry) 74%, transparent), color-mix(in srgb, var(--bd-cherry) 74%, transparent)),
    url("../assets/textures/hero-texture.jpg");
}

/* partner links on the textured CTA: cream (orange got lost on the texture) */
.bd-theme--cream .bd-section:has(.bd-finalcta) .bd-finalcta__partners a { color: var(--bd-cream); }
.bd-theme--cream .bd-section:has(.bd-finalcta) .bd-finalcta__partners a:hover { color: var(--bd-orange); }

/* ---------- Cream theme: inner-page components (site-wide rollout) ---------- */
.bd-theme--cream .bd-dish-hero__restaurant { color: var(--bd-cherry); }
.bd-theme--cream .bd-panel { background: #fff; border-color: var(--c-line); }
.bd-theme--cream .bd-panel h3 { color: var(--bd-cherry); }
.bd-theme--cream .bd-building-row { border-bottom-color: var(--c-line); }
.bd-theme--cream .bd-field input,
.bd-theme--cream .bd-field textarea,
.bd-theme--cream .bd-field select { color: var(--bd-cherry); border-bottom-color: var(--bd-cherry); }
.bd-theme--cream .bd-person__photo--placeholder { background: #fff; border: 1px solid var(--c-line); color: var(--bd-orange); }
.bd-theme--cream .bd-fork__card { background: #fff; border: 1px solid var(--c-line); }

/* ---------- Textured-cherry accent section (reusable) ---------- */
.bd-section--accent {
  background-color: var(--bd-cherry); color: var(--bd-cream);
  background-image:
    linear-gradient(0deg, color-mix(in srgb, var(--bd-cherry) 76%, transparent), color-mix(in srgb, var(--bd-cherry) 76%, transparent)),
    url("../assets/textures/hero-texture.jpg");
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.bd-section--accent .bd-headline { color: var(--bd-cream); }
.bd-section--accent .bd-eyebrow { color: var(--bd-orange); }

/* ---------- 'This isn't a vending machine' cards ---------- */
.bd-vs-grid { display: grid; gap: var(--bd-space-4); grid-template-columns: 1fr; }
@media (min-width: 760px) { .bd-vs-grid { grid-template-columns: repeat(3, 1fr); } }
.bd-vs-card {
  position: relative; padding: var(--bd-space-6); min-height: 220px;
  border-radius: var(--bd-radius-md); background: #fff; border: 1px solid var(--c-line);
  display: grid; gap: var(--bd-space-3); align-content: start;
}
.bd-vs-card__icon { position: absolute; top: var(--bd-space-5); right: var(--bd-space-5); width: 38px; height: 38px; color: var(--bd-pistachios); }
.bd-vs-card__num { font-family: var(--bd-font-mono); font-size: var(--bd-size-sm); opacity: .55; }
.bd-vs-card__title { font-family: var(--bd-font-display); font-weight: 900; text-transform: uppercase; letter-spacing: var(--bd-track-tight); font-size: var(--bd-size-2xl); line-height: var(--bd-lh-tight); margin: 0; color: var(--bd-cherry); }
.bd-vs-card__body { margin: 0; line-height: var(--bd-lh-relaxed); opacity: .82; }
.bd-vs-card--win { background: var(--bd-cherry); color: var(--bd-cream); border-color: var(--bd-cherry); }
.bd-vs-card--win .bd-vs-card__title { color: var(--bd-cream); }
.bd-vs-card--win .bd-vs-card__icon { color: var(--bd-orange); }
.bd-vs-card--win .bd-vs-card__body { opacity: .9; }

/* ---------- Comparison table ---------- */
.bd-ct-scroll { margin-top: var(--bd-space-7); overflow-x: auto; }
.bd-ct { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); min-width: 760px; }
.bd-ct__cell {
  display: flex; align-items: center; padding: var(--bd-space-4);
  font-size: var(--bd-size-sm); line-height: var(--bd-lh-snug);
  border-top: 1px solid color-mix(in srgb, var(--bd-cream) 20%, transparent);
}
.bd-ct__corner { border-top: none; }
.bd-ct__head {
  border-top: none; align-items: flex-end; padding-bottom: var(--bd-space-5);
  font-family: var(--bd-font-display); font-weight: 900; text-transform: uppercase;
  letter-spacing: var(--bd-track-tight); font-size: var(--bd-size-lg);
}
.bd-ct__label { font-family: var(--bd-font-body); font-weight: 900; text-transform: uppercase; letter-spacing: var(--bd-track-wider); font-size: var(--bd-size-xs); opacity: .75; }
.bd-ct__win { color: var(--bd-orange); font-weight: 700; }

/* ---------- Savings calculator ('The math') ---------- */
.bd-calc { background: var(--bd-orange); color: var(--bd-cream); }
.bd-calc .bd-headline { color: var(--bd-cream); }
.bd-calc__panel { width: 100%; }
.bd-calc__control { display: flex; justify-content: space-between; align-items: center; gap: var(--bd-space-4); padding: var(--bd-space-4) 0; border-bottom: 1px solid color-mix(in srgb, var(--bd-cream) 25%, transparent); }
.bd-calc__label { font-size: var(--bd-size-md); }
.bd-calc__stepper { display: flex; align-items: center; gap: var(--bd-space-4); }
.bd-calc__btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--bd-cream) 45%, transparent); background: transparent; color: var(--bd-cream); font-size: 20px; line-height: 1; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.bd-calc__btn:hover { border-color: var(--bd-cream); background: color-mix(in srgb, var(--bd-cream) 14%, transparent); }
.bd-calc__stepper > span { min-width: 56px; text-align: center; font-weight: 700; font-size: var(--bd-size-lg); font-family: var(--bd-font-mono); }
.bd-calc__line { height: 1px; background: color-mix(in srgb, var(--bd-cream) 30%, transparent); margin: var(--bd-space-6) 0; }
.bd-calc__result-wrap { display: flex; justify-content: space-between; align-items: baseline; gap: var(--bd-space-4); }
.bd-calc__result-label { font-size: var(--bd-size-sm); opacity: .82; max-width: 12ch; }
.bd-calc__result { font-family: var(--bd-font-display); font-weight: 900; font-size: clamp(48px, 6vw, 84px); letter-spacing: var(--bd-track-tight); line-height: .9; }
.bd-calc__fine { font-size: var(--bd-size-xs); opacity: .75; margin: var(--bd-space-4) 0 0; }

/* ---------- Dish page: chef block ---------- */
.bd-chefblock { display: grid; gap: var(--bd-space-6); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 760px) { .bd-chefblock { grid-template-columns: auto 1fr; gap: var(--bd-space-8); } }
.bd-chefblock__photo { width: 100%; max-width: 240px; }
.bd-chefblock__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 15%; border-radius: var(--bd-radius-lg); display: block; }
.bd-chefblock__body .bd-pullquote { max-width: 34ch; }

/* ---------- Dish page: restaurant location ---------- */
.bd-restloc { display: grid; gap: var(--bd-space-5); grid-template-columns: 1fr; margin-top: var(--bd-space-7); align-items: start; }
@media (min-width: 900px) { .bd-restloc { grid-template-columns: 1fr 1fr; } }
.bd-restloc--single { grid-template-columns: 1fr; max-width: 640px; }
.bd-restloc__photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--bd-radius-lg); display: block; }
.bd-dishmap { height: 340px; border-radius: var(--bd-radius-lg); overflow: hidden; background: var(--bd-cream); z-index: 0; border: 1px solid color-mix(in srgb, var(--bd-cherry) 18%, transparent); }
.bd-dishmap .leaflet-container { font-family: var(--bd-font-body); background: #e9e9e0; }
.bd-dishmap .leaflet-control-zoom a { background: var(--bd-cherry); color: var(--bd-cream); border-color: color-mix(in srgb, var(--bd-cream) 15%, transparent); }
.bd-dishmap .leaflet-control-zoom a:hover { background: var(--bd-orange); color: var(--bd-cream); }
.bd-dishmap .leaflet-control-attribution { background: color-mix(in srgb, var(--bd-cream) 82%, transparent); color: color-mix(in srgb, var(--bd-cherry) 60%, transparent); }
.bd-dishmap .leaflet-control-attribution a { color: var(--bd-orange); }
.bd-restloc__addr { display: flex; justify-content: space-between; align-items: center; gap: var(--bd-space-4); flex-wrap: wrap; margin-top: var(--bd-space-4); }
.bd-restloc__address { margin: 0; font-family: var(--bd-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: var(--bd-track-tight); font-size: var(--bd-size-lg); color: var(--bd-cherry); line-height: var(--bd-lh-tight); }
.bd-restloc__address span { display: block; font-family: var(--bd-font-body); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: var(--bd-size-sm); color: var(--bd-gravy); opacity: .7; margin-top: 4px; }

/* ============================================================
   Soft palette pass (2026-07-09) — lighten every dark surface.
   Cherry/Gravy blocks become warm light bands; the hero scrim
   lifts; orange retreats to CTAs and eyebrows.
   ============================================================ */

/* hero: lift the black overlay so the photography breathes */
.bd-hero-full__media::after {
  background:
    linear-gradient(90deg, rgba(20,4,0,.58) 0%, rgba(20,4,0,.32) 42%, rgba(20,4,0,.04) 100%),
    linear-gradient(0deg, rgba(20,4,0,.52) 0%, rgba(20,4,0,.05) 46%, rgba(20,4,0,.16) 100%);
}

/* stat band + final CTA keep the red theme — the cherry rhythm stays.
   Playful pass: each stat carries its own packaging colourway. */
.bd-theme--cream .bd-section:has(.bd-statband) .bd-stat:nth-child(1) { border-top-color: var(--bd-orange); }
.bd-theme--cream .bd-section:has(.bd-statband) .bd-stat:nth-child(2) { border-top-color: var(--bd-blueberry); }
.bd-theme--cream .bd-section:has(.bd-statband) .bd-stat:nth-child(3) { border-top-color: var(--bd-shrimp); }
.bd-theme--cream .bd-section:has(.bd-statband) .bd-stat:nth-child(4) { border-top-color: var(--bd-pistachios); }
.bd-theme--cream .bd-section:has(.bd-statband) .bd-stat:nth-child(1) .bd-stat__icon { color: var(--bd-orange); }
.bd-theme--cream .bd-section:has(.bd-statband) .bd-stat:nth-child(2) .bd-stat__icon { color: var(--bd-blueberry); }
.bd-theme--cream .bd-section:has(.bd-statband) .bd-stat:nth-child(3) .bd-stat__icon { color: var(--bd-shrimp); }
.bd-theme--cream .bd-section:has(.bd-statband) .bd-stat:nth-child(4) .bd-stat__icon { color: var(--bd-pistachios); }

/* footer: gravy block becomes a light close */
.bd-footer { background: #F4F1E2; color: var(--bd-gravy); border-top: 1px solid color-mix(in srgb, var(--bd-cherry) 14%, transparent); }
.bd-footer__col h4 { color: var(--bd-cherry); }
.bd-footer__col a { color: var(--bd-gravy); }
.bd-footer__brand-line { color: var(--bd-cherry); }
.bd-footer__bottom { border-top-color: color-mix(in srgb, var(--bd-cherry) 14%, transparent); }

/* soften remaining heavy fills */
.bd-theme--cream .bd-dish-card--placeholder { background: #F4F1E2; }
.bd-theme--cream .bd-person__photo { background: #F4F1E2; }

/* ---------- Buildings: photo cards + city map (2026-07-09) ---------- */
.bd-bldg-grid { display: grid; gap: var(--bd-space-5); grid-template-columns: 1fr; }
@media (min-width: 640px)  { .bd-bldg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bd-bldg-grid { grid-template-columns: repeat(4, 1fr); } }
.bd-bldg-card { background: #fff; border: 1px solid var(--c-line, rgba(80,0,8,.14)); border-radius: var(--bd-radius-lg); overflow: hidden; }
.bd-bldg-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.bd-bldg-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--bd-ease-out); }
.bd-bldg-card:hover .bd-bldg-card__img { transform: scale(1.04); }
.bd-bldg-card__fill { width: 100%; height: 100%; display: grid; place-items: center; background: #F4F1E2; }
.bd-bldg-card__fill span { font-family: var(--bd-font-display); font-weight: 900; font-size: var(--bd-size-5xl); color: var(--bd-honeydew); }
.bd-bldg-card__status {
  position: absolute; top: var(--bd-space-3); left: var(--bd-space-3);
  font-family: var(--bd-font-body); font-weight: 900; font-size: var(--bd-size-xs);
  text-transform: uppercase; letter-spacing: var(--bd-track-wider);
  padding: 4px 12px; border-radius: var(--bd-radius-pill);
  background: #fff; color: var(--bd-cherry); border: 1px solid var(--c-line, rgba(80,0,8,.14));
}
.bd-bldg-card__status--live { background: var(--bd-orange); color: var(--bd-cream); border-color: var(--bd-orange); }
.bd-bldg-card__body { padding: var(--bd-space-4) var(--bd-space-4) var(--bd-space-5); }
.bd-bldg-card__name { font-family: var(--bd-font-display); font-weight: 900; text-transform: uppercase; letter-spacing: var(--bd-track-tight); font-size: var(--bd-size-lg); color: var(--bd-cherry); margin: 0 0 var(--bd-space-1); line-height: var(--bd-lh-snug); }
.bd-bldg-card__address { margin: 0; font-size: var(--bd-size-sm); color: var(--bd-gravy); opacity: .8; }
.bd-bldg-card__type { margin: var(--bd-space-1) 0 0; font-size: var(--bd-size-xs); font-weight: 700; text-transform: uppercase; letter-spacing: var(--bd-track-wide); color: var(--bd-gravy); opacity: .55; }

.bd-bldg-map { height: 460px; border-radius: var(--bd-radius-lg); overflow: hidden; border: 1px solid var(--c-line, rgba(80,0,8,.14)); margin-top: var(--bd-space-6); }
.bd-bldgpin { display: block; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--bd-cherry); box-shadow: 0 1px 6px rgba(32,4,0,.25); }
.bd-bldgpin--live { background: var(--bd-orange); border-color: #fff; }



/* Branded freezer product render (square art on white) */
.bd-lobby__img--product { object-fit: contain; background:#fff; aspect-ratio: 5/6; border: 1px solid color-mix(in srgb, var(--bd-gravy) 12%, transparent); }

/* ---------- First-meal-free signup form ---------- */
.bd-field__hint { display:block; margin-top: var(--bd-space-2); font-size: var(--bd-size-xs); opacity:.62; line-height:1.4; }
.bd-check { display:flex; align-items:flex-start; gap: var(--bd-space-3); font-size: var(--bd-size-sm); line-height:1.4; cursor:pointer; margin-top: calc(-1 * var(--bd-space-2)); }
.bd-check input[type="checkbox"] { flex:none; width:18px; height:18px; margin-top:1px; accent-color: var(--bd-orange); cursor:pointer; }
.bd-join-status { min-height:1.2em; margin: var(--bd-space-3) 0 0; font-size: var(--bd-size-sm); font-weight:700; color: var(--bd-orange); }
.bd-join-status.is-err { color: var(--bd-cherry); }
.bd-join-form.is-sent .bd-field, .bd-join-form.is-sent .bd-check, .bd-join-form.is-sent .bd-btn { opacity:.5; pointer-events:none; }
