/* ---------------------------------------------------------------------------
   Dr's Kitchen - supplementary utilities
   ---------------------------------------------------------------------------
   assets/styles.css is the ORIGINAL compiled Tailwind build from the Horizons
   app. It only contains the utility classes that app happened to use, so any
   class added to the markup afterwards silently does nothing.

   This file defines the extra utilities the newer pages need, written to match
   Tailwind's own output (same variables, same breakpoints: sm 640 / md 768 /
   lg 1024 / xl 1280) so they compose correctly with the original stylesheet.

   Brand colours: #474b2a rgb(71 75 42)   | #6a6e32 rgb(106 110 50)
                  #f3f6ea rgb(243 246 234)| #fbc887 rgb(251 200 135)
   --------------------------------------------------------------------------- */

/* ---- spacing ---- */
.m-0{margin:0}
.mb-0{margin-bottom:0}
.mb-2\.5{margin-bottom:.625rem}
.mb-14{margin-bottom:3.5rem}
.mt-3{margin-top:.75rem}
.mt-10{margin-top:2.5rem}
.pb-16{padding-bottom:4rem}
.px-7{padding-left:1.75rem;padding-right:1.75rem}
.bottom-3{bottom:.75rem}

/* ---- sizing ---- */
.h-14{height:3.5rem}
.w-14{width:3.5rem}
.min-h-\[62vh\]{min-height:62vh}

/* ---- type ---- */
.text-\[11px\]{font-size:11px}
.text-6xl{font-size:3.75rem;line-height:1}
.font-extrabold{font-weight:800}
.tracking-\[0\.2em\]{letter-spacing:.2em}

/* ---- brand colours with alpha ---- */
.text-\[\#474b2a\]\/75{color:rgb(71 75 42 / .75)}
.text-\[\#474b2a\]\/85{color:rgb(71 75 42 / .85)}
.text-\[\#f3f6ea\]\/60{color:rgb(243 246 234 / .6)}
.text-\[\#f3f6ea\]\/80{color:rgb(243 246 234 / .8)}
.text-\[\#f3f6ea\]\/85{color:rgb(243 246 234 / .85)}
.text-\[\#6a6e32\]\/25{color:rgb(106 110 50 / .25)}
.text-\[\#6a6e32\]\/40{color:rgb(106 110 50 / .4)}
.bg-\[\#474b2a\]\/90{background-color:rgb(71 75 42 / .9)}
.bg-\[\#fbc887\]\/30{background-color:rgb(251 200 135 / .3)}
.border-\[\#6a6e32\]\/15{border-color:rgb(106 110 50 / .15)}
.border-\[\#6a6e32\]\/25{border-color:rgb(106 110 50 / .25)}
.border-\[\#f3f6ea\]\/40{border-color:rgb(243 246 234 / .4)}

/* ---- gradients (match Tailwind's variable contract) ---- */
.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}
.from-black\/55{--tw-gradient-from:rgb(0 0 0 / .55) var(--tw-gradient-from-position);--tw-gradient-to:rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}
.via-black\/10{--tw-gradient-to:rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),rgb(0 0 0 / .1) var(--tw-gradient-via-position),var(--tw-gradient-to)}
.from-\[\#6a6e32\]\/\[0\.07\]{--tw-gradient-from:rgb(106 110 50 / .07) var(--tw-gradient-from-position);--tw-gradient-to:rgb(106 110 50 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}
.to-\[\#474b2a\]{--tw-gradient-to:#474b2a var(--tw-gradient-to-position)}

/* ---- shadows ---- */
.drop-shadow{filter:drop-shadow(0 1px 2px rgb(0 0 0 / .3)) drop-shadow(0 1px 1px rgb(0 0 0 / .2))}
.drop-shadow-md{filter:drop-shadow(0 4px 3px rgb(0 0 0 / .35)) drop-shadow(0 2px 2px rgb(0 0 0 / .25))}

/* ---- interaction ---- */
.hover\:bg-\[\#474b2a\]:hover{background-color:#474b2a}
.hover\:bg-\[\#f3f6ea\]\/10:hover{background-color:rgb(243 246 234 / .1)}
.hover\:border-\[\#6a6e32\]:hover{border-color:#6a6e32}
.group:active .group-active\:scale-\[0\.98\]{transform:scale(.98)}

/* ---- long-form copy (legal pages, event detail) ---- */
.prose{color:rgb(71 75 42 / .8);line-height:1.75}
.prose p{margin-bottom:1rem}
.prose strong{color:#474b2a;font-weight:700}
.prose ul{list-style:disc;padding-left:1.25rem;margin-bottom:1rem}
.prose li{margin-bottom:.5rem}
.prose-lg{font-size:1.125rem;line-height:1.8}
.prose-\[\#474b2a\]{color:rgb(71 75 42 / .8)}
.legal-prose a{overflow-wrap:anywhere}

/* ---------------------------------------------------------------------------
   Above-the-fold: the scroll-reveal script sets opacity:0 inline, which made
   hero copy invisible until JS ran (bad first impression, bad LCP). Anything
   inside [data-hero] paints immediately; app.js skips it.
   --------------------------------------------------------------------------- */
[data-hero] [style*="opacity: 0"],
[data-hero] [style*="opacity:0"]{opacity:1 !important;transform:none !important}

/* ---------------------------------------------------------------------------
   Mobile hero: the original split the row 50/50 between the CTA buttons and
   the doctor cut-out, which squeezed "Start Your Restore Plan" onto three
   cramped lines on a 375px screen. Give the buttons the larger share; the
   photo still overflows to the right so the composition is unchanged.
   --------------------------------------------------------------------------- */
@media (max-width:1023px){
  .hero-mobile-buttons{width:58%}
  .hero-mobile-image-wrapper{width:42%}
}
@media (min-width:640px) and (max-width:1023px){
  .hero-mobile-buttons{width:52%}
  .hero-mobile-image-wrapper{width:48%}
}

/* Legibility scrim for sections that place text over photography. */
.photo-scrim::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(to bottom,rgb(28 30 16 / .72),rgb(28 30 16 / .55) 45%,rgb(28 30 16 / .74))}
.photo-scrim > *{position:relative;z-index:1}

/* Numbered step flow (How it works). */
.step-flow{counter-reset:step}
.step-rail{position:relative}
@media (min-width:768px){
  .step-rail::after{content:"";position:absolute;left:0;right:0;top:2.25rem;height:2px;
    background:linear-gradient(to right,rgb(106 110 50 / 0),rgb(106 110 50 / .35) 12%,rgb(106 110 50 / .35) 88%,rgb(106 110 50 / 0));z-index:0}
  .step-rail > *{position:relative;z-index:1}
}

/* Equal-height card copy so uneven text lengths don't leave dead space. */
.card-grid{align-items:stretch}
.card-grid > * > *{height:100%}

/* ===========================================================================
   VISUAL POLISH
   Presentation only — no markup or wording depends on anything below.
   Everything respects prefers-reduced-motion.
   =========================================================================== */

html{scroll-behavior:smooth}
[id]{scroll-margin-top:96px}

/* --- 1. Cinematic scrims -------------------------------------------------
   The photo sections used a single flat wash (bg-black/60). A layered
   vignette + top/bottom falloff gives depth and actually improves contrast
   where the headline sits, rather than greying the whole photo evenly. */
.parallax-bg > [class*="bg-black/"]{
  background-color:transparent !important;
  background-image:
    radial-gradient(120% 90% at 50% 44%, rgba(18,20,10,.20) 0%, rgba(18,20,10,.52) 74%, rgba(18,20,10,.72) 100%),
    linear-gradient(180deg, rgba(18,20,10,.60) 0%, rgba(18,20,10,.26) 36%, rgba(18,20,10,.34) 64%, rgba(18,20,10,.70) 100%);
}
/* Only light text sitting directly on photography gets a shadow. Scoping this
   by colour keeps it off the dark copy inside the cream cards that overlay
   these same sections. */
.parallax-bg .text-white,
.parallax-bg [class*="text-white/"],
.parallax-bg .text-\[\#f3f6ea\],
.parallax-bg [class*="text-\[\#f3f6ea\]/"]{text-shadow:0 2px 16px rgba(12,14,6,.5)}

/* --- 2. Depth on the flat colour blocks ---------------------------------- */
section.bg-\[\#f3f6ea\]{
  background-image:
    radial-gradient(900px 420px at 12% -8%, rgba(106,110,50,.09), transparent 62%),
    radial-gradient(700px 380px at 92% 108%, rgba(251,200,135,.16), transparent 60%);
}
section.bg-white{
  background-image:radial-gradient(1100px 500px at 88% -12%, rgba(106,110,50,.055), transparent 62%);
}

/* --- 3. Section heading flourish ----------------------------------------- */
.text-center > h2.font-display::after{
  content:"";display:block;width:58px;height:3px;border-radius:999px;
  margin:.85rem auto 0;
  background:linear-gradient(90deg,#fbc887,#6a6e32);
  opacity:.9;
}

/* --- 4. Cards: real elevation and a considered hover ---------------------- */
.rounded-xl,.rounded-2xl,.rounded-3xl{transition:box-shadow .45s cubic-bezier(.16,1,.3,1),transform .45s cubic-bezier(.16,1,.3,1)}
[class*="hover:shadow-xl"]:hover,[class*="hover:shadow-2xl"]:hover{
  box-shadow:0 28px 55px -18px rgba(52,56,28,.34), 0 10px 22px -12px rgba(52,56,28,.22) !important;
}
.group:hover img{will-change:transform}

/* --- 5. Buttons and arrows ------------------------------------------------ */
.lucide-arrow-right{transition:transform .3s cubic-bezier(.16,1,.3,1)}
a:hover .lucide-arrow-right,button:hover .lucide-arrow-right,.group:hover .lucide-arrow-right{transform:translateX(5px)}
button,.inline-flex[class*="rounded-xl"]{transition:background-color .25s ease,color .25s ease,box-shadow .3s ease,transform .2s ease}
button[class*="bg-\[\#fbc887\]"]:hover{box-shadow:0 14px 30px -10px rgba(251,200,135,.6)}
button[class*="bg-\[\#6a6e32\]"]:hover{box-shadow:0 14px 30px -10px rgba(106,110,50,.55)}

/* --- 6. Nav + footer link underline -------------------------------------- */
header nav a{position:relative}
header nav a::after{
  content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;border-radius:2px;
  background:#6a6e32;transform:scaleX(0);transform-origin:right;
  transition:transform .32s cubic-bezier(.16,1,.3,1);
}
header nav a:hover::after{transform:scaleX(1);transform-origin:left}
.footer-link{transition:color .25s ease,transform .25s ease}
.footer-link:hover{transform:translateX(3px)}

/* --- 7. Meal card plan pills --------------------------------------------
   bg-white/70 sat on pale food photography and was hard to read. */
.bg-white\/70.backdrop-blur-sm{background-color:rgb(255 255 255 / .92) !important;color:#474b2a !important}

/* --- 8. Reading-progress bar (element created by app.js) ------------------ */
#read-progress{
  position:fixed;top:0;left:0;height:3px;width:0;z-index:60;pointer-events:none;
  background:linear-gradient(90deg,#6a6e32,#fbc887);
  box-shadow:0 0 12px rgba(251,200,135,.55);
  transition:width .12s linear;
}

/* --- 9. Focus visibility -------------------------------------------------- */
a:focus-visible,button:focus-visible,input:focus-visible{
  outline:3px solid #fbc887;outline-offset:3px;border-radius:6px;
}

/* --- 10. Placeholder tint only for photos that fill their box.
   Never applied globally: the doctor cut-out and the logo are transparent,
   and a background colour turns them into visible rectangles. */
.object-cover{background-color:rgb(243 246 234 / .5)}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms !important;transition-duration:.001ms !important}
  #read-progress{display:none}
}

/* ---- responsive ---- */
@media (min-width:640px){
  .sm\:text-5xl{font-size:3rem;line-height:1}
}
@media (min-width:768px){
  .md\:flex-shrink-1{flex-shrink:1}
  .md\:justify-between{justify-content:space-between}
  .md\:mb-20{margin-bottom:5rem}
  .md\:p-7{padding:1.75rem}
  .md\:pb-24{padding-bottom:6rem}
  .md\:py-28{padding-top:7rem;padding-bottom:7rem}
  .md\:text-8xl{font-size:6rem;line-height:1}
  .md\:text-\[1\.6rem\]{font-size:1.6rem}
}
@media (min-width:1024px){
  .lg\:gap-14{gap:3.5rem}
}

/* ── Awake AI Automation credit ───────────────────────────────────────────
   Sits between the last content section and the footer. The negative bottom
   margin collapses against the footer's own mt-16 / md:mt-48 so the strip
   seats tight above the footer border instead of floating in that gap.
   Self-contained class names: nothing here depends on the compiled Tailwind
   build, so the strip cannot be broken by a missing utility. */
.awake-credit{
  margin:3.5rem 0 -4rem;
  padding:0 1.5rem;
  text-align:center;
}
@media (min-width:768px){
  .awake-credit{margin:5rem 0 -12rem}
}
.awake-credit__rule{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.8rem;
  max-width:19rem;
  margin:0 auto 1.15rem;
}
.awake-credit__rule::before,
.awake-credit__rule::after{
  content:"";
  flex:1;
  height:1px;
}
.awake-credit__rule::before{
  background:linear-gradient(90deg,transparent,rgba(71,75,42,.26));
}
.awake-credit__rule::after{
  background:linear-gradient(90deg,rgba(71,75,42,.26),transparent);
}
.awake-credit__dot{
  flex:none;
  width:5px;
  height:5px;
  border-radius:9999px;
  background:#6a6e32;
  opacity:.45;
}
.awake-credit__label{
  display:block;
  margin-bottom:.55rem;
  font-family:'Montserrat',ui-sans-serif,system-ui,sans-serif;
  font-size:.625rem;
  font-weight:600;
  line-height:1;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:rgba(71,75,42,.52);
}
.awake-credit__link{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding-bottom:.18rem;
  border-bottom:1px solid rgba(71,75,42,.22);
  font-family:'Playfair Display',Georgia,serif;
  font-size:1.0625rem;
  font-weight:600;
  letter-spacing:.01em;
  color:#474b2a;
  text-decoration:none;
  transition:color .25s ease,border-color .25s ease;
}
.awake-credit__link:hover,
.awake-credit__link:focus-visible{
  color:#6a6e32;
  border-bottom-color:#fbc887;
}
.awake-credit__link svg{
  width:11px;
  height:11px;
  flex:none;
  opacity:.5;
  transition:opacity .25s ease,transform .25s ease;
}
.awake-credit__link:hover svg,
.awake-credit__link:focus-visible svg{
  opacity:.9;
  transform:translate(1px,-1px);
}
@media (prefers-reduced-motion:reduce){
  .awake-credit__link,
  .awake-credit__link svg{transition:none}
  .awake-credit__link:hover svg,
  .awake-credit__link:focus-visible svg{transform:none}
}

/* ===========================================================================
   SITE ELEVATION  —  applied site-wide via #root (every page shares #root)
   Direction: "refined & premium, evolve the system." Palette, logo, FONTS and
   photography are kept unchanged; this sharpens type rhythm (size/spacing only),
   card craft, section depth and purposeful motion. Pure CSS against the existing
   markup — no copy changes, no font-family changes, no new Tailwind classes in
   markup. Every rule targets a shared component class, so it only touches the
   components that already exist on a page. All motion is gated on
   prefers-reduced-motion.
   =========================================================================== */

/* ---- 1. Section rhythm: a more generous, fluid vertical cadence ---------- */
#root .section-spacing{
  padding-top:clamp(3.75rem, 8vw, 7.5rem);
  padding-bottom:clamp(3.75rem, 8vw, 7.5rem);
}

/* decorative pseudo-elements never intercept pointer/hover/clicks */
#root section .text-center:has(> h2.font-display)::before,
#root [class*="grid-cols-3"] [class*="bg-[#474b2a]"]::before,
#root [class*="grid-cols-3"] [class*="bg-white"]::before,
#root [class*="step-rail"] > *::before{pointer-events:none}

/* ---- 2. Section heading system — an eyebrow kicker + quieter subtitle ----
   Breaks the "every heading is a centred H2 with an underline" monotony with
   a small gradient kicker above the headline and a calmer, more editorial
   subtitle. Decorative only (pseudo-elements); no text added. */
#root section .text-center:has(> h2.font-display){position:relative}
#root section .text-center:has(> h2.font-display)::before{
  content:"";display:block;width:34px;height:3px;margin:0 auto 1.1rem;border-radius:999px;
  background:linear-gradient(90deg,#6a6e32,#fbc887);opacity:.85;
}
/* refine the existing under-headline flourish on the homepage */
#root .text-center > h2.font-display::after{
  width:64px;height:3px;margin-top:1.15rem;
  background:linear-gradient(90deg,#fbc887,#6a6e32);
  box-shadow:0 2px 12px rgb(251 200 135 / .4);
}
#root section .text-center:not(.text-white) > h2.font-display + p{
  color:rgb(71 75 42 / .72);margin-top:1.05rem;   /* colour + spacing only — no font change */
}
/* …but never recolour the subtitle inside a dark / white-text band
   (e.g. the "Premier ecosystem" section) — keep it light there. */
#root section .text-center.text-white > h2.font-display + p{ margin-top:1.05rem; }

/* ---- 3. Feature cards ("What makes us different") -----------------------
   Flat olive blocks -> layered gradient, hairline edge, real elevation, a
   top accent that draws on hover, and an icon badge with a ring + lift. */
#root [class*="grid-cols-3"] [class*="bg-[#474b2a]"]{
  position:relative;overflow:hidden;
  background:
    radial-gradient(135% 130% at 0% 0%, rgba(106,110,50,.38), transparent 52%),
    linear-gradient(165deg,#4c5030 0%, #3e4226 100%) !important;
  border:1px solid rgb(243 246 234 / .09) !important;
  box-shadow:0 20px 44px -24px rgba(26,28,14,.68);
  transition:transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s cubic-bezier(.16,1,.3,1);
}
#root [class*="grid-cols-3"] [class*="bg-[#474b2a]"]::before{
  content:"";position:absolute;left:0;top:0;height:3px;width:100%;
  background:linear-gradient(90deg,#fbc887,#6a6e32);
  transform:scaleX(0);transform-origin:left;
  transition:transform .6s cubic-bezier(.16,1,.3,1);
}
#root [class*="grid-cols-3"] [class*="bg-[#474b2a]"]:hover{
  transform:translateY(-6px);
  box-shadow:0 36px 64px -26px rgba(26,28,14,.72);
}
#root [class*="grid-cols-3"] [class*="bg-[#474b2a]"]:hover::before{transform:scaleX(1)}
#root [class*="grid-cols-3"] [class*="bg-[#6a6e32]"][class*="rounded-2xl"]{
  background:linear-gradient(145deg,#7c813c,#5b5f2b) !important;
  box-shadow:0 0 0 1px rgb(243 246 234 / .16), 0 12px 22px -10px rgba(0,0,0,.45);
  transition:transform .5s cubic-bezier(.16,1,.3,1);
}
#root [class*="grid-cols-3"] [class*="bg-[#474b2a]"]:hover [class*="rounded-2xl"]{
  transform:translateY(-2px) scale(1.05);
}
/* the two light "supporting" cards: matched pair (normalises their mismatched
   borders), hairline edge, top accent that draws on hover, consistent badge */
#root [class*="grid-cols-3"] [class*="bg-white"]{
  position:relative;overflow:hidden;
  border:1px solid rgb(106 110 50 / .16) !important;
  box-shadow:0 18px 40px -26px rgba(52,56,28,.3) !important;
  transition:transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s cubic-bezier(.16,1,.3,1);
}
#root [class*="grid-cols-3"] [class*="bg-white"]::before{
  content:"";position:absolute;left:0;top:0;height:3px;width:100%;
  background:linear-gradient(90deg,#6a6e32,#fbc887);
  transform:scaleX(0);transform-origin:left;
  transition:transform .6s cubic-bezier(.16,1,.3,1);
}
#root [class*="grid-cols-3"] [class*="bg-white"]:hover{
  transform:translateY(-6px);
  box-shadow:0 34px 60px -28px rgba(52,56,28,.34) !important;
}
#root [class*="grid-cols-3"] [class*="bg-white"]:hover::before{transform:scaleX(1)}
#root [class*="grid-cols-3"] [class*="bg-[#f3f6ea]"][class*="rounded-2xl"]{
  background:linear-gradient(145deg,#eef1e2,#e2e7cf) !important;
  box-shadow:0 0 0 1px rgb(106 110 50 / .14), inset 0 1px 0 rgb(255 255 255 / .6);
  transition:transform .5s cubic-bezier(.16,1,.3,1);
}
#root [class*="grid-cols-3"] [class*="bg-white"]:hover [class*="rounded-2xl"]{
  transform:translateY(-2px) scale(1.05);
}

/* ---- 4. "How it works" steps — kill the dead space, add rail nodes -------
   The faded numerals become a gradient; a node sits each step on the rail. */
#root [class*="step-rail"] [class*="text-[#6a6e32]/40"]{
  color:transparent !important;
  background:linear-gradient(158deg,#6a6e32 10%, #c2bd7e);
  -webkit-background-clip:text;background-clip:text;
  opacity:1;letter-spacing:-.015em;line-height:.95;
  transition:transform .5s cubic-bezier(.16,1,.3,1);
}
#root [class*="step-rail"] > *:hover [class*="text-[#6a6e32]/40"]{transform:translateY(-4px)}
@media (min-width:768px){
  #root [class*="step-rail"] > *{padding-top:2.9rem}
  #root [class*="step-rail"] > *::before{
    content:"";position:absolute;top:1.62rem;left:0;width:15px;height:15px;border-radius:999px;
    background:#fbc887;box-shadow:0 0 0 5px #f3f6ea, 0 0 0 6px rgb(106 110 50 / .35);
    z-index:2;transition:transform .45s cubic-bezier(.16,1,.3,1);
  }
  #root [class*="step-rail"] > *:hover::before{transform:scale(1.25)}
}

/* ---- 5. Carousels (plans + testimonials) — snap + hover craft ----------- */
#root [class*="snap-mandatory"]{scroll-padding-left:1.5rem;scroll-behavior:smooth}
#root [class*="snap-mandatory"] > *{scroll-snap-align:start}
#root [class*="snap-mandatory"] [class*="rounded-2xl"],
#root [class*="snap-mandatory"] [class*="rounded-3xl"]{
  transition:transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s cubic-bezier(.16,1,.3,1);
}
#root [class*="snap-mandatory"] > *:hover [class*="rounded-2xl"],
#root [class*="snap-mandatory"] > *:hover [class*="rounded-3xl"]{
  transform:translateY(-6px);
}

/* ---- 6. Primary CTAs — a touch of warmth + a considered press ------------ */
#root [class*="bg-[#fbc887]"]:not(svg){
  background-image:linear-gradient(180deg,#ffd49a,#fbc887) !important;
}
#root a[class*="bg-[#fbc887]"]:active,
#root button[class*="bg-[#fbc887]"]:active,
#root a[class*="bg-[#6a6e32]"]:active,
#root button[class*="bg-[#6a6e32]"]:active{transform:translateY(1px)}

/* ---- 7. Remaining homepage sections, same language --------------------- */
/* "Why it works" — translucent cards over photography: hairline + accent + lift */
#root section.parallax-bg [class*="bg-white/95"]{
  position:relative;overflow:hidden;
  border:1px solid rgb(255 255 255 / .5) !important;
  box-shadow:0 22px 50px -26px rgba(16,18,8,.6) !important;
  transition:transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s cubic-bezier(.16,1,.3,1);
}
#root section.parallax-bg [class*="bg-white/95"]::before{
  content:"";position:absolute;left:0;top:0;height:3px;width:100%;pointer-events:none;
  background:linear-gradient(90deg,#6a6e32,#fbc887);
  transform:scaleX(0);transform-origin:left;transition:transform .6s cubic-bezier(.16,1,.3,1);
}
#root section.parallax-bg [class*="bg-white/95"]:hover{transform:translateY(-6px)}
#root section.parallax-bg [class*="bg-white/95"]:hover::before{transform:scaleX(1)}
/* Testimonials — cream quote cards: hairline edge + considered lift */
#root [class*="snap-mandatory"] [class*="bg-[#f3f6ea]"]{
  border:1px solid rgb(106 110 50 / .14) !important;
  box-shadow:0 18px 42px -26px rgba(52,56,28,.3) !important;
  transition:transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s cubic-bezier(.16,1,.3,1);
}
#root [class*="snap-mandatory"] > *:hover [class*="bg-[#f3f6ea]"]{
  transform:translateY(-6px);
  box-shadow:0 30px 56px -28px rgba(52,56,28,.34) !important;
}
/* Newsletter hero image — a soft ring so it reads as a crafted frame */
#root section.bg-primary [class*="rounded-3xl"][class*="shadow-2xl"]{
  box-shadow:0 0 0 1px rgb(243 246 234 / .16), 0 40px 80px -30px rgba(0,0,0,.5) !important;
}

/* ---- Motion safety: honour reduced-motion for everything above ---------- */
@media (prefers-reduced-motion:reduce){
  #root [class*="grid-cols-3"] [class*="bg-[#474b2a]"],
  #root [class*="grid-cols-3"] [class*="bg-[#474b2a]"]::before,
  #root [class*="grid-cols-3"] [class*="bg-white"],
  #root [class*="grid-cols-3"] [class*="bg-white"]::before,
  #root [class*="grid-cols-3"] [class*="rounded-2xl"],
  #root [class*="step-rail"] [class*="text-[#6a6e32]/40"],
  #root [class*="step-rail"] > *::before,
  #root [class*="snap-mandatory"] [class*="rounded-2xl"],
  #root [class*="snap-mandatory"] [class*="rounded-3xl"],
  #root section.parallax-bg [class*="bg-white/95"],
  #root section.parallax-bg [class*="bg-white/95"]::before,
  #root [class*="snap-mandatory"] [class*="bg-[#f3f6ea]"]{transition:none !important}
  #root [class*="snap-mandatory"]{scroll-behavior:auto}
}

/* ===========================================================================
   BUTTON REFINEMENT — tighter, more professional proportions, site-wide.
   The brand buttons shipped with heavy vertical padding (up to 24px) and
   oversized 18px text, which read as bulky. Normalise every text CTA to one
   refined scale; keep the colours, gradient and focus ring. Icon-only buttons
   (rounded-full / aria-labelled) are left alone so they don't get distorted.
   =========================================================================== */
#root a[class*="inline-flex"][class*="justify-center"]:not([class*="rounded-full"]):not([aria-label]),
#root button[class*="inline-flex"][class*="justify-center"]:not([class*="rounded-full"]):not([aria-label]){
  padding:.62rem 1.35rem !important;
  font-size:.9rem !important;
  line-height:1.2 !important;
  border-radius:10px !important;
}
/* lighter, more considered hover elevation (was a large coloured glow) */
#root button[class*="bg-[#fbc887]"]:hover,
#root a[class*="bg-[#fbc887]"]:hover{box-shadow:0 8px 20px -10px rgba(251,200,135,.55) !important}
#root button[class*="bg-[#6a6e32]"]:hover,
#root a[class*="bg-[#6a6e32]"]:hover{box-shadow:0 8px 20px -10px rgba(106,110,50,.5) !important}

/* ===========================================================================
   CINEMATIC MOTION  (the standout moment) — progressive enhancement
   app.js -> initCinematic() injects a .px-layer carrying each .parallax-bg
   section's photo so it can be GPU-transformed: a slow Ken Burns zoom on the
   hero, and a gentle scroll-parallax on the other full-bleed photo sections.
   Each section KEEPS its own background-image as a no-JS fallback, so the
   photos still show if the script never runs. Fully disabled under
   prefers-reduced-motion.
   =========================================================================== */
#root section.parallax-bg{overflow:hidden}
.px-layer{
  position:absolute; inset:-24% 0; z-index:0; pointer-events:none;   /* wide overscan so deeper drift never gaps */
  background-size:cover; background-position:center;
  transform:translate3d(0,0,0); will-change:transform; backface-visibility:hidden;
}
.px-layer--hero{animation:drk-kenburns 20s ease-in-out infinite alternate}
@keyframes drk-kenburns{
  0%{transform:scale(1.06) translate3d(0,0,0)}
  100%{transform:scale(1.24) translate3d(-2.8%,-2.2%,0)}
}
@media (prefers-reduced-motion:reduce){
  #root section.parallax-bg{overflow:visible}     /* restore original */
  .px-layer{display:none !important}              /* fall back to the section's own bg */
}

/* ===========================================================================
   FOOD-PHOTO MARQUEE (21st.dev "Marquee" idea, rebuilt in vanilla)
   A slow, edge-faded band of the real meal photography. app.js -> initFoodMarquee()
   builds it from meals.json and injects it above the footer on the homepage.
   Image-only (no copy); pauses on hover; still scrolls, calmly; off under
   reduced-motion (becomes a static, masked row).
   =========================================================================== */
.food-marquee{
  position:relative; overflow:hidden; padding:2.75rem 0;
  background:
    radial-gradient(1200px 300px at 50% 0%, rgba(106,110,50,.06), transparent 70%),
    #f3f6ea;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);
}
.food-marquee__track{
  display:flex; gap:1.1rem; width:max-content;
  animation:food-marquee-scroll 70s linear infinite;
}
.food-marquee:hover .food-marquee__track{animation-play-state:paused}
.food-marquee__item{
  flex:0 0 auto; width:230px; height:154px; border-radius:16px; overflow:hidden;
  box-shadow:0 16px 34px -20px rgba(52,56,28,.45);
  border:1px solid rgb(106 110 50 / .1);
}
.food-marquee__item img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s cubic-bezier(.16,1,.3,1)}
.food-marquee__item:hover img{transform:scale(1.06)}
@keyframes food-marquee-scroll{from{transform:translate3d(0,0,0)} to{transform:translate3d(-50%,0,0)}}
@media (prefers-reduced-motion:reduce){
  .food-marquee__track{animation:none}
  .food-marquee__item img{transition:none}
}

/* ===========================================================================
   CURSOR-FOLLOW SPOTLIGHT (21st.dev glow-card idea, rebuilt in vanilla)
   app.js -> initSpotlight() tags the feature + plan cards and tracks the
   pointer into --sx/--sy; a soft peach glow follows it on hover. Subtle by
   design; disabled under reduced-motion.
   =========================================================================== */
.spotlight-card{position:relative}
.spotlight-card::after{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; z-index:1;
  background:radial-gradient(260px circle at var(--sx,50%) var(--sy,50%), rgba(251,200,135,.16), transparent 62%);
  opacity:0; transition:opacity .4s ease;
}
.spotlight-card:hover::after{opacity:1}
@media (prefers-reduced-motion:reduce){ .spotlight-card::after{display:none} }

/* ===========================================================================
   BORDER BEAM (21st.dev "Border Beam" idea, rebuilt in vanilla) — used ONCE,
   on the homepage closing CTA card, so it draws the eye without becoming noise.
   app.js -> initBorderBeam() tags that one card. A soft peach->olive arc
   travels the card's border. Frozen under reduced-motion.
   =========================================================================== */
@property --bb-angle{syntax:"<angle>"; inherits:false; initial-value:0deg}
.border-beam{position:relative}
/* ::after (not ::before) so it never collides with the heading-kicker ::before */
.border-beam::after{
  content:""; position:absolute; inset:0; border-radius:inherit; padding:2.5px;
  pointer-events:none; z-index:3;
  background:conic-gradient(from var(--bb-angle),
     transparent 0 58%, rgba(251,200,135,.9) 76%, #e0a24a 85%, #6a6e32 93%, transparent 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  animation:bb-spin 6s linear infinite;
}
@keyframes bb-spin{to{--bb-angle:360deg}}
@media (prefers-reduced-motion:reduce){ .border-beam::after{animation:none; opacity:.55} }

/* ===========================================================================
   EXPANDING IMAGE PANELS (21st.dev expanding-cards idea, rebuilt in vanilla)
   An interactive food gallery: a row of meal photos where the hovered panel
   grows and the rest make room. app.js -> initGalleryPanels() builds it from
   meals.json and drops it after the plans section (homepage). On touch it
   becomes a clean, snapping swipe strip. Reduced-motion = no transitions.
   =========================================================================== */
.gallery-band{ padding:clamp(2.75rem,6vw,5rem) 0;
  background:radial-gradient(1100px 360px at 50% 0%, rgba(106,110,50,.35), transparent 70%), #3c4026; }
.gallery-panels{ display:flex; gap:.6rem; height:clamp(270px,34vw,430px);
  max-width:1180px; margin:0 auto; padding:0 1.5rem; }
.gallery-panel{ position:relative; flex:1 1 0; min-width:0; border-radius:16px; overflow:hidden;
  box-shadow:0 20px 44px -26px rgba(0,0,0,.65); border:1px solid rgb(243 246 234 / .08);
  transition:flex-grow .65s cubic-bezier(.16,1,.3,1); }
.gallery-panel img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition:transform .75s cubic-bezier(.16,1,.3,1); }
.gallery-panel__label{ position:absolute; left:0; right:0; bottom:0; padding:1rem 1.15rem; pointer-events:none;
  background:linear-gradient(to top, rgba(18,20,10,.84), transparent);
  color:#f3f6ea; font-family:'Playfair Display',Georgia,serif; font-size:1.05rem; letter-spacing:.01em;
  opacity:0; transform:translateY(8px); transition:opacity .45s ease, transform .45s ease;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
@media (hover:hover){
  .gallery-panels:hover .gallery-panel{ flex-grow:.62; }
  .gallery-panel:hover{ flex-grow:3.4; }
  .gallery-panel:hover img{ transform:scale(1.05); }
  .gallery-panel:hover .gallery-panel__label{ opacity:1; transform:none; }
}
@media (max-width:767px){
  .gallery-panels{ overflow-x:auto; -webkit-overflow-scrolling:touch; height:240px;
    scroll-snap-type:x mandatory; scrollbar-width:none; }
  .gallery-panels::-webkit-scrollbar{ display:none; }
  .gallery-panel{ flex:0 0 74%; scroll-snap-align:center; }
  .gallery-panel__label{ opacity:1; transform:none; }
}
@media (prefers-reduced-motion:reduce){
  .gallery-panel, .gallery-panel img, .gallery-panel__label{ transition:none; }
}

/* ───────────────────────────────────────────────────────────
   Fix: the frozen styles.css build never included these
   opacity-tinted background utilities, so they silently render
   as nothing. That left the "Part of the Premier ecosystem"
   scrim fully transparent (white text fell onto the bright food
   photo and vanished) and the sticky Restore-Plans tab bar
   see-through. Restore each to its intended value.
   ─────────────────────────────────────────────────────────── */
#root [class*="bg-[#474b2a]/80"]{ background-color:rgba(71,75,42,.86) !important; }
#root [class*="bg-[#6a6e32]/90"]{ background-color:rgba(106,110,50,.92) !important; }
#root [class*="bg-[#6a6e32]/20"]{ background-color:rgba(106,110,50,.20) !important; }
#root [class*="bg-[#6a6e32]/10"]{ background-color:rgba(106,110,50,.10) !important; }
#root [class*="bg-[#f3f6ea]/95"]{ background-color:rgba(243,246,234,.96) !important; }
#root [class*="bg-[#fbc887]/20"]{ background-color:rgba(251,200,135,.20) !important; }
#root [class*="bg-[#fbc887]/10"]{ background-color:rgba(251,200,135,.10) !important; }

/* Restore Plans — brief highlight on the plan card a tab scrolls to */
@keyframes drk-plan-flash{
  0%{   box-shadow:0 0 0 0 rgba(251,200,135,0); }
  25%{  box-shadow:0 0 0 5px rgba(251,200,135,.6); }
  100%{ box-shadow:0 0 0 0 rgba(251,200,135,0); }
}
.drk-plan-flash{ animation:drk-plan-flash 1.15s ease-out; }
@media (prefers-reduced-motion:reduce){ .drk-plan-flash{ animation:none; } }
