/*!
 * FutureNowRx website. Copyright (c) 2026 the author (usmanshah14098@gmail.com). All rights reserved.
 * Proprietary: licensed for the FutureNowRx website only. Reuse of this code, layout, animations or
 * design as a template for any other site or client is not permitted. See LICENSE and AI-USAGE-NOTICE.md.
 */
/* ==========================================================================
   FutureNowRx — base styles
   Headings: Inter Regular, last word italic, always two balanced lines.
   Body: Outfit — 17px / 16px desktop, 16px mobile.
   ========================================================================== */

:root {
  /* Brand (FutureNowRx). Token names are kept from the base build so every
     component picks up the new palette without renaming:
       --teal      Deep Teal       panels, dark UI
       --mint      Soft/Bright Aqua glows, highlights on dark
       --coral     Bright Teal     calls to action, accents
       --charcoal  Midnight Navy   text, darkest surfaces
       --ivory     Warm Cream      page background (softened) */
  --teal: #03445E;
  --teal-700: #022E44;
  --mint: #5FCBC8;
  --mint-100: #DFF2F1;
  --coral: #11A8AE;
  --coral-600: #0B8F95;
  --charcoal: #001A35;
  --ivory: #FAF6F0;
  --gold: #D1A96B;        /* Champagne Gold: premium accent, use sparingly */
  --blush: #EDCCC2;       /* category accent: skin */
  --lavender: #DACCF0;    /* category accent: sexual health */

  /* Neutrals */
  --white: #ffffff;
  --ink-70: rgba(0, 26, 53, .72);
  --ink-55: rgba(0, 26, 53, .56);
  --line: rgba(0, 26, 53, .1);

  /* Type */
  --f-head: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-body: 17px;
  --fs-body-sm: 16px;

  /* Layout */
  --container: 1500px;
  --gutter: 32px;
  --radius-lg: 28px;
  --radius-md: 20px;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --top-h: 112px; /* announce + header, updated by JS */
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 8px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Headings — Inter Regular, last word italic */
.h-display,
.cat__title,
.mini__title {
  font-family: var(--f-head);
  font-weight: 400;
  font-optical-sizing: auto;
}
/* Last word of every section heading: Instrument Serif Italic */
.h-display em,
.h-section em,
.h-card em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;          /* serif runs smaller than Inter; optically match */
  line-height: 0;
  letter-spacing: -.01em;
}

/* ==========================================================================
   Announcement bar
   ========================================================================== */

.site-top {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: transform .5s var(--ease-out);
}
.site-top.is-hidden { transform: translateY(calc(-1 * var(--top-h))); }
.site-top.is-collapsed { transform: translateY(-40px); }

.announce {
  height: 40px;
  background: var(--charcoal);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: .01em;
  overflow: hidden;
}
/* scrolling strip of trust points (two copies of the list loop seamlessly) */
.announce { justify-content: flex-start; background: var(--teal, #0A646E); }
.announce__marquee { display: flex; width: max-content; animation: announce-scroll 40s linear infinite; }
.announce:hover .announce__marquee { animation-play-state: paused; }
.announce__list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.announce__list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 34px;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 500;
  border-right: 1px solid rgba(255, 255, 255, .28);
}
.announce__list svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@keyframes announce-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .announce__marquee { animation: none; }
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(95, 203, 200, .7); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(95, 203, 200, 0); }
}

/* ==========================================================================
   Header (Huel-inspired: clean white bar, quiet nav, quiz pill right)
   ========================================================================== */

.header {
  position: relative;
  background: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-top.is-scrolled .header {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(0, 26, 53, .25);
}

.header__inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
/* Client lockup (symbol + wordmark). Swap the PNGs in assets/img/brand/ for the SVG source files when they arrive. */
.logo__img { display: block; height: 30px; width: auto; transition: opacity .3s; }
.logo:hover .logo__img { opacity: .82; }
.logo__mark { width: 34px; height: 34px; transition: transform .6s var(--ease-out); }
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.05); }
.logo__word {
  font-family: var(--f-body);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--charcoal);
}
.logo__word b { font-weight: 600; color: var(--teal); }

.nav { flex: 1; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 15.5px;
  color: var(--ink-70);
  transition: color .2s, background-color .2s;
}
.nav__link:hover,
.nav__link[aria-expanded="true"] { color: var(--charcoal); background: rgba(0, 26, 53, .04); }
.nav__link .chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-out); }
.nav__link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav__link--promo {
  margin-left: 8px;
  height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  background: var(--mint-100);
  color: var(--teal);
  font-weight: 500;
}
.nav__link--promo:hover { background: #D3EEEE; color: var(--teal); }

.header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }

.quiz-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 18px 0 14px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--mint-100);
  border: 1px solid rgba(95, 203, 200, .9);
  color: var(--teal);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.quiz-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .8) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shimmer 5s var(--ease-io) 1.5s infinite;
  z-index: -1;
}
.quiz-pill:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(3, 68, 94, .45); }
.sparkle { width: 20px; height: 20px; fill: var(--teal); }
.sparkle path:last-child { fill: var(--coral); transform-origin: 19px 18px; animation: twinkle 2.4s ease-in-out infinite; }

@keyframes shimmer { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes twinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.55); opacity: .6; } }

.icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--charcoal);
  transition: background-color .2s;
}
.icon-btn:hover { background: rgba(0, 26, 53, .05); }
.icon-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn svg .fill { fill: currentColor; stroke: none; }

.burger { display: none; position: relative; }
.burger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.8px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* Mega menu */
.mega {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--ivory);
  border-top: 1px solid var(--line);
  box-shadow: 0 30px 50px -30px rgba(0, 26, 53, .3);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .55s var(--ease-out), visibility 0s .55s;
}
.mega.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path .55s var(--ease-out), visibility 0s;
}
.mega__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding-block: 36px 40px;
}
.mega--small .mega__inner { grid-template-columns: 1fr; }
.mega__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.mega__col { display: flex; flex-direction: column; gap: 10px; min-width: 140px; }
.mega__col,
.mega__feature { opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease-out); }
.mega.is-open .mega__col,
.mega.is-open .mega__feature { opacity: 1; transform: none; }
.mega.is-open .mega__col:nth-child(2) { transition-delay: .04s; }
.mega.is-open .mega__col:nth-child(3) { transition-delay: .08s; }
.mega.is-open .mega__col:nth-child(4) { transition-delay: .12s; }
.mega.is-open .mega__col:nth-child(5) { transition-delay: .16s; }
.mega.is-open .mega__feature { transition-delay: .18s; }

.mega__title {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: 4px;
}
.mega__col a {
  font-size: 16px;
  color: var(--charcoal);
  width: fit-content;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .4s var(--ease-out), color .2s;
}
.mega__col a:hover { color: var(--teal); background-size: 100% 1px; }

.mega__feature {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 200px;
  display: block;
}
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.mega__feature:hover img { transform: scale(1.06); }
.mega__feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 22, 44, .65)); }
.mega__feature-text { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: var(--white); display: flex; flex-direction: column; gap: 2px; }
.mega__feature-kicker { font-size: 14px; opacity: .85; }
.mega__feature-title { font-family: var(--f-head); font-size: 22px; letter-spacing: -.02em; }

.scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 26, 53, .28);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}
.scrim.is-on { opacity: 1; pointer-events: auto; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--top-h) 0 0 0;
  z-index: 45;
  background: var(--ivory);
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .6s var(--ease-out), visibility 0s .6s;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--ease-out), visibility 0s; }
.mobile-menu__body { padding: 20px 16px 40px; display: flex; flex-direction: column; gap: 24px; }
.quiz-pill--block { justify-content: center; margin: 0; height: 50px; }
.m-nav li { border-bottom: 1px solid var(--line); }
.m-nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 2px;
  font-family: var(--f-head);
  font-size: 24px;
  letter-spacing: -.02em;
}
.m-nav a::after { content: "→"; font-family: var(--f-body); font-size: 18px; color: var(--ink-55); }
.m-nav--small a { font-family: var(--f-body); font-size: 16px; letter-spacing: 0; padding: 13px 2px; }
.mobile-menu .m-nav li { opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .6s var(--ease-out); }
.mobile-menu.is-open .m-nav li { opacity: 1; transform: none; }
.mobile-menu.is-open .m-nav li:nth-child(2) { transition-delay: .04s; }
.mobile-menu.is-open .m-nav li:nth-child(3) { transition-delay: .08s; }
.mobile-menu.is-open .m-nav li:nth-child(4) { transition-delay: .12s; }
.mobile-menu.is-open .m-nav li:nth-child(5) { transition-delay: .16s; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background-color .3s, color .3s;
}
.btn--primary {
  background: var(--coral-600);
  color: var(--white);
  padding-right: 8px;
  box-shadow: 0 14px 30px -14px rgba(17, 168, 174, .9);
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--teal);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease-out);
  z-index: -1;
}
.btn--primary:hover::before { transform: translateY(0); }
.btn--primary:hover { box-shadow: 0 16px 34px -14px rgba(3, 68, 94, .8); transform: translateY(-2px); }
.btn__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--coral-600);
  display: grid; place-items: center;
  overflow: hidden;
  transition: color .3s;
}
.btn--primary:hover .btn__icon { color: var(--teal); }
.btn__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--primary:hover .btn__icon svg { animation: arrow-loop .6s var(--ease-out); }
@keyframes arrow-loop {
  0% { transform: translateX(0); }
  49% { transform: translateX(140%); }
  50% { transform: translateX(-140%); }
  100% { transform: translateX(0); }
}
.btn--ghost {
  color: var(--charcoal);
  border: 1px solid rgba(0, 26, 53, .18);
}
.btn--ghost:hover { border-color: var(--charcoal); background: var(--charcoal); color: var(--ivory); }
.btn--block { width: 100%; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { padding: 64px 0 96px; }

.hero__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-body-sm);
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 22px;
}
.pulse {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--coral);
  animation: pulse-ring 2.2s var(--ease-out) infinite;
}
@keyframes pulse-ring { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* Display heading: two balanced lines, mask-revealed */
.h-display {
  font-size: clamp(34px, 5.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -.045em;
  color: var(--charcoal);
}
.h-display .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.h-display .line > span { display: inline-block; white-space: nowrap; }
.h-display em { color: var(--teal); padding-right: .04em; }

.hero__lede {
  margin-top: 24px;
  max-width: 540px;
  font-size: var(--fs-body);
  color: var(--ink-70);
}

.hero__cta { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; padding-bottom: 6px; }
.hero__btns { display: flex; gap: 10px; }
.hero__trust { display: flex; gap: 20px; font-size: var(--fs-body-sm); color: var(--ink-70); }
.hero__trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { width: 18px; height: 18px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* --- Primary category cards --- */
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cat {
  position: relative;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: var(--teal-700);
  transform: translateZ(0);
}
.cat__media { position: absolute; inset: 0; z-index: -2; }
.cat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.04);
  transition: transform 1.4s var(--ease-out);
}
.cat:hover .cat__media img { transform: scale(1.1); }

/* Legibility: frosted blur that fades out from the top-left corner,
   plus a soft dark tint so white text always reads. */
.cat::before,
.cat::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.cat::before {
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  -webkit-mask-image: radial-gradient(140% 62% at 0% 0%, #000 22%, rgba(0, 0, 0, .55) 42%, transparent 66%);
          mask-image: radial-gradient(140% 62% at 0% 0%, #000 22%, rgba(0, 0, 0, .55) 42%, transparent 66%);
}
.cat::after {
  background:
    radial-gradient(150% 68% at 0% 0%, rgba(0, 20, 40, .62) 0%, rgba(0, 20, 40, .34) 34%, rgba(0, 20, 40, 0) 66%),
    linear-gradient(0deg, rgba(0, 20, 40, .3) 0%, rgba(0, 20, 40, 0) 32%);
}

.cat__body {
  height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cat__title {
  font-size: clamp(26px, 2.3vw, 34px);
  line-height: 1.05;
  letter-spacing: -.035em;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .18);
}
.cat__desc {
  margin-top: 8px;
  font-size: var(--fs-body-sm);
  opacity: .9;
}

.arrow-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(10px) saturate(1.4);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  color: var(--white);
  overflow: hidden;
  transition: width .6s var(--ease-out), background-color .4s, border-color .4s, color .4s;
}
.arrow-btn svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .6s var(--ease-out);
}
.cat:hover .arrow-btn { background: var(--white); border-color: var(--white); color: var(--charcoal); }
.cat:hover .arrow-btn svg { transform: rotate(45deg); }

/* --- More treatments (mini cards) --- */
.more { margin-top: 56px; }
.more__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.more__label { font-size: var(--fs-body); color: var(--charcoal); font-weight: 500; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-body-sm);
  color: var(--teal);
  font-weight: 500;
}
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

.minis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mini {
  position: relative;
  height: 190px;
  padding: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.mini::before {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  right: -60px; bottom: -90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  filter: blur(4px);
  z-index: -1;
  transition: transform .8s var(--ease-out);
}
.mini--mint  { background: #DCEFEE; }
.mini--sand  { background: #F2E6D6; }
.mini--blush { background: #F4DED6; }
.mini--sage  { background: #E7E0F4; }

.mini__title {
  max-width: 58%;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -.03em;
  color: var(--charcoal);
}
.mini__vial {
  position: absolute;
  right: 22px;
  bottom: -14px;
  height: 170px;
  width: auto;
  transform: rotate(6deg);
  transform-origin: 50% 100%;
  filter: drop-shadow(0 18px 18px rgba(0, 26, 53, .16));
  transition: transform .8s var(--ease-out);
}
.mini:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(0, 26, 53, .45); }
.mini:hover .mini__vial { transform: rotate(0deg) translateY(-12px); }
.mini:hover::before { transform: scale(1.25); }

/* ==========================================================================
   Section headings (shared)
   ========================================================================== */

.h-section,
.h-card {
  font-family: var(--f-head);
  font-weight: 400;
  color: var(--charcoal);
}
.h-section {
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -.04em;
}
.h-card {
  font-size: clamp(28px, 2.9vw, 42px);
  line-height: 1.06;
  letter-spacing: -.035em;
}
.h-section .line,
.h-card .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.h-section .line > span,
.h-card .line > span { display: inline-block; white-space: nowrap; }
.h-section--light,
.h-card { color: var(--ivory); }
.h-section--light em,
.h-card em { color: var(--mint); }

/* ==========================================================================
   Weight Management section
   ========================================================================== */

.wm { padding: 8px 0 120px; }

/* Studio-lit panel: dark teal backdrop with a broad diagonal light band */
.wm__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  border-radius: 36px;
  padding: 88px 56px 56px;
  color: var(--ivory);
  background: linear-gradient(180deg, #03445E 0%, #023A54 45%, #012A44 100%);
}
/* warm hotspot where the light enters (top right) */
.wm__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(38% 30% at 82% 0%, rgba(255, 242, 222, .34) 0%, rgba(255, 242, 222, 0) 100%),
    radial-gradient(60% 50% at 50% 34%, rgba(95, 203, 200, .16) 0%, rgba(95, 203, 200, 0) 100%);
  pointer-events: none;
}
/* edge vignette */
.wm__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 90% at 50% 30%, rgba(0, 14, 30, 0) 55%, rgba(0, 14, 30, .5) 100%);
  pointer-events: none;
}
.wm__beam {
  position: absolute;
  z-index: -1;
  top: -45%;
  left: 38%;
  width: 34%;
  height: 190%;
  background: linear-gradient(90deg,
    rgba(255, 244, 228, 0) 0%,
    rgba(255, 244, 228, .07) 22%,
    rgba(255, 244, 228, .26) 50%,
    rgba(232, 250, 243, .1) 76%,
    rgba(255, 244, 228, 0) 100%);
  filter: blur(26px);
  mix-blend-mode: screen;
  transform: rotate(34deg);
  animation: beam-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes beam-drift {
  from { transform: rotate(34deg) translateX(-10%); opacity: .8; }
  to   { transform: rotate(30deg) translateX(10%); opacity: 1; }
}

/* Vial stage with 3D text orbit */
.wm__stage {
  --R: 255px;
  --ch: 28px;
  --vial-h: 330px;
  position: relative;
  width: 680px;
  max-width: 100%;
  height: 520px;
  margin: 16px 0 8px;
}
.wm__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 460px;
  height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 203, 200, .38) 0%, rgba(95, 203, 200, .1) 45%, rgba(95, 203, 200, 0) 70%);
  animation: glow-breathe 6s ease-in-out infinite;
}
@keyframes glow-breathe { 0%, 100% { transform: scale(.94); opacity: .8; } 50% { transform: scale(1.06); opacity: 1; } }

.orbit-scene {
  position: absolute;
  inset: 0;
  perspective: 1200px;
  perspective-origin: 50% 40%;
}
.orbit-tilt {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform: rotateZ(-14deg) rotateX(-14deg);
}
.wm__vial {
  position: absolute;
  left: 0;
  top: 0;
  height: var(--vial-h);
  width: auto;
  max-width: none;
  filter: drop-shadow(0 34px 30px rgba(0, 0, 0, .4));
}
/* Two vials, staggered in depth so the text ring weaves between/around them */
.wm__vial--a {
  transform: translate(-88%, -54%) translateZ(-24px) rotateZ(6deg);
  animation: vial-float-a 7s ease-in-out infinite;
}
.wm__vial--b {
  transform: translate(-10%, -44%) translateZ(24px) rotateZ(26deg);
  animation: vial-float-b 7s ease-in-out -3.5s infinite;
}
@keyframes vial-float-a {
  0%, 100% { transform: translate(-88%, calc(-54% - 8px)) translateZ(-24px) rotateZ(4deg); }
  50%      { transform: translate(-88%, calc(-54% + 8px)) translateZ(-24px) rotateZ(8deg); }
}
@keyframes vial-float-b {
  0%, 100% { transform: translate(-10%, calc(-44% - 8px)) translateZ(24px) rotateZ(24deg); }
  50%      { transform: translate(-10%, calc(-44% + 8px)) translateZ(24px) rotateZ(28deg); }
}
.orbit {
  position: absolute;
  left: 0;
  top: 0;
  transform-style: preserve-3d;
  animation: orbit-spin 22s linear infinite;
}
@keyframes orbit-spin { from { transform: rotateY(0deg); } to { transform: rotateY(-360deg); } }
.orbit__ch {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--ch);
  height: calc(var(--ch) * 1.3);
  margin: calc(var(--ch) * -.65) 0 0 calc(var(--ch) * -.5);
  display: grid;
  place-items: center;
  font-family: var(--f-body);
  font-size: var(--ch);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: var(--mint);
  text-shadow: 0 0 18px rgba(95, 203, 200, .45);
}

.wm__shadow {
  position: absolute;
  left: 50%;
  bottom: 40px;
  width: 300px;
  height: 22px;
  margin-left: -150px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .4);
  filter: blur(10px);
  animation: shadow-pulse 7s ease-in-out infinite;
}
@keyframes shadow-pulse { 0%, 100% { transform: scale(.88); opacity: .55; } 50% { transform: scale(1.05); opacity: .85; } }


.wm__intro { display: flex; flex-direction: column; align-items: center; text-align: center; }
.wm__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--mint);
}
.wm__eyebrow::before,
.wm__eyebrow::after { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .6; }


.wm__lede {
  max-width: 560px;
  font-size: var(--fs-body);
  color: rgba(250, 246, 240, .78);
}
.wm__cta { margin-top: 28px; }

/* Lineup */
.wm__lineup { margin-top: 96px; }
.wm__lineup-head { margin-bottom: 20px; }
.wm__label {
  font-family: var(--f-head);
  font-size: 22px;
  letter-spacing: -.02em;
  color: var(--ivory);
}

.wm__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.tx {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: 22px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(165deg, rgba(250, 246, 240, .13) 0%, rgba(250, 246, 240, .04) 100%);
  border: 1px solid rgba(250, 246, 240, .12);
  transition: border-color .5s, background-color .5s;
}
.tx::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 42%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 203, 200, .32) 0%, rgba(95, 203, 200, 0) 68%);
  transform: translate(-50%, -50%) scale(.85);
  transition: transform 1s var(--ease-out), opacity .6s;
  opacity: .7;
}
.tx:hover { border-color: rgba(95, 203, 200, .45); }
.tx:hover::before { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
.tx.is-clickable, .sk.is-clickable { cursor: pointer; }   /* whole card opens "Read more" (treatment-details.js) */

.tx__tag {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(95, 203, 200, .16);
  border: 1px solid rgba(95, 203, 200, .35);
  color: var(--mint);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
}
.tx__media {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 18px 0 22px;
}
.tx__media img {
  height: 170px;
  width: auto;
  filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .3));
  transition: transform .9s var(--ease-out);
}
.tx:hover .tx__media img { transform: translateY(-10px) rotate(-4deg); }

.tx__name {
  font-family: var(--f-head);
  font-weight: 400;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--ivory);
}
.tx__meta {
  margin-top: 6px;
  font-size: var(--fs-body-sm);
  color: rgba(250, 246, 240, .66);
}
.tx__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(250, 246, 240, .12);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--mint);
}
.tx__link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.tx:hover .tx__link svg { transform: translateX(5px); }

.wm__disclaimer {
  max-width: 860px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(250, 246, 240, .6);
}

.btn--light { background: var(--ivory); color: var(--charcoal); }
.btn--light:hover { background: var(--mint); transform: translateY(-2px); }

/* ---------- BMI card (Hims-style feature card) ---------- */
.bmi-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  margin-top: 56px;
  min-height: 480px;
  padding: 40px 40px 0;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 32px;
  background:
    radial-gradient(55% 75% at 50% 112%, rgba(95, 203, 200, .55) 0%, rgba(95, 203, 200, .18) 45%, rgba(95, 203, 200, 0) 75%),
    radial-gradient(40% 50% at 100% 0%, rgba(255, 242, 222, .14) 0%, rgba(255, 242, 222, 0) 100%),
    linear-gradient(180deg, #0A5F7F 0%, #06506D 100%);
  border: 1px solid rgba(250, 246, 240, .1);
}
.bmi-card__copy p {
  margin-top: 14px;
  max-width: 320px;
  font-size: var(--fs-body-sm);
  color: rgba(250, 246, 240, .78);
}
.bmi-card__stat { text-align: center; padding-top: 6px; }
.bmi-card__range {
  font-family: var(--f-head);
  font-size: clamp(48px, 5.4vw, 76px);
  line-height: 1;
  letter-spacing: -.045em;
  color: var(--ivory);
}
.bmi-card__range span { color: rgba(250, 246, 240, .45); padding: 0 .06em; }
.bmi-card__caption { margin-top: 10px; font-size: var(--fs-body-sm); color: rgba(250, 246, 240, .72); }
.bmi-card__btn { justify-self: end; height: 50px; }

/* Gauge (shared) */
.gauge { display: block; overflow: visible; }
.gauge__track { fill: none; stroke: rgba(250, 246, 240, .12); stroke-width: 28; }
.gauge__seg { fill: none; stroke-width: 28; }
.gauge__seg--under   { stroke: #E2C48E; }
.gauge__seg--healthy { stroke: #3FC1C3; }
.gauge__seg--over    { stroke: #E8B49E; }
.gauge__seg--obese   { stroke: #D98A72; }
.gauge__needle {
  transform-box: view-box;
  transform-origin: 200px 200px;
  transform: rotate(var(--angle));
  transition: transform 1.4s cubic-bezier(.34, 1.4, .5, 1);
}
.gauge__needle line { stroke: var(--ivory); stroke-width: 6; stroke-linecap: round; }
.gauge__needle circle { fill: var(--ivory); }

.gauge--card {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -4px;
  width: 560px;
  transform: translateX(-50%);
  filter: drop-shadow(0 -10px 40px rgba(95, 203, 200, .25));
}
.js .bmi-card .gauge--card { opacity: 0; transform: translate(-50%, 40px); transition: opacity 1s var(--ease-out) .3s, transform 1.2s var(--ease-out) .3s; }
.js .bmi-card.is-in .gauge--card { opacity: 1; transform: translate(-50%, 0); }
.js .bmi-card .gauge--card .gauge__needle { transform: rotate(-90deg); }
.js .bmi-card.is-in .gauge--card .gauge__needle { transform: rotate(var(--angle)); transition-delay: .9s; }

/* ---------- BMI modal ---------- */
.bmi-modal {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--ivory);
  color: var(--charcoal);
  box-shadow: 0 40px 80px -30px rgba(0, 14, 30, .6);
  overflow: auto;
  overscroll-behavior: contain;
}
.bmi-modal::backdrop { background: rgba(0, 18, 38, .55); backdrop-filter: blur(6px); }
.bmi-modal[open] { animation: modal-in .6s var(--ease-out); }
.bmi-modal[open]::backdrop { animation: fade-in .4s ease-out; }
.bmi-modal.is-closing { animation: modal-out .3s ease-in forwards; }
.bmi-modal.is-closing::backdrop { animation: fade-out .3s ease-in forwards; }
@keyframes modal-in { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes modal-out { to { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

.bmi { position: relative; padding: 36px; }
.bmi__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 26, 53, .06);
  transition: background-color .2s, transform .4s var(--ease-out);
}
.bmi__close:hover { background: rgba(0, 26, 53, .12); transform: rotate(90deg); }
.bmi__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.bmi__eyebrow { font-size: 14px; font-weight: 500; color: var(--teal); letter-spacing: .02em; }
.bmi__title {
  margin-top: 6px;
  font-family: var(--f-head);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -.035em;
  line-height: 1.1;
}
.bmi__title em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 1.08em;
  color: var(--teal);
  letter-spacing: -.01em;
}

.seg {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 22px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(0, 26, 53, .06);
}
.seg label { position: relative; z-index: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 20px; font-size: 15px; font-weight: 500; color: var(--ink-55); text-align: center; transition: color .3s; }
.seg input:checked + span { color: var(--charcoal); }
.seg input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; border-radius: 999px; }
.seg__thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 26, 53, .1);
  transition: transform .45s var(--ease-out);
}
.seg:has(input[value="metric"]:checked) .seg__thumb { transform: translateX(100%); }

.bmi__fields { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; margin-top: 20px; }
.bmi__fields[hidden] { display: none; }
.field-group { display: flex; flex-direction: column; gap: 8px; }
.field-group__label { font-size: 14px; font-weight: 500; color: var(--ink-70); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(0, 26, 53, .12);
  transition: border-color .2s, box-shadow .2s;
  cursor: text;
}
.field:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(3, 68, 94, .1); }
.field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 18px;
  color: var(--charcoal);
  -moz-appearance: textfield;
}
.field input::-webkit-outer-spin-button,
.field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field input::placeholder { color: rgba(0, 26, 53, .3); }
.field span { font-size: 15px; color: var(--ink-55); }

.bmi__result {
  margin-top: 20px;
  padding: 24px 20px 18px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(0, 26, 53, .06);
  text-align: center;
}
.gauge--modal { width: 100%; max-width: 300px; margin: 0 auto; }
.gauge--modal .gauge__track { stroke: rgba(0, 26, 53, .06); }
.gauge--modal .gauge__needle line { stroke: var(--charcoal); }
.gauge--modal .gauge__needle circle { fill: var(--charcoal); }
.bmi__readout { margin-top: 8px; }
.bmi__value {
  font-family: var(--f-head);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.bmi__cat {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(0, 26, 53, .06);
  color: var(--ink-70);
  transition: background-color .4s, color .4s;
}
.bmi__cat[data-cat="under"]   { background: #fbf0d6; color: #7a5a14; }
.bmi__cat[data-cat="healthy"] { background: #D7F1F1; color: var(--teal); }
.bmi__cat[data-cat="over"]    { background: #F6EAD5; color: #8f4329; }
.bmi__cat[data-cat="obese"]   { background: #f9d9cf; color: #8a3720; }
.bmi__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 16px; font-size: 13px; color: var(--ink-55); }
.bmi__legend li { display: inline-flex; align-items: center; gap: 6px; }
.bmi__legend i { width: 10px; height: 10px; border-radius: 50%; }
.c-under { background: #E2C48E; }
.c-healthy { background: #3FC1C3; }
.c-over { background: #E8B49E; }
.c-obese { background: #D98A72; }

.bmi__note { margin-top: 16px; font-size: 14px; line-height: 1.55; color: var(--ink-55); }
.bmi__actions { margin-top: 20px; }
.bmi__actions .btn { width: 100%; justify-content: space-between; padding-left: 26px; }


/* ==========================================================================
   Reveal animations
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease-out) var(--d, 0s), transform 1s var(--ease-out) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-split] .line > span {
  transform: translateY(105%);
  transition: transform 1.1s var(--ease-out);
}
.js [data-split] .line:nth-child(2) > span { transition-delay: .1s; }
.js [data-split].is-in .line > span { transform: none; }

/* Cards: clip reveal + image settle */
.js [data-stagger] > * {
  clip-path: inset(18% 0 0 0 round var(--radius-lg));
  opacity: 0;
  transform: translateY(40px);
  transition:
    clip-path 1.2s var(--ease-out) calc(var(--i) * .1s + .15s),
    opacity .8s var(--ease-out) calc(var(--i) * .1s + .15s),
    transform 1.2s var(--ease-out) calc(var(--i) * .1s + .15s),
    box-shadow .6s var(--ease-out);
}
.js [data-stagger].is-in > * { clip-path: inset(0 0 0 0 round var(--radius-lg)); opacity: 1; transform: none; }
.js .minis[data-stagger] > * { clip-path: inset(18% 0 0 0 round var(--radius-md)); }
.js .minis[data-stagger].is-in > * { clip-path: inset(0 0 0 0 round var(--radius-md)); }
.js .minis[data-stagger].is-in > .mini:hover { transform: translateY(-4px); transition-delay: 0s; }

.js .cats[data-stagger] .cat__media img { transform: scale(1.2); }
.js .cats[data-stagger].is-in .cat__media img { transform: scale(1.04); transition-delay: calc(var(--i) * .1s + .15s); }
.js .cats[data-stagger].is-in .cat:hover .cat__media img { transform: scale(1.1); transition-delay: 0s; }

.js .cat__text,
.js .cat .arrow-btn {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .8s var(--ease-out), transform .9s var(--ease-out), width .6s var(--ease-out), background-color .4s, border-color .4s, color .4s;
}
.js .cats.is-in .cat__text { opacity: 1; transform: none; transition-delay: calc(var(--i) * .1s + .55s); }
.js .cats.is-in .cat .arrow-btn { opacity: 1; transform: none; transition-delay: calc(var(--i) * .1s + .7s), calc(var(--i) * .1s + .7s), 0s, 0s, 0s, 0s; }
.js .cats.is-in .cat:hover .arrow-btn { transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1280px) {
  .quiz-pill span { display: none; }
  .quiz-pill { padding: 0; width: 42px; justify-content: center; margin-right: 4px; }
  .quiz-pill::after { display: none; }
}

@media (max-width: 1100px) {
  :root { --gutter: 24px; }
  .header__inner { gap: 24px; }
  .nav__link { padding: 0 9px; }
  .hero__head { grid-template-columns: 1fr; align-items: start; gap: 32px; }
  .hero__cta { align-items: flex-start; }
  .minis { grid-template-columns: repeat(2, 1fr); }
  .mega__inner { grid-template-columns: 1fr; }
  .mega__feature { display: none; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header__inner { height: 64px; }
  .header__actions a[href="#help"] { display: none; }
  .mega { display: none; }

  /* Category cards become a swipeable row */
  .cats {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78%, 360px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .cats::-webkit-scrollbar { display: none; }
  .cat { scroll-snap-align: start; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --fs-body: 16px; --fs-body-sm: 16px; }
  body { font-size: 16px; }

  .announce { font-size: 13px; }
  .announce__list li { padding: 0 22px; font-size: 12.5px; }

  .logo__mark { width: 30px; height: 30px; }
  .logo__word { font-size: 21px; }
  .logo__img { height: 24px; }

  .hero { padding: 36px 0 64px; }
  .hero__head { margin-bottom: 32px; gap: 26px; }
  .eyebrow { margin-bottom: 16px; }
  .h-display { font-size: clamp(30px, 9.4vw, 44px); letter-spacing: -.045em; }
  .hero__lede { margin-top: 18px; }
  .hero__cta { width: 100%; align-items: stretch; }
  .hero__btns { flex-direction: column; }
  .btn { width: 100%; }
  .btn--primary { justify-content: space-between; padding-left: 24px; }
  .hero__trust { gap: 16px; flex-wrap: wrap; font-size: 14px; }

  .cats { grid-auto-columns: 84%; }
  .cat { height: 420px; }
  .cat__body { padding: 22px; }
  .cat__desc { white-space: nowrap; margin-top: 6px; }

  .more { margin-top: 40px; }
  .minis { gap: 10px; }
  .mini { height: 168px; padding: 16px; }
  .mini__title { font-size: 19px; max-width: 100%; }
  .mini__vial { height: 118px; right: 12px; }
}

/* --- Weight Management responsive --- */
@media (max-width: 1100px) {
  .wm__panel { padding: 72px 32px 32px; }
  .bmi-card { grid-template-columns: 1fr 1fr; }
  .bmi-card__stat { grid-column: 1 / -1; grid-row: 2; }
  .bmi-card__btn { grid-row: 1; grid-column: 2; }
}

@media (max-width: 960px) {
  .wm__cards {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(80%, 340px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -32px;
    padding-inline: 32px;
    scroll-padding-inline: 32px;
    scrollbar-width: none;
  }
  .wm__cards::-webkit-scrollbar { display: none; }
  .tx { scroll-snap-align: start; }
}

@media (max-width: 640px) {
  .wm { padding-bottom: 72px; }
  .wm__panel { border-radius: 28px; padding: 52px 18px 18px; }
  .wm__stage { --R: 150px; --ch: 18px; --vial-h: 196px; height: 340px; margin-top: 4px; }
  .wm__glow { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
  .wm__shadow { bottom: 30px; width: 100px; margin-left: -50px; }
  .wm__cta { width: 100%; }
  .wm__lineup { margin-top: 64px; }
  .wm__label { font-size: 20px; }
  .wm__cards { margin-inline: -18px; padding-inline: 18px; scroll-padding-inline: 18px; grid-auto-columns: 82%; gap: 12px; }
  .tx { min-height: 360px; }
  .wm__disclaimer { text-align: left; }
  .bmi-card { grid-template-columns: 1fr; align-content: start; gap: 22px; margin-top: 40px; padding: 28px 22px 200px; min-height: 0; border-radius: 22px; }
  .bmi-card__stat { grid-column: auto; grid-row: auto; text-align: left; }
  .bmi-card__btn { grid-column: auto; grid-row: auto; justify-self: stretch; width: 100%; }
  .gauge--card { width: 330px; }
  .bmi-card__range { font-size: 52px; }
  .bmi { padding: 28px 20px 22px; }
  .bmi__title { font-size: 30px; }
  .bmi__fields { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .h-section { font-size: clamp(26px, 7.8vw, 40px); }
  .h-card { font-size: clamp(26px, 7.4vw, 34px); }
}

/* ==========================================================================
   Skincare section
   ========================================================================== */

.sc { padding: 0 0 120px; }

/* Image panel: set style="--sc-photo: url(assets/img/skincare-bg.jpg)" on .sc__panel once the photo exists; the warm gradient shows until then. */
.sc__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  border-radius: 36px;
  padding: 72px 56px 56px;
  background:
    linear-gradient(180deg, rgba(250, 246, 240, .5) 0%, rgba(250, 246, 240, 0) 32%),
    var(--sc-photo, none) center / cover no-repeat,
    radial-gradient(55% 45% at 88% 8%, #F8E1DA 0%, rgba(248, 225, 218, 0) 100%),
    radial-gradient(60% 55% at 6% 96%, #EBD3C6 0%, rgba(235, 211, 198, 0) 100%),
    linear-gradient(160deg, #F6E9E2 0%, #F0DAD0 52%, #E9CCC0 100%);
}
/* soft drifting light so the panel feels alive */
.sc__panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  top: -30%;
  right: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 65%);
  animation: sc-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes sc-drift { from { transform: translate(0, 0); } to { transform: translate(-18%, 14%); } }

.sc__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 168px;
}
.sc__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
}
.sc__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.sc .h-section em { color: var(--teal); }
.sc__cta { flex-shrink: 0; margin-top: 4px; }

/* Slider */
.sc__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.sc__label { font-family: var(--f-head); font-size: 22px; letter-spacing: -.02em; color: var(--charcoal); }
.slider-nav { display: flex; gap: 8px; }
.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--charcoal);
  transition: background-color .3s, color .3s, opacity .3s, transform .3s var(--ease-out);
}
.slider-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.slider-btn:hover:not(:disabled) { background: var(--charcoal); color: var(--ivory); transform: scale(1.05); }
.slider-btn:disabled { opacity: .4; cursor: default; }

.sc__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3.35);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  border-radius: 24px;
}
.sc__track::-webkit-scrollbar { display: none; }
.sc__track:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }

.sk {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: 22px;
  border-radius: 24px;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .8);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  transition: background-color .5s, box-shadow .6s var(--ease-out);
}
.sk::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 40%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 168, 174, .2) 0%, rgba(17, 168, 174, 0) 68%);
  transform: translate(-50%, -50%) scale(.85);
  transition: transform 1s var(--ease-out);
}
.sk:hover { background: rgba(255, 255, 255, .72); box-shadow: 0 24px 50px -30px rgba(0, 26, 53, .4); }
.sk:hover::before { transform: translate(-50%, -50%) scale(1.15); }
.sk__tag {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(3, 68, 94, .08);
  color: var(--teal);
  font-size: 13px;
  font-weight: 500;
}
.sk__media { flex: 1; display: grid; place-items: center; padding: 18px 0 22px; }
.sk__media img {
  height: 180px;
  width: auto;
  filter: drop-shadow(0 22px 20px rgba(0, 26, 53, .18));
  transition: transform .9s var(--ease-out);
}
.sk:hover .sk__media img { transform: translateY(-10px) rotate(-5deg); }
.sk__name { font-family: var(--f-head); font-weight: 400; font-size: 23px; letter-spacing: -.025em; color: var(--charcoal); }
.sk__meta { margin-top: 6px; font-size: var(--fs-body-sm); color: var(--ink-70); }
.sk__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 26, 53, .1);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--teal);
}
.sk__link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.sk:hover .sk__link svg { transform: translateX(5px); }

.sc__disclaimer {
  max-width: 860px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-70);
}

/* ---------- How it works card ---------- */
.hiw {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  margin-top: 56px;
  min-height: 640px;
  padding: 44px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  background: rgba(250, 246, 240, .72);
  border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
}
.hiw::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -30%;
  width: 640px;
  height: 640px;
  margin-left: -320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 203, 200, .45) 0%, rgba(95, 203, 200, 0) 65%);
}
.h-card--dark { color: var(--charcoal); }
.h-card--dark em { color: var(--teal); }
.hiw__copy { max-width: 340px; }
.hiw__copy > p { margin-top: 16px; font-size: var(--fs-body-sm); color: var(--ink-70); }
.hiw__btn { height: 50px; }
.btn--dark { background: var(--charcoal); color: var(--ivory); }
.btn--dark:hover { background: var(--teal); transform: translateY(-2px); }

.hiw__steps { margin-top: 28px; }
.hiw__steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid rgba(0, 26, 53, .1);
  font-size: var(--fs-body-sm);
  color: var(--ink-55);
  transition: color .4s;
}
.hiw__steps li span { font-size: 13px; font-variant-numeric: tabular-nums; color: inherit; }
.hiw__steps li i {
  position: absolute;
  left: 0;
  top: -1px;
  height: 2px;
  width: 0;
  background: var(--teal);
}
.hiw__steps li.is-active { color: var(--charcoal); }
.hiw__steps li.is-active i { animation: step-fill var(--scene-dur, 3.8s) linear forwards; }
@keyframes step-fill { to { width: 100%; } }

.hiw__caption { position: absolute; right: 22px; bottom: 16px; font-size: 12px; color: var(--ink-55); }

/* Hand + phone */
.hand-phone {
  position: absolute;
  z-index: -1;
  left: 58%;
  bottom: -64px;
  width: 420px;
  height: 520px;
  margin-left: -210px;
  transform: rotate(-7deg);
  transform-origin: 50% 100%;
  animation: phone-float 8s ease-in-out infinite;
}
@keyframes phone-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.js .hiw .hand-phone { opacity: 0; translate: 0 60px; transition: opacity 1s var(--ease-out) .2s, translate 1.3s var(--ease-out) .2s; animation: none; }
.js .hiw.is-in .hand-phone { opacity: 1; translate: 0 0; animation: phone-float 8s ease-in-out 1.5s infinite; }

.hand { position: absolute; inset: 0; width: 100%; height: 100%; }
.hand--front { z-index: 2; pointer-events: none; }

.phone {
  position: absolute;
  z-index: 1;
  left: 95px;
  top: 0;
  width: 230px;
  height: 480px;
  padding: 9px;
  border-radius: 42px;
  background: linear-gradient(145deg, #3a4245 0%, #14191a 45%, #262c2e 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .18),
    0 40px 60px -24px rgba(0, 14, 30, .5);
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #fbfaf6;
  font-family: var(--f-body);
  color: var(--charcoal);
}
.phone__island { position: absolute; z-index: 3; top: 9px; left: 50%; width: 72px; height: 21px; margin-left: -36px; border-radius: 12px; background: #0b0f10; }
.phone__status { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px 0 24px; font-size: 11px; }
.phone__status b { font-weight: 600; }
.phone__icons { display: flex; gap: 3px; }
.phone__icons i { width: 12px; height: 7px; border-radius: 2px; background: var(--charcoal); opacity: .8; }
.phone__icons i:first-child { width: 10px; opacity: .5; }

/* Scenes */
.scene {
  position: absolute;
  inset: 46px 14px 16px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .5s ease, transform .7s var(--ease-out);
  pointer-events: none;
}
.scene.is-active { opacity: 1; transform: none; }
.scene.is-leaving { opacity: 0; transform: translateX(-24px); }

.scene__top { display: flex; align-items: center; gap: 8px; }
.scene__top small { font-size: 9.5px; color: var(--ink-55); white-space: nowrap; }
.ui-progress { flex: 1; height: 4px; border-radius: 4px; background: rgba(0, 26, 53, .08); overflow: hidden; }
.ui-progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--teal); }
.scene.is-active .ui-progress i { animation: grow-33 1s var(--ease-out) .3s forwards; }
@keyframes grow-33 { to { width: 33%; } }

.ui-title { margin: 16px 0 12px; font-family: var(--f-head); font-size: 17px; line-height: 1.2; letter-spacing: -.02em; }
.ui-title--center { text-align: center; margin-top: 14px; }
.ui-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(0, 26, 53, .1);
  font-size: 11px;
  transition: background-color .3s, color .3s, border-color .3s;
}
.scene.is-active .chip--pick { animation: chip-pick .5s var(--ease-out) .9s forwards; }
@keyframes chip-pick {
  0% { transform: scale(1); }
  40% { transform: scale(.92); }
  100% { transform: scale(1); background: var(--teal); color: var(--white); border-color: var(--teal); }
}
.ui-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(0, 26, 53, .1);
}
.ui-field small { font-size: 9.5px; color: var(--ink-55); }
.ui-type {
  display: inline-block;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 12.5px;
  border-right: 1.5px solid var(--teal);
  align-self: flex-start;
}
.scene.is-active .ui-type { animation: typing .9s steps(11) 1.5s forwards, caret .7s step-end infinite; }
@keyframes typing { to { width: 11ch; } }
@keyframes caret { 50% { border-color: transparent; } }
.ui-btn {
  margin-top: auto;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 500;
}
.scene.is-active .ui-btn { animation: press .4s ease 2.9s; }
@keyframes press { 50% { transform: scale(.94); background: var(--coral-600); } }

/* Scene 2 */
.scene--review { align-items: center; padding-top: 18px; }
.ui-avatar {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint-100);
  color: var(--teal);
}
.ui-avatar svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.ui-avatar::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--teal);
  border-right-color: var(--mint);
  animation: spin 1.1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ui-title--center { font-size: 15px; padding: 0 6px; }
.ui-checks { align-self: stretch; display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.ui-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(0, 26, 53, .08);
  font-size: 12px;
  opacity: .4;
  transition: opacity .3s;
}
.ui-checks li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 26, 53, .2);
  background: center / 10px no-repeat;
}
.scene.is-active .ui-checks li { animation: check-row .4s ease forwards; }
.scene.is-active .ui-checks li:nth-child(1) { animation-delay: .6s; }
.scene.is-active .ui-checks li:nth-child(2) { animation-delay: 1.1s; }
.scene.is-active .ui-checks li:nth-child(3) { animation-delay: 1.6s; }
.scene.is-active .ui-checks li::before { animation: check-dot .4s ease forwards; animation-delay: inherit; }
@keyframes check-row { to { opacity: 1; } }
@keyframes check-dot {
  to {
    border-color: var(--teal);
    background-color: var(--teal);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}
.ui-pill {
  margin-top: auto;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--mint-100);
  color: var(--teal);
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px) scale(.9);
}
.scene.is-active .ui-pill { animation: pop .5s var(--ease-out) 2.2s forwards; }
@keyframes pop { to { opacity: 1; transform: none; } }

/* Scene 3 */
.ui-kicker { margin-top: 10px; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-55); }
.ui-plan {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 12px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid rgba(0, 26, 53, .08);
  box-shadow: 0 10px 24px -16px rgba(0, 26, 53, .4);
}
.ui-plan img { height: 70px; width: auto; }
.ui-plan b { display: block; font-family: var(--f-head); font-weight: 400; font-size: 14px; letter-spacing: -.01em; }
.ui-plan small { font-size: 10.5px; color: var(--ink-55); }
.scene.is-active .ui-plan { animation: rise .7s var(--ease-out) .3s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.ui-rows { margin-top: 14px; }
.ui-rows li {
  display: flex;
  justify-content: space-between;
  padding: 10px 2px;
  border-bottom: 1px solid rgba(0, 26, 53, .08);
  font-size: 11px;
}
.ui-rows span { color: var(--ink-55); }
.ui-rows b { font-weight: 500; }
.scene.is-active .ui-rows li { animation: rise .6s var(--ease-out) both; }
.scene.is-active .ui-rows li:nth-child(1) { animation-delay: .8s; }
.scene.is-active .ui-rows li:nth-child(2) { animation-delay: 1.05s; }
.scene.is-active .ui-rows li:nth-child(3) { animation-delay: 1.3s; }

/* Scene 4 */
.scene--ship { align-items: center; padding-top: 14px; }
.ui-box {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: #F6EAD5;
  color: var(--coral-600);
}
.ui-box svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.scene.is-active .ui-box { animation: bounce 1.2s var(--ease-out) .2s; }
@keyframes bounce { 0% { transform: translateY(-14px) rotate(-8deg); opacity: 0; } 50% { transform: translateY(3px) rotate(2deg); opacity: 1; } 100% { transform: none; } }
.ui-track { align-self: stretch; margin-top: 8px; padding-left: 8px; }
.ui-track li {
  position: relative;
  padding: 0 0 18px 24px;
  font-size: 12px;
  color: var(--ink-55);
}
.ui-track li:last-child { padding-bottom: 0; }
.ui-track li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(0, 26, 53, .18);
}
.ui-track li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 17px;
  bottom: 2px;
  width: 2px;
  background: rgba(0, 26, 53, .1);
}
.scene.is-active .ui-track li { animation: track-text .3s ease forwards; }
.scene.is-active .ui-track li::before { animation: track-dot .3s ease forwards; animation-delay: inherit; }
.scene.is-active .ui-track li:nth-child(1) { animation-delay: .5s; }
.scene.is-active .ui-track li:nth-child(2) { animation-delay: 1s; }
.scene.is-active .ui-track li:nth-child(3) { animation-delay: 1.5s; }
.scene.is-active .ui-track li:nth-child(4) { animation-delay: 2.2s; }
@keyframes track-text { to { color: var(--charcoal); } }
@keyframes track-dot { to { border-color: var(--teal); background: var(--teal); box-shadow: 0 0 0 4px rgba(95, 203, 200, .35); } }

/* Skincare responsive */
@media (max-width: 1100px) {
  .sc__panel { padding: 56px 32px 32px; }
  .sc__head { margin-bottom: 120px; }
  .sc__track { grid-auto-columns: calc((100% - 32px) / 2.3); }
  .hiw { grid-template-columns: 1fr; padding: 36px; min-height: 0; padding-bottom: 500px; }
  .hand-phone { left: 50%; }
  .hiw__btn { justify-self: start; margin-top: 24px; grid-row: 2; }
  .hiw__copy { max-width: 520px; }
  .hiw__steps { display: none; }
}
@media (max-width: 640px) {
  .sc { padding-bottom: 72px; }
  .sc__panel { border-radius: 28px; padding: 40px 18px 18px; }
  .sc__head { flex-direction: column; gap: 24px; margin-bottom: 72px; }
  .sc__cta { width: 100%; }
  .sc__label { font-size: 20px; }
  .slider-btn { width: 42px; height: 42px; }
  .sc__track { grid-auto-columns: 80%; gap: 12px; }
  .sk { min-height: 370px; }
  .sc__disclaimer { text-align: left; }
  .hiw { margin-top: 40px; padding: 28px 20px 440px; border-radius: 22px; }
  .hiw__btn { width: 100%; }
  .hand-phone { left: 50%; transform: translateX(18px) rotate(-4deg) scale(.8); bottom: -96px; }
  .hiw__caption { display: none; }
}

/* ==========================================================================
   Utilities added with the full page set
   ========================================================================== */

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--charcoal);
  color: var(--ivory);
  font-size: 15px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.mega__col a.mega__title {
  font-size: 13px;
  color: var(--ink-55);
  background: none;
}
.mega__col a.mega__title:hover { color: var(--teal); }

.btn--outline-light { color: var(--ivory); border: 1px solid rgba(250, 246, 240, .35); }
.btn--outline-light:hover { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }

/* Upright phone (hand removed) */
.hand-phone { transform: none; }
.phone { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .18), 0 50px 70px -30px rgba(0, 14, 30, .55), 0 0 0 1px rgba(0, 26, 53, .08); }
.phone__glow {
  position: absolute;
  left: 50%;
  top: 40px;
  width: 420px;
  height: 420px;
  margin-left: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 203, 200, .5) 0%, rgba(95, 203, 200, 0) 65%);
  filter: blur(10px);
}
/* side buttons for realism */
.phone::before,
.phone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #2a3133;
}
.phone::before { left: -3px; top: 96px; height: 54px; box-shadow: 0 66px 0 #2a3133; }
.phone::after { right: -3px; top: 120px; height: 80px; }

/* ==========================================================================
   Treatment panel themes (shared .wm structure)
   ========================================================================== */

.wm__cards--4 { grid-template-columns: repeat(4, 1fr); }
.wm__cards--2 { grid-template-columns: repeat(2, 1fr); }
.wm__cards--2 .tx { min-height: 360px; }

/* --- Sage (light) --- */
.wm--sage .wm__panel {
  color: var(--charcoal);
  background: linear-gradient(180deg, #E2F1F1 0%, #D5EAEB 55%, #C8E2E3 100%);
}
.wm--sage .wm__panel::before {
  background:
    radial-gradient(38% 30% at 82% 0%, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(60% 50% at 50% 34%, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 100%);
}
.wm--sage .wm__panel::after { background: radial-gradient(120% 90% at 50% 30%, rgba(3, 68, 94, 0) 60%, rgba(3, 68, 94, .12) 100%); }
.wm--sage .wm__beam { mix-blend-mode: soft-light; opacity: .9; }
.wm--sage .wm__eyebrow { color: var(--teal); }
.wm--sage .h-section em { color: var(--teal); }
.wm--sage .wm__glow { background: radial-gradient(circle, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, .25) 45%, rgba(255, 255, 255, 0) 70%); }
.wm--sage .orbit__ch { color: var(--teal); text-shadow: 0 0 16px rgba(255, 255, 255, .8); }
.wm--sage .wm__shadow { background: rgba(3, 68, 94, .28); }
.wm--sage .wm__lede { color: var(--ink-70); }
.wm--sage .wm__label { color: var(--charcoal); }
.wm--sage .tx { background: rgba(255, 255, 255, .55); border-color: rgba(255, 255, 255, .9); }
.wm--sage .tx::before { background: radial-gradient(circle, rgba(3, 68, 94, .14) 0%, rgba(3, 68, 94, 0) 68%); }
.wm--sage .tx:hover { border-color: rgba(3, 68, 94, .3); }
.wm--sage .tx__tag { background: rgba(3, 68, 94, .08); border-color: rgba(3, 68, 94, .15); color: var(--teal); }
.wm--sage .tx__name { color: var(--charcoal); }
.wm--sage .tx__meta { color: var(--ink-70); }
.wm--sage .tx__link { color: var(--teal); border-top-color: rgba(0, 26, 53, .1); }
.wm--sage .tx__media img { filter: drop-shadow(0 22px 20px rgba(3, 68, 94, .2)); }
.wm--sage .wm__disclaimer { color: var(--ink-70); }

/* --- Clay (warm dark) --- */
.wm--clay .wm__panel {
  background: linear-gradient(180deg, #27306A 0%, #1C2459 50%, #121842 100%);
}
.wm--clay .wm__panel::before {
  background:
    radial-gradient(38% 30% at 82% 0%, rgba(226, 216, 250, .32) 0%, rgba(226, 216, 250, 0) 100%),
    radial-gradient(60% 50% at 50% 34%, rgba(17, 168, 174, .28) 0%, rgba(17, 168, 174, 0) 100%);
}
.wm--clay .wm__panel::after { background: radial-gradient(120% 90% at 50% 30%, rgba(4, 6, 28, 0) 55%, rgba(4, 6, 28, .5) 100%); }
.wm--clay .wm__eyebrow { color: #DACCF0; }
.wm--clay .h-section--light em { color: #DACCF0; }
.wm--clay .wm__glow { background: radial-gradient(circle, rgba(218, 204, 240, .45) 0%, rgba(218, 204, 240, .12) 45%, rgba(218, 204, 240, 0) 70%); }
.wm--clay .orbit__ch { color: #E7DEF7; text-shadow: 0 0 18px rgba(218, 204, 240, .55); }
.wm--clay .tx::before { background: radial-gradient(circle, rgba(218, 204, 240, .3) 0%, rgba(218, 204, 240, 0) 68%); }
.wm--clay .tx:hover { border-color: rgba(218, 204, 240, .5); }
.wm--clay .tx__tag { background: rgba(218, 204, 240, .16); border-color: rgba(218, 204, 240, .35); color: #DACCF0; }
.wm--clay .tx__link { color: #DACCF0; }

/* --- Ink (charcoal) --- */
.wm--ink .wm__panel {
  background: linear-gradient(180deg, #0A2642 0%, #001A35 50%, #00132A 100%);
}
.wm--ink .wm__panel::before {
  background:
    radial-gradient(38% 30% at 82% 0%, rgba(255, 242, 222, .22) 0%, rgba(255, 242, 222, 0) 100%),
    radial-gradient(60% 50% at 50% 34%, rgba(95, 203, 200, .14) 0%, rgba(95, 203, 200, 0) 100%);
}

/* ==========================================================================
   Trust / care team
   ========================================================================== */

.trust__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
}
.trust__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.faq .h-section em { color: var(--teal); }
.trust-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--mint-100);
  color: var(--teal);
  margin-bottom: 26px;
}
.trust-card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   FAQ (home section + faq.html)
   ========================================================================== */

.faq { padding: 40px 0 120px; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
.faq__side { position: sticky; top: calc(var(--top-h) + 32px); }
.faq__lede { margin-top: 20px; color: var(--ink-70); }
.faq__links { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
.faq__links .btn { height: 50px; }

.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-head);
  font-size: 21px;
  letter-spacing: -.02em;
  color: var(--charcoal);
  transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--teal); }
.faq__item summary i {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 26, 53, .15);
  transition: background-color .3s, border-color .3s, transform .5s var(--ease-out);
}
.faq__item summary i::before,
.faq__item summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.6px;
  margin: -.8px 0 0 -6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .5s var(--ease-out);
}
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i { background: var(--teal); border-color: var(--teal); color: var(--ivory); transform: rotate(180deg); }
.faq__item[open] summary i::after { transform: rotate(0deg); }
.faq__answer { padding: 0 64px 26px 4px; color: var(--ink-70); }

/* Smooth open/close where supported */
.faq__item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete;
}
.faq__item[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ==========================================================================
   Final CTA
   ========================================================================== */

.cta { padding: 0 0 120px; }
.cta__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  padding: 96px 32px;
  border-radius: 36px;
  text-align: center;
  color: var(--ivory);
  background:
    radial-gradient(60% 80% at 50% 0%, #0A5D7C 0%, rgba(10, 93, 124, 0) 70%),
    linear-gradient(180deg, #03445E 0%, #012A44 100%);
}
.cta__rings { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; }
.cta__rings i {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(95, 203, 200, .18);
  animation: ring-pulse 6s ease-out infinite;
}
.cta__rings i:nth-child(1) { width: 360px; height: 360px; }
.cta__rings i:nth-child(2) { width: 620px; height: 620px; animation-delay: 1s; }
.cta__rings i:nth-child(3) { width: 900px; height: 900px; animation-delay: 2s; }
@keyframes ring-pulse { 0%, 100% { opacity: .5; transform: scale(.97); } 50% { opacity: 1; transform: scale(1.02); } }
.cta .wm__eyebrow { justify-content: center; }
.cta__lede { max-width: 520px; margin: 20px auto 0; color: rgba(250, 246, 240, .78); }
.cta__btns { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  padding: 88px 0 32px;
  background: #001A35;
  color: rgba(250, 246, 240, .72);
  font-size: var(--fs-body-sm);
}
.footer__top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 64px; padding-bottom: 56px; border-bottom: 1px solid rgba(250, 246, 240, .12); }
.logo--light .logo__word { color: var(--ivory); }
.logo--light .logo__word b { color: var(--mint); }
.footer__tagline {
  margin-top: 28px;
  font-family: var(--f-head);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ivory);
}
.footer__tagline em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 1.08em;
  letter-spacing: -.01em;
  color: var(--mint);
}
.footer__about { margin: 18px 0 28px; max-width: 380px; }
.footer__cta { height: 52px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__head { margin-bottom: 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(250, 246, 240, .45); }
.footer__col a { width: fit-content; color: rgba(250, 246, 240, .82); transition: color .2s; }
.footer__col a:hover { color: var(--mint); }
.footer__todo { color: #DACCF0; font-style: italic; }

.footer__notice { display: grid; gap: 12px; padding: 32px 0; border-bottom: 1px solid rgba(250, 246, 240, .12); font-size: 14px; line-height: 1.65; color: rgba(250, 246, 240, .6); }
.footer__notice b { color: var(--ivory); font-weight: 500; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 14px; color: rgba(250, 246, 240, .5); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: var(--mint); }

/* ==========================================================================
   Inner pages (legal, FAQ, contact)
   ========================================================================== */

.page-hero { padding: 64px 0 48px; }
.crumbs { display: flex; gap: 8px; margin-bottom: 22px; font-size: 14px; color: var(--ink-55); }
.crumbs a { color: var(--teal); }
.page-hero .h-section em { color: var(--teal); }
.page-hero__meta { margin-top: 18px; color: var(--ink-55); font-size: 15px; }
.page-hero__lede { margin-top: 16px; max-width: 640px; color: var(--ink-70); }

.legal { padding: 0 0 120px; }
.legal__grid { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
.toc { position: sticky; top: calc(var(--top-h) + 24px); padding: 22px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.toc p { margin-bottom: 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-55); }
.toc ol { display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 15px; color: var(--ink-70); transition: background-color .2s, color .2s; }
.toc a:hover { background: rgba(3, 68, 94, .06); color: var(--teal); }
.toc a.is-active { background: var(--mint-100); color: var(--teal); }

.prose { max-width: 760px; padding: 48px 56px; border-radius: 28px; background: var(--white); border: 1px solid var(--line); }
.prose > p:first-child { font-size: 18px; color: var(--charcoal); }
.prose h2 {
  margin: 44px 0 14px;
  padding-top: 8px;
  font-family: var(--f-head);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -.025em;
  scroll-margin-top: calc(var(--top-h) + 24px);
}
.prose h2:first-of-type { margin-top: 32px; }
.prose p, .prose li { color: var(--ink-70); }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.prose dl { margin: 14px 0; display: grid; gap: 10px; }
.prose dl div { padding: 16px 18px; border-radius: 14px; background: var(--ivory); }
.prose dt { font-weight: 500; color: var(--charcoal); }
.prose dd { margin: 4px 0 0; color: var(--ink-70); }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.prose .note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-55); }
.prose ol.steps-list { margin: 14px 0; display: grid; gap: 10px; counter-reset: st; }
.prose ol.steps-list li { position: relative; padding: 16px 18px 16px 58px; border-radius: 14px; background: var(--ivory); counter-increment: st; }
.prose ol.steps-list li::before {
  content: counter(st, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
}
.prose ol.steps-list b { display: block; color: var(--charcoal); font-weight: 500; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { padding: 28px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); }
.contact-card .trust-card__icon { margin-bottom: 20px; }
.contact-card h2 { font-family: var(--f-head); font-weight: 400; font-size: 22px; letter-spacing: -.02em; }
.contact-card p { margin-top: 8px; color: var(--ink-70); font-size: var(--fs-body-sm); }
.contact-card .footer__todo { display: block; margin-top: 12px; color: var(--coral-600); }
.alert {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  padding: 20px 22px;
  border-radius: 20px;
  background: #F6EAD5;
  color: #6A4A17;
  font-size: var(--fs-body-sm);
}
.alert b { font-weight: 600; }

/* ==========================================================================
   Responsive (new sections)
   ========================================================================== */

@media (max-width: 1100px) {
  .wm__cards--4 { grid-template-columns: repeat(2, 1fr); }
  .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .faq__side { position: static; }
  .footer__top { grid-template-columns: 1fr; gap: 48px; }
  .legal__grid { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .toc ol { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 960px) {
  .wm__cards--4,
  .wm__cards--2 { grid-template-columns: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hand-phone { transform: scale(.8); }
  .faq { padding-bottom: 72px; }
  .faq__item summary { font-size: 18px; padding: 20px 2px; }
  .faq__answer { padding-right: 8px; }
  .faq__links { flex-direction: column; align-items: stretch; }
  .cta { padding-bottom: 72px; }
  .cta__panel { padding: 64px 20px; border-radius: 28px; text-align: left; }
  .cta .wm__eyebrow { justify-content: flex-start; }
  .cta__btns { flex-direction: column; }
  .footer { padding-top: 64px; }
  .footer__bottom { flex-direction: column; }
  .page-hero { padding: 40px 0 28px; }
  .prose { padding: 28px 20px; border-radius: 22px; }
  .prose h2 { font-size: 22px; }
  .toc { display: none; }
}

/* ==========================================================================
   v3: hand-held phone photo, coloured scenes, extra cards, peptide slider
   ========================================================================== */

/* ---------- Hand + phone photo ----------
   --s scales the whole mockup. The animated screen is designed at 236×513 and
   sits under the photo; the photo is multiplied on top so its white
   background and light screen disappear while hand/thumb/frame stay visible. */
.hiw { min-height: 720px; }
.hand-phone {
  --s: 1.18;
  --hp-w: calc(666.7px * var(--s));
  left: 58%;
  bottom: -96px;
  width: var(--hp-w);
  height: var(--hp-w);
  margin-left: calc(var(--hp-w) / -2);
  transform: none;
}
.phone__glow { top: 12%; width: 70%; height: 70%; left: 15%; margin-left: 0; }
.hp { position: absolute; inset: 0; }
.hp__photo {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
}
.hp .phone__screen {
  position: absolute;
  z-index: 1;
  left: 33.1%;
  top: 9.1%;
  width: 236px;
  height: 513px;
  border-radius: 34px;
  transform-origin: 0 0;
  transform: rotate(.7deg) scale(calc(var(--s) * 1.0));
  filter: brightness(1.08) saturate(1.05);
  background: #fbfaf6;
}
.hp .phone__status { position: relative; z-index: 3; padding: 14px 22px 0 26px; transition: color .4s; }
.hp .phone__screen[data-active="1"] .phone__status { color: var(--ivory); }
.hp .phone__screen[data-active="1"] .phone__icons i { background: var(--ivory); }

/* Scenes now fill the screen with their own colour */
.hp .scene { inset: 0; padding: 48px 16px 18px; }
.scene--intake { background: linear-gradient(180deg, #D7EFEF 0%, #ECF6F6 40%, #fbfaf6 100%); }
.scene--review { background: radial-gradient(120% 60% at 50% 0%, #0A6283 0%, #03445E 45%, #012B45 100%); color: var(--ivory); }
.scene--plan { background: linear-gradient(180deg, #F5E6DA 0%, #F9F0E8 45%, #fbfaf6 100%); }
.scene--ship { background: linear-gradient(180deg, #E9DFF6 0%, #F3EEFA 45%, #fbfaf6 100%); }

.ui-ava { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); box-shadow: 0 4px 10px -4px rgba(0, 26, 53, .35); flex-shrink: 0; }
.ui-ava--sm { width: 28px; height: 28px; }
.ui-hello { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ui-hello small { display: block; font-size: 9.5px; color: var(--ink-55); }
.ui-hello b { font-family: var(--f-head); font-weight: 400; font-size: 15px; letter-spacing: -.02em; }
.hp .ui-title { margin: 12px 0 10px; }

/* review scene (dark) */
.scene--review { padding-top: 56px !important; }
.ui-doc { position: relative; width: 84px; height: 84px; }
.ui-doc img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid rgba(250, 246, 240, .9); }
.ui-doc::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--mint);
  border-right-color: rgba(95, 203, 200, .4);
  animation: spin 1.1s linear infinite;
}
.scene.is-active .ui-doc::after { animation: spin 1.1s linear infinite, fade-ring .4s ease 2.1s forwards; }
@keyframes fade-ring { to { opacity: 0; } }
.ui-doc__badge {
  position: absolute;
  right: -2px;
  bottom: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint);
  border: 2px solid #03445E;
  transform: scale(0);
}
.ui-doc__badge svg { width: 14px; height: 14px; fill: none; stroke: #022E44; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.scene.is-active .ui-doc__badge { animation: badge-pop .5s cubic-bezier(.34, 1.6, .5, 1) 2.2s forwards; }
@keyframes badge-pop { to { transform: scale(1); } }
.ui-role { margin-top: 12px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.scene--review .ui-title--center { margin-top: 4px; color: var(--ivory); }
.scene--review .ui-checks li { background: rgba(250, 246, 240, .08); border-color: rgba(250, 246, 240, .14); color: var(--ivory); }
.scene--review .ui-checks li::before { border-color: rgba(250, 246, 240, .35); }
.scene--review .ui-pill { background: var(--mint); color: #022E44; }

/* plan scene: provider message bubble */
.ui-msg { display: flex; align-items: flex-end; gap: 8px; margin-top: 4px; }
.ui-msg p {
  padding: 10px 12px;
  border-radius: 14px 14px 14px 4px;
  background: var(--white);
  font-size: 11.5px;
  line-height: 1.4;
  box-shadow: 0 8px 20px -14px rgba(0, 26, 53, .45);
}
.scene.is-active .ui-msg { animation: rise .6s var(--ease-out) .1s both; }
.hp .ui-plan { margin-top: 14px; }
.scene.is-active .ui-plan { animation-delay: .6s; }

/* ship scene: delivery chip */
.ui-deliver {
  margin-top: auto;
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--white);
  font-size: 11.5px;
  box-shadow: 0 8px 20px -14px rgba(0, 26, 53, .45);
}
.ui-deliver b { font-weight: 600; }
.ui-deliver small { display: block; font-size: 10px; color: var(--ink-55); }
.scene.is-active .ui-deliver { animation: rise .6s var(--ease-out) 2.5s both; }

/* ---------- Generic slider (skincare + peptides) ---------- */
.wm__lineup-head--slider { display: flex; justify-content: space-between; align-items: center; }
.wm__cards--slider {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3.35);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  border-radius: 24px;
}
.wm__cards--slider::-webkit-scrollbar { display: none; }
.wm__cards--slider .tx { scroll-snap-align: start; }

/* ---------- Extra cards (shared layout, like the BMI card) ---------- */
.xcard {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  margin-top: 56px;
  min-height: 600px;
  padding: 44px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
}
.xcard__copy { max-width: 380px; }
.xcard__copy > p { margin-top: 16px; font-size: var(--fs-body-sm); }
.xcard__btn { height: 50px; }
.xcard__caption { position: absolute; right: 24px; bottom: 18px; font-size: 12px; }

/* Peptides: body map */
.xcard--body { background: #F5FAFA; border: 1px solid rgba(255, 255, 255, .9); min-height: 680px; }
.xcard--body .xcard__copy > p,
.xcard--body .xcard__caption { color: var(--ink-70); }
.body-map {
  position: absolute;
  left: 50%;
  bottom: -200px;
  width: 640px;
  margin-left: -320px;
  aspect-ratio: 1;
}
.body-map__glow {
  position: absolute;
  inset: 8% 18% 20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 203, 200, .45) 0%, rgba(95, 203, 200, 0) 65%);
  filter: blur(10px);
  z-index: -1;
}
.body-map__img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 2;
}
.hotspot__dot {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .9);
  transition: transform .4s var(--ease-out), background-color .3s;
}
.hotspot__dot::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  animation: pulse-ring 2.2s var(--ease-out) infinite;
}
.hotspot.is-active .hotspot__dot { background: var(--coral); transform: scale(1.15); }
.hotspot.is-active .hotspot__dot::after { border-color: var(--coral); }
.hotspot__tip {
  position: absolute;
  top: 50%;
  width: 220px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -24px rgba(0, 26, 53, .45);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-70);
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s, transform .5s var(--ease-out);
}
.hotspot__tip b { display: block; margin-bottom: 4px; font-family: var(--f-head); font-weight: 400; font-size: 17px; letter-spacing: -.02em; color: var(--charcoal); }
.hotspot[data-side="right"] .hotspot__tip { left: 34px; transform: translate(-8px, -50%); }
.hotspot[data-side="left"] .hotspot__tip { right: 34px; transform: translate(8px, -50%); }
.hotspot.is-active .hotspot__tip { opacity: 1; transform: translate(0, -50%); }
/* connector line */
.hotspot__tip::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 1px;
  background: rgba(0, 26, 53, .25);
}
.hotspot[data-side="right"] .hotspot__tip::before { right: 100%; }
.hotspot[data-side="left"] .hotspot__tip::before { left: 100%; }

/* Sexual health: discreet parcel */
.xcard--discreet {
  color: var(--ivory);
  background:
    radial-gradient(55% 70% at 50% 110%, rgba(218, 204, 240, .35) 0%, rgba(218, 204, 240, 0) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(250, 246, 240, .12);
}
.xcard--discreet .xcard__copy > p,
.xcard--compare .xcard__copy > p { color: rgba(250, 246, 240, .78); }
.xcard--discreet .h-card em { color: #DACCF0; }
.parcel-stage {
  position: absolute;
  left: 50%;
  bottom: 70px;
  width: 0;
  height: 0;
  perspective: 1000px;
}
.parcel-glow {
  position: absolute;
  left: -200px;
  top: -320px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(218, 204, 240, .35) 0%, rgba(218, 204, 240, 0) 65%);
}
.parcel {
  --w: 200px; --h: 130px; --dp: 150px;
  position: absolute;
  left: calc(var(--w) / -2);
  top: calc(-130px - var(--h));
  width: var(--w);
  height: var(--h);
  transform-style: preserve-3d;
  animation: parcel-spin 14s linear infinite, parcel-bob 5s ease-in-out infinite;
}
@keyframes parcel-spin { from { transform: rotateX(-18deg) rotateY(0deg); } to { transform: rotateX(-18deg) rotateY(360deg); } }
@keyframes parcel-bob { 0%, 100% { translate: 0 -6px; } 50% { translate: 0 6px; } }
.parcel__face {
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(160deg, #e7c9a6 0%, #d7b08a 55%, #c99e76 100%);
  box-shadow: inset 0 0 0 1px rgba(110, 70, 40, .18);
}
.parcel__face--front,
.parcel__face--back { width: var(--w); height: var(--h); }
.parcel__face--left,
.parcel__face--right { width: var(--dp); height: var(--h); left: calc((var(--w) - var(--dp)) / 2); }
.parcel__face--top,
.parcel__face--bottom { width: var(--w); height: var(--dp); top: calc((var(--h) - var(--dp)) / 2); }
.parcel__face--front { transform: translateZ(calc(var(--dp) / 2)); }
.parcel__face--back { transform: rotateY(180deg) translateZ(calc(var(--dp) / 2)); filter: brightness(.85); }
.parcel__face--right { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); filter: brightness(.9); }
.parcel__face--left { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); filter: brightness(.8); }
.parcel__face--top { transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); filter: brightness(1.08); }
.parcel__face--bottom { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); filter: brightness(.6); }
.tape { position: absolute; left: 50%; top: 0; bottom: 0; width: 34px; margin-left: -17px; background: rgba(255, 245, 230, .35); }
.tape--top { top: 0; bottom: 0; }
.parcel-shadow {
  position: absolute;
  left: -120px;
  top: -40px;
  width: 240px;
  height: 30px;
  border-radius: 50%;
  background: rgba(4, 6, 24, .45);
  filter: blur(12px);
  animation: shadow-pulse 5s ease-in-out infinite;
}
.float-chip {
  position: absolute;
  left: var(--x);
  top: calc(var(--y) - 120px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(250, 246, 240, .12);
  border: 1px solid rgba(250, 246, 240, .22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 14px;
  color: var(--ivory);
  animation: chip-float 6s ease-in-out var(--d) infinite;
}
.float-chip svg { width: 18px; height: 18px; fill: none; stroke: #DACCF0; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes chip-float { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(8px); } }

/* Hair loss: oral vs topical */
.xcard--compare {
  color: var(--ivory);
  background:
    radial-gradient(60% 70% at 50% 110%, rgba(95, 203, 200, .22) 0%, rgba(95, 203, 200, 0) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(250, 246, 240, .12);
  min-height: 0;
}
.compare { grid-column: 1 / -1; margin-top: 40px; display: flex; flex-direction: column; align-items: center; }
.seg--dark { margin-top: 0; background: rgba(250, 246, 240, .1); }
.seg--dark button { position: relative; z-index: 1; }
.seg--dark span { display: block; padding: 10px 28px; font-size: 15px; font-weight: 500; color: rgba(250, 246, 240, .65); transition: color .3s; }
.seg--dark button[aria-selected="true"] span { color: var(--charcoal); }
.seg--dark .seg__thumb { background: var(--ivory); }
.compare[data-active="topical"] .seg__thumb { transform: translateX(100%); }
.compare__body {
  margin-top: 32px;
  width: min(820px, 100%);
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 40px;
  padding: 32px;
  border-radius: 24px;
  background: rgba(250, 246, 240, .06);
  border: 1px solid rgba(250, 246, 240, .1);
}
.compare__visual { position: relative; height: 260px; }
.compare__visual::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 203, 200, .35) 0%, rgba(95, 203, 200, 0) 68%);
}
.compare__img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 220px;
  width: auto;
  filter: drop-shadow(0 26px 24px rgba(0, 0, 0, .4));
  opacity: 0;
  transform: translate(-50%, -40%) rotate(-8deg) scale(.9);
  transition: opacity .5s, transform .8s var(--ease-out);
}
.compare__img.is-active { opacity: 1; transform: translate(-50%, -50%) rotate(0) scale(1); }
.compare__body { position: relative; }
.compare__facts { grid-column: 2; grid-row: 1; display: none; flex-direction: column; gap: 10px; }
.compare__facts.is-active { display: flex; }
.compare__facts li {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(250, 246, 240, .07);
  border: 1px solid rgba(250, 246, 240, .1);
  font-size: var(--fs-body-sm);
  color: rgba(250, 246, 240, .78);
  animation: rise .6s var(--ease-out) both;
}
.compare__facts li:nth-child(2) { animation-delay: .08s; }
.compare__facts li:nth-child(3) { animation-delay: .16s; }
.compare__facts b { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--mint); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hand-phone { --s: 1.05; left: 50%; }
  .hiw { padding-bottom: 600px; }
  .xcard { grid-template-columns: 1fr; padding: 36px; }
  .xcard__btn { justify-self: start; margin-top: 24px; }
  .xcard--body { padding-bottom: 520px; }
  .xcard--discreet { padding-bottom: 440px; }
}
@media (max-width: 640px) {
  .hand-phone { --s: .82; bottom: -70px; }
  .hiw { padding-bottom: 470px; }
  .wm__cards--slider { grid-auto-columns: 82%; gap: 12px; }
  .xcard { margin-top: 40px; padding: 28px 20px; border-radius: 22px; }
  .xcard__btn { width: 100%; }
  .xcard--body { padding-bottom: 440px; min-height: 0; }
  .body-map { width: 480px; margin-left: -240px; bottom: -150px; }
  .hotspot__tip { width: 170px; font-size: 12.5px; padding: 12px; }
  .hotspot__tip b { font-size: 15px; }
  .xcard__caption { left: 20px; right: auto; }
  .xcard--discreet { padding-bottom: 380px; min-height: 0; }
  .parcel { --w: 160px; --h: 104px; --dp: 120px; }
  .float-chip { font-size: 12.5px; padding: 8px 12px; }
  .float-chip:nth-of-type(1) { left: -165px; top: -330px; }
  .float-chip:nth-of-type(2) { left: 10px; top: -370px; }
  .float-chip:nth-of-type(3) { left: 30px; top: -110px; }
  .float-chip:nth-of-type(4) { left: -170px; top: -90px; }
  .compare__body { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .compare__facts { grid-column: 1; grid-row: 2; }
  .compare__visual { height: 200px; }
  .compare__img { height: 170px; }
}

/* Photo blending needs a flat, opaque backdrop inside the phone's own layer */
.hiw { background: #F8F3EC; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hiw::before { display: none; }
.hp { background: #F8F3EC; }
.js .hiw .hand-phone { opacity: 1; }
.xcard__copy { max-width: 460px; }
.body-map { bottom: -110px; }
.body-map__glow { background: radial-gradient(circle, rgba(95, 203, 200, .22) 0%, rgba(95, 203, 200, 0) 65%); }
@media (max-width: 640px) { .body-map { bottom: -90px; } }
@media (max-width: 640px) {
  .hotspot[data-side] .hotspot__tip { left: 50%; right: auto; top: 30px; transform: translate(-50%, 6px); }
  .hotspot[data-side].is-active .hotspot__tip { transform: translate(-50%, 0); }
  .hotspot__tip::before { display: none; }
  .xcard--body .xcard__caption { display: none; }
}
.body-map__label { display: none; }
@media (max-width: 640px) {
  .hotspot__tip { display: none; }
  .body-map__label {
    display: block;
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 20px 40px -24px rgba(0, 26, 53, .45);
    font-size: 14px;
    line-height: 1.45;
    color: var(--ink-70);
  }
  .body-map__label b { display: block; margin-bottom: 2px; font-family: var(--f-head); font-weight: 400; font-size: 17px; color: var(--charcoal); }
  .xcard--discreet { padding-bottom: 470px; }
  .float-chip:nth-of-type(1) { left: -160px; top: -370px; }
  .float-chip:nth-of-type(2) { left: 0; top: -320px; }
  .float-chip:nth-of-type(3) { left: -5px; top: -95px; }
  .float-chip:nth-of-type(4) { left: -165px; top: -50px; }
}

/* ==========================================================================
   v4 tweaks
   ========================================================================== */

/* ---------- How-it-works card: copy top-left, steps top-right,
   phone centred, button bottom-right, caption bottom-left ---------- */
.hiw { min-height: 680px; grid-template-columns: 1fr 300px; }
.hiw__steps { grid-column: 2; grid-row: 1; margin-top: 4px; }
.hiw__btn { position: absolute; right: 44px; bottom: 40px; z-index: 3; }
.hiw__caption { left: 44px; right: auto; bottom: 46px; z-index: 3; }
.hand-phone { --s: .96; left: 50%; bottom: -84px; }

/* Scenes cross-fade (no slide) so the coloured background always fills the screen */
.hp .scene { inset: -1px; transform: none; transition: opacity .6s ease; }
.hp .scene.is-leaving { transform: none; }

/* ---------- Peptides body map: longer leader lines push callouts outward ---------- */
.hotspot[data-side="right"] .hotspot__tip { left: 78px; }
.hotspot[data-side="left"] .hotspot__tip { right: 78px; }
.hotspot__tip::before { width: 60px; }

/* ---------- Hair loss: centred intro, open middle for a photo, cards left & right ---------- */
.wm--split .wm__panel {
  background:
    linear-gradient(180deg, rgba(0, 16, 34, .25) 0%, rgba(0, 16, 34, 0) 30%, rgba(0, 16, 34, .45) 100%),
    var(--hl-photo, none) center / cover no-repeat,
    linear-gradient(180deg, #0A2642 0%, #001A35 50%, #00132A 100%);
}
.wm--split .wm__lineup { margin-top: 320px; }
.wm__cards--split { display: flex; justify-content: space-between; gap: 24px; }
.wm__cards--split .tx {
  width: min(340px, 40%);
  min-height: 400px;
  background: rgba(0, 18, 38, .45);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

/* ---------- Sexual health: bigger parcel, chips paired on each side ---------- */
.xcard--discreet { min-height: 720px; }
.parcel-stage { bottom: 84px; }
.parcel { --w: 280px; --h: 180px; --dp: 210px; top: calc(-150px - var(--h)); }
.parcel-glow { left: -280px; top: -560px; width: 560px; height: 560px; }
.parcel-shadow { left: -170px; width: 340px; height: 36px; }
.float-chip {
  left: auto;
  top: auto;
  gap: 12px;
  padding: 10px 20px 10px 10px;
  background: rgba(250, 246, 240, .1);
  border-color: rgba(250, 246, 240, .2);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .5);
  text-align: left;
}
.float-chip[data-side="left"]  { right: 230px; }
.float-chip[data-side="right"] { left: 230px; }
.float-chip[data-row="1"] { top: -366px; }
.float-chip[data-row="2"] { top: -236px; }
.float-chip__ic {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(218, 204, 240, .18);
  border: 1px solid rgba(218, 204, 240, .35);
}
.float-chip__ic svg { width: 18px; height: 18px; }
.float-chip b { display: block; font-size: 15px; font-weight: 500; }
.float-chip small { display: block; margin-top: 1px; font-size: 12.5px; color: rgba(250, 246, 240, .62); }
/* dashed leader line toward the parcel */
.float-chip::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 44px;
  border-top: 1px dashed rgba(218, 204, 240, .45);
}
.float-chip[data-side="left"]::after  { left: 100%; }
.float-chip[data-side="right"]::after { right: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hiw { grid-template-columns: 1fr; padding-bottom: 560px; }
  .hiw__btn { position: static; justify-self: start; margin-top: 24px; }
  .hand-phone { --s: .9; }
  .wm--split .wm__lineup { margin-top: 240px; }
  .xcard--discreet { padding-bottom: 520px; }
}
@media (max-width: 640px) {
  .hiw { padding-bottom: 420px; }
  .hiw__btn { width: 100%; }
  .hiw__caption { display: none; }
  .hand-phone { --s: .68; bottom: -60px; }
  .wm--split .wm__lineup { margin-top: 160px; }
  .wm__cards--split { flex-direction: column; gap: 12px; }
  .wm__cards--split .tx { width: 100%; min-height: 340px; }

  .xcard--discreet { padding-bottom: 400px; min-height: 0; }
  .parcel-stage { bottom: 150px; }
  .parcel { --w: 170px; --h: 110px; --dp: 130px; top: calc(-60px - var(--h)); }
  .parcel-glow { left: -180px; top: -300px; width: 360px; height: 360px; }
  .parcel-shadow { left: -100px; width: 200px; top: -40px; }
  .float-chip { width: 146px; padding: 8px 10px 8px 8px; gap: 8px; white-space: normal; }
  .float-chip small, .float-chip::after { display: none; }
  .float-chip b { font-size: 12.5px; line-height: 1.25; }
  .float-chip__ic { width: 28px; height: 28px; }
  .float-chip__ic svg { width: 14px; height: 14px; }
  .float-chip[data-side="left"]  { right: 4px; left: auto; }
  .float-chip[data-side="right"] { left: 4px; right: auto; }
  .float-chip[data-row="1"] { top: 6px; }
  .float-chip[data-row="2"] { top: 66px; }
}
/* Overscan the screen ~4% so scene colours tuck under the dark bezel on every edge */
.hp .phone__screen { left: 32.5%; top: 8.5%; border-radius: 40px; transform: rotate(.7deg) scale(calc(var(--s) * 1.045)); }
.hp .scene { padding: 52px 18px 34px 20px; }
.hp .phone__status { padding: 16px 24px 0 28px; }

/* ==========================================================================
   v5 tweaks
   ========================================================================== */

/* ---------- Phone: straighten the photo, bigger overscan, no status bar ---------- */
.hp { transform: rotate(-.75deg); }
.hp .phone__screen { left: 32.2%; top: 7.6%; border-radius: 34px; transform: rotate(.7deg) scale(calc(var(--s) * 1.065)); }
.hp .scene { padding-top: 46px; }

/* ---------- Hair loss: CTA sits after the cards, more breathing room ---------- */
.wm__cta--after { display: flex; justify-content: center; margin-top: 72px; }
.wm--split .wm__disclaimer { margin-top: 32px; }

/* ---------- Sexual health: tiles | parcel | tiles, in normal flow ---------- */
.xcard--discreet { min-height: 0; padding-bottom: 44px; }
.discreet-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 380px 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}
.discreet-row .parcel-stage {
  position: relative;
  left: auto;
  bottom: auto;
  width: 100%;
  height: 340px;
  perspective: 1000px;
}
.discreet-row .parcel { left: calc(50% - var(--w) / 2); top: calc(50% - var(--h) / 2 - 20px); }
.discreet-row .parcel-glow { left: 50%; top: 50%; width: 440px; height: 440px; margin: -220px 0 0 -220px; }
.discreet-row .parcel-shadow { left: 50%; top: auto; bottom: 30px; width: 300px; margin-left: -150px; }

.dtiles { display: grid; gap: 12px; }
.dtile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 14px;
  border-radius: 18px;
  background: rgba(250, 246, 240, .06);
  border: 1px solid rgba(250, 246, 240, .14);
  font-size: 16px;
  font-weight: 500;
  color: var(--ivory);
}
.dtile__ic {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(218, 204, 240, .14);
  border: 1px solid rgba(218, 204, 240, .3);
}
.dtile__ic svg { width: 20px; height: 20px; fill: none; stroke: #DACCF0; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1100px) {
  .xcard--discreet { padding-bottom: 36px; }
  .discreet-row { grid-template-columns: 1fr 300px 1fr; gap: 16px; }
  .dtile { font-size: 15px; padding: 12px 14px 12px 12px; }
}
@media (max-width: 960px) {
  .discreet-row { grid-template-columns: 1fr 1fr; }
  .discreet-row .parcel-stage { grid-column: 1 / -1; grid-row: 1; height: 280px; }
}
@media (max-width: 640px) {
  .xcard--discreet { padding-bottom: 20px; }
  .discreet-row { gap: 10px; margin-top: 20px; }
  .discreet-row .parcel-stage { height: 230px; }
  .discreet-row .parcel { --w: 170px; --h: 110px; --dp: 130px; }
  .discreet-row .parcel-glow { width: 320px; height: 320px; margin: -160px 0 0 -160px; }
  .discreet-row .parcel-shadow { width: 200px; margin-left: -100px; bottom: 22px; }
  .dtiles { gap: 10px; }
  .dtile { gap: 10px; padding: 10px; font-size: 13.5px; line-height: 1.25; border-radius: 14px; }
  .dtile__ic { width: 34px; height: 34px; border-radius: 10px; }
  .dtile__ic svg { width: 16px; height: 16px; }
  .wm__cta--after { margin-top: 40px; }
  .wm__cta--after .btn { width: 100%; }
}
.hp .scene { padding-bottom: 50px; }
@media (max-width: 640px) {
  .dtile { flex-direction: column; justify-content: center; text-align: center; gap: 8px; padding: 14px 8px; min-height: 104px; }
}

/* Real product photos are square with transparent padding: show them larger */
.tx__media img[src*="products/"] { height: 240px; margin: -24px 0 -18px; }
.sk__media img[src*="products/"] { height: 240px; margin: -24px 0 -18px; }
.mini__vial[src*="products/"] { height: 200px; right: 2px; bottom: -22px; }
.wm__vial[src*="products/"] { height: calc(var(--vial-h) * 1.12); }
.hp .ui-plan img { height: 78px; margin: -6px -8px -6px -10px; }
@media (max-width: 640px) {
  .tx__media img[src*="products/"],
  .sk__media img[src*="products/"] { height: 210px; }
  .mini__vial[src*="products/"] { height: 140px; right: -4px; bottom: -14px; }
}

/* ==========================================================================
   v6 tweaks
   ========================================================================== */

/* ---------- Treatment cards: breathing room between tag and product ---------- */
.tx__media img[src*="products/"],
.sk__media img[src*="products/"] { height: 220px; margin: 14px 0 -8px; }

/* ---------- Orbit stages: bigger product shots, overlapping pair ---------- */
.wm__vial[src*="products/"] { height: calc(var(--vial-h) * 1.38); }
.wm__vial--a[src*="products/"] { animation-name: pair-float-a; }
.wm__vial--b[src*="products/"] { animation-name: pair-float-b; }
@keyframes pair-float-a {
  0%, 100% { transform: translate(-74%, calc(-52% - 8px)) translateZ(-24px) rotate(-9deg); }
  50%      { transform: translate(-74%, calc(-52% + 8px)) translateZ(-24px) rotate(-6deg); }
}
@keyframes pair-float-b {
  0%, 100% { transform: translate(-27%, calc(-46% - 8px)) translateZ(24px) rotate(12deg); }
  50%      { transform: translate(-27%, calc(-46% + 8px)) translateZ(24px) rotate(15deg); }
}

/* ---------- Skincare: centred heading, portrait with light rays ---------- */
.sc__head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 0;
}
.sc__hero {
  position: relative;
  width: min(760px, 100%);
  height: 600px;
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.sc__rays {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 980px;
  height: 980px;
  margin: -490px 0 0 -490px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .75) 0deg .22deg, rgba(255, 255, 255, 0) .22deg 1.6deg);
  -webkit-mask-image: radial-gradient(circle, transparent 20%, #000 24%, #000 46%, transparent 68%);
          mask-image: radial-gradient(circle, transparent 20%, #000 24%, #000 46%, transparent 68%);
  animation: rays-turn 120s linear infinite;
  pointer-events: none;
}
@keyframes rays-turn { to { transform: rotate(360deg); } }
.sc__woman {
  position: relative;
  height: 640px;
  width: auto;
  max-width: none;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 98%);
          mask-image: linear-gradient(180deg, #000 72%, transparent 98%);
  filter: drop-shadow(0 30px 40px rgba(120, 80, 50, .12));
}
.sc__lineup { position: relative; z-index: 2; margin-top: 32px; }

@media (max-width: 1100px) {
  .sc__hero { height: 520px; }
  .sc__woman { height: 560px; }
  .sc__rays { width: 820px; height: 820px; margin: -410px 0 0 -410px; }
}
@media (max-width: 640px) {
  .h-section .line > span,
  .h-card .line > span { white-space: normal; }
  .sc__hero { height: 380px; overflow: hidden; }
  .sc__woman { height: 420px; }
  .sc__rays { width: 560px; height: 560px; margin: -280px 0 0 -280px; }
  .sc__lineup { margin-top: 24px; }
  .tx__media img[src*="products/"],
  .sk__media img[src*="products/"] { height: 200px; margin-top: 10px; }
}
/* The portrait has a white backdrop: multiply it into the panel so only the person shows */
.sc__hero { isolation: auto; margin-top: 36px; }
.sc__woman { mix-blend-mode: multiply; filter: none; }
.sc__rays { top: 42%; }
/* Soft sand halo between the rays and the portrait so rays fade out around her */
.sc__halo {
  position: absolute;
  left: 50%;
  bottom: -40px;
  width: 520px;
  height: 640px;
  margin-left: -260px;
  border-radius: 50% 50% 40% 40% / 45% 45% 30% 30%;
  background: radial-gradient(closest-side, #F0DAD0 62%, rgba(240, 218, 208, 0) 100%);
  pointer-events: none;
}
@media (max-width: 1100px) { .sc__halo { width: 460px; height: 560px; margin-left: -230px; } }
@media (max-width: 640px)  { .sc__halo { width: 320px; height: 420px; margin-left: -160px; bottom: -30px; } }
@media (max-width: 640px) {
  .sc__hero { height: 320px; overflow: visible; margin-top: 24px; }
  .sc__woman { height: 330px; }
  .sc__halo { width: 300px; height: 360px; margin-left: -150px; }
}

/* ==========================================================================
   v7: skincare portrait + overlapping cards, hair loss sky
   ========================================================================== */

/* ---------- Skincare ---------- */
.sc__head--center .h-section { position: relative; z-index: 3; }     /* rays stay behind the heading */
.sc__hero { width: 100%; height: 560px; z-index: 1; }
.sc__rays { z-index: 0; }
.sc__halo { z-index: 1; width: 860px; height: 600px; margin-left: -430px; bottom: -60px; border-radius: 50%; }
.sc__woman {
  z-index: 2;
  height: 620px;
  -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 96%);
          mask-image: linear-gradient(180deg, #000 58%, transparent 96%);
}
.sc__lineup { margin-top: -170px; z-index: 4; }

/* ---------- Hair loss: sky ---------- */
.wm--sky .wm__panel {
  background: linear-gradient(180deg, #4FA2AE 0%, #79BDC0 32%, #ACD5D3 64%, #DDEEEC 100%);
}
.wm--sky .wm__panel::before {
  background: radial-gradient(70% 40% at 50% 100%, rgba(255, 248, 236, .55) 0%, rgba(255, 248, 236, 0) 100%);
}
.wm--sky .wm__panel::after { display: none; }
.sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sky i {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0));
  filter: blur(14px);
  animation: cloud-drift 70s linear infinite alternate;
}
.sky i:nth-child(1) { width: 60%; height: 22%; left: -10%; top: 6%; }
.sky i:nth-child(2) { width: 45%; height: 16%; right: -6%; top: 16%; animation-duration: 90s; animation-direction: alternate-reverse; }
.sky i:nth-child(3) { width: 70%; height: 20%; left: 15%; top: 38%; opacity: .7; animation-duration: 110s; }
.sky i:nth-child(4) { width: 50%; height: 14%; left: -12%; top: 58%; opacity: .6; animation-duration: 80s; animation-direction: alternate-reverse; }
@keyframes cloud-drift { from { transform: translateX(-6%); } to { transform: translateX(8%); } }

.wm--sky .wm__eyebrow { color: #fff; }
.wm--sky .h-section--light { color: #fff; text-shadow: 0 2px 30px rgba(30, 70, 90, .25); }
.wm--sky .h-section--light em { color: #fff; }

.hl-hero {
  position: relative;
  width: 100%;
  height: 560px;
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hl-figure { position: relative; height: 620px; aspect-ratio: 1672 / 941; flex-shrink: 0; }
.hl-woman {
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 96%);
          mask-image: linear-gradient(180deg, #000 60%, transparent 96%);
}
.hair-dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 2px rgba(255, 255, 255, .95), 0 0 18px 5px rgba(200, 235, 255, .6);
  opacity: .15;
  animation: hair-twinkle 3.4s ease-in-out var(--d) infinite;
}
@keyframes hair-twinkle {
  0%, 100% { opacity: .1; transform: scale(.5); }
  45%, 55% { opacity: 1; transform: scale(1.25); }
}

.wm--sky .wm__lineup { position: relative; z-index: 2; margin-top: -300px; }
.wm--sky .wm__cards--split .tx {
  background: rgba(255, 255, 255, .5);
  border-color: rgba(255, 255, 255, .75);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.wm--sky .tx::before { background: radial-gradient(circle, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, 0) 68%); }
.wm--sky .tx:hover { border-color: #fff; }
.wm--sky .tx__tag { background: rgba(3, 68, 94, .1); border-color: rgba(3, 68, 94, .18); color: var(--teal); }
.wm--sky .tx__name { color: var(--charcoal); }
.wm--sky .tx__meta { color: var(--ink-70); }
.wm--sky .tx__link { color: var(--teal); border-top-color: rgba(0, 26, 53, .1); }
.wm--sky .wm__disclaimer { color: var(--ink-70); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sc__hero { height: 480px; }
  .sc__woman { height: 520px; }
  .sc__lineup { margin-top: -120px; }
  .hl-hero { height: 460px; }
  .hl-figure { height: 520px; }
  .wm--sky .wm__lineup { margin-top: -200px; }
}
@media (max-width: 640px) {
  .sc__hero { height: 270px; overflow: hidden; }
  .sc__woman { height: 300px; }
  .sc__halo { width: 360px; height: 300px; margin-left: -180px; }
  .sc__lineup { margin-top: -50px; }
  .hl-hero { height: 250px; overflow: hidden; margin-top: 8px; }
  .hl-figure { height: 280px; }
  .hair-dot { width: 4px; height: 4px; margin: -2px 0 0 -2px; }
  .wm--sky .wm__lineup { margin-top: -30px; }
}
.hl-hero { margin-top: 56px; }
.wm--sky .h-section { position: relative; z-index: 3; }
@media (max-width: 640px) { .hl-hero { margin-top: 24px; } }

/* ==========================================================================
   v8: true-colour portraits, sparkle hair, WM portrait, sexual health photo
   ========================================================================== */

/* Portraits are transparent cut-outs: no blending, only a soft bottom fade */
.sc__woman, .hl-woman { mix-blend-mode: normal; }
.sc__halo { display: none; }
.sc__hero { margin-top: 48px; }

/* ---------- Hair loss: sparkles along the cornrows ---------- */
.hair-dot {
  width: 3.5px;
  height: 3.5px;
  margin: -1.75px 0 0 -1.75px;
  background: #fff;
  box-shadow: 0 0 3px 1px rgba(255, 255, 255, .95), 0 0 9px 2px rgba(210, 238, 255, .55);
  opacity: .55;
  animation: hair-sparkle 3.6s ease-in-out var(--d) infinite;
}
@keyframes hair-sparkle {
  0%, 100% { opacity: .45; transform: scale(.8); }
  10%      { opacity: 1;   transform: scale(1.5); }
  24%      { opacity: .6;  transform: scale(.95); }
}

/* ---------- Weight management portrait ---------- */
.wm-hero {
  position: relative;
  width: 100%;
  height: 560px;
  margin-top: 48px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.wm-hero__glow {
  position: absolute;
  left: 50%;
  bottom: 40px;
  width: 760px;
  height: 520px;
  margin-left: -380px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(95, 203, 200, .35), rgba(95, 203, 200, 0));
  filter: blur(10px);
}
.wm-hero__woman {
  position: relative;
  height: 600px;
  width: auto;
  max-width: none;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 97%);
          mask-image: linear-gradient(180deg, #000 62%, transparent 97%);
}
#weight-management .wm__lede { margin-top: 8px; }

/* ---------- Peptides: one NAD+ vial, centred ---------- */
.wm--single .wm__vial--a[src*="products/"] { animation-name: single-float; }
@keyframes single-float {
  0%, 100% { transform: translate(-50%, calc(-50% - 8px)) rotate(-4deg); }
  50%      { transform: translate(-50%, calc(-50% + 8px)) rotate(3deg); }
}

/* ---------- Sexual health: photo backdrop ---------- */
.wm--photo .wm__panel { padding-top: 64px; background: linear-gradient(180deg, #1C2459 0%, #1C2459 45%, #121842 100%); }
.wm--photo .wm__panel::before { display: none; }
.sh-bg { position: absolute; left: 0; right: 0; top: 0; z-index: -1; }
.sh-bg img { display: block; width: 100%; height: auto; }
.sh-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(6, 9, 32, .62) 0%, rgba(6, 9, 32, .28) 45%, rgba(6, 9, 32, .12) 100%),
    linear-gradient(180deg, rgba(28, 36, 89, 0) 52%, #1C2459 97%);
}
.sh-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.wm__eyebrow--left { margin-bottom: 16px; }
.wm__eyebrow--left::before { display: none; }
.wm--photo .h-section--light { text-shadow: 0 2px 30px rgba(2, 4, 18, .35); }
.sh-head__btn { flex-shrink: 0; margin-top: 6px; }
.wm--photo .wm__lineup { margin-top: 400px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .wm-hero { height: 480px; }
  .wm-hero__woman { height: 520px; }
  .wm--photo .wm__lineup { margin-top: 300px; }
}
@media (max-width: 640px) {
  .sc__hero { margin-top: 28px; }
  .wm-hero { height: 290px; margin-top: 28px; overflow: hidden; }
  .wm-hero__woman { height: 310px; }
  .wm-hero__glow { width: 360px; height: 280px; margin-left: -180px; }
  .hair-dot { width: 2.5px; height: 2.5px; margin: -1.25px 0 0 -1.25px; }
  .wm--photo .wm__panel { padding-top: 40px; }
  .sh-head { flex-direction: column; gap: 20px; }
  .sh-head__btn { width: 100%; }
  .wm--photo .wm__lineup { margin-top: 80px; }
}
/* Fade the whole photo block (image + darkening) so there is no seam */
.sh-bg {
  -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 98%);
          mask-image: linear-gradient(180deg, #000 50%, transparent 98%);
}
.sh-bg::after { background: linear-gradient(100deg, rgba(6, 9, 32, .62) 0%, rgba(6, 9, 32, .28) 45%, rgba(6, 9, 32, .12) 100%); }
@media (max-width: 640px) {
  .sh-bg img { height: 380px; object-fit: cover; object-position: 62% top; }
  .wm--photo .wm__panel { padding-top: 250px; }
  .wm--photo .wm__lineup { margin-top: 56px; }
}

/* ---------- Weight management: rays behind the portrait, cards overlap it ---------- */
.wm-hero__rays {
  top: 44%;
  background: repeating-conic-gradient(from 0deg, rgba(250, 246, 240, .38) 0deg .22deg, rgba(250, 246, 240, 0) .22deg 1.6deg);
}
.wm-hero__glow, .wm-hero__woman { z-index: 1; }
#weight-management .wm__lineup { position: relative; z-index: 2; margin-top: -170px; }
@media (max-width: 1100px) { #weight-management .wm__lineup { margin-top: -120px; } }
@media (max-width: 640px) {
  .wm-hero__rays { width: 560px; height: 560px; margin: -280px 0 0 -280px; }
  #weight-management .wm__lineup { margin-top: -40px; }
}
#weight-management .tx {
  background: linear-gradient(165deg, rgba(10, 93, 124, .72) 0%, rgba(2, 48, 72, .82) 100%);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

/* ==========================================================================
   v9: mobile polish
   ========================================================================== */
@media (max-width: 640px) {
  /* Main section titles +2px */
  .h-section { font-size: clamp(28px, 8.3vw, 42px); }

  /* Portraits: full width, never cropped; rays free to extend */
  .sc__hero, .wm-hero, .hl-hero {
    height: auto;
    overflow: visible;
    margin-left: -18px;
    margin-right: -18px;
    width: calc(100% + 36px);
  }
  .sc__woman, .wm-hero__woman, .hl-figure {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
  .hl-figure .hl-woman { display: block; }
  .sc__rays, .wm-hero__rays { width: 520px; height: 520px; margin: -260px 0 0 -260px; top: 48%; }
  .sc__lineup, #weight-management .wm__lineup, .wm--sky .wm__lineup { margin-top: 12px; }

  /* Hero category cards: stronger top shade for the title */
  .cat::after {
    background:
      radial-gradient(160% 75% at 0% 0%, rgba(0, 20, 40, .78) 0%, rgba(0, 20, 40, .45) 38%, rgba(0, 20, 40, 0) 72%),
      linear-gradient(180deg, rgba(0, 20, 40, .35) 0%, rgba(0, 20, 40, 0) 40%),
      linear-gradient(0deg, rgba(0, 20, 40, .3) 0%, rgba(0, 20, 40, 0) 32%);
  }

  /* "More ways we can help": title on top, product tucked bottom-right */
  .mini { height: 176px; padding: 14px 14px 0; flex-direction: column; }
  .mini__title { position: relative; z-index: 2; max-width: 100%; font-size: 17px; line-height: 1.15; }
  .mini__vial[src*="products/"] { height: 118px; right: -6px; bottom: -16px; z-index: 1; }
}
@media (max-width: 640px) {
  .h-section { letter-spacing: -.05em; }
  .wm__panel, .sc__panel { padding-left: 14px; padding-right: 14px; }
  .sc__hero, .wm-hero, .hl-hero { margin-left: -14px; margin-right: -14px; width: calc(100% + 28px); }
}
@media (max-width: 640px) {
  /* scale past the transparent side margins so the person fills the width */
  .sc__hero, .wm-hero, .hl-hero { justify-content: center; }
  .wm-hero__woman { width: 118%; max-width: none; margin: 0 -9%; }
  .sc__woman      { width: 138%; max-width: none; margin: 0 -19%; }
  .hl-figure      { width: 150%; max-width: none; margin: 0 -25%; }
}

/* ---------- Hair sparkles: hidden by default, each glints briefly at a random moment ---------- */
.hair-dot { opacity: 0; animation: hair-glint var(--dur, 6s) ease-in-out var(--d) infinite; }
@keyframes hair-glint {
  0%, 100% { opacity: 0; transform: scale(.4); }
  6%       { opacity: 1; transform: scale(1.5); }
  14%      { opacity: .7; transform: scale(1); }
  22%      { opacity: 0; transform: scale(.5); }
}

/* ---------- "More ways we can help": smaller product, sitting a little lower (desktop) ---------- */
@media (min-width: 641px) {
  .mini__vial[src*="products/"] { height: 172px; right: 8px; bottom: -34px; }
}
@keyframes hair-glint {
  0%, 100% { opacity: 0; transform: scale(.4); }
  4%       { opacity: 1; transform: scale(1.6); }
  8%       { opacity: .6; transform: scale(1); }
  12%      { opacity: 0; transform: scale(.5); }
}

/* ==========================================================================
   v10: treatment chooser + consistent button hover
   ========================================================================== */

/* ---------- Buttons: every variant gets the hero's slide-fill hover ---------- */
.btn:has(.btn__icon) { padding-right: 8px; }
.btn:not(.btn--primary)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--btn-fill, var(--teal));
  transform: translateY(101%);
  transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -16px rgba(0, 14, 30, .45); }
.btn:hover .btn__icon svg { animation: arrow-loop .6s var(--ease-out); }
.btn__icon { transition: background-color .35s, color .35s; }

.btn--light { --btn-fill: var(--teal); }
.btn--light:hover { background: var(--ivory); color: var(--ivory); }
.btn--light .btn__icon { background: var(--teal); color: var(--ivory); }
.btn--light:hover .btn__icon { background: var(--ivory); color: var(--teal); }

.btn--dark { --btn-fill: var(--teal); }
.btn--dark:hover { background: var(--charcoal); color: var(--ivory); }
.btn--dark .btn__icon { background: var(--ivory); color: var(--charcoal); }
.btn--dark:hover .btn__icon { color: var(--teal); }

.btn--ghost { --btn-fill: var(--charcoal); }
.btn--ghost:hover { background: transparent; color: var(--ivory); border-color: var(--charcoal); }
.btn--ghost .btn__icon { background: var(--charcoal); color: var(--ivory); }
.btn--ghost:hover .btn__icon { background: var(--ivory); color: var(--charcoal); }

.btn--outline-light { --btn-fill: var(--ivory); }
.btn--outline-light:hover { background: transparent; color: var(--charcoal); border-color: var(--ivory); }
.btn--outline-light .btn__icon { background: var(--ivory); color: var(--teal); }
.btn--outline-light:hover .btn__icon { background: var(--teal); color: var(--ivory); }

/* ---------- Treatment chooser ---------- */
html.goals-open { overflow: hidden; }
.goals {
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--ivory);
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(10, 93, 124, .9) 0%, rgba(10, 93, 124, 0) 70%),
    radial-gradient(50% 40% at 85% 100%, rgba(95, 203, 200, .12) 0%, rgba(95, 203, 200, 0) 70%),
    #00172F;
  opacity: 0;
  transition: opacity .45s ease;
}
.goals.is-open { opacity: 1; }
.goals[hidden] { display: none; }
.goals__bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  padding: 0 var(--gutter);
  background: linear-gradient(180deg, #00172F 60%, rgba(0, 23, 47, 0));
}
.goals__close {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250, 246, 240, .2);
  color: var(--ivory);
  transition: background-color .3s, transform .5s var(--ease-out);
}
.goals__close:hover { background: rgba(250, 246, 240, .1); transform: rotate(90deg); }
.goals__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.goals__body { max-width: 660px; margin: 0 auto; padding: 32px var(--gutter) 64px; text-align: center; }
.goals__kicker { font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.goals__title {
  margin-top: 14px;
  font-family: var(--f-head);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.goals__title em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 1.08em;
  letter-spacing: -.01em;
  color: var(--mint);
}
.goals__lede { margin: 16px auto 0; max-width: 480px; color: rgba(250, 246, 240, .72); }

.goals__list { display: grid; gap: 12px; margin-top: 36px; text-align: left; }
.goal {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 10px 14px 10px 10px;
  border-radius: 20px;
  background: rgba(250, 246, 240, .05);
  border: 1px solid rgba(250, 246, 240, .12);
  transition: background-color .35s, border-color .35s, transform .5s var(--ease-out);
}
.goal:hover, .goal:focus-visible { background: rgba(250, 246, 240, .1); border-color: rgba(95, 203, 200, .55); transform: translateX(4px); }
.goal__thumb { width: 88px; height: 88px; border-radius: 14px; overflow: hidden; }
.goal__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .8s var(--ease-out); }
.goal:hover .goal__thumb img { transform: scale(1.08); }
.goal__thumb--teal { background: radial-gradient(circle at 50% 30%, #0E8FA0, #03445E); }
.goal__thumb--sand { background: radial-gradient(circle at 50% 30%, #f6e8da, #e3cdb7); }
.goal__thumb--sky  { background: linear-gradient(180deg, #4FA2AE, #ACD5D3); }
.goal__thumb--teal img, .goal__thumb--sand img, .goal__thumb--sky img { object-fit: cover; transform-origin: 50% 0; }
.goal__text b { display: block; font-family: var(--f-head); font-weight: 400; font-size: 22px; letter-spacing: -.02em; }
.goal__text small { display: block; margin-top: 3px; font-size: 15px; color: rgba(250, 246, 240, .65); }
.goal__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250, 246, 240, .2);
  transition: background-color .35s, border-color .35s, color .35s;
}
.goal__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.goal:hover .goal__arrow { background: var(--coral); border-color: var(--coral); color: var(--white); }
.goals__note { margin-top: 28px; font-size: 13px; color: rgba(250, 246, 240, .5); text-align: center; }

/* entrance */
.goals .goals__kicker, .goals .goals__title, .goals .goals__lede, .goals__list li {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease-out), transform .8s var(--ease-out);
}
.goals.is-open .goals__kicker, .goals.is-open .goals__title, .goals.is-open .goals__lede, .goals.is-open .goals__list li { opacity: 1; transform: none; }
.goals.is-open .goals__title { transition-delay: .05s; }
.goals.is-open .goals__lede { transition-delay: .1s; }
.goals.is-open .goals__list li:nth-child(1) { transition-delay: .15s; }
.goals.is-open .goals__list li:nth-child(2) { transition-delay: .2s; }
.goals.is-open .goals__list li:nth-child(3) { transition-delay: .25s; }
.goals.is-open .goals__list li:nth-child(4) { transition-delay: .3s; }
.goals.is-open .goals__list li:nth-child(5) { transition-delay: .35s; }

@media (max-width: 640px) {
  .goals__bar { height: 64px; }
  .goals__body { padding-top: 16px; }
  .goal { grid-template-columns: 68px 1fr auto; gap: 14px; padding: 8px 10px 8px 8px; border-radius: 16px; }
  .goal__thumb { width: 68px; height: 68px; border-radius: 12px; }
  .goal__text b { font-size: 18px; }
  .goal__text small { font-size: 13.5px; }
  .goal__arrow { width: 38px; height: 38px; }
}
.goals:focus { outline: none; }
.goals__title { text-wrap: balance; }

/* ==========================================================================
   FutureNowRx build
   Section rhythm, top to bottom:
     hero (cream) → Weight Management (deep teal, dark) → Sexual Health (warm sand, light)
     → Hair Loss (midnight navy, dark) → Skincare (blush, light) → FAQ (cream) → CTA (dark)
   ========================================================================== */

/* ---------- Logo lockup in dark surfaces ---------- */
.footer .logo__img { height: 34px; }
.goals__bar .logo__img { height: 28px; }
.footer__tagline { font-size: clamp(30px, 3vw, 44px); line-height: 1.08; text-wrap: balance; }
.hero__trust { flex-wrap: wrap; row-gap: 8px; }

/* ==========================================================================
   Hero: category cards (solid colour, vial on the right)
   ========================================================================== */
.hcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hcard {
  --hc-ink: var(--charcoal);
  --hc-sub: rgba(0, 26, 53, .72);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 400px;
  padding: 38px 36px 32px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  color: var(--hc-ink);
  background: var(--hc-bg);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
/* soft studio light from the top right */
.hcard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(75% 65% at 88% 12%, rgba(255, 255, 255, .24) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(90% 60% at 0% 100%, rgba(0, 26, 53, .08) 0%, rgba(0, 26, 53, 0) 70%);
}
.hcard--wm   { --hc-bg: #0A646E; --hc-ink: #fff; --hc-sub: rgba(255, 255, 255, .8); --hc-glow: rgba(95, 203, 200, .5); }
.hcard--hair { --hc-bg: #E7BAAA; --hc-glow: rgba(255, 238, 226, .85); }
.hcard--sh   { --hc-bg: #BBD8D6; --hc-glow: rgba(255, 255, 255, .75); }

.hcard__text { position: relative; z-index: 2; display: flex; flex-direction: column; max-width: 50%; }
.hcard__title {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: clamp(26px, 2.3vw, 34px);
  line-height: 1.04;
  letter-spacing: -.04em;
}
.hcard__sub { margin-top: 12px; font-size: 16.5px; line-height: 1.4; color: var(--hc-sub); }
.hcard__cta {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hcard__cta i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: grid;
  place-items: center;
  transition: background-color .4s, color .4s;
}
.hcard__cta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-out); }
.hcard__glow {
  position: absolute;
  z-index: -1;
  right: -12%;
  bottom: -18%;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--hc-glow) 0%, rgba(255, 255, 255, 0) 64%);
}
.hcard__vial {
  position: absolute;
  z-index: 1;
  right: -10%;
  bottom: -8%;
  height: 80%;
  width: auto;
  max-width: none;
  filter: drop-shadow(0 30px 28px rgba(0, 26, 53, .26));
  transform: rotate(-5deg);
  transform-origin: 50% 100%;
  transition: transform 1s var(--ease-out);
}
.hcard:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(0, 26, 53, .5); }
.hcard:hover .hcard__vial { transform: rotate(0deg) translateY(-14px); }
.hcard:hover .hcard__cta i { background: var(--hc-ink); color: var(--hc-bg); }
.hcard:hover .hcard__cta svg { transform: translateX(2px); }

/* text and vial arrive after the card reveal */
.js .hcards .hcard__text,
.js .hcards .hcard__cta { opacity: 0; transform: translateY(12px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.js .hcards.is-in .hcard__text { opacity: 1; transform: none; transition-delay: calc(var(--i) * .1s + .45s); }
.js .hcards.is-in .hcard__cta { opacity: 1; transform: none; transition-delay: calc(var(--i) * .1s + .6s); }
.js .hcards .hcard__vial { opacity: 0; translate: 0 40px; transition: opacity 1s var(--ease-out), translate 1.2s var(--ease-out), transform 1s var(--ease-out); }
.js .hcards.is-in .hcard__vial { opacity: 1; translate: 0 0; transition-delay: calc(var(--i) * .1s + .3s), calc(var(--i) * .1s + .3s), 0s; }

/* ---------- "Start with a specific concern": text left, product, arrow ---------- */
.minis .mini {
  height: 150px;
  padding: 0 20px 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 36px;
  align-items: center;
  gap: 4px;
}
.mini__text { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.minis .mini__title { max-width: none; font-size: 21px; line-height: 1.1; }
.mini__sub { font-size: 14px; line-height: 1.3; color: var(--ink-70); }
.minis .mini__vial {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 1;
  height: 150px;
  margin: 0 -22px -30px -14px;
  align-self: end;
  transform: rotate(6deg);
}
.mini__arrow {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 26, 53, .5);
  display: grid;
  place-items: center;
  color: var(--charcoal);
  transition: background-color .4s, color .4s, border-color .4s;
}
.mini__arrow svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-out); }
.mini:hover .mini__arrow { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.mini:hover .mini__arrow svg { transform: translateX(2px); }
.minis .mini:hover .mini__vial { transform: rotate(0deg) translateY(-10px); }

@media (max-width: 960px) {
  .hcards {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78%, 360px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .hcards::-webkit-scrollbar { display: none; }
  .hcard { scroll-snap-align: start; height: 380px; }
}
@media (max-width: 640px) {
  .hcards { grid-auto-columns: 84%; }
  .hcard { height: 360px; padding: 28px 24px 24px; border-radius: 22px; }
  .hcard__text { max-width: 60%; }
  .hcard__sub { font-size: 15px; }
  .hcard__vial { height: 62%; right: -14%; bottom: -6%; }
  .more__head { gap: 16px; align-items: flex-end; }
  .more__head .link-arrow { white-space: nowrap; }

  .minis .mini {
    height: 190px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .minis .mini__title { font-size: 17px; }
  .mini__sub { font-size: 12.5px; max-width: 92%; }
  .minis .mini__vial { position: absolute; right: -16px; bottom: -18px; height: 112px; margin: 0; }
  .mini__arrow { margin-top: auto; width: 32px; height: 32px; }
}

/* ==========================================================================
   Weight Management: deep teal (matches the first hero card)
   ========================================================================== */
#weight-management .wm__panel { background: linear-gradient(180deg, #0A646E 0%, #08525C 48%, #043945 100%); }
#weight-management .tx { background: linear-gradient(165deg, rgba(22, 132, 142, .55) 0%, rgba(4, 57, 69, .85) 100%); }
.bmi-card {
  background:
    radial-gradient(55% 75% at 50% 112%, rgba(95, 203, 200, .5) 0%, rgba(95, 203, 200, .16) 45%, rgba(95, 203, 200, 0) 75%),
    radial-gradient(40% 50% at 100% 0%, rgba(255, 242, 222, .14) 0%, rgba(255, 242, 222, 0) 100%),
    linear-gradient(180deg, #12757F 0%, #0B5D67 100%);
}

/* ==========================================================================
   Sexual Health: warm sand (light), taken from the photo's own tones
   ========================================================================== */
.wm--sand .wm__panel { color: var(--charcoal); background: linear-gradient(180deg, #E4D6C6 0%, #ECE1D4 42%, #F3ECE2 100%); }
.wm--sand .wm__panel::before { background: radial-gradient(45% 35% at 88% 0%, rgba(255, 250, 240, .55) 0%, rgba(255, 250, 240, 0) 100%); }
.wm--sand .wm__panel::after { display: none; }
.wm--sand .sh-bg::after { background: linear-gradient(100deg, rgba(238, 229, 217, .86) 0%, rgba(238, 229, 217, .45) 34%, rgba(238, 229, 217, 0) 58%); }
.wm--sand .wm__eyebrow { color: #8A6430; }
.wm--sand .h-section { color: var(--charcoal); text-shadow: none; }
.wm--sand .h-section em { color: #9C7034; }
.wm--sand .wm__label { color: var(--charcoal); }
.wm--sand .tx {
  background: rgba(255, 255, 255, .55);
  border-color: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
.wm--sand .tx::before { background: radial-gradient(circle, rgba(209, 169, 107, .3) 0%, rgba(209, 169, 107, 0) 68%); }
.wm--sand .tx:hover { border-color: #fff; }
.wm--sand .tx__tag { background: rgba(209, 169, 107, .16); border-color: rgba(209, 169, 107, .42); color: #7A5524; }
.wm--sand .tx__name { color: var(--charcoal); }
.wm--sand .tx__meta { color: var(--ink-70); }
.wm--sand .tx__link { color: var(--charcoal); border-top-color: rgba(0, 26, 53, .1); }
.wm--sand .tx__media img { filter: drop-shadow(0 22px 20px rgba(90, 60, 20, .2)); }
.wm--sand .wm__disclaimer { color: var(--ink-70); }

/* ==========================================================================
   Hair Loss: midnight navy (dark), gold sparkles in the hair
   ========================================================================== */
.wm--night .wm__panel {
  color: var(--ivory);
  background:
    radial-gradient(60% 40% at 50% 30%, rgba(17, 168, 174, .26) 0%, rgba(17, 168, 174, 0) 70%),
    linear-gradient(180deg, #0A2847 0%, #001A35 52%, #00132A 100%);
}
.wm--night .wm__panel::before { background: radial-gradient(40% 30% at 82% 0%, rgba(226, 196, 142, .16) 0%, rgba(226, 196, 142, 0) 100%); }
.wm--night .sky i { background: radial-gradient(closest-side, rgba(95, 203, 200, .16), rgba(95, 203, 200, 0)); }
.wm--night .wm__eyebrow { color: var(--gold); }
.wm--night .h-section--light { color: var(--ivory); text-shadow: none; }
.wm--night .h-section--light em { color: #E2C48E; }
.wm--night .hl-figure { isolation: isolate; }
.wm--night .hl-figure::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 28%;
  top: 4%;
  width: 44%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 168, 174, .32) 0%, rgba(17, 168, 174, 0) 65%);
  filter: blur(12px);
}
.wm--night .hair-dot { background: #FFF4DE; box-shadow: 0 0 4px 1px rgba(255, 236, 200, .95), 0 0 12px 3px rgba(226, 196, 142, .6); }
.wm--night .wm__cards--split .tx {
  background: linear-gradient(165deg, rgba(250, 246, 240, .11) 0%, rgba(250, 246, 240, .04) 100%);
  border-color: rgba(250, 246, 240, .14);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.wm--night .tx::before { background: radial-gradient(circle, rgba(95, 203, 200, .3) 0%, rgba(95, 203, 200, 0) 68%); }
.wm--night .tx:hover { border-color: rgba(95, 203, 200, .45); }
.wm--night .tx__tag { background: rgba(95, 203, 200, .14); border-color: rgba(95, 203, 200, .35); color: var(--mint); }
.wm--night .tx__name { color: var(--ivory); }
.wm--night .tx__meta { color: rgba(250, 246, 240, .66); }
.wm--night .tx__link { color: var(--mint); border-top-color: rgba(250, 246, 240, .12); }
.wm--night .wm__disclaimer { color: rgba(250, 246, 240, .6); }

/* privacy card: dark glass on the navy panel */
.wm--night .xcard--discreet {
  position: relative;
  z-index: 2;
  background:
    radial-gradient(55% 70% at 50% 110%, rgba(95, 203, 200, .24) 0%, rgba(95, 203, 200, 0) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border-color: rgba(250, 246, 240, .12);
}
.wm--night .xcard--discreet .h-card em { color: #E2C48E; }
.wm--night .parcel-glow { background: radial-gradient(circle, rgba(95, 203, 200, .32) 0%, rgba(95, 203, 200, 0) 65%); }
.wm--night .dtile__ic { background: rgba(95, 203, 200, .14); border-color: rgba(95, 203, 200, .3); }
.wm--night .dtile__ic svg { stroke: var(--mint); }

/* ==========================================================================
   How it works (in Sexual Health): dark card, 3D phone, story bars, toasts
   ========================================================================== */
.hiw--dark {
  min-height: 860px;
  color: var(--ivory);
  background:
    radial-gradient(55% 55% at 50% 100%, rgba(17, 168, 174, .34) 0%, rgba(17, 168, 174, 0) 70%),
    radial-gradient(40% 40% at 100% 0%, rgba(209, 169, 107, .14) 0%, rgba(209, 169, 107, 0) 70%),
    linear-gradient(180deg, #0A2642 0%, #001A35 100%);
  border: 1px solid rgba(250, 246, 240, .08);
  box-shadow: 0 50px 90px -50px rgba(0, 26, 53, .75);
}
.hiw--dark .h-card { color: var(--ivory); }
.hiw--dark .h-card em { color: var(--mint); }
.hiw--dark .hiw__copy > p { color: rgba(250, 246, 240, .72); }
.hiw--dark .hiw__steps li { padding: 11px 0; color: rgba(250, 246, 240, .45); border-top-color: rgba(250, 246, 240, .12); }
.hiw--dark .hiw__steps li.is-active { color: var(--ivory); }
.hiw--dark .hiw__steps li i { background: var(--mint); }
.hiw--dark .hiw__caption { color: rgba(250, 246, 240, .4); }

.dphone-stage {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 56px;
  width: 290px;
  height: 600px;
  margin-left: -145px;
  perspective: 1400px;
}
.dphone-glow {
  position: absolute;
  left: 50%;
  top: 4%;
  width: 560px;
  height: 560px;
  margin-left: -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 168, 174, .42) 0%, rgba(17, 168, 174, 0) 62%);
  filter: blur(8px);
}
.dphone {
  position: absolute;
  inset: 0;
  padding: 11px;
  border-radius: 50px;
  background: linear-gradient(145deg, #34424f 0%, #0d151e 42%, #222e3a 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .18),
    inset 0 0 0 6px #05090d,
    0 70px 90px -40px rgba(0, 0, 0, .7);
  transform: rotateY(-14deg) rotateX(6deg) rotateZ(-2deg);
  animation: dphone-sway 10s ease-in-out infinite;
}
@keyframes dphone-sway {
  0%, 100% { transform: rotateY(-14deg) rotateX(6deg) rotateZ(-2deg) translateY(0); }
  50%      { transform: rotateY(-5deg) rotateX(3deg) rotateZ(-.5deg) translateY(-14px); }
}
.dphone__key { position: absolute; width: 3px; border-radius: 2px; background: #1b2632; }
.dphone__key--a { left: -3px; top: 118px; height: 30px; }
.dphone__key--b { left: -3px; top: 162px; height: 54px; }
.dphone__key--c { right: -3px; top: 150px; height: 80px; }

.dphone .phone__screen {
  position: relative;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  background: #001A35;
  color: var(--charcoal);
}
.dphone__island { position: absolute; z-index: 5; top: 10px; left: 50%; width: 86px; height: 25px; margin-left: -43px; border-radius: 14px; background: #000; }
.dphone__status {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 26px 0 30px;
  font-size: 11.5px;
  color: var(--ivory);
  transition: color .5s;
}
.dphone__status b { font-weight: 600; }
.dphone__icons { display: flex; gap: 3px; }
.dphone__icons i { width: 13px; height: 7px; border-radius: 2px; background: currentColor; opacity: .85; }
.dphone__icons i:first-child { width: 10px; opacity: .5; }

/* story-style progress, one bar per step */
.dphone__stories { position: absolute; z-index: 4; top: 46px; left: 16px; right: 16px; display: flex; gap: 4px; }
.dphone__stories i { flex: 1; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(250, 246, 240, .22); transition: background-color .5s; }
.dphone__stories b { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--ivory); transition: background-color .5s; }
.dphone__stories i.is-done b { width: 100%; }
.dphone__stories i.is-active b { animation: step-fill var(--scene-dur, 4.2s) linear forwards; }
/* light scenes (plan, delivery) flip the chrome to navy */
.dphone .phone__screen:is([data-active="2"], [data-active="4"]) .dphone__status { color: var(--charcoal); }
.dphone .phone__screen:is([data-active="2"], [data-active="4"]) .dphone__stories i { background: rgba(0, 26, 53, .12); }
.dphone .phone__screen:is([data-active="2"], [data-active="4"]) .dphone__stories b { background: var(--charcoal); }

/* scenes: rise in, lift out */
.dphone .scene {
  inset: 0;
  padding: 62px 18px 26px;
  transform: translateY(24px) scale(.97);
  transition: opacity .6s ease, transform .9s var(--ease-out);
}
.dphone .scene.is-active { transform: none; }
.dphone .scene.is-leaving { opacity: 0; transform: translateY(-20px) scale(.97); }

/* 4 dark scenes, 2 light ones */
.dphone .scene--intake   { color: var(--ivory); background: radial-gradient(120% 55% at 50% 0%, #0B4A66 0%, #072E4A 45%, #001A35 100%); }
.dphone .scene--review   { color: var(--ivory); background: radial-gradient(120% 60% at 50% 0%, #14808A 0%, #0A646E 45%, #053C47 100%); padding-top: 72px !important; }
.dphone .scene--plan     { background: linear-gradient(180deg, #F0E5D7 0%, #F7F0E8 45%, #FBF8F3 100%); }
.dphone .scene--pharmacy { color: var(--ivory); align-items: center; padding-top: 74px; background: radial-gradient(120% 55% at 50% 0%, #1D3D60 0%, #0A2642 45%, #00132A 100%); }
.dphone .scene--ship     { align-items: center; padding-top: 74px; background: linear-gradient(180deg, #DCEFEE 0%, #EEF7F6 45%, #FBFAF6 100%); }
.dphone .scene--care     { color: var(--ivory); background: radial-gradient(120% 55% at 50% 0%, #0E6E78 0%, #06424E 45%, #001A35 100%); }

/* dark-scene components */
.dphone :is(.scene--intake, .scene--pharmacy, .scene--care) :is(.ui-hello small, .scene__top small, .ui-kicker, .ui-field small) { color: rgba(250, 246, 240, .58); }
.dphone .scene--intake .ui-progress { background: rgba(250, 246, 240, .14); }
.dphone .scene--intake .ui-progress i { background: var(--mint); }
.dphone .scene--intake .chip { background: rgba(250, 246, 240, .08); border-color: rgba(250, 246, 240, .16); color: var(--ivory); }
.dphone .scene.is-active .chip--pick { animation-name: chip-pick-dark; }
@keyframes chip-pick-dark {
  0% { transform: scale(1); }
  40% { transform: scale(.92); }
  100% { transform: scale(1); background: var(--coral); color: var(--white); border-color: var(--coral); }
}
.dphone .scene--intake .ui-field { background: rgba(250, 246, 240, .08); border-color: rgba(250, 246, 240, .16); }
.dphone .scene--intake .ui-type { border-right-color: var(--mint); }
.dphone :is(.scene--review, .scene--pharmacy) .ui-checks li { background: rgba(250, 246, 240, .08); border-color: rgba(250, 246, 240, .14); color: var(--ivory); }
.dphone :is(.scene--review, .scene--pharmacy) .ui-checks li::before { border-color: rgba(250, 246, 240, .35); animation-name: check-dot-dark; }
@keyframes check-dot-dark {
  to {
    border-color: var(--coral);
    background-color: var(--coral);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}
.dphone .scene--review .ui-title--center,
.dphone .scene--pharmacy .ui-title--center { color: var(--ivory); }
.ui-box--rx { background: rgba(250, 246, 240, .1); color: var(--mint); box-shadow: inset 0 0 0 1px rgba(250, 246, 240, .18); }
.dphone .scene--pharmacy .ui-pill { background: var(--gold); color: var(--charcoal); }
.dphone .scene--care .ui-kicker { margin: 0 0 10px; }
.dphone .scene--care .ui-msg p { color: var(--charcoal); }
.ui-msg--me { justify-content: flex-end; margin-top: 10px; }
.ui-msg--me p { border-radius: 14px 14px 4px 14px; }
.dphone .ui-msg--me p { background: var(--coral); color: var(--white); }
.scene.is-active .ui-msg--me { animation: rise .6s var(--ease-out) .9s both; }
.dphone .scene--care .ui-rows { margin-top: 16px; }
.dphone .scene--care .ui-rows li { border-bottom-color: rgba(250, 246, 240, .12); }
.dphone .scene--care .ui-rows span { color: rgba(250, 246, 240, .58); }
.dphone .scene--care.is-active .ui-rows li:nth-child(1) { animation-delay: 1.5s; }
.dphone .scene--care.is-active .ui-rows li:nth-child(2) { animation-delay: 1.75s; }
.dphone .scene--care.is-active .ui-rows li:nth-child(3) { animation-delay: 2s; }

/* notifications beside the phone, one per step */
.toast {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: rgba(250, 246, 240, .95);
  color: var(--charcoal);
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(14px) scale(.94);
  transition: opacity .45s var(--ease-out), transform .7s var(--ease-out);
  pointer-events: none;
}
.toast--l { right: calc(100% + 28px); }
.toast--r { left: calc(100% + 28px); }
.toast[data-at="0"] { top: 130px; }
.toast[data-at="1"] { top: 200px; }
.toast[data-at="2"] { top: 160px; }
.toast[data-at="3"] { top: 230px; }
.toast[data-at="4"] { top: 180px; }
.toast[data-at="5"] { top: 250px; }
.toast__ic { width: 34px; height: 34px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; background: var(--teal); color: var(--white); }
.toast__ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.toast b { display: block; font-size: 13.5px; font-weight: 600; }
.toast small { display: block; margin-top: 1px; font-size: 12px; color: var(--ink-55); }
.hiw[data-step="0"] .toast[data-at="0"],
.hiw[data-step="1"] .toast[data-at="1"],
.hiw[data-step="2"] .toast[data-at="2"],
.hiw[data-step="3"] .toast[data-at="3"],
.hiw[data-step="4"] .toast[data-at="4"],
.hiw[data-step="5"] .toast[data-at="5"] { opacity: 1; transform: none; transition-delay: 1s; }

.js .hiw .dphone-stage { opacity: 0; translate: 0 80px; transition: opacity 1s var(--ease-out) .2s, translate 1.3s var(--ease-out) .2s; }
.js .hiw.is-in .dphone-stage { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .dphone { animation: none; } }

@media (max-width: 1100px) {
  .hiw--dark { padding-bottom: 700px; }
  .toast--l { right: calc(100% - 36px); }
  .toast--r { left: calc(100% - 36px); }
}
@media (max-width: 640px) {
  .hiw--dark { padding-bottom: 560px; }
  .dphone-stage { bottom: 24px; transform: scale(.82); transform-origin: 50% 100%; }
  .toast { padding: 8px 12px 8px 8px; border-radius: 14px; }
  .toast__ic { width: 28px; height: 28px; border-radius: 9px; }
  .toast b { font-size: 12.5px; }
  .toast small { font-size: 11px; }
  .toast--l { right: auto; left: -18px; }
  .toast--r { left: auto; right: -18px; }
}

/* ==========================================================================
   v4: Eden-style hero cards, straight minis, stacked trust points,
       phone card in Hair Loss, parcel card in Sexual Health
   ========================================================================== */

/* ---------- Hero: trust points stacked above the buttons ---------- */
.hero__cta { align-items: flex-start; }
.hero__trust { flex-direction: column; align-items: flex-start; gap: 10px; }

/* ---------- Hero cards: studio-lit colour, white type, straight vial bottom-right ---------- */
.hcard { --hc-ink: #fff; --hc-sub: rgba(255, 255, 255, .88); color: #fff; }
.hcard--wm {
  background:
    radial-gradient(70% 80% at 82% 60%, rgba(46, 150, 160, .9) 0%, rgba(46, 150, 160, 0) 70%),
    linear-gradient(150deg, #04424A 0%, #0A646E 52%, #0B6A75 100%);
}
.hcard--hair {
  background:
    radial-gradient(70% 80% at 82% 60%, rgba(246, 214, 200, .95) 0%, rgba(246, 214, 200, 0) 70%),
    linear-gradient(150deg, #A86B59 0%, #CF9784 42%, #E7BAAA 100%);
}
.hcard--sh {
  background:
    radial-gradient(70% 80% at 82% 60%, rgba(214, 234, 232, .95) 0%, rgba(214, 234, 232, 0) 70%),
    linear-gradient(150deg, #4F8380 0%, #86B3B0 44%, #BBD8D6 100%);
}
/* replace the old white top-right sheen with a soft top-left shade */
.hcard::before { background: radial-gradient(90% 70% at 0% 0%, rgba(0, 0, 0, .14) 0%, rgba(0, 0, 0, 0) 70%); }
.hcard__glow { display: none; }
.hcard__title, .hcard__sub, .hcard__cta { text-shadow: 0 1px 14px rgba(0, 0, 0, .12); }
.hcard__text { max-width: 46%; }
.hcard__vial {
  right: -17%;
  bottom: -12%;
  height: 88%;
  transform: none;
  filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .22));
}
.hcard:hover .hcard__vial { transform: translateY(-10px); }

/* ---------- Minis: text + arrow left, whole product on the right ---------- */
.minis .mini {
  height: auto;
  min-height: 184px;
  padding: 22px 18px 22px 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.mini__arrow { margin-top: 12px; }
.minis .mini__vial { height: 140px; margin: 0; align-self: center; transform: none; filter: drop-shadow(0 14px 16px rgba(0, 26, 53, .14)); }
.minis .mini:hover .mini__vial { transform: translateY(-6px); }

@media (max-width: 640px) {
  .hcard__text { max-width: 52%; }
  .hcard__vial { height: 70%; right: -20%; bottom: -8%; }

  .minis .mini { display: flex; flex-direction: column; align-items: flex-start; min-height: 0; padding: 14px 14px 16px; }
  .minis .mini__vial { position: static; order: -1; align-self: center; height: 104px; margin: 0 0 8px; }
  .mini__arrow { margin-top: 10px; }
}

/* ---------- Phone card, now in Hair Loss (navy): dark glass ---------- */
.wm--night .hiw--dark {
  position: relative;
  z-index: 2;
  background:
    radial-gradient(55% 55% at 50% 100%, rgba(17, 168, 174, .28) 0%, rgba(17, 168, 174, 0) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border-color: rgba(250, 246, 240, .12);
  box-shadow: none;
}

/* ---------- Parcel card, now in Sexual Health (sand): same frosted white as its product cards ---------- */
.wm--sand .xcard--discreet {
  position: relative;
  z-index: 2;
  color: var(--charcoal);
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
.wm--sand .xcard--discreet .h-card { color: var(--charcoal); }
.wm--sand .xcard--discreet .h-card em { color: #9C7034; }
.wm--sand .xcard--discreet .xcard__copy > p { color: var(--ink-70); }
.wm--sand .dtile { background: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .95); color: var(--charcoal); }
.wm--sand .dtile__ic { background: rgba(209, 169, 107, .16); border-color: rgba(209, 169, 107, .4); }
.wm--sand .dtile__ic svg { stroke: #8A6430; }
.wm--sand .parcel-glow { background: radial-gradient(circle, rgba(209, 169, 107, .35) 0%, rgba(209, 169, 107, 0) 65%); }

/* ==========================================================================
   v5: sky Hair section, cut-out Sexual Health, ring backdrop, product shine,
       slider fades, refined BMI gauge, phone-card layout
   ========================================================================== */

/* ---------- Hero card vials: a touch smaller ---------- */
.hcard__vial { height: 80%; right: -15%; bottom: -6%; }
@media (max-width: 640px) { .hcard__vial { height: 64%; right: -18%; bottom: -6%; } }

/* ---------- Weight Management: concentric rings with orbiting lights (replaces the ray lines) ---------- */
.wm-rings { position: absolute; z-index: 0; left: 50%; top: 46%; width: 0; height: 0; pointer-events: none; }
.wm-rings i {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  border: 1px solid rgba(250, 246, 240, .24);
  transform: translate(-50%, -50%);
  animation: ring-breathe 7s ease-in-out infinite;
}
.wm-rings i:nth-child(1) { width: 380px; height: 380px; border-color: rgba(95, 203, 200, .45); }
.wm-rings i:nth-child(2) { width: 560px; height: 560px; border-style: dashed; animation: ring-turn 90s linear infinite; }
.wm-rings i:nth-child(3) { width: 740px; height: 740px; animation-delay: -2.5s; }
.wm-rings i:nth-child(4) { width: 920px; height: 920px; border-color: rgba(250, 246, 240, .13); animation-delay: -5s; }
.wm-rings b { position: absolute; left: 0; top: 0; border-radius: 50%; animation: ring-orbit 26s linear infinite; }
.wm-rings b:nth-of-type(1) { width: 380px; height: 380px; margin: -190px; animation-duration: 18s; }
.wm-rings b:nth-of-type(2) { width: 560px; height: 560px; margin: -280px; animation-duration: 30s; animation-direction: reverse; }
.wm-rings b:nth-of-type(3) { width: 740px; height: 740px; margin: -370px; animation-duration: 42s; }
.wm-rings b::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -4px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 14px 4px rgba(95, 203, 200, .6);
}
@keyframes ring-orbit { to { transform: rotate(360deg); } }
@keyframes ring-turn { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes ring-breathe { 50% { opacity: .5; } }
@media (max-width: 640px) { .wm-rings { transform: scale(.55); } }
@media (prefers-reduced-motion: reduce) { .wm-rings i, .wm-rings b { animation: none; } }

/* ---------- Hair Loss: sky photo, portrait in front, cards centred ---------- */
#hair-loss .wm__panel { background: linear-gradient(180deg, #4A98E2 0px, #BFD9F2 520px, #E4EEF8 900px, #EDF3F9 100%); }
#hair-loss .wm__panel::before, #hair-loss .wm__panel::after { display: none; }
#hair-loss .sky { display: none; }
.hl-sky {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  aspect-ratio: 1672 / 941;
  background: url(../img/hair-sky.webp) center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
#hair-loss .h-section--light { text-shadow: 0 2px 24px rgba(10, 60, 120, .3); }
.wm__cards--center { justify-content: center; gap: 24px; }
#hair-loss .wm__lineup { margin-top: -140px; }
@media (max-width: 1100px) { #hair-loss .wm__lineup { margin-top: -90px; } }
@media (max-width: 640px) { #hair-loss .wm__lineup { margin-top: 12px; } }

/* ---------- Sexual Health: cut-out portrait like the other sections ---------- */
#sexual-health .wm__panel { background: linear-gradient(180deg, #D9C4AF 0%, #E3D3C2 30%, #ECE2D6 62%, #F3ECE3 100%); }
.sh-hero { position: relative; width: 100%; margin-top: 36px; display: flex; justify-content: center; }
.sh-hero__photo {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  height: auto;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 10%, #000 62%, transparent 98%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 10%, #000 62%, transparent 98%);
          mask-composite: intersect;
}
.sh-hero__glow {
  position: absolute;
  left: 50%;
  top: 4%;
  width: 70%;
  height: 80%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 248, 236, .7), rgba(255, 248, 236, 0));
}
#sexual-health .wm__lineup { position: relative; z-index: 2; margin-top: -150px; }
@media (max-width: 1100px) { #sexual-health .wm__lineup { margin-top: -90px; } }
@media (max-width: 640px) {
  .sh-hero { margin: 24px -14px 0; width: calc(100% + 28px); }
  .sh-hero__photo { width: 150%; max-width: none; }
  #sexual-health .wm__lineup { margin-top: -20px; }
}

/* ---------- Product shine: light sweep clipped to each product shape ---------- */
.tx__media, .sk__media { position: relative; }
.shine {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask: var(--shine-src) center / 100% 100% no-repeat;
          mask: var(--shine-src) center / 100% 100% no-repeat;
  transition: transform .9s var(--ease-out);
}
.shine::before {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 0;
  width: 42%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-130%) skewX(-18deg);
  animation: shine-pass 5.2s ease-in-out var(--shine-delay, 0s) infinite;
}
@keyframes shine-pass {
  0%        { transform: translateX(-130%) skewX(-18deg); }
  38%, 100% { transform: translateX(340%) skewX(-18deg); }
}
.tx:hover .tx__media .shine { transform: translateY(-10px) rotate(-4deg); }
.sk:hover .sk__media .shine { transform: translateY(-10px) rotate(-5deg); }
@media (prefers-reduced-motion: reduce) { .shine::before { animation: none; opacity: 0; } }

/* ---------- Sliders & swipe rows: soft fade where more cards are waiting ---------- */
:is(.sc__track, .hcards, .wm__cards).fade-end {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent);
          mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent);
}
:is(.sc__track, .hcards, .wm__cards).fade-start {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 72px);
          mask-image: linear-gradient(90deg, transparent, #000 72px);
}
:is(.sc__track, .hcards, .wm__cards).fade-start.fade-end {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 72px, #000 calc(100% - 72px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 72px, #000 calc(100% - 72px), transparent);
}

/* ---------- BMI gauge: rounded segments with gaps, tick ring, haloed hub ---------- */
.gauge__track { stroke-width: 22; stroke-linecap: round; stroke: rgba(250, 246, 240, .07); }
.gauge__ticks { fill: none; stroke: rgba(250, 246, 240, .32); stroke-width: 6; stroke-dasharray: .35 2.15; }
.gauge__seg { stroke-width: 22; stroke-linecap: round; }
.gauge__seg--under   { stroke-dasharray: 8.6 100;  stroke-dashoffset: -2.1; }
.gauge__seg--healthy { stroke-dasharray: 19.4 100; stroke-dashoffset: -17.3; }
.gauge__seg--over    { stroke-dasharray: 13.4 100; stroke-dashoffset: -43.3; }
.gauge__seg--obese   { stroke-dasharray: 34.6 100; stroke-dashoffset: -63.3; }
.gauge__needle line { stroke-width: 5; }
.gauge__needle circle { stroke: rgba(95, 203, 200, .55); stroke-width: 6; }
.gauge--modal .gauge__track { stroke: rgba(0, 26, 53, .05); }
.gauge--modal .gauge__ticks { stroke: rgba(0, 26, 53, .18); }
.gauge--modal .gauge__needle circle { stroke: rgba(17, 168, 174, .35); }

/* ---------- How it works: title + short line top-left, button top-right, steps bottom-right ---------- */
.hiw--dark .hiw__copy > p { margin-top: 12px; font-size: 18px; }
@media (min-width: 1101px) {
  .hiw--dark .hiw__btn { top: 44px; right: 44px; bottom: auto; }
  .hiw--dark .hiw__steps { position: absolute; z-index: 3; right: 44px; bottom: 40px; width: 300px; margin: 0; }
}

/* ---------- Treatments page ---------- */
.tgroups { display: grid; gap: 64px; }
.tgroup { scroll-margin-top: 120px; }
.tgroup__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.tgroup__head h2 { font-family: var(--f-head); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.035em; }
.tgroup__head p { max-width: 460px; color: var(--ink-70); font-size: var(--fs-body-sm); }
.tlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.titem {
  scroll-margin-top: 120px;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out);
}
.titem:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(0, 26, 53, .4); }
.titem:target { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(17, 168, 174, .14); }
.titem img { width: 112px; height: 112px; object-fit: contain; border-radius: 16px; background: var(--ivory); }
.titem h3 { font-family: var(--f-head); font-weight: 500; font-size: 19px; letter-spacing: -.02em; }
.titem__form { margin-top: 4px; font-size: 13px; color: var(--coral-600); font-weight: 500; }
.titem__body > p:not(.titem__form) { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-70); }
.titem__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--ivory);
  font-size: 14px;
  font-weight: 500;
  transition: background-color .3s;
}
.titem__cta:hover { background: var(--coral-600); }
.tgroups .alert { margin-top: 0; }
@media (max-width: 640px) {
  .tgroups { gap: 48px; }
  .tlist { grid-template-columns: 1fr; }
  .titem { grid-template-columns: 84px 1fr; padding: 16px; gap: 14px; }
  .titem img { width: 84px; height: 84px; }
}

/* ==========================================================================
   v6: true-proportion portraits, Eden vials, frosted How-it-works card
   ========================================================================== */

/* ---------- Sexual Health cut-out: natural proportions, soft fade at the bottom like the other portraits ---------- */
.sh-hero__photo {
  width: auto;
  height: 600px;
  max-width: none;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 97%);
  -webkit-mask-composite: source-over;
          mask-image: linear-gradient(180deg, #000 62%, transparent 97%);
          mask-composite: add;
}
@media (max-width: 1100px) { .sh-hero__photo { height: 500px; } }
@media (max-width: 640px) { .sh-hero__photo { width: 150%; height: auto; } }

/* ---------- Hero cards: vial stands at the bottom-right and is cut by the card edge (Eden) ---------- */
.hcard__vial { height: 96%; right: -17%; bottom: -18%; }
@media (max-width: 640px) { .hcard__vial { height: 78%; right: -21%; bottom: -14%; } }

/* ---------- How it works (Hair Loss): same frosted white as the treatment cards ---------- */
#hair-loss .hiw--dark {
  color: var(--charcoal);
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(255, 255, 255, .75);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: none;
}
#hair-loss .hiw--dark .h-card { color: var(--charcoal); }
#hair-loss .hiw--dark .h-card em { color: var(--teal); }
#hair-loss .hiw--dark .hiw__copy > p { color: var(--ink-70); }
#hair-loss .hiw--dark .hiw__steps li { color: var(--ink-55); border-top-color: rgba(0, 26, 53, .1); }
#hair-loss .hiw--dark .hiw__steps li.is-active { color: var(--charcoal); }
#hair-loss .hiw--dark .hiw__steps li i { background: var(--teal); }
#hair-loss .hiw--dark .hiw__caption { color: var(--ink-55); }
#hair-loss .dphone-glow { background: radial-gradient(circle, rgba(17, 168, 174, .3) 0%, rgba(17, 168, 174, 0) 62%); }
#hair-loss .toast { box-shadow: 0 24px 40px -18px rgba(0, 26, 53, .35), 0 0 0 1px rgba(0, 26, 53, .05); }

/* ---------- Hero cards: silk photo backgrounds, with a soft shade behind the white type ---------- */
.hcard--wm   { background: #0A646E url(../img/cards/bg-weight.webp) center / cover no-repeat; }
.hcard--hair { background: #E7BAAA url(../img/cards/bg-hair.webp) center / cover no-repeat; }
.hcard--sh   { background: #BBD8D6 url(../img/cards/bg-sexual.webp) center / cover no-repeat; }
.hcard--wm::before   { background: radial-gradient(90% 70% at 0% 0%, rgba(0, 20, 30, .28) 0%, rgba(0, 20, 30, 0) 70%); }
.hcard--hair::before { background: radial-gradient(95% 75% at 0% 0%, rgba(120, 58, 40, .42) 0%, rgba(120, 58, 40, 0) 72%); }
.hcard--sh::before   { background: radial-gradient(95% 75% at 0% 0%, rgba(12, 78, 88, .5) 0%, rgba(12, 78, 88, 0) 72%); }

/* ---------- Hero cards: slightly smaller product, still cut by the bottom edge; stronger shade behind the type ---------- */
.hcard__vial { height: 86%; right: -15%; bottom: -16%; }
@media (max-width: 640px) { .hcard__vial { height: 70%; right: -19%; bottom: -12%; } }
.hcard--hair::before { background: radial-gradient(110% 85% at 0% 0%, rgba(110, 50, 34, .58) 0%, rgba(110, 50, 34, .22) 45%, rgba(110, 50, 34, 0) 75%); }
.hcard--sh::before   { background: radial-gradient(110% 85% at 0% 0%, rgba(8, 66, 76, .66) 0%, rgba(8, 66, 76, .26) 45%, rgba(8, 66, 76, 0) 75%); }
.hcard--hair::before { background: radial-gradient(110% 85% at 0% 0%, rgba(100, 44, 30, .7) 0%, rgba(100, 44, 30, .3) 45%, rgba(100, 44, 30, 0) 76%); }
.hcard--sh::before   { background: radial-gradient(110% 85% at 0% 0%, rgba(6, 58, 68, .78) 0%, rgba(6, 58, 68, .34) 45%, rgba(6, 58, 68, 0) 76%); }

/* ---------- Hero card product positions (set with the tuner; desktop) ---------- */
.hcard--wm .hcard__vial,
.hcard--hair .hcard__vial,
.hcard--sh .hcard__vial { height: 95%; right: -10%; bottom: -19%; }
@media (max-width: 960px) {
  .hcard--wm .hcard__vial, .hcard--hair .hcard__vial, .hcard--sh .hcard__vial { height: 86%; right: -16%; bottom: -18%; }
}
@media (max-width: 640px) {
  .hcard--wm .hcard__vial, .hcard--hair .hcard__vial, .hcard--sh .hcard__vial { height: 72%; right: -26%; bottom: -14%; }
}

/* ==========================================================================
   v7: mobile polish
   ========================================================================== */
.more { margin-top: 16px; }

@media (max-width: 640px) {
  /* hero: full-width buttons, wider category cards (less of the next card peeking in) */
  .hero__btns { width: 100%; }
  .more { margin-top: 10px; }
  .hcards { grid-auto-columns: 90%; gap: 10px; }
  .hcard__cta { font-size: 11.5px; letter-spacing: .14em; gap: 10px; }
  .hcard__cta i { width: 26px; height: 26px; border-width: 1.25px; }
  .hcard__cta svg { width: 12px; height: 12px; }

  /* mini cards: one-line descriptions, small arrow top-right instead of the circle */
  .minis .mini { position: relative; }
  .mini__sub { font-size: 12px; max-width: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mini__text { width: 100%; }
  .minis .mini__title { padding-right: 18px; }
  .mini__arrow {
    position: absolute;
    top: 14px;
    right: 12px;
    width: auto;
    height: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
  .mini__arrow svg { width: 16px; height: 16px; stroke-width: 2; }
  .mini:hover .mini__arrow { background: none; color: var(--charcoal); }

  /* hair loss: soft tint on the sky photo only (it sits behind the text, portrait and cards) */
  .hl-sky::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 52, 104, .38) 0%, rgba(8, 52, 104, .18) 55%, rgba(8, 52, 104, 0) 100%);
  }

  /* how it works: no desktop min-height, button right under the copy */
  .hiw--dark { min-height: 0; grid-template-rows: auto auto; align-content: start; padding-bottom: 548px; }
  .hiw--dark .hiw__btn { margin-top: 20px; }
}

/* Hero products scale with the card width on desktop, so narrower screens keep the tuned proportions */
.hcard { container-type: inline-size; }
@media (min-width: 961px) {
  .hcard--wm .hcard__vial, .hcard--hair .hcard__vial, .hcard--sh .hcard__vial { height: min(95%, 91cqw); }
}

@media (max-width: 640px) {
  .hero__cta, .hero__btns, .hero__btns .btn { width: 100%; }
  .hcards { grid-auto-columns: calc(100vw - 44px); }
  .minis .mini { padding: 14px 12px 16px; }
  .mini__text { position: static; }            /* arrow positions against the card, not the text block */
  .mini__sub { font-size: 11.5px; }
  .mini__arrow { top: 12px; right: 10px; }
  .hiw--dark { padding-bottom: 630px; }
  .dphone-stage { bottom: 100px; }
}
@media (max-width: 640px) { .mini__sub { letter-spacing: -.012em; } }
@media (max-width: 400px) {
  .logo__img { height: 20px; }
  .header__actions { gap: 4px; }
  .mini__sub { font-size: 11px; }
}

/* Chooser thumbnails: tight square crops of the portrait files, drawn at natural face proportions */
.goal__thumb img { width: 133.4%; max-width: none; margin-left: -16.7%; object-position: 50% 12%; transform: scaleX(.75); }
.goal:hover .goal__thumb img { transform: scale(.81, 1.08); }

/* ---------- Mega menu: product columns only (no feature image) ---------- */
.mega__inner { grid-template-columns: 1fr; }

/* ---------- Hero card product positions (set with the tuner; mobile) ---------- */
@media (max-width: 640px) {
  .hcard--wm .hcard__vial { height: 74%; right: -12%; bottom: -14%; }
  .hcard--hair .hcard__vial { height: 72%; right: -26%; bottom: -14%; }
  .hcard--sh .hcard__vial { height: 72%; right: -26%; bottom: -14%; }
}

/* ---------- Chooser thumbnails: natural proportions (no squeeze), portrait sits on a tinted tile ---------- */
.goal__thumb { position: relative; }
.goal__thumb--warm { background: radial-gradient(circle at 50% 30%, #F1E4D4, #D9C4AF); }
.goal__thumb img,
.goal__thumb--teal img, .goal__thumb--sand img, .goal__thumb--sky img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 160%;
  height: auto;
  max-width: none;
  margin: 0;
  object-fit: contain;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
}
.goal:hover .goal__thumb img { transform: translateX(-50%) scale(1.06); }

/* Chooser thumbnails: the portrait files are 4:3 photos saved at 16:9, so draw them at their true 4:3 shape */
.goal__thumb img,
.goal__thumb--teal img, .goal__thumb--sand img, .goal__thumb--sky img {
  width: 122%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: fill;
}

/* ==========================================================================
   Revision round (Liz): 4-step journey, delivery scene goes dark
   ========================================================================== */
.dphone .scene--ship {
  color: var(--ivory);
  background: radial-gradient(120% 55% at 50% 0%, #1D3D60 0%, #0A2642 45%, #00132A 100%);
}
.dphone .scene--ship .ui-title--center { color: var(--ivory); }
.dphone .scene--ship .ui-box { background: rgba(250, 246, 240, .1); color: var(--mint); box-shadow: inset 0 0 0 1px rgba(250, 246, 240, .18); }
.dphone .scene--ship .ui-track li { color: rgba(250, 246, 240, .45); }
.dphone .scene--ship .ui-track li::before { background: transparent; border-color: rgba(250, 246, 240, .3); }
.dphone .scene--ship .ui-track li:not(:last-child)::after { background: rgba(250, 246, 240, .14); }
.dphone .scene--ship.is-active .ui-track li { animation-name: track-text-dark; }
.dphone .scene--ship.is-active .ui-track li::before { animation-name: track-dot-dark; }
@keyframes track-text-dark { to { color: var(--ivory); } }
@keyframes track-dot-dark { to { border-color: var(--coral); background: var(--coral); box-shadow: 0 0 0 4px rgba(17, 168, 174, .3); } }
/* the light-scene chrome now only applies to the plan screen */
.dphone .phone__screen[data-active="3"] .dphone__status { color: var(--ivory); }
.dphone .phone__screen[data-active="3"] .dphone__stories i { background: rgba(250, 246, 240, .22); }
.dphone .phone__screen[data-active="3"] .dphone__stories b { background: var(--ivory); }
/* hero trust list now has 4 items */
.hero__trust { gap: 9px; }
.dphone .scene--ship .ui-deliver { color: var(--charcoal); }

/* ==========================================================================
   3D product models (Rx Models). Images stay as the fallback until the script is ready.
   ========================================================================== */
.rx-model { display: none; }
.rx-ready .rx-model { display: block; }
.rx-ready .rx-fallback { display: none !important; }
.rx-ready .shine { display: none; }

/* treatment cards in the sections */
.tx__media .card__model { width: 100%; height: 250px; margin: -14px 0 -8px; }
.sk__media .card__model { width: 100%; height: 240px; margin: 6px 0 -4px; }

/* small cards under the hero */
.minis .mini__model { width: 120px; height: 150px; align-self: center; }

/* treatments page list */
.titem .card__model { width: 112px; height: 124px; border-radius: 16px; background: var(--ivory); }

/* hero category cards: product stands at the bottom-right, cut by the card edge */
.hcard .hcard__model { position: absolute; z-index: 1; right: -3%; bottom: -12%; width: 58%; height: 100%; }
.hcard:hover .hcard__model { transform: translateY(-8px); transition: transform .8s var(--ease-out); }

@media (max-width: 640px) {
  .tx__media .card__model { height: 230px; }
  .sk__media .card__model { height: 220px; }
  .minis .mini__model { order: -1; width: 100%; height: 118px; margin-bottom: 6px; }
  .hcard .hcard__model { right: -6%; bottom: -10%; width: 58%; height: 84%; }
  .titem .card__model { width: 84px; height: 96px; }
}
/* the model script sets position:relative and a 320px min-height inline; our layout decides instead */
.rx-model { min-height: 0 !important; }
.hcard .hcard__model { position: absolute !important; }
.hcard .hcard__model { right: -2%; bottom: -14%; width: 46%; height: 84%; }
@media (max-width: 640px) { .hcard .hcard__model { right: -4%; bottom: -12%; width: 48%; height: 72%; } }
.tx__media .card__model { height: 280px; margin: -24px 0 -14px; }
.sk__media .card__model { height: 260px; margin: 0 0 -8px; }
@media (max-width: 640px) { .tx__media .card__model { height: 250px; } .sk__media .card__model { height: 230px; } }

/* ==========================================================================
   Hero cards: matte studio-lit colour (no photo), three brand colours
   ========================================================================== */
.hcard--wm, .hcard--hair, .hcard--sh { background-image: none; }
.hcard--wm {
  background:
    radial-gradient(55% 65% at 80% 58%, rgba(64, 166, 172, .55) 0%, rgba(64, 166, 172, 0) 70%),
    radial-gradient(120% 90% at 0% 0%, rgba(2, 30, 36, .55) 0%, rgba(2, 30, 36, 0) 60%),
    linear-gradient(135deg, #054650 0%, #0A646E 55%, #0F7682 100%);
}
.hcard--hair {
  background:
    radial-gradient(55% 65% at 80% 58%, rgba(240, 190, 166, .6) 0%, rgba(240, 190, 166, 0) 70%),
    radial-gradient(120% 90% at 0% 0%, rgba(92, 44, 30, .5) 0%, rgba(92, 44, 30, 0) 60%),
    linear-gradient(135deg, #95584A 0%, #BC7C66 52%, #D49C84 100%);
}
.hcard--sh {
  background:
    radial-gradient(55% 65% at 80% 58%, rgba(70, 116, 170, .55) 0%, rgba(70, 116, 170, 0) 70%),
    radial-gradient(120% 90% at 0% 0%, rgba(0, 8, 22, .55) 0%, rgba(0, 8, 22, 0) 60%),
    linear-gradient(135deg, #061A33 0%, #0D2A4C 55%, #193C66 100%);
}
/* soft "floor" shading along the bottom, like a studio table edge */
.hcard--wm::before, .hcard--hair::before, .hcard--sh::before {
  background: linear-gradient(0deg, rgba(0, 0, 0, .16) 0%, rgba(0, 0, 0, 0) 28%);
}

/* every product the same height and position: standing bottom-right, cut by the card edge */
.hcard .hcard__model { right: 0; bottom: -16%; width: 42%; height: 88%; }
@media (max-width: 640px) { .hcard .hcard__model { right: -4%; bottom: -12%; width: 46%; height: 74%; } }

/* Sexual Health hero card: bright teal (the logo-leaf colour), light and fresh */
.hcard--sh {
  background:
    radial-gradient(55% 65% at 80% 58%, rgba(150, 226, 228, .55) 0%, rgba(150, 226, 228, 0) 70%),
    radial-gradient(120% 90% at 0% 0%, rgba(4, 92, 104, .5) 0%, rgba(4, 92, 104, 0) 60%),
    linear-gradient(135deg, #0C8D97 0%, #17A6AF 52%, #4CC2C7 100%);
}
/* Sexual Health hero card: soft steel blue (a lighter tint of the brand navy) */
.hcard--sh {
  background:
    radial-gradient(55% 65% at 80% 58%, rgba(170, 202, 230, .55) 0%, rgba(170, 202, 230, 0) 70%),
    radial-gradient(120% 90% at 0% 0%, rgba(14, 40, 72, .5) 0%, rgba(14, 40, 72, 0) 60%),
    linear-gradient(135deg, #2F5B86 0%, #4878A5 52%, #6F9CC4 100%);
}
/* the tablet bottle is wider than the vial and can, so nudge it in from the card's right edge */
.hcard--sh .hcard__model { right: 4%; }
@media (max-width: 640px) { .hcard--sh .hcard__model { right: 0; } }
