/* ==========================================================================
   Mind Body 1 U home page, round 3 (loaded after rdx-features.css)
   · Peptides bento: main card + body map + format choice; glass icon pills; tablets hero
   · Skin care: steps as fully rounded glass pills
   · Hair loss: a slow dotted glow travelling along three braid lines
   · HRT: two cards (Your labs first · Know your hormones)
   ========================================================================== */

/* ---------- Peptides bento ---------- */
.pbx { margin-top: 16px; display: grid; gap: 16px; }
.pbx .sc2--pep { margin-top: 0; min-height: 560px; }
.pbx__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pbx__row .pbx__card { margin-top: 0; }

/* hero: loose tablets, a soft gold halo, slow float */
.sc2--pep .sc2__viz { width: 560px; height: 360px; }
.pep-halo { position: absolute; left: 50%; top: 40px; width: 380px; height: 380px; margin-left: -190px; border-radius: 50%; border: 1px solid rgba(212, 175, 55, .28); box-shadow: 0 0 0 40px rgba(212, 175, 55, .05), 0 0 0 90px rgba(212, 175, 55, .03); animation: sc2-breathe 7s ease-in-out infinite; }
.pep-tabs-hero { position: absolute; left: 50%; bottom: -30px; width: auto; height: 300px; max-width: none; translate: -50% 0; filter: drop-shadow(0 34px 30px rgba(0, 0, 0, .5)); animation: sc2-float 8s ease-in-out infinite; }

/* callouts: glass pill, icon + 2 or 3 words */
.co { display: flex; align-items: center; gap: 10px; width: auto; padding: 8px 20px 8px 8px; border-radius: 999px; text-align: left !important; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 18px 34px -22px rgba(0, 0, 0, .7); }
.co b { font-size: 15px; font-weight: 600; white-space: nowrap; }
.co__ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(212, 175, 55, .18); border: 1px solid rgba(212, 175, 55, .35); }
.co__ic svg { width: 19px; height: 19px; fill: none; stroke: #F6D98E; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.co--1 { left: calc(50% - 400px); bottom: 290px; }
.co--2 { left: calc(50% + 230px); bottom: 220px; }
.co--3 { left: calc(50% - 370px); bottom: 130px; }

/* body map card in the bento row */
.pbx__row .xcard { min-height: 640px; padding: 36px; grid-template-columns: 1fr; }
.pbx__row .xcard__btn { justify-self: start; margin-top: 20px; }
.pbx__row .body-map { width: 440px; margin-left: -290px; bottom: -150px; }
.pbx__row .xcard .hotspot__tip { max-width: 190px; }

/* format choice card */
.fmt { position: relative; isolation: isolate; overflow: hidden; min-height: 640px; padding: 36px; border-radius: 28px; color: #fff; background: linear-gradient(165deg, rgba(246, 246, 240, .13) 0%, rgba(246, 246, 240, .04) 100%); border: 1px solid rgba(246, 246, 240, .12); display: flex; flex-direction: column; }
.fmt .h-card { color: #fff; }
.fmt .h-card em { color: var(--gold); }
.fmt__head { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.fmt__switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 99px; background: rgba(255, 255, 255, .1); isolation: isolate; }
.fmt__switch button { position: relative; z-index: 1; height: 42px; padding: 0 20px; border-radius: 99px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .72); transition: color .3s; }
.fmt__switch button.is-on { color: var(--midnight); }
.fmt__switch i { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 99px; background: #fff; transition: transform .45s var(--ease-out); }
.fmt[data-format="inj"] .fmt__switch i { transform: translateX(100%); }
.fmt__stage { position: relative; flex: 1; min-height: 280px; display: grid; place-items: center; }
.fmt__ring { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 55, .26) 0%, rgba(212, 175, 55, 0) 68%); }
.fmt__img { position: absolute; max-width: 80%; max-height: 240px; width: auto; height: auto; filter: drop-shadow(0 26px 26px rgba(0, 0, 0, .5)); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
.fmt__img--inj { opacity: 0; transform: translateY(30px) rotate(-12deg) scale(.9); }
.fmt[data-format="inj"] .fmt__img--troche { opacity: 0; transform: translateY(-30px) scale(.9); }
.fmt[data-format="inj"] .fmt__img--inj { opacity: 1; transform: rotate(-12deg); }
.fmt__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.fmt__chips li { padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); animation: sc2-in .5s var(--ease-out) both; }
.fmt__chips li:nth-child(2) { animation-delay: .08s; }
.fmt__chips li:nth-child(3) { animation-delay: .16s; }
.fmt__chips--inj { display: none; }
.fmt[data-format="inj"] .fmt__chips--troche { display: none; }
.fmt[data-format="inj"] .fmt__chips--inj { display: flex; }
.fmt .xcard__caption { color: rgba(246, 246, 240, .5); }

@media (max-width: 960px) {
  .pbx__row { grid-template-columns: 1fr; }
  .co--1, .co--3 { left: 24px; }
  .co--2 { left: auto; right: 24px; }
}
@media (max-width: 640px) {
  .sc2--pep .sc2__viz { width: 340px; height: 260px; }
  .pep-tabs-hero { height: 220px; bottom: -20px; }
  .pep-halo { width: 260px; height: 260px; margin-left: -130px; top: 20px; }
  .co { padding: 6px 14px 6px 6px; }
  .co__ic { width: 32px; height: 32px; }
  .co b { font-size: 13.5px; }
  .pbx__row .xcard, .fmt { min-height: 560px; padding: 26px 20px; }
  .pbx__row .body-map { width: 420px; margin-left: -210px; bottom: -150px; }
}

/* ---------- Skin care: steps as fully rounded glass pills ---------- */
.rt__steps li { width: auto; gap: 10px; padding: 7px 20px 7px 7px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 18px 34px -22px rgba(0, 0, 0, .7); }
.rt__steps b { font-size: 15px; font-weight: 600; white-space: nowrap; }
.rt__steps span { width: 34px; height: 34px; }
.rt__steps li:nth-child(1) { left: calc(50% - 400px); bottom: 120px; }
.rt__steps li:nth-child(2) { left: 50%; bottom: 300px; transform: translateX(-50%); }
.rt__steps li:nth-child(3) { left: calc(50% + 200px); bottom: 120px; }
@media (max-width: 960px) {
  .rt__steps li:nth-child(1) { left: 24px; bottom: 210px; }
  .rt__steps li:nth-child(2) { left: auto; right: 24px; bottom: 290px; transform: none; }
  .rt__steps li:nth-child(3) { left: auto; right: 24px; bottom: 130px; }
}
@media (max-width: 640px) {
  .rt__steps { display: flex; flex-wrap: wrap; gap: 8px; }
  .rt[data-time="pm"] .rt__steps--pm { display: flex; }
  .rt__steps li { transform: none !important; padding: 6px 16px 6px 6px; }
  .rt__steps b { font-size: 14px; }
}

/* ---------- Hair loss: dotted glow along three braid lines ----------
   The svg sits exactly over the cut-out: same height, centre and aspect ratio. */
.hair-glow { position: absolute; z-index: 3; left: 50%; bottom: 0; height: 75%; width: auto; transform: translateX(-50%); overflow: visible; pointer-events: none; }
.hair-glow--watercolor { aspect-ratio: 698 / 934; }
.hair-glow--3d { aspect-ratio: 530 / 864; display: none; }
html[data-art="3d"] .hair-glow--watercolor { display: none; }
html[data-art="3d"] .hair-glow--3d { display: block; }
.hair-glow path { fill: none; stroke-linecap: round; }
/* a faint dotted line sits on each braid; a short cluster of bright dots travels along it
   (dash pattern = 6 dots then a long gap), each row on its own slow timing */
.hair-glow { filter: drop-shadow(0 0 4px rgba(246, 217, 142, .9)) drop-shadow(0 0 12px rgba(212, 175, 55, .55)); }
.hg-base path { stroke: rgba(246, 217, 142, .3); stroke-width: 3.5; stroke-dasharray: 0 13; }
.hg-lit path { mask: none; stroke: #FFF1C2; stroke-width: 6; stroke-dasharray: 0 13 0 13 0 13 0 13 0 13 0 13 0 700; stroke-dashoffset: 778; opacity: 0; animation: hg-travel 7s ease-in-out infinite; }
.hg-lit path:nth-child(2) { animation-duration: 9s; animation-delay: 2.4s; }
.hg-lit path:nth-child(3) { animation-duration: 8s; animation-delay: 4.8s; }
@keyframes hg-travel { 0% { stroke-dashoffset: 778; opacity: 0; } 10% { opacity: 1; } 75% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@media (max-width: 640px) { .hair-glow { height: 71%; } .hg-lit path { stroke-width: 7; } .hg-base path { stroke-width: 4.5; } }

/* ---------- HRT: two cards ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.duo__card { position: relative; isolation: isolate; overflow: hidden; min-height: 600px; padding: 40px 32px 32px; border-radius: 28px; color: #fff; background: linear-gradient(165deg, rgba(246, 246, 240, .13) 0%, rgba(246, 246, 240, .04) 100%); border: 1px solid rgba(246, 246, 240, .12); display: flex; flex-direction: column; align-items: center; }
.duo__title { position: relative; z-index: 2; font-family: var(--f-head); font-weight: 400; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -.035em; text-align: center; }
.duo__title em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; color: var(--pearl); }
.duo__foot { position: relative; z-index: 3; margin-top: auto; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.duo__foot p { font-size: 16px; font-weight: 500; max-width: 230px; }
.duo__foot--center { justify-content: center; }
.duo .btn--light { background: #fff !important; color: var(--midnight) !important; border-color: #fff !important; }

/* labs: a portrait window with a glass panel over it */
.duo__portrait { position: relative; z-index: 1; width: min(100%, 320px); height: 430px; margin: 18px 0 24px; border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, #2A2A2A 0%, #0A0A0A 100%); }
.duo__portrait img { position: absolute; left: 50%; bottom: 0; height: 62%; width: auto; transform: translateX(-50%); }
.duo__panel { position: absolute; left: 14px; right: 14px; top: 14px; padding: 16px 16px 18px; border-radius: 20px; text-align: center; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.duo__panel small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.duo__panel b { display: block; font-family: var(--f-head); font-weight: 400; font-size: 72px; line-height: 1; letter-spacing: -.04em; color: #F6D98E; }
.duo__panel i { display: block; width: 6px; height: 6px; margin: 6px auto; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.duo__panel span { display: block; font-size: 13px; color: rgba(255, 255, 255, .85); }
.js .duo__card--labs .duo__panel { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease-out) .5s, transform .9s var(--ease-out) .5s; }
.js .duo__card--labs.is-in .duo__panel { opacity: 1; transform: none; }

/* markers: drifting rows of lab names behind a cut-out, one lit at a time */
.duo__rows { position: absolute; z-index: 0; left: 0; right: 0; top: 170px; display: grid; gap: 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.duo__row { display: flex; gap: 10px; width: max-content; animation: duo-drift 46s linear infinite; }
.duo__row--rev { animation-direction: reverse; animation-duration: 54s; }
.duo__row span { padding: 6px 14px; border-radius: 999px; font-size: 18px; font-weight: 500; white-space: nowrap; color: rgba(255, 255, 255, .28); border: 1px solid transparent; }
.duo__row span:nth-child(3n) { border-color: rgba(255, 255, 255, .14); }
.duo__row span.is-hot { color: #fff; border-color: rgba(246, 217, 142, .8); background: rgba(212, 175, 55, .16); box-shadow: 0 0 22px rgba(212, 175, 55, .35); animation: duo-hot 6s ease-in-out infinite; }
.duo__row:nth-child(2) span.is-hot { animation-delay: 1.5s; }
.duo__row:nth-child(3) span.is-hot { animation-delay: 3s; }
.duo__row:nth-child(4) span.is-hot { animation-delay: 4.5s; }
.duo__row:nth-child(5) span.is-hot { animation-delay: 2.2s; }
@keyframes duo-drift { to { transform: translateX(-50%); } }
@keyframes duo-hot { 0%, 100% { opacity: .35; } 20%, 45% { opacity: 1; } }
.duo__cut { position: absolute; z-index: 1; left: 50%; bottom: 0; height: 72%; width: auto; transform: translateX(-50%); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.duo__note { margin-top: 16px; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .5); }

@media (max-width: 960px) { .duo { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .duo { margin-top: 40px; }
  .duo__card { min-height: 540px; padding: 30px 20px 24px; border-radius: 22px; }
  .duo__foot { flex-direction: column; align-items: stretch; text-align: center; }
  .duo__foot p { max-width: none; }
  .duo__foot .btn { width: 100%; }
  .duo__row span { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .pep-halo, .pep-tabs-hero, .hg-lit path, .duo__row, .duo__row span.is-hot { animation: none !important; }
  .hg-lit path { opacity: .8; }
}

/* ==========================================================================
   Round 4
   ========================================================================== */

/* ---------- Peptides: two cards side by side (Care without needles · Your body, explained) ---------- */
.pbx--two { grid-template-columns: 1fr 1fr; align-items: stretch; }
.pbx--two .sc2--pep { min-height: 660px; grid-template-columns: 1fr auto; align-content: start; gap: 22px 20px; padding: 36px 36px 0; }
.pbx--two .sc2--pep .sc2__copy { grid-column: 1 / -1; }
.pbx--two .sc2--pep .sc2__stat { text-align: left; min-width: 0; padding-top: 0; }
.pbx--two .sc2--pep .sc2__btn { align-self: center; }
.pbx--two .sc2--pep .sc2__viz { width: 100%; height: 330px; }
.pbx--two .pep-tabs-hero { height: 250px; }
.pbx--two .pep-halo { width: 300px; height: 300px; margin-left: -150px; top: 30px; }
.pbx--two .co--1 { left: 24px; bottom: 250px; }
.pbx--two .co--2 { left: auto; right: 24px; bottom: 170px; }
.pbx--two .co--3 { left: 24px; bottom: 90px; }
.pbx--two .sc2__note { left: 36px; }
.pbx--two .xcard { margin-top: 0; min-height: 660px; padding: 36px; grid-template-columns: 1fr; align-content: start; }
.pbx--two .xcard__btn { justify-self: start; margin-top: 20px; position: relative; z-index: 3; }
.pbx--two .body-map { width: 470px; margin-left: -270px; bottom: -120px; }
.pbx--two .hotspot__tip { max-width: 160px; }
@media (max-width: 960px) { .pbx--two { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .pbx--two .sc2--pep { grid-template-columns: 1fr; min-height: 0; padding: 28px 22px 300px; }
  .pbx--two .sc2--pep .sc2__viz { height: 260px; }
  .pbx--two .pep-tabs-hero { height: 210px; }
  .pbx--two .xcard { min-height: 560px; padding: 26px 20px; }
  .pbx--two .body-map { width: 400px; margin-left: -200px; bottom: -140px; }
}

/* ---------- HRT: "Your labs first" is a lab panel card (no portrait) ---------- */
.duo__lab {
  position: relative; z-index: 1; width: min(100%, 360px); margin: 30px 0; padding: 18px 18px 16px;
  border-radius: 24px; background: rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.duo__labhead { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.duo__vial { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(212, 175, 55, .18); border: 1px solid rgba(212, 175, 55, .35); }
.duo__vial svg { width: 22px; height: 22px; fill: none; stroke: #F6D98E; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.duo__labhead small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.duo__labhead b { display: block; font-family: var(--f-head); font-weight: 400; font-size: 26px; letter-spacing: -.02em; color: #F6D98E; }
.duo__labhead em { margin-left: auto; padding: 5px 11px; border-radius: 99px; font-style: normal; font-size: 12px; font-weight: 600; background: rgba(212, 175, 55, .16); color: var(--accent-soft); }
.duo__bars { display: grid; gap: 13px; margin-top: 18px; }
.duo__bars li { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 12px; font-size: 13.5px; color: rgba(255, 255, 255, .82); }
.duo__bars i { position: relative; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); }
.duo__bars i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, #A8862A, #D4AF37); transition: width 1.3s var(--ease-out); }
.duo__bars i::after { content: ""; position: absolute; top: 50%; left: var(--w); width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px rgba(212, 175, 55, .9); opacity: 0; transition: opacity .4s; }
.js .duo__card--labs.is-in .duo__bars i::before { width: var(--w); }
.js .duo__card--labs.is-in .duo__bars i::after { opacity: 1; transition-delay: 1.4s; }
.duo__bars li:nth-child(2) i::before { transition-delay: .12s; }
.duo__bars li:nth-child(3) i::before { transition-delay: .24s; }
.duo__bars li:nth-child(4) i::before { transition-delay: .36s; }
.duo__bars li:nth-child(5) i::before { transition-delay: .48s; }
.duo__labfoot { margin-top: 16px; font-size: 11.5px; color: rgba(255, 255, 255, .5); }

/* ---------- HRT: keep the cut-out's own proportions (a global img max-width was squeezing it) ---------- */
.duo__cut { max-width: none !important; width: auto !important; object-fit: contain; }

/* ---------- Hair: still dots on the braid rows (hair pixels only), each glowing on its own random beat ---------- */
.hg-base, .hg-lit { display: none; }
.hg-dots circle { fill: #FFF1C2; opacity: .12; animation: hg-twinkle 4.5s ease-in-out infinite; }
@keyframes hg-twinkle { 0%, 100% { opacity: .12; } 45% { opacity: 1; } 60% { opacity: .9; } }
@media (max-width: 640px) { .hg-dots circle { r: 3.4; } }
@media (prefers-reduced-motion: reduce) { .hg-dots circle { animation: none; opacity: .7; } }

/* ---------- Tablets centred in their halo (the pills sit at 51% of the image height) ---------- */
.pbx--two .pep-halo { top: 88px; }
@media (max-width: 640px) { .pbx--two .pep-halo { top: 48px; } }

/* ---------- Peptide cards: centred title and description; body map bigger, button centred at the bottom ---------- */
.pbx--two .sc2--pep { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.pbx--two .sc2--pep .sc2__copy p { margin-left: auto; margin-right: auto; }
.pbx--two .sc2--pep .sc2__stat { text-align: center; }
.pbx--two .xcard { justify-items: center; text-align: center; }
.pbx--two .xcard .xcard__copy { max-width: 420px; }
.pbx--two .xcard .xcard__copy > p { margin-left: auto; margin-right: auto; }
.pbx--two .xcard .pbx__bottom-btn { position: absolute; z-index: 4; left: 50%; bottom: 34px; margin: 0; translate: -50% 0; }
.pbx--two .body-map { width: 580px; margin-left: -290px; bottom: -150px; }
.pbx--two .xcard .xcard__caption { display: none; }
@media (max-width: 640px) { .pbx--two .body-map { width: 460px; margin-left: -230px; bottom: -120px; } }

/* ---------- HRT "Your labs first": hormone curves over the years ---------- */
.duo__chart { position: relative; z-index: 1; width: 100%; max-width: 440px; margin: 26px 0; padding: 18px 18px 14px; border-radius: 24px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12); }
.duo__legend { display: flex; gap: 16px; justify-content: center; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .75); }
.duo__key::before { content: ""; display: inline-block; width: 18px; height: 3px; margin-right: 7px; border-radius: 3px; vertical-align: middle; }
.duo__key--e::before { background: var(--gold); }
.duo__key--p::before { background: var(--accent-soft); }
.duo__chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.duo__grid path { stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.duo__axis text { font: 500 11px var(--f-body); fill: rgba(255, 255, 255, .45); }
.duo__line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.duo__line--e { stroke: var(--gold); filter: drop-shadow(0 0 6px rgba(212, 175, 55, .6)); }
.duo__line--p { stroke: var(--accent-soft); }
.duo__area { opacity: 0; transition: opacity 1s .9s; }
.duo__now { stroke: rgba(255, 255, 255, .4); stroke-width: 1; stroke-dasharray: 3 5; opacity: 0; transition: opacity .6s 1.6s; }
.duo__dot { fill: #fff; stroke: rgba(212, 175, 55, .5); stroke-width: 8; opacity: 0; transition: opacity .5s 1.9s; animation: duo-pulse 2.4s ease-in-out 2.4s infinite; transform-origin: 236px 118px; }
@keyframes duo-pulse { 50% { stroke-width: 14; stroke: rgba(212, 175, 55, .25); } }
.js .duo__card--labs.is-in .duo__line { animation: duo-draw 1.8s var(--ease-out) .3s forwards; }
.js .duo__card--labs.is-in .duo__line--p { animation-delay: .55s; }
.js .duo__card--labs.is-in .duo__area, .js .duo__card--labs.is-in .duo__now, .js .duo__card--labs.is-in .duo__dot { opacity: 1; }
@keyframes duo-draw { to { stroke-dashoffset: 0; } }
.duo__tag { position: absolute; left: 50%; top: 22%; translate: -50% 0; padding: 7px 14px; border-radius: 999px; font-size: 12.5px; white-space: nowrap; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transform: translateY(8px); transition: opacity .6s 2.1s, transform .6s 2.1s; }
.duo__tag b { color: #F6D98E; font-weight: 700; }
.js .duo__card--labs.is-in .duo__tag { opacity: 1; transform: none; }
.duo__chart .duo__labfoot { text-align: center; }
@media (max-width: 640px) { .duo__tag { left: 50%; top: 18%; translate: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .duo__line { stroke-dashoffset: 0; animation: none !important; } .duo__dot { animation: none; } }


/* ---------- More ways we can help: four clean white cards (product text comes later) ---------- */
.minis .mini { background: #fff; border: 1px solid rgba(17, 17, 17, .08); box-shadow: 0 18px 34px -28px rgba(17, 17, 17, .45); }
.minis .mini:hover { border-color: rgba(17, 17, 17, .16); }

/* ---------- Hero cards: landscape vial renders in tall cards, so anchor the crop on the vial (right) ---------- */
.cat .cat__media img.cat__bg[src*="cards/"] { object-position: 100% 60%; }

/* ---------- Hero cards sized like the renders (1477 x 1065, about 1.39 : 1), Eden-style ----------
   Tall cards forced a ~2x zoom; landscape cards show the whole render with the vial on the right.
   The renders carry a thin white rounded frame, so crop only ~2.5% on each side. */
.cats .cat:has(img.cat__bg[src*="cards/"]) { height: auto; aspect-ratio: 1477 / 1065; }
.cat .cat__media img.cat__bg[src*="cards/"] { inset: -2.5%; width: 105%; height: 105%; object-position: 50% 50%; }
.cats .cat:has(img.cat__bg[src*="cards/"]) .cat__text { max-width: 60%; }
/* a bit taller than the render (1.2 : 1): ~15% zoom, crop anchored toward the vial */
.cats .cat:has(img.cat__bg[src*="cards/"]) { aspect-ratio: 6 / 5; }
.cat .cat__media img.cat__bg[src*="cards/"] { object-position: 72% 50%; }

/* ---------- Small product cards: tablets image for HRT; no wide jar ---------- */
.mini .mini__vial--tabs { height: 120px !important; width: auto; right: 4px !important; bottom: 4px !important; transform: none !important; }

/* ==========================================================================
   Mobile review fixes
   ========================================================================== */
@media (max-width: 640px) {
  /* hero: no icon list under the buttons (eyebrow, title, line and 2 buttons only) */
  .hero--lb .hero__trust { display: none; }
  /* hero cards: keep the text in the left half so it never touches the vial */
  .cats .cat:has(img.cat__bg[src*="cards/"]) .cat__text { max-width: 52%; }
  .cat .cat__media img.cat__bg[src*="cards/"] { object-position: 88% 50%; }
  /* small cards: one full-width row each, title left, product right */
  .minis { grid-template-columns: 1fr !important; gap: 10px; }
  .minis .mini { height: 120px; display: flex; align-items: center; padding: 0 22px; }
  .minis .mini .mini__title { font-size: 20px; max-width: 55%; }
  .minis .mini .mini__vial { height: 140px !important; right: 16px !important; bottom: -18px !important; }
  .minis .mini .mini__vial--tabs { height: 92px !important; bottom: 12px !important; }
  .minis .mini:last-child { grid-column: auto; }
  /* body map card: button sits under the copy, not over the figure */
  .pbx--two .xcard .pbx__bottom-btn { position: static; translate: none; margin-top: 18px; }
  /* orbit: keep the slight tilt on the product, like desktop */
  .wm--pep .pep-pen { animation: pep-float 7s ease-in-out infinite !important; }
}
/* skin care: a stronger wash from the top so the eyebrow and heading always read over the leaves */
.scn--skin .wm__panel::after { background: linear-gradient(180deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .55) 35%, rgba(0, 0, 0, .2) 70%, rgba(0, 0, 0, 0) 100%) !important; }

@media (max-width: 640px) {
  .minis .mini { justify-content: flex-start !important; text-align: left !important; }
  .minis .mini .mini__title { position: relative !important; left: auto !important; right: auto !important; top: auto !important; transform: none !important; text-align: left !important; margin: 0 !important; }
  .minis .mini .mini__vial { left: auto !important; right: 18px !important; translate: none !important; transform: rotate(4deg) !important; }
  .cats .cat .cat__desc { white-space: normal !important; max-width: 100%; }
  .cats .cat:has(img.cat__bg[src*="cards/"]) .cat__text { max-width: 50% !important; }
}

@media (max-width: 640px) {
  .minis .mini { display: flex !important; align-items: center !important; place-items: unset !important; }
  .minis .mini .mini__title { width: auto !important; flex: 0 1 55%; align-self: center !important; }
  .wm--pep .pep-pen[src*="products/lb/"] { height: 260px !important; }
}
/* the orbit product is a vial now (wider than the old pen): a touch smaller on desktop too */
.wm--pep .pep-pen[src*="products/lb/"] { height: 400px; }

@media (max-width: 640px) {
  .minis .mini .mini__title { order: -1; margin-right: auto !important; padding-left: 0 !important; }
  .minis .mini { padding-left: 22px !important; gap: 0 !important; }
  /* hair loss: crop the painted ceiling strip off the top on phones */
  .scn--hair .trt-scene__bg { transform: scale(1.14); transform-origin: 50% 100%; }
}

/* ---------- Small product cards: soft teal mist instead of white (sits better on Pearl Mist) ---------- */
.minis .mini { background: linear-gradient(160deg, #FBF5E8 0%, #EFE2CB 100%); border-color: rgba(17, 17, 17, .06); }
/* ---------- Peptide orbit: the vial a little larger ---------- */
.wm--pep .pep-pen[src*="products/lb/"] { height: 460px; }
@media (max-width: 640px) { .wm--pep .pep-pen[src*="products/lb/"] { height: 300px !important; } }
