/* ==========================================================================
   Dynamis Rx — base styles
   Headings: Inter Regular, last word italic, always two balanced lines.
   Body: Outfit — 17px / 16px desktop, 16px mobile.

   Palette (client brand book): Navy #041222 · Bone #F7F4EC · Teal #6BA3A1 ·
   Sage Light #9FCCC8 · Sage Deep #4F8988. The legacy token names below are
   kept so every component picks up the brand without a rename:
     --charcoal = Navy (text, dark surfaces)    --ivory = Bone (page, text on navy)
     --coral    = Teal (the single CTA accent)  --mint  = Sage Light (accent on dark)
     --teal     = Sage Deep, deepened for readable links/accents on Bone
   ========================================================================== */

:root {
  /* Brand */
  --navy: #041222;
  --navy-800: #0A2236;
  --bone: #F7F4EC;
  --brand-teal: #6BA3A1;
  --sage: #9FCCC8;
  --sage-deep: #4F8988;

  /* Roles (legacy names) */
  --teal: #3B7472;          /* Sage Deep, deepened to pass AA on Bone */
  --teal-700: #0A2236;
  --mint: #9FCCC8;
  --mint-100: #E2EFED;
  --coral: #6BA3A1;
  --coral-600: #578F8D;
  --charcoal: #041222;
  --ivory: #F7F4EC;
  --peach: #F2BBA5;         /* small warm sparks only (dots, hotspots) */

  /* Neutrals */
  --white: #ffffff;
  --ink-70: rgba(4, 18, 34, .72);
  --ink-55: rgba(4, 18, 34, .56);
  --line: rgba(4, 18, 34, .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(--teal);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: .01em;
  overflow: hidden;
}
.announce__track {
  position: relative;
  height: 40px;
  width: min(520px, 72vw);
  overflow: hidden;
}
.announce__msg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(100%);
  transition: transform .7s var(--ease-out), opacity .7s var(--ease-out);
}
.announce__msg.is-active { opacity: 1; transform: translateY(0); }
.announce__msg.is-leaving { opacity: 0; transform: translateY(-100%); }
.announce__msg .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(159, 204, 200, .7);
  animation: ping 2.2s var(--ease-out) infinite;
}
.announce__nav {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  opacity: .7;
  transition: opacity .2s, background-color .2s;
}
.announce__nav:hover { opacity: 1; background: rgba(255, 255, 255, .1); }
.announce__nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(159, 204, 200, .7); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(159, 204, 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(4, 18, 34, .25);
}

.header__inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.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(4, 18, 34, .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: #d3eee5; 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(159, 204, 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(59, 116, 114, .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(4, 18, 34, .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(4, 18, 34, .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(4, 18, 34, .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(4, 18, 34, .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);
  color: var(--white);
  padding-right: 8px;
  box-shadow: 0 14px 30px -14px rgba(107, 163, 161, .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(59, 116, 114, .8); transform: translateY(-2px); }
.btn__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--coral);
  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(4, 18, 34, .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(4, 18, 34, .62) 0%, rgba(4, 18, 34, .34) 34%, rgba(4, 18, 34, 0) 66%),
    linear-gradient(0deg, rgba(4, 18, 34, .3) 0%, rgba(4, 18, 34, 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: #dcefe8; }
.mini--sand  { background: #efe7d8; }
.mini--blush { background: #f5e0d8; }
.mini--sage  { background: #e2e8dc; }

.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(4, 18, 34, .16));
  transition: transform .8s var(--ease-out);
}
.mini:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(4, 18, 34, .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, #0F4C4A 0%, #0c4240 45%, #093230 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(159, 204, 200, .16) 0%, rgba(159, 204, 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(2, 10, 20, 0) 55%, rgba(2, 10, 20, .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(159, 204, 200, .38) 0%, rgba(159, 204, 200, .1) 45%, rgba(159, 204, 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(159, 204, 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(247, 244, 236, .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(247, 244, 236, .13) 0%, rgba(247, 244, 236, .04) 100%);
  border: 1px solid rgba(247, 244, 236, .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(159, 204, 200, .32) 0%, rgba(159, 204, 200, 0) 68%);
  transform: translate(-50%, -50%) scale(.85);
  transition: transform 1s var(--ease-out), opacity .6s;
  opacity: .7;
}
.tx:hover { border-color: rgba(159, 204, 200, .45); }
.tx:hover::before { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }

.tx__tag {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(159, 204, 200, .16);
  border: 1px solid rgba(159, 204, 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(247, 244, 236, .66);
}
.tx__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(247, 244, 236, .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(247, 244, 236, .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(159, 204, 200, .55) 0%, rgba(159, 204, 200, .18) 45%, rgba(159, 204, 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, #1a6762 0%, #135854 100%);
  border: 1px solid rgba(247, 244, 236, .1);
}
.bmi-card__copy p {
  margin-top: 14px;
  max-width: 320px;
  font-size: var(--fs-body-sm);
  color: rgba(247, 244, 236, .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(247, 244, 236, .45); padding: 0 .06em; }
.bmi-card__caption { margin-top: 10px; font-size: var(--fs-body-sm); color: rgba(247, 244, 236, .72); }
.bmi-card__btn { justify-self: end; height: 50px; }

/* Gauge (shared) */
.gauge { display: block; overflow: visible; }
.gauge__track { fill: none; stroke: rgba(247, 244, 236, .12); stroke-width: 28; }
.gauge__seg { fill: none; stroke-width: 28; }
.gauge__seg--under   { stroke: #F2D28B; }
.gauge__seg--healthy { stroke: #9FCCC8; }
.gauge__seg--over    { stroke: #F0A88F; }
.gauge__seg--obese   { stroke: #E8836B; }
.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(159, 204, 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(2, 10, 20, .6);
  overflow: auto;
  overscroll-behavior: contain;
}
.bmi-modal::backdrop { background: rgba(4, 18, 34, .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(4, 18, 34, .06);
  transition: background-color .2s, transform .4s var(--ease-out);
}
.bmi__close:hover { background: rgba(4, 18, 34, .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(4, 18, 34, .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(4, 18, 34, .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(4, 18, 34, .12);
  transition: border-color .2s, box-shadow .2s;
  cursor: text;
}
.field:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(59, 116, 114, .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(4, 18, 34, .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(4, 18, 34, .06);
  text-align: center;
}
.gauge--modal { width: 100%; max-width: 300px; margin: 0 auto; }
.gauge--modal .gauge__track { stroke: rgba(4, 18, 34, .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(4, 18, 34, .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: #dcf3ea; color: var(--teal); }
.bmi__cat[data-cat="over"]    { background: #fbe4dc; 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: #F2D28B; }
.c-healthy { background: #9FCCC8; }
.c-over { background: #F0A88F; }
.c-obese { background: #E8836B; }

.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__nav { display: none; }
  .announce__track { width: 100%; }

  .logo__mark { width: 30px; height: 30px; }
  .logo__word { font-size: 21px; }

  .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(247, 244, 236, .5) 0%, rgba(247, 244, 236, 0) 32%),
    var(--sc-photo, none) center / cover no-repeat,
    radial-gradient(55% 45% at 88% 8%, #f8e3d6 0%, rgba(248, 227, 214, 0) 100%),
    radial-gradient(60% 55% at 6% 96%, #e6d2bb 0%, rgba(230, 210, 187, 0) 100%),
    linear-gradient(160deg, #f4e8dc 0%, #ecdccb 52%, #e5d0bd 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(107, 163, 161, .2) 0%, rgba(107, 163, 161, 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(4, 18, 34, .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(59, 116, 114, .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(4, 18, 34, .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(4, 18, 34, .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(247, 244, 236, .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(159, 204, 200, .45) 0%, rgba(159, 204, 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(4, 18, 34, .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(2, 10, 20, .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(4, 18, 34, .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(4, 18, 34, .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(4, 18, 34, .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(4, 18, 34, .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(4, 18, 34, .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(4, 18, 34, .08);
  box-shadow: 0 10px 24px -16px rgba(4, 18, 34, .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(4, 18, 34, .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: #fbe4dc;
  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(4, 18, 34, .18);
}
.ui-track li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 17px;
  bottom: 2px;
  width: 2px;
  background: rgba(4, 18, 34, .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(159, 204, 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(247, 244, 236, .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(2, 10, 20, .55), 0 0 0 1px rgba(4, 18, 34, .08); }
.phone__glow {
  position: absolute;
  left: 50%;
  top: 40px;
  width: 420px;
  height: 420px;
  margin-left: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 204, 200, .5) 0%, rgba(159, 204, 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, #e4f2ec 0%, #d7ebe2 55%, #cbe3d8 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(59, 116, 114, 0) 60%, rgba(59, 116, 114, .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(59, 116, 114, .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(59, 116, 114, .14) 0%, rgba(59, 116, 114, 0) 68%); }
.wm--sage .tx:hover { border-color: rgba(59, 116, 114, .3); }
.wm--sage .tx__tag { background: rgba(59, 116, 114, .08); border-color: rgba(59, 116, 114, .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(4, 18, 34, .1); }
.wm--sage .tx__media img { filter: drop-shadow(0 22px 20px rgba(59, 116, 114, .2)); }
.wm--sage .wm__disclaimer { color: var(--ink-70); }

/* --- Clay (warm dark) --- */
.wm--clay .wm__panel {
  background: linear-gradient(180deg, #7d3f31 0%, #6b3428 50%, #552820 100%);
}
.wm--clay .wm__panel::before {
  background:
    radial-gradient(38% 30% at 82% 0%, rgba(255, 228, 212, .32) 0%, rgba(255, 228, 212, 0) 100%),
    radial-gradient(60% 50% at 50% 34%, rgba(107, 163, 161, .28) 0%, rgba(107, 163, 161, 0) 100%);
}
.wm--clay .wm__panel::after { background: radial-gradient(120% 90% at 50% 30%, rgba(40, 14, 10, 0) 55%, rgba(40, 14, 10, .5) 100%); }
.wm--clay .wm__eyebrow { color: #f6c1ae; }
.wm--clay .h-section--light em { color: #f6c1ae; }
.wm--clay .wm__glow { background: radial-gradient(circle, rgba(246, 193, 174, .45) 0%, rgba(246, 193, 174, .12) 45%, rgba(246, 193, 174, 0) 70%); }
.wm--clay .orbit__ch { color: #fbd9cc; text-shadow: 0 0 18px rgba(246, 193, 174, .55); }
.wm--clay .tx::before { background: radial-gradient(circle, rgba(246, 193, 174, .3) 0%, rgba(246, 193, 174, 0) 68%); }
.wm--clay .tx:hover { border-color: rgba(246, 193, 174, .5); }
.wm--clay .tx__tag { background: rgba(246, 193, 174, .16); border-color: rgba(246, 193, 174, .35); color: #f6c1ae; }
.wm--clay .tx__link { color: #f6c1ae; }

/* --- Ink (charcoal) --- */
.wm--ink .wm__panel {
  background: linear-gradient(180deg, #232d2f 0%, #1c2426 50%, #141a1b 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(159, 204, 200, .14) 0%, rgba(159, 204, 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(4, 18, 34, .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%, #17605c 0%, rgba(23, 96, 92, 0) 70%),
    linear-gradient(180deg, #0F4C4A 0%, #093230 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(159, 204, 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(247, 244, 236, .78); }
.cta__btns { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  padding: 88px 0 32px;
  background: #0b2d2c;
  color: rgba(247, 244, 236, .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(247, 244, 236, .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(247, 244, 236, .45); }
.footer__col a { width: fit-content; color: rgba(247, 244, 236, .82); transition: color .2s; }
.footer__col a:hover { color: var(--mint); }
.footer__todo { color: #f6c1ae; font-style: italic; }

.footer__notice { display: grid; gap: 12px; padding: 32px 0; border-bottom: 1px solid rgba(247, 244, 236, .12); font-size: 14px; line-height: 1.65; color: rgba(247, 244, 236, .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(247, 244, 236, .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(59, 116, 114, .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: #fbe4dc;
  color: #6b2f1f;
  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, #d9f0e7 0%, #eef7f2 40%, #fbfaf6 100%); }
.scene--review { background: radial-gradient(120% 60% at 50% 0%, #1d6b66 0%, #0F4C4A 45%, #0a3634 100%); color: var(--ivory); }
.scene--plan { background: linear-gradient(180deg, #f3e3d3 0%, #f8efe6 45%, #fbfaf6 100%); }
.scene--ship { background: linear-gradient(180deg, #fbded3 0%, #fbeee8 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(4, 18, 34, .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(247, 244, 236, .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(159, 204, 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 #0F4C4A;
  transform: scale(0);
}
.ui-doc__badge svg { width: 14px; height: 14px; fill: none; stroke: #0b3a38; 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(247, 244, 236, .08); border-color: rgba(247, 244, 236, .14); color: var(--ivory); }
.scene--review .ui-checks li::before { border-color: rgba(247, 244, 236, .35); }
.scene--review .ui-pill { background: var(--mint); color: #0b3a38; }

/* 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(4, 18, 34, .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(4, 18, 34, .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: #f6faf8; 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(159, 204, 200, .45) 0%, rgba(159, 204, 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(4, 18, 34, .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(4, 18, 34, .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(246, 193, 174, .35) 0%, rgba(246, 193, 174, 0) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(247, 244, 236, .12);
}
.xcard--discreet .xcard__copy > p,
.xcard--compare .xcard__copy > p { color: rgba(247, 244, 236, .78); }
.xcard--discreet .h-card em { color: #f6c1ae; }
.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(246, 193, 174, .35) 0%, rgba(246, 193, 174, 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(30, 10, 6, .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(247, 244, 236, .12);
  border: 1px solid rgba(247, 244, 236, .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: #f6c1ae; 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(159, 204, 200, .22) 0%, rgba(159, 204, 200, 0) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(247, 244, 236, .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(247, 244, 236, .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(247, 244, 236, .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(247, 244, 236, .06);
  border: 1px solid rgba(247, 244, 236, .1);
}
.compare__visual { position: relative; height: 260px; }
.compare__visual::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 204, 200, .35) 0%, rgba(159, 204, 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(247, 244, 236, .07);
  border: 1px solid rgba(247, 244, 236, .1);
  font-size: var(--fs-body-sm);
  color: rgba(247, 244, 236, .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(159, 204, 200, .22) 0%, rgba(159, 204, 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(4, 18, 34, .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(18, 24, 25, .25) 0%, rgba(18, 24, 25, 0) 30%, rgba(18, 24, 25, .45) 100%),
    var(--hl-photo, none) center / cover no-repeat,
    linear-gradient(180deg, #232d2f 0%, #1c2426 50%, #141a1b 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(20, 26, 27, .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(247, 244, 236, .1);
  border-color: rgba(247, 244, 236, .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(246, 193, 174, .18);
  border: 1px solid rgba(246, 193, 174, .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(247, 244, 236, .62); }
/* dashed leader line toward the parcel */
.float-chip::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 44px;
  border-top: 1px dashed rgba(246, 193, 174, .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(247, 244, 236, .06);
  border: 1px solid rgba(247, 244, 236, .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(246, 193, 174, .14);
  border: 1px solid rgba(246, 193, 174, .3);
}
.dtile__ic svg { width: 20px; height: 20px; fill: none; stroke: #f6c1ae; 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, #ecdccb 62%, rgba(236, 220, 203, 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, #86b0c8 0%, #a3c4d6 32%, #c4d9e2 64%, #dde7e4 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(59, 116, 114, .1); border-color: rgba(59, 116, 114, .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(4, 18, 34, .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(159, 204, 200, .35), rgba(159, 204, 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, #6b3428 0%, #6b3428 45%, #552820 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(36, 14, 10, .62) 0%, rgba(36, 14, 10, .28) 45%, rgba(36, 14, 10, .12) 100%),
    linear-gradient(180deg, rgba(107, 52, 40, 0) 52%, #6b3428 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(20, 6, 4, .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(36, 14, 10, .62) 0%, rgba(36, 14, 10, .28) 45%, rgba(36, 14, 10, .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(247, 244, 236, .38) 0deg .22deg, rgba(247, 244, 236, 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(23, 96, 92, .72) 0%, rgba(12, 62, 60, .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(4, 18, 34, .78) 0%, rgba(4, 18, 34, .45) 38%, rgba(4, 18, 34, 0) 72%),
      linear-gradient(180deg, rgba(4, 18, 34, .35) 0%, rgba(4, 18, 34, 0) 40%),
      linear-gradient(0deg, rgba(4, 18, 34, .3) 0%, rgba(4, 18, 34, 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(2, 10, 20, .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(23, 96, 92, .9) 0%, rgba(23, 96, 92, 0) 70%),
    radial-gradient(50% 40% at 85% 100%, rgba(159, 204, 200, .12) 0%, rgba(159, 204, 200, 0) 70%),
    #082927;
  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, #082927 60%, rgba(8, 41, 39, 0));
}
.goals__close {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 244, 236, .2);
  color: var(--ivory);
  transition: background-color .3s, transform .5s var(--ease-out);
}
.goals__close:hover { background: rgba(247, 244, 236, .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(247, 244, 236, .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(247, 244, 236, .05);
  border: 1px solid rgba(247, 244, 236, .12);
  transition: background-color .35s, border-color .35s, transform .5s var(--ease-out);
}
.goal:hover, .goal:focus-visible { background: rgba(247, 244, 236, .1); border-color: rgba(159, 204, 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%, #2a8a7f, #0F4C4A); }
.goal__thumb--sand { background: radial-gradient(circle at 50% 30%, #f6e8da, #e3cdb7); }
.goal__thumb--sky  { background: linear-gradient(180deg, #86b0c8, #c4d9e2); }
.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(247, 244, 236, .65); }
.goal__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 244, 236, .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(247, 244, 236, .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; }

/* ==========================================================================
   v11: template edition — sky photo for hair loss, cards centred,
   how-it-works card lives in hair loss, taller hero cards
   ========================================================================== */

/* ---------- Hair loss: real sky photo, continuing into a soft blue below ---------- */
.wm--sky .wm__panel {
  background:
    url(../img/hairloss-sky.webp) center top / max(100%, 1500px) auto no-repeat,
    linear-gradient(180deg, #acc3e0 0%, #acc3e0 40%, #c9d9ea 72%, #e3ecf5 100%);
}
.sky { opacity: .55; }

/* Both treatments side by side in the centre */
.wm__cards--split { justify-content: center; }

/* How-it-works card on the sky: same frosted, cool-white feel as the product cards.
   The hand photo is multiplied, so card and phone layer share one flat colour. */
.wm--sky .hiw,
.wm--sky .hp { background: #f2f6fa; }
.wm--sky .hiw { border-color: rgba(255, 255, 255, .9); box-shadow: 0 30px 60px -40px rgba(30, 70, 110, .45); }
.wm--sky .hiw { position: relative; z-index: 2; }

/* Skincare no longer carries a bottom card */
.sc__disclaimer { margin-bottom: 0; }
@media (min-width: 1101px) { .wm--sky .wm__lineup { margin-top: -240px; } }

/* ---------- Hero category cards: a little taller so the copy clears the vial ---------- */
@media (min-width: 641px) {
  .cat { height: 510px; }
  .cat__media img { object-position: center 30%; }
}

/* ==========================================================================
   v12: crisp phone UI, glass how-it-works card, faded slider edges
   ========================================================================== */

/* Render the phone screen at its real on-screen size (zoom) instead of
   up-scaling a small bitmap (scale), so text and avatars stay sharp. */
.hp .phone__screen {
  zoom: calc(var(--s) * 1.065);
  transform: rotate(.7deg);
}

/* The hand photo keys out its own white (SVG filter) instead of multiplying
   onto a flat colour, so the card behind it can be real frosted glass. */
.hp__photo { mix-blend-mode: normal; filter: url(#hp-key); }
.hp, .wm--sky .hp { background: transparent; }
.wm--sky .hiw {
  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;
}
.wm--sky .hiw:hover { border-color: #fff; }

/* Card sliders: soft fade on whichever edge still has more cards */
@property --fl { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --fr { syntax: "<length>"; inherits: false; initial-value: 0px; }
.sc__track,
.wm__cards--slider {
  --fl: 96px;
  --fr: 96px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%);
  transition: --fl .4s ease, --fr .4s ease;
}
.sc__track.is-start, .wm__cards--slider.is-start { --fl: 0px; }
.sc__track.is-end,   .wm__cards--slider.is-end   { --fr: 0px; }
@media (max-width: 640px) {
  .sc__track, .wm__cards--slider { --fl: 40px; --fr: 40px; }
}

/* ==========================================================================
   v13: Dynamis Rx brand pass
   Navy carries the dark surfaces, Bone the light ones, Teal is the one CTA
   colour, and Sage Light / Sage Deep tint the accents. Each treatment area
   keeps its own mood (WM teal→navy, Peptides sage, Sexual Health clay,
   How it works mist), and every card inside a section is cut from that
   section's colour so cards, panel and bottom card read as one set.
   ========================================================================== */

/* ---------- Wordmark (text logo until the brand files arrive) ---------- */
.logo__word {
  font-family: var(--f-head);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.045em;
  color: var(--navy);
}
.logo__word em {
  margin-left: .22em;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--sage-deep);
}
.logo--light .logo__word { color: var(--bone); }
.logo--light .logo__word em { color: var(--sage); }
@media (max-width: 640px) { .logo__word { font-size: 22px; } }

/* ---------- Chrome ---------- */
.announce { background: var(--navy); }
.sparkle path:last-child { fill: var(--peach); }

/* ---------- Primary button: solid Teal, white type, white circle with a teal arrow;
   Navy slides in on hover and the arrow turns navy ---------- */
.btn--primary {
  color: var(--white);
  background: #5E9A98;
  box-shadow: 0 14px 30px -14px rgba(79, 137, 136, .85);
}
.btn--primary::before { background: var(--navy); }
.btn--primary:hover { color: var(--white); box-shadow: 0 16px 34px -14px rgba(4, 18, 34, .6); }
.btn--primary .btn__icon { background: var(--white); color: var(--sage-deep); box-shadow: 0 2px 6px rgba(4, 18, 34, .12); }
.btn--primary:hover .btn__icon { background: var(--white); color: var(--navy); }

/* ---------- Client logo (assets/img/brand) ---------- */
.logo__img { display: block; width: auto; height: 40px; transition: transform .5s var(--ease-out); }
.logo:hover .logo__img { transform: translateY(-1px); }
.logo__img--full { height: 64px; }
@media (max-width: 640px) { .logo__img { height: 34px; } }

/* Treatment chooser: frame the Weight Management portrait from the shoulders up */
.goal__thumb--teal img { object-position: 50% 0; transform: scale(1.85); transform-origin: 50% 20%; }
.goal:hover .goal__thumb--teal img { transform: scale(1.95); }
.goal:hover .goal__arrow { color: var(--white); }
.btn--light { --btn-fill: var(--navy); }
.btn--light:hover .btn__icon { color: var(--navy); }

/* ---------- Hero: pastel goal cards in the brand's calm register ---------- */
.mini--mint { background: #DCEBE8; }   /* Sage Light tint */
.mini--sand { background: #EFE7D8; }   /* Bone, warmed */
.mini--blush { background: #F4E1D9; }
.mini--sage { background: #DFE7EE; }   /* Navy, washed to mist */

/* ---------- Treatment card overview line ---------- */
.tx__desc {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(247, 244, 236, .72);
}
.wm--sage .tx__desc { color: var(--ink-70); }
.tx { min-height: 440px; }
@media (max-width: 640px) { .tx { min-height: 0; } }

/* ---------- Weight Management: teal light falling into navy ---------- */
#weight-management .wm__panel {
  background: linear-gradient(180deg, #24575A 0%, #173F45 42%, #0C2737 74%, #071A2B 100%);
}
#weight-management .wm__panel::before {
  background:
    radial-gradient(38% 30% at 82% 0%, rgba(255, 242, 222, .3) 0%, rgba(255, 242, 222, 0) 100%),
    radial-gradient(60% 50% at 50% 34%, rgba(159, 204, 200, .2) 0%, rgba(159, 204, 200, 0) 100%);
}
#weight-management .tx {
  background: linear-gradient(165deg, rgba(79, 137, 136, .5) 0%, rgba(19, 55, 64, .78) 100%);
  border-color: rgba(159, 204, 200, .2);
}
/* BMI card is cut from the same teal as the treatment cards above it */
.bmi-card {
  background:
    radial-gradient(55% 75% at 50% 112%, rgba(159, 204, 200, .5) 0%, rgba(159, 204, 200, .16) 45%, rgba(159, 204, 200, 0) 75%),
    radial-gradient(40% 50% at 100% 0%, rgba(255, 242, 222, .12) 0%, rgba(255, 242, 222, 0) 100%),
    linear-gradient(180deg, #2B6366 0%, #1A4A50 100%);
  border-color: rgba(159, 204, 200, .2);
}

/* ---------- Peptides: Sage Light, airy ---------- */
.wm--sage .wm__panel { background: linear-gradient(180deg, #E8F3F1 0%, #D7EBE8 52%, #C4DFDB 100%); }
.wm--sage .wm__panel::after { background: radial-gradient(120% 90% at 50% 30%, rgba(59, 116, 114, 0) 60%, rgba(59, 116, 114, .14) 100%); }
.xcard--body { background: #F4FAF9; }
.hotspot.is-active .hotspot__dot { background: #E39A7F; }
.hotspot.is-active .hotspot__dot::after { border-color: #E39A7F; }

/* ---------- Sexual Health: rose pink, falling into deep berry ----------
   Same build as Weight Management (centred portrait, cards overlapping it),
   with every card, tag and the "Private by design" card cut from the rose. */
.wm--rose .wm__panel {
  background: linear-gradient(180deg, #D88C9B 0%, #BE6B80 30%, #94475F 64%, #5F2640 100%);
}
.wm--rose .wm__panel::before {
  background:
    radial-gradient(38% 30% at 82% 0%, rgba(255, 236, 228, .4) 0%, rgba(255, 236, 228, 0) 100%),
    radial-gradient(60% 50% at 50% 34%, rgba(255, 214, 222, .28) 0%, rgba(255, 214, 222, 0) 100%);
}
.wm--rose .wm__panel::after { background: radial-gradient(120% 90% at 50% 30%, rgba(52, 12, 28, 0) 55%, rgba(52, 12, 28, .45) 100%); }
.wm--rose .wm__eyebrow { color: #FFE1E7; }
.wm--rose .h-section--light { text-shadow: 0 2px 30px rgba(80, 20, 40, .25); }
.wm--rose .h-section--light em { color: #FFE1E7; }
.wm--rose .wm-hero__rays { background: repeating-conic-gradient(from 0deg, rgba(255, 236, 240, .42) 0deg .22deg, rgba(255, 236, 240, 0) .22deg 1.6deg); }
.wm--rose .wm-hero__glow { background: radial-gradient(closest-side, rgba(255, 214, 222, .45), rgba(255, 214, 222, 0)); }
#sexual-health .wm__lineup { position: relative; z-index: 2; margin-top: -170px; }
@media (max-width: 1100px) { #sexual-health .wm__lineup { margin-top: -120px; } }
@media (max-width: 640px) { #sexual-health .wm__lineup { margin-top: 12px; } }

.wm--rose .tx {
  background: linear-gradient(165deg, rgba(255, 214, 222, .26) 0%, rgba(110, 40, 66, .62) 100%);
  border-color: rgba(255, 225, 231, .26);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.wm--rose .tx::before { background: radial-gradient(circle, rgba(255, 214, 222, .38) 0%, rgba(255, 214, 222, 0) 68%); }
.wm--rose .tx:hover { border-color: rgba(255, 225, 231, .6); }
.wm--rose .tx__tag { background: rgba(255, 225, 231, .18); border-color: rgba(255, 225, 231, .4); color: #FFE1E7; }
.wm--rose .tx__link { color: #FFE1E7; }
.wm--rose .wm__disclaimer { color: rgba(255, 240, 243, .72); }

/* "Private by design" card in the same rose as the treatment cards */
.wm--rose .xcard--discreet {
  background:
    radial-gradient(55% 70% at 50% 110%, rgba(255, 214, 222, .4) 0%, rgba(255, 214, 222, 0) 70%),
    linear-gradient(180deg, rgba(255, 214, 222, .16), rgba(110, 40, 66, .35));
  border-color: rgba(255, 225, 231, .22);
}
.wm--rose .xcard--discreet .h-card em { color: #FFE1E7; }
.wm--rose .dtile { background: rgba(255, 225, 231, .08); border-color: rgba(255, 225, 231, .2); }
.wm--rose .dtile__ic { background: rgba(255, 225, 231, .16); border-color: rgba(255, 225, 231, .36); }
.wm--rose .dtile__ic svg { stroke: #FFE1E7; }
.wm--rose .parcel-glow { background: radial-gradient(circle, rgba(255, 214, 222, .42) 0%, rgba(255, 214, 222, 0) 65%); }
.wm--rose .parcel-shadow { background: rgba(52, 12, 28, .5); }
.wm--rose .btn--light { --btn-fill: #5F2640; }
.wm--rose .btn--light:hover { color: var(--white); }

/* ---------- How it works: mist panel (Sage Light washed toward Bone) ---------- */
.wm--mist .wm__panel {
  color: var(--navy);
  background: linear-gradient(180deg, #A4CACB 0%, #BCD9D8 28%, #D3E6E3 62%, #E4EEEA 100%);
}
.wm--mist .wm__panel::before { background: radial-gradient(70% 40% at 50% 100%, rgba(255, 250, 240, .6) 0%, rgba(255, 250, 240, 0) 100%); }
.wm--mist .wm__panel::after { display: none; }
.wm--mist .sky { opacity: .8; }
.wm--mist .wm__eyebrow { color: #24575A; }
.wm--mist .h-section { position: relative; z-index: 3; }
.wm--mist .h-section em { color: #24575A; }
.wm--mist .wm__lede { margin-top: 18px; color: var(--ink-70); }
.wm--mist .wm__disclaimer { color: var(--ink-70); }
.wm--mist .hiw {
  position: relative;
  z-index: 2;
  margin-top: 64px;
  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);
}
.wm--mist .hiw:hover { border-color: #fff; }
.phone__glow { background: radial-gradient(circle, rgba(159, 204, 200, .55) 0%, rgba(159, 204, 200, 0) 65%); }

/* ---------- How-it-works phone: four full-colour app scenes ----------
   Each scene owns one colour (Teal, Navy, Rose, Sand) and one motion idea:
   01 card deck + hold-to-continue · 02 sonar that pulls details into the provider ·
   03 typing bubble + spring bottom sheet · 04 Dynamic Island live activity + drawn route. */
.scene--goal  { color: var(--white); background: radial-gradient(130% 70% at 85% 0%, #8FC4C0 0%, #5E9C9A 42%, #3B7472 100%); }
.scene--scan  { color: var(--bone);  background: radial-gradient(120% 60% at 50% 32%, #1D4A55 0%, #0A2236 55%, #041222 100%); }
.scene--sheet { color: var(--white); background: linear-gradient(180deg, #DE95A2 0%, #C46C81 55%, #A64F67 100%); }
.scene--route { color: var(--navy);  background: #F3E8D8; }

.ap-top { display: flex; justify-content: space-between; align-items: center; font-size: 9.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.ap-h { margin-top: 18px; text-align: center; font-family: var(--f-head); font-size: 17px; line-height: 1.15; letter-spacing: -.025em; }
.ap-h em, .ap-q em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 1.1em; letter-spacing: -.01em; }

/* 01 · deck */
.ap-dots { display: flex; gap: 4px; }
.ap-dots i { width: 12px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); }
.ap-dots i:first-child { width: 20px; background: var(--white); }
.scene.is-active .ap-dots i:nth-child(2) { animation: ap-dot .5s var(--ease-out) 3.4s forwards; }
@keyframes ap-dot { to { width: 20px; background: var(--white); } }
.ap-q { margin-top: 20px; font-family: var(--f-head); font-size: 27px; line-height: 1.04; letter-spacing: -.045em; }
.ap-deck { position: relative; height: 196px; margin-top: 22px; }
.ap-card {
  position: absolute;
  inset: 0 0 34px;
  border-radius: 24px;
  transform-origin: 50% 100%;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .3);
}
.ap-card--2 { transform: translateY(16px) scale(.92); }
.ap-card--3 { transform: translateY(31px) scale(.84); opacity: .7; }
.ap-card--1 {
  display: flex;
  flex-direction: column;
  padding: 16px;
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 22px 34px -20px rgba(4, 18, 34, .55);
}
.ap-card__ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: #E2EFED; color: var(--teal); }
.ap-card__ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ap-card--1 b { margin-top: auto; font-family: var(--f-head); font-weight: 400; font-size: 18px; letter-spacing: -.025em; }
.ap-card--1 small { margin-top: 2px; font-size: 10.5px; color: var(--ink-55); }
.ap-stamp {
  position: absolute;
  top: 16px;
  right: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .04em;
  transform: scale(0) rotate(-14deg);
}
.scene.is-active .ap-card { animation: ap-deal .8s var(--ease-out) both; }
.scene.is-active .ap-card--3 { animation-delay: .05s; }
.scene.is-active .ap-card--2 { animation-delay: .15s; }
.scene.is-active .ap-card--1 { animation: ap-deal .8s var(--ease-out) .25s both, ap-pick .7s cubic-bezier(.34, 1.5, .5, 1) 1.2s forwards; }
@keyframes ap-deal { from { opacity: 0; translate: 0 60px; } }
@keyframes ap-pick { to { rotate: -4deg; scale: 1.04; translate: 0 -6px; } }
.scene.is-active .ap-stamp { animation: ap-stamp .5s cubic-bezier(.34, 1.7, .5, 1) 1.5s forwards; }
@keyframes ap-stamp { to { transform: scale(1) rotate(-6deg); } }
.ap-hold {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  height: 44px;
  margin-top: auto;
  border-radius: 999px;
  background: rgba(4, 18, 34, .22);
  font-size: 12px;
  font-weight: 500;
}
.ap-hold i { position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: scaleX(0); transform-origin: 0 50%; }
.scene.is-active .ap-hold i { animation: ap-fill 1.2s cubic-bezier(.65, 0, .35, 1) 2.1s forwards; }
.scene.is-active .ap-hold { animation: press .35s ease 3.3s; }
@keyframes ap-fill { to { transform: scaleX(1); } }

/* 02 · sonar */
.ap-live { display: inline-flex; align-items: center; gap: 6px; }
.ap-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); animation: ping 1.8s var(--ease-out) infinite; }
.ap-radar { position: relative; width: 184px; height: 184px; margin: 28px auto 0; }
.ap-radar::before { content: ""; position: absolute; inset: 34px; border-radius: 50%; background: radial-gradient(circle, rgba(159, 204, 200, .28) 0%, rgba(159, 204, 200, 0) 70%); }
.ap-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(159, 204, 200, .5); opacity: 0; }
.scene.is-active .ap-ring { animation: ap-sonar 2.4s ease-out infinite; }
.scene.is-active .ap-ring:nth-child(2) { animation-delay: .8s; }
.scene.is-active .ap-ring:nth-child(3) { animation-delay: 1.6s; }
@keyframes ap-sonar { from { transform: scale(.38); opacity: 1; } to { transform: scale(1.08); opacity: 0; } }
.ap-doc { position: absolute; z-index: 2; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(247, 244, 236, .92); }
.ap-orb {
  position: absolute;
  z-index: 3;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 10px;
  background: rgba(247, 244, 236, .12);
  border: 1px solid rgba(247, 244, 236, .28);
  opacity: 0;
}
.scene.is-active .ap-orb { animation: ap-in .4s ease .2s forwards, ap-bob 1.6s ease-in-out .2s infinite alternate, ap-absorb .65s cubic-bezier(.6, 0, .4, 1) 1s forwards; }
.scene.is-active .ap-orb:nth-of-type(2) { animation-delay: .3s, .3s, 1.45s; }
.scene.is-active .ap-orb:nth-of-type(3) { animation-delay: .4s, .4s, 1.9s; }
@keyframes ap-in { to { opacity: 1; } }
@keyframes ap-bob { from { transform: translateY(-3px); } to { transform: translateY(3px); } }
@keyframes ap-absorb { to { translate: var(--tx) var(--ty); scale: .2; opacity: 0; } }
.ap-done {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: 12px 0 0 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sage);
  border: 2px solid #0A2236;
  transform: scale(0);
}
.ap-done svg { width: 14px; height: 14px; fill: none; stroke: var(--navy); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.scene.is-active .ap-done { animation: badge-pop .5s cubic-bezier(.34, 1.6, .5, 1) 2.5s forwards; }
.scene--scan .ap-h { margin-top: 26px; }
.scene--scan .ap-h em { color: var(--sage); }
.ap-meter { display: block; width: 64%; height: 4px; margin: 16px auto 0; border-radius: 4px; overflow: hidden; background: rgba(247, 244, 236, .14); }
.ap-meter i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--brand-teal), var(--sage)); }
.scene.is-active .ap-meter i { animation: ap-meter 2s var(--ease-io) .4s forwards; }
@keyframes ap-meter { to { width: 100%; } }
.ap-note { display: block; margin-top: 10px; text-align: center; font-size: 9.5px; color: rgba(247, 244, 236, .65); opacity: 0; }
.scene.is-active .ap-note { animation: ap-in .5s ease 2.6s forwards; }

/* 03 · chat + bottom sheet */
.ap-chat { display: flex; align-items: flex-end; gap: 8px; margin-top: 24px; }
.ap-ava { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); }
.ap-bubble {
  position: relative;
  width: 50px;
  min-height: 34px;
  padding: 10px 12px;
  border-radius: 16px 16px 16px 4px;
  overflow: hidden;
  color: var(--navy);
  background: rgba(255, 255, 255, .96);
  font-size: 11.5px;
  line-height: 1.4;
  box-shadow: 0 10px 24px -14px rgba(60, 10, 30, .5);
}
.ap-typing { position: absolute; left: 12px; top: 14px; display: flex; gap: 3px; }
.ap-typing i { width: 5px; height: 5px; border-radius: 50%; background: rgba(4, 18, 34, .45); animation: ap-bounce .9s ease-in-out infinite; }
.ap-typing i:nth-child(2) { animation-delay: .15s; }
.ap-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ap-bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
.ap-msg { display: block; width: 144px; max-height: 0; opacity: 0; }
.scene.is-active .ap-bubble { animation: ap-grow .5s var(--ease-out) 1.2s forwards; }
.scene.is-active .ap-typing { animation: ap-out .2s ease 1.2s forwards; }
.scene.is-active .ap-msg { animation: ap-msg .45s var(--ease-out) 1.35s forwards; }
@keyframes ap-grow { to { width: 168px; } }
@keyframes ap-out { to { opacity: 0; } }
@keyframes ap-msg { to { max-height: 60px; opacity: 1; } }
.ap-sheet {
  margin: auto -18px -50px -20px;
  padding: 10px 20px 58px;
  border-radius: 28px 28px 0 0;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 -18px 40px -20px rgba(60, 10, 30, .45);
  transform: translateY(105%);
}
.scene.is-active .ap-sheet { animation: ap-sheet .9s cubic-bezier(.2, 1.25, .4, 1) 1.7s forwards; }
@keyframes ap-sheet { to { transform: none; } }
.ap-grab { display: block; width: 34px; height: 4px; margin: 0 auto 12px; border-radius: 4px; background: rgba(4, 18, 34, .14); }
.ap-prod { display: flex; align-items: center; gap: 8px; }
.ap-prod img { height: 78px; width: auto; margin: -8px -4px -8px -12px; }
.scene.is-active .ap-prod img { animation: ap-pop .7s cubic-bezier(.34, 1.5, .5, 1) 2.2s both; }
@keyframes ap-pop { from { opacity: 0; rotate: -18deg; scale: .6; } }
.ap-prod b { display: block; font-family: var(--f-head); font-weight: 400; font-size: 15px; letter-spacing: -.02em; }
.ap-prod small { font-size: 10.5px; color: var(--ink-55); }
.ap-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ap-tags span { padding: 5px 9px; border-radius: 999px; background: #F8E4E9; color: #A64F67; font-size: 9.5px; font-weight: 500; }
.ap-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  height: 40px;
  margin-top: 12px;
  border-radius: 999px;
  background: #A64F67;
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
}
.ap-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); }
.scene.is-active .ap-cta::after { animation: ap-shine 1s ease 2.9s forwards; }
@keyframes ap-shine { to { transform: translateX(120%); } }

/* 04 · live activity + route */
.ap-island {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 30px;              /* just under the photo's own notch */
  width: 76px;
  height: 22px;
  margin-left: -38px;
  padding: 0 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  border-radius: 14px;
  color: var(--white);
  background: #0b0f10;
}
.scene.is-active .ap-island { animation: ap-island .7s cubic-bezier(.3, 1.3, .5, 1) .3s forwards; }
@keyframes ap-island { to { width: 206px; height: 48px; margin-left: -103px; border-radius: 26px; } }
.ap-island > * { opacity: 0; flex-shrink: 0; }
.scene.is-active .ap-island > * { animation: ap-in .4s ease .8s forwards; }
.ap-island__ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #E9A75C; color: var(--navy); }
.ap-island__ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.ap-island__txt b { display: block; font-size: 11px; font-weight: 600; white-space: nowrap; }
.ap-island__txt small { display: block; font-size: 9px; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.ap-island__eta { margin-left: auto; padding-right: 6px; font-size: 11px; font-weight: 600; color: #F4C68A; }
.ap-map { position: relative; height: 230px; margin: 40px -18px 0 -20px; }
.ap-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ap-block { fill: #E9DAC4; }
.ap-park { fill: #D3E3D6; }
.ap-route { fill: none; stroke: #D98B3E; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.scene.is-active .ap-route { animation: ap-draw 1.9s var(--ease-io) .8s forwards; }
@keyframes ap-draw { to { stroke-dashoffset: 0; } }
.ap-origin { fill: var(--white); stroke: #D98B3E; stroke-width: 3; }
.ap-van {
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--white);
  box-shadow: 0 4px 10px -2px rgba(4, 18, 34, .45);
  offset-path: path("M28 205C28 168 72 168 72 132S120 112 172 104 172 56 174 44");
  offset-distance: 0%;
  offset-rotate: 0deg;
}
.scene.is-active .ap-van { animation: ap-drive 1.9s var(--ease-io) .8s forwards; }
@keyframes ap-drive { to { offset-distance: 100%; } }
.ap-pin {
  position: absolute;
  left: 174px;
  top: 44px;
  width: 26px;
  height: 26px;
  margin: -30px 0 0 -13px;
  border-radius: 50% 50% 50% 0;
  background: var(--teal);
  transform: rotate(-45deg);
  box-shadow: 0 6px 12px -4px rgba(4, 18, 34, .4);
  opacity: 0;
}
.ap-pin::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--white); }
.scene.is-active .ap-pin { animation: ap-pin .6s cubic-bezier(.34, 1.6, .5, 1) 2.6s forwards; }
@keyframes ap-pin { from { opacity: 0; translate: 0 -22px; } to { opacity: 1; translate: 0 0; } }
.scene--route .ap-h { margin-top: 8px; }
.scene--route .ap-h em { color: #C0702A; }
.ap-deliv {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 11px 12px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 24px -14px rgba(4, 18, 34, .4);
  font-size: 11px;
  opacity: 0;
}
.ap-deliv b { display: block; font-weight: 600; }
.ap-deliv small { display: block; font-size: 9.5px; color: var(--ink-55); }
.ap-deliv__ok { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--teal); }
.ap-deliv__ok svg { width: 14px; height: 14px; fill: none; stroke: var(--white); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.scene.is-active .ap-deliv { animation: ap-rise .6s var(--ease-out) 2.9s forwards; }
@keyframes ap-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Steps rail beside the phone picks up each scene's colour */
.hiw__steps li:nth-child(1) i { background: #4F8988; }
.hiw__steps li:nth-child(2) i { background: var(--navy); }
.hiw__steps li:nth-child(3) i { background: #C46C81; }
.hiw__steps li:nth-child(4) i { background: #D98B3E; }

/* ---------- Why Dynamis Rx: blurred photo panel, columns of self-drawing line icons ---------- */
.why { padding: 0 0 120px; }
.why__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  border-radius: 36px;
  padding: 96px 56px 48px;
  color: var(--bone);
  background: var(--navy);
}
.why__bg { position: absolute; inset: 0; z-index: -1; }
.why__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px) saturate(1.1);
  transform: scale(1.12);
  animation: why-drift 30s ease-in-out infinite alternate;
}
@keyframes why-drift { from { transform: scale(1.12) translate(0, 0); } to { transform: scale(1.2) translate(-2%, 1.5%); } }
.why__bg span {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(36, 87, 90, .45) 0%, rgba(36, 87, 90, 0) 100%),
    linear-gradient(180deg, rgba(4, 18, 34, .55) 0%, rgba(4, 18, 34, .72) 55%, rgba(4, 18, 34, .9) 100%);
}

.why__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.why__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: rgba(247, 244, 236, .08);
  border: 1px solid rgba(247, 244, 236, .22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bone);
}
.why__eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }

.why__steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; }
.why-step { padding: 0 32px; border-left: 1px solid rgba(247, 244, 236, .16); }
.why-step:first-child { padding-left: 0; border-left: 0; }
.why-step:last-child { padding-right: 0; }
.why-step__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(247, 244, 236, .7);
}
.why-step__meta i { width: 28px; height: 1px; background: rgba(247, 244, 236, .4); }
.why-step h3 {
  margin-top: 28px;
  font-family: var(--f-head);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--bone);
}
.why-step p { margin-top: 12px; max-width: 34ch; font-size: var(--fs-body-sm); color: rgba(247, 244, 236, .72); }

/* Icon: strokes draw in one after another, then the accent fills and keeps breathing */
.why-icon { display: block; width: 76px; height: 76px; margin-top: 36px; overflow: visible; }
.why-icon path {
  stroke: var(--bone);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s var(--ease-io);
}
.why-icon .acc { stroke: var(--sage); fill: var(--sage); fill-opacity: 0; transform-box: fill-box; transform-origin: center; transition: stroke-dashoffset 1.1s var(--ease-io), fill-opacity .6s ease; }
.why-icon .acc-ink { stroke: var(--navy); stroke-width: 2.6; }
.why-step.is-in .why-icon path { stroke-dashoffset: 0; }
.why-step.is-in .why-icon path:nth-child(2) { transition-delay: .15s; }
.why-step.is-in .why-icon path:nth-child(3) { transition-delay: .3s; }
.why-step.is-in .why-icon path:nth-child(4) { transition-delay: .45s; }
.why-step.is-in .why-icon .acc { fill-opacity: .95; transition-delay: .6s, 1.3s; animation: acc-breathe 3.2s ease-in-out 2s infinite; }
.why-step.is-in .why-icon .acc-ink { transition-delay: 1.5s; }
@keyframes acc-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
/* Hover: the whole icon lifts and the accent glows */
.why-icon { transition: transform .6s var(--ease-out), filter .6s; }
.why-step:hover .why-icon { transform: translateY(-6px); filter: drop-shadow(0 10px 18px rgba(159, 204, 200, .35)); }

/* Partners + CTA on a glass strip */
.why__foot {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 80px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(247, 244, 236, .06);
  border: 1px solid rgba(247, 244, 236, .14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.why__foot .partner { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; }
.why__foot .partner + .partner { border-left: 1px solid rgba(247, 244, 236, .14); }
.partner__role { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(247, 244, 236, .6); }
.partner__name { margin-top: 2px; font-family: var(--f-head); font-weight: 400; font-size: 20px; letter-spacing: -.02em; color: var(--bone); }
.partner__links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; }
.partner a { width: fit-content; font-size: 15px; color: var(--sage); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out); }
.partner a:hover { background-size: 100% 1px; }
.why__btn { margin-right: 4px; }

@media (max-width: 1100px) {
  .why__panel { padding: 72px 32px 32px; }
  .why__steps { grid-template-columns: repeat(2, 1fr); row-gap: 56px; margin-top: 56px; }
  .why-step:nth-child(odd) { padding-left: 0; border-left: 0; }
  .why-step:nth-child(even) { padding-right: 0; }
  .why__foot { grid-template-columns: 1fr 1fr; }
  .why__btn { grid-column: 1 / -1; justify-self: start; margin: 4px 0 4px 16px; }
}
@media (max-width: 640px) {
  .why { padding-bottom: 72px; }
  .why__panel { border-radius: 28px; padding: 56px 20px 20px; }
  .why__steps { grid-template-columns: 1fr; row-gap: 0; margin-top: 40px; }
  .why-step { padding: 28px 0; border-left: 0; border-top: 1px solid rgba(247, 244, 236, .16); }
  .why-step:first-child { border-top: 0; padding-top: 8px; }
  .why-icon { width: 64px; height: 64px; margin-top: 24px; }
  .why-step h3 { margin-top: 20px; font-size: 21px; }
  .why__foot { grid-template-columns: 1fr; margin-top: 24px; padding: 8px; }
  .why__foot .partner + .partner { border-left: 0; border-top: 1px solid rgba(247, 244, 236, .14); }
  .why__btn { width: calc(100% - 8px); margin: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .why-icon path { stroke-dashoffset: 0; }
  .why-icon .acc { fill-opacity: .95; }
}

/* ---------- FAQ + footer links (state coverage statement) ---------- */
.faq__answer a,
.footer__notice a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.faq__answer a { color: var(--teal); }
.footer__notice a { color: var(--sage); }
.footer__notice a:hover { color: var(--bone); }

/* ---------- Final CTA + footer + chooser: Navy, lit with a little teal ---------- */
.cta__panel {
  background:
    radial-gradient(60% 80% at 50% 0%, #1F4E52 0%, rgba(31, 78, 82, 0) 70%),
    linear-gradient(180deg, #0A2236 0%, #041222 100%);
}
.footer { background: var(--navy); }
.footer__about { margin-top: 22px; }
.goals {
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(36, 87, 90, .85) 0%, rgba(36, 87, 90, 0) 70%),
    radial-gradient(50% 40% at 85% 100%, rgba(159, 204, 200, .12) 0%, rgba(159, 204, 200, 0) 70%),
    var(--navy);
}
.goals__bar { background: linear-gradient(180deg, var(--navy) 60%, rgba(4, 18, 34, 0)); }
.goal__thumb--teal { background: radial-gradient(circle at 50% 30%, #3E7C7C, #0A2236); }
