/* ==========================================================================
   GULPY — Global Design System (style.css)
   Mobile-first. Every color, radius, and shadow is a token.
   Structure: 1) Tokens  2) Reset/base  3) Layout  4) Typography utilities
              5) Buttons  6) Navbar  7) Footer  8) Loading screen  9) Hero
   ==========================================================================
   Breakpoint logic lives in responsive.css. Keyframes live in animations.css.
   ========================================================================== */

/* 1) ---------------------------------------------------------- DESIGN TOKENS */
:root {
  /* Brand core */
  --navy:        #0A2D68;
  --yellow:      #F7B52C;
  --green:       #2FA84F;
  --cream:       #F8F6F2;
  --white:       #FFFFFF;

  /* Derivatives (for depth + state consistency) */
  --navy-900:    #071F49;
  --navy-700:    #0A2D68;
  --navy-500:    #1B4C9E;
  --navy-tint:   #E7ECF5;

  --green-700:   #1F7C39;
  --green-500:   #2FA84F;
  --green-tint:  #E5F4EA;

  --yellow-400:  #F7B52C;
  --yellow-300:  #FCC94E;
  --yellow-tint: #FDF1D6;

  --cream-100:   #FDFCFA;
  --cream-200:   #F1EDE6;

  /* Semantic */
  --ink:         var(--navy-900);
  --ink-soft:    rgba(7, 31, 73, 0.66);
  --ink-faint:   rgba(7, 31, 73, 0.42);
  --line:        rgba(7, 31, 73, 0.10);
  --bg:          var(--cream);
  --surface:     var(--white);

  /* Typography */
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, sans-serif;

  /* Fluid type scale (clamp: min, preferred, max) */
  --fs-eyebrow:  0.78rem;
  --fs-body:     clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-lead:     clamp(1.125rem, 1.05rem + 0.5vw, 1.375rem);
  --fs-h3:       clamp(1.35rem, 1.2rem + 0.9vw, 1.85rem);
  --fs-h2:       clamp(2rem, 1.5rem + 2.4vw, 3.25rem);
  --fs-display:  clamp(2.9rem, 2rem + 5.2vw, 6rem);

  /* Radius */
  --r-card:   24px;
  --r-image:  32px;
  --r-pill:   999px;
  --r-sm:     12px;
  /* Signature "drip corner" — asymmetric radius, the Gulpy tell */
  --r-drip:   40px 40px 8px 40px;

  /* Shadow — soft, layered, never harsh */
  --sh-sm:  0 1px 2px rgba(7,31,73,.06), 0 2px 8px rgba(7,31,73,.05);
  --sh-md:  0 4px 12px rgba(7,31,73,.06), 0 14px 34px rgba(7,31,73,.08);
  --sh-lg:  0 8px 24px rgba(7,31,73,.08), 0 30px 60px rgba(7,31,73,.12);
  --sh-cta: 0 8px 20px rgba(10,45,104,.28);

  /* Layout */
  --container:  1240px;
  --gutter:     clamp(1.15rem, 4vw, 2.5rem);
  --nav-h:      72px;

  /* Motion */
  --ease:       cubic-bezier(.22, 1, .36, 1);
  --ease-soft:  cubic-bezier(.4, 0, .2, 1);
  --dur:        .45s;
}

/* 2) ------------------------------------------------------------ RESET/BASE */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Lock scroll while loader is active / mobile drawer open */
body.is-loading,
body.no-scroll { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--yellow-300);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 800;
}

/* 3) ---------------------------------------------------------------- LAYOUT */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide { max-width: 1440px; }

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }

/* 4) ------------------------------------------------------ TYPE UTILITIES */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-eyebrow);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-700);
}

.eyebrow--chip {
  padding: .5rem .9rem;
  background: var(--green-tint);
  border-radius: var(--r-pill);
}

.eyebrow--chip .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-500);
}

.lead { font-size: var(--fs-lead); color: var(--ink-soft); line-height: 1.55; }

.accent-green  { color: var(--green-500); }
.accent-yellow { color: var(--yellow-400); }

/* 5) --------------------------------------------------------------- BUTTONS */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  padding: 0 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  border-radius: var(--r-pill);
  overflow: hidden;                 /* clip the ripple */
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background-color .3s var(--ease-soft),
              color .3s var(--ease-soft);
  will-change: transform;
}

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

.btn--primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--sh-cta);
}
.btn--primary:hover { background: var(--navy-500); box-shadow: 0 12px 28px rgba(10,45,104,.34); }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 2px rgba(10,45,104,.22);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--navy); background: rgba(10,45,104,.04); }

.btn--yellow { background: var(--yellow-400); color: var(--navy-900); box-shadow: 0 8px 20px rgba(247,181,44,.32); }
.btn--yellow:hover { background: var(--yellow-300); }

.btn--sm { min-height: 44px; padding: 0 1.25rem; font-size: .92rem; }

/* Ripple element injected by app.js */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,.45);
  pointer-events: none;
  animation: ripple .6s var(--ease-soft);
}
.btn--ghost .ripple, .btn--yellow .ripple { background: rgba(10,45,104,.18); }

/* 6) ---------------------------------------------------------------- NAVBAR */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color .4s var(--ease-soft),
              box-shadow .4s var(--ease-soft),
              backdrop-filter .4s var(--ease-soft);
}

/* Glass state — toggled by navigation.js on scroll */
.nav.is-stuck {
  background: rgba(248,246,242,.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line), var(--sh-sm);
}

.nav__inner {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand { display: inline-flex; align-items: center; }
.nav__brand img, .nav__brand svg { height: 30px; width: auto; display: block; }

.nav__links { display: none; }          /* desktop links revealed in responsive.css */

.nav__cta { display: none; }

.nav__links a {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .96rem;
  color: var(--navy);
  padding: .4rem 0;
  transition: color .25s var(--ease-soft);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--green-500);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--green-700); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

/* Hamburger */
.nav__burger {
  --burger: 48px;
  width: var(--burger); height: var(--burger);
  display: inline-grid;
  place-items: center;
  border-radius: var(--r-sm);
  transition: background-color .25s var(--ease-soft);
}
.nav__burger:hover { background: rgba(10,45,104,.06); }
.nav__burger span {
  position: relative;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s;
}
.nav__burger span::before,
.nav__burger span::after {
  content: "";
  position: absolute; left: 0;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .35s var(--ease);
}
.nav__burger span::before { top: -7px; }
.nav__burger span::after  { top:  7px; }

/* Burger -> X while drawer open */
body.menu-open .nav__burger span { background: transparent; }
body.menu-open .nav__burger span::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav__burger span::after  { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer — slides from the right */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(84vw, 380px);
  z-index: 99;
  background: var(--cream-100);
  box-shadow: var(--sh-lg);
  padding: calc(var(--nav-h) + 1.5rem) var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  overflow-y: auto;
}
body.menu-open .drawer { transform: translateX(0); }

.drawer a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: color .2s, padding-left .3s var(--ease);
}
.drawer a:hover { color: var(--green-600, var(--green-700)); padding-left: .35rem; }
.drawer .btn { margin-top: 1.5rem; }

.drawer__social {
  margin-top: auto;
  display: flex;
  gap: 1.25rem;
  padding-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink-soft);
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(7,31,73,.28);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
body.menu-open .scrim { opacity: 1; visibility: visible; }

/* 7) ---------------------------------------------------------------- FOOTER */
.footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.72);
  padding-block: clamp(3rem, 7vw, 5rem) 2rem;
}
.footer a { color: rgba(255,255,255,.72); transition: color .2s; }
.footer a:hover { color: var(--yellow-300); }

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.footer__brand img, .footer__brand svg { height: 34px; width: auto; margin-bottom: 1rem; }
.footer__tag { max-width: 30ch; color: rgba(255,255,255,.60); }

.footer__col h4 {
  color: var(--white);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer__col li { margin-bottom: .7rem; }

.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.footer__legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* 8) --------------------------------------------------------- LOADING SCREEN */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--cream);
  transition: opacity .6s var(--ease-soft), visibility .6s;
}
.loader.is-done { opacity: 0; visibility: hidden; }

.loader__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}
.loader__logo { height: 42px; width: auto; opacity: 0; animation: fadeIn .5s var(--ease-soft) .1s forwards; }

/* Four Gulpy circles bouncing in sequence */
.loader__dots { display: flex; gap: 12px; }
.loader__dots i {
  width: 12px; height: 12px;
  border-radius: 50%;
  display: block;
  animation: dotBounce 1s var(--ease) infinite;
}
.loader__dots i:nth-child(1){ background: var(--navy);   animation-delay: 0s;   }
.loader__dots i:nth-child(2){ background: var(--green);  animation-delay: .12s; }
.loader__dots i:nth-child(3){ background: var(--yellow); animation-delay: .24s; }
.loader__dots i:nth-child(4){ background: var(--navy-500);animation-delay: .36s; }

/* 9) ------------------------------------------------------------------ HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 1.5rem);
  padding-bottom: 3rem;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% 12%, var(--yellow-tint) 0%, transparent 46%),
    radial-gradient(120% 90% at 6% 90%, var(--green-tint) 0%, transparent 42%),
    var(--cream);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 3.5rem);
  align-items: center;
  width: 100%;
}

.hero__copy { max-width: 34rem; }
.hero__title { font-size: var(--fs-display); margin: 1.1rem 0; }
.hero__title .line { display: block; }
.hero__lead { max-width: 30rem; margin-bottom: 2rem; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__stats {
  display: flex;
  gap: 2.25rem;
  margin-top: 2.75rem;
  flex-wrap: wrap;
}
.hero__stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--navy);
  line-height: 1;
}
.hero__stat .label { font-size: .82rem; color: var(--ink-soft); margin-top: .3rem; }

/* Hero visual: drip-corner card holding the SVG cup + floating fruit */
.hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 460px);
  aspect-ratio: 3 / 2;
}
.hero__stage {
  position: absolute;
  inset: 0;
  border-radius: var(--r-drip);        /* signature asymmetric corner */
  background: var(--cream-200);        /* fallback while photo loads */
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__stage::after {                    /* soft depth wash for legibility */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,31,73,.04) 0%, transparent 30%, rgba(7,31,73,.10) 100%);
  pointer-events: none;
}

/* Floating fruit chips around the stage */
.float {
  position: absolute;
  display: grid;
  place-items: center;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--sh-md);
  will-change: transform;
}
.float svg { width: 60%; height: 60%; }
.float--1 { width: 74px; height: 74px; top: 6%;  left: -6%;  animation: float 6s var(--ease) infinite; }
.float--2 { width: 58px; height: 58px; top: 44%; right: -8%; animation: float 7s var(--ease) infinite .8s; }
.float--3 { width: 66px; height: 66px; bottom: 4%; left: 8%; animation: float 6.5s var(--ease) infinite .4s; }

.hero__badge {
  position: absolute;
  bottom: 7%;
  right: -4%;
  background: var(--white);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-md);
  padding: .6rem 1rem .6rem .6rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
}
.hero__badge .ring {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-tint); color: var(--green-700);
}

/* Scroll cue */
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-family: var(--font-display);
  font-weight: 600;
}
.hero__cue .track {
  width: 22px; height: 34px;
  border: 2px solid var(--ink-faint);
  border-radius: var(--r-pill);
  position: relative;
}
.hero__cue .track::after {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  width: 3px; height: 7px;
  transform: translateX(-50%);
  background: var(--ink-faint);
  border-radius: 2px;
  animation: cue 1.6s var(--ease) infinite;
}

/* Placeholder page hero (about/menu/etc. before their milestone lands) */
.stub {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 4rem;
  background:
    radial-gradient(100% 80% at 80% 0%, var(--yellow-tint) 0%, transparent 45%),
    var(--cream);
}
.stub__inner { max-width: 40rem; }
.stub h1 { font-size: var(--fs-h2); margin: 1rem 0; }
.stub .badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem; border-radius: var(--r-pill);
  background: var(--navy-tint); color: var(--navy);
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .04em;
}
.stub p { color: var(--ink-soft); margin: 1rem auto 2rem; max-width: 34rem; }

/* ==========================================================================
   MILESTONE 2 — HOME SECTIONS
   Ingredient marquee · Why Gulpy · Featured Products · Benefits · Promo
   ========================================================================== */

/* --------------------------------------------------------- INGREDIENT BAND */
.strip {
  background: var(--navy);
  color: rgba(255,255,255,.9);
  padding-block: .85rem;
}
.strip .marquee__track { gap: 0; }
.strip__item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding-inline: .75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  white-space: nowrap;
}
.strip__item span { text-transform: uppercase; }
.strip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow-400); flex: none; }

/* ----------------------------------------------------------------- WHY GULPY */
.why { background: var(--cream); }
.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.why__media {
  position: relative;
  border-radius: var(--r-drip);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 4 / 3;
}
.why__media img { width: 100%; height: 100%; object-fit: cover; }
.why__media .tagpill {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-radius: var(--r-pill);
  padding: .5rem 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy);
  display: flex; align-items: center; gap: .5rem;
}
.why__title { font-size: var(--fs-h2); margin: 1rem 0 1.1rem; }
.why__list { margin-top: 1.75rem; display: grid; gap: 1.1rem; }
.why__item { display: flex; gap: .9rem; align-items: flex-start; }
.why__item .ic {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--green-tint); color: var(--green-700);
}
.why__item h4 { font-size: 1.05rem; margin-bottom: .15rem; }
.why__item p { color: var(--ink-soft); font-size: .96rem; }

/* --------------------------------------------------------- FEATURED PRODUCTS */
.products { background: var(--cream-100); }
.products__head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.products__head h2 { font-size: var(--fs-h2); margin-top: .8rem; }
.products__lead { max-width: 42ch; }
.products__nav { display: none; gap: .6rem; }
.slider__btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white);
  box-shadow: var(--sh-sm);
  color: var(--navy);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .2s;
}
.slider__btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); background: var(--navy); color: #fff; }

.slider { position: relative; }
.slider__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: .5rem .25rem 1.5rem;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track { cursor: grab; }
.slider__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }

/* Home swipe rail: bigger, clearer cards that overflow to be swiped */
.slider__slide {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: min(82vw, 320px);
}
@media (min-width: 480px) { .slider__slide { width: min(64vw, 320px); } }
@media (min-width: 900px) { .slider__slide { width: 320px; } }

.product-card {
  scroll-snap-align: start;
  flex: 0 0 78%;
  max-width: 320px;
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream-200);
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__tag {
  position: absolute;
  top: .8rem; left: .8rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  color: var(--navy);
  border-radius: var(--r-pill);
  padding: .35rem .8rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .02em;
}
.product-card__body { padding: 1.15rem 1.25rem 1.4rem; }
.product-card__name { font-size: 1.2rem; margin-bottom: .35rem; }
.product-card__desc { color: var(--ink-soft); font-size: .92rem; line-height: 1.5; }
.products__cta { margin-top: 1.5rem; }

/* ---------------------------------------------------------------- BENEFITS */
.benefits { background: var(--cream); }
.benefits__head { text-align: center; max-width: 46ch; margin: 0 auto 3rem; }
.benefits__head h2 { font-size: var(--fs-h2); margin-top: .8rem; }
.benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.benefit {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 1.75rem;
  box-shadow: var(--sh-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.benefit__ic {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.benefit:nth-child(1) .benefit__ic { background: var(--green-tint);  color: var(--green-700); }
.benefit:nth-child(2) .benefit__ic { background: var(--yellow-tint); color: #B27A05; }
.benefit:nth-child(3) .benefit__ic { background: var(--navy-tint);   color: var(--navy); }
.benefit:nth-child(4) .benefit__ic { background: var(--green-tint);  color: var(--green-700); }
.benefit h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.benefit p { color: var(--ink-soft); font-size: .95rem; }

/* -------------------------------------------------------------------- PROMO */
.promo { background: var(--cream); }
.promo__band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-image);
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-500) 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3.5rem);
}
.promo__band::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  right: -80px; top: -120px;
  background: radial-gradient(circle, rgba(247,181,44,.35), transparent 65%);
}
.promo__copy { position: relative; z-index: 1; max-width: 40ch; }
.promo__copy .eyebrow { color: var(--yellow-300); }
.promo__copy h2 { color: #fff; font-size: var(--fs-h2); margin: 1rem 0; }
.promo__copy p { color: rgba(255,255,255,.78); margin-bottom: 1.75rem; }
.promo__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.promo__media {
  position: relative;
  z-index: 1;
  border-radius: var(--r-card);
  overflow: hidden;
  min-height: 220px;
  box-shadow: var(--sh-md);
}
.promo__media img { width: 100%; height: 100%; object-fit: cover; }

/* Light outline button — for use on dark/navy bands */
.btn--outline-light {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.4);
}
.btn--outline-light:hover { box-shadow: inset 0 0 0 2px #fff; background: rgba(255,255,255,.08); }

/* ==========================================================================
   MILESTONE 3 — ABOUT PAGE
   Page hero · about stats · story (reuses .why) · values (.vgrid)
   process steps · impact band (reuses .promo)
   ========================================================================== */

/* ------------------------------------------------------------- PAGE HERO */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(110% 80% at 90% 0%, var(--yellow-tint) 0%, transparent 45%),
    radial-gradient(90% 80% at 0% 100%, var(--green-tint) 0%, transparent 45%),
    var(--cream);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.page-hero__copy { max-width: 36rem; }
.page-hero h1 {
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem);
  margin: 1rem 0 1.2rem;
}
.page-hero__lead { max-width: 34rem; margin-bottom: 2rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.page-hero__media {
  position: relative;
  border-radius: var(--r-drip);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 4 / 3;
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* about stats band sitting under the page hero */
.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.75rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.about-stats .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
  color: var(--navy);
  line-height: 1;
}
.about-stats .label { font-size: .85rem; color: var(--ink-soft); margin-top: .35rem; max-width: 18ch; }

/* -------------------------------------------------------------- VALUES */
.vgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* --------------------------------------------------------- PROCESS STEPS */
.process { background: var(--cream-100); }
.process__head { max-width: 46ch; margin-bottom: 3rem; }
.process__head h2 { font-size: var(--fs-h2); margin-top: .8rem; }
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 1.75rem;
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--green-500);
}
.step:nth-child(2)::before { background: var(--yellow-400); }
.step:nth-child(3)::before { background: var(--navy-500); }
.step:nth-child(4)::before { background: var(--green-700); }
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--navy-tint);
  margin-bottom: .75rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.step p { color: var(--ink-soft); font-size: .95rem; }


/* ==========================================================================
   MILESTONE 4 — MENU PAGE
   Tier legend · tier groups · menu cards with price
   ========================================================================== */

.tier-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.tier-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .95rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
  background: var(--white);
  box-shadow: var(--sh-sm);
}
.tier-pill .swatch { width: 12px; height: 12px; border-radius: 50%; }
.tier-pill .swatch--r { background: var(--green-500); }
.tier-pill .swatch--s { background: var(--yellow-400); }
.tier-pill .swatch--g { background: var(--navy-500); }
.tier-pill .price { color: var(--ink-soft); font-weight: 600; }

.menu-page { background: var(--cream); }
.menu-tier { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.menu-tier:last-child { margin-bottom: 0; }
.menu-tier__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--line);
}
.menu-tier__head h2 { font-size: var(--fs-h3); }
.menu-tier__badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  padding: .3rem .85rem;
  border-radius: var(--r-pill);
}
.menu-tier--r .menu-tier__badge { background: var(--green-tint);  color: var(--green-700); }
.menu-tier--s .menu-tier__badge { background: var(--yellow-tint); color: #B27A05; }
.menu-tier--g .menu-tier__badge { background: var(--navy-tint);   color: var(--navy); }
.menu-tier__note { color: var(--ink-soft); font-size: .95rem; margin-left: auto; }

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.menu-card {
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.menu-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.menu-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream-200);
}
.menu-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.menu-card:hover .menu-card__media img { transform: scale(1.05); }
.menu-card__body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.menu-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.menu-card__name { font-size: 1.3rem; }
.menu-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  white-space: nowrap;
}
.menu-card__desc { color: var(--ink-soft); font-size: .94rem; line-height: 1.55; flex: 1; }
.menu-card__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .2rem; }
.menu-card__tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .02em;
  padding: .28rem .6rem;
  border-radius: var(--r-pill);
  background: var(--green-tint);
  color: var(--green-700);
}
.menu-note { text-align: center; color: var(--ink-faint); font-size: .88rem; margin-top: 2.5rem; }


/* ==========================================================================
   MILESTONE 4.5 — Bigger nav logo + language switcher
   ========================================================================== */
.nav__brand img, .nav__brand svg { height: 48px; width: auto; display: block; }

.nav__right { display: flex; align-items: center; gap: .55rem; }

.lang {
  display: inline-flex;
  gap: 2px;
  background: rgba(10,45,104,.07);
  border-radius: var(--r-pill);
  padding: 3px;
}
.lang button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .02em;
  line-height: 1;
  min-width: 30px;
  padding: .34rem .5rem;
  border-radius: var(--r-pill);
  color: var(--navy);
  transition: background .2s var(--ease-soft), color .2s var(--ease-soft);
}
.lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.lang button[aria-pressed="false"]:hover { background: rgba(10,45,104,.08); }

@media (min-width: 900px) {
  .nav__brand img, .nav__brand svg { height: 56px; }
  .nav__right { gap: .8rem; }
  .lang button { font-size: .8rem; padding: .4rem .66rem; min-width: 34px; }
}


/* ==========================================================================
   Cross-language layout parity — balanced headings, no long-word overflow
   ========================================================================== */
h1, h2, h3, h4 { text-wrap: balance; }
p, .lead, li { overflow-wrap: break-word; }
.hero__title, .page-hero h1 { overflow-wrap: break-word; }

/* Brand benefit icons rendered from mask PNGs (colored via currentColor) */
.ic-mask {
  display: block;
  width: 30px; height: 30px;
  background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
}

/* Masked benefit icons — url() lives in the stylesheet so it resolves
   relative to /assets/css/ (../images/...), robust on any host. */
.ic-b1 { --m: url(../images/icons/benefit-1.png); }
.ic-b2 { --m: url(../images/icons/benefit-2.png); }
.ic-b3 { --m: url(../images/icons/benefit-3.png); }
.ic-b4 { --m: url(../images/icons/benefit-4.png); }
.ic-b5 { --m: url(../images/icons/benefit-5.png); }


/* ==========================================================================
   MILESTONE 6 — COMMUNITY (The Chill Club)
   ========================================================================== */
.benefit__ic { background: var(--navy-tint); color: var(--navy); }   /* default */
.benefit:nth-child(5) .benefit__ic { background: var(--yellow-tint); color: #B27A05; }
.benefit:nth-child(6) .benefit__ic { background: var(--navy-tint);   color: var(--navy); }

.steps.is-three { grid-template-columns: 1fr; }
@media (min-width: 720px) { .steps.is-three { grid-template-columns: repeat(3, 1fr); } }

.club { background: var(--cream); }
.club__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .9rem; border-radius: var(--r-pill);
  background: var(--green-tint); color: var(--green-700);
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .04em;
}


/* ==========================================================================
   MILESTONE 6.5 — Membership sign-up + OTP (The Chill Club)
   ========================================================================== */
.auth {
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 3.5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(100% 70% at 88% 0%, var(--green-tint) 0%, transparent 45%),
    radial-gradient(90% 70% at 0% 100%, var(--yellow-tint) 0%, transparent 45%),
    var(--cream);
  display: flex; align-items: center;
}
.auth__grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(1.75rem, 4vw, 3rem);
  width: 100%; align-items: center;
}
.auth__aside { max-width: 30rem; }
.auth__aside h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); margin: 1rem 0 1rem; }
.auth__aside .lead { margin-bottom: 1.75rem; }
.auth__perks { display: grid; gap: .85rem; }
.auth__perk { display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; color: var(--ink-soft); }
.auth__perk .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-tint); color: var(--green-700);
}

.form-card {
  background: var(--white); border-radius: var(--r-card);
  box-shadow: var(--sh-lg); padding: clamp(1.5rem, 3vw, 2.25rem);
  width: 100%; max-width: 460px; justify-self: center;
}
.form-card__head { margin-bottom: 1.5rem; }
.form-card__head h2 { font-size: 1.5rem; margin-bottom: .35rem; }
.form-card__head p { color: var(--ink-soft); font-size: .95rem; }

.field { margin-bottom: 1.1rem; }
.field > label {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: .9rem; color: var(--navy); margin-bottom: .45rem;
}
.field input[type=text], .field input[type=tel], .field input[type=email] {
  width: 100%; height: 52px; padding: 0 1rem;
  font-size: 1rem; font-family: var(--font-body); color: var(--ink);
  background: var(--cream-100);
  border: 1.5px solid var(--line); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder { color: var(--ink-faint); }
.field input:focus {
  outline: none; border-color: var(--navy);
  background: var(--white); box-shadow: 0 0 0 4px rgba(10,45,104,.10);
}
.field .hint { display: block; font-size: .8rem; color: var(--ink-faint); margin-top: .35rem; }
.field .err { display: none; font-size: .8rem; color: #C0392B; margin-top: .35rem; }
.field.invalid input { border-color: #E5675B; background: #FDF3F2; }
.field.invalid .err { display: block; }

.field-phone { display: flex; }
.field-phone .cc {
  display: inline-flex; align-items: center; padding: 0 .9rem; height: 52px;
  background: var(--navy-tint); color: var(--navy); font-weight: 600;
  border: 1.5px solid var(--line); border-right: none;
  border-radius: 14px 0 0 14px;
}
.field-phone input { border-radius: 0 14px 14px 0; }

.check {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .88rem; color: var(--ink-soft); margin: .25rem 0 1.25rem;
  cursor: pointer;
}
.check input { margin-top: .15rem; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }

.form-card .btn { width: 100%; }
.form-card__foot { text-align: center; margin-top: 1.1rem; font-size: .9rem; color: var(--ink-soft); }
.form-card__foot a { color: var(--green-700); font-weight: 600; }

/* alerts */
.alert {
  border-radius: 14px; padding: .85rem 1rem; font-size: .92rem;
  margin-bottom: 1.25rem; display: flex; gap: .6rem; align-items: flex-start;
}
.alert--info  { background: var(--green-tint);  color: var(--green-700); }
.alert--warn  { background: var(--yellow-tint); color: #8A5A02; }
.alert--error { background: #FDECEA; color: #B23B2E; }
.alert[hidden] { display: none; }

/* OTP */
.otp { display: flex; gap: .6rem; justify-content: space-between; margin: .5rem 0 1.25rem; }
.otp input {
  width: 100%; max-width: 56px; height: 60px; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--navy);
  background: var(--cream-100); border: 1.5px solid var(--line); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.otp input:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(10,45,104,.10); }
.otp-meta { display: flex; justify-content: space-between; align-items: center; font-size: .88rem; color: var(--ink-soft); margin-bottom: 1.25rem; }
.otp-meta button { color: var(--green-700); font-weight: 600; font-family: var(--font-display); }
.otp-meta button[disabled] { color: var(--ink-faint); cursor: default; }

/* success state */
.done { text-align: center; }
.done__ring {
  width: 72px; height: 72px; margin: 0 auto 1.25rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-tint); color: var(--green-700);
}
.done h2 { font-size: 1.6rem; margin-bottom: .5rem; }
.done p { color: var(--ink-soft); margin-bottom: 1.5rem; }

.otp-sent { font-size: .92rem; color: var(--ink-soft); margin-top: -.4rem; }
.otp-sent strong { color: var(--navy); }


/* ==========================================================================
   MILESTONE 7 — WAKAF (productive waqf with Gulpy)
   ========================================================================== */
.pair-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 2.5rem; }
@media (min-width: 640px) { .pair-grid { grid-template-columns: 1fr 1fr; } }

/* illustration stage (for the compounding-reward SVG) */
.illus {
  position: relative; border-radius: var(--r-drip); overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-500) 100%);
  box-shadow: var(--sh-lg); aspect-ratio: 4 / 3;
  display: grid; place-items: center; padding: clamp(1.25rem, 3vw, 2rem);
}
.illus svg { width: 100%; height: auto; max-height: 100%; }

/* Rp badge on the rider photo */
.why__media .rp {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--yellow-400); color: var(--navy-900);
  border-radius: var(--r-pill); padding: .5rem 1rem;
  font-family: var(--font-display); font-weight: 800; font-size: .95rem;
  box-shadow: var(--sh-md);
}

/* big 4x figure in the highlight band */
.stat-4x {
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(3.2rem, 2rem + 7vw, 5.5rem); color: var(--yellow-300);
  margin-bottom: .5rem;
}


/* ==========================================================================
   MILESTONE 7 — WAKAF
   ========================================================================== */
.reasons { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 720px) { .reasons { grid-template-columns: 1fr 1fr; } }
.reason {
  background: var(--white); border-radius: var(--r-card);
  box-shadow: var(--sh-sm); padding: 1.6rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.reason:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.reason__ic {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 1rem;
  display: grid; place-items: center;
  background: var(--green-tint); color: var(--green-700);
}
.reason:nth-child(2) .reason__ic { background: var(--yellow-tint); color: #B27A05; }
.reason:nth-child(3) .reason__ic { background: var(--navy-tint);   color: var(--navy); }
.reason:nth-child(4) .reason__ic { background: var(--green-tint);  color: var(--green-700); }
.reason h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.reason p { color: var(--ink-soft); font-size: .95rem; }

.give { background: var(--cream); }
.give__band {
  position: relative; overflow: hidden; text-align: center;
  border-radius: var(--r-image);
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-500) 100%);
  color: #fff; padding: clamp(2.25rem, 5vw, 3.75rem);
}
.give__band::before {
  content: ""; position: absolute; width: 340px; height: 340px;
  right: -90px; top: -130px;
  background: radial-gradient(circle, rgba(247,181,44,.32), transparent 65%);
}
.give__band > * { position: relative; z-index: 1; }
.give__band .eyebrow { color: var(--yellow-300); justify-content: center; }
.give__band h2 { color: #fff; font-size: var(--fs-h2); margin: 1rem 0; }
.give__band .give__lead { color: rgba(255,255,255,.8); max-width: 46ch; margin: 0 auto 2rem; }
.give__stats {
  display: flex; flex-wrap: wrap; gap: 1.75rem 3rem;
  justify-content: center; margin-bottom: 2.25rem;
}
.give__stat .num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem); color: var(--yellow-300); line-height: 1;
}
.give__stat .label { font-size: .9rem; color: rgba(255,255,255,.78); margin-top: .5rem; max-width: 22ch; margin-inline: auto; }
.give__note { margin-top: 1.25rem; font-size: .85rem; color: rgba(255,255,255,.6); }

.slider__track.is-dragging { user-select: none; }

/* ==========================================================================
   HOME PREVIEW SLIDER — bigger cards, edge fades, one-time swipe hint
   ========================================================================== */
.products .slider__track { margin-inline: 0; padding-inline: .25rem; }
.slider__slide { width: min(84vw, 340px); }
@media (min-width: 480px) { .slider__slide { width: min(72vw, 360px); } }
@media (min-width: 900px) { .slider__slide { width: 360px; } }

.slider::before, .slider::after {
  content: ""; position: absolute; top: .5rem; bottom: 1.5rem; width: 64px;
  z-index: 3; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease);
}
.slider::before { left: 0;  background: linear-gradient(90deg,  #FDFCFA 22%, rgba(253,252,250,0)); }
.slider::after  { right: 0; background: linear-gradient(270deg, #FDFCFA 22%, rgba(253,252,250,0)); }
.slider:not(.is-start)::before { opacity: 1; }
.slider:not(.is-end)::after    { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  .slider.hint .slider__track { animation: swipeHint 1.15s var(--ease) 1; }
}
@keyframes swipeHint {
  0%   { transform: translateX(0); }
  32%  { transform: translateX(-26px); }
  64%  { transform: translateX(0); }
}

/* Home preview cards: simplified (photo + name + short desc, no benefit list) */
.juice-card--compact .juice-card__body { padding: 1.15rem 1.25rem 1.45rem; gap: .5rem; justify-content: flex-start; }
.juice-card--compact .juice-card__name { font-size: 1.22rem; }
.juice-card--compact .juice-card__tagline { font-size: .94rem; line-height: 1.55; color: var(--ink-soft); }

/* Menu page cards: taller 4:5 media to showcase product photos (home stays square) */
.juice-card:not(.juice-card--compact) .juice-card__media { aspect-ratio: 4 / 5; }
.juice-card__media img { object-position: center; }

/* ==========================================================================
   Hero floats — livelier motion + no clipping (now siblings of the stage)
   ========================================================================== */
.float--1 { top: 7%;   left: -3%;  right: auto; animation: floatA 5s   var(--ease) infinite; }
.float--2 { top: 38%;  right: -4%; left: auto;  animation: floatB 5.6s var(--ease) infinite .6s; }
.float--3 { bottom: 9%; left: 5%;  right: auto; animation: floatC 6.2s var(--ease) infinite .3s; }

@keyframes floatA {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  30%     { transform: translate(3px,-16px) rotate(10deg); }
  60%     { transform: translate(-2px,-7px) rotate(-5deg); }
}
@keyframes floatB {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  50%     { transform: translate(-7px,-15px) rotate(-13deg); }
}
@keyframes floatC {
  0%,100% { transform: translate(0,0) rotate(0deg) scale(1); }
  40%     { transform: translate(4px,-13px) rotate(9deg) scale(1.07); }
  70%     { transform: translate(-3px,-18px) rotate(-6deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .float--1, .float--2, .float--3 { animation: none; }
}

/* Drawer primary button — white text (was navy on navy, invisible) */
.drawer a.btn--primary { color: #fff; border-bottom: none; }
.drawer a.btn--primary:hover { color: #fff; padding-left: 1.75rem; }
.drawer a.btn { border-bottom: none; }

/* ==========================================================================
   MILESTONE 8 — News + promo/event system (admin-driven)
   ========================================================================== */
/* Hero rotating announcement pill */
.hero__announce{
  display:inline-flex;align-items:center;gap:.55rem;margin-bottom:1.1rem;
  background:#fff;border:1px solid var(--line);border-radius:var(--r-pill);
  padding:.4rem .8rem .4rem .45rem;box-shadow:var(--sh-sm);
  text-decoration:none;color:var(--navy);font-weight:600;font-size:.9rem;max-width:100%;
  transition:opacity .35s var(--ease),transform .2s var(--ease);
}
.hero__announce:hover{transform:translateY(-1px);box-shadow:var(--sh-md)}
.hero__announce.is-fading{opacity:0}
.hero__announce-badge{
  flex:none;background:var(--yellow);color:var(--navy);
  font-family:var(--font-display);font-weight:800;font-size:.64rem;letter-spacing:.05em;
  padding:.28rem .6rem;border-radius:var(--r-pill);
}
.hero__announce-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:min(66vw,320px)}
.hero__announce-arrow{color:var(--green-700);font-weight:800}

/* News header */
.news-hero{
  padding-top:calc(var(--nav-h) + clamp(2rem,5vw,3.5rem));
  padding-bottom:clamp(1.25rem,3vw,2rem);
  background:radial-gradient(90% 60% at 88% 0%,var(--green-tint) 0%,transparent 50%),var(--cream);
}
.news-hero .eyebrow{margin-bottom:1rem}
.news-hero h1{font-size:clamp(2rem,1.4rem + 2.4vw,3rem);margin-bottom:.55rem}
.news-hero__lead{max-width:44ch}

/* News grid + cards */
.news-grid{display:grid;grid-template-columns:1fr;gap:1.25rem}
@media(min-width:620px){.news-grid{grid-template-columns:1fr 1fr}}
@media(min-width:980px){.news-grid{grid-template-columns:1fr 1fr 1fr}}
.news-card{background:#fff;border-radius:var(--r-card);box-shadow:var(--sh-sm);overflow:hidden;display:flex;flex-direction:column;transition:transform .4s var(--ease),box-shadow .4s var(--ease)}
.news-card:hover{transform:translateY(-5px);box-shadow:var(--sh-md)}
.news-card__media{aspect-ratio:16/10;background:var(--cream-200);overflow:hidden}
.news-card__media img{width:100%;height:100%;object-fit:cover}
.news-card__body{padding:1.25rem 1.35rem 1.4rem;display:flex;flex-direction:column;gap:.55rem;flex:1}
.news-card__tag{align-self:flex-start;font-family:var(--font-display);font-weight:800;font-size:.66rem;letter-spacing:.05em;text-transform:uppercase;padding:.3rem .65rem;border-radius:var(--r-pill)}
.news-card__tag--promo{background:var(--yellow-tint);color:#8A5A02}
.news-card__tag--event{background:var(--green-tint);color:var(--green-700)}
.news-card__title{font-size:1.16rem}
.news-card__date{font-size:.85rem;color:var(--green-700);font-weight:600}
.news-card__text{color:var(--ink-soft);font-size:.94rem;line-height:1.55}
.news-card .btn{align-self:flex-start;margin-top:.4rem}
.news-empty{text-align:center;color:var(--ink-soft);padding:3rem 1rem;font-size:1.02rem}

/* Member login hint under community hero CTAs */
.member-login-hint { margin-top: 1rem; font-size: .95rem; color: var(--ink-soft); }
.member-login-hint a { color: var(--green-700); font-weight: 700; }

/* ==========================================================================
   MILESTONE 9 — Careers (admin-driven job listings)
   ========================================================================== */
.jobs-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; max-width: 760px; }
.job-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--sh-sm); padding: clamp(1.4rem, 3vw, 1.9rem);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.job-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.job-card__head { margin-bottom: .9rem; }
.job-card__title { font-size: 1.3rem; margin-bottom: .5rem; }
.job-card__meta { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; font-size: .9rem; color: var(--ink-soft); }
.job-tag { background: var(--green-tint); color: var(--green-700); font-family: var(--font-display); font-weight: 800; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; padding: .3rem .7rem; border-radius: var(--r-pill); }
.job-card__desc { color: var(--ink-soft); line-height: 1.6; margin-bottom: 1rem; }
.job-card__reqs { list-style: none; padding: 0; margin: 0 0 1.3rem; display: grid; gap: .5rem; }
.job-card__reqs li { position: relative; padding-left: 1.5rem; color: var(--ink); font-size: .95rem; }
.job-card__reqs li::before { content: "✓"; position: absolute; left: 0; color: var(--green-700); font-weight: 800; }
.job-card .btn { align-self: flex-start; }

/* Rich-text content coming from the admin editor */
.rte-content { color: var(--ink-soft); line-height: 1.6; }
.rte-content p { margin: 0 0 .6rem; }
.rte-content p:last-child { margin-bottom: 0; }
.rte-content strong, .rte-content b { color: var(--navy); font-weight: 700; }
.rte-content h3, .rte-content h4 { color: var(--navy); font-family: var(--font-display); margin: .6rem 0 .35rem; font-size: 1.02rem; }
.rte-content ul, .rte-content ol { margin: .5rem 0 .8rem; padding-left: 1.25rem; }
.rte-content li { margin-bottom: .35rem; }
.rte-content a { color: var(--green-700); font-weight: 600; }
.job-card__reqs-rich { margin-bottom: 1.2rem; }
.job-card__reqs-rich ul { list-style: none; padding-left: 0; }
.job-card__reqs-rich ul li { position: relative; padding-left: 1.5rem; }
.job-card__reqs-rich ul li::before { content: "✓"; position: absolute; left: 0; color: var(--green-700); font-weight: 800; }

/* Nav CTA is now a member Sign-in shortcut (icon + label) */
.nav__cta svg { flex: none; }
.drawer .btn svg { flex: none; }

/* ==========================================================================
   MILESTONE 10 — FIND US (area grid + nearest-cart locator)
   ========================================================================== */
.findus { padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 3.5rem)); min-height: 78svh; }
.findus__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .findus__grid { grid-template-columns: 0.9fr 1.1fr; } }

.findus__intro .eyebrow { margin-bottom: 1rem; }
.findus__intro h1 { font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.4rem); margin-bottom: .8rem; }
.findus__intro .lead { max-width: 40ch; margin-bottom: 1.6rem; }
.findus__status { margin-top: .9rem; font-size: .95rem; color: var(--green-700); font-weight: 600; line-height: 1.5; }
.findus__note { margin-top: .5rem; font-size: .8rem; color: var(--ink-faint); max-width: 34ch; }
.findus__wa { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.findus__wa p { font-size: .95rem; color: var(--ink-soft); margin-bottom: .8rem; }

.area-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 560px) { .area-grid { grid-template-columns: 1fr 1fr; } }

.area-card {
  position: relative; display: flex; flex-direction: column; gap: .35rem;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-card);
  padding: 1.35rem 1.4rem 1.3rem; text-decoration: none;
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.area-card__pin { color: #E5484D; margin-bottom: .35rem; }
.area-card__pin svg { display: block; }
.area-card__name { font-size: 1.12rem; color: var(--navy); }
.area-card__hours { font-size: .9rem; color: var(--ink-soft); }
.area-card__dist { font-size: .84rem; color: var(--green-700); font-weight: 600; }
.area-card__go { margin-top: .55rem; font-family: var(--font-display); font-weight: 700; font-size: .84rem; color: var(--green-700); opacity: 0; transform: translateX(-4px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.area-card:hover .area-card__go { opacity: 1; transform: none; }

.area-card--nearest { border-color: var(--green); background: linear-gradient(180deg, var(--green-tint) 0%, var(--white) 55%); }
.area-card__tag {
  position: absolute; top: 1.05rem; right: 1.1rem;
  background: var(--green); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: .6rem; letter-spacing: .06em;
  padding: .3rem .6rem; border-radius: var(--r-pill);
}

/* Find Us: district cluster headings inside the area grid */
.area-cluster {
  grid-column: 1 / -1;
  font-size: 1.05rem;
  margin: .35rem 0 -.35rem;
  color: var(--navy);
}
.area-cluster:first-child { margin-top: 0; }

/* Find Us: coming-soon area cards */
.area-card--soon { opacity: .62; border-style: dashed; cursor: default; }
.area-card--soon:hover { transform: none; box-shadow: var(--sh-sm); }
.area-card__tag--soon { background: var(--yellow-tint); color: #8A5A02; }
