/* ==========================================================================
   Longevity Beyond layer (loaded last)
   Restrained on purpose: near-black type on off-white, white buttons, dark
   slate / petrol panels, pastel minis. The brand green only appears as the
   italic last word of a heading (deep green on light, pale green on dark)
   and in the logo. No glows or shadows on headings.
   ========================================================================== */

:root {
  --ink: #111111;
  --charcoal: #111111;
  --ink-70: rgba(17, 17, 17, .7);
  --ink-55: rgba(17, 17, 17, .55);
  --line: rgba(17, 17, 17, .1);
  --bg: #FDF9F1;
  --ivory: #FDF9F1;
  --pale: #F4EBDD;
  --accent: #A8862A;      /* italic word on light surfaces (brand green, deep enough to read) */
  --accent-soft: #D4AF37; /* italic word on dark surfaces and photos */
  --lime: var(--accent-soft);
  --lime-ink: var(--accent);
  --forest: #1A1A1A;
}
body { background: var(--bg); color: var(--ink); }

/* ---------- Headings ---------- */
.h-display, .h-section, .h-card, .mini__title, .cat__title, .sk__name, .tx__name, .wm__label, .sc__label, .more__label {
  font-weight: 400;
}
.h-display { letter-spacing: -.045em; color: var(--ink); }
.h-section, .h-card { letter-spacing: -.04em; }
.h-section:not(.h-section--light), .h-card--dark, .mini__title, .more__label { color: var(--ink); }
.h-display em, .h-section:not(.h-section--light) em, .h-card--dark em, .faq .h-section em, .docs .h-section em { color: var(--accent); }
.h-section--light em, .h-card em, .hiw--trt .h-card em, .goals__title em { color: var(--accent-soft); }
.h-section, .h-card, .h-display, .scn .h-section, .wm .h-section, .wm__label, .wm__lede { text-shadow: none !important; }

/* ---------- Trust bar + header (logo + one button) ---------- */
.announce { background: var(--ink); color: #fff; font-weight: 400; }
.announce__msg .dot { background: var(--accent-soft); box-shadow: none; }
.announce__nav { color: #fff; }
.announce__nav:hover { background: rgba(255, 255, 255, .1); }
.header { background: var(--bg); }
.header__inner { justify-content: space-between; }

.logo { gap: 8px; color: var(--ink); }
.logo__mark { width: 46px; height: 29px; }
.logo:hover .logo__mark { transform: none; }
.logo__word { font-family: var(--f-head); font-size: 21px; font-weight: 700; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.logo__word b { font-weight: 700; color: var(--ink); }
.logo__word i { font-style: normal; color: var(--accent); }
.logo--light .logo__word b { color: #fff; }
.logo--light .logo__word i { color: var(--accent-soft); }
@media (max-width: 640px) { .logo__word { font-size: 18px; } .logo__mark { width: 40px; height: 25px; } }

/* ---------- Buttons: white pill, ink text, ink slide-fill on hover. No icon circle. ---------- */
.btn { gap: 8px; }
.btn--primary, .btn--light {
  padding: 0 28px;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(17, 17, 17, .12);
  box-shadow: 0 8px 20px -14px rgba(17, 17, 17, .35);
}
.btn--primary::before, .btn--light::before { background: var(--ink); }
.btn--primary:hover, .btn--light:hover { color: #fff; background: #fff; border-color: var(--ink); box-shadow: 0 10px 22px -14px rgba(17, 17, 17, .45); }
/* on dark panels the fill is a soft off-white instead */
.wm .btn--primary, .cta .btn--primary, .footer .btn--primary, .goals .btn--primary { border-color: #fff; }
.wm .btn--primary::before, .cta .btn--primary::before, .footer .btn--primary::before, .goals .btn--primary::before { background: #F2ECE1; }
.wm .btn--primary:hover, .cta .btn--primary:hover, .footer .btn--primary:hover, .goals .btn--primary:hover { color: var(--ink); border-color: #F2ECE1; }
.scn--light .btn--primary { border-color: rgba(17, 17, 17, .12); }
.scn--light .btn--primary::before { background: var(--ink); }
.scn--light .btn--primary:hover { color: #fff; border-color: var(--ink); }
.btn__icon { display: none; }
.btn--sm { height: 42px; padding: 0 20px; font-size: 15px; }

.btn--ghost { color: var(--ink); border: 1px solid rgba(17, 17, 17, .18); background: transparent; }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2A3033; color: #fff; }
.link-arrow { color: var(--ink); }
.link-arrow:hover { text-decoration-color: var(--ink); }
.pulse { background: var(--accent); }
.pulse::after { border-color: var(--accent); }
:focus-visible { outline-color: var(--ink); }
.wm :focus-visible, .cta :focus-visible, .footer :focus-visible, .goals :focus-visible { outline-color: #fff; }

/* ==========================================================================
   Hero (the template's section 2, promoted)
   ========================================================================== */
.hero--lb { padding: 72px 0 104px; }
.hero--lb .hero__head { align-items: end; margin-bottom: 52px; }
.hero--lb .h-display { font-size: clamp(40px, 6vw, 92px); line-height: 1; }
.hero--lb .eyebrow { color: var(--ink); }
.hero--lb .hero__lede { max-width: 600px; font-size: 18px; color: var(--ink-70); }
.hero--lb .hero__cta { align-items: flex-end; gap: 22px; }
.hero--lb .hero__trust { flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.hero--lb .hero__trust li { font-size: 15px; color: var(--ink-70); }
.hero--lb .hero__trust svg { stroke: var(--ink); }

.cat:hover .arrow-btn { background: #fff; border-color: #fff; color: var(--ink); }

/* Four soft tints, as on the Karpa example */
.minis { grid-template-columns: repeat(4, 1fr); }
.mini--mint  { background: #DCEFE8; }
.mini--sand  { background: #EFE7D8; }
.mini--blush { background: #F5E0D8; }
.mini--sage  { background: #E2E8DC; }
.mini__vial--art { height: 150px; right: 10px; bottom: -6px; }

@media (max-width: 1024px) {
  .hero--lb .hero__head { grid-template-columns: 1fr; gap: 28px; }
  .hero--lb .hero__cta { align-items: flex-start; }
  .hero--lb .hero__trust { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .hero--lb { padding: 40px 0 72px; }
  .hero--lb .h-display .line > span { white-space: normal; }
  .hero--lb .hero__btns { width: 100%; flex-direction: column; }
  .hero--lb .hero__btns .btn { width: 100%; }
  .hero--lb .hero__trust { gap: 8px 16px; }
  .minis { grid-template-columns: 1fr 1fr; }
  .mini__vial--art { height: 108px; right: 4px; bottom: -4px; }
}

/* ---------- Card tags: one quiet white pill everywhere ---------- */
.tx__tag, .sk__tag, .dk__tag {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--ink) !important;
}

/* ---------- Tabs ---------- */
.tabs__bar { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(17, 17, 17, .06); isolation: isolate; }
.tabs__btn { position: relative; z-index: 1; height: 40px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-70); transition: color .3s; }
.tabs__btn.is-active { color: #fff; }
.tabs__thumb { position: absolute; z-index: 0; top: 4px; left: 0; height: 40px; border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease-out), width .5s var(--ease-out); }
.tabs__bar--dark { background: rgba(255, 255, 255, .1); }
.tabs__bar--dark .tabs__btn { color: rgba(255, 255, 255, .7); }
.tabs__bar--dark .tabs__btn.is-active { color: var(--ink); }
.tabs__bar--dark .tabs__thumb { background: #fff; }
.scn--light .tabs__bar--dark { background: rgba(17, 17, 17, .06); }
.scn--light .tabs__bar--dark .tabs__btn { color: var(--ink-70); }
.scn--light .tabs__bar--dark .tabs__btn.is-active { color: #fff; }
.scn--light .tabs__bar--dark .tabs__thumb { background: var(--ink); }
.wm__lineup-head--slider { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Four across on desktop; below 960px the template turns card rows into a swipe carousel */
@media (min-width: 961px) { .wm__cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ==========================================================================
   Peptides: dark petrol panel, warm light from the top right, the vials
   floating inside the moving text orbit
   ========================================================================== */
.wm--pep .wm__panel { background: linear-gradient(180deg, #0F3D46 0%, #0C323A 45%, #08242A 100%); }
.wm--pep .wm__panel::before {
  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(212, 175, 55, .12) 0%, rgba(212, 175, 55, 0) 100%);
}
.wm--pep .wm__panel::after { background: radial-gradient(120% 90% at 50% 30%, rgba(4, 4, 4, 0) 55%, rgba(4, 4, 4, .5) 100%); }
.wm--pep .wm__beam { opacity: .7; }
.wm--pep .wm__eyebrow { color: var(--accent-soft); }

.pep-stage { margin: 8px auto 0; }
.pep-stage__rays {
  position: absolute;
  inset: -30% -20%;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, .06) 0deg .6deg, rgba(255, 255, 255, 0) .6deg 5deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 75%);
          mask-image: radial-gradient(closest-side, #000 20%, transparent 75%);
  animation: rays-turn 120s linear infinite;
}
@keyframes rays-turn { to { transform: rotate(360deg); } }
.wm--pep .wm__glow { background: radial-gradient(circle, rgba(212, 175, 55, .28) 0%, rgba(212, 175, 55, .08) 45%, rgba(212, 175, 55, 0) 70%); }
.wm--pep .orbit__ch { color: var(--accent-soft); text-shadow: none; }
.wm--pep .wm__lineup { margin-top: 48px; }
@media (max-width: 640px) {
  .pep-stage { --R: 150px; --ch: 18px; --vial-h: 200px; height: 380px; }
}

/* Body map on the dark panel */
.xcard--night { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #fff; }
.xcard--night .h-card { color: #fff; }
.xcard--night .xcard__copy > p, .xcard--night .xcard__caption, .xcard--night .body-map__label { color: rgba(255, 255, 255, .66); }
.xcard--night .body-map__glow { background: radial-gradient(circle, rgba(212, 175, 55, .16) 0%, rgba(212, 175, 55, 0) 65%); }
.xcard--night .hotspot__dot { background: #fff; }

/* "Dissolves under the tongue": copy + steps beside an animated troche */
.dissolve {
  position: relative;
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 48px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  overflow: hidden;
}
.dissolve__kicker { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 18px; }
.dissolve .h-card { color: #fff; }
.dissolve__lede { margin-top: 16px; max-width: 380px; font-size: var(--fs-body-sm); color: rgba(255, 255, 255, .7); }
.dissolve__steps { margin-top: 32px; display: grid; }
.dissolve__steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  opacity: .45;
  animation: dissolve-step 9s infinite;
}
.dissolve__steps li:nth-child(2) { animation-delay: 3s; }
.dissolve__steps li:nth-child(3) { animation-delay: 6s; }
@keyframes dissolve-step { 0%, 30% { opacity: 1; } 36%, 100% { opacity: .45; } }
.dissolve__steps span { font-size: 13px; padding-top: 3px; color: var(--accent-soft); }
.dissolve__steps b { display: block; font-weight: 500; }
.dissolve__steps small { display: block; margin-top: 2px; font-size: 14px; color: rgba(255, 255, 255, .6); }

.dissolve__visual { position: relative; justify-self: center; width: min(100%, 380px); aspect-ratio: 1; }
.dissolve__visual::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02) 70%); }
.dissolve__progress { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.dissolve__progress circle { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 1.5; }
.dissolve__progress .dissolve__arc { stroke: var(--accent-soft); stroke-linecap: round; stroke-dasharray: 0 100; animation: dissolve-arc 9s linear infinite; }
@keyframes dissolve-arc { 0% { stroke-dasharray: 0 100; opacity: 1; } 90% { stroke-dasharray: 100 0; opacity: 1; } 100% { stroke-dasharray: 100 0; opacity: 0; } }
.dissolve__troche {
  position: absolute;
  left: 50%; top: 50%;
  width: 34%; aspect-ratio: 1;
  margin: -17% 0 0 -17%;
  border-radius: 34%;
  background: radial-gradient(circle at 38% 32%, #fff 0%, #F1F2EE 45%, #D9DCD6 100%);
  box-shadow: inset 0 -8px 16px rgba(0, 0, 0, .12), 0 24px 40px -18px rgba(0, 0, 0, .6);
  animation: dissolve-troche 9s ease-in-out infinite;
}
@keyframes dissolve-troche {
  0%   { transform: scale(1); opacity: 1; filter: blur(0); border-radius: 34%; }
  70%  { transform: scale(.45); opacity: .7; filter: blur(1px); border-radius: 50%; }
  90%  { transform: scale(.1); opacity: 0; filter: blur(4px); }
  100% { transform: scale(1); opacity: 0; }
}
.dissolve__rings i { position: absolute; left: 33%; top: 33%; width: 34%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(212, 175, 55, .35); opacity: 0; animation: dissolve-ring 3s ease-out infinite; }
.dissolve__rings i:nth-child(2) { animation-delay: 1s; }
.dissolve__rings i:nth-child(3) { animation-delay: 2s; }
@keyframes dissolve-ring { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }
.dissolve__dots i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: rgba(255, 255, 255, .7); opacity: 0; transform: rotate(var(--a)) translateY(0); animation: dissolve-dot 9s ease-out infinite; }
@keyframes dissolve-dot { 0%, 20% { opacity: 0; transform: rotate(var(--a)) translateY(0); } 40% { opacity: .8; } 85% { opacity: 0; transform: rotate(var(--a)) translateY(-120px); } 100% { opacity: 0; } }
@media (max-width: 960px) { .dissolve { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; } .dissolve__visual { width: min(100%, 300px); } }
@media (prefers-reduced-motion: reduce) {
  .dissolve__steps li, .dissolve__troche, .dissolve__rings i, .dissolve__dots i, .dissolve__arc, .pep-stage__rays { animation: none; }
  .dissolve__steps li { opacity: 1; }
}

/* ==========================================================================
   Layered scenes (.scn): background plate + drifting cards + cut-out person.
   Same trick as the MORYU weight section: the panel above the photo is the
   photo's own sky colour (sampled: #2B8BD8), and the whole scene fades out on
   an eased curve into a flat base that sits with the photo's lower tones.
   Light and dark bases alternate down the page.
   When new images arrive, re-sample --sky from the background's top edge.
   ========================================================================== */
.scn { --sky: #2B8BD8; --base: #1E2A2C; --base-2: #162022; }
.scn--light { --base: #E8ECE8; --base-2: #F0F2EF; }

.scn .wm__panel { padding-top: 0; background: linear-gradient(180deg, var(--sky) 0, var(--sky) 80px, var(--base) 560px, var(--base) 70%, var(--base-2) 100%); }
.scn .wm__panel::before, .scn .wm__panel::after { display: none; }
.scn .trt-scene::after { display: none; }
.scn .trt-scene {
  -webkit-mask-image: linear-gradient(180deg,
    rgba(0, 0, 0, 0) 0%, #000 5%, #000 56%,
    rgba(0, 0, 0, .9) 62%, rgba(0, 0, 0, .72) 68%, rgba(0, 0, 0, .5) 74%,
    rgba(0, 0, 0, .3) 80%, rgba(0, 0, 0, .13) 86%, rgba(0, 0, 0, .04) 92%, rgba(0, 0, 0, 0) 98%);
          mask-image: linear-gradient(180deg,
    rgba(0, 0, 0, 0) 0%, #000 5%, #000 56%,
    rgba(0, 0, 0, .9) 62%, rgba(0, 0, 0, .72) 68%, rgba(0, 0, 0, .5) 74%,
    rgba(0, 0, 0, .3) 80%, rgba(0, 0, 0, .13) 86%, rgba(0, 0, 0, .04) 92%, rgba(0, 0, 0, 0) 98%);
}
.scn .wm__eyebrow { color: #fff; }
.scn .trt-scene__note { color: rgba(255, 255, 255, .75); }
.scn .tx:hover { border-color: rgba(255, 255, 255, .4); }
.scn--dark .tx::before { background: radial-gradient(circle, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 68%); }

/* light base: frosted white cards, ink text */
.scn--light .tx { background: rgba(255, 255, 255, .62); border-color: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.scn--light .tx::before { background: radial-gradient(circle, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 68%); }
.scn--light .tx:hover { border-color: rgba(17, 17, 17, .2); }
.scn--light .tx__name, .scn--light .tx__link, .scn--light .wm__label { color: var(--ink); }
.scn--light .tx__meta, .scn--light .wm__disclaimer { color: var(--ink-70); }
.scn--light .tx__link { border-top-color: var(--line); }
.scn--light .tx__media img { filter: drop-shadow(0 22px 20px rgba(17, 17, 17, .18)); }

/* BMI card on the light weight-loss base */
.scn--light .bmi-card { background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.scn--light .bmi-card::before { display: none; }
.scn--light .bmi-card .h-card { color: var(--ink); }
.scn--light .bmi-card .h-card em { color: var(--accent); }
.scn--light .bmi-card__copy p, .scn--light .bmi-card__caption { color: var(--ink-70); }
.scn--light .bmi-card__range { color: var(--ink); }
.scn--light .bmi-card__range span { color: rgba(17, 17, 17, .35); }
.scn--light .gauge__track { stroke: rgba(17, 17, 17, .07); }
.scn--light .gauge__needle line { stroke: var(--ink); }
.scn--light .gauge__needle circle { fill: var(--ink); }
.scn--light .gauge--card { filter: none; }
.scn .bmi-card { margin-top: 56px; }

/* drifting deck cards sit on the photo: keep them a calm dark glass */
.dk { background: rgba(21, 28, 31, .6); border-color: rgba(255, 255, 255, .14); }
.dk__line li::before { background: #2C3739; }

/* How it works inside the sexual health panel */
.hiw--trt { margin-top: 72px; }
.hiw--trt .wm__eyebrow--left { margin-bottom: 16px; color: rgba(255, 255, 255, .6); }
.hiw--trt .wm__eyebrow--left::before { display: none; }
.hiw .s1-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hiw .s1-days span { width: auto; font-size: 13px; }

/* ---------- Why Longevity Beyond ---------- */
.docs { padding-top: 112px; }
.docs__list li { background: #fff; }
.docs__list--4 { grid-template-columns: 1fr 1fr; }
.docs__list a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.docs__ic { background: var(--pale) !important; }
.docs__ic svg { stroke: var(--ink) !important; }
.trust__tag { color: var(--ink); }
.trust__tag::before { background: var(--accent); }
@media (max-width: 760px) { .docs__list--4 { grid-template-columns: 1fr; } }

/* ---------- CTA, footer ---------- */
.cta__panel { background: linear-gradient(180deg, #0F3D46 0%, #08242A 100%); position: relative; }
.cta__panel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(38% 40% at 82% 0%, rgba(255, 242, 222, .26) 0%, rgba(255, 242, 222, 0) 100%); }
.cta .wm__eyebrow { color: rgba(255, 255, 255, .6); }
.cta__chips a:hover { background: #fff; border-color: #fff; color: var(--ink); }
.footer { background: var(--ink); }
.footer__tagline em { color: var(--accent-soft); }
.footer__label { color: rgba(255, 255, 255, .5); }
.footer__col a:hover, .footer__notice a:hover { color: #fff; }
.footer__todo { color: rgba(255, 255, 255, .5); }
.footer__notice a { text-decoration-color: rgba(255, 255, 255, .35); }
@media (max-width: 640px) { .more__head { flex-wrap: wrap; gap: 6px 16px; } .more__head .link-arrow { font-size: 14px; } }

/* ==========================================================================
   Brand pass: exactly two client colours from the logo.
   Navy #111111 (primary: trust bar, light-surface buttons, peptides, CTA,
   footer, logo wordmark) and green #A8862A (accent: italic words, icons).
   ========================================================================== */
:root { --navy: #111111; --navy-hover: #2A2A2A; --navy-deep: #000000; --green: #A8862A; }

.announce { background: var(--navy); }
.logo__word b { color: var(--navy); }

/* Buttons on light surfaces: navy pill, white text */
.btn--primary, .btn--dark, .scn--light .btn--primary {
  background: var(--navy); color: #fff; border-color: var(--navy);
  box-shadow: 0 10px 22px -14px rgba(17, 17, 17, .6);
}
.btn--primary::before, .btn--dark::before, .scn--light .btn--primary::before { background: var(--navy-hover); }
.btn--primary:hover, .btn--dark:hover, .scn--light .btn--primary:hover { color: #fff; background: var(--navy); border-color: var(--navy-hover); }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); }
/* On navy / dark panels the button stays white so it reads */
.wm:not(.scn--light) .btn--primary, .cta .btn--primary, .footer .btn--primary, .goals .btn--primary {
  background: #fff; color: var(--navy); border-color: #fff; box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .5);
}
.wm:not(.scn--light) .btn--primary::before, .cta .btn--primary::before, .footer .btn--primary::before, .goals .btn--primary::before { background: #F5EEE2; }
.wm:not(.scn--light) .btn--primary:hover, .cta .btn--primary:hover, .footer .btn--primary:hover, .goals .btn--primary:hover { color: var(--navy); border-color: #F5EEE2; }
.btn--light, .bmi-card__btn { background: var(--navy) !important; color: #fff !important; border-color: var(--navy) !important; }

/* Hero: trust icons in brand green */
.hero--lb .hero__trust svg, .docs__ic svg { stroke: var(--green) !important; }
.hero--lb .hero__trust li { color: var(--ink); }

/* Tabs on light surfaces: navy thumb */
.tabs__thumb, .scn--light .tabs__bar--dark .tabs__thumb { background: var(--navy); }
.tabs__bar--dark .tabs__thumb { background: #fff; }
.tabs__bar--dark .tabs__btn.is-active { color: var(--navy); }

/* More ways we can help: two soft brand tints mixed with the two warm neutrals */
.mini--mint  { background: #E2F0DF; }   /* green tint */
.mini--sand  { background: #EFE7D8; }
.mini--blush { background: #F5E0D8; }
.mini--sage  { background: #E0E8F2; }   /* navy tint */

/* Peptides: brand navy, warm light still coming from the top right */
.wm--pep .wm__panel { background: linear-gradient(180deg, #1C1C1C 0%, var(--navy) 45%, var(--navy-deep) 100%); }
.wm--pep .wm__panel::after { background: radial-gradient(120% 90% at 50% 30%, rgba(3, 3, 3, 0) 55%, rgba(3, 3, 3, .5) 100%); }

/* Closing CTA and footer in navy as well (brief: navy footer) */
.cta__panel { background: linear-gradient(180deg, #1C1C1C 0%, var(--navy-deep) 100%); }
.footer { background: var(--navy-deep); }
.goals { background: var(--navy-deep); }
.faq__item[open] > summary i { background: var(--navy) !important; border-color: var(--navy) !important; }

/* Slide-fill colour for outline / dark buttons: navy, never black */
.btn--ghost, .btn--dark, .btn--light { --btn-fill: var(--navy); }
.btn--ghost:hover { color: #fff; }

/* More ways we can help: four soft shades between the two brand colours,
   green (Hair) -> green-blue -> light navy -> navy (Men's TRT) */
.mini--mint  { background: #E1EFDE; }
.mini--sand  { background: #DFECE9; }
.mini--blush { background: #E3EAF3; }
.mini--sage  { background: #D8E2EF; }

/* ==========================================================================
   Scene bases in brand colours: dark sections fade into navy, light sections
   into a pale wash of the brand green (the same family as the phone UI tint).
   ========================================================================== */
.scn { --base: #0A0A0A; --base-2: #000000; }
.scn--light { --base: #EFE6D6; --base-2: #EEF6F4; }
.scn--dark .tx { background: linear-gradient(165deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, .04) 100%); }
.dk { background: rgba(0, 0, 0, .62); }
.dk__line li::before { background: #1B5352; }

/* How it works phone: navy-led screens, green only for picks and small accents */
.hiw .m-s1 { background: #EEF5F3; }
.hiw .s1-lab__ic { background: var(--navy); }
.hiw .s1-lab__ic svg { stroke: var(--accent-soft); }
.hiw .s1-days span, .hiw .s1-times span { background: #fff; color: var(--navy); }
@keyframes m-pick-lb { to { background: var(--navy); color: #fff; } }
.hiw .scene.is-active .s1-days .m-pick { animation-name: m-pick-lb; }
.hiw .scene.is-active .s1-times .m-pick { animation-name: m-pick-lb; }
.hiw .m-cta { background: var(--navy); }
.hiw .m-cta i { background: var(--accent-soft); }
.hiw .m-cta svg { stroke: var(--navy); }
.hiw .m-title { color: var(--navy); }
.hiw .m-s2 .m-title, .hiw .m-s4 .m-title { color: #fff; }

.hiw .m-s2 { background: var(--navy); }
.hiw .s2-hero, .hiw .s2-list li { background: #164A49; }
.hiw .s2-bars i { background: #215E5D; }
.hiw .s2-toast { background: #fff; color: var(--navy); }
.hiw .s2-toast i { background: var(--navy); }

.hiw .m-s3 { background: #fff; }
.hiw .s3-plan { background: var(--navy); }

.hiw .m-s4 { background: var(--navy-deep); }
.hiw .s4-pack { background: #EFE6D6; }
.hiw .s4-pack path { stroke: var(--navy); }
.hiw .s4-steps { background: #164A49; }
.hiw .mp__home { background: var(--navy); }
.hiw .mp__screen[data-active="1"] .mp__home, .hiw .mp__screen[data-active="3"] .mp__home { background: #fff; }

/* How-it-works step list: active step in white, not green */
.hiw--trt .hiw__steps li.is-active span { background: #fff; color: var(--navy); }
.hiw--trt .hiw__steps li span { background: rgba(255, 255, 255, .1); color: #fff; }
.hiw--trt .hiw__steps li i { background: var(--accent-soft); }

/* ---------- Product rows: exactly three cards, arrows for the rest ---------- */
@media (min-width: 961px) {
  .wm__cards--slider[data-track] { grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; -webkit-mask-image: none; mask-image: none; border-radius: 24px; }
}
.slider-nav[hidden] { display: none; }
.lineup-tools { display: flex; align-items: center; gap: 12px; }
.scn--dark .slider-btn, .wm--pep .slider-btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); color: #fff; }
.slider-btn:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: #fff; }
.scn--dark .slider-btn:hover:not(:disabled) { background: #fff; color: var(--navy); }

/* Labelled product shots are full 1254px frames: let them fill the card media area */
.tx__media img[src*="products/lb/"] { height: 230px; width: auto; }
.mini__vial[src*="products/lb/"] { height: 180px; right: 6px; bottom: -22px; transform: rotate(4deg); }

/* More ways we can help: an A-B-A-B rhythm. Cards 1 and 3 are greens, 2 and 4 are navies,
   each a different shade so all four stay distinct. */
.mini--mint  { background: #E2F0DE; }  /* 1 soft green */
.mini--sand  { background: #E3EAF4; }  /* 2 soft navy */
.mini--blush { background: #D8ECE0; }  /* 3 deeper mint green */
.mini--sage  { background: #D8E2F0; }  /* 4 deeper steel navy */
.wm--pep .wm__vial--a[src*="products/lb/"] { height: 300px; } .wm--pep .wm__vial--b[src*="products/lb/"] { height: 380px; }

/* ---------- Peptides orbit: one big injectable pen, loose tablets resting in front ---------- */
.wm--pep .pep-pen[src*="products/lb/"] { height: 480px; animation: pep-float 7s ease-in-out infinite; }
@keyframes pep-float {
  0%, 100% { transform: translate(-50%, calc(-50% - 8px)) rotateZ(-9deg); }
  50%      { transform: translate(-50%, calc(-50% + 8px)) rotateZ(-6deg); }
}
.pep-tabs { position: absolute; z-index: 3; left: 57%; bottom: 6px; height: 120px; width: auto; filter: drop-shadow(0 18px 16px rgba(0, 0, 0, .35)); animation: trt-float 8s ease-in-out -3s infinite; }
@media (max-width: 640px) {
  .wm--pep .pep-pen[src*="products/lb/"] { height: 300px; }
  .pep-tabs { height: 76px; left: 56%; bottom: 0; }
}

/* ---------- Skin care: the dark base in deep brand green instead of navy ---------- */
.scn--forest { --base: #141414; --base-2: #060606; }
.scn--forest .dk { background: rgba(6, 6, 6, .62); }
.scn--forest .dk__line li::before { background: #1A5654; }

/* ==========================================================================
   How it works: four app screens, built for Longevity Beyond.
   1 intake (light) / 2 provider review (navy) / 3 plan (white) / 4 delivery (deep navy).
   Every animation starts when the scene becomes .is-active (main.js cycles them).
   ========================================================================== */
.ls { color: var(--navy); }
.ls-1 { background: #F3F7F5; }
.ls-2 { background: var(--navy); color: #fff; }
.ls-3 { background: #fff; }
.ls-4 { background: var(--navy-deep); color: #fff; }
.ls-kicker { margin-top: 10px; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .55; }
.ls-title { margin: 6px 0 14px; font-family: var(--f-head); font-weight: 600; font-size: 25px; line-height: 1.04; letter-spacing: -.04em; }
@keyframes ls-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ls.is-active .ls-title { animation: ls-in .5s var(--ease-out) both; }

/* 1 / intake */
.ls-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 4px; }
.ls-progress i { position: relative; height: 4px; border-radius: 4px; background: rgba(17, 17, 17, .12); overflow: hidden; }
.ls-progress i:first-child::after { content: ""; position: absolute; inset: 0; width: 0; border-radius: inherit; background: var(--navy); }
.ls-1.is-active .ls-progress i:first-child::after { animation: ls-grow .9s var(--ease-out) .2s forwards; }
@keyframes ls-grow { to { width: 100%; } }
.ls-goals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ls-goal { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 11px 11px 12px; border-radius: 16px; background: #fff; font-size: 11.5px; font-weight: 600; line-height: 1.2; box-shadow: 0 6px 14px -10px rgba(17, 17, 17, .3); }
.ls-goal i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: #E6F1EF; }
.ls-goal svg { width: 16px; height: 16px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ls-goal b { position: absolute; top: 9px; right: 9px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); transform: scale(0); }
.ls-goal b svg { width: 12px; height: 12px; stroke: var(--navy); stroke-width: 2.6; }
.ls-1.is-active .ls-goal { animation: ls-in .45s var(--ease-out) both; }
.ls-1.is-active .ls-goal:nth-child(2) { animation-delay: .08s; }
.ls-1.is-active .ls-goal:nth-child(3) { animation-delay: .16s; }
.ls-1.is-active .ls-goal:nth-child(4) { animation-delay: .24s; }
.ls-1.is-active .ls-goal--pick { animation: ls-in .45s var(--ease-out) both, ls-pick .35s ease 1.15s forwards; }
@keyframes ls-pick { 40% { transform: scale(.94); } 100% { transform: scale(1); background: var(--navy); color: #fff; } }
.ls-1.is-active .ls-goal--pick i { animation: ls-pick-ic .3s ease 1.2s forwards; }
@keyframes ls-pick-ic { to { background: rgba(255, 255, 255, .14); } }
.ls-1.is-active .ls-goal--pick i svg { animation: ls-pick-svg .3s ease 1.2s forwards; }
@keyframes ls-pick-svg { to { stroke: #fff; } }
.ls-1.is-active .ls-goal--pick b { animation: ls-pop .4s cubic-bezier(.3, 1.6, .5, 1) 1.35s forwards; }
@keyframes ls-pop { to { transform: scale(1); } }

.ls-switch { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 11px 12px; border-radius: 16px; background: #fff; box-shadow: 0 6px 14px -10px rgba(17, 17, 17, .3); }
.ls-switch b { display: block; font-size: 11.5px; font-weight: 600; }
.ls-switch small { display: block; margin-top: 2px; font-size: 10px; opacity: .55; }
.ls-switch__track { position: relative; flex: none; width: 40px; height: 24px; border-radius: 99px; background: rgba(17, 17, 17, .15); }
.ls-switch__track i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); }
.ls-1.is-active .ls-switch { animation: ls-in .45s var(--ease-out) .32s both; }
.ls-1.is-active .ls-switch__track { animation: ls-on .3s ease 2.3s forwards; }
.ls-1.is-active .ls-switch__track i { animation: ls-knob .3s var(--ease-out) 2.3s forwards; }
@keyframes ls-on { to { background: var(--green); } }
@keyframes ls-knob { to { transform: translateX(16px); } }

.ls-btn { position: relative; display: grid; place-items: center; height: 46px; margin-top: auto; border-radius: 99px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; overflow: hidden; }
.ls-btn i { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(255, 255, 255, .16); }
.ls-btn em { position: relative; font-style: normal; }
.ls-1.is-active .ls-btn i { animation: ls-grow .7s ease 3.3s forwards; }

/* the "finger": taps the goal, the switch, then the button */
.ls-tap { position: absolute; z-index: 3; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(17, 17, 17, .14); border: 2px solid rgba(17, 17, 17, .35); opacity: 0; pointer-events: none; }
.ls-1.is-active .ls-tap { animation: ls-tap 4s ease .5s both; }
@keyframes ls-tap {
  0%   { opacity: 0; left: 70%; top: 85%; transform: scale(1); }
  12%  { opacity: 1; }
  15%  { left: 27%; top: 42%; transform: scale(1); }
  19%  { transform: scale(.75); }
  23%  { transform: scale(1); left: 27%; top: 42%; }
  38%  { left: 84%; top: 68%; transform: scale(1); }
  44%  { transform: scale(.75); }
  48%  { transform: scale(1); left: 84%; top: 68%; }
  64%  { left: 50%; top: 89%; transform: scale(1); }
  70%  { transform: scale(.75); }
  76%  { transform: scale(1); opacity: 1; }
  90%, 100% { left: 50%; top: 89%; opacity: 0; }
}

/* 2 / provider review */
.ls-radar { position: relative; width: 168px; height: 168px; margin: 4px auto 16px; border-radius: 50%; }
.ls-radar__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); }
.ls-radar__ring--2 { inset: 26px; border-style: dashed; border-color: rgba(255, 255, 255, .18); animation: ls-spin 18s linear infinite reverse; }
.ls-radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(212, 175, 55, 0) 0deg, rgba(212, 175, 55, 0) 280deg, rgba(212, 175, 55, .38) 359deg, rgba(212, 175, 55, 0) 360deg); animation: ls-spin 2.4s linear infinite; }
@keyframes ls-spin { to { transform: rotate(360deg); } }
.ls-radar img { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .08); }
.ls-radar__dot { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--accent-soft); transform: rotate(var(--a)) translateY(-70px); opacity: .25; }
.ls-2.is-active .ls-radar__dot { animation: ls-blip 2.4s ease infinite; animation-delay: calc(var(--a) / 360deg * 2.4s); }
@keyframes ls-blip { 0%, 100% { opacity: .25; } 8% { opacity: 1; box-shadow: 0 0 0 4px rgba(212, 175, 55, .25); } 30% { opacity: .35; } }
.ls-2.is-active .ls-radar { animation: ls-in .5s var(--ease-out) .1s both; }

.ls-checks li { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .07); font-size: 12px; font-weight: 500; opacity: .45; }
.ls-checks svg { flex: none; width: 20px; height: 20px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ls-checks circle { stroke: rgba(255, 255, 255, .25); }
.ls-checks path { stroke: var(--accent-soft); stroke-dasharray: 20; stroke-dashoffset: 20; }
.ls-2.is-active .ls-checks li { animation: ls-row .3s ease forwards; }
.ls-2.is-active .ls-checks li path { animation: ls-draw .45s ease forwards; }
.ls-2.is-active .ls-checks li circle { animation: ls-ring .3s ease forwards; }
.ls-2.is-active .ls-checks li:nth-child(1), .ls-2.is-active .ls-checks li:nth-child(1) path, .ls-2.is-active .ls-checks li:nth-child(1) circle { animation-delay: 1s; }
.ls-2.is-active .ls-checks li:nth-child(2), .ls-2.is-active .ls-checks li:nth-child(2) path, .ls-2.is-active .ls-checks li:nth-child(2) circle { animation-delay: 1.8s; }
.ls-2.is-active .ls-checks li:nth-child(3), .ls-2.is-active .ls-checks li:nth-child(3) path, .ls-2.is-active .ls-checks li:nth-child(3) circle { animation-delay: 2.6s; }
@keyframes ls-row { to { opacity: 1; background: rgba(255, 255, 255, .11); } }
@keyframes ls-draw { to { stroke-dashoffset: 0; } }
@keyframes ls-ring { to { stroke: var(--accent-soft); } }
.ls-live { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; padding: 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); font-size: 11px; font-weight: 500; }
.ls-live i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-soft); }
.ls-live i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--accent-soft); animation: pulse-ring 2s var(--ease-out) infinite; }

/* 3 / plan */
.ls-plan { position: relative; overflow: hidden; padding: 6px 14px 16px; border-radius: 22px; background: linear-gradient(180deg, #F3F7F5 0%, #fff 100%); border: 1px solid rgba(17, 17, 17, .08); text-align: center; }
.ls-plan__halo { position: absolute; left: 50%; top: 16px; width: 170px; height: 170px; margin-left: -85px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 55, .8) 0%, rgba(212, 175, 55, 0) 68%); }
.ls-plan img { position: relative; display: block; height: 150px; width: auto; margin: -6px auto -8px; }
.ls-plan b { position: relative; display: block; font-family: var(--f-head); font-size: 18px; letter-spacing: -.03em; }
.ls-plan small { position: relative; display: block; margin-top: 3px; font-size: 10px; opacity: .6; }
.ls-plan__chips { position: relative; display: flex; justify-content: center; gap: 5px; margin-top: 10px; }
.ls-plan__chips em { padding: 4px 9px; border-radius: 99px; background: rgba(17, 17, 17, .07); font-style: normal; font-size: 10px; font-weight: 600; }
.ls-3.is-active .ls-plan { animation: ls-in .5s var(--ease-out) .1s both; }
.ls-3.is-active .ls-plan img { animation: ls-rise .9s cubic-bezier(.2, 1.3, .4, 1) .35s both; }
@keyframes ls-rise { from { opacity: 0; transform: translateY(36px) scale(.85) rotate(-6deg); } to { opacity: 1; transform: none; } }
.ls-3.is-active .ls-plan__halo { animation: glow-breathe 3s ease-in-out infinite; }
.ls-3.is-active .ls-plan__chips em { animation: ls-in .4s var(--ease-out) both; }
.ls-3.is-active .ls-plan__chips em:nth-child(1) { animation-delay: 1s; }
.ls-3.is-active .ls-plan__chips em:nth-child(2) { animation-delay: 1.15s; }

.ls-slide { position: relative; display: grid; place-items: center; height: 52px; margin-top: auto; border-radius: 99px; background: rgba(17, 17, 17, .07); overflow: hidden; font-size: 12.5px; font-weight: 600; }
.ls-slide::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 52px; border-radius: inherit; background: var(--navy); }
.ls-slide i { position: absolute; z-index: 2; left: 4px; top: 4px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.ls-slide i svg { width: 18px; height: 18px; fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ls-slide em { position: relative; z-index: 1; font-style: normal; opacity: .55; }
.ls-slide b { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; color: #fff; opacity: 0; }
.ls-3.is-active .ls-slide::before { animation: ls-fill .9s cubic-bezier(.6, 0, .3, 1) 2.2s forwards; }
.ls-3.is-active .ls-slide i { animation: ls-knob-run .9s cubic-bezier(.6, 0, .3, 1) 2.2s forwards; }
.ls-3.is-active .ls-slide em { animation: ls-fade .3s ease 2.3s forwards; }
.ls-3.is-active .ls-slide b { animation: ls-show .3s ease 3.1s forwards; }
@keyframes ls-fill { to { width: 100%; } }
@keyframes ls-knob-run { to { left: calc(100% - 48px); } }
@keyframes ls-fade { to { opacity: 0; } }
@keyframes ls-show { to { opacity: 1; } }

/* 4 / delivery */
.ls-map { position: relative; border-radius: 20px; background: #0C3333; overflow: hidden; aspect-ratio: 240 / 170; }
.ls-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ls-map__roads { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 7; }
.ls-map__route { fill: none; stroke: var(--accent-soft); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.ls-4.is-active .ls-map__route { animation: ls-draw 2.4s ease-in-out .3s forwards; }
.ls-map__pin { position: absolute; display: grid; place-items: center; border-radius: 50%; }
.ls-map__pin--a { left: 12.5%; top: 82.4%; width: 12px; height: 12px; margin: -6px; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .18); }
.ls-map__pin--b { left: 83.3%; top: 18.8%; width: 28px; height: 28px; margin: -14px; background: #fff; box-shadow: 0 0 0 6px rgba(212, 175, 55, .22); }
.ls-map__pin--b svg { width: 14px; height: 14px; fill: var(--navy); }
.ls-map__van { fill: var(--accent-soft); stroke: rgba(212, 175, 55, .3); stroke-width: 10; paint-order: stroke; offset-path: path("M30 140 C30 95 80 95 120 95 S190 70 200 32"); offset-rotate: 0deg; offset-distance: 0%; }
.ls-4.is-active .ls-map__van { animation: ls-drive 2.4s ease-in-out .3s forwards; }
@keyframes ls-drive { to { offset-distance: 100%; } }
.ls-eta { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .08); }
.ls-eta small { display: block; font-size: 10px; opacity: .6; }
.ls-eta b { font-family: var(--f-head); font-size: 20px; letter-spacing: -.03em; }
.ls-eta em { padding: 4px 9px; border-radius: 99px; background: rgba(212, 175, 55, .16); color: var(--accent-soft); font-style: normal; font-size: 10px; font-weight: 600; }
.ls-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 14px; }
.ls-track::before { content: ""; position: absolute; left: 6px; right: 6px; top: 5px; height: 2px; background: rgba(255, 255, 255, .14); }
.ls-track li { position: relative; padding-top: 16px; font-size: 9.5px; opacity: .45; }
.ls-track li::before { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: #1B5352; border: 2px solid rgba(255, 255, 255, .25); box-sizing: border-box; }
.ls-4.is-active .ls-track li:nth-child(-n+3) { animation: ls-step .3s ease forwards; }
.ls-4.is-active .ls-track li:nth-child(-n+3)::before { animation: ls-step-dot .3s ease forwards; }
.ls-4.is-active .ls-track li:nth-child(1), .ls-4.is-active .ls-track li:nth-child(1)::before { animation-delay: .2s; }
.ls-4.is-active .ls-track li:nth-child(2), .ls-4.is-active .ls-track li:nth-child(2)::before { animation-delay: 1.1s; }
.ls-4.is-active .ls-track li:nth-child(3), .ls-4.is-active .ls-track li:nth-child(3)::before { animation-delay: 2.1s; }
@keyframes ls-step { to { opacity: 1; } }
@keyframes ls-step-dot { to { background: var(--accent-soft); border-color: var(--accent-soft); } }
.ls-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: auto; font-size: 10.5px; opacity: .7; }
.ls-note svg { width: 13px; height: 13px; fill: none; stroke: var(--accent-soft); stroke-width: 1.8; stroke-linejoin: round; }
.pep-tabs { left: 24%; bottom: 34px; height: 110px; transform: rotate(-8deg); } @media (max-width: 640px) { .pep-tabs { left: 14%; bottom: 20px; height: 70px; } }

/* ---------- Weight loss: wildflower field + cut-out (no drifting cards; those are HRT only) ---------- */
.scn--weight { --sky: #0183DC; --base: #E6F0DA; --base-2: #EEF5E8; }
.scn--weight .trt-scene__bg { object-position: 50% 100%; }
.scn--weight .trt-scene__man { height: 66%; transform: translateX(-52%); }
@media (max-width: 640px) { .scn--weight .trt-scene__man { height: 56%; transform: translateX(-52%); } }

/* Template shade over the top of each scene photo: it sat under the fade-in mask and left a dark band
   where the panel colour meets the photo. The panel colour now matches the photo directly. */
.scn .trt-scene::before { display: none; }

/* Weight loss: the field fades into a deep brand green (the dark version) */
.scn--weight { --base: #0A0A0A; --base-2: #000000; }

/* ---------- Sexual health: bright bedroom + couple cut-out (no drifting cards) ----------
   The room's top edge is not one colour (wall on the left, window sky on the right), so the
   band above the photo repeats the photo's own top row, left to right. Navy fade below. */
.scn--sexual .wm__panel {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0) 0, rgba(10, 10, 10, 0) 80px, var(--base) 560px, var(--base) 70%, var(--base-2) 100%),
    linear-gradient(90deg, #9E9D94 0%, #B8B4A5 25%, #C0BBAF 50%, #A59E8E 75%, #A2CDF5 100%);
}
.scn--sexual .trt-scene__man { height: 76%; transform: translateX(-52%); }
.scn--sexual .wm__eyebrow { color: var(--navy); }
.scn--sexual .wm__intro .h-section { color: var(--navy); }
.scn--sexual .wm__intro .h-section em { color: var(--accent); }
@media (max-width: 640px) { .scn--sexual .trt-scene__man { height: 56%; } }
.scn--sexual .trt-scene__man { height: 64%; }
@media (max-width: 640px) { .scn--sexual .trt-scene__man { height: 50%; } }
.scn--dark .bmi-card__btn { background: #fff !important; color: var(--navy) !important; border-color: #fff !important; }
.scn--dark .bmi-card__btn:hover { background: #F5EEE2 !important; }
/* Sexual health: white eyebrow and title over the room, couple slightly larger */
.scn--sexual .wm__eyebrow { color: #fff; }
.scn--sexual .wm__intro .h-section { color: #fff; }
.scn--sexual .wm__intro .h-section em { color: var(--accent-soft); }
.scn--sexual .trt-scene__man { height: 70%; }
@media (max-width: 640px) { .scn--sexual .trt-scene__man { height: 55%; } }
/* Soft navy wash behind the title only (the window behind it is too bright for white type) */
.scn--sexual .wm__intro { isolation: isolate; }
.scn--sexual .wm__intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -40px;
  width: min(980px, 100%);
  height: calc(100% + 110px);
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .28) 55%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

/* ---------- Sexual health v2: dusk bedroom. Its top edge is dark enough for white type
   on its own, so the navy wash behind the title is switched off. ---------- */
.scn--sexual .wm__panel {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0) 0, rgba(10, 10, 10, 0) 80px, var(--base) 560px, var(--base) 70%, var(--base-2) 100%),
    linear-gradient(90deg, #5C5653 0%, #857672 25%, #6D6B7A 50%, #434F64 75%, #499DE4 100%);
}
.scn--sexual .wm__intro::before { display: none; }

/* ---------- Hair loss: soft sky + cut-out. Light sky, so the title is navy and the
   photo fades into the sky's own pale blue (no drifting cards). ---------- */
.scn--hair { --base: #E8F1FA; --base-2: #F0F5FB; }
.scn--hair .wm__panel {
  background:
    linear-gradient(180deg, rgba(232, 241, 250, 0) 0, rgba(232, 241, 250, 0) 80px, var(--base) 560px, var(--base) 70%, var(--base-2) 100%),
    linear-gradient(90deg, #F0F5FF 0%, #E3EEFC 25%, #CAE2F7 50%, #CAE4F9 75%, #ADD5F5 100%);
}
.scn--hair .wm__eyebrow { color: var(--navy); }
.scn--hair .wm__intro .h-section { color: var(--navy); }
.scn--hair .wm__intro .h-section em { color: var(--accent); }
.scn--hair .trt-scene__note { color: rgba(17, 17, 17, .55); }
.scn--hair .trt-scene__man { height: 68%; transform: translateX(-46%); }
@media (max-width: 640px) { .scn--hair .trt-scene__man { height: 54%; } }

/* ---------- Real logo mark (cropped from the client's file) beside the horizontal wordmark ---------- */
img.logo__mark { width: auto; height: 32px; }
@media (max-width: 640px) { img.logo__mark { height: 27px; } }

/* ---------- Hormone therapy: glass building + cut-out; the drifting lab cards stay here.
   Top band repeats the photo's top row (sky, building, sky); navy fade below. ---------- */
.scn--hrt .wm__panel {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0) 0, rgba(10, 10, 10, 0) 80px, var(--base) 560px, var(--base) 70%, var(--base-2) 100%),
    linear-gradient(90deg, #7EBBF8 0%, #8AC3FB 25%, #1D7AC1 50%, #196FB6 75%, #ACD3F1 100%);
}
.scn--hrt .trt-scene__man { height: 68%; transform: translateX(-50%); }
@media (max-width: 640px) { .scn--hrt .trt-scene__man { height: 54%; } }

/* ---------- Skin care: cut-out on a lit studio backdrop in deep brand green
   (no background photo supplied; drop one in as .trt-scene__bg to replace it). ---------- */
.scn--skin { --sky: #1D4C3A; }
.scn--skin .trt-scene {
  background:
    radial-gradient(42% 46% at 62% 30%, rgba(255, 232, 205, .30) 0%, rgba(255, 232, 205, 0) 100%),
    radial-gradient(40% 40% at 28% 62%, rgba(212, 175, 55, .14) 0%, rgba(212, 175, 55, 0) 100%),
    linear-gradient(180deg, #1D4C3A 0%, #164233 55%, #141414 100%);
}
.scn--skin .trt-scene__man { height: 74%; transform: translateX(-56%); }
@media (max-width: 640px) { .scn--skin .trt-scene__man { height: 56%; } }
.scn--skin .trt-scene__man { height: 66%; }

/* Skin care v2: sunlit leaves background. The studio backdrop is off; the band above the photo
   repeats its top row and the scene fades into a deep leaf green sampled from its lower edge. */
.scn--skin { --base: #15270D; --base-2: #0E1B08; }
.scn--skin .trt-scene { background: none; }
.scn--skin .wm__panel {
  background:
    linear-gradient(180deg, rgba(21, 39, 13, 0) 0, rgba(21, 39, 13, 0) 80px, var(--base) 560px, var(--base) 70%, var(--base-2) 100%),
    linear-gradient(90deg, #304102 0%, #A0A42D 25%, #686720 50%, #51661B 75%, #212902 100%);
}
.scn--skin .dk { background: rgba(14, 27, 8, .62); }
.scn--skin .wm__intro { isolation: isolate; }
.scn--skin .wm__intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -40px;
  width: min(980px, 100%);
  height: calc(100% + 110px);
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(14, 27, 8, .55) 0%, rgba(14, 27, 8, .3) 55%, rgba(14, 27, 8, 0) 100%);
  pointer-events: none;
}

/* ---------- Top overlay: a soft wash from the top of the panel so the eyebrow and title
   read over busy photos (skin care leaves, hormone therapy glass). It sits above the photo
   and below the text; no shadow on the type itself. ---------- */
.scn--skin .wm__intro::before { display: none; }
.scn--skin .wm__panel::after,
.scn--hrt .wm__panel::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  height: 380px;
  border-radius: inherit;
  pointer-events: none;
}
.scn--skin .wm__panel::after { background: linear-gradient(180deg, rgba(14, 27, 8, .62) 0%, rgba(14, 27, 8, .34) 45%, rgba(14, 27, 8, 0) 100%); }
.scn--hrt .wm__panel::after  { background: linear-gradient(180deg, rgba(0, 0, 0, .58) 0%, rgba(0, 0, 0, .3) 45%, rgba(0, 0, 0, 0) 100%); }
.scn--skin .trt-scene__man { height: 74%; }
@media (max-width: 640px) {
  .scn--skin .trt-scene__man { height: 60%; }
  .scn--skin .wm__panel::after, .scn--hrt .wm__panel::after { height: 260px; }
}

/* ==========================================================================
   Category pages (weight-loss.html etc., built from content/categories.json)
   Hero: the section's background photo only (no cut-out), big centred title,
   short description. Then products, how it works, FAQs, closing CTA.
   ========================================================================== */
.catp-hero { padding: 12px 0 0; }
.catp-hero__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  min-height: clamp(520px, calc(100svh - var(--top-h) - 24px), 760px);
  padding: 96px 56px 80px;
  border-radius: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
/* Legibility: a calm wash from the top and bottom, no shadow on the type */
.catp-hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 20, 46, .55) 0%, rgba(4, 20, 46, .28) 45%, rgba(4, 20, 46, .5) 100%);
}
.catp-crumbs { position: absolute; top: 28px; left: 32px; margin: 0; color: rgba(255, 255, 255, .78); }
.catp-crumbs a { color: inherit; }
.catp-hero .wm__eyebrow { color: #fff; }
.catp-hero__title { font-size: clamp(44px, 6.6vw, 100px); line-height: 1; letter-spacing: -.045em; color: #fff; }
.catp-hero__title em { color: var(--accent-soft); }
.catp-hero__lede { max-width: 620px; margin: 24px auto 0; font-size: 18px; color: rgba(255, 255, 255, .86); }
.catp-hero__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.btn--ghost-light { color: #fff; border: 1px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); --btn-fill: #fff; }
.btn--ghost-light:hover { color: var(--navy); border-color: #fff; }

/* navy tone (peptides: no photo) keeps the section's warm top-right light */
.catp-hero--navy .catp-hero__panel { background: linear-gradient(180deg, #1C1C1C 0%, var(--navy) 45%, var(--navy-deep) 100%); }
.catp-hero--navy .catp-hero__panel::before {
  background:
    radial-gradient(38% 34% at 82% 0%, rgba(255, 242, 222, .34) 0%, rgba(255, 242, 222, 0) 100%),
    radial-gradient(60% 50% at 50% 40%, rgba(212, 175, 55, .12) 0%, rgba(212, 175, 55, 0) 100%);
}
/* light tone (hair: pale sky) uses navy type and a pale wash */
.catp-hero--light .catp-hero__panel { color: var(--navy); }
.catp-hero--light .catp-hero__panel::before { background: linear-gradient(180deg, rgba(240, 245, 251, .35) 0%, rgba(240, 245, 251, 0) 50%, rgba(240, 245, 251, .3) 100%); }
.catp-hero--light .catp-crumbs, .catp-hero--light .wm__eyebrow, .catp-hero--light .catp-hero__title { color: var(--navy); }
.catp-hero--light .catp-hero__title em { color: var(--accent); }
.catp-hero--light .catp-hero__lede { color: rgba(17, 17, 17, .78); }
.catp-hero--light .btn--ghost-light { color: var(--navy); border-color: rgba(17, 17, 17, .3); --btn-fill: var(--navy); }
.catp-hero--light .btn--ghost-light:hover { color: #fff; border-color: var(--navy); }
.catp-hero--light .btn--primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.catp-hero--light .btn--primary::before { background: var(--navy-hover); }
.catp-hero--light .btn--primary:hover { color: #fff; }
/* the hero sits outside a .wm panel, so on dark tones the primary button is white */
.catp-hero:not(.catp-hero--light) .btn--primary { background: #fff; color: var(--navy); border-color: #fff; }
.catp-hero:not(.catp-hero--light) .btn--primary::before { background: #F5EEE2; }
.catp-hero:not(.catp-hero--light) .btn--primary:hover { color: var(--navy); }

/* Products */
.catp-products { padding: 110px 0 80px; }
.catp-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: end; gap: 32px; }
.catp-head__intro { color: var(--ink-70); }
.catp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.catp-grid .tx { background: #fff; border-color: rgba(17, 17, 17, .08); color: var(--ink); }
.catp-grid .tx::before { background: radial-gradient(circle, rgba(212, 175, 55, .45) 0%, rgba(212, 175, 55, 0) 68%); }
.catp-grid .tx:hover { border-color: rgba(17, 17, 17, .25); box-shadow: 0 24px 50px -32px rgba(17, 17, 17, .35); }
.catp-grid .tx__tag { background: var(--pale) !important; border-color: var(--pale) !important; }
.catp-grid .tx__name, .catp-grid .tx__link { color: var(--ink); }
.catp-grid .tx__meta { color: var(--ink-70); }
.catp-grid .tx__link { border-top-color: var(--line); }
.catp-grid .tx__media img { filter: drop-shadow(0 22px 20px rgba(17, 17, 17, .16)); }
.catp-disclaimer { max-width: 900px; margin: 28px auto 0; text-align: center; font-size: 14px; line-height: 1.6; color: var(--ink-70); }

/* How it works */
.catp-how { padding: 0 0 110px; }
.catp-how__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 2fr);
  gap: 48px;
  align-items: start;
  padding: 56px;
  border-radius: 36px;
  color: #fff;
  background:
    radial-gradient(38% 50% at 88% 0%, rgba(255, 242, 222, .22) 0%, rgba(255, 242, 222, 0) 100%),
    linear-gradient(180deg, #1C1C1C 0%, var(--navy) 50%, var(--navy-deep) 100%);
}
.catp-how__head .wm__eyebrow { color: rgba(255, 255, 255, .6); margin-bottom: 16px; }
.catp-how__head .wm__eyebrow::before { display: none; }
.catp-how .h-card { color: #fff; }
.catp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.catp-steps li { padding: 22px 20px; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.catp-steps span { font-size: 13px; color: var(--accent-soft); }
.catp-steps b { display: block; margin-top: 28px; font-weight: 500; }
.catp-steps p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .7); }
.catp-how__btn { grid-column: 2; justify-self: start; background: #fff; color: var(--navy); border-color: #fff; }
.catp-how__btn::before { background: #F5EEE2; }
.catp-how__btn:hover { color: var(--navy); }

@media (max-width: 1100px) {
  .catp-how__panel { grid-template-columns: 1fr; }
  .catp-how__btn { grid-column: 1; }
  .catp-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .catp-head { grid-template-columns: 1fr; }
  .catp-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .catp-hero__panel { padding: 88px 20px 48px; border-radius: 28px; min-height: 520px; }
  .catp-crumbs { left: 20px; top: 22px; }
  .catp-hero__lede { font-size: 16px; }
  .catp-hero__btns { width: 100%; flex-direction: column; }
  .catp-hero__btns .btn { width: 100%; }
  .catp-products { padding: 72px 0 56px; }
  .catp-grid { grid-template-columns: 1fr; }
  .catp-how__panel { padding: 32px 20px; border-radius: 28px; }
  .catp-steps { grid-template-columns: 1fr; }
}

/* Home sections: link through to the category page */
.catp-more { display: flex; justify-content: center; width: max-content; margin: 18px auto 0; color: #fff; }
.scn--light .catp-more, .scn--hair .catp-more { color: var(--navy); }
/* beat the generic .h-section:not(.h-section--light) colour rules */
.catp-hero .catp-hero__title { color: #fff; }
.catp-hero .catp-hero__title em { color: var(--accent-soft); }
.catp-hero--light .catp-hero__title { color: var(--navy); }
.catp-hero--light .catp-hero__title em { color: var(--accent); }
/* 4 or 7 products (e.g. men's row + women's row) sit four across; otherwise three */
@media (min-width: 1101px) {
  .catp-grid:has(> :nth-child(4):last-child),
  .catp-grid:has(> :nth-child(7):last-child),
  .catp-grid:has(> :nth-child(8):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Category pages: hero is title + description only; how it works reuses the home card ---------- */
.catp-hero__title { margin-top: 0; }
.catp-hiw { padding: 0 0 110px; }
.catp-hiw .wm__panel {
  padding: 24px;
  background:
    radial-gradient(40% 50% at 88% 0%, rgba(255, 242, 222, .22) 0%, rgba(255, 242, 222, 0) 100%),
    linear-gradient(180deg, #1C1C1C 0%, var(--navy) 50%, var(--navy-deep) 100%);
}
.catp-hiw .wm__panel::before, .catp-hiw .wm__panel::after { display: none; }
.catp-hiw .hiw--trt { margin-top: 0; }
@media (max-width: 640px) { .catp-hiw .wm__panel { padding: 12px; } }

/* ==========================================================================
   Header menu button + right-side drawer
   ========================================================================== */
.header__actions { gap: 10px; }
.menu-btn {
  position: relative;
  display: grid;
  place-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, .12);
  box-shadow: 0 8px 20px -14px rgba(17, 17, 17, .35);
  transition: background-color .3s, border-color .3s;
}
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .4s var(--ease-out), width .4s var(--ease-out); }
.menu-btn span:last-child { width: 12px; justify-self: end; }
.menu-btn:hover { border-color: var(--navy); }
.menu-btn:hover span:last-child { width: 18px; }
.menu-btn.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn.is-open span:last-child { width: 18px; transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 760px) { .header__visit { display: none; } }

.drawer-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .38); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s ease; }
.drawer-scrim.is-on { opacity: 1; }
.drawer {
  position: fixed;
  z-index: 91;
  top: 10px;
  right: 10px;
  bottom: 10px;
  width: min(420px, calc(100vw - 20px));
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
  transform: translateX(calc(100% + 24px));
  visibility: hidden;
  transition: transform .55s var(--ease-out), visibility 0s .55s;
  overflow: hidden;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .55s var(--ease-out), visibility 0s; }
html.drawer-open { overflow: hidden; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 14px 22px; border-bottom: 1px solid var(--line); }
.drawer__close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pale); transition: background-color .3s; }
.drawer__close:hover { background: #E3EAF4; }
.drawer__close svg { width: 18px; height: 18px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 14px 8px; }
.drawer__label { margin: 6px 10px 10px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-55); }
.drawer__tx { display: grid; gap: 4px; margin-bottom: 18px; }
.drawer__tx a { display: flex; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 16px; transition: background-color .3s; }
.drawer__tx a:hover { background: var(--pale); }
.drawer__thumb { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; overflow: hidden; }
.drawer__thumb--a { background: #E2F0DE; }
.drawer__thumb--b { background: #E3EAF4; }
.drawer__thumb img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.25); }
.drawer__tx b { display: block; font-family: var(--f-head); font-weight: 500; font-size: 16.5px; letter-spacing: -.02em; color: var(--ink); }
.drawer__tx small { display: block; margin-top: 1px; font-size: 13px; color: var(--ink-55); }
.drawer__links { display: grid; margin: 0 10px; border-top: 1px solid var(--line); }
.drawer__links a { display: flex; justify-content: space-between; padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink); }
.drawer__links a::after { content: "→"; color: var(--ink-55); transition: transform .3s var(--ease-out); }
.drawer__links a:hover::after { transform: translateX(4px); color: var(--navy); }
.drawer__foot { padding: 16px 18px 20px; border-top: 1px solid var(--line); }
.drawer__foot p { margin-top: 10px; text-align: center; font-size: 12px; color: var(--ink-55); }
.drawer .drawer__foot .btn { height: 50px; }
.drawer.is-open .drawer__tx li { animation: ls-in .45s var(--ease-out) both; }
.drawer.is-open .drawer__tx li:nth-child(2) { animation-delay: .04s; }
.drawer.is-open .drawer__tx li:nth-child(3) { animation-delay: .08s; }
.drawer.is-open .drawer__tx li:nth-child(4) { animation-delay: .12s; }
.drawer.is-open .drawer__tx li:nth-child(5) { animation-delay: .16s; }
.drawer.is-open .drawer__tx li:nth-child(6) { animation-delay: .2s; }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-scrim { transition: none; } .drawer.is-open .drawer__tx li { animation: none; } }

/* Category hero: the category name as one big line */
.catp-hero .catp-hero__title { font-size: clamp(56px, 9vw, 140px); line-height: .95; letter-spacing: -.055em; }
.catp-hero__lede { font-size: 19px; }

/* Drawer: flush to the right edge, only the left corners rounded */
.drawer { top: 0; right: 0; bottom: 0; width: min(440px, 100vw); border-radius: 28px 0 0 28px; }
/* Mobile: full screen, navy */
@media (max-width: 640px) {
  .drawer { width: 100vw; border-radius: 0; background: var(--navy); color: #fff; }
  .drawer .logo__word b { color: #fff; }
  .drawer .logo__word i { color: var(--accent-soft); }
  .drawer__top, .drawer__foot, .drawer__links, .drawer__links a { border-color: rgba(255, 255, 255, .12); }
  .drawer__close { background: rgba(255, 255, 255, .1); }
  .drawer__close svg { stroke: #fff; }
  .drawer__label { color: rgba(255, 255, 255, .5); }
  .drawer__tx a:hover { background: rgba(255, 255, 255, .06); }
  .drawer__thumb--a { background: rgba(212, 175, 55, .16); }
  .drawer__thumb--b { background: rgba(255, 255, 255, .1); }
  .drawer__tx b, .drawer__links a { color: #fff; }
  .drawer__tx small, .drawer__foot p, .drawer__links a::after { color: rgba(255, 255, 255, .55); }
  .drawer__links a:hover::after { color: var(--accent-soft); }
  .drawer .drawer__foot .btn--primary { background: #fff; color: var(--navy); border-color: #fff; }
  .drawer .drawer__foot .btn--primary::before { background: #F5EEE2; }
  .drawer .drawer__foot .btn--primary:hover { color: var(--navy); }
}
/* No blur behind the drawer: a backdrop-filter on the scrim stopped the drawer above it from painting in Chrome */
.drawer-scrim { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(0, 0, 0, .5); }

/* ==========================================================================
   Treatment detail pages (nad-troche.html etc., built from content/products.json)
   ========================================================================== */
.pd { padding: 28px 0 100px; }
.pd__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.pd__gallery { position: sticky; top: calc(var(--top-h) + 16px); }
.pd__stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 6 / 6.6;
  border-radius: 28px;
  background:
    radial-gradient(60% 50% at 50% 45%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, #EEF2F7 0%, #E2E9F1 100%);
}
.pd__tag { position: absolute; z-index: 3; top: 22px; left: 22px; padding: 7px 13px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 500; color: var(--navy); box-shadow: 0 8px 20px -14px rgba(17, 17, 17, .4); }
.pd__view { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; opacity: 0; transition: opacity .55s ease; background-size: cover; background-position: center; }
.pd__view.is-active { opacity: 1; }
.pd__view img { position: relative; width: 80%; max-height: 84%; object-fit: contain; filter: drop-shadow(0 34px 34px rgba(8, 28, 58, .2)); }
.pd__view.is-active img { animation: pd-in .8s var(--ease-out) both; }
@keyframes pd-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.pd__halo { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 55, .55) 0%, rgba(212, 175, 55, 0) 68%); animation: glow-breathe 6s ease-in-out infinite; }
.pd__view--scene img { width: 66%; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .35)); }
.pd__view--person { place-items: end center; }
.pd__view--person .pd__person { width: auto; height: 90%; max-width: none; max-height: none; filter: none; }
.pd__thumbs { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.pd__thumb { width: 78px; height: 78px; padding: 3px; border-radius: 16px; border: 2px solid transparent; background: none; transition: border-color .3s; }
.pd__thumb.is-active { border-color: var(--navy); }
.pd__thumb span { position: relative; display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; border-radius: 12px; background: #E9EEF4 center / cover; }
.pd__thumb img { width: 80%; height: 80%; object-fit: contain; }
.pd__thumb .pd__halo { display: none; }
.pd__thumb .pd__person { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }

.pd__crumbs { margin: 6px 0 18px; color: var(--ink-55); }
.pd__crumbs a { color: inherit; }
.pd__name { font-family: var(--f-head); font-weight: 500; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.045em; color: var(--ink); }
.pd__badges { display: inline-flex; gap: 6px; margin-left: 14px; vertical-align: .55em; }
.pd__rx, .pd__pill { padding: 4px 9px; border-radius: 8px; font-family: var(--f-body); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.pd__rx { background: #E2F0DE; color: #2E7A31; }
.pd__pill { background: #E3EAF4; color: var(--navy); }
.pd__desc { margin-top: 18px; max-width: 580px; font-size: 17.5px; line-height: 1.6; color: var(--ink-70); }
.pd__facts { margin-top: 22px; border-top: 1px solid var(--line); }
.pd__facts li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink-70); }
.pd__facts svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pd__plan { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 22px; padding: 20px 22px; border-radius: 20px; background: #F1F4F8; border: 1px solid rgba(17, 17, 17, .06); }
.pd__plan li { position: relative; padding-left: 14px; font-size: 14.5px; line-height: 1.75; color: var(--ink); }
.pd__plan li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.pd__price { text-align: right; }
.pd__price small { display: block; font-size: 12.5px; color: var(--ink-55); }
.pd__price b { display: block; margin-top: 2px; font-family: var(--f-head); font-weight: 500; font-size: 28px; letter-spacing: -.03em; color: var(--navy); }
.pd__price span { display: block; font-size: 12.5px; color: var(--ink-55); }
.pd .pd__cta { width: 100%; height: 58px; margin-top: 18px; font-size: 17px; }
.pd__fda { margin-top: 12px; font-size: 12.5px; line-height: 1.55; color: var(--ink-55); }
.pd__checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin-top: 20px; }
.pd__checks li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink); }
.pd__checks svg, .pd-ui__chip svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pd__acc { margin-top: 24px; border-top: 1px solid var(--line); }
.pd__acc details { border-bottom: 1px solid var(--line); }
.pd__acc summary { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; list-style: none; cursor: pointer; font-family: var(--f-head); font-weight: 500; font-size: 17px; letter-spacing: -.02em; color: var(--ink); }
.pd__acc summary::-webkit-details-marker { display: none; }
.pd__acc summary i { position: relative; flex: none; width: 16px; height: 16px; }
.pd__acc summary i::before, .pd__acc summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .35s var(--ease-out); }
.pd__acc summary i::after { transform: rotate(90deg); }
.pd__acc details[open] summary i::after { transform: rotate(0deg); }
.pd__acc-body { padding: 0 0 18px; }
.pd__acc-body p { margin-bottom: 14px; font-size: 15px; line-height: 1.6; color: var(--ink-70); }
.pd__acc-body b { display: block; margin-bottom: 3px; color: var(--ink); font-weight: 500; }

/* What is ...? : blurred category photo behind a glass card */
.pd-what { position: relative; isolation: isolate; overflow: hidden; overflow: clip; margin: 0 12px 110px; padding: 120px 0; border-radius: 36px; color: #fff; }
.pd-what__bg { position: absolute; inset: -60px; z-index: -2; width: calc(100% + 120px); height: calc(100% + 120px); object-fit: cover; filter: blur(36px) saturate(1.15); }
.pd-what__bg--navy { background: radial-gradient(40% 50% at 85% 0%, rgba(255, 242, 222, .3) 0%, rgba(255, 242, 222, 0) 100%), linear-gradient(180deg, #1C1C1C 0%, var(--navy) 50%, var(--navy-deep) 100%); filter: none; }
.pd-what::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(4, 20, 40, .5) 0%, rgba(4, 20, 40, .22) 60%, rgba(4, 20, 40, .55) 100%); }
.pd-what__card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 64px; border-radius: 28px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .6); }
.pd-what__title { font-family: var(--f-head); font-weight: 500; font-size: clamp(36px, 4vw, 56px); line-height: 1.04; letter-spacing: -.04em; }
.pd-what__sub { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.pd-what__text { margin: 22px 0 30px; max-width: 520px; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .88); }
.pd-what .btn--primary { background: #fff; color: var(--navy); border-color: #fff; }
.pd-what .btn--primary::before { background: #F5EEE2; }
.pd-what .btn--primary:hover { color: var(--navy); }
.pd-what__note { margin-top: 16px; font-size: 12px; color: rgba(255, 255, 255, .55); }
.pd-what__label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.pd-what__glance dl { margin: 14px 0 0; }
.pd-what__glance dl div { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.pd-what__glance dt { color: rgba(255, 255, 255, .65); }
.pd-what__glance dd { margin: 0; font-weight: 500; text-align: right; }

/* Why Longevity Beyond: three cards with small app vignettes */
.pd-why { padding: 0 0 110px; }
.pd-why__title { text-align: center; }
.pd-why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.pd-why__card { display: flex; flex-direction: column; min-height: 470px; padding: 28px; border-radius: 26px; background: #fff; border: 1px solid rgba(17, 17, 17, .06); }
.pd-why__card header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pd-why__card h3 { font-family: var(--f-head); font-weight: 500; font-size: 21px; letter-spacing: -.025em; color: var(--ink); }
.pd-why__card header svg { flex: none; width: 22px; height: 22px; fill: none; stroke: rgba(17, 17, 17, .35); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pd-why__card > p { font-size: 15px; line-height: 1.6; color: var(--ink-70); }
.pd-why__ui { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 0; }
.pd-ui { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; background: #fff; box-shadow: 0 26px 50px -28px rgba(17, 17, 17, .38), 0 0 0 1px rgba(17, 17, 17, .05); transition: transform .6s var(--ease-out); }
.pd-why__card:hover .pd-ui { transform: translateY(-4px); }
.pd-ui--plan img { width: 64px; height: 76px; object-fit: contain; }
.pd-ui--plan small { display: block; padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-55); }
.pd-ui--plan b { display: block; font-family: var(--f-head); font-weight: 500; font-size: 19px; letter-spacing: -.02em; color: var(--navy); }
.pd-ui__chip { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; padding: 7px 13px; border-radius: 999px; background: #fff; box-shadow: 0 10px 24px -16px rgba(17, 17, 17, .4); font-size: 13.5px; color: var(--ink); }
.pd-ui--doc img { width: 68px; height: 68px; border-radius: 14px; object-fit: cover; object-position: 50% 20%; }
.pd-ui--doc span { display: grid; gap: 9px; width: 150px; }
.pd-ui--doc i { display: block; height: 10px; border-radius: 6px; background: #EEF1F4; }
.pd-ui--doc i:nth-child(1) { width: 70%; background: #E3EAF4; }
.pd-ui--doc i:nth-child(3) { width: 85%; }
.pd-ui--chat { flex-direction: column; align-items: stretch; gap: 0; width: min(100%, 300px); }
.pd-ui__who { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pd-ui__who img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.pd-ui__who b { font-weight: 500; font-size: 14.5px; color: var(--ink); }
.pd-ui__who i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pd-ui--chat p { padding-top: 12px; font-size: 15px; color: var(--ink); }

.pd-related { padding-top: 0; }
.pd-related .catp-head { align-items: end; }
.pd-related .link-arrow { justify-self: end; }

.pd-disclaimer { padding: 0 0 110px; }
.pd-disclaimer__box { padding: 26px 30px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.pd-disclaimer__label { margin-bottom: 10px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-55); }
.pd-disclaimer__box p:last-child { font-size: 13.5px; line-height: 1.65; color: var(--ink-70); }

@media (max-width: 1024px) {
  .pd__grid { grid-template-columns: 1fr; gap: 40px; }
  .pd__gallery { position: static; }
  .pd-what__card { grid-template-columns: 1fr; gap: 36px; padding: 40px; }
  .pd-why__grid { grid-template-columns: 1fr; }
  .pd-why__card { min-height: 0; }
}
@media (max-width: 640px) {
  .pd { padding: 16px 0 72px; }
  .pd__badges { display: flex; margin: 10px 0 0; }
  .pd__plan { flex-direction: column; align-items: flex-start; }
  .pd__price { text-align: left; }
  .pd__checks { grid-template-columns: 1fr; }
  .pd-what { margin: 0 8px 72px; padding: 56px 0; border-radius: 28px; }
  .pd-what__card { padding: 28px 22px; }
  .pd-why, .pd-disclaimer { padding-bottom: 72px; }
}
/* lifestyle view: centre the wide cut-out on its own width */
.pd__view--person .pd__person { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 88%; }
.pd__view--person.is-active .pd__person { animation: pd-person .8s var(--ease-out) both; }
@keyframes pd-person { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translateX(-50%); } }

/* ==========================================================================
   Detail gallery art: live layouts over a photo (icon grid, fact card, word stack).
   Thin white lines, sparkles at the crossings, one italic word. Animates in
   each time its view becomes active.
   ========================================================================== */
.pd-art { place-items: stretch; background-size: cover; background-position: center; color: #fff; }
.pd-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 12, 10, .5) 0%, rgba(6, 12, 10, .28) 42%, rgba(6, 12, 10, .55) 100%); }
.pd-art__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 64px 36px 40px; text-align: center; }
.pd-art em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--accent-soft); }

.pd-art__title { margin-bottom: 30px; font-family: var(--f-head); font-weight: 500; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; letter-spacing: -.035em; }
.pd-art__title em { font-size: 1.12em; }
.pd-art__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 440px); }
.pd-art__item { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 14px; }
.pd-art__item svg { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.pd-art__item span { max-width: 170px; font-size: 14.5px; line-height: 1.3; }
.pd-art__v { position: absolute; left: 50%; top: 4%; bottom: 4%; width: 1px; background: rgba(255, 255, 255, .55); transform-origin: 50% 0; }
.pd-art__h { position: absolute; left: 3%; right: 3%; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .6) 20%, rgba(255, 255, 255, .6) 80%, rgba(255, 255, 255, 0)); }
.pd-art__h--1 { top: 33.33%; }
.pd-art__h--2 { top: 66.66%; }
.pd-art__star { position: absolute; left: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.pd-art__star--1 { top: 33.33%; }
.pd-art__star--2 { top: 66.66%; }
.pd-art__star svg { width: 100%; height: 100%; fill: #fff; filter: drop-shadow(0 0 8px rgba(255, 255, 255, .9)); }
.pd-art__pill { margin-top: 28px; padding: 9px 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .7); font-size: 13px; letter-spacing: .01em; }

.pd-art__inner--fact { justify-content: center; }
.pd-art__big { max-width: 460px; margin: 28px 0 0; font-family: var(--f-head); font-weight: 600; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -.035em; }
.pd-art__big em { display: inline-block; font-size: 1.12em; }
.pd-art__sub { max-width: 330px; margin-top: 90px; font-size: 16px; font-weight: 500; line-height: 1.45; color: rgba(255, 255, 255, .92); }

.pd-art__inner--stack { justify-content: center; gap: 0; }
.pd-art__word { font-family: var(--f-head); font-weight: 600; font-size: 24px; letter-spacing: -.02em; }
.pd-art__inner--stack > i { display: block; width: 1px; height: 46px; margin: 10px 0; background: rgba(255, 255, 255, .8); transform-origin: 50% 0; }
.pd-art__sign { margin-top: 2px; font-family: var(--f-head); font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.pd-art__sign em { font-size: 1.15em; }
.pd-art__corner { position: absolute; bottom: 22px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.pd-art__corner--l { left: 26px; }
.pd-art__corner--r { right: 26px; }

/* entrance, every time the view is shown */
.pd-art.is-active .pd-art__title, .pd-art.is-active .pd-art__pill, .pd-art.is-active .pd-art__big, .pd-art.is-active .pd-art__sub,
.pd-art.is-active .pd-art__sign { animation: ls-in .7s var(--ease-out) both; }
.pd-art.is-active .pd-art__big { animation-delay: .15s; }
.pd-art.is-active .pd-art__sub { animation-delay: .45s; }
.pd-art.is-active .pd-art__pill { animation-delay: .9s; }
.pd-art--fact.is-active .pd-art__pill { animation-delay: 0s; }
.pd-art.is-active .pd-art__item { animation: ls-in .55s var(--ease-out) both; animation-delay: calc(.35s + var(--i) * .08s); }
.pd-art.is-active .pd-art__v { animation: art-y .9s var(--ease-out) .15s both; }
.pd-art.is-active .pd-art__h { animation: art-x .9s var(--ease-out) .25s both; }
.pd-art.is-active .pd-art__star { animation: art-star .6s cubic-bezier(.3, 1.6, .5, 1) .9s both; }
.pd-art.is-active .pd-art__word { animation: ls-in .5s var(--ease-out) both; animation-delay: calc(var(--i) * .35s); }
.pd-art.is-active .pd-art__inner--stack > i { animation: art-y .45s var(--ease-out) both; animation-delay: calc(.2s + var(--i) * .35s); }
.pd-art.is-active .pd-art__sign { animation-delay: 1.5s; }
@keyframes art-y { from { transform: scaleY(0); } to { transform: none; } }
@keyframes art-x { from { transform: scaleX(0); } to { transform: none; } }
@keyframes art-star { from { opacity: 0; transform: scale(0) rotate(-45deg); } to { opacity: 1; transform: none; } }
.pd-art__star svg { animation: art-twinkle 3s ease-in-out 1.5s infinite; }
@keyframes art-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

.pd__thumb span:has(.pd__thumb-mark)::before { content: ""; position: absolute; inset: 0; background: rgba(6, 12, 10, .3); }
.pd__thumb-mark { position: relative; width: 20px; height: 20px; }
.pd__thumb-mark svg { width: 100%; height: 100%; fill: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .8)); }

@media (max-width: 640px) {
  .pd-art__inner { padding: 48px 18px 28px; }
  .pd-art__title { margin-bottom: 14px; font-size: 24px; }
  .pd-art__item { padding: 12px 8px; gap: 8px; }
  .pd-art__item svg { width: 30px; height: 30px; }
  .pd-art__item span { font-size: 12px; }
  .pd-art__pill { margin-top: 16px; font-size: 11.5px; padding: 7px 16px; }
  .pd-art__big { font-size: 28px; }
  .pd-art__sub { margin-top: 48px; font-size: 14px; }
  .pd-art__word { font-size: 19px; }
  .pd-art__inner--stack > i { height: 30px; margin: 7px 0; }
  .pd-art__corner { bottom: 14px; font-size: 9.5px; }
  .pd-art__corner--l { left: 14px; } .pd-art__corner--r { right: 14px; }
}

/* ==========================================================================
   "What is ...?" right column: a line-drawn molecule that draws itself,
   slowly turning, with the key facts pinned around it
   ========================================================================== */
.pd-what__bg { filter: blur(30px) saturate(1.1); }
.pd-mol { position: relative; justify-self: center; width: min(100%, 460px); aspect-ratio: 1; }
.pd-mol__svg { position: absolute; inset: 6%; width: 88%; height: 88%; overflow: visible; }
.pd-mol__orbit { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 1; stroke-dasharray: 2 7; transform-box: view-box; transform-origin: 200px 200px; animation: mol-spin 80s linear infinite reverse; }
.pd-mol__spin { transform-box: view-box; transform-origin: 200px 200px; animation: mol-spin 60s linear infinite; }
@keyframes mol-spin { to { transform: rotate(360deg); } }
.pd-mol__bond { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pd-what__card.is-in .pd-mol__bond { animation: mol-draw 1.6s var(--ease-out) var(--d, 0s) forwards; }
@keyframes mol-draw { to { stroke-dashoffset: 0; } }
.pd-mol__node { fill: var(--accent-soft); opacity: 0; transform-box: fill-box; transform-origin: center; }
.pd-mol__node--soft { fill: rgba(255, 255, 255, .14); stroke: rgba(255, 255, 255, .7); stroke-width: 1.2; }
.pd-what__card.is-in .pd-mol__node { animation: mol-node .5s cubic-bezier(.3, 1.6, .5, 1) forwards, mol-pulse 3.2s ease-in-out infinite; animation-delay: calc(.6s + var(--i) * .1s), calc(2.2s + var(--i) * .22s); }
@keyframes mol-node { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes mol-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(1.35); } }
.pd-mol__tag {
  position: absolute;
  z-index: 1;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
}
.pd-mol__tag small { display: block; margin-bottom: 2px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.pd-mol__tag--0 { top: 8%; left: -4%; }
.pd-mol__tag--1 { top: 22%; right: -6%; }
.pd-mol__tag--2 { bottom: 24%; left: -8%; }
.pd-mol__tag--3 { bottom: 6%; right: 2%; }
.pd-what__card.is-in .pd-mol__tag { animation: ls-in .7s var(--ease-out) forwards, mol-float 6s ease-in-out infinite; }
.pd-what__card.is-in .pd-mol__tag--0 { animation-delay: 1.2s, 2s; }
.pd-what__card.is-in .pd-mol__tag--1 { animation-delay: 1.45s, 3s; }
.pd-what__card.is-in .pd-mol__tag--2 { animation-delay: 1.7s, 2.5s; }
.pd-what__card.is-in .pd-mol__tag--3 { animation-delay: 1.95s, 3.5s; }
@keyframes mol-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 1024px) { .pd-mol { width: min(100%, 400px); } }
@media (max-width: 640px) {
  .pd-mol__tag { padding: 8px 10px; font-size: 12.5px; }
  .pd-mol__tag--0 { left: 0; } .pd-mol__tag--1 { right: 0; } .pd-mol__tag--2 { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-mol__spin, .pd-mol__orbit { animation: none; }
  .pd-mol__bond { stroke-dashoffset: 0; }
  .pd-mol__node, .pd-mol__tag { opacity: 1; }
}

/* ---------- Hero category cards: product set onto a styled background ----------
   The background photos carry a white rounded frame, so they are cropped 6% on every side.
   Each product is placed with inline vars: --x centre, --b bottom, --h image height (all % of the card). */
.cat .cat__media { overflow: hidden; }
.cat .cat__media img.cat__bg { position: absolute; inset: -6%; width: 112%; height: 112%; max-width: none; object-fit: cover; object-position: center; transform: none; transition: transform 1.4s var(--ease-out); }
.cat:hover .cat__media img.cat__bg { transform: scale(1.04); }
.cat .cat__media img.cat__item {
  position: absolute;
  left: var(--x, 50%);
  bottom: var(--b, 26%);
  width: auto;
  height: var(--h, 48%);
  max-width: none;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 14px 14px rgba(20, 24, 10, .28));
  transition: transform 1.2s var(--ease-out);
}
.cat:hover .cat__media img.cat__item { transform: translateX(-50%) translateY(-8px); }
/* soft contact shadow where the product meets the stone or log */
.cat__shadow {
  position: absolute;
  left: var(--x, 50%);
  bottom: var(--b, 26%);
  width: var(--w, 26%);
  height: 5%;
  transform: translate(-50%, 45%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(16, 20, 8, .5) 0%, rgba(16, 20, 8, .22) 55%, rgba(16, 20, 8, 0) 100%);
  filter: blur(3px);
  transition: transform 1.2s var(--ease-out), opacity 1.2s var(--ease-out);
}
.cat:hover .cat__shadow { transform: translate(-50%, 45%) scale(.9); opacity: .8; }
/* centre with the translate property: a template rule scales every .cat__media img via transform */
.cat .cat__media img.cat__item, .cat:hover .cat__media img.cat__item { transform: none; translate: -50% 0; transition: translate 1.2s var(--ease-out); }
.cat:hover .cat__media img.cat__item { translate: -50% -8px; }

/* Hero category cards: one finished photo per card (product already in the scene) */
.cat .cat__media img.cat__photo { object-position: center; }

/* =====================================================================
   Mobile fixes (phone widths)
   ===================================================================== */
/* Buttons: label always centred (the template pushed it left for a circle icon we removed) */
.btn, .btn--primary { justify-content: center; text-align: center; }
html, body { overflow-x: clip; }

/* Body map: the tooltip becomes a white card under the figure on phones; keep its text dark */
.xcard--night .body-map__label { color: #4A5560; }

@media (max-width: 767px) {
  .btn--primary { padding-left: 24px; padding-right: 24px; }

  /* More ways we can help: product sits low and centred, clear of the title */
  .mini { height: 184px; }
  .mini__vial[src*="products/lb/"] { height: 150px; left: 50%; right: auto; bottom: -34px; transform: translateX(-50%) rotate(3deg); }
  .mini:hover .mini__vial[src*="products/lb/"] { transform: translateX(-50%) rotate(0deg) translateY(-6px); }

  /* Footer: CTA and long email stay inside the screen */
  .footer__cta { width: 100%; }
  .footer__col a { max-width: 100%; overflow-wrap: anywhere; }
}

@media (max-width: 640px) {
  /* Peptides: pen upright and centred in the text orbit, tablets resting at its foot */
  .wm--pep .pep-pen[src*="products/lb/"] { height: 300px; animation-name: pep-float-m; }
  .pep-tabs { left: 50%; bottom: 4px; margin-left: 30px; height: 64px; }

  /* People cut-outs are wide frames: size them so the whole figure fits the phone panel */
  .scn--weight .trt-scene__man { height: 46%; transform: translateX(-52%); }
  .scn--sexual .trt-scene__man { height: 44%; transform: translateX(-49%); }
  .scn--hrt .trt-scene__man { height: 48%; transform: translateX(-45%); }
  .scn--hair .trt-scene__man { height: 50%; }
}
@keyframes pep-float-m {
  0%, 100% { transform: translate(-50%, calc(-50% - 6px)) rotateZ(12deg); }
  50%      { transform: translate(-50%, calc(-50% + 6px)) rotateZ(14deg); }
}
@media (max-width: 640px) {
  /* Smaller figures leave less empty sky above them */
  .scn--weight .trt-scene, .scn--sexual .trt-scene { height: 600px; }
}
@media (max-width: 640px) {
  /* Category pages: less dead space under the How it works card */
  .catp-hiw { padding-bottom: 56px; }

  /* Treatment pages, "What is": same side margins as every other panel, and the four
     at-a-glance tags in a tidy 2 x 2 grid under the molecule instead of overlapping it */
  .pd-what { margin: 0 16px 72px; }
  .pd-mol { width: 100%; aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .pd-mol__svg { position: relative; inset: auto; grid-column: 1 / -1; justify-self: center; width: 78%; height: auto; aspect-ratio: 1; }
  .pd-mol__tag { position: static; white-space: normal; }
}
@media (max-width: 640px) { .pd-related .link-arrow { justify-self: start; } }
.pd__crumbs { flex-wrap: wrap; row-gap: 2px; } .pd__crumbs > * { flex: none; } .pd__crumbs > span:last-child { flex: 0 1 auto; }

/* ---------- Mobile scenes: big, centred people sitting right under the heading (desktop vibe) ----------
   Heading block ends ~154px into the scene; the figure fills from just below it to the bottom. */
@media (max-width: 640px) {
  .scn .trt-scene { height: 600px; }
  .scn .trt-scene__man { bottom: 60px; height: 348px; }
  .scn--weight .trt-scene__man { transform: translateX(-52%); }
  .scn--sexual .trt-scene__man { transform: translateX(-50%); }
  .scn--hair .trt-scene__man   { transform: translateX(-46%); }
  .scn--hrt .trt-scene__man    { transform: translateX(-49%); }
  .scn--skin .trt-scene__man   { height: 360px; transform: translateX(-52%); }

  /* Peptides: a bigger pen filling the orbit, tight under the heading */
  .wm--pep .pep-stage { height: 400px; margin-top: 0; }
  .wm--pep .pep-pen[src*="products/lb/"] { height: 400px; }
  .pep-tabs { height: 72px; margin-left: 38px; bottom: 10px; }
}

/* ---------- Hormone therapy, mobile: Women's HRT / Men's TRT switcher sits under the cards,
   and the drifting lab cards ride a little lower ---------- */
@media (max-width: 640px) {
  #hrt .tabs { display: flex; flex-direction: column; }
  #hrt .wm__lineup-head { display: contents; }
  #hrt .wm__label { order: 0; margin-bottom: 18px; }
  #hrt .tabs__panel { order: 1; }
  #hrt .tabs__bar { order: 2; align-self: center; margin-top: 22px; }
  .scn--hrt .deck { top: 39%; }
}

/* ==========================================================================
   MIND BODY 1 U brand layer (loaded last; overrides everything above)
   Teal & Gold Luxe, used with restraint, the same way the template used its
   two colours:
     Midnight Teal #111111  primary: text, trust bar, dark panels, tabs, CTA, footer
     Foil Teal     #A8862A  accent: italic heading words (deep tint on light,
                            soft tint on dark), icons, small UI marks. Never body text.
     Antique Gold  #D4AF37  the one "Get started" button only (Midnight Teal text,
                            5.1:1), with a soft foil sheen. Never gold text on light.
     Copper Rose   #B76E5A  tagline only, large text.
     Pearl Mist    #FDF9F1  page background.
   ========================================================================== */
:root {
  --midnight: #111111;
  --foil: #A8862A;
  --gold: #D4AF37;
  --gold-hi: #E2C65F;
  --gold-lo: #A8862A;
  --copper: #A8862A;
  --pearl: #FDF9F1;

  --navy: var(--midnight); --navy-hover: #2A2A2A; --navy-deep: #000000;
  --green: var(--foil);
  --accent: #A8862A;       /* italic word on light: 4.6:1 on Pearl Mist */
  --accent-soft: #D4AF37;  /* italic word on dark: 6.6:1 on Midnight Teal */
  --ink: var(--midnight); --charcoal: var(--midnight);
  --bg: var(--pearl); --ivory: var(--pearl); --pale: #F4EBDD;

  --f-head: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-body: 18px;
}
@media (max-width: 640px) { :root { --fs-body: 18px; } }

/* Nunito is rounder and wider than the template face: ease the negative tracking a touch */
.h-display { letter-spacing: -.035em; }
.h-section, .h-card { letter-spacing: -.03em; }

/* ---------- Get started: RebirthDirect RX gold foil pill (brand Gold #D4AF37 into deep gold), white label ---------- */
.btn.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, #BE9A30 52%, var(--gold-lo) 100%) !important;
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(80, 58, 6, .35);
  border-color: rgba(168, 134, 42, .7) !important;
  box-shadow: 0 10px 22px -14px rgba(120, 92, 10, .75), inset 0 1px 0 rgba(255, 255, 255, .35) !important;
  font-weight: 600;
}
.btn.btn--primary::before { background: linear-gradient(135deg, #B8952F 0%, #8F7022 100%) !important; }
.btn.btn--primary:hover { color: #fff !important; border-color: #8F7022 !important; }
.btn.btn--primary:focus-visible { outline-color: var(--midnight); }
.wm .btn.btn--primary:focus-visible, .cta .btn.btn--primary:focus-visible, .footer .btn.btn--primary:focus-visible { outline-color: #fff; }

/* ---------- Logo: the client's horizontal lockup (badge + wordmark) as one image ---------- */
.logo img.logo__lockup { display: block; width: auto; height: 46px; }
@media (max-width: 640px) { .logo img.logo__lockup { height: 38px; } }
.logo--light img.logo__lockup { display: none; }
.logo--light img.logo__badge { display: block; width: 64px; height: 64px; padding: 3px; border-radius: 50%; background: var(--pearl); }
.logo:not(.logo--light) img.logo__badge { display: none; }
.logo--light .logo__word { display: inline-flex; gap: .28em; }
.logo__word { font-family: var(--f-head); font-weight: 800; letter-spacing: -.01em; }
.logo--light .logo__word b { color: #fff; }
.logo--light .logo__word i { color: var(--gold); font-style: normal; }

/* ---------- "More ways we can help": four light tints drawn from the palette,
   cool / warm / warm / cool like the Karpa example. All pale, so the products carry the colour. ---------- */
.minis { grid-template-columns: repeat(4, 1fr); }
.mini--mint  { background: #DDEFEC; }  /* foil teal mist */
.mini--sand  { background: #F3EAD3; }  /* champagne, from antique gold */
.mini--blush { background: #F5E2DA; }  /* copper blush, from copper rose */
.mini--sage  { background: #E3EBE5; }  /* pearl sage, from midnight teal */
.mini .mini__title { color: var(--midnight); }
@media (max-width: 640px) { .minis { grid-template-columns: 1fr 1fr; } }

/* ---------- Hero: the three trust points sit above the buttons, one per line ---------- */
.hero--lb .hero__trust { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start; gap: 10px; }
.hero--lb .hero__trust li { font-size: 16px; }
.hero--lb .hero__trust svg { stroke: var(--foil) !important; }
@media (max-width: 640px) { .hero--lb .hero__trust { gap: 8px; } }

/* ---------- Footer: tagline in Copper Rose, the brand's "human" accent ---------- */
.footer__tagline { font-family: var(--f-head); }
.footer__tagline em { color: var(--gold); }  /* brand gold on the dark footer */

/* Trust bar dot in gold, the only other gold on the page */
.announce__msg .dot { background: var(--gold); }

/* ---------- Plain Midnight Teal panels (peptides, closing CTA): accents in exact Antique Gold ----------
   Teal + gold, like the logo, so the gold "Get started" belongs to the panel instead of arriving alone.
   #D4AF37 on #111111 is ~5.1:1, so it passes AA even for the small "Check eligibility" links.
   Photo scenes keep the soft teal accent; light sections keep deep teal (never gold text on light). */
.wm--pep .wm__eyebrow, .cta .wm__eyebrow,
.wm--pep .h-section--light em, .wm--pep .h-card em, .cta .h-section--light em,
.wm--pep .orbit__ch, .wm--pep .tx__link, .wm--pep .dissolve__steps span { color: var(--gold); }
.wm--pep .wm__eyebrow::before, .wm--pep .wm__eyebrow::after,
.cta .wm__eyebrow::before, .cta .wm__eyebrow::after { background: var(--gold); }
.wm--pep .dissolve__progress .dissolve__arc { stroke: var(--gold); }
.wm--pep .dissolve__rings i { border-color: rgba(212, 175, 55, .35); }
.wm--pep .wm__glow { background: radial-gradient(circle, rgba(212, 175, 55, .22) 0%, rgba(212, 175, 55, .06) 45%, rgba(212, 175, 55, 0) 70%); }

/* ---------- Peptides: the light beam enters from the top of the panel ----------
   The template sized the beam as a % of the panel height. This panel is ~2900px tall (cards,
   body map, troche card), so the beam's bright middle landed on the Troches / Injectables tabs.
   Pin it to fixed sizes at the top instead and fade its lower end, so the light comes in from the
   top right behind the heading and dies out before the product row. */
.wm--pep .wm__beam {
  top: -560px;
  left: 50%;
  width: clamp(220px, 32%, 380px);
  height: 1500px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, rgba(0, 0, 0, .35) 62%, rgba(0, 0, 0, 0) 80%);
          mask-image: linear-gradient(180deg, #000 0%, #000 45%, rgba(0, 0, 0, .35) 62%, rgba(0, 0, 0, 0) 80%);
}
@media (max-width: 640px) { .wm--pep .wm__beam { top: -640px; left: 30%; height: 1300px; } }

/* ---------- Weight loss: watercolor living room + cut-out (Mind Body 1 U imagery) ----------
   --sky is the painting's own top edge (sampled: an even sage-teal #6A7866), so the band above the
   image runs straight into the wall. The scene fades into the Midnight Teal base underneath.
   She stands in front of the sofa (it is only the backdrop), large in frame like the reference:
   hair starts just under the heading, shoulders cross the sofa back, lower body fades into the base.
   Her face sits at ~51% of the cut-out's width, so centre on that. */
.scn--weight { --sky: #6A7866; --base: #0A0A0A; --base-2: #000000; }
.scn--weight .trt-scene__bg { object-position: 50% 30%; }
.scn--weight .trt-scene__man { height: 75%; bottom: 0; transform: translateX(-51%); }
@media (max-width: 640px) {
  .scn--weight .trt-scene__bg { object-position: 42% 30%; }
  .scn--weight .trt-scene__man { height: 66%; transform: translateX(-51%); }
}
/* Weight loss background at its natural 1.0x size on desktop and tablet (no cover scaling).
   The image is 915px tall in a 940px scene; it sits on the bottom, and the 25px above it is the
   panel's own --sky band (#6A7866, the painting's top edge), so there's no visible seam.
   Phones keep the cover fit: at 1.0x a 351px-wide phone would show an even tighter crop. */
@media (min-width: 641px) {
  .scn--weight .trt-scene__bg { object-fit: none; object-position: 50% 100%; }
}

/* ---------- Hormone therapy: watercolor glass building + cut-out (Mind Body 1 U imagery) ----------
   The band above the image repeats the painting's own top row, left to right (sampled sky blues),
   so it runs straight into the sky. The drifting lab cards stay behind her. Shown at its natural
   1.0x size on desktop like weight loss, anchored to the bottom. She sits large in frame with her
   hair just under the heading; her face is at ~52% of the cut-out's width. */
.scn--hrt .wm__panel {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0) 0, rgba(10, 10, 10, 0) 80px, var(--base) 560px, var(--base) 70%, var(--base-2) 100%),
    linear-gradient(90deg, #2492D6 0%, #3399DB 10%, #2594DE 25%, #1986D0 40%, #1487D3 50%, #42A2E3 60%, #379CDF 75%, #5AA5DC 90%, #3798DC 100%);
}
/* soft Midnight Teal wash behind the eyebrow and title (was the template's navy) */
.scn--hrt .wm__panel::after { background: linear-gradient(180deg, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, .2) 45%, rgba(0, 0, 0, 0) 100%); }
.scn--hrt .trt-scene__man { height: 75%; bottom: 0; transform: translateX(-52%); }
@media (min-width: 641px) { .scn--hrt .trt-scene__bg { object-fit: none; object-position: 50% 100%; } }
@media (max-width: 640px) { .scn--hrt .trt-scene__man { height: 71%; transform: translateX(-52%); } }
/* Over the blue watercolor sky the soft-teal italic disappears; Pearl Mist keeps it readable */
.scn--hrt .wm__intro .h-section em { color: var(--pearl); }

/* ==========================================================================
   Hair loss, sexual health, skin care: Mind Body 1 U watercolor scenes
   Same recipe as weight loss and HRT: the band above each painting repeats its own top row
   (sampled left to right), the painting shows at its natural 1.0x size on desktop, anchored to
   the bottom, and fades into the Midnight Teal base. Each person stands large in frame with
   the hair just under the heading. A soft Midnight Teal wash keeps the white title readable
   over the bright tops (cream ceiling, sunset clouds, leaves); the italic word is Pearl Mist.
   ========================================================================== */
.scn--hair, .scn--sexual, .scn--skin { --base: #0A0A0A; --base-2: #000000; }
.scn--hair .wm__panel {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0) 0, rgba(10, 10, 10, 0) 80px, var(--base) 560px, var(--base) 70%, var(--base-2) 100%),
    linear-gradient(90deg, #617767 0%, #DDAB79 10%, #E8B887 25%, #E6B07A 40%, #EDB988 50%, #F3C18B 60%, #D5A473 75%, #A57F52 90%, #B7895A 100%);
}
.scn--sexual .wm__panel {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0) 0, rgba(10, 10, 10, 0) 80px, var(--base) 560px, var(--base) 70%, var(--base-2) 100%),
    linear-gradient(90deg, #D78854 0%, #DA8550 10%, #C47D60 25%, #EB873F 40%, #F28B3D 50%, #E19263 60%, #C5856F 75%, #DF8F61 90%, #DA9964 100%);
}
.scn--skin .wm__panel {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0) 0, rgba(10, 10, 10, 0) 80px, var(--base) 560px, var(--base) 70%, var(--base-2) 100%),
    linear-gradient(90deg, #A48526 0%, #705211 10%, #B6A719 25%, #85750D 40%, #4E5B07 50%, #888709 60%, #657221 75%, #575609 90%, #668A2F 100%);
}

/* the template's per-scene title washes (navy / leaf green) are replaced by one teal wash */
.scn--hair .wm__intro::before, .scn--sexual .wm__intro::before, .scn--skin .wm__intro::before { display: none; }
.scn--hair .wm__panel::after, .scn--sexual .wm__panel::after, .scn--skin .wm__panel::after {
  content: ""; display: block; position: absolute; z-index: 3; inset: 0 0 auto; height: 380px;
  border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .24) 45%, rgba(0, 0, 0, 0) 100%);
}
@media (max-width: 640px) { .scn--hair .wm__panel::after, .scn--sexual .wm__panel::after, .scn--skin .wm__panel::after { height: 260px; } }

/* white type on all three (hair used to be a light scene with navy type) */
.scn--hair .wm__eyebrow, .scn--sexual .wm__eyebrow, .scn--skin .wm__eyebrow,
.scn--hair .wm__intro .h-section, .scn--sexual .wm__intro .h-section, .scn--skin .wm__intro .h-section { color: #fff; }
.scn--hair .wm__intro .h-section em, .scn--sexual .wm__intro .h-section em, .scn--skin .wm__intro .h-section em { color: var(--pearl); }
.scn--hair .trt-scene__note { color: rgba(255, 255, 255, .75); }
.scn--skin .dk { background: rgba(0, 0, 0, .62); }

/* people: large in frame, centred on the face */
.scn--hair .trt-scene__man   { height: 75%; bottom: 0; transform: translateX(-50%); }
.scn--sexual .trt-scene__man { height: 75%; bottom: 0; transform: translateX(-48%); }
.scn--skin .trt-scene__man   { height: 75%; bottom: 0; transform: translateX(-49%); }
@media (min-width: 641px) {
  .scn--hair .trt-scene__bg, .scn--sexual .trt-scene__bg, .scn--skin .trt-scene__bg { object-fit: none; object-position: 50% 100%; }
}
@media (max-width: 640px) {
  .scn--hair .trt-scene__man   { height: 71%; transform: translateX(-50%); }
  .scn--sexual .trt-scene__man { height: 71%; transform: translateX(-48%); }
  .scn--skin .trt-scene__man   { height: 71%; transform: translateX(-49%); }
}

/* ==========================================================================
   Top overlay on every scene section (weight, sexual, hair, skin, HRT):
   one soft Midnight Teal wash from the top edge only, so the eyebrow and heading always read.
   It sits above the painting and its band (z 3) and below the heading block (z 4).
   ========================================================================== */
.scn--weight .wm__panel::after, .scn--sexual .wm__panel::after, .scn--hair .wm__panel::after,
.scn--skin .wm__panel::after, .scn--hrt .wm__panel::after {
  content: ""; display: block; position: absolute; z-index: 3; inset: 0 0 auto; height: 440px;
  border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .42) 30%, rgba(0, 0, 0, .16) 65%, rgba(0, 0, 0, 0) 100%);
}
@media (max-width: 640px) {
  .scn--weight .wm__panel::after, .scn--sexual .wm__panel::after, .scn--hair .wm__panel::after,
  .scn--skin .wm__panel::after, .scn--hrt .wm__panel::after { height: 300px; }
}

/* ==========================================================================
   3D art (the chosen style; index.html sets <html data-art="3d">)
   Same scene recipe; each band repeats that painting's own top row, and each person is centred
   on their own face position.
   ========================================================================== */
html[data-art="3d"] .scn--weight .wm__panel {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0) 0, rgba(10, 10, 10, 0) 80px, var(--base) 560px, var(--base) 70%, var(--base-2) 100%),
    linear-gradient(90deg, #D9E0D5 0%, #DAE1D7 2.5%, #DDE2D9 5%, #DFE3DA 7.5%, #E1E4DA 10%, #E2E5D9 12.5%, #E4E6D9 15%, #E5E7DA 17.5%, #E7E8DB 20%, #E8EADC 22.5%, #E9EBDD 25%, #EAEBDD 27.5%, #EBEBDE 30%, #EBECDE 32.5%, #ECECDE 35%, #EDECDE 37.5%, #EEECDF 40%, #EFECDF 42.5%, #F0EDDF 45%, #F0EDDF 47.5%, #F1EEDF 50%, #F1EEE0 52.5%, #F1EEE0 55%, #F1EEE0 57.5%, #F1EEDF 60%, #F1EEDF 62.5%, #F2EFE0 65%, #F1EDDD 67.5%, #EDE5D2 70%, #ECE2CE 72.5%, #EDE1CC 75%, #EEDFC9 77.5%, #EFDCC3 80%, #F2DFC3 82.5%, #F4E0C3 85%, #F4DEC1 87.5%, #F7E1C1 90%, #FBE6C5 92.5%, #FDEAC9 95%, #FDEAC7 97.5%, #FEE9C5 100%);
}
html[data-art="3d"] .scn--sexual .wm__panel {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0) 0, rgba(10, 10, 10, 0) 80px, var(--base) 560px, var(--base) 70%, var(--base-2) 100%),
    linear-gradient(90deg, #564939 0%, #564939 0.4%, #574A3A 0.4%, #574A3A 0.8%, #584B3A 0.8%, #584B3A 1.2%, #5A4D3C 1.2%, #5A4D3C 1.6%, #584B3A 1.6%, #584B3A 2%, #5A4D3C 2%, #5A4D3C 2.4%, #5D4D3D 2.4%, #5D4D3D 2.8%, #5F4F3F 2.8%, #5F4F3F 3.2%, #5F4F3F 3.2%, #5F4F3F 3.6%, #605040 3.6%, #605040 4%, #61523F 4%, #61523F 4.4%, #625340 4.4%, #625340 4.8%, #635441 4.8%, #635441 5.2%, #655643 5.2%, #655643 5.6%, #665543 5.6%, #665543 6%, #675644 6%, #675644 6.4%, #675644 6.4%, #675644 6.8%, #695846 6.8%, #695846 7.2%, #6C5B47 7.2%, #6C5B47 7.6%, #6B5A46 7.6%, #6B5A46 8%, #6E5C48 8%, #6E5C48 8.4%, #6D5B47 8.4%, #6D5B47 8.8%, #6B5945 8.8%, #6B5945 9.2%, #6F5D49 9.2%, #6F5D49 9.6%, #6F5D49 9.6%, #6F5D49 10%, #705E4A 10%, #705E4A 10.4%, #72604C 10.4%, #72604C 10.8%, #73614D 10.8%, #73614D 11.2%, #73614D 11.2%, #73614D 11.6%, #75634F 11.6%, #75634F 12%, #73624E 12%, #73624E 12.4%, #75634F 12.4%, #75634F 12.8%, #766450 12.8%, #766450 13.2%, #75634F 13.2%, #75634F 13.6%, #766450 13.6%, #766450 14%, #766450 14%, #766450 14.4%, #796550 14.4%, #796550 14.8%, #7A6651 14.8%, #7A6651 15.2%, #7B6753 15.2%, #7B6753 15.6%, #7C6853 15.6%, #7C6853 16%, #7C6753 16%, #7C6753 16.4%, #7C6753 16.4%, #7C6753 16.8%, #7F6A55 16.8%, #7F6A55 17.2%, #7F6A55 17.2%, #7F6A55 17.6%, #806B56 17.6%, #806B56 18%, #7F6A55 18%, #7F6A55 18.4%, #7F6A55 18.4%, #7F6A55 18.8%, #7F6A55 18.8%, #7F6A55 19.2%, #806B56 19.2%, #806B56 19.6%, #826D58 19.6%, #826D58 20%, #826E56 20%, #826E56 20.4%, #826E56 20.4%, #826E56 20.8%, #836D56 20.8%, #836D56 21.2%, #816B54 21.2%, #816B54 21.6%, #836E59 21.6%, #836E59 22%, #816C57 22%, #816C57 22.4%, #836D58 22.4%, #836D58 22.8%, #836D58 22.8%, #836D58 23.2%, #836D58 23.2%, #836D58 23.6%, #816B56 23.6%, #816B56 24%, #816B54 24%, #816B54 24.4%, #806A53 24.4%, #806A53 24.8%, #816B56 24.8%, #816B56 25.2%, #816B56 25.2%, #816B56 25.6%, #826C55 25.6%, #826C55 26%, #806A53 26%, #806A53 26.4%, #7F6952 26.4%, #7F6952 26.8%, #806A53 26.8%, #806A53 27.2%, #816B54 27.2%, #816B54 27.6%, #7E6851 27.6%, #7E6851 28%, #7E6851 28%, #7E6851 28.4%, #7F6952 28.4%, #7F6952 28.8%, #7E6851 28.8%, #7E6851 29.2%, #7E6851 29.2%, #7E6851 29.6%, #7F6650 29.6%, #7F6650 30%, #806751 30%, #806751 30.4%, #7E6851 30.4%, #7E6851 30.8%, #7C664F 30.8%, #7C664F 31.2%, #7F6650 31.2%, #7F6650 31.6%, #7D644E 31.6%, #7D644E 32%, #7B654E 32%, #7B654E 32.4%, #7A644D 32.4%, #7A644D 32.8%, #7B644D 32.8%, #7B644D 33.2%, #7A634C 33.2%, #7A634C 33.6%, #7A634D 33.6%, #7A634D 34%, #79624C 34%, #79624C 34.4%, #78614A 34.4%, #78614A 34.8%, #78614A 34.8%, #78614A 35.2%, #765F49 35.2%, #765F49 35.6%, #77604A 35.6%, #77604A 36%, #785F49 36%, #785F49 36.4%, #775E48 36.4%, #775E48 36.8%, #775E48 36.8%, #775E48 37.2%, #765D47 37.2%, #765D47 37.6%, #765D47 37.6%, #765D47 38%, #755C46 38%, #755C46 38.4%, #765D47 38.4%, #765D47 38.8%, #765D46 38.8%, #765D46 39.2%, #755D45 39.2%, #755D45 39.6%, #755D45 39.6%, #755D45 40%, #755C46 40%, #755C46 40.4%, #745B45 40.4%, #745B45 40.8%, #755A45 40.8%, #755A45 41.2%, #735843 41.2%, #735843 41.6%, #705741 41.6%, #705741 42%, #705741 42%, #705741 42.4%, #725943 42.4%, #725943 42.8%, #705741 42.8%, #705741 43.2%, #705741 43.2%, #705741 43.6%, #6F5640 43.6%, #6F5640 44%, #6E553F 44%, #6E553F 44.4%, #6E553F 44.4%, #6E553F 44.8%, #6D543E 44.8%, #6D543E 45.2%, #6D543E 45.2%, #6D543E 45.6%, #6D543E 45.6%, #6D543E 46%, #6E553F 46%, #6E553F 46.4%, #6D563F 46.4%, #6D563F 46.8%, #6C553E 46.8%, #6C553E 47.2%, #6A543D 47.2%, #6A543D 47.6%, #6A543D 47.6%, #6A543D 48%, #6A543D 48%, #6A543D 48.4%, #6B553E 48.4%, #6B553E 48.8%, #6A543E 48.8%, #6A543E 49.2%, #69533E 49.2%, #69533E 49.6%, #6A543E 49.6%, #6A543E 50%, #6A543E 50%, #6A543E 50.4%, #69533E 50.4%, #69533E 50.8%, #68523D 50.8%, #68523D 51.2%, #68523D 51.2%, #68523D 51.6%, #69533E 51.6%, #69533E 52%, #68513E 52%, #68513E 52.4%, #67503D 52.4%, #67503D 52.8%, #63513F 52.8%, #63513F 53.2%, #63503E 53.2%, #63503E 53.6%, #65513F 53.6%, #65513F 54%, #634F3D 54%, #634F3D 54.4%, #614F3E 54.4%, #614F3E 54.8%, #62503F 54.8%, #62503F 55.2%, #604E3D 55.2%, #604E3D 55.6%, #604E3C 55.6%, #604E3C 56%, #604F3E 56%, #604F3E 56.4%, #5F4D3D 56.4%, #5F4D3D 56.8%, #5E4D3D 56.8%, #5E4D3D 57.2%, #5E4C3C 57.2%, #5E4C3C 57.6%, #5C4B3B 57.6%, #5C4B3B 58%, #5C4B3B 58%, #5C4B3B 58.4%, #5B4A3A 58.4%, #5B4A3A 58.8%, #594838 58.8%, #594838 59.2%, #584638 59.2%, #584638 59.6%, #584638 59.6%, #584638 60%, #584638 60%, #584638 60.4%, #544435 60.4%, #544435 60.8%, #534334 60.8%, #534334 61.2%, #534333 61.2%, #534333 61.6%, #514134 61.6%, #514134 62%, #504032 62%, #504032 62.4%, #4B3D30 62.4%, #4B3D30 62.8%, #4E3F32 62.8%, #4E3F32 63.2%, #4A3C2F 63.2%, #4A3C2F 63.6%, #4A3C2F 63.6%, #4A3C2F 64%, #493B2E 64%, #493B2E 64.4%, #47392C 64.4%, #47392C 64.8%, #47392E 64.8%, #47392E 65.2%, #46382D 65.2%, #46382D 65.6%, #45382C 65.6%, #45382C 66%, #44382B 66%, #44382B 66.4%, #44372B 66.4%, #44372B 66.8%, #43362A 66.8%, #43362A 67.2%, #42362A 67.2%, #42362A 67.6%, #42362A 67.6%, #42362A 68%, #42362A 68%, #42362A 68.4%, #413529 68.4%, #413529 68.8%, #403428 68.8%, #403428 69.2%, #403428 69.2%, #403428 69.6%, #3E3226 69.6%, #3E3226 70%, #3D3125 70%, #3D3125 70.4%, #3C3024 70.4%, #3C3024 70.8%, #3B2F23 70.8%, #3B2F23 71.2%, #3C3125 71.2%, #3C3125 71.6%, #493A2C 71.6%, #493A2C 72%, #504031 72%, #504031 72.4%, #544234 72.4%, #544234 72.8%, #584638 72.8%, #584638 73.2%, #5C4A3C 73.2%, #5C4A3C 73.6%, #5F4E3E 73.6%, #5F4E3E 74%, #635242 74%, #635242 74.4%, #604F3F 74.4%, #604F3F 74.8%, #5A4A3B 74.8%, #5A4A3B 75.2%, #4E4032 75.2%, #4E4032 75.6%, #4C4033 75.6%, #4C4033 76%, #4B4135 76%, #4B4135 76.4%, #41382D 76.4%, #41382D 76.8%, #3D342B 76.8%, #3D342B 77.2%, #6A6156 77.2%, #6A6156 77.6%, #463F35 77.6%, #463F35 78%, #080706 78%, #080706 78.4%, #030403 78.4%, #030403 78.8%, #0D0D0B 78.8%, #0D0D0B 79.2%, #0B0B09 79.2%, #0B0B09 79.6%, #0C0D08 79.6%, #0C0D08 80%, #2B251E 80%, #2B251E 80.4%, #4B4432 80.4%, #4B4432 80.8%, #564E3C 80.8%, #564E3C 81.2%, #73644B 81.2%, #73644B 81.6%, #847558 81.6%, #847558 82%, #97896C 82%, #97896C 82.4%, #A69274 82.4%, #A69274 82.8%, #9F8867 82.8%, #9F8867 83.2%, #A18C6B 83.2%, #A18C6B 83.6%, #AC9474 83.6%, #AC9474 84%, #AE9571 84%, #AE9571 84.4%, #A68C67 84.4%, #A68C67 84.8%, #A98D67 84.8%, #A98D67 85.2%, #AD916C 85.2%, #AD916C 85.6%, #A9916D 85.6%, #A9916D 86%, #AC9471 86%, #AC9471 86.4%, #AA926F 86.4%, #AA926F 86.8%, #AA9372 86.8%, #AA9372 87.2%, #A99270 87.2%, #A99270 87.6%, #AA9371 87.6%, #AA9371 88%, #AB9471 88%, #AB9471 88.4%, #AC9572 88.4%, #AC9572 88.8%, #AE9772 88.8%, #AE9772 89.2%, #AB946F 89.2%, #AB946F 89.6%, #AB9371 89.6%, #AB9371 90%, #AE9674 90%, #AE9674 90.4%, #AC9673 90.4%, #AC9673 90.8%, #B09B7B 90.8%, #B09B7B 91.2%, #B49F80 91.2%, #B49F80 91.6%, #AF9878 91.6%, #AF9878 92%, #B39C7C 92%, #B39C7C 92.4%, #B09879 92.4%, #B09879 92.8%, #B6A181 92.8%, #B6A181 93.2%, #B7A282 93.2%, #B7A282 93.6%, #BBA584 93.6%, #BBA584 94%, #BDA888 94%, #BDA888 94.4%, #C2AF91 94.4%, #C2AF91 94.8%, #B6A386 94.8%, #B6A386 95.2%, #443D33 95.2%, #443D33 95.6%, #23201A 95.6%, #23201A 96%, #23201B 96%, #23201B 96.4%, #201F1A 96.4%, #201F1A 96.8%, #201E1B 96.8%, #201E1B 97.2%, #333638 97.2%, #333638 97.6%, #727B84 97.6%, #727B84 98%, #767F88 98%, #767F88 98.4%, #444A4F 98.4%, #444A4F 98.8%, #484745 98.8%, #484745 99.2%, #CDA57F 99.2%, #CDA57F 99.6%, #CD9E72 99.6%, #CD9E72 100%);  /* bedroom: ceiling, curtain, window frames, sky */
}
html[data-art="3d"] .scn--hair .wm__panel {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0) 0, rgba(10, 10, 10, 0) 80px, var(--base) 560px, var(--base) 70%, var(--base-2) 100%),
    linear-gradient(90deg, #AC987D 0%, #B4A084 10%, #BDA88D 25%, #C7B29A 40%, #CFBCA7 50%, #D7C6B2 60%, #CFB9A1 75%, #5C6C5B 90%, #A48059 100%);
}
html[data-art="3d"] .scn--skin .wm__panel {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0) 0, rgba(10, 10, 10, 0) 80px, var(--base) 560px, var(--base) 70%, var(--base-2) 100%),
    linear-gradient(90deg, #ADC5D8 0%, #B1C8DD 10%, #B2C9DF 25%, #B0C8DE 40%, #AEC6DC 50%, #B0C8DB 60%, #B0C6D9 75%, #AFC3D5 90%, #ABBDD0 100%);
}
html[data-art="3d"] .scn--hrt .wm__panel {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0) 0, rgba(10, 10, 10, 0) 80px, var(--base) 560px, var(--base) 70%, var(--base-2) 100%),
    linear-gradient(90deg, #D8D1CD 0%, #DAD4CD 5%, #DED6CD 10%, #DFD7CF 15%, #E3D9D1 20%, #E4DAD2 25%, #E6DDD2 30%, #E9DDD4 35%, #EADED4 40%, #ECE1D5 45%, #EEE1D5 50%, #F0E2D7 55%, #F2E4D6 60%, #F3E5D8 65%, #F4E6D9 70%, #F5E7DA 75%, #F5E7DA 80%, #F5E7D9 85%, #F6E9D9 90%, #F6E9D8 95%, #F2E2D3 100%);  /* Bloodwork: meadow sky */
}
html[data-art="3d"] .scn--weight .trt-scene__man { transform: translateX(-52%); }  /* beach couple (4K pack): faces centre at 52% */
html[data-art="3d"] .scn--sexual .trt-scene__man { transform: translateX(-50%); }  /* bedroom couple (4K pack): faces centre at 50% */
html[data-art="3d"] .scn--hair .trt-scene__man   { transform: translateX(-50%); }
html[data-art="3d"] .scn--skin .trt-scene__man { transform: translateX(-57%); }  /* meadow scene: face sits at 57% of the cut-out */
html[data-art="3d"] .scn--hrt .trt-scene__man { transform: translateX(-40%); }  /* Bloodwork meadow couple (4K pack): faces centre at 40% */


/* ---------- Get started window: one simple card per row (title, one line, image) ---------- */
.goals__list--v2 { display: grid !important; grid-template-columns: 1fr !important; gap: 10px; max-width: 720px; margin-left: auto; margin-right: auto; }
.goal--v2 { display: flex !important; align-items: center; gap: 18px; padding: 10px 16px 10px 10px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); min-height: 0 !important; height: auto !important; }
.goal--v2:hover { background: rgba(255, 255, 255, .1); }
.goal--v2 .goal__img { position: relative; flex: none; width: 132px; height: 88px; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.goal--v2 .goal__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.goal--v2 .goal__img--cover img { object-fit: cover; object-position: 78% 50%; }
.goal--v2 .goal__img--product img { object-fit: contain; padding: 6px; }
.goal--v2 .goal__text { flex: 1; min-width: 0; }
.goal--v2 .goal__text b { display: block; font-size: 18px; font-weight: 600; }
.goal--v2 .goal__text small { display: block; margin-top: 2px; font-size: 14px; opacity: .72; }
.goal--v2 .goal__text em { display: none; }
@media (max-width: 640px) { .goal--v2 { gap: 14px; } .goal--v2 .goal__img { width: 96px; height: 72px; } .goal--v2 .goal__text b { font-size: 16px; } }

/* ==========================================================================
   RebirthDirect RX brand pieces
   ========================================================================== */

/* ---------- Logo (light backgrounds): sunburst above the wordmark, gold "Rx", tagline under a rule ---------- */
.logo.rdx-logo { display: inline-grid; justify-items: center; gap: 0; line-height: 1; text-decoration: none; }
.rdx-logo__sun { display: block; width: 46px; height: auto; margin-bottom: -1px; }
.rdx-logo__word {
  font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 25px; letter-spacing: -.01em;
  color: var(--midnight); white-space: nowrap;
}
.rdx-logo__word i {
  font-style: normal; margin-left: .02em;
  background: linear-gradient(180deg, #D4AF37 0%, #A8862A 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rdx-logo__tag {
  display: flex; align-items: center; gap: 6px; margin-top: 4px;
  font: 600 6.5px/1 var(--f-body); letter-spacing: .26em; text-transform: uppercase; color: #3A3A3A;
}
.rdx-logo__tag::before, .rdx-logo__tag::after { content: ""; width: 16px; height: 1px; background: var(--gold-lo); }
@media (max-width: 640px) {
  .rdx-logo__sun { width: 38px; }
  .rdx-logo__word { font-size: 21px; }
  .rdx-logo__tag { font-size: 5.5px; }
}

/* ---------- Logo (dark backgrounds): the client's own artwork on Midnight Black ---------- */
.logo.rdx-logo-dark img { display: block; mix-blend-mode: screen; /* drops the artwork's black ground on any dark band */ width: 240px; height: auto; margin: -18px 0 -14px -18px; }
.goals__bar .logo.rdx-logo-dark img { width: 170px; margin: -14px 0 -12px -14px; }

/* ---------- Hero "more ways we can help" cards: brand tints with a soft sunrise ---------- */
.minis .mini { border: 1px solid rgba(168, 134, 42, .18); box-shadow: 0 18px 34px -28px rgba(17, 17, 17, .35); }
.minis .mini.mini--mint, .minis .mini.mini--sand, .minis .mini.mini--blush, .minis .mini.mini--sage {
  background: linear-gradient(160deg, #FBF5E8 0%, #EFE2CB 100%);  /* one Warm Sand tone for all four */
}
.minis .mini::before {
  width: 240px; height: 240px; right: -70px; bottom: -110px; filter: none;
  background: radial-gradient(circle, rgba(212, 175, 55, .30) 0%, rgba(212, 175, 55, .10) 45%, rgba(212, 175, 55, 0) 70%);
}
.minis .mini::after {
  content: ""; position: absolute; z-index: -1; right: 6px; bottom: 10px; width: 150px; aspect-ratio: 120 / 58;
  background: url(../img/brand/rebirth-sunburst.svg) no-repeat center / contain; opacity: .22;
}
.minis .mini:hover { border-color: rgba(168, 134, 42, .45); }

/* Weight loss title: italic accent word in Ivory (gold was too faint on the bright beach sky). This section only. */
.scn--weight .wm__intro .h-section em { color: var(--pearl); }

/* Hero card + chooser: the lab tube illustration (SVG, square artboard like the product renders) */
/* Bloodwork: the title runs longer than the old one, so the meadow cut-out sits a touch smaller */
.scn--labs .trt-scene__man { height: 69%; }
@media (max-width: 640px) { .scn--labs .trt-scene__man { height: 64%; } }

/* Product pages: second gallery image is a full-bleed lifestyle photo */
.pd__view--photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 50% 30%; filter: none; }
.pd__view--photo.is-active img { animation: pd-photo 1s var(--ease-out) both; }
@keyframes pd-photo { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.pd__thumb--1 span { background-position: 50% 25%; }

/* Get started window: lifestyle photos fill each card's image slot */
.goal--v2 .goal__img--cover.goal__img--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

/* Hero cards: golden-hour product scenes with the product centred, so the crop stays centred too */
.cats .cat .cat__media img.cat__bg[src*="cards/"] { object-position: 50% 58%; top: 0; height: 102.5%; }  /* sit the product a little lower so the line under the title stays clear */
/* Sexual health: "Private by design" row (brief) */
.wm__private { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin: 34px auto 0; padding: 0; list-style: none; }
.wm__private li { padding: 9px 16px; border: 1px solid rgba(212, 175, 55, .35); border-radius: 999px; font-size: 14px; color: rgba(253, 249, 241, .86); }
.wm__private li:first-child { border-color: transparent; padding-left: 0; padding-right: 4px; color: var(--gold); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }

/* ==========================================================================
   Mobile audit fixes (375px)
   ========================================================================== */
@media (max-width: 640px) {
  /* Hero cards: taller (4:5) so the product sits below a one-line title and description */
  .cats .cat:has(img.cat__bg[src*="cards/"]) { aspect-ratio: 4 / 5 !important; height: auto !important; }
  .cats .cat .cat__text, .cats .cat:has(img.cat__bg[src*="cards/"]) .cat__text { max-width: 100% !important; }
  .cats .cat .cat__text .cat__title, .cats .cat .cat__text .cat__desc { white-space: nowrap !important; }

  /* Goal cards: a little taller, title vertically centred */
  .minis .mini { height: 108px !important; flex-direction: row !important; align-items: center !important; padding: 0 22px !important; }
  .minis .mini .mini__vial { height: 118px !important; bottom: -14px !important; }
  .minis { gap: 8px !important; }

  /* Bloodwork: the longest headline; size it so it stays on two lines */
  .scn--labs .wm__intro .h-section { font-size: 25px; }

  /* Closing CTA eyebrow: keep on one line */
  .cta .wm__eyebrow { font-size: 11px; letter-spacing: .12em; white-space: nowrap; }

  /* Weight loss: larger cut-out, head close under the title like desktop */
  .scn.scn--weight .trt-scene__man { height: 436px !important; }

  /* Sexual health: lift the photo so the ceiling edge sits above the panel instead of behind the title */
  .scn--sexual .trt-scene__bg { top: -130px !important; height: calc(100% + 130px) !important; }

  /* Peptides: centre the vial (its gold cap pulls the visual centre up) inside the orbiting text */
  .wm--pep .pep-pen { margin: 18px 0 0 6px; }
}

/* Goal cards: a little shorter on desktop so the hero stays compact */
@media (min-width: 641px) {
  .minis .mini { height: 158px; }
  .minis .mini .mini__vial[src*="products/"] { height: 165px; bottom: -26px; }
}

/* Product cards: two actions side by side (Get started = intake, Learn more = detail page) */
.tx__actions { display: flex; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(246, 246, 240, .12); }
.tx__actions > a { flex: 1 1 0; min-width: 0; justify-content: center; text-align: center; white-space: nowrap; }
.tx__actions .tx__go { padding-left: 14px !important; padding-right: 14px !important; }
.tx__more {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 14px;
  border: 1px solid rgba(246, 246, 240, .32); border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--pearl); text-decoration: none;
  transition: border-color .3s, background-color .3s, color .3s;
}
.tx__more:hover { border-color: var(--gold); color: var(--gold); }
/* light card grids (category pages) */
.catp-grid .tx__actions { border-top-color: var(--line); }
.catp-grid .tx__more { color: var(--ink); border-color: rgba(17, 17, 17, .22); }
.catp-grid .tx__more:hover { color: var(--gold-lo); border-color: var(--gold-lo); }
@media (max-width: 640px) {
  .tx__actions { gap: 8px; }
  .tx__actions .tx__go, .tx__actions .tx__more { padding-left: 8px !important; padding-right: 8px !important; font-size: 14px; }
}

/* Hero: full-bleed video panel (reference layout), brand gold accents */
.hx__video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; display: block; }
.hx__title em { color: #fff; }
.hx__steps span { background: var(--gold); color: var(--midnight); }
.hx__kicker .pulse, .hx__kicker .pulse::after { background: var(--gold); border-color: var(--gold); }
.hx__chips a:hover { background: var(--gold); border-color: var(--gold); color: var(--midnight); }
/* Find your care: headline left, Start your visit right (no hero lede/trust list any more) */
.hero--find .hero__head { align-items: end; }
@media (prefers-reduced-motion: reduce) { .hx__video { animation: none; } }
/* Category card titles stay on one line (e.g. "Weight Management") */
.cats .cat .cat__text .cat__title { white-space: nowrap; font-size: clamp(22px, 1.9vw, 30px); }
.cats .cat:has(img.cat__bg[src*="cards/"]) .cat__text { max-width: 100%; }
/* Section headline wraps evenly on small screens ("Care built / around you") */
.hero--find .h-display .line > span { text-wrap: balance; }
@media (max-width: 640px) {
  /* Hero video: deeper shade under the copy so white text holds on bright frames */
  .hx__panel::before {
    background:
      linear-gradient(0deg, rgba(17, 17, 17, .82) 0%, rgba(17, 17, 17, .55) 42%, rgba(17, 17, 17, .12) 72%, rgba(17, 17, 17, 0) 100%) !important;
  }
}
/* Section 2 headline: a touch smaller than the page display size */
.hero--find .h-display { font-size: clamp(36px, 4.6vw, 68px); }
@media (max-width: 640px) {
  .hx__how { display: none !important; }
  .hero--find .h-display { font-size: 36px; }
}

/* Treatment chooser: product shots on a soft gold glow */
.goal--v2 .goal__img--glow {
  background:
    radial-gradient(60% 75% at 50% 62%, rgba(212, 175, 55, .34) 0%, rgba(212, 175, 55, .08) 55%, rgba(212, 175, 55, 0) 80%),
    rgba(255, 255, 255, .06);
}
.goal--v2 .goal__img--glow img { width: 100%; height: 100%; object-fit: contain; padding: 0; transform: scale(1.12); filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .45)); }

/* Scene backgrounds are now 2560px: scale them to the panel instead of showing them at 1:1 pixel size */
@media (min-width: 641px) {
  .scn--weight .trt-scene__bg, .scn--sexual .trt-scene__bg, .scn--hrt .trt-scene__bg { object-fit: cover !important; object-position: 50% 100% !important; }
}

/* ==========================================================================
   Scenes shot as one photo (4K pack): the couple layer is exported on the SAME canvas as the
   background, so both get identical crop rules and line up exactly like the original photo.
   ========================================================================== */
.scn .trt-scene .trt-scene__bg,
.scn .trt-scene .trt-scene__man--plate {
  position: absolute !important; inset: 0 !important; top: 0 !important; left: 0 !important;
  width: 100% !important; height: 100% !important; max-width: none !important;
  object-fit: cover !important; transform: none !important; translate: none !important;
}
.scn--weight .trt-scene .trt-scene__bg, .scn--weight .trt-scene .trt-scene__man--plate { object-position: 55% 100% !important; }
.scn--sexual .trt-scene .trt-scene__bg, .scn--sexual .trt-scene .trt-scene__man--plate { object-position: 51% 100% !important; }
.scn--hrt .trt-scene .trt-scene__bg, .scn--hrt .trt-scene .trt-scene__man--plate { object-position: 48% 100% !important; }
.trt-scene__man--plate { animation: none !important; }
/* Anchor the photo to the bottom at its true 16:9 shape; the colour band (sampled from the photo's
   top row) fills the space above it, so heads sit just under the headline like the original design */
@media (min-width: 641px) {
  .scn .trt-scene .trt-scene__bg,
  .scn .trt-scene .trt-scene__man--plate { top: auto !important; bottom: 0 !important; height: auto !important; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .scn .trt-scene .trt-scene__bg,
  .scn .trt-scene .trt-scene__man--plate { top: auto !important; bottom: 0 !important; height: 420px !important; }
}

/* Fake top band: the photo's own top-row colours fill the scene box above the photo (solid, no blur),
   cropped exactly like the photo so the edge is invisible */
.scn--weight .trt-scene { background: linear-gradient(90deg, #D9E0D5 0%, #DAE1D7 2.5%, #DDE2D9 5%, #DFE3DA 7.5%, #E1E4DA 10%, #E2E5D9 12.5%, #E4E6D9 15%, #E5E7DA 17.5%, #E7E8DB 20%, #E8EADC 22.5%, #E9EBDD 25%, #EAEBDD 27.5%, #EBEBDE 30%, #EBECDE 32.5%, #ECECDE 35%, #EDECDE 37.5%, #EEECDF 40%, #EFECDF 42.5%, #F0EDDF 45%, #F0EDDF 47.5%, #F1EEDF 50%, #F1EEE0 52.5%, #F1EEE0 55%, #F1EEE0 57.5%, #F1EEDF 60%, #F1EEDF 62.5%, #F2EFE0 65%, #F1EDDD 67.5%, #EDE5D2 70%, #ECE2CE 72.5%, #EDE1CC 75%, #EEDFC9 77.5%, #EFDCC3 80%, #F2DFC3 82.5%, #F4E0C3 85%, #F4DEC1 87.5%, #F7E1C1 90%, #FBE6C5 92.5%, #FDEAC9 95%, #FDEAC7 97.5%, #FEE9C5 100%) !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; }
.scn--sexual .trt-scene { background: linear-gradient(90deg, #564939 0%, #564939 0.4%, #574A3A 0.4%, #574A3A 0.8%, #584B3A 0.8%, #584B3A 1.2%, #5A4D3C 1.2%, #5A4D3C 1.6%, #584B3A 1.6%, #584B3A 2%, #5A4D3C 2%, #5A4D3C 2.4%, #5D4D3D 2.4%, #5D4D3D 2.8%, #5F4F3F 2.8%, #5F4F3F 3.2%, #5F4F3F 3.2%, #5F4F3F 3.6%, #605040 3.6%, #605040 4%, #61523F 4%, #61523F 4.4%, #625340 4.4%, #625340 4.8%, #635441 4.8%, #635441 5.2%, #655643 5.2%, #655643 5.6%, #665543 5.6%, #665543 6%, #675644 6%, #675644 6.4%, #675644 6.4%, #675644 6.8%, #695846 6.8%, #695846 7.2%, #6C5B47 7.2%, #6C5B47 7.6%, #6B5A46 7.6%, #6B5A46 8%, #6E5C48 8%, #6E5C48 8.4%, #6D5B47 8.4%, #6D5B47 8.8%, #6B5945 8.8%, #6B5945 9.2%, #6F5D49 9.2%, #6F5D49 9.6%, #6F5D49 9.6%, #6F5D49 10%, #705E4A 10%, #705E4A 10.4%, #72604C 10.4%, #72604C 10.8%, #73614D 10.8%, #73614D 11.2%, #73614D 11.2%, #73614D 11.6%, #75634F 11.6%, #75634F 12%, #73624E 12%, #73624E 12.4%, #75634F 12.4%, #75634F 12.8%, #766450 12.8%, #766450 13.2%, #75634F 13.2%, #75634F 13.6%, #766450 13.6%, #766450 14%, #766450 14%, #766450 14.4%, #796550 14.4%, #796550 14.8%, #7A6651 14.8%, #7A6651 15.2%, #7B6753 15.2%, #7B6753 15.6%, #7C6853 15.6%, #7C6853 16%, #7C6753 16%, #7C6753 16.4%, #7C6753 16.4%, #7C6753 16.8%, #7F6A55 16.8%, #7F6A55 17.2%, #7F6A55 17.2%, #7F6A55 17.6%, #806B56 17.6%, #806B56 18%, #7F6A55 18%, #7F6A55 18.4%, #7F6A55 18.4%, #7F6A55 18.8%, #7F6A55 18.8%, #7F6A55 19.2%, #806B56 19.2%, #806B56 19.6%, #826D58 19.6%, #826D58 20%, #826E56 20%, #826E56 20.4%, #826E56 20.4%, #826E56 20.8%, #836D56 20.8%, #836D56 21.2%, #816B54 21.2%, #816B54 21.6%, #836E59 21.6%, #836E59 22%, #816C57 22%, #816C57 22.4%, #836D58 22.4%, #836D58 22.8%, #836D58 22.8%, #836D58 23.2%, #836D58 23.2%, #836D58 23.6%, #816B56 23.6%, #816B56 24%, #816B54 24%, #816B54 24.4%, #806A53 24.4%, #806A53 24.8%, #816B56 24.8%, #816B56 25.2%, #816B56 25.2%, #816B56 25.6%, #826C55 25.6%, #826C55 26%, #806A53 26%, #806A53 26.4%, #7F6952 26.4%, #7F6952 26.8%, #806A53 26.8%, #806A53 27.2%, #816B54 27.2%, #816B54 27.6%, #7E6851 27.6%, #7E6851 28%, #7E6851 28%, #7E6851 28.4%, #7F6952 28.4%, #7F6952 28.8%, #7E6851 28.8%, #7E6851 29.2%, #7E6851 29.2%, #7E6851 29.6%, #7F6650 29.6%, #7F6650 30%, #806751 30%, #806751 30.4%, #7E6851 30.4%, #7E6851 30.8%, #7C664F 30.8%, #7C664F 31.2%, #7F6650 31.2%, #7F6650 31.6%, #7D644E 31.6%, #7D644E 32%, #7B654E 32%, #7B654E 32.4%, #7A644D 32.4%, #7A644D 32.8%, #7B644D 32.8%, #7B644D 33.2%, #7A634C 33.2%, #7A634C 33.6%, #7A634D 33.6%, #7A634D 34%, #79624C 34%, #79624C 34.4%, #78614A 34.4%, #78614A 34.8%, #78614A 34.8%, #78614A 35.2%, #765F49 35.2%, #765F49 35.6%, #77604A 35.6%, #77604A 36%, #785F49 36%, #785F49 36.4%, #775E48 36.4%, #775E48 36.8%, #775E48 36.8%, #775E48 37.2%, #765D47 37.2%, #765D47 37.6%, #765D47 37.6%, #765D47 38%, #755C46 38%, #755C46 38.4%, #765D47 38.4%, #765D47 38.8%, #765D46 38.8%, #765D46 39.2%, #755D45 39.2%, #755D45 39.6%, #755D45 39.6%, #755D45 40%, #755C46 40%, #755C46 40.4%, #745B45 40.4%, #745B45 40.8%, #755A45 40.8%, #755A45 41.2%, #735843 41.2%, #735843 41.6%, #705741 41.6%, #705741 42%, #705741 42%, #705741 42.4%, #725943 42.4%, #725943 42.8%, #705741 42.8%, #705741 43.2%, #705741 43.2%, #705741 43.6%, #6F5640 43.6%, #6F5640 44%, #6E553F 44%, #6E553F 44.4%, #6E553F 44.4%, #6E553F 44.8%, #6D543E 44.8%, #6D543E 45.2%, #6D543E 45.2%, #6D543E 45.6%, #6D543E 45.6%, #6D543E 46%, #6E553F 46%, #6E553F 46.4%, #6D563F 46.4%, #6D563F 46.8%, #6C553E 46.8%, #6C553E 47.2%, #6A543D 47.2%, #6A543D 47.6%, #6A543D 47.6%, #6A543D 48%, #6A543D 48%, #6A543D 48.4%, #6B553E 48.4%, #6B553E 48.8%, #6A543E 48.8%, #6A543E 49.2%, #69533E 49.2%, #69533E 49.6%, #6A543E 49.6%, #6A543E 50%, #6A543E 50%, #6A543E 50.4%, #69533E 50.4%, #69533E 50.8%, #68523D 50.8%, #68523D 51.2%, #68523D 51.2%, #68523D 51.6%, #69533E 51.6%, #69533E 52%, #68513E 52%, #68513E 52.4%, #67503D 52.4%, #67503D 52.8%, #63513F 52.8%, #63513F 53.2%, #63503E 53.2%, #63503E 53.6%, #65513F 53.6%, #65513F 54%, #634F3D 54%, #634F3D 54.4%, #614F3E 54.4%, #614F3E 54.8%, #62503F 54.8%, #62503F 55.2%, #604E3D 55.2%, #604E3D 55.6%, #604E3C 55.6%, #604E3C 56%, #604F3E 56%, #604F3E 56.4%, #5F4D3D 56.4%, #5F4D3D 56.8%, #5E4D3D 56.8%, #5E4D3D 57.2%, #5E4C3C 57.2%, #5E4C3C 57.6%, #5C4B3B 57.6%, #5C4B3B 58%, #5C4B3B 58%, #5C4B3B 58.4%, #5B4A3A 58.4%, #5B4A3A 58.8%, #594838 58.8%, #594838 59.2%, #584638 59.2%, #584638 59.6%, #584638 59.6%, #584638 60%, #584638 60%, #584638 60.4%, #544435 60.4%, #544435 60.8%, #534334 60.8%, #534334 61.2%, #534333 61.2%, #534333 61.6%, #514134 61.6%, #514134 62%, #504032 62%, #504032 62.4%, #4B3D30 62.4%, #4B3D30 62.8%, #4E3F32 62.8%, #4E3F32 63.2%, #4A3C2F 63.2%, #4A3C2F 63.6%, #4A3C2F 63.6%, #4A3C2F 64%, #493B2E 64%, #493B2E 64.4%, #47392C 64.4%, #47392C 64.8%, #47392E 64.8%, #47392E 65.2%, #46382D 65.2%, #46382D 65.6%, #45382C 65.6%, #45382C 66%, #44382B 66%, #44382B 66.4%, #44372B 66.4%, #44372B 66.8%, #43362A 66.8%, #43362A 67.2%, #42362A 67.2%, #42362A 67.6%, #42362A 67.6%, #42362A 68%, #42362A 68%, #42362A 68.4%, #413529 68.4%, #413529 68.8%, #403428 68.8%, #403428 69.2%, #403428 69.2%, #403428 69.6%, #3E3226 69.6%, #3E3226 70%, #3D3125 70%, #3D3125 70.4%, #3C3024 70.4%, #3C3024 70.8%, #3B2F23 70.8%, #3B2F23 71.2%, #3C3125 71.2%, #3C3125 71.6%, #493A2C 71.6%, #493A2C 72%, #504031 72%, #504031 72.4%, #544234 72.4%, #544234 72.8%, #584638 72.8%, #584638 73.2%, #5C4A3C 73.2%, #5C4A3C 73.6%, #5F4E3E 73.6%, #5F4E3E 74%, #635242 74%, #635242 74.4%, #604F3F 74.4%, #604F3F 74.8%, #5A4A3B 74.8%, #5A4A3B 75.2%, #4E4032 75.2%, #4E4032 75.6%, #4C4033 75.6%, #4C4033 76%, #4B4135 76%, #4B4135 76.4%, #41382D 76.4%, #41382D 76.8%, #3D342B 76.8%, #3D342B 77.2%, #6A6156 77.2%, #6A6156 77.6%, #463F35 77.6%, #463F35 78%, #080706 78%, #080706 78.4%, #030403 78.4%, #030403 78.8%, #0D0D0B 78.8%, #0D0D0B 79.2%, #0B0B09 79.2%, #0B0B09 79.6%, #0C0D08 79.6%, #0C0D08 80%, #2B251E 80%, #2B251E 80.4%, #4B4432 80.4%, #4B4432 80.8%, #564E3C 80.8%, #564E3C 81.2%, #73644B 81.2%, #73644B 81.6%, #847558 81.6%, #847558 82%, #97896C 82%, #97896C 82.4%, #A69274 82.4%, #A69274 82.8%, #9F8867 82.8%, #9F8867 83.2%, #A18C6B 83.2%, #A18C6B 83.6%, #AC9474 83.6%, #AC9474 84%, #AE9571 84%, #AE9571 84.4%, #A68C67 84.4%, #A68C67 84.8%, #A98D67 84.8%, #A98D67 85.2%, #AD916C 85.2%, #AD916C 85.6%, #A9916D 85.6%, #A9916D 86%, #AC9471 86%, #AC9471 86.4%, #AA926F 86.4%, #AA926F 86.8%, #AA9372 86.8%, #AA9372 87.2%, #A99270 87.2%, #A99270 87.6%, #AA9371 87.6%, #AA9371 88%, #AB9471 88%, #AB9471 88.4%, #AC9572 88.4%, #AC9572 88.8%, #AE9772 88.8%, #AE9772 89.2%, #AB946F 89.2%, #AB946F 89.6%, #AB9371 89.6%, #AB9371 90%, #AE9674 90%, #AE9674 90.4%, #AC9673 90.4%, #AC9673 90.8%, #B09B7B 90.8%, #B09B7B 91.2%, #B49F80 91.2%, #B49F80 91.6%, #AF9878 91.6%, #AF9878 92%, #B39C7C 92%, #B39C7C 92.4%, #B09879 92.4%, #B09879 92.8%, #B6A181 92.8%, #B6A181 93.2%, #B7A282 93.2%, #B7A282 93.6%, #BBA584 93.6%, #BBA584 94%, #BDA888 94%, #BDA888 94.4%, #C2AF91 94.4%, #C2AF91 94.8%, #B6A386 94.8%, #B6A386 95.2%, #443D33 95.2%, #443D33 95.6%, #23201A 95.6%, #23201A 96%, #23201B 96%, #23201B 96.4%, #201F1A 96.4%, #201F1A 96.8%, #201E1B 96.8%, #201E1B 97.2%, #333638 97.2%, #333638 97.6%, #727B84 97.6%, #727B84 98%, #767F88 98%, #767F88 98.4%, #444A4F 98.4%, #444A4F 98.8%, #484745 98.8%, #484745 99.2%, #CDA57F 99.2%, #CDA57F 99.6%, #CD9E72 99.6%, #CD9E72 100%) !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; }
.scn--hrt .trt-scene { background: linear-gradient(90deg, #D8D1CD 0%, #DAD4CD 5%, #DED6CD 10%, #DFD7CF 15%, #E3D9D1 20%, #E4DAD2 25%, #E6DDD2 30%, #E9DDD4 35%, #EADED4 40%, #ECE1D5 45%, #EEE1D5 50%, #F0E2D7 55%, #F2E4D6 60%, #F3E5D8 65%, #F4E6D9 70%, #F5E7DA 75%, #F5E7DA 80%, #F5E7D9 85%, #F6E9D9 90%, #F6E9D8 95%, #F2E2D3 100%) !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; }
@media (max-width: 640px) {
  .scn--weight .trt-scene { background-size: calc(420px * 16 / 9) 100% !important; background-position: 54% 0 !important; }
  .scn--sexual .trt-scene { background-size: calc(420px * 16 / 9) 100% !important; background-position: 51% 0 !important; }
  .scn--hrt .trt-scene { background-size: calc(420px * 16 / 9) 100% !important; background-position: 48% 0 !important; }
}

/* ==========================================================================
   Peptide Therapy: same photo scene as Weight / Sexual (field couple photo, colour band from its own top row)
   ========================================================================== */
.scn--pep { --base: #0A0A0A; --base-2: #000000; }
html[data-art="3d"] .scn--pep .wm__panel {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0) 0, rgba(10, 10, 10, 0) 80px, var(--base) 560px, var(--base) 70%, var(--base-2) 100%),
    linear-gradient(90deg, #8FB7B7 0%, #95BBBB 2.5%, #9BC0BF 5%, #9FC2C2 7.5%, #A2C3C4 10%, #A4C5C4 12.5%, #A6C6C4 15%, #A8C7C5 17.5%, #AAC8C6 20%, #ACCBC7 22.5%, #AFCCC8 25%, #B1CDC9 27.5%, #B4CFCA 30%, #B5D0CB 32.5%, #B6D0CC 35%, #B7D0CC 37.5%, #B9D1CC 40%, #BCD3CC 42.5%, #BED4CD 45%, #C0D5CE 47.5%, #C0D5CE 50%, #C1D5CF 52.5%, #C2D5CE 55%, #C2D6CE 57.5%, #C4D7CE 60%, #C5D7CD 62.5%, #C6D7CD 65%, #C8D8CE 67.5%, #C9D9CF 70%, #CADAD0 72.5%, #CADAD0 75%, #CBDBD0 77.5%, #CBDBD0 80%, #CDDBD1 82.5%, #CFDCD2 85%, #D0DED2 87.5%, #D1DFD3 90%, #D2DFD3 92.5%, #D1DFD2 95%, #CEDCD0 97.5%, #CCD9CE 100%) !important;
}
.scn--pep .wm__panel::before { display: none !important; }
.scn--pep .wm__panel::after {
  content: ""; display: block; position: absolute; z-index: 3; inset: 0 0 auto; height: 440px;
  border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .42) 30%, rgba(0, 0, 0, .16) 65%, rgba(0, 0, 0, 0) 100%);
}
.scn--pep .wm__eyebrow, .scn--pep .wm__intro .h-section { color: #fff; }
.scn--pep .wm__intro .h-section em { color: var(--pearl); }
.scn--pep .wm__lineup { margin-top: -170px; }
.scn--pep .trt-scene .trt-scene__bg { object-position: 50% 100% !important; }
.scn--pep .trt-scene { background: linear-gradient(90deg, #8FB7B7 0%, #95BBBB 2.5%, #9BC0BF 5%, #9FC2C2 7.5%, #A2C3C4 10%, #A4C5C4 12.5%, #A6C6C4 15%, #A8C7C5 17.5%, #AAC8C6 20%, #ACCBC7 22.5%, #AFCCC8 25%, #B1CDC9 27.5%, #B4CFCA 30%, #B5D0CB 32.5%, #B6D0CC 35%, #B7D0CC 37.5%, #B9D1CC 40%, #BCD3CC 42.5%, #BED4CD 45%, #C0D5CE 47.5%, #C0D5CE 50%, #C1D5CF 52.5%, #C2D5CE 55%, #C2D6CE 57.5%, #C4D7CE 60%, #C5D7CD 62.5%, #C6D7CD 65%, #C8D8CE 67.5%, #C9D9CF 70%, #CADAD0 72.5%, #CADAD0 75%, #CBDBD0 77.5%, #CBDBD0 80%, #CDDBD1 82.5%, #CFDCD2 85%, #D0DED2 87.5%, #D1DFD3 90%, #D2DFD3 92.5%, #D1DFD2 95%, #CEDCD0 97.5%, #CCD9CE 100%) !important; background-repeat: no-repeat !important; background-size: 100% 100% !important; }
@media (max-width: 640px) {
  .scn--pep .wm__panel::after { height: 300px; }
  .scn--pep .trt-scene { height: 600px; background-size: calc(420px * 16 / 9) 100% !important; background-position: 50% 0 !important; }
}

/* ==========================================================================
   Desktop: couple's head sits a few px under the headline at every width.
   The photo is 16:9 of the panel width (56.25cqw); --hf = where the top of the head is in the photo.
   ========================================================================== */
.scn--weight { --hf: .022; }
.scn--sexual { --hf: .056; }
.scn--pep    { --hf: .07; }
.scn--hrt    { --hf: .072; }
.scn .trt-scene {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 56%, rgba(0,0,0,.9) 62%, rgba(0,0,0,.72) 68%, rgba(0,0,0,.5) 74%, rgba(0,0,0,.3) 80%, rgba(0,0,0,.13) 86%, rgba(0,0,0,.04) 92%, rgba(0,0,0,0) 98%) !important;
          mask-image: linear-gradient(180deg, #000 0%, #000 56%, rgba(0,0,0,.9) 62%, rgba(0,0,0,.72) 68%, rgba(0,0,0,.5) 74%, rgba(0,0,0,.3) 80%, rgba(0,0,0,.13) 86%, rgba(0,0,0,.04) 92%, rgba(0,0,0,0) 98%) !important;
}
/* Sexual Health: no dark shade over the top of the photo */
.scn--sexual .wm__panel::after { display: none !important; }
@media (min-width: 641px) {
  .scn .wm__panel { container-type: inline-size; }
  .scn .trt-scene { height: calc(262px + (1 - var(--hf)) * 56.25cqw) !important; }
  .scn .trt-scene .trt-scene__bg,
  .scn .trt-scene .trt-scene__man--plate { top: calc(262px - var(--hf) * 56.25cqw) !important; bottom: auto !important; height: auto !important; aspect-ratio: 16 / 9 !important; }
  .scn .wm__lineup, .scn--pep .wm__lineup { margin-top: -250px !important; }
}
/* Sexual Health: hide the thin ceiling strip at the very top of the photo; the band above uses the wall colour */
.scn--sexual .trt-scene .trt-scene__bg { clip-path: inset(3.4% 0 0 0); }

/* Legal pages: sub-headings and the "Important" box from the Karpa policy templates */
.prose h3 { font-size: 17px; font-weight: 600; margin: 22px 0 8px; color: var(--ink, #111); }
.prose .callout { margin: 18px 0; padding: 16px 18px; border-left: 3px solid var(--gold, #D4AF37); background: rgba(212, 175, 55, .08); border-radius: 10px; }
.prose .callout b { display: block; margin-bottom: 4px; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; color: #A8862A; }
