/* ==========================================================================
   Eat Without Guilt — Preview Site Stylesheet
   Premium wellness design system: cream / sage / forest / gold.
   ========================================================================== */

/* ---- Fonts (self-hosted) ----
   These used to come from fonts.googleapis.com, which cost the visitor two
   extra origin handshakes (DNS + TCP + TLS to googleapis, then again to
   gstatic) on the critical path — roughly a second on a Pakistani mobile
   connection, and the stylesheet itself was render-blocking. Serving them from
   our own origin puts them on the connection the browser has already opened.

   Both are the upstream variable fonts, subsetted to the characters this site
   actually renders (ASCII, Latin-1, Latin Extended-A, curly quotes/dashes, the
   ₨/€/₹ signs, arrows, stars and ticks) and limited to the 400–700 weights the
   design uses. Fraunces keeps its `opsz` axis so headings still get optical
   sizing exactly as before. Licences ship alongside in assets/fonts/.
   To regenerate, re-run the subsetting described in SESSION-2026-08-01.md. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/fraunces-ewg.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-ewg.woff2') format('woff2');
}

/* ---- Tokens ---- */
:root {
  --cream: #FAF6EF;
  --ivory: #FFFDF8;
  --white: #FFFFFF;
  --blush: #F3E4DC;
  --sage: #8FAE8B;
  --sage-soft: #E4EDE2;
  --forest: #1E3A2B;
  --forest-deep: #152B20;
  --rose: #C4838F;
  --gold: #B8933E;
  --charcoal: #26251F;
  --stone: #6B6A61;
  --line: #E7E0D2;
  --success: #2E7D4F;
  --warning: #A8721C;
  --error: #B3403A;
  --wa: #25D366;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;

  --radius-card: 16px;
  --radius-input: 12px;
  --pill: 999px;
  --shadow-rest: 0 2px 8px rgba(30,58,43,.06);
  --shadow-hover: 0 12px 28px rgba(30,58,43,.12);
  --section-pad: clamp(56px, 9vw, 104px);
  --ease: cubic-bezier(.22,1,.36,1);
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; } /* off-canvas nav lives off-screen right */
body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font: 400 1.0625rem/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--forest); line-height: 1.18; letter-spacing: -.01em; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.5vw + 1rem, 3.3rem); }
h2 { font-size: clamp(1.65rem, 2.6vw + .9rem, 2.35rem); }
h3 { font-size: 1.32rem; }
p { margin: 0 0 1em; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-deep); }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--sage-soft); color: var(--forest-deep); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; background: var(--forest); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 0; }
.skip-link:focus { left: 0; }

.wrap { max-width: 1160px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 32px); }
.section { padding-block: var(--section-pad); }
.section--ivory { background: var(--ivory); }
.section--blush { background: linear-gradient(160deg, var(--blush), #F8EFE9); }
.section--sage { background: var(--sage-soft); }
.section--forest { background: var(--forest); color: var(--cream); }
.section--forest :is(h1,h2,h3) { color: var(--cream); }
.section--forest p { color: #D9E2D5; }

.eyebrow { display: inline-block; font: 600 .82rem/1 var(--font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.center { text-align: center; }
.lede { font-size: 1.15rem; color: var(--stone); max-width: 46em; }
.center .lede { margin-inline: auto; }
.muted { color: var(--stone); }
.small { font-size: .875rem; }

/* ---- Admin-review marker (visible, honest, unmissable) ---- */
.admin-note {
  display: inline-flex; align-items: center; gap: .5em;
  background: #FDF3DE; border: 1.5px dashed var(--warning); color: #7A5514;
  border-radius: 10px; padding: .5em .9em; font-size: .84rem; font-weight: 600;
}
.admin-note::before { content: '⚠'; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.7em; border-radius: var(--pill);
  font: 600 1rem/1.2 var(--font-body); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--primary { background: var(--forest); color: #fff; }
.btn--primary:hover { background: var(--forest-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn--secondary { background: transparent; border-color: var(--forest); color: var(--forest); }
.btn--secondary:hover { background: var(--sage-soft); transform: translateY(-2px); }
.btn--light { background: var(--cream); color: var(--forest); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1EB857; color: #fff; transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: .5em 1.3em; font-size: .92rem; }
.btn svg { flex: none; }

/* ---- Announcement bar ---- */
.bar { background: var(--forest); color: var(--cream); text-align: center; font-size: .9rem; padding: .55em 1em; }
.bar a { color: inherit; }

/* ---- Header ---- */
.header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(250,246,239,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 16px rgba(30,58,43,.07); }
.header__in { display: flex; align-items: center; gap: 1.2rem; min-height: 74px; }
.header__logo img { height: 46px; width: auto; }
.nav { display: flex; gap: .2rem; margin-left: auto; }
.nav a {
  padding: .55em .8em; border-radius: var(--pill); text-decoration: none;
  font-weight: 500; font-size: .96rem; color: var(--charcoal);
  transition: background-color .25s;
}
.nav a:hover { background: var(--sage-soft); }
.nav a[aria-current="page"] { background: var(--sage-soft); color: var(--forest); font-weight: 600; }
.header__ctas { display: flex; align-items: center; gap: .6rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; color: var(--forest);
  background: var(--sage-soft); transition: background-color .25s;
}
.icon-btn:hover { background: #D6E3D3; }
.icon-btn--wa { background: var(--wa); color: #fff; }
.icon-btn--wa:hover { background: #1EB857; color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--forest); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }

@media (max-width: 1080px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw);
    flex-direction: column; gap: .3rem; margin: 0; padding: 96px 26px 26px;
    background: var(--ivory); box-shadow: -12px 0 40px rgba(21,43,32,.18);
    transform: translateX(105%); transition: transform .35s var(--ease);
    z-index: 950; overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav a { font-size: 1.08rem; padding: .8em 1em; }
  .nav-toggle { display: block; margin-left: auto; z-index: 960; position: relative; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .header__ctas .btn--book { display: none; }
}

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 96px); }

/* Framed hero — rounded panel inset from the page edges (Tailark-style) */
.hero--frame { padding: clamp(8px, 1.4vw, 18px); background: var(--cream); }
.hero-frame {
  position: relative; overflow: hidden;
  border-radius: clamp(22px, 3.4vw, 48px);
  border: 1px solid rgba(21, 43, 32, .12);
  background: radial-gradient(120% 140% at 20% 0%, #234534 0%, var(--forest) 45%, var(--forest-deep) 100%);
  padding-block: clamp(72px, 11vw, 150px);
}
.hero-frame .hero__content { position: relative; z-index: 2; max-width: 760px; }
.hero-frame .hero__waves { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* Barely-visible drifting nutrition & fitness silhouettes */
.hero__icons { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero__icons svg {
  position: absolute; opacity: .09; color: var(--sage-soft);
  animation: drift 16s ease-in-out infinite;
}
.hero__icons svg:nth-child(3n)   { color: #D4B45E; opacity: .08; animation-duration: 20s; }
.hero__icons svg:nth-child(4n+1) { animation-delay: -6s; animation-duration: 18s; }
.hero__icons svg:nth-child(2n)   { animation-delay: -11s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%      { transform: translate(10px, -16px) rotate(3deg); }
  66%      { transform: translate(-8px, 10px) rotate(-3deg); }
}

/* Services marquee (infinite slider) */
.marquee { position: relative; overflow: hidden; padding-block: 1.3rem; }
.marquee__track {
  display: flex; gap: 3.5rem; width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 3.5rem; white-space: nowrap;
  font: 600 .95rem/1 var(--font-body); letter-spacing: .04em; color: var(--stone);
}
.marquee__item::after { content: '✦'; color: var(--gold); font-size: .7rem; }
.marquee::before, .marquee::after {
  content: ''; position: absolute; inset-block: 0; width: 90px; z-index: 1; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--cream), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--cream), transparent); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-label { text-align: center; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); margin: 1.6rem 0 0; }

/* Dark hero with animated wave background */
.hero--dark { background: radial-gradient(120% 140% at 20% 0%, #234534 0%, var(--forest) 45%, var(--forest-deep) 100%); }
.hero--dark .hero__waves { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero--dark .hero__grid { position: relative; z-index: 1; }
.hero--dark h1 { color: var(--cream); }
.hero--dark h1 .accent { color: #D4B45E; }
.hero--dark .lede { color: #C9D4C5; }
.hero--dark .eyebrow { color: #D4B45E; }
.hero--dark .hero__proof { color: #AEC3A8; }
.hero--dark .hero__proof svg { color: #D4B45E; }
.hero--dark .btn--primary { background: var(--cream); color: var(--forest); }
.hero--dark .btn--primary:hover { background: #fff; color: var(--forest-deep); }
.hero--dark .btn--secondary { border-color: rgba(250,246,239,.55); color: var(--cream); }
.hero--dark .btn--secondary:hover { background: rgba(250,246,239,.12); }
.hero--dark .hero__blob { background: radial-gradient(closest-side, rgba(143,174,139,.28), rgba(143,174,139,0)); border-radius: 50%; filter: blur(10px); }
.hero--dark .hero__photo { background: linear-gradient(160deg, rgba(228,237,226,.16), rgba(243,228,220,.10)); border-color: rgba(250,246,239,.35); color: var(--cream); backdrop-filter: blur(2px); }
.hero--dark .float-leaf { color: #D4B45E; opacity: .4; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 880px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 .accent { color: var(--gold); font-style: italic; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.4rem; color: var(--stone); font-size: .92rem; }
.hero__proof span { display: inline-flex; align-items: center; gap: .45em; }
.hero__proof svg { color: var(--sage); }

.hero__visual { position: relative; min-height: 380px; }
.hero__blob {
  position: absolute; inset: 4% 6%;
  background: linear-gradient(150deg, var(--sage-soft), var(--blush));
  border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%;
}
.hero__photo {
  position: relative; z-index: 1; margin: 8% 12%;
  aspect-ratio: 4/4.6; border-radius: 46% 54% 48% 52% / 42% 44% 56% 58%;
  background: linear-gradient(160deg, #DCE8D9, #C9DAC5);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 2rem; color: var(--forest);
  border: 3px solid #fff; box-shadow: var(--shadow-hover);
}
.float-card {
  position: absolute; z-index: 2; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-hover); padding: .8rem 1.1rem;
  font-size: .86rem; line-height: 1.45;
  animation: floaty 7s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 1.02rem; color: var(--forest); }
.float-card--tl { top: 4%; left: 0; animation-delay: .4s; }
.float-card--br { bottom: 6%; right: 0; animation-duration: 9s; }
.float-card--bl { bottom: 18%; left: -2%; animation-duration: 8s; animation-delay: 1.1s; }
.float-leaf { position: absolute; z-index: 0; color: var(--sage); opacity: .5; animation: floaty 10s ease-in-out infinite; }
@keyframes floaty {
  0%,100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(1.6deg); }
}

/* ---- Expandable card (Rimsha intro) ---- */
.xcard {
  max-width: 720px; margin-inline: auto;
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-rest); overflow: hidden;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.xcard.is-open { box-shadow: var(--shadow-hover); }
.xcard:hover { box-shadow: var(--shadow-hover); }
.xcard__media {
  aspect-ratio: 16/11; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--sage-soft), var(--blush));
  text-align: center; padding: 1.5rem; color: var(--forest);
  transition: aspect-ratio .45s var(--ease);
}
.xcard__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.5rem; }
.xcard__bar h2 { margin: 0; font-size: 1.5rem; }
.xcard__bar .sub { color: var(--stone); font-size: .92rem; margin: .15rem 0 0; }
.xcard__toggle {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--white); color: var(--forest);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .4s var(--ease), background-color .3s, color .3s;
}
.xcard__toggle:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.xcard.is-open .xcard__toggle { transform: rotate(45deg); background: var(--forest); color: #fff; border-color: var(--forest); }
.xcard__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.xcard__body > div { overflow: hidden; }
.xcard.is-open .xcard__body { grid-template-rows: 1fr; }
.xcard__inner { padding: .3rem 1.5rem 1.7rem; }

/* ---- Meet-your-dietitian side accents ---- */
.meet { position: relative; }
.meet__side {
  position: absolute; top: 55%; transform: translateY(-50%);
  width: 235px; display: grid; gap: 1rem; z-index: 1;
}
.meet__side--left { left: 0; }
.meet__side--right { right: 0; }
.meet-chip {
  display: flex; align-items: center; gap: .7rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-rest); padding: .8rem 1rem;
  font: 600 .85rem/1.4 var(--font-body); color: var(--forest);
  animation: floaty 8s ease-in-out infinite;
}
.meet-chip svg { flex: none; color: var(--gold); }
.meet__side .meet-chip:nth-child(2) { animation-delay: 1.2s; }
.meet__side .meet-chip:nth-child(3) { animation-delay: 2.4s; }
.meet__side .meet-chip:nth-child(4) { animation-delay: 3.6s; }
.meet-quote {
  margin: 0; background: var(--forest); color: var(--cream);
  border-radius: 16px; padding: 1.3rem 1.3rem 1.1rem; box-shadow: var(--shadow-hover);
  animation: floaty 9s ease-in-out infinite; animation-delay: .6s;
}
.meet-quote__mark { font: 700 2.6rem/0.6 var(--font-display); color: #D4B45E; display: block; margin-bottom: .4rem; }
.meet-quote blockquote { margin: 0 0 .6rem; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.45; }
.meet-quote figcaption { font-size: .78rem; color: #AEC3A8; }
@media (max-width: 1240px) { .meet__side { display: none; } }

/* ---- Trust strip ---- */
.trust { border-block: 1px solid var(--line); background: var(--ivory); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.6rem; }
@media (max-width: 880px) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }
.trust__item { display: flex; align-items: center; gap: .8rem; font-weight: 600; font-size: .95rem; color: var(--forest); }
.trust__item svg { flex: none; color: var(--gold); }

/* ---- Cards & grids ---- */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: var(--shadow-rest); padding: clamp(1.3rem, 3vw, 1.9rem);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card--flat:hover { transform: none; box-shadow: var(--shadow-rest); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--sage-soft); color: var(--forest); margin-bottom: 1rem; font-size: 1.5rem;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--stone); font-size: .97rem; }
.card__foot { margin-top: auto; padding-top: 1rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.card__img { border-radius: 12px; margin-bottom: 1.1rem; aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.tag { display: inline-block; background: var(--sage-soft); color: var(--forest); border-radius: var(--pill); font: 600 .8rem/1 var(--font-body); padding: .42em 1em; }
.tag--gold { background: #F4EAD4; color: #7A5F1E; }
.tag--rose { background: var(--blush); color: #96525F; }

/* ---- Card fan carousel (services) ---- */
.fan { position: relative; }
.fan__stage {
  position: relative; height: clamp(400px, 56vw, 500px);
  margin-top: 1.5rem;
}
.fan-card {
  position: absolute; left: 50%; top: 12px;
  width: clamp(230px, 30vw, 300px); aspect-ratio: 3/4.3;
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, var(--sage-soft), var(--blush));
  border: 4px solid #fff; box-shadow: 0 16px 40px rgba(30,58,43,.22);
  transform-origin: 50% 150%;
  transition: transform .55s var(--ease), opacity .4s var(--ease);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.fan-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fan-card__emoji { position: absolute; inset: 0 0 34%; display: flex; align-items: center; justify-content: center; font-size: 4.2rem; }
.fan-card__overlay {
  position: relative; z-index: 1; padding: 1.1rem 1.2rem 1.2rem;
  background: linear-gradient(to top, rgba(21,43,32,.92), rgba(21,43,32,.55) 65%, transparent);
  color: var(--cream);
}
.fan-card__overlay h3 { color: #fff; font-size: 1.15rem; margin: 0 0 .25rem; }
.fan-card__overlay p { color: #D9E2D5; font-size: .85rem; margin: 0 0 .8rem; line-height: 1.5; }
.fan-card__overlay .btn { min-height: 40px; padding: .4em 1.2em; font-size: .88rem; }
.fan-card[data-off='0'] { cursor: default; }
.fan-card:not([data-off='0']) { cursor: pointer; }
.fan-card:not([data-off='0']) .fan-card__overlay .btn { pointer-events: none; }

.fan__nav {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 2rem;
}
.fan__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line);
  background: #fff; color: var(--forest); cursor: pointer; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .25s, color .25s, transform .25s;
}
.fan__btn:hover { background: var(--forest); color: #fff; transform: translateY(-2px); }
.fan__dots { display: flex; gap: .55rem; }
.fan__dot {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--line); transition: background-color .25s, transform .25s;
}
.fan__dot[aria-current='true'] { background: var(--gold); transform: scale(1.25); }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.6rem 1.4rem 1.4rem; box-shadow: var(--shadow-rest); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font: 700 1rem/1 var(--font-body); color: var(--gold);
  display: inline-block; margin-bottom: .9rem; letter-spacing: .08em;
}
.step h3 { font-size: 1.12rem; }
.step p { color: var(--stone); font-size: .93rem; margin: 0; }

/* ---- Glass step cards (How it works) — adapted from Uiverse.io by codebykay101 ---- */
.glass-steps {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 1.5rem;
}
.glass-steps .glass {
  position: relative;
  width: 220px;
  height: 250px;
  background: linear-gradient(rgba(250, 246, 239, .14), transparent);
  border: 1px solid rgba(250, 246, 239, .18);
  box-shadow: 0 25px 25px rgba(0, 0, 0, .25);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .5s;
  border-radius: 14px;
  margin: 0 -45px;
  backdrop-filter: blur(10px);
  transform: rotate(calc(var(--r) * 1deg));
}
.glass-steps:hover .glass,
.glass-steps:focus-within .glass {
  transform: rotate(0deg);
  margin: 0 10px;
}
.glass-steps .glass::before {
  content: attr(data-text);
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 44px;
  background: rgba(250, 246, 239, .08);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--cream);
  font: 600 .88rem/1.2 var(--font-body);
  letter-spacing: .03em;
}
.glass__in { text-align: center; padding: 0 1.1rem 2.6rem; color: var(--cream); }
.glass__num { font: 700 1rem/1 var(--font-body); letter-spacing: .1em; color: #D4B45E; display: block; margin-bottom: .7rem; }
.glass__in svg { color: #D4B45E; margin-inline: auto; margin-bottom: .8rem; display: block; }
.glass__in p { font-size: .82rem; line-height: 1.55; color: #C9D4C5; margin: 0; }

@media (max-width: 900px) {
  .glass-steps { flex-wrap: wrap; gap: 14px; }
  .glass-steps .glass { margin: 0; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .glass-steps .glass { transform: none; margin: 0 8px; }
}

/* ---- Pricing / plan cards ---- */
.plan { position: relative; }
.plan--featured { border: 2px solid var(--gold); }
.plan__flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #fff; font: 700 .75rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: .5em 1.2em; border-radius: var(--pill); white-space: nowrap; }
.plan__price { font-family: var(--font-display); font-size: 2rem; color: var(--forest); margin: .2rem 0 .1rem; }
.plan__price small { font-size: .95rem; color: var(--stone); font-family: var(--font-body); }
.plan ul { list-style: none; padding: 0; margin: 1rem 0; }
.plan ul li { padding: .38em 0 .38em 1.7em; position: relative; font-size: .95rem; color: var(--charcoal); }
.plan ul li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }

/* ---- Expanding plan cards ---- */
.xplans { display: flex; gap: 10px; height: 500px; }
.xplan {
  position: relative; flex: 1; min-width: 58px; overflow: hidden;
  border-radius: 20px; cursor: pointer; border: 1px solid var(--line);
  box-shadow: var(--shadow-rest);
  background: linear-gradient(165deg, #2A5038, var(--forest-deep));
  transition: flex .65s var(--ease), box-shadow .4s;
}
.xplan--ga { background: linear-gradient(165deg, #2A5038, #152B20); }
.xplan--gb { background: linear-gradient(165deg, #1E3A2B, #3A6247); }
.xplan--gc { background: linear-gradient(165deg, #254532, #6E5A22); }
.xplan__num {
  position: absolute; top: 4%; right: 6%; z-index: 1;
  font: 600 clamp(4rem, 7vw, 7rem)/1 var(--font-display);
  color: rgba(250, 246, 239, .13); pointer-events: none;
}
.xplan.is-active { flex: 4; cursor: default; box-shadow: var(--shadow-hover); }
.xplan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xplan::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(21,43,32,.94) 0%, rgba(21,43,32,.45) 45%, rgba(21,43,32,.18) 100%);
}
.xplan__label {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  writing-mode: vertical-rl; rotate: 180deg;
  z-index: 2; color: var(--cream); font: 600 .92rem/1.2 var(--font-body);
  letter-spacing: .04em; white-space: nowrap;
  transition: opacity .3s;
}
.xplan.is-active .xplan__label { opacity: 0; }
.xplan__content {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  padding: clamp(1.2rem, 2.5vw, 2rem); color: var(--cream);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .35s ease .2s, transform .45s var(--ease) .2s;
  min-width: 300px;
}
.xplan.is-active .xplan__content { opacity: 1; transform: none; pointer-events: auto; }
.xplan__content h3 { color: #fff; margin: .7rem 0 .2rem; font-size: clamp(1.2rem, 2vw, 1.6rem); }
.xplan__price { font-family: var(--font-display); font-size: 1.15rem; color: #E9DDBF; margin: 0 0 .6rem; }
.xplan__content ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.xplan__content ul li { padding: .28em 0 .28em 1.5em; position: relative; font-size: .93rem; color: #E4EDE2; }
.xplan__content ul li::before { content: '✓'; position: absolute; left: 0; color: #7CD9A5; font-weight: 700; }

@media (max-width: 820px) {
  .xplans { flex-direction: column; height: auto; }
  .xplan { min-height: 74px; flex: none; }
  .xplan.is-active { flex: none; min-height: 430px; }
  .xplan__label { writing-mode: horizontal-tb; rotate: none; left: 1.2rem; bottom: 50%; transform: translateY(50%); }
}
@media (prefers-reduced-motion: reduce) {
  .xplan, .xplan__content { transition: none; }
}

/* ---- Schedule table ---- */
.table-scroll { overflow-x: auto; }
table.sched { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-rest); }
.sched th, .sched td { padding: .85em 1.1em; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.sched th { background: var(--forest); color: var(--cream); font-weight: 600; }
.sched tr:last-child td { border-bottom: 0; }

/* ---- Testimonials ---- */
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.6rem; box-shadow: var(--shadow-rest); }
.quote__stars { color: var(--gold); letter-spacing: .15em; margin-bottom: .7rem; }
.quote p { font-size: .98rem; }
.quote footer { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--sage-soft); color: var(--forest); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.quote cite { font-style: normal; font-weight: 600; color: var(--forest); display: block; }
.quote .svc { font-size: .82rem; color: var(--stone); }
/* Photo testimonial cards (public figures on the Success Stories page): the
   portrait bleeds to the card edges, clipped to the card's rounded corners. */
.quote--photo { overflow: hidden; }
.quote--photo picture { display: block; margin: -1.6rem -1.6rem 1.1rem; }
.quote__photo { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 22%; display: block; }
.disclaimer { font-size: .84rem; color: var(--stone); max-width: 52em; }

/* ---- BMI ---- */
.bmi { max-width: 680px; margin-inline: auto; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-rest); padding: clamp(1.6rem, 4vw, 2.6rem); }
.bmi__units { border: 0; padding: 0; margin: 0 0 1.3rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.bmi__units legend { font-weight: 600; margin-bottom: .6rem; }
.bmi__units label { display: inline-flex; align-items: center; gap: .5em; cursor: pointer; border: 1.5px solid var(--line); border-radius: var(--pill); padding: .5em 1.1em; font-size: .95rem; transition: border-color .2s, background-color .2s; }
.bmi__units label:has(input:checked) { border-color: var(--forest); background: var(--sage-soft); font-weight: 600; }
.bmi__units input { accent-color: var(--forest); }
.bmi form { display: grid; gap: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .6em 1em; border: 1.5px solid var(--line);
  border-radius: var(--radius-input); background: #fff; color: var(--charcoal);
  font: 400 1rem/1.4 var(--font-body); transition: border-color .25s;
}
.field :is(input,select,textarea):focus { border-color: var(--sage); outline: none; box-shadow: 0 0 0 3px var(--sage-soft); }
.field--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-error { color: var(--error); font-weight: 600; margin: 0; }
.form-error::before { content: '⚠ '; }
.bmi__actions, .bmi__ctas { display: flex; flex-wrap: wrap; gap: .7rem; }
.bmi__result { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.bmi__result.is-shown { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.bmi__value { font-family: var(--font-display); font-size: 3.1rem; line-height: 1; color: var(--forest); margin: 0 0 .2rem; }
.bmi__cat { font-weight: 700; font-size: 1.14rem; margin: 0 0 .7rem; }
.bmi__cat[data-cat='healthy'] { color: var(--success); }
.bmi__cat[data-cat='under'], .bmi__cat[data-cat='over'] { color: var(--warning); }
.bmi__cat[data-cat='obese'] { color: var(--error); }
@media (max-width: 500px) { .bmi__actions .btn, .bmi__ctas .btn { width: 100%; } }

/* ---- BMI section: dotted surface + gauge ---- */
.bmi-section {
  position: relative; overflow: hidden;
  background: radial-gradient(130% 130% at 50% 0%, #22422F 0%, var(--forest) 50%, var(--forest-deep) 100%);
}
.bmi-section #bmi-dots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bmi-wrap { position: relative; z-index: 1; }
.bmi-section h2 { color: var(--cream); }
.bmi-section .lede { color: #C9D4C5; }
.bmi-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.6rem; align-items: stretch;
  max-width: 1040px; margin-inline: auto;
}
@media (max-width: 920px) { .bmi-grid { grid-template-columns: 1fr; } }
.bmi-grid .bmi { max-width: none; margin: 0; }

.bmi-meter {
  background: rgba(250, 246, 239, .07);
  border: 1px solid rgba(250, 246, 239, .18);
  border-radius: 20px; backdrop-filter: blur(8px);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.bmi-gauge { width: min(340px, 90%); height: auto; margin-bottom: 1rem; }
.bmi-meter__hint { color: #AEC3A8; font-size: .95rem; max-width: 26em; }
.bmi-meter .bmi__result { margin: 0; padding: 0; border: 0; }
.bmi-meter .bmi__value { color: var(--cream); }
.bmi-meter .bmi-meter__range { color: #AEC3A8; font-size: .9rem; }
.bmi-meter .bmi__cat[data-cat='healthy'] { color: #7CD9A5; }
.bmi-meter .bmi__cat[data-cat='under'], .bmi-meter .bmi__cat[data-cat='over'] { color: #E9BE6C; }
.bmi-meter .bmi__cat[data-cat='obese'] { color: #F0968A; }
.bmi-meter .bmi__ctas { justify-content: center; margin-top: 1.1rem; }

/* ---- Products ---- */
.product { text-align: left; }
.product .card__img { aspect-ratio: 1; background: var(--sage-soft); }
.product__price { font-family: var(--font-display); font-size: 1.35rem; color: var(--forest); }
.product__labels { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0; }

/* ---- Circular testimonials ---- */
.circ {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center; max-width: 980px; margin-inline: auto;
}
@media (max-width: 820px) { .circ { grid-template-columns: 1fr; } }
.circ__stack { position: relative; aspect-ratio: 1; max-width: 380px; width: 100%; margin-inline: auto; }
.circ-tile {
  position: absolute; inset: 0; border-radius: 26px; border: 4px solid #fff;
  box-shadow: 0 18px 44px rgba(30,58,43,.18);
  display: flex; align-items: center; justify-content: center;
  transition: transform .55s var(--ease), opacity .45s var(--ease);
  will-change: transform;
}
.circ-tile span { font: 600 clamp(4rem, 9vw, 6.5rem)/1 var(--font-display); color: var(--forest); opacity: .85; }

/* Consented client photo. Optional: a tile without one keeps its monogram, so
   photos can be added per client as each consent form comes in. The radius is
   the tile's 26px minus its 4px white border, so the photo sits flush inside.
   Photos want to be square-ish (a side-by-side before/after reads as ~1:1)
   because .circ__stack is aspect-ratio 1 and cover crops anything wider.
   The monogram stays in the markup underneath: if the photo 404s or is still
   loading, the tile degrades to the lettered tile instead of going blank. */
.circ-tile__photo {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; border-radius: 22px; display: block;
}
/* Sits over the photo, bottom-left, so a before/after is never shown untagged.
   Written as `span.circ-tile__tag` deliberately: `.circ-tile span` (0,1,1) sets
   the 6.5rem monogram face, and a plain `.circ-tile__tag` (0,1,0) loses to it —
   the pill renders at 104px and swallows the whole tile. This selector is
   (0,2,1) and wins. Do not simplify it back to a single class. */
.circ-tile span.circ-tile__tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  padding: .3rem .62rem; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--forest); opacity: 1;
  font: 600 .72rem/1.35 var(--font-body); letter-spacing: .02em;
}

.circ-tile--a { background: linear-gradient(155deg, var(--sage-soft), var(--blush)); }
.circ-tile--b { background: linear-gradient(155deg, #F4EAD4, var(--sage-soft)); }
.circ-tile--c { background: linear-gradient(155deg, var(--blush), #F4EAD4); }

/* ===== Clinic photo gallery (Clinic page). Portrait room photos in a
   responsive grid; the reception tile leads. ===== */
.clinic-gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.cg-item { margin: 0; }
.cg-item img {
  display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 16px; box-shadow: 0 10px 26px rgba(30,58,43,.14);
}
.cg-item figcaption {
  text-align: center; margin-top: .5rem; font-size: .85rem;
  color: var(--stone); font-weight: 600;
}

/* ===== Certifications & credentials gallery (About page).
   Certificates are varied shapes (framed landscape, a portrait trophy, a
   screenshot), so object-fit:contain shows each one whole on a soft card
   rather than cropping. Each links to the full-size jpg. ===== */
.cred-gallery {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; margin-top: 1rem;
}
.cred-item { margin: 0; }
.cred-item a {
  display: block; border-radius: 14px; overflow: hidden;
  background: #EFE9DF; border: 1px solid rgba(30,58,43,.08);
  box-shadow: 0 8px 22px rgba(30,58,43,.10);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cred-item a:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30,58,43,.16); }
.cred-item img {
  display: block; width: 100%; height: 200px;
  object-fit: contain; background: #EFE9DF; padding: .5rem;
}
.cred-item figcaption {
  font-size: .78rem; line-height: 1.4; color: var(--stone);
  margin-top: .5rem; font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .cred-item a, .cred-item a:hover { transition: none; transform: none; }
}

/* ===== Happy clients — before/after photo grid.
   Deliberately separate from the .circ quote carousel: these photos carry no
   name and no quote, so a face is never shown beside words another client
   said. Add a name here only when that specific person has agreed to it. ===== */
.hc-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: clamp(1rem, 2.2vw, 1.6rem); max-width: 1080px; margin-inline: auto;
}
/* auto-fill drops to a single column below ~480px, which shrinks a side-by-side
   before/after too small to read. Hold two columns on phones instead. */
@media (max-width: 520px) { .hc-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; } }
.hc-item { margin: 0; }
.hc-item picture { display: block; }
.hc-item img {
  display: block; width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 20px; border: 4px solid #fff;
  box-shadow: 0 12px 30px rgba(30,58,43,.14);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.hc-item:hover img { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(30,58,43,.2); }
.hc-item figcaption {
  text-align: center; margin-top: .6rem; color: var(--stone);
  font-size: .85rem; font-weight: 600; letter-spacing: .01em;
}
@media (prefers-reduced-motion: reduce) {
  .hc-item img, .hc-item:hover img { transition: none; transform: none; }
}

.circ__quote {
  margin: 0 0 1.2rem; font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.5; color: var(--forest);
}
.circ__name { font-weight: 700; color: var(--forest); margin: 0; font-size: 1.05rem; }
.circ__svc { color: var(--stone); font-size: .9rem; margin: .15rem 0 1.4rem; }
.circ__body .quote__stars { margin-bottom: 1rem; }
.circ__body.is-swapping .circ__quote,
.circ__body.is-swapping .circ__name,
.circ__body.is-swapping .circ__svc { opacity: 0; transform: translateY(8px); }
.circ__quote, .circ__name, .circ__svc { transition: opacity .25s ease, transform .25s ease; }
.circ__nav { display: flex; gap: .8rem; }
.circ__nav button {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--forest); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .25s, transform .25s;
}
.circ__nav button:hover { background: var(--forest-deep); transform: translateY(-2px); }

/* ---- Accordion ---- */
.acc { border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; overflow: hidden; box-shadow: var(--shadow-rest); }
.acc details + details { border-top: 1px solid var(--line); }
.acc summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.4rem; font-weight: 600; color: var(--forest); font-size: 1.02rem;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 1.5rem; color: var(--gold); transition: transform .3s var(--ease); flex: none; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc__body { padding: 0 1.4rem 1.2rem; color: var(--stone); font-size: .97rem; }

/* ---- Lead capture ---- */
.lead { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
@media (max-width: 800px) { .lead { grid-template-columns: 1fr; } }
.lead form { display: grid; gap: .9rem; }
.consent { display: flex; gap: .6em; align-items: flex-start; font-size: .85rem; color: var(--stone); }
.consent input { margin-top: .3em; accent-color: var(--forest); }

/* ---- Blog sections: spiral particle background ---- */
.blog-dark {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 130% at 50% 0%, #22422F 0%, var(--forest) 55%, var(--forest-deep) 100%);
}
.blog-dark .spiral-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.blog-dark .wrap { position: relative; z-index: 1; }
.blog-dark h1, .blog-dark h2 { color: var(--cream); }
.blog-dark .lede { color: #C9D4C5; }
.blog-dark .post h3 a, .blog-dark .post h3 { color: var(--forest); }

/* ---- Blog cards ---- */
.post .card__img { aspect-ratio: 16/10; }
.post__meta { display: flex; gap: .8rem; font-size: .82rem; color: var(--stone); margin-bottom: .5rem; align-items: center; }

/* ---- Final CTA ---- */
.cta-final { text-align: center; }
.cta-final .btns { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 1.8rem; }

/* ---- Footer ---- */
.footer { background: var(--forest-deep); color: #C9D4C5; font-size: .94rem; }
.footer a { color: #E4EDE2; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.2rem; padding-block: 3.4rem 2.4rem; }
@media (max-width: 950px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 12px; margin-bottom: 1rem; }
.footer__logo img { height: 44px; }
.footer__bottom { border-top: 1px solid rgba(228,237,226,.18); padding-block: 1.3rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .84rem; }
.footer__social { display: flex; gap: .7rem; margin-top: 1rem; }
.footer__social a { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: rgba(228,237,226,.12); align-items: center; justify-content: center; }
.footer__social a:hover { background: rgba(228,237,226,.25); }

/* ---- WhatsApp float ---- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 990; display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.22); transition: transform .25s, box-shadow .25s;
}
.wa-float:hover { color: #fff; transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 26px rgba(0,0,0,.28); }

/* ---- Page hero (inner pages) ---- */
.page-hero { background: linear-gradient(160deg, var(--sage-soft), var(--cream) 70%); padding-block: clamp(48px, 7vw, 84px); }
.breadcrumb { font-size: .85rem; color: var(--stone); margin-bottom: 1rem; }
.breadcrumb a { color: var(--stone); }

/* ---- Reveal ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; }
.contact-card .card__icon { margin: 0; flex: none; }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .float-card, .float-leaf { animation: none; }
}

/* =========================================================================
   Full-bleed video hero + floating pill nav (Organised-style)
   ========================================================================= */
.hero-full {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--forest-deep);
}
.hero-full__media { position: absolute; inset: 0; z-index: 0; }
.hero-full__img,
.hero-full__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-full__img { animation: heroDrift 26s ease-in-out infinite alternate; }
.hero-full__video { z-index: 1; }              /* real mp4 covers the drifting image */
.hero-full__video.is-empty { display: none; }   /* no mp4 yet → show drifting image */
@keyframes heroDrift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to   { transform: scale(1.18) translate3d(-2.2%, -1.6%, 0); }
}
.hero-full::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top,
    rgba(21, 43, 32, .82) 0%, rgba(21, 43, 32, .34) 40%,
    rgba(21, 43, 32, .12) 64%, rgba(21, 43, 32, .34) 100%);
}
.hero-full__content {
  position: relative; z-index: 3; color: #fff;
  padding-block: clamp(6.5rem, 17vh, 9.5rem) clamp(3rem, 9vh, 6rem);
  max-width: 860px;
}
.hero-full__eyebrow {
  display: inline-block; font: 600 .82rem/1 var(--font-body);
  letter-spacing: .14em; text-transform: uppercase; color: #E9DDBF; margin-bottom: 1rem;
}
.hero-full h1 {
  color: #fff; font-size: clamp(2.7rem, 7vw, 5.4rem); line-height: 1.03;
  letter-spacing: -.015em; margin: 0 0 1rem; text-wrap: balance;
}
.hero-full__lede {
  color: rgba(255, 255, 255, .92);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem); max-width: 34em; margin: 0 0 1.9rem;
}
.hero-full__ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn--ondark { background: #fff; color: var(--forest); }
.btn--ondark:hover { background: var(--cream); color: var(--forest-deep); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn--ghostlight { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghostlight:hover { background: rgba(255, 255, 255, .18); color: #fff; transform: translateY(-2px); }

/* ---- Floating pill nav overlaying the hero (homepage only) ---- */
body.home .bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 901;
  transition: transform .35s var(--ease);
}
body.home.scrolled .bar { transform: translateY(-100%); }
body.home .header {
  position: fixed; left: 0; right: 0; z-index: 900;
  background: transparent; border: 0; box-shadow: none;
  transition: top .35s var(--ease);
}
body.home.scrolled .header { top: 0 !important; }
body.home .header .header__in {
  margin-top: .7rem;
  border-radius: var(--pill);
  min-height: 62px;
  padding-inline: clamp(1rem, 2vw, 1.5rem);
  background: rgba(250, 246, 239, .72);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .4);
  box-shadow: 0 8px 30px rgba(21, 43, 32, .16);
  transition: background-color .3s ease;
}
body.home.scrolled .header .header__in { background: rgba(250, 246, 239, .95); }

@media (prefers-reduced-motion: reduce) {
  .hero-full__img { animation: none; }
}

/* ---- Hero reformat for Rimsha portrait (content left, her right) ---- */
.hero-full { align-items: center; }
.hero-full__img { object-position: 72% 42%; }
.hero-full::after {
  background:
    linear-gradient(100deg,
      rgba(21,43,32,.94) 0%, rgba(21,43,32,.86) 30%,
      rgba(21,43,32,.48) 52%, rgba(21,43,32,.06) 76%),
    linear-gradient(to top, rgba(21,43,32,.45) 0%, transparent 30%);
}
.hero-full__content {
  max-width: 620px; margin-right: auto; margin-left: 0;
  padding-block: clamp(9rem, 20vh, 12rem) clamp(3rem, 8vh, 5rem);
}
.hero-full__trust {
  list-style: none; margin: 1.8rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem .9rem;
}
.hero-full__trust li {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .9rem; color: rgba(255,255,255,.9);
}
.hero-full__trust li::before {
  content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(212,180,94,.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D4B45E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}

@media (max-width: 860px) {
  .hero-full { align-items: flex-end; }
  .hero-full__img { object-position: 58% 26%; }
  .hero-full::after {
    background: linear-gradient(to top,
      rgba(21,43,32,.92) 0%, rgba(21,43,32,.55) 45%, rgba(21,43,32,.30) 100%);
  }
  .hero-full__content {
    max-width: none; margin: 0;
    padding-block: clamp(7rem, 16vh, 9rem) clamp(2.5rem, 8vh, 4rem);
  }
  .hero-full__trust { gap: .4rem .8rem; }
}

/* ---- Hero: full desk photo with branding (final framing) ---- */
.hero-full { align-items: flex-end; }
.hero-full__img { object-position: 58% 60%; }
.hero-full::after {
  background:
    linear-gradient(to top, rgba(21,43,32,.74) 0%, rgba(21,43,32,.16) 40%, transparent 62%),
    linear-gradient(102deg, rgba(21,43,32,.55) 0%, rgba(21,43,32,.12) 30%, transparent 52%);
}
.hero-full__content {
  max-width: 620px; margin-left: 0; margin-right: auto;
  padding-block: clamp(8rem, 17vh, 11rem) clamp(2.6rem, 7vh, 4.6rem);
}
@media (max-width: 860px) {
  .hero-full__img { object-position: 56% 50%; }
  .hero-full::after {
    background: linear-gradient(to top, rgba(21,43,32,.9) 0%, rgba(21,43,32,.5) 48%, rgba(21,43,32,.28) 100%);
  }
}

/* ---- Hero: fit the WHOLE image (contain) on a blurred self-backdrop ---- */
.hero-full__bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../img/rimsha-hero.jpg") center/cover no-repeat;
  filter: blur(30px) brightness(.58) saturate(1.05);
  transform: scale(1.15);
}
.hero-full__img {
  object-fit: contain;
  object-position: center;
  animation: none;
  z-index: 1;
}
.hero-full::after {
  background:
    linear-gradient(to top, rgba(21,43,32,.86) 0%, rgba(21,43,32,.26) 34%, transparent 58%),
    linear-gradient(100deg, rgba(21,43,32,.62) 0%, rgba(21,43,32,.12) 32%, transparent 56%);
}
.hero-full__content {
  max-width: 600px; margin-left: 0; margin-right: auto;
  padding-block: clamp(7rem, 15vh, 10rem) clamp(2.4rem, 7vh, 4.4rem);
}
@media (max-width: 860px) {
  .hero-full__content { max-width: none; }
  .hero-full::after {
    background: linear-gradient(to top, rgba(21,43,32,.9) 0%, rgba(21,43,32,.5) 42%, rgba(21,43,32,.34) 100%);
  }
}

/* ---- Hero contain: compact bottom text so the whole image stays visible ---- */
.hero-full h1 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; }
.hero-full__lede { font-size: clamp(1rem, 1.2vw, 1.12rem); max-width: 30em; margin-bottom: 1.3rem; }
.hero-full__content { max-width: 560px; padding-block: 0 clamp(2rem, 6vh, 3.8rem); }
.hero-full__trust { margin-top: 1.2rem; }
.hero-full::after {
  background: linear-gradient(to top,
    rgba(21,43,32,.93) 0%, rgba(21,43,32,.74) 20%,
    rgba(21,43,32,.36) 42%, rgba(21,43,32,.06) 62%, transparent 100%);
}
@media (max-width: 860px) {
  .hero-full::after {
    background: linear-gradient(to top, rgba(21,43,32,.94) 0%, rgba(21,43,32,.6) 40%, rgba(21,43,32,.34) 100%);
  }
}

/* ===== FINAL hero: sharp 4K portrait crop, cover, full head + headroom ===== */
.hero-full__bg { display: none; }
.hero-full { align-items: flex-end; }
.hero-full__img {
  object-fit: cover;
  object-position: 55% 72%;
  animation: heroDrift 28s ease-in-out infinite alternate;
  z-index: 1;
}
.hero-full::after {
  background:
    linear-gradient(to top, rgba(21,43,32,.82) 0%, rgba(21,43,32,.2) 40%, transparent 62%),
    linear-gradient(102deg, rgba(21,43,32,.56) 0%, rgba(21,43,32,.12) 30%, transparent 52%);
}
.hero-full h1 { font-size: clamp(2.7rem, 7vw, 5.4rem); line-height: 1.03; }
.hero-full__lede { font-size: clamp(1.05rem, 1.5vw, 1.28rem); max-width: 34em; margin-bottom: 1.9rem; }
.hero-full__content { max-width: 620px; padding-block: clamp(8rem, 17vh, 11rem) clamp(2.6rem, 7vh, 4.6rem); }
@media (prefers-reduced-motion: reduce) { .hero-full__img { animation: none; } }
@media (max-width: 860px) {
  .hero-full__img { object-position: 55% 64%; }
  .hero-full::after { background: linear-gradient(to top, rgba(21,43,32,.9) 0%, rgba(21,43,32,.5) 48%, rgba(21,43,32,.28) 100%); }
  .hero-full__content { max-width: none; }
}

/* ===== Lamp section (Meet your dietitian) — theme-recolored gold ===== */
.lamp {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 85% at 50% -8%, #22402E 0%, #12241A 55%, #0E1E15 100%);
  padding-top: clamp(120px, 17vh, 200px);
}
.lamp .wrap { position: relative; z-index: 2; }
.lamp__fx { position: absolute; top: 0; left: 0; right: 0; height: 420px; z-index: 1; pointer-events: none; }
.lamp__line {
  position: absolute; top: 84px; left: 50%; transform: translateX(-50%);
  width: clamp(260px, 42vw, 560px); height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, #E9C766, #F6E7B4, #E9C766, transparent);
  box-shadow: 0 0 30px 6px rgba(233,199,102,.5), 0 0 90px 24px rgba(212,180,94,.32);
  animation: lampOn 1.1s var(--ease) .15s both;
}
.lamp__spill {
  position: absolute; top: 84px; left: 50%; transform: translateX(-50%);
  width: clamp(340px, 58vw, 780px); height: 320px;
  background: radial-gradient(58% 100% at 50% 0%, rgba(233,199,102,.34), rgba(212,180,94,.10) 42%, transparent 72%);
  filter: blur(6px);
  animation: lampGlow 1.1s var(--ease) .15s both;
}
@keyframes lampOn { from { transform: translateX(-50%) scaleX(.28); opacity: .35; } to { transform: translateX(-50%) scaleX(1); opacity: 1; } }
@keyframes lampGlow { from { opacity: .25; } to { opacity: 1; } }
.lamp .eyebrow { color: #E9C766; }
.lamp__title { color: var(--cream); text-shadow: 0 0 34px rgba(233,199,102,.35); }
.lamp .xcard { border-color: rgba(250,246,239,.14); box-shadow: 0 26px 64px rgba(0,0,0,.45); }

/* success-story mini cards in the side spaces */
.ss-mini {
  position: relative;
  background: rgba(250,246,239,.07);
  border: 1px solid rgba(250,246,239,.16);
  border-radius: 14px; padding: 1rem 1.1rem;
  color: #EAEFE7; font-size: .9rem; line-height: 1.5;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 34px rgba(0,0,0,.28);
}
.ss-mini[data-stars]::before {
  content: '\2605\2605\2605\2605\2605'; display: block;
  color: #E9C766; letter-spacing: .12em; font-size: .78rem; margin-bottom: .45rem;
}
.ss-mini cite {
  display: block; margin-top: .55rem; color: #AEC3A8;
  font-style: normal; font-weight: 600; font-size: .8rem;
}
@media (prefers-reduced-motion: reduce) {
  .lamp__line, .lamp__spill { animation: none; }
}

/* ===== Lamp: lighter bg + brighter spotlight beam onto the dietitian ===== */
.lamp {
  background: radial-gradient(145% 110% at 50% 2%, #35604A 0%, #29502F 46%, #1F3C29 100%);
}
.lamp__fx { height: 100%; }
.lamp__line {
  top: 82px; height: 4px;
  background: linear-gradient(90deg, transparent, #F3E3A6, #FFF7DC, #F3E3A6, transparent);
  box-shadow: 0 0 42px 10px rgba(247,230,160,.72), 0 0 130px 44px rgba(233,199,102,.5);
}
.lamp__beam {
  position: absolute; top: 84px; left: 50%; transform: translateX(-50%);
  width: min(1020px, 94vw); height: 780px;
  background: linear-gradient(to bottom,
    rgba(252,238,178,.58) 0%, rgba(242,217,128,.30) 30%,
    rgba(233,199,102,.12) 60%, transparent 86%);
  clip-path: polygon(43% 0, 57% 0, 87% 100%, 13% 100%);
  filter: blur(18px);
  animation: lampGlow 1.1s var(--ease) .15s both;
}
.lamp__spot {
  position: absolute; top: 340px; left: 50%; transform: translateX(-50%);
  width: min(780px, 76vw); height: 600px;
  background: radial-gradient(50% 46% at 50% 42%, rgba(252,238,178,.36), rgba(233,199,102,.10) 46%, transparent 70%);
  filter: blur(26px);
  animation: lampGlow 1.2s var(--ease) .2s both;
}

/* ===== Section rhythm recolors ===== */
/* How it works (now on white): green 3D glass cards */
.glass-steps .glass {
  background: linear-gradient(160deg, rgba(30,58,43,.96), rgba(21,43,32,.9));
  border: 1px solid rgba(30,58,43,.4);
  box-shadow: 0 24px 52px rgba(21,43,32,.28);
}
.glass-steps .glass::before { background: rgba(255,255,255,.09); color: var(--cream); }
.glass-steps .glass__in p { color: #C9D4C5; }
.glass-steps .glass__num, .glass-steps .glass__in svg { color: #E9C766; }

/* Bakery (now on green): white product cards lifted for a 3D float */
.section--forest .product.card { box-shadow: 0 20px 46px rgba(0,0,0,.34); }
.section--forest .product.card:hover { box-shadow: 0 28px 60px rgba(0,0,0,.42); }

/* White cards inside a forest section: restore dark text (the section-wide
   light-heading rule was making plan names invisible on the white card). */
.section--forest .card :is(h1,h2,h3,h4) { color: var(--forest); }
.section--forest .card p { color: var(--charcoal); }
.section--forest .card .product__price,
.section--forest .card .plan__price { color: var(--forest); }
.section--forest .card .muted { color: var(--stone); }

/* ---- About page: Floating Background Paths (21st.dev BackgroundPaths, brand recolor) ----
   Vanilla port of the framer-motion component: 2 mirrored layers x 24 bezier strokes,
   drifting via stroke-dashoffset (pathLength=1 trick) with a slow opacity pulse. */
.has-paths { position: relative; overflow: hidden; }
.has-paths > .wrap { position: relative; z-index: 1; }
.bg-paths { position: absolute; inset: 0; pointer-events: none; color: var(--forest, #29502F); }
.section--ivory .bg-paths, .page-hero .bg-paths { color: #35604A; }
.bg-paths svg { width: 100%; height: 100%; display: block; }
.bg-paths path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-dasharray: 1;               /* pathLength="1" is set on each path */
  stroke-dashoffset: 1;
  animation:
    pathDrift var(--dur, 26s) linear infinite,
    pathPulse calc(var(--dur, 26s) * .55) ease-in-out infinite;
}
.bg-paths.is-off path { animation-play-state: paused; }   /* paused while offscreen */
@keyframes pathDrift { from { stroke-dashoffset: 1; } to { stroke-dashoffset: -1; } }
@keyframes pathPulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
/* soft fade at the edges so strokes melt into the section bg */
.bg-paths::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(250,247,240,.55), transparent 30%, transparent 70%, rgba(250,247,240,.55));
}
.section--ivory .bg-paths::after {
  background: linear-gradient(180deg, rgba(244,239,229,.6), transparent 32%, transparent 68%, rgba(244,239,229,.6));
}
@media (prefers-reduced-motion: reduce) {
  .bg-paths path { animation: none; opacity: .5; }
}

/* ---- Blog article pages ---- */
.article { max-width: 760px; margin-inline: auto; }
.article__hero { width: 100%; border-radius: var(--radius-card); box-shadow: var(--shadow-hover); margin-bottom: 1.6rem; display: block; }
.article__byline { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; align-items: center; color: var(--ink-soft); font-size: .92rem; margin-bottom: 2rem; }
.article__byline .tag { font-size: .78rem; }
.article h2 { margin-top: 2.4rem; }
.article h3 { margin-top: 1.7rem; }
.article p, .article li { line-height: 1.75; }
.article ul, .article ol { padding-left: 1.3rem; margin: .9rem 0 1.2rem; }
.article li { margin: .4rem 0; }
.article .callout {
  background: var(--sage-soft, #E8EFE3); border-left: 4px solid var(--forest, #29502F);
  border-radius: 0 var(--radius-card) var(--radius-card) 0; padding: 1rem 1.2rem; margin: 1.5rem 0;
}
.article table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .95rem; }
.article th, .article td { text-align: left; padding: .6em .8em; border-bottom: 1px solid rgba(0,0,0,.08); }
.article th { background: var(--sage-soft, #E8EFE3); }
.article details { border: 1px solid rgba(0,0,0,.1); border-radius: 12px; padding: .85rem 1.1rem; margin: .6rem 0; background: #fff; }
.article details summary { font-weight: 600; cursor: pointer; }
.article details p { margin: .7rem 0 .2rem; }
.article .author-box {
  display: flex; gap: 1.1rem; align-items: center; background: #fff; border-radius: var(--radius-card);
  padding: 1.1rem 1.3rem; box-shadow: var(--shadow-card); margin-top: 2.6rem;
}
.article .author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 55% 25%; }
.article .author-box p { margin: .15rem 0 0; font-size: .93rem; }
.article .disclaimer { margin-top: 1.4rem; }

/* ---- Sparkles hero (Contact "Get in touch") — 21st.dev Sparkles, brand recolor ---- */
.contact-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(125% 125% at 50% 0%, #29502F 0%, #1E3A2B 55%, #152B20 100%);
}
.contact-hero > .wrap { position: relative; z-index: 2; }
.contact-hero h1 { color: var(--cream); }
.contact-hero .lede { color: #C9D4C5; }
.contact-hero .breadcrumb, .contact-hero .breadcrumb a { color: #9DB294; }
.contact-hero .breadcrumb a:hover { color: var(--cream); }
/* particle layer, faded at the edges so dots melt into the section */
.sparkles {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  -webkit-mask-image: radial-gradient(115% 90% at 50% 22%, #000 45%, transparent 100%);
          mask-image: radial-gradient(115% 90% at 50% 22%, #000 45%, transparent 100%);
}
.sparkles canvas { display: block; }
/* glowing accent line under the heading, like the reference demo */
.spark-glow { position: relative; width: min(460px, 78%); height: 2px; margin: 1.5rem 0 .2rem; }
.spark-glow::before, .spark-glow::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.spark-glow::after { filter: blur(6px); height: 5px; top: -1px; opacity: .8; }

/* ---- WordPress primary nav (renders as <li> items): remove bullets, widen, no-wrap ---- */
.header .nav { gap: .35rem; align-items: center; }
.header .nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .35rem; }
.header .nav li { list-style: none; margin: 0; padding: 0; }
.header .nav li::marker { content: ""; }
.header .nav a { white-space: nowrap; padding: .6em 1.1em; }
@media (min-width: 1100px) {
  .header .nav { gap: .5rem; }
  .header .nav a { padding: .62em 1.15em; letter-spacing: .005em; }
}

/* Logo must never be squashed by the nav (it is a flex item) */
.header__in > .header__logo { flex: 0 0 auto; }
.header__logo img { width: auto; max-width: none; flex: 0 0 auto; }
.header .nav { min-width: 0; flex-shrink: 1; }

/* ---- Header fit: give the bar room so every menu item shows ---- */
@media (min-width: 1200px) {
  .header .wrap { max-width: min(1520px, 95vw); }
}
/* CTAs never shrink; WhatsApp stays a perfect circle at full size */
.header__ctas { flex: 0 0 auto; }
.header__ctas .icon-btn {
  flex: 0 0 auto;
  width: 44px; height: 44px; min-width: 44px; min-height: 44px;
  aspect-ratio: 1 / 1; padding: 0; border-radius: 50%;
}
.header__ctas .icon-btn svg { width: 22px; height: 22px; display: block; flex: 0 0 auto; }
.header__ctas .btn--book { white-space: nowrap; flex: 0 0 auto; }

/* ===== Order builder — pizza-builder-style quick chooser ===== */
.pb-section { background: var(--ivory); }
.pb { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 4vw, 3.4rem); align-items: start; }
.pb__hello { color: var(--stone); font-size: 1.25rem; margin: 0 0 .1rem; font-family: var(--font-display); }
.pb__q { margin: 0 0 1.4rem; }
.pb__step { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); margin: 1.3rem 0 .55rem; }
.pb__goals, .pb__levels { display: flex; flex-wrap: wrap; gap: .5rem; }
.pb__goals button, .pb__levels button {
  border: 1.5px solid var(--line); background: #fff; color: var(--charcoal);
  border-radius: var(--pill); padding: .55em 1.15em; font: 600 .92rem var(--font-body);
  cursor: pointer; transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.pb__goals button:hover, .pb__levels button:hover { border-color: var(--sage); transform: translateY(-1px); }
.pb__goals button[aria-pressed="true"], .pb__levels button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.pb__durs { display: flex; gap: .7rem; flex-wrap: wrap; }
.pb__durs button {
  width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
  font: 700 .95rem var(--font-body); color: var(--charcoal); cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.pb__durs button:hover:not(:disabled) { border-color: var(--sage); transform: translateY(-2px); }
.pb__durs button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.pb__durs button:disabled { opacity: .3; cursor: not-allowed; }
.pb__goalline { color: var(--gold); font-weight: 600; font-size: .92rem; min-height: 1.4em; margin: 1.1rem 0 0; }
.pb__price { font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 2.9rem); color: var(--forest); font-weight: 600; line-height: 1; }
.pb__pricerow { margin: .35rem 0 1.1rem; display: flex; align-items: baseline; gap: .6rem; }
.pb__price.pop { animation: pbPop .3s var(--ease); }
@keyframes pbPop { from { transform: scale(.92); opacity: .4; } to { transform: scale(1); opacity: 1; } }
.pb__ctarow { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.pb__cta { font-size: 1rem; padding: .85em 1.5em; }
.pb__cart { font-size: 1rem; padding: .85em 1.4em; }
.pb__cta .pb__chip { background: rgba(255,255,255,.18); border-radius: var(--pill); padding: .25em .8em; font-size: .8rem; margin-left: .7em; }
.pb__note { color: var(--stone); font-size: .78rem; margin-top: .7rem; }
.pb__panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-hover); padding: 1.15rem; }
.pb__photo { width: 100%; height: 168px; object-fit: cover; border-radius: 14px; display: block; margin-bottom: .9rem; }
.pb__panel-head { display: flex; align-items: center; justify-content: space-between; padding: 0 .2rem .6rem; }
.pb__count { background: var(--sage-soft); color: var(--forest); border-radius: var(--pill); font-size: .76rem; font-weight: 700; padding: .3em .8em; }
.pb__list { max-height: 320px; overflow: auto; display: grid; gap: .3rem; scrollbar-width: thin; }
.pb__row { display: flex; align-items: center; gap: .7rem; padding: .55rem .6rem; border-radius: 12px; transition: background .2s; }
.pb__row:hover { background: var(--cream); }
.pb__row--click { cursor: pointer; }
.pb__ico { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--sage-soft); color: var(--success); display: grid; place-items: center; font-size: .95rem; overflow: hidden; }
.pb__ico img { width: 100%; height: 100%; object-fit: cover; }
.pb__feat { flex: 1; font-size: .9rem; line-height: 1.35; }
.pb__rowprice { font-size: .84rem; font-weight: 600; color: var(--stone); white-space: nowrap; }
.pb__tog { flex: 0 0 40px; width: 40px; height: 22px; border-radius: var(--pill); background: var(--success); position: relative; transition: background .25s var(--ease); }
.pb__tog::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.pb__tog--off { background: #D5CFC0; }
.pb__tog--off::after { transform: translateX(-18px); }
.pb__fade { animation: pbFade .3s var(--ease); }
@keyframes pbFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 880px) { .pb { grid-template-columns: 1fr; } .pb__list { max-height: 300px; } }

/* ===== WooCommerce cart & checkout, theme skin ===== */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt,
.woocommerce input.button.alt, .woocommerce #payment #place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background: var(--forest); color: #fff; border: none; border-radius: var(--pill);
  font-family: var(--font-body); font-weight: 600; padding: .85em 1.7em;
  transition: background .22s var(--ease), transform .22s var(--ease);
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.woocommerce #payment #place_order:hover, .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--forest-deep); color: #fff; transform: translateY(-1px);
}
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { background: var(--forest); color: #fff; opacity: .55; border-radius: var(--pill); padding: .85em 1.7em; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { display: block; text-align: center; font-size: 1.05rem; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; overflow: hidden; border-collapse: separate; }
.woocommerce table.shop_table th { background: var(--cream); color: var(--forest); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--line); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.woocommerce form .form-row select, .woocommerce .quantity .qty, .woocommerce #coupon_code {
  border: 1.5px solid var(--line); border-radius: var(--radius-input); padding: .6em .85em; background: #fff; font-family: var(--font-body);
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus, .woocommerce #coupon_code:focus { border-color: var(--sage); outline: none; }
.woocommerce #payment { background: var(--cream); border-radius: var(--radius-card); }
.woocommerce #payment div.payment_box { background: #fff; border-radius: var(--radius-input); }
.woocommerce #payment div.payment_box::before { border-bottom-color: #fff; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--forest); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--forest); }
.woocommerce .woocommerce-form-coupon, .woocommerce form.checkout_coupon { border: 1.5px dashed var(--line); border-radius: var(--radius-card); }
.woocommerce h3, .woocommerce-checkout h3 { font-family: var(--font-display); color: var(--forest); }
.pb__variant { color: var(--stone); font-style: normal; font-size: .8em; margin-left: .35em; }

/* The drawer-only booking button must stay hidden in the desktop inline nav. */

/* ===== Mobile fixes =====
   THE MENU BUG: an element with backdrop-filter becomes the containing block for
   its position:fixed descendants. .header and .header__in both blur their
   backdrop, so the nav drawer (position:fixed; inset:0 0 0 auto) was being
   clipped to the little header pill instead of filling the viewport. Dropping
   the blur below 1080px fixes the drawer — and removes an expensive per-frame
   compositing step on exactly the devices least able to afford it. */
@media (max-width: 1080px) {
	.header,
	body.home .header,
	body.home .header .header__in {
		-webkit-backdrop-filter: none !important;
		backdrop-filter: none !important;
	}
	.header { background: var(--cream); }
	body.home .header .header__in {
		background: var(--cream);
		box-shadow: 0 4px 18px rgba(21, 43, 32, .10);
	}

	/* Drawer: comfortable, scrollable, safe-area aware */
	.nav {
		width: min(360px, 86vw);
		padding: 84px 20px calc(26px + env(safe-area-inset-bottom, 0px));
		gap: .15rem;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
	}
	.nav ul { flex-direction: column; align-items: stretch; gap: .15rem; width: 100%; }
	.nav li { width: 100%; }
	.nav a {
		display: block; width: 100%;
		min-height: 48px; line-height: 1.3;
		padding: .85em 1em;
		white-space: normal;
		border-radius: 12px;
	}

	/* Dim the page behind the open drawer, and let a tap on it close the menu. */
	

	/* Comfortable tap targets everywhere */
	.header__ctas .icon-btn { width: 46px; height: 46px; min-width: 46px; min-height: 46px; }
	.nav-toggle { padding: 12px; min-width: 48px; min-height: 48px; }
}

/* Small phones: stop anything from pushing the page sideways */
@media (max-width: 640px) {
	html, body { overflow-x: hidden; }
	.wrap { padding-inline: 18px; }
	.btn { min-height: 48px; }
	.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	/* the order builder stacks; keep its list readable and thumb-friendly */
	.pb__list { max-height: none; }
	.pb__row { padding: .7rem .55rem; }
	.pb__durs button { width: 52px; height: 52px; }
	.pb__cta, .pb__cart { width: 100%; justify-content: center; }
	/* WhatsApp float shouldn't cover content or sit under the home indicator */
	.wa-float { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}

/* Respect users who ask for less motion, and cut effects that cost the most on phones */
@media (max-width: 1080px) {
	.lamp__fx, .bg-paths { display: none; }
	.card { box-shadow: var(--shadow-rest); }
}

/* ===== Mobile form ergonomics =====
   iOS Safari zooms the whole page when you focus a field smaller than 16px.
   Mid-checkout that reads as the site breaking. 16px keeps the viewport still,
   and 48px targets make the fields easy to hit with a thumb. */
@media (max-width: 1080px) {
	input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
	select,
	textarea,
	.woocommerce form .form-row input.input-text,
	.woocommerce form .form-row select,
	.woocommerce form .form-row textarea,
	.woocommerce #coupon_code,
	.woocommerce .quantity .qty {
		font-size: 16px;
		min-height: 48px;
	}
	textarea,
	.woocommerce form .form-row textarea { min-height: 120px; }

	.woocommerce form .form-row { margin-bottom: 1rem; }
	.woocommerce form .form-row label { font-size: .95rem; margin-bottom: .3rem; display: block; }

	/* Carousel dots stay visually small but get a proper 44px touch area. */
	.fan__dot, .circ__dot { position: relative; }
	.fan__dot::after, .circ__dot::after {
		content: ""; position: absolute; left: 50%; top: 50%;
		width: 44px; height: 44px; transform: translate(-50%, -50%);
	}
}

@media (max-width: 640px) {
	/* The money buttons deserve the full width on a phone. */
	.woocommerce #payment #place_order,
	.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
	.woocommerce .cart .button,
	.woocommerce .cart input.button { width: 100%; }
	.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: .8rem .6rem; }
}


/* ===== Mobile menu drawer =====
   Body-level panel: it owns its own stacking context, so nothing in the header
   can clip it or wash it out. Hidden entirely above the mobile breakpoint. */
.m-scrim, .m-drawer { display: none; }

@media (max-width: 1080px) {
	/* the inline desktop nav is replaced by the drawer on small screens */
	.header .nav { display: none !important; }

	.m-scrim {
		display: block;
		position: fixed; inset: 0; z-index: 1000;
		background: rgba(21, 43, 32, .5);
		opacity: 0; pointer-events: none;
		transition: opacity .3s var(--ease);
		-webkit-tap-highlight-color: transparent;
	}
	.m-scrim.is-open { opacity: 1; pointer-events: auto; }

	.m-drawer {
		display: flex; flex-direction: column;
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 1001;
		width: min(360px, 86vw);
		background: var(--ivory);
		box-shadow: -18px 0 50px rgba(21, 43, 32, .28);
		transform: translateX(103%);
		transition: transform .34s var(--ease);
		overflow-y: auto; overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}
	.m-drawer.is-open { transform: none; }
	/* Keep the panel clear of the WordPress admin bar when signed in. */
	body.admin-bar .m-drawer, body.admin-bar .m-scrim { top: 46px; }

	.m-drawer__head {
		display: flex; align-items: center; justify-content: space-between;
		gap: 1rem; padding: 1.1rem 1.15rem 1rem;
		border-bottom: 1px solid var(--line);
		position: sticky; top: 0; background: var(--ivory); z-index: 1;
	}
	.m-drawer__logo { height: 38px; width: auto; display: block; }
	.m-drawer__close {
		flex: 0 0 auto; width: 46px; height: 46px;
		display: grid; place-items: center;
		border: 1px solid var(--line); border-radius: 50%;
		background: #fff; color: var(--forest); cursor: pointer;
		transition: background-color .2s, border-color .2s;
	}
	.m-drawer__close:active { background: var(--sage-soft); border-color: var(--sage); }

	.m-drawer__list { list-style: none; margin: 0; padding: .7rem .8rem; display: grid; gap: .1rem; }
	.m-drawer__list li { list-style: none; margin: 0; }
	.m-drawer__list a {
		display: flex; align-items: center; min-height: 52px;
		padding: .7em .9em; border-radius: 12px;
		font-family: var(--font-body); font-size: 1.06rem; font-weight: 500;
		color: var(--charcoal); text-decoration: none; line-height: 1.3;
		transition: background-color .2s, color .2s;
	}
	.m-drawer__list a:active { background: var(--sage-soft); }
	.m-drawer__list a.is-current {
		background: var(--sage-soft); color: var(--forest); font-weight: 600;
	}

	.m-drawer__foot {
		margin-top: auto; padding: 1rem 1.15rem 1.4rem;
		border-top: 1px solid var(--line); display: grid; gap: .55rem;
	}
	.m-drawer__book { width: 100%; justify-content: center; min-height: 52px; }
	.m-drawer__line {
		display: flex; align-items: baseline; gap: .45rem; min-height: 44px;
		padding: .35rem .1rem;
		font-size: .95rem; color: var(--charcoal); text-decoration: none;
	}
	.m-drawer__line span {
		font-size: .72rem; font-weight: 700; letter-spacing: .07em;
		text-transform: uppercase; color: var(--stone);
	}

	body.nav-open { overflow: hidden; }
}

/* ==========================================================================
   Mobile-first additions: two-row nav + plan dropdowns, sticky action bar,
   story/review cards, booking summary, and accessibility fixes.
   ========================================================================== */

/* ---- Desktop nav: two rows so nothing hides behind a "More" bucket ----
   Row 1 carries Home, the two plan menus and the money pages; row 2 is a
   lighter strip with everything else. Both rows wrap rather than overflow, so
   however narrow the window gets, every link stays visible and clickable. */
.header__in { gap: 1rem; }
.header .nav { flex-direction: column; align-items: flex-end; gap: .1rem; }
.header .nav__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .15rem; min-width: 0; }
/* Row 1 runs a notch tighter than the old five-item nav — "Premium
   Transformation Challenges" is a long label and it has to share one line. */
.header .nav__row--primary a,
.header .nav__drop > summary { font-size: .9rem; padding: .5em .72em; }
.header .nav__row--secondary { gap: 0; }
.header .nav__row--secondary a {
  font-size: .84rem; padding: .3em .5em; color: var(--stone); font-weight: 500;
}
.header .nav__row--secondary a:hover { color: var(--charcoal); background: var(--sage-soft); }
.header .nav__row--secondary a[aria-current="page"] { color: var(--forest); }
/* 1081–1180px is the tightest desktop band: still the inline nav (the drawer
   takes over at 1080) but barely enough room for 14 links plus the CTAs. Both
   rows still wrap rather than clip if a translation ever runs longer. */
@media (max-width: 1180px) {
  .header__in { gap: .75rem; }
  .header .nav__row--primary a,
  .header .nav__drop > summary { font-size: .83rem; padding: .42em .55em; }
  .header .nav__row--secondary a { font-size: .775rem; padding: .26em .36em; }
}

/* ---- Header plan dropdowns (desktop; the drawer handles ≤1080px) ----
   The panels are wide (five columns of plans), so they hang off the header
   wrap rather than off their own summary — anchored to a summary sitting
   mid-row, a 840px panel runs off the left edge of the window. */
.header__in { position: relative; }
.nav__drop > summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .28em;
  padding: .55em .8em; border-radius: var(--pill);
  font-weight: 500; font-size: .96rem; color: var(--charcoal);
  white-space: nowrap; transition: background-color .25s;
}
.nav__drop > summary::-webkit-details-marker { display: none; }
.nav__drop > summary::after { content: '▾'; font-size: .8em; line-height: 1; }
.nav__drop > summary:hover { background: var(--sage-soft); }
.nav__drop[open] > summary { background: var(--sage-soft); }
.nav__drop[data-current] > summary { background: var(--sage-soft); color: var(--forest); font-weight: 600; }
.nav__drop-panel {
  /* Absolute offsets are measured from the padding box, so `right: 0` would sit
     flush against the window edge whenever .wrap is full-width. Inset it by the
     same padding .wrap uses, so the panel lines up with the page gutter. */
  position: absolute; top: calc(100% + 8px); z-index: 40;
  right: clamp(18px, 4vw, 32px);
  padding: 1rem 1.1rem 1.1rem;
  width: min(1010px, calc(100vw - 2 * clamp(18px, 4vw, 32px)));
  background: var(--ivory); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-hover);
}
/* One row of equal columns, however many categories the catalogue has — the
   count comes from the data, so it must not be hard-coded here. */
.nav__drop-cols {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr); gap: 0 .9rem;
}
.nav__drop-col { display: grid; gap: .05rem; align-content: start; min-width: 0; }
.header .nav__drop-panel a {
  display: block; padding: .42em .55em; border-radius: 9px;
  font-size: .9rem; font-weight: 500; line-height: 1.35;
  color: var(--charcoal); text-decoration: none; white-space: normal;
  transition: background-color .2s, color .2s;
}
.header .nav__drop-panel a:hover { background: var(--sage-soft); }
.header .nav__drop-title {
  font-size: .71rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--forest); margin-bottom: .1rem;
}
.header .nav__drop-all {
  margin-top: .8rem; padding-top: .75rem;
  border-top: 1px solid var(--line);
  font-weight: 700; color: var(--forest);
}

/* ---- Drawer plan menus (mobile): collapsed accordions ----
   Two nesting levels of <details>: the menu ("Simple Diet Plans") opens to its
   categories, each category opens to its plans. Collapsed by default so the
   drawer is a short, scannable list until the visitor taps in. */
@media (max-width: 1080px) {
  .m-drawer__group { margin-top: .15rem; }

  /* Remove the native disclosure triangle; we draw our own chevron. */
  .m-drawer__acc > summary { list-style: none; cursor: pointer; }
  .m-drawer__acc > summary::-webkit-details-marker { display: none; }

  .m-drawer__list summary.m-drawer__grouphead {
    display: flex; align-items: center; min-height: 52px;
    padding: .7em .9em; border-radius: 12px;
    font-family: var(--font-body); font-size: 1.06rem; font-weight: 700;
    color: var(--forest); background: var(--sage-soft);
  }
  /* Chevron on every accordion summary, rotates when open. */
  .m-drawer__acc > summary::after {
    content: ""; margin-left: auto; flex: 0 0 auto;
    width: .58em; height: .58em; margin-right: .2em;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform .2s var(--ease);
  }
  .m-drawer__acc[open] > summary::after { transform: rotate(225deg); }

  .m-drawer__accbody { padding: .15rem 0 .35rem .35rem; }

  /* A category row inside an open menu. */
  .m-drawer__list summary.m-drawer__subhead {
    display: flex; align-items: center; min-height: 46px;
    padding: .5em .7em; border-radius: 10px;
    font-size: .95rem; font-weight: 600; color: var(--charcoal);
  }
  .m-drawer__acc--sub { border-left: 2px solid var(--line); margin: .1rem 0 .1rem .15rem; }

  .m-drawer__sublist {
    list-style: none; margin: 0 0 .3rem; padding: 0 0 0 .5rem;
  }
  .m-drawer__sublist li { list-style: none; min-width: 0; }
  .m-drawer__sublist a { min-height: 46px; font-size: .95rem; }

  /* "All diet plans →" at the foot of an open menu. */
  .m-drawer__all {
    display: flex; align-items: center; min-height: 46px;
    padding: .4em .7em; margin-top: .2rem;
    font-size: .92rem; font-weight: 600; color: var(--forest);
    text-decoration: none;
  }
  .m-drawer__all:active { background: var(--sage-soft); border-radius: 10px; }
}

/* ---- Sticky mobile action bar (phones only) ---- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 995;
  display: none; gap: .6rem;
  padding: .5rem .7rem calc(.5rem + env(safe-area-inset-bottom, 0px));
  background: rgba(250, 246, 239, .96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(115%); transition: transform .3s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar__btn {
  flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 50px; border-radius: var(--pill);
  font: 600 1rem/1.1 var(--font-body); text-decoration: none; border: 2px solid transparent;
}
.mobile-bar__btn svg { flex: none; }
.mobile-bar__btn--wa { background: var(--wa); color: #fff; }
.mobile-bar__btn--book { background: var(--forest); color: #fff; }

@media (max-width: 820px) {
  .mobile-bar { display: flex; }
  .wa-float { display: none; }            /* the bar already carries WhatsApp */
  body { padding-bottom: 70px; }          /* keep the footer clear of the bar */
}

/* ---- Homepage success-story quote cards ---- */
.story { text-align: left; }
.story blockquote { margin: 0 0 1rem; font-size: 1.02rem; line-height: 1.6; color: var(--charcoal); }
.story figcaption { color: var(--stone); font-size: .92rem; }
.story figcaption strong { color: var(--forest); font-weight: 700; }

/* ---- Google reviews (honest placeholder until the GBP link is set) ---- */
.reviews-embed { margin-top: 2rem; }
.reviews-cta {
  display: grid; justify-items: center; gap: 1rem; max-width: 460px; margin-inline: auto;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-card); box-shadow: var(--shadow-rest);
  padding: clamp(1.6rem, 4vw, 2.4rem);
}
.reviews-cta .quote__stars { margin: 0; font-size: 1.3rem; }
.reviews-cta__btns { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }

/* ---- Booking form: inline errors + price summary ---- */
/* color/weight set explicitly here so a form inside .card (where `.card p` would
   otherwise win over the base `.form-error`) still shows the error in red. */
.field .form-error, .field--check .form-error { margin-top: .4rem; font-size: .88rem; color: var(--error); font-weight: 600; }
.field :is(input, select, textarea)[aria-invalid="true"] { border-color: var(--error); }
.field :is(input, select, textarea)[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(179, 64, 58, .18); }
.field--check .consent { margin: 0; }
.booking-total { background: var(--sage-soft); border-radius: var(--radius-input); padding: 1rem 1.2rem; }
.booking-total__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.booking-total__row strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--forest); }
.booking-total__note { margin: .4rem 0 0; font-size: .85rem; color: var(--stone); }

/* ==========================================================================
   Accessibility: contrast + touch targets
   ========================================================================== */

/* Gold eyebrows failed AA on light backgrounds (~2.7:1). Deepen to a gold that
   passes on cream/ivory/blush/sage (~4.8:1); dark sections keep a light gold. */
.eyebrow { color: #7A5F1E; }
.section--forest .eyebrow,
.blog-dark .eyebrow,
.bmi-section .eyebrow,
.cta-final .eyebrow { color: #E9C766; }

/* Touch targets ≥44px */
.btn--sm { min-height: 44px; }
.footer__social a { width: 44px; height: 44px; }

/* ==========================================================================
   Program vs Transformation: builder option row, overseas prices, plan anchors
   ========================================================================== */

/* Disabled option — visible on every duration, selectable only where the
   package exists (transformations are 2-month and 4-month only). */
.pb__levels button:disabled {
  opacity: .55; cursor: not-allowed;
  border-style: dashed; background: transparent; color: var(--stone);
}
.pb__levels button:disabled:hover { transform: none; border-color: var(--line); }
.pb__levelnote { margin: .55rem 0 0; font-size: .86rem; line-height: 1.45; color: var(--stone); }
.pb__intl { margin: .2rem 0 0; font-size: .93rem; font-weight: 600; color: var(--stone); }
/* "1 trimester" and other worded durations need a pill, not a circle. */
.pb__durs button.pb__dur--wide { width: auto; min-width: 56px; border-radius: var(--pill); padding-inline: 1.15em; }

/* Overseas tier, printed under the Pakistan price for information. The big
   number itself is always synced to the visitor's own tier by site.js. */
.price-intl {
  margin: -.35rem 0 .5rem; font-size: .88rem; font-weight: 500; color: var(--stone);
}
.price-intl strong { font-weight: 700; color: var(--charcoal); }
/* Only for the rare case of the line sitting directly on a dark section — the
   cards inside .section--forest are still light, so they use the base colours. */
.section--forest > .wrap > .price-intl { color: #C9D4C5; }
.section--forest > .wrap > .price-intl strong { color: #fff; }

/* Deep links from the plan menus land on a card, not under the sticky header,
   and the card says so for a moment. */
.card[id], section[id] { scroll-margin-top: 108px; }
@media (max-width: 1080px) { .card[id], section[id] { scroll-margin-top: 84px; } }
.card[id]:target { box-shadow: 0 0 0 3px var(--gold), var(--shadow-hover); }
@media (prefers-reduced-motion: no-preference) {
  .card[id]:target { animation: ewg-target-flash 2.4s var(--ease) 1; }
  @keyframes ewg-target-flash {
    0%, 100% { box-shadow: 0 0 0 3px var(--gold), var(--shadow-hover); }
    50%      { box-shadow: 0 0 0 7px rgba(184, 147, 62, .3), var(--shadow-hover); }
  }
}

/* ==========================================================================
   Happy-client photo wall on the home page
   ========================================================================== */

/* Same wall as /success-stories/, sitting under "The face behind your plan".
   Five explicit columns rather than auto-fill: with 14 photos, auto-fill lands
   on four and leaves a stranded row of two, where five gives 5 · 5 · 4. */
.hc-grid--home { max-width: 1180px; grid-template-columns: repeat(5, 1fr); }

/* The per-photo caption repeated fourteen times reads as a stutter here, and
   the section already states in full what these photos are. Kept in the DOM
   for screen readers, and every image's alt text still says before-and-after. */
.hc-grid--home .hc-item figcaption {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hc-grid--home .hc-item img { border-width: 3px; border-radius: 18px; }

@media (max-width: 900px) { .hc-grid--home { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .hc-grid--home { grid-template-columns: repeat(2, 1fr); gap: .7rem; } }

/* ==========================================================================
   Phone hardening (July 2026)

   Most visitors arrive on a phone, so the things that only break at phone
   widths are treated as first-class bugs rather than polish.
   ========================================================================== */

/* ---- The header must always out-rank the announcement bar ----
   Both are fixed at top:0 on the home page and the header is positioned
   underneath the bar by a measured offset (see placeHeader() in site.js).
   Any moment where that measurement is stale — the font swapping in, the bar
   rewrapping, site.js deferred or failing — used to leave the 89px-tall bar
   painted over the whole header, swallowing every tap on the logo, the
   WhatsApp button and the menu burger. Ranking the header above the bar means
   the worst case is a cosmetic overlap, never an unusable header. */
body.home .header { z-index: 902; }
body.home .bar    { z-index: 901; }

/* ---- Keep the announcement bar to a sane share of a phone screen ----
   At 375px the full sentence wrapped to four lines and took 89px — more than
   a tenth of the viewport, before the header even starts. */
@media (max-width: 600px) {
  .bar {
    font-size: .8rem; line-height: 1.4;
    padding: .5em .9em;
    text-wrap: balance;
  }
}
/* Narrow phones wrap the same sentence onto four lines (83px at 320px wide). */
@media (max-width: 400px) {
  .bar { font-size: .72rem; line-height: 1.35; padding: .45em .7em; }
}

/* ---- Footer links: real tap targets ----
   Every footer link was an 18px-tall line of text. On a mobile-first site the
   footer is a primary navigation surface, so give each row the full 44px and
   space the rows so neighbours are not mis-tapped. */
@media (max-width: 820px) {
  .footer ul { gap: .15rem; }
  .footer__grid ul a {
    display: flex; align-items: center; min-height: 44px;
    padding: .35rem 0;
  }
  .footer__bottom { gap: .6rem 1rem; }
  .footer__bottom a {
    display: inline-flex; align-items: center; min-height: 44px;
  }
}

/* Inline "see all" style links elsewhere on the page. */
@media (max-width: 820px) {
  .center > a[href]:not(.btn) {
    display: inline-flex; align-items: center; min-height: 44px;
  }
}

/* ---- Tap targets for the remaining small controls ----
   Checkboxes and radios ship at their 13px browser default, which is a hard
   thing to hit with a thumb and the reason consent boxes get mis-tapped. The
   rest are inline text links that were 16–19px tall. */
@media (max-width: 820px) {
  /* Consent checkboxes and the BMI unit radios. */
  .consent input[type="checkbox"],
  input[type="radio"],
  input[type="checkbox"] {
    width: 24px; height: 24px; flex: 0 0 24px;
    margin-top: 0; accent-color: var(--forest);
  }
  /* The whole label becomes the target, not just the box. */
  .consent { align-items: center; gap: .7em; min-height: 44px; font-size: .88rem; }
  .bmi-form label:has(input[type="radio"]) {
    display: inline-flex; align-items: center; gap: .5em; min-height: 44px;
  }

  /* Breadcrumbs, the announcement bar's link, and inline contact links. */
  .breadcrumb { font-size: .9rem; }
  .breadcrumb a,
  .bar a {
    display: inline-block; padding-block: .5rem;
  }
  .contact-list a,
  .card a:not(.btn),
  a[href^="tel:"], a[href^="mailto:"] {
    display: inline-flex; align-items: center; min-height: 44px;
  }

  /* Builder goal chips were 37px. */
  #plan-builder button, #box-builder button { min-height: 44px; }
}

/* ==========================================================================
   Checkout — Direct Bank Transfer "holo" bank card
   Applied by site.js only on the WooCommerce checkout, over the BACS box.
   ========================================================================== */
.ewg-holo-host {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}
.ewg-holo-host::before { display: none !important; }  /* WooCommerce payment-box arrow */

.ewg-holo {
  position: relative; border-radius: 20px; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, var(--forest-deep), var(--forest) 52%, #26543c);
  color: var(--cream);
  box-shadow: 0 22px 50px rgba(21,43,32,.30), inset 0 1px 0 rgba(255,255,255,.14);
  transition: transform .35s var(--ease);
  transform-style: preserve-3d; will-change: transform;
  --hx: .5; --hy: .4;
}
.ewg-holo__foil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .55;
  mix-blend-mode: soft-light; border-radius: inherit;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.07) 0 1px, transparent 1px 6px),
    conic-gradient(from 200deg at calc(var(--hx)*100%) calc(var(--hy)*100%),
      var(--gold), var(--sage) 85deg, var(--cream) 150deg, var(--gold) 225deg, #2f6b48 300deg, var(--gold) 360deg);
}
.ewg-holo__glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: screen; opacity: .32; border-radius: inherit;
  background: radial-gradient(240px circle at calc(var(--hx)*100%) calc(var(--hy)*100%), rgba(255,255,255,.85), transparent 60%);
}
.ewg-holo__in { position: relative; z-index: 2; padding: 1.6rem 1.7rem 1.7rem; }
.ewg-holo__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
.ewg-holo__eyebrow { font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ewg-holo__chip { width: 38px; height: 27px; border-radius: 6px; background: linear-gradient(135deg, #f4d98a, #c9a44a); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); flex: 0 0 auto; }
.ewg-holo__name { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.15; margin: 0 0 1.25rem; }
.ewg-holo__field { margin: 0 0 1rem; }
.ewg-holo__label { display: block; font-weight: 700; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-bottom: .3rem; }
.ewg-holo__val { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.ewg-holo__num { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 600; font-size: 1.1rem; letter-spacing: .04em; color: #fff; word-break: break-all; }
.ewg-holo__copy {
  flex: 0 0 auto; cursor: pointer; font-weight: 600; font-size: .74rem; color: var(--gold);
  background: transparent; border: 1px solid rgba(233,199,102,.55); border-radius: 999px; padding: .45em .85em;
  transition: background-color .2s, color .2s, border-color .2s; -webkit-tap-highlight-color: transparent; min-height: 34px;
}
.ewg-holo__copy:hover, .ewg-holo__copy:focus-visible { background: var(--gold); color: var(--forest-deep); border-color: var(--gold); outline: none; }
.ewg-holo__copy.is-done { background: var(--sage); color: var(--forest-deep); border-color: var(--sage); }
.ewg-holo__methods { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.25rem 0 .9rem; }
.ewg-holo__tag { font-weight: 600; font-size: .74rem; color: #dfeadb; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: .4em .75em; }
.ewg-holo__note { font-size: .82rem; line-height: 1.5; color: #b9c8b6; margin: 0; }
.ewg-holo__note strong { color: var(--cream); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .ewg-holo { transition: none; } }
@media (forced-colors: active) { .ewg-holo__foil, .ewg-holo__glare { display: none; } }

/* ==========================================================================
   Animated gradient border on every button (brand palette)
   A masked gradient ring flows around each .btn, keeping its own fill + text.
   Reimplemented in vanilla CSS from a 21st.dev React "gradient button".
   ========================================================================== */
.btn { position: relative; isolation: isolate; border-color: transparent; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  padding: 2px;
  background: linear-gradient(100deg, var(--gold), var(--sage), #2f6b48, var(--forest-deep), var(--gold) 85%);
  background-size: 300% 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: ewgBtnBorder 5.5s linear infinite;
  pointer-events: none;
}
@keyframes ewgBtnBorder { to { background-position: -300% 0; } }
/* WhatsApp buttons: warm the ring toward white so it reads on the green fill. */
.btn--wa::before { background: linear-gradient(100deg, #eafff3, var(--gold), #d6f5e2, #1a8f4a, #eafff3 85%); background-size: 300% 100%; }
@media (prefers-reduced-motion: reduce) { .btn::before { animation: none; } }
@media (forced-colors: active) { .btn::before { display: none; } }

/* ==========================================================================
   The Zero Bakery — 3D coverflow dessert stage (.zb-*)
   Vanilla rebuild of a React "cover-flow carousel", recoloured from its
   restaurant black/tan to EWG forest + gold. Progressive enhancement:
   without JS `.zb-stage` is a horizontal snap-scroller with every card
   readable; site.js adds `.is-ready` and switches it to the 3D stage.
   ========================================================================== */
.zb-flow {
  --zb-gold: #E9C766;
  --zb-w: clamp(232px, 74vw, 330px);
  --zb-shift: calc(var(--zb-w) * .86);
  --zb-shift2: calc(var(--zb-w) * 1.55);
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 7vw, 84px) 0 clamp(40px, 6vw, 72px);
  background: var(--forest-deep);
  color: #fff;
  isolation: isolate;
}
.zb-flow__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.zb-flow__bgimg {
  position: absolute; inset: -6%;
  display: block;
  background: center / cover no-repeat;
  filter: brightness(.28) blur(30px);
  transform: scale(1.12);
  opacity: 0;
  transition: opacity 900ms ease, background-image 0ms;
}
.zb-flow__bgimg.is-on { opacity: 1; }
.zb-flow__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(21,43,32,.32) 0%, rgba(16,32,24,.94) 100%);
}
.zb-flow__inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* ---- eyebrow ---- */
.zb-eyebrow { display: flex; align-items: center; justify-content: center; gap: .75rem; margin: 0 0 clamp(22px, 3vw, 34px); }
.zb-eyebrow__rule { width: 36px; height: 1px; background: linear-gradient(90deg, transparent, var(--zb-gold)); }
.zb-eyebrow__rule--r { background: linear-gradient(90deg, var(--zb-gold), transparent); }
.zb-eyebrow__text {
  margin: 0; font-family: var(--font-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase; color: var(--zb-gold); line-height: 1;
}

/* ---- stage ---- */
.zb-stagewrap { position: relative; }
.zb-stage {
  display: flex; gap: 14px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 18px;
  scrollbar-width: none;
}
.zb-stage::-webkit-scrollbar { display: none; }
.zb-stage.is-ready {
  display: block; position: relative;
  overflow: visible;
  height: calc(var(--zb-w) * 1.515);
  padding: 0;
  perspective: 1400px;
}

.zb-card {
  position: relative;
  flex: 0 0 auto;
  width: var(--zb-w);
  aspect-ratio: 33 / 50;
  scroll-snap-align: center;
  border-radius: 18px;
  overflow: hidden;
  background: #17130F;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 15px 35px rgba(0,0,0,.5);
}
.zb-stage.is-ready .zb-card {
  position: absolute; left: 50%; top: 0;
  transform-origin: center center;
  transform: translateX(-50%) scale(.4);
  opacity: 0; z-index: 0;
  filter: brightness(.4) blur(2px);
  pointer-events: none;
  transition: transform 800ms cubic-bezier(.25,1,.5,1), opacity 800ms cubic-bezier(.25,1,.5,1), filter 800ms ease, box-shadow 400ms ease;
}
.zb-stage.is-ready .zb-card.is-prev,
.zb-stage.is-ready .zb-card.is-next,
.zb-stage.is-ready .zb-card.is-farprev,
.zb-stage.is-ready .zb-card.is-farnext { cursor: pointer; pointer-events: auto; }

.zb-stage.is-ready .zb-card.is-center {
  transform: translateX(-50%) scale(1) rotateY(0deg);
  opacity: 1; z-index: 30; filter: brightness(1); pointer-events: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,.75), 0 0 35px rgba(233,199,102,.22);
}
.zb-stage.is-ready .zb-card.is-next {
  transform: translateX(-50%) translateX(var(--zb-shift)) scale(.84) rotateY(-24deg);
  opacity: .62; z-index: 20; filter: brightness(.72);
}
.zb-stage.is-ready .zb-card.is-prev {
  transform: translateX(-50%) translateX(calc(var(--zb-shift) * -1)) scale(.84) rotateY(24deg);
  opacity: .62; z-index: 20; filter: brightness(.72);
}
.zb-stage.is-ready .zb-card.is-farnext {
  transform: translateX(-50%) translateX(var(--zb-shift2)) scale(.68) rotateY(-38deg);
  opacity: .34; z-index: 10; filter: brightness(.55) blur(1px);
}
.zb-stage.is-ready .zb-card.is-farprev {
  transform: translateX(-50%) translateX(calc(var(--zb-shift2) * -1)) scale(.68) rotateY(38deg);
  opacity: .34; z-index: 10; filter: brightness(.55) blur(1px);
}

/* ---- card internals ---- */
.zb-card__art { position: absolute; inset: 0; display: grid; place-items: center; }
.zb-card__art img { width: 100%; height: 100%; object-fit: cover; }
.zb-card__plate {
  font-family: var(--font-display); font-size: 7rem; line-height: 1; font-weight: 600;
  color: rgba(233,199,102,.26); text-shadow: 0 6px 24px rgba(0,0,0,.5);
}
.zb-card__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,16,12,.42) 0%, rgba(8,16,12,.08) 26%, rgba(8,16,12,.7) 60%, rgba(8,16,12,.96) 100%);
}
.zb-card__body {
  position: relative; z-index: 2;
  height: 100%; padding: 18px 16px 20px;
  display: flex; flex-direction: column; justify-content: space-between;
  text-align: center;
}
.zb-stage.is-ready .zb-card__body { opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 500ms ease; }
.zb-stage.is-ready .zb-card.is-center .zb-card__body { opacity: 1; transform: none; }
.zb-card__tag {
  margin: 0; text-align: right; font-size: .74rem; font-weight: 600; letter-spacing: .06em;
  color: rgba(255,255,255,.9); text-shadow: 0 2px 6px rgba(0,0,0,.8);
}
.zb-card__text { display: flex; flex-direction: column; align-items: center; }
.zb-card__title {
  margin: 0; font-family: var(--font-display); font-size: clamp(1.4rem, 5.4vw, 1.7rem); font-weight: 600;
  text-transform: uppercase; letter-spacing: .03em; line-height: 1.1;
  color: #fff; text-shadow: 0 3px 12px rgba(0,0,0,.95);
}
.zb-card__sub {
  margin: 3px 0 0; font-size: .95rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  color: #F3EFE6; text-shadow: 0 3px 10px rgba(0,0,0,.9);
}
.zb-card__rule {
  width: 34px; height: 2px; border-radius: 2px; margin: 8px auto 7px;
  background: var(--zb-gold); box-shadow: 0 0 8px rgba(233,199,102,.7);
}
.zb-card__desc {
  margin: 0 0 10px; max-width: 260px; font-size: .8rem; font-style: italic; line-height: 1.35;
  color: rgba(255,255,255,.9); text-shadow: 0 2px 8px rgba(0,0,0,.9);
}
.zb-card__sizes {
  list-style: none; margin: 0 0 11px; padding: 0; width: 100%; max-width: 250px;
  display: flex; flex-direction: column; gap: 5px;
}
.zb-size {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 5px 10px; border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  text-align: left;
}
.zb-size__label { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.zb-size__name { font-size: .74rem; font-weight: 700; color: #fff; letter-spacing: .01em; }
.zb-size__meta { font-size: .66rem; color: rgba(255,255,255,.72); }
.zb-size__price { font-size: .88rem; font-weight: 800; color: var(--zb-gold); white-space: nowrap; text-shadow: 0 2px 8px rgba(0,0,0,.7); }

/* Two ways to order: straight to the product, or WhatsApp for custom orders. */
.zb-card__ctas { display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap; }
.zb-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 38px; padding: 9px 14px; border-radius: var(--pill);
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
.zb-cta--buy {
  background: linear-gradient(135deg, #E9C766 0%, #B8933E 100%); color: #14261C;
  box-shadow: 0 4px 14px rgba(0,0,0,.4), 0 0 15px rgba(233,199,102,.28);
}
.zb-cta--wa {
  background: var(--wa); color: #07301A;
  box-shadow: 0 4px 14px rgba(0,0,0,.4), 0 0 15px rgba(37,211,102,.22);
}
.zb-cta:hover { transform: translateY(-2px); filter: brightness(1.06); }
.zb-cta--buy:hover { box-shadow: 0 8px 22px rgba(0,0,0,.5), 0 0 22px rgba(233,199,102,.45); }
.zb-cta--wa:hover { box-shadow: 0 8px 22px rgba(0,0,0,.5), 0 0 22px rgba(37,211,102,.4); }
.zb-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---- arrows, dots, note ---- */
.zb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 40;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,20,15,.55); border: 1px solid rgba(255,255,255,.22); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,.4); cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.zb-nav:hover { background: rgba(233,199,102,.9); color: #14261C; }
.zb-nav:focus-visible { outline: 2px solid var(--zb-gold); outline-offset: 3px; }
.zb-nav--prev { left: 4px; }
.zb-nav--next { right: 4px; }
.zb-dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: clamp(18px, 3vw, 26px); }
.zb-dot {
  position: relative; height: 8px; width: 8px; padding: 0; border: none; border-radius: var(--pill);
  background: rgba(255,255,255,.25); cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
/* 44px-tall invisible hit area so the dots are thumb-friendly on phones. */
.zb-dot::before { content: ""; position: absolute; left: -6px; right: -6px; top: -18px; bottom: -18px; }
.zb-dot.is-on { width: 28px; background: var(--zb-gold); box-shadow: 0 0 10px rgba(233,199,102,.7); }
.zb-dot:focus-visible { outline: 2px solid var(--zb-gold); outline-offset: 3px; }
.zb-flow__note { margin: clamp(18px, 3vw, 24px) 0 0; text-align: center; font-size: .85rem; color: rgba(255,255,255,.62); }

@media (min-width: 900px) { .zb-nav--prev { left: 18px; } .zb-nav--next { right: 18px; } }
@media (max-width: 560px) {
  .zb-nav { width: 42px; height: 42px; background: rgba(10,20,15,.68); }
  .zb-nav--prev { left: 2px; } .zb-nav--next { right: 2px; }
  .zb-card__desc { font-size: .78rem; }
  .zb-cta { padding: 9px 12px; font-size: .66rem; letter-spacing: .08em; }
  .zb-size { padding: 4px 9px; }
  .zb-size__name { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .zb-stage.is-ready .zb-card,
  .zb-stage.is-ready .zb-card__body { transition-duration: 1ms; }
  .zb-flow__bgimg { transition: none; }
}
