/* ==========================================================================
   Hello Chef — Join Us paid-media landing page
   Source of truth: Figma "HomePage Website" → section "PAID MEDIA" (303:35838)
   Desktop comp 184:84272 (1440) · Mobile comp 303:2611 (393)
   Mobile-first; desktop rules live under @media (min-width: 1024px).
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: 'Publica Sans'; src: url('../fonts/PublicaSans-Regular.woff2?v=2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Publica Sans'; src: url('../fonts/PublicaSans-Medium.woff2?v=2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Publica Sans'; src: url('../fonts/PublicaSans-Bold.woff2?v=2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens (Figma) ---------- */
:root {
  --red: #E22B12;
  --red-alt: #E42A12;
  --red-hover: #B6220E;
  --red-active: #89190B;
  --red-deep: #B5220F;
  --coral: #EC6E58;
  --salmon: #F1A084;
  --peach: #F6E3D8;
  --glow: #F7C1A6;
  --hero-bg: #FDF4EC;
  --page: #FEFBF7;
  --cream: #FAF3EB;
  --ink: #2F2B2C;
  --gray: #747172;
  --hair: #979295;
  --line: #E4E2E3;
  --amber: #F59E0B;
  --green: #1F5D3F;
  --coral-text: #ED8670;
  --pink-text: #F7A79D;
  --petal: #F6E3D8;
  --petal-d: #F9DDCA;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --sans: 'Publica Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --gx: 24px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* iOS Safari paints BOTH bar backdrops (status bar, docked address bar) and the
   rubber-band areas from the single canvas colour. The canvas carries the hero
   tint at the top and swaps to the page colour once scrolled (html.scrolled);
   the red behind the bottom bar / overscroll comes from the fixed strip on
   body::after. Same approach as compare-meal-kits. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: #F6E3D8; scroll-behavior: smooth; transition: background-color .25s ease; }
html.scrolled { background: var(--page); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  background: transparent;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::after { content: ''; position: fixed; left: 0; right: 0; bottom: 0; height: 45vh; background: var(--red-deep); z-index: -1; pointer-events: none; }
main { position: relative; z-index: 0; background: var(--page); }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
em { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Breakpoint toggles — elements keep their own display, these only hide. */
@media (max-width: 1023.98px) { .d-only { display: none !important; } }
@media (min-width: 1024px) { .m-only { display: none !important; } }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gx); }
.wrap--wide { max-width: 1224px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-weight: 500; letter-spacing: -0.02em; line-height: 21px;
  transition: background-color .15s ease-out, color .15s ease-out, box-shadow .15s ease-out;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); }
.btn-primary:active { background: var(--red-active); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #F0E4D3; }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #F3E9DC; }
.btn-outline { background: transparent; color: var(--red); box-shadow: 0 0 0 1px var(--red-alt); }
.btn-outline:hover { background: #FEF3F1; }
.btn-block { width: 100%; height: 56px; padding: 12px 32px; font-size: 16px; }

/* ---------- Announcement bar ---------- */
.annc {
  display: flex; align-items: center; justify-content: center;
  min-height: 51px; padding: 16px 24px;
  background: var(--coral); color: #fff; text-decoration: none;
  font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; text-align: center;
}
.annc u { text-decoration: underline; text-underline-offset: 2px; }
.annc { transition: background-color .2s ease-out; }
.annc:hover { background: #DE5B44; }
.annc:active { background: #D04F39; }

/* ---------- Top zone (mobile gradient spans nav + hero) ---------- */
/* Figma "Rectangle 19": peach → page over the announcement/nav/hero zone, resolving
   exactly to the page colour at the zone's bottom edge so there is no seam. */
.top { background: linear-gradient(180deg, #F6E3D8 0%, #FEFBF7 100%); }
.nav { display: flex; align-items: flex-start; padding: 28px var(--gx) 8px; }
.nav .logo { width: 148px; height: 28px; }

/* ---------- Hero ---------- */
.hero { padding: 16px 0 12px; }
.hero-inner { display: flex; flex-direction: column; gap: 24px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-copy-text { display: flex; flex-direction: column; gap: 12px; }
.hero-logo { width: 169px; height: 32px; }

.rating { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-align: left; }
.rating-main { display: inline-flex; align-items: center; gap: 4px; }
.rating .g { width: 20px; height: 20px; }
.rating .stars { color: var(--amber); font-size: 18px; line-height: 1.4; letter-spacing: 0; }
.rating .num, .rating .count { font-size: 16px; line-height: 1.4; letter-spacing: -0.02em; }
.rating .divider { width: 1px; height: 12px; background: var(--ink); }
.rating .label { display: none; }

.hero-headline { display: flex; flex-direction: column; gap: 4px; }
.hero h1 { font-size: 32px; font-weight: 700; line-height: 1.1; letter-spacing: -0.04em; }
.hero-sub { font-size: 17px; line-height: 1.5; letter-spacing: -0.02em; }

.hero-action { display: flex; flex-direction: column; gap: 24px; }
.cta-group { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero .cta-group .btn { width: 100%; height: 56px; font-size: 16px; }
.reassure { font-size: 14px; line-height: 1.4; letter-spacing: -0.01em; color: var(--gray); text-align: center; }

.hero-media { position: relative; height: 240px; border-radius: 24px; overflow: hidden; background: var(--page); }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.meals-badge {
  position: absolute; right: 18px; bottom: 18px;
  padding: 8px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 0.5px var(--hair);
  display: flex; flex-direction: column;
}
.meals-badge b { font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: -0.4px; color: var(--red); }
.meals-badge span { font-size: 13px; line-height: 1.2; letter-spacing: -0.4px; color: var(--ink); }

.proof { display: flex; flex-direction: column; gap: 8px; }
.proof li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.4; letter-spacing: -0.02em; }
.proof .tick { font-weight: 700; font-size: 20px; line-height: 1.25; color: var(--green); letter-spacing: -0.02em; }
.proof-rule { display: none; }

/* ---------- Section headings ---------- */
.h2 { font-size: 30px; font-weight: 500; line-height: 1.1; letter-spacing: -0.04em; }
.h2 .accent { color: var(--red); }

/* ---------- Recipes ---------- */
.recipes { padding: 48px var(--gx) 64px; display: flex; flex-direction: column; gap: 20px; }
.cards { display: flex; flex-direction: column; gap: 12px; }
.card {
  display: flex; flex-direction: column; text-align: left; width: 100%;
  background: var(--page); border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 28px -24px rgba(47, 43, 44, .18); }
.card-photo { position: relative; height: 220px; overflow: hidden; background: var(--peach); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-photo.triptych { display: flex; gap: 3px; }
.card-photo.triptych img { flex: 1 1 0; min-width: 0; }
.card-body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 4px; }
.card-body h3 { font-size: 18px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.card-body p { font-size: 16px; line-height: 1.4; letter-spacing: -0.02em; max-width: 283px; }
.express {
  position: absolute; right: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 4px; padding: 6px 8px;
  background: var(--ink); color: #fff; border-radius: 12px;
  font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em;
}
.express img { width: 14px; height: 14px; }

/* ---------- Everything you need ---------- */
.everything { background: var(--ink); color: #fff; padding: 64px 0; }
.everything-row { display: flex; flex-direction: column; gap: 24px; }
.everything .h2 { color: #fff; }
.everything .h2 .accent { color: var(--coral-text); }
.everything-head { display: flex; flex-direction: column; gap: 4px; }
.everything-sub { font-size: 17px; line-height: 1.6; letter-spacing: -0.02em; }
.everything-media { border-radius: 20px; overflow: hidden; height: 220px; }
.everything-media img { width: 100%; height: 100%; object-fit: cover; }
.everything-body { font-size: 16px; line-height: 1.4; letter-spacing: -0.02em; }
.everything-rule { height: 1px; background: var(--hair); opacity: .3; }
.features { display: flex; flex-direction: column; gap: 32px; }
.features li { display: flex; flex-direction: column; gap: 4px; font-size: 16px; line-height: 1.4; letter-spacing: -0.02em; }
.features b { font-weight: 700; }
.everything .btn { height: 56px; padding: 12px 32px; font-size: 16px; align-self: flex-start; }

/* ---------- Marquee strip ---------- */
.marquee { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; }
.marquee::-webkit-scrollbar { display: none; }
.marquee.dragging { cursor: grabbing; }
.marquee-track { display: flex; align-items: center; width: max-content; }
.strip { background: var(--salmon); height: 70px; padding: 24px 0; }
.strip .marquee-track { gap: 16px; }
.strip span { font-size: 16px; line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.strip .sep { font-size: 12px; }

/* ---------- Three steps ---------- */
.steps { padding: 64px var(--gx); }
.steps-row { display: flex; flex-direction: column; gap: 32px; }
.steps-block { display: flex; flex-direction: column; gap: 24px; }
.steps-media { height: 200px; border-radius: 24px; overflow: hidden; }
.steps-media img { width: 100%; height: 100%; object-fit: cover; }
.steps-content { display: flex; flex-direction: column; gap: 24px; }
.steps .h2 { max-width: 310px; }
.steps-list { display: flex; flex-direction: column; gap: 32px; }
.step { display: flex; align-items: flex-start; gap: 16px; }
.step-num { position: relative; flex: none; width: 36px; height: 36px; border-radius: 6.86px; background: var(--page); overflow: hidden; }
.step-num img { position: absolute; left: 10px; top: 8px; width: 23px; height: 23px; }
.step-num span { position: absolute; left: 4px; top: 2px; font-size: 31px; font-weight: 700; line-height: 1; letter-spacing: -0.01em; color: var(--red); }
.step-text { display: flex; flex-direction: column; gap: 2px; }
.step-text h3 { font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; }
.step-text p { font-size: 15px; line-height: 1.3; letter-spacing: -0.02em; }
.steps .btn { height: 56px; padding: 12px 32px; font-size: 16px; }

/* ---------- Behind every box ---------- */
.behind { background: var(--peach); padding: 64px 0; }
.behind-inner { display: flex; flex-direction: column; gap: 24px; }
.behind-head { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.behind-head p { font-size: 16px; line-height: 1.4; letter-spacing: -0.02em; padding: 0 20px; }
.behind-cards { display: flex; flex-direction: column; gap: 12px; }
.bcard { display: flex; flex-direction: column; text-align: left; width: 100%; border-radius: 24px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.bcard p { font-size: 16px; line-height: 1.4; letter-spacing: -0.02em; }
.docket { background: var(--page); border-radius: 24px; padding: 24px 20px; }

.bcard-founder { align-items: center; }
.bcard-founder .founder-photo { width: 100%; height: 192px; object-fit: contain; object-position: bottom; }
.bcard-founder .docket { margin-top: -4px; position: relative; box-shadow: 0 -56px 46px -32px var(--glow); width: 100%; }
.founder-photo-d { display: none; }

.bcard-suppliers .docket { padding: 24px 0; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.bcard-suppliers p { padding: 0 20px; }
.logo-rows { display: flex; flex-direction: column; gap: 0; }
.logo-row { height: 54px; }
.logo-row .marquee-track { gap: 16px; align-items: center; }
.logo-row img { width: 54px; height: auto; flex: none; }

.bcard-bcorp .docket { display: flex; flex-direction: column; gap: 16px; }
.bcorp-mark { width: 47px; height: 79px; }
.bcorp-rings, .bcorp-mask { display: none; }

/* ---------- Reviews ---------- */
.reviews { padding: 64px var(--gx); display: flex; flex-direction: column; gap: 24px; border-bottom: 1px solid var(--line); }
.reviews-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; order: 1; }
.stats { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.stat { display: inline-flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); }
.stat img { width: 20px; height: 20px; }
.stat-google { gap: 12px; }
.stat-google .stars-wrap { display: inline-flex; align-items: center; gap: 4px; font-weight: 400; }
.stat-google .stars-wrap img { width: 17px; height: 17px; }
.stat-google .stars { font-size: 16px; letter-spacing: -0.02em; }

.reels-wrap { order: 2; position: relative; margin-right: calc(-1 * var(--gx)); }
.reels { display: flex; gap: 12px; height: 357px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-right: var(--gx); }
.reels::-webkit-scrollbar { display: none; }
.reel-col { flex: 0 0 calc((100% - 12px) / 2.15); display: flex; flex-direction: column; gap: 12px; scroll-snap-align: start; }
.reel { position: relative; width: 100%; border-radius: 16px; overflow: hidden; background: var(--peach); text-align: left; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel .play {
  position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; transform: translate(-50%, -50%);
  border-radius: 999px; background: rgba(255, 255, 255, .92); display: grid; place-items: center;
  transition: opacity .2s ease, transform .2s ease; pointer-events: none;
}
.reel .play::after { content: ''; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--ink); margin-left: 3px; }
.reel.playing .play { opacity: 0; }
.reel .mute {
  position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(20, 18, 16, .55); color: #fff; display: none; align-items: center; justify-content: center;
  transition: background-color .15s ease;
}
.reel .mute:hover { background: rgba(20, 18, 16, .8); }
.reel .mute svg { width: 17px; height: 17px; }
.reel.playing .mute { display: flex; }
.reels-arrow {
  display: none; position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 999px;
  background: #fff; box-shadow: 0 4px 16px rgba(47, 43, 44, .16); z-index: 2; place-items: center; opacity: 0; transition: opacity .2s ease;
}
.reels-arrow::before { content: ''; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.reels-arrow.prev { left: -22px; } .reels-arrow.prev::before { transform: rotate(135deg); margin-left: 4px; }
.reels-arrow.next { right: -22px; } .reels-arrow.next::before { transform: rotate(-45deg); margin-right: 4px; }
.reels-arrow[disabled] { opacity: 0 !important; pointer-events: none; }

.reviews-cta { order: 3; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 12px; }
.reviews-cta p { font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; color: var(--gray); text-align: center; }
.reviews-cta .btn { width: 100%; height: 56px; padding: 16px 32px 14px; font-size: 16px; line-height: 1.4; }

.quotes { order: 4; display: flex; flex-direction: column; gap: 12px; }
.quote {
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 272px; text-align: left; width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px 20px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.quote:hover, .bcard:hover { transform: translateY(-4px); box-shadow: 0 24px 28px -24px rgba(47, 43, 44, .18); }
.quote-top { display: flex; flex-direction: column; gap: 16px; }
.quote-top img { width: 20px; height: 20px; }
.quote-text { font-size: 16px; line-height: 1.4; letter-spacing: -0.02em; }
.author { display: flex; align-items: center; gap: 12px; }
.author img { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; }
.author-meta { display: flex; flex-direction: column; }
.author-meta b { font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: -0.02em; }
.author-meta .stars { font-size: 16px; line-height: 1.3; color: var(--amber); margin-top: -2px; letter-spacing: -0.02em; }
.quote-3 { display: none; }

/* ---------- Final CTA + footer ---------- */
.final { background: var(--red-deep); color: #fff; }
.seeds { height: 63px; background: url('../images/seeds-strip.png') repeat-x left 20px / auto 43px; }
.final-cta { position: relative; overflow: hidden; padding: 110px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ring { position: absolute; left: 50%; top: 290px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(250, 243, 235, .14); pointer-events: none; }
.ring-lg { width: 700px; height: 700px; transform: translate(-50%, -50%); }
.ring-sm { width: 480px; height: 480px; transform: translate(-50%, -50%); }
.final-cta > :not(.ring) { position: relative; }
.final-cta h2 { font-size: 40px; font-weight: 500; line-height: 1.04; letter-spacing: -0.04em; color: var(--cream); max-width: 334px; }
.final-cta h2 em { color: var(--pink-text); }
.final-sub { margin-top: 22px; font-size: 18px; line-height: 1.4; letter-spacing: -0.02em; max-width: 300px; }
.final-cta .btn { margin-top: 36px; height: 56px; padding: 18px 24px; font-size: 16px; }
.guarantee { margin-top: 22px; font-size: 15px; line-height: 1.6; letter-spacing: 0; color: rgba(255, 255, 255, .8); max-width: 300px; }
.footer {
  border-top: 0.5px solid rgba(255, 255, 255, .2);
  padding: 42px 32px calc(56px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
}
.footer .logo { width: 137px; height: 26px; }
.footer p { font-size: 14px; line-height: 1.6; letter-spacing: 0; }
.footer .dot { display: none; }

/* ---------- Sticky header (desktop) ---------- */
.sticky-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900; height: 74px; background: var(--page);
  transform: translateY(-100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s linear .3s; display: none;
}
.sticky-header.on { transform: none; visibility: visible; transition-delay: 0s; }
.sticky-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sticky-header .logo { width: 137px; height: 26px; }
.sticky-header .btn { height: 48px; padding: 12px 20px; font-size: 14px; line-height: 17px; color: var(--cream); }

/* ---------- Sticky footer (mobile) ---------- */
.sticky-footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: var(--page);
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px 24px calc(16px + env(safe-area-inset-bottom));
  transform: translateY(100%); visibility: hidden;
  transition: transform .2s ease-out, visibility 0s linear .2s;
}
.sticky-footer.on { transform: none; visibility: visible; transition-delay: 0s; }
.sticky-note { font-size: 14px; line-height: 1.4; letter-spacing: -0.01em; color: var(--gray); text-align: center; }
.sticky-footer .btn { width: 100%; height: 56px; padding: 12px; font-size: 15px; letter-spacing: -0.4px; }

/* ---------- Reveal / load-in ---------- */
.will-reveal { opacity: 0; transform: translateY(30px) scale(.985); filter: blur(6px); }
.in-view {
  opacity: 1; transform: none; filter: none;
  transition: opacity .8s var(--ease), transform .9s var(--ease-out), filter .7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.load-in { opacity: 0; transform: translateY(18px); animation: load-in .9s var(--ease-out) forwards; animation-delay: var(--load-delay, 0ms); }
@keyframes load-in { to { opacity: 1; transform: none; } }

/* ---------- Sheets (bottom sheet <768 / centred modal ≥768) ---------- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 1001; background: rgba(47, 43, 44, .45);
  opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility 0s linear .28s;
}
.sheet-backdrop.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1002; display: flex; flex-direction: column;
  max-height: 92vh; background: var(--page); border-radius: 24px 24px 0 0;
  padding: 14px 0 calc(16px + env(safe-area-inset-bottom));
  transform: translateY(100%); visibility: hidden;
  transition: transform .32s var(--ease), visibility 0s linear .32s;
}
.sheet.open { transform: none; visibility: visible; transition-delay: 0s; }
.sheet .handle { width: 40px; height: 4px; border-radius: 999px; background: var(--line); margin: 0 auto 14px; flex: none; }
.sheet-scroll { overflow-y: auto; overscroll-behavior: contain; padding: 0 24px; -webkit-overflow-scrolling: touch; flex: 1 1 auto; min-height: 0; }
.sheet-title { font-size: 26px; font-weight: 500; line-height: 1.15; letter-spacing: -0.04em; }
.sheet-sub { margin-top: 6px; font-size: 16px; line-height: 1.4; letter-spacing: -0.02em; color: var(--gray); }
.sheet-foot { flex: none; padding: 18px 24px 0; }
.sheet-foot .btn { width: 100%; height: 56px; font-size: 16px; }
.sheet-close {
  position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 999px; background: var(--peach);
  display: grid; place-items: center; z-index: 2;
}
.sheet-close::before, .sheet-close::after { content: ''; position: absolute; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; }
.sheet-close::before { transform: rotate(45deg); } .sheet-close::after { transform: rotate(-45deg); }

/* Recipe popup */
.week-bar { display: flex; gap: 8px; margin: 16px -24px 0; padding: 0 24px; overflow-x: auto; scrollbar-width: none; }
.week-bar::-webkit-scrollbar { display: none; }
.week-pill { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; transition: background-color .15s, color .15s; }
.week-pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.rp-body { position: relative; margin-top: 20px; }
.rp-carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 24px; scrollbar-width: none; margin: 0 -24px; padding: 0 24px 4px; }
.rp-card { cursor: pointer; }
.toast {
  position: absolute; left: 50%; bottom: 92px; z-index: 3; max-width: calc(100% - 48px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em;
  box-shadow: 0 8px 24px -8px rgba(47, 43, 44, .35);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.rp-carousel::-webkit-scrollbar { display: none; }
.rp-card { flex: 0 0 250px; scroll-snap-align: start; }
.rp-img { position: relative; height: 280px; border-radius: 16px; overflow: hidden; background: var(--peach); }
.rp-img img { width: 100%; height: 100%; object-fit: cover; }
.new-chip { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: var(--green); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: -0.01em; }
.rp-name { margin-top: 12px; font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rp-meta { margin-top: 4px; font-size: 14px; line-height: 1.4; letter-spacing: -0.02em; color: var(--gray); }
.rp-arrow { display: none; position: absolute; top: 140px; width: 44px; height: 44px; border-radius: 999px; background: #fff; box-shadow: 0 4px 16px rgba(47, 43, 44, .16); z-index: 2; transform: translateY(-50%); transition: opacity .2s; place-items: center; }
.rp-arrow::before { content: ''; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.rp-arrow.prev { left: -46px; } .rp-arrow.prev::before { transform: rotate(135deg); margin-left: 4px; }
.rp-arrow.next { right: -46px; } .rp-arrow.next::before { transform: rotate(-45deg); margin-right: 4px; }
.rp-arrow[disabled] { opacity: 0; pointer-events: none; }
.rp-state { padding: 24px 0; font-size: 16px; line-height: 1.4; color: var(--gray); }
.rp-state .btn { margin-top: 12px; height: 44px; padding: 0 20px; font-size: 14px; }
.skeleton { display: flex; gap: 20px; overflow: hidden; }
.skeleton div { flex: 0 0 250px; }
.skeleton .sk-img, .skeleton .sk-line { border-radius: 16px; background: linear-gradient(90deg, var(--peach) 25%, #FBF1EA 50%, var(--peach) 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton .sk-img { height: 280px; }
.skeleton .sk-line { height: 16px; margin-top: 12px; width: 80%; border-radius: 8px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Behind-box popup */
.bx-media { border-radius: 16px; overflow: hidden; margin-bottom: 20px; }
.bx-media-photo { height: 300px; }
.bx-media-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.bx-media-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 30px; padding: 30px 20px; background: var(--hero-bg); }
.bx-media-logos img { width: 64px; height: auto; align-self: center; flex: none; }
.bx-media-bcorp { position: relative; height: 220px; background: var(--hero-bg); display: grid; place-items: center; overflow: hidden; }
.bx-media-bcorp .rings { position: absolute; width: 520px; height: 520px; max-width: none; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .6; }
.bx-media-bcorp .mark { position: relative; width: 78px; height: 130px; }
.bx-body { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.bx-body p { font-size: 16px; line-height: 1.5; letter-spacing: -0.02em; }

/* Reviews popup */
.rv-head { position: relative; padding: 0 24px; flex: none; }
.rv-head .sheet-sub { display: inline-flex; align-items: center; gap: 8px; }
.rv-head .sheet-sub .stars { color: var(--amber); letter-spacing: 0; }
.chips { display: flex; gap: 8px; margin: 16px -24px 0; padding: 0 24px 12px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; letter-spacing: -0.02em; white-space: nowrap; transition: background-color .15s, color .15s; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.rv-list { display: flex; flex-direction: column; }
.rv-item { padding: 20px 0; border-bottom: 1px solid var(--line); border-radius: 12px; transition: background-color .3s; }
.rv-item:last-child { border-bottom: 0; }
.rv-item.flash { animation: review-flash 1.3s ease-out; }
@keyframes review-flash { 0% { background: var(--peach); box-shadow: 0 0 0 8px var(--peach); } 100% { background: transparent; box-shadow: 0 0 0 8px transparent; } }
.rv-top { display: flex; align-items: center; gap: 12px; }
.rv-avatar { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; flex: none; display: grid; place-items: center; color: #fff; font-weight: 500; font-size: 16px; }
.rv-name { font-size: 16px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.rv-date { font-size: 14px; color: var(--gray); letter-spacing: -0.02em; line-height: 1.3; }
.rv-g { margin-left: auto; width: 18px; height: 18px; }
.rv-stars { margin-top: 10px; font-size: 14px; letter-spacing: 1px; color: var(--amber); }
.rv-stars .off { color: var(--line); }
.rv-text { margin-top: 8px; font-size: 16px; line-height: 1.5; letter-spacing: -0.02em; white-space: pre-line; }
.rv-photo { margin-top: 12px; border-radius: 12px; max-width: 100%; }
.rv-empty { padding: 32px 0; color: var(--gray); text-align: center; }

/* Reel overlay (desktop) */
.reel-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(0, 0, 0, .8); display: none; align-items: center; justify-content: center; }
.reel-overlay.open { display: flex; }
.reel-overlay .reel-card { position: relative; width: 380px; max-width: calc(100vw - 48px); aspect-ratio: 9 / 16; max-height: calc(100vh - 48px); background: #000; border-radius: 16px; overflow: hidden; }
.reel-overlay video { width: 100%; height: 100%; object-fit: contain; }
.reel-overlay .sheet-close { background: #fff; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .will-reveal { opacity: 1; transform: none; filter: none; }
  .load-in { animation: none; opacity: 1; transform: none; }
  .card, .quote, .bcard, .sticky-header, .sticky-footer, .sheet, .sheet-backdrop { transition: none; }
  .skeleton .sk-img, .skeleton .sk-line { animation: none; }
}

/* ==========================================================================
   Tablet+ (sheets become centred modals)
   ========================================================================== */
@media (min-width: 768px) {
  .sheet {
    left: 50%; right: auto; bottom: auto; top: 50%;
    border-radius: 24px; padding: 36px 0 32px;
    transform: translate(-50%, -46%); opacity: 0;
    transition: transform .28s var(--ease), opacity .28s ease, visibility 0s linear .28s;
  }
  .sheet.open { transform: translate(-50%, -50%); opacity: 1; }
  .sheet .handle { display: none; }
  .sheet--narrow { width: min(640px, 100vw - 128px); max-height: min(86vh, 860px); }
  .sheet--wide { width: min(1080px, 100vw - 128px); max-height: min(82vh, 860px); padding: 40px 0; }
  .sheet-scroll { padding: 0 48px; }
  .sheet-foot { padding: 32px 48px 0; }
  .rv-head { padding: 0 48px; }
  .sheet-close { right: 24px; top: 24px; }
  .week-bar { flex-wrap: wrap; margin: 16px 0 0; padding: 0; overflow: visible; }
  .chips { flex-wrap: wrap; margin: 16px 0 0; padding: 0 0 12px; overflow: visible; }
  .rp-carousel { margin: 0 -48px; padding: 0 48px 4px; scroll-padding: 0 48px; }
  .toast { bottom: 108px; }
  .rp-arrow { display: grid; }
  .rp-arrow.prev { left: -4px; } .rp-arrow.next { right: -4px; }
  .reels-arrow { display: grid; }
}

/* ==========================================================================
   Desktop (1440 comp)
   ========================================================================== */
@media (min-width: 1024px) {
  .btn-block { width: auto; }

  .annc { min-height: 45px; padding: 12px 24px; font-size: 16px; }

  .top { background: none; }
  .hero { background: linear-gradient(180deg, #F6E3D8 0%, #FDF4EC 100%); padding: 64px 0 42px; }
  .hero-inner { gap: 42px; align-items: center; }
  .hero-grid { display: flex; gap: 64px; align-items: stretch; width: 100%; }
  .hero-copy { flex: none; width: 428px; gap: 32px; }
  .hero-copy-top { display: flex; flex-direction: column; gap: 24px; }
  .hero-copy-text { display: flex; flex-direction: column; gap: 16px; }
  .hero-copy .hero-headline { gap: 4px; }

  .rating .num, .rating .divider { display: none; }
  .rating .stars { font-size: 20px; }
  .rating .label { display: inline; font-size: 18px; line-height: 1.6; letter-spacing: -0.02em; }
  .rating .count { display: none; }

  .hero h1 { font-size: 52px; letter-spacing: -0.03em; }
  .hero-sub { font-size: 20px; line-height: 1.6; }
  .hero-action { gap: 0; }
  .cta-group { gap: 12px; align-self: flex-start; width: 361px; }
  .hero .cta-group .btn { width: 361px; padding: 12px; }
  .reassure { font-size: 16px; }

  .hero-media-col { flex: 1 1 auto; min-width: 0; padding-top: 24px; }
  .hero-media {
    height: 456px; border-radius: 24px; background: var(--page);
    box-shadow: 0 0 0 0.5px #F3CFC0, 0 24px 20px -30px var(--glow);
  }
  .meals-badge { right: 16px; bottom: 16px; }
  .meals-badge b { font-size: 18px; }
  .meals-badge span { font-size: 14px; }

  .proof-wrap { width: 100%; display: flex; flex-direction: column; gap: 24px; }
  .proof-rule { display: block; height: 1px; background: rgba(151, 146, 149, .35); }
  .proof { flex-direction: row; gap: 8px; }
  .proof li { flex: 1 1 0; align-items: center; }
  .proof li:nth-child(2) { justify-content: center; }
  .proof li:nth-child(3) { justify-content: flex-end; }
  .proof .tick { line-height: 1; }

  .h2 { font-size: 32px; }

  .recipes { padding: 82px var(--gx); }
  .recipes .h2 { font-size: 36px; }
  .cards { flex-direction: row; gap: 24px; }
  .card { flex: 1 1 0; min-width: 0; height: 334px; }
  .card-body h3 { font-size: 20px; }
  .card-body p { max-width: none; }

  .everything { padding: 82px 0; }
  .everything-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
  .everything-copy { width: 440px; flex: none; display: flex; flex-direction: column; gap: 36px; }
  .everything-head { gap: 6px; }
  .everything .h2 { font-size: 36px; }
  .everything-sub { font-size: 18px; line-height: 1.4; }
  .everything-media-col { width: 600px; flex: none; border-radius: 24px; }
  .everything-media { height: 431px; }

  .steps { padding: 110px var(--gx); }
  .steps-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; }
  .steps-media { width: 324px; height: 433px; flex: none; }
  .steps-content { width: 700px; flex: none; padding-top: 48px; gap: 48px; }
  .steps-block { gap: 32px; }
  .steps .h2 { max-width: none; }
  .step { align-items: center; gap: 24px; }
  .step-num { width: 42px; height: 42px; border-radius: 8px; }
  .step-num img { left: 12px; top: 9px; width: 27px; height: 27px; }
  .step-num span { left: 5px; top: 3px; font-size: 36px; }
  .step-text h3 { font-size: 20px; }
  .step-text p { font-size: 16px; line-height: 1.4; }
  .steps .btn { padding: 16px 32px 14px; line-height: 1.4; align-self: flex-start; }

  .behind { background: transparent; padding: 110px 0; border-top: 1px solid rgba(26, 23, 20, .15); border-bottom: 1px solid rgba(26, 23, 20, .15); }
  .behind-inner { gap: 32px; }
  .behind-head { text-align: left; align-items: flex-start; }
  .behind-head p { padding: 0; }
  .behind-cards { flex-direction: row; gap: 32px; align-items: flex-end; }
  .bcard { background: #fff; border: 1px solid var(--line); overflow: hidden; height: 402px; }
  .bcard-founder { width: 335px; flex: none; }
  .bcard-founder .founder-photo { display: none; }
  .founder-photo-d { display: block; width: 100%; height: 240px; object-fit: cover; }
  .bcard-founder .docket { margin: 0; box-shadow: none; padding: 20px 24px 32px; background: transparent; border-radius: 0; }
  .bcard-suppliers, .bcard-bcorp { width: 357px; flex: none; }
  .bcard-suppliers .docket { padding: 0; gap: 0; border-radius: 0; background: transparent; }
  .logo-rows { height: 240px; background: var(--hero-bg); padding: 24px 0; gap: 8px; justify-content: center; }
  .logo-row { height: 72px; }
  .logo-row .marquee-track { height: 72px; }
  .logo-row img { width: 72px; }
  .bcard-suppliers p, .bcard-bcorp p { padding: 20px 24px 24px; }
  .bcard-bcorp .docket { padding: 0; gap: 0; border-radius: 0; background: transparent; }
  .bcorp-top { position: relative; height: 240px; background: var(--hero-bg); display: grid; place-items: center; overflow: hidden; }
  .bcorp-rings { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
  .bcorp-mask { display: block; position: absolute; width: 149px; height: 159px; border-radius: 60px; background: var(--hero-bg); left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .bcorp-mark { position: relative; width: 63px; height: 105px; }

  .reviews { padding: 82px var(--gx) 110px; gap: 32px; align-items: center; border-bottom: 0; }
  .reviews .h2 { font-size: 30px; }
  .quotes { order: 2; flex-direction: row; gap: 32px; width: 100%; }
  .quote { flex: 1 1 0; min-width: 0; height: 272px; }
  .quote-3 { display: flex; }
  .reviews-cta { order: 3; gap: 16px; padding: 0; }
  .reviews-cta p { color: var(--ink); font-weight: 400; }
  .reviews-cta .btn { width: auto; background: var(--red); color: #fff; box-shadow: none; }
  .reviews-cta .btn:hover { background: var(--red-hover); }
  .reviews-cta .btn:active { background: var(--red-active); }
  .reels-wrap { order: 4; width: 100%; margin: 0; }
  .reels { height: 456px; border-radius: 24px; padding-right: 0; scroll-snap-type: none; }
  .reel-col { flex: 0 0 calc((100% - 60px) / 6); }
  .reels-wrap:hover .reels-arrow { opacity: 1; }

  .final-cta { padding: 110px 0; }
  .ring { top: 290px; }
  .final-cta h2 { font-size: 42px; max-width: none; }
  .final-sub { max-width: none; }
  .final-cta .btn { height: 54px; padding: 18px 32px; font-size: 15px; line-height: 18px; }
  .guarantee { font-size: 16px; max-width: none; }
  .footer { padding: 42px 0; }
  .footer p { font-size: 16px; }
  .footer .dot { display: inline; }
  .footer br { display: none; }

  .sticky-header { display: block; }
  .sticky-footer { display: none; }
}

/* ==========================================================================
   Ultra-wide (≥1920): widen the content column to 1320px (the homepage's
   ultra-wide container) and let the fixed-width rows grow into it. Desktop
   (1024–1919) stays on the 1440 Figma comp: 1112px column, 164px gutters.
   ========================================================================== */
@media (min-width: 1920px) {
  .wrap { max-width: 1368px; }
  .wrap--wide { max-width: 1432px; }
  .everything-row { justify-content: flex-start; gap: 64px; }
  .everything-media-col { width: auto; flex: 1 1 600px; min-width: 0; max-width: 800px; }
  /* photo keeps the comp's 431px height and simply shows more of the frame */
  .steps-row { gap: 88px; }
  .steps-media { width: 500px; }
  .steps-content { width: auto; flex: 1 1 auto; min-width: 0; }
  .bcard-founder { width: auto; flex: 335 1 0; min-width: 0; }
  .bcard-suppliers, .bcard-bcorp { width: auto; flex: 357 1 0; min-width: 0; }
}
