/* ==========================================================================
   ViaRx Health — feature blocks (loaded after styles.css and motifs.css)
   - Brand buttons + white header
   - .wm--color: a rich colour section with white type (HRT)
   - HRT photo header + bento grid
   - .hiw--dark: four-steps card with the dark phone UI held in a hand (Weight Management)
   ========================================================================== */

/* ---------- Brand buttons: the announcement-bar navy ---------- */
.btn--primary { background: var(--teal); box-shadow: 0 14px 30px -16px rgba(16, 40, 81, .7); }
.btn--primary::before { background: #224C9E; }
.btn--primary:hover { box-shadow: 0 16px 34px -14px rgba(34, 76, 158, .7); }
.btn__icon { color: var(--teal); }
.btn--primary:hover .btn__icon { color: #224C9E; }


/* ---------- "Find care for your goal": calmer, smaller cards ---------- */
.mini { height: 150px; padding: 20px; }
.mini__title { font-size: 19px; max-width: 55%; }
.mini__vial[src*="products/"] { height: 150px; right: 10px; bottom: -26px; }
.mini::before { width: 170px; height: 170px; right: -40px; bottom: -70px; }
@media (max-width: 640px) {
  .mini { height: 140px; padding: 14px 14px 0; }
  .mini__title { font-size: 16px; }
  .mini__vial[src*="products/"] { height: 104px; right: -4px; bottom: -14px; }
}

/* Hero category cards: full lifestyle shots, a little shorter */
.cat { height: 440px; }
@media (max-width: 640px) { .cat { height: 380px; } }
.cat__media img[src*="hero/"] { object-position: center 55%; }

/* ==========================================================================
   Colour section (HRT): white type, frosted cards in the section's colour
   ========================================================================== */
#hrt { --sec-a: #17535a; --sec-b: #0a3e43; --sec-em: #cdeee6; --phone-a: #17585d; --phone-b: #0a2c30; }

.wm--color .wm__panel { color: #fff; background: linear-gradient(180deg, var(--sec-a) 0%, var(--sec-b) 100%); }
.wm--color .wm__panel::after { background: radial-gradient(120% 90% at 50% 30%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .2) 100%); }
.wm--color .wm__eyebrow { color: rgba(255, 255, 255, .85); }
.wm--color .h-section { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .18); }
.wm--color .h-section em { color: var(--sec-em); padding-right: .08em; }
.wm--color .wm__disclaimer { color: rgba(255, 255, 255, .74); }
.wm--color .wm__label { color: #fff; }

.wm--color .tx {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.wm--color .tx::before { background: radial-gradient(circle, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 68%); }
.wm--color .tx:hover { border-color: rgba(255, 255, 255, .4); }
.wm--color .tx__tag { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .22); color: #fff; }
.wm--color .tx__name { color: #fff; }
.wm--color .tx__meta { color: rgba(255, 255, 255, .72); }
.wm--color .tx__link { color: #fff; border-top-color: rgba(255, 255, 255, .16); }
.wm--color .tx__media img { filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .3)); }
.wm--color .slider-btn { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .26); color: #fff; }
.wm--color .slider-btn:hover:not(:disabled) { background: #fff; color: var(--charcoal); }

.wm--color .btn--light { background: #fff; color: var(--charcoal); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .5); }
.wm--color .btn--light::before { background: var(--sec-em); }
.wm--color .btn--light:hover { color: var(--charcoal); background: var(--sec-em); }
.btn--glass {
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .28); transform: translateY(-2px); }

/* ---------- HRT header: heading left, one button right, photo from the top ---------- */
.photo-sec .wm__panel { padding-top: 64px; }
.photo-sec__bg { position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 900px; }
.photo-sec__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
}
/* soft shade top-left so the white heading reads over the sky */
.photo-sec__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 45% at 15% 0%, rgba(6, 36, 40, .55) 0%, rgba(6, 36, 40, 0) 100%);
}
.photo-sec__head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.photo-sec__head .wm__eyebrow { margin-bottom: 16px; }
.photo-sec__head .btn { flex-shrink: 0; height: 52px; }
.photo-sec .wm__lineup { margin-top: 500px; }

/* ---------- HRT bento ---------- */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; }
.bento__wide,
.bento__card {
  position: relative;
  overflow: hidden;
  overflow: clip;
  border-radius: 28px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.bento__wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  min-height: 440px;
  padding: 0 48px;
}
.bento__title {
  font-family: var(--f-head);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.08;
  letter-spacing: -.035em;
  color: #fff;
}
.bento__title em {
  display: block;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 1.1em;
  letter-spacing: -.01em;
  color: var(--sec-em);
}
.bento__side p { max-width: 300px; margin-top: 12px; font-size: var(--fs-body-sm); color: rgba(255, 255, 255, .74); }
.bento__side--end { text-align: right; justify-self: end; }
.bento__side--end p { margin-left: auto; }
.bento__side--end .btn { margin-top: 24px; height: 48px; }
.bento__phone { align-self: end; }

.mini-phone {
  width: 250px;
  height: 400px;
  margin-bottom: -40px;
  padding: 18px 16px;
  border-radius: 40px 40px 0 0;
  background: linear-gradient(180deg, var(--phone-a, #13294d) 0%, var(--phone-b, #0d1b33) 100%);
  box-shadow: 0 0 0 9px #060b16, 0 0 0 10px rgba(255, 255, 255, .22), 0 40px 70px -20px rgba(0, 0, 0, .6);
  color: #fff;
}
.mini-phone__bar { display: flex; justify-content: space-between; align-items: center; padding: 0 8px; font-size: 11px; }
.mini-phone__bar span { width: 70px; height: 20px; border-radius: 12px; background: #000; margin-right: 46px; }
.mini-phone__kicker { margin-top: 22px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.mini-phone__title { margin-top: 4px; font-family: var(--f-head); font-size: 17px; letter-spacing: -.02em; }
.mini-phone__rows { margin-top: 14px; display: grid; gap: 6px; }
.mini-phone__rows li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  font-size: 12px;
}
.mini-phone__rows em { font-style: normal; font-size: 10px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .75); }
.mini-phone__rows em.ok { background: rgba(83, 179, 168, .25); color: #9ED8D0; }
.mini-phone__btn { display: grid; place-items: center; height: 38px; margin-top: 14px; border-radius: 999px; background: #fff; color: #0d1b33; font-size: 12px; font-weight: 500; }

.bento__card { min-height: 460px; padding: 36px; text-align: center; }
.bento__card .bento__title em { display: inline; }
.bento__img {
  width: min(78%, 340px);
  aspect-ratio: 4 / 3;
  margin: 26px auto 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .55);
}
.bento__img img { width: 100%; height: 100%; object-fit: cover; }
.bento__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.bento__chips li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); font-size: 14px; }

.bento__card--model { padding-bottom: 0; }
.bento__markers {
  position: absolute; left: 0; right: 0; top: 118px; display: grid; gap: 10px; opacity: .6; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.bento__markers span { display: flex; gap: 8px; white-space: nowrap; animation: marquee 40s linear infinite; }
.bento__markers span:nth-child(even) { animation-direction: reverse; }
.bento__markers i { font-style: normal; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); font-size: 13px; color: rgba(255, 255, 255, .85); }
@keyframes marquee { to { transform: translateX(-50%); } }
.bento__model {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 330px;
  width: auto;
  max-width: none;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.bento__btn { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: auto; height: 48px; z-index: 2; white-space: nowrap; }
.bento__btn:hover { transform: translate(-50%, -2px); }
.bento__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.bento__note { margin-top: 20px; }
@media (prefers-reduced-motion: reduce) { .bento__markers span { animation: none; } }

@media (max-width: 960px) {
  .photo-sec__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .photo-sec__bg { height: 640px; }
  .photo-sec .wm__lineup { margin-top: 430px; }
  .bento { grid-template-columns: 1fr; }
  .bento__wide { grid-template-columns: 1fr; gap: 24px; padding: 36px 24px 32px; text-align: center; }
  .bento__side--end { text-align: center; justify-self: center; grid-row: 2; }
  .bento__side p, .bento__side--end p { margin-inline: auto; }
  /* On small screens the whole phone shows, so nothing looks cut off */
  .bento__phone { justify-self: center; grid-row: 3; }
  .mini-phone { height: auto; margin: 8px auto 0; border-radius: 38px; padding-bottom: 20px; }
}
@media (max-width: 640px) {
  .photo-sec .wm__panel { padding-top: 40px; }
  .photo-sec__bg { height: 560px; }
  .photo-sec__bg img { object-position: 46% 25%; }
  .photo-sec .wm__lineup { margin-top: 300px; }
  .bento__card { min-height: 0; padding: 28px 20px 0; }
  .bento__card--photo { padding-bottom: 28px; }
  .bento__card--model { height: 470px; }
  .bento__markers { top: 112px; }
  .bento__model { height: 300px; }
  .mini-phone { width: 236px; }
}

/* ==========================================================================
   Four-steps card (Weight Management): dark phone UI held in a hand
   ========================================================================== */
#weight-management .hiw { margin-top: 24px; }
.hiw__copy { max-width: 440px; }
.hiw--dark { --phone-b: #0d1b33; }
.hiw--dark .hp__photo { mix-blend-mode: normal; filter: drop-shadow(0 40px 50px rgba(14, 34, 70, .35)); }
.hiw--dark .phone__glow { background: radial-gradient(circle, rgba(83, 179, 168, .35) 0%, rgba(83, 179, 168, 0) 65%); }
.hiw--dark .hp .phone__screen { color: #fff; background: var(--phone-b); filter: none; }
.hiw--dark .hp .phone__status,
.hiw--dark .hp .phone__screen[data-active] .phone__status { color: #fff; }
.hiw--dark .hp .phone__icons i { background: #fff; }
.hiw--dark .hp .scene { color: #fff; }
.hiw--dark .scene--intake { background: linear-gradient(180deg, #1e3c6e 0%, #13284f 45%, #0d1b33 100%); }
.hiw--dark .scene--review { background: radial-gradient(120% 60% at 50% 0%, #2b5a8e 0%, #13284f 50%, #0d1b33 100%); }
.hiw--dark .scene--ship { background: linear-gradient(180deg, #24476f 0%, #13284f 45%, #0d1b33 100%); }
.hiw--dark .scene--plan { background: linear-gradient(180deg, #1d5254 0%, #12303f 45%, #0d1b33 100%); }
.hiw--dark .hp .scene small,
.hiw--dark .hp .ui-hello small,
.hiw--dark .hp .scene__top small,
.hiw--dark .hp .ui-rows span,
.hiw--dark .hp .ui-kicker { color: rgba(255, 255, 255, .6); }
.hiw--dark .hp .ui-progress { background: rgba(255, 255, 255, .14); }
.hiw--dark .hp .ui-progress i { background: var(--mint); }
.hiw--dark .hp .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.hiw--dark .scene.is-active .chip--pick { animation-name: chip-pick-dark; }
@keyframes chip-pick-dark {
  0% { transform: scale(1); }
  40% { transform: scale(.92); }
  100% { transform: scale(1); background: var(--mint); color: #0b1d3e; border-color: var(--mint); }
}
.hiw--dark .hp .ui-field { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); }
.hiw--dark .hp .ui-btn { background: #fff; color: #0d1b33; }
.hiw--dark .hp .ui-ava { border-color: rgba(255, 255, 255, .85); }
.hiw--dark .hp .ui-msg p { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; }
.hiw--dark .hp .ui-plan { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); }
.hiw--dark .hp .ui-rows li { border-bottom-color: rgba(255, 255, 255, .12); }

/* Step 03: order tracking */
.hiw--dark .scene--ship { align-items: stretch; padding-top: 50px; }
.hiw--dark .scene--ship .ui-kicker { margin-top: 0; }
.hiw--dark .scene--ship .ui-title { margin: 4px 0 12px; font-size: 16px; }
.ui-order {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
}
.ui-order img { width: 44px; height: 44px; object-fit: contain; }
.ui-order b { display: block; font-size: 12px; font-weight: 500; }
.ui-order small { font-size: 9.5px; }
.ui-status { margin-left: auto; padding: 4px 8px; border-radius: 999px; background: var(--mint); color: #0b1d3e; font-size: 9.5px; font-weight: 600; }
.ui-steps4 { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 16px 0 4px; }
.ui-steps4::before { content: ""; position: absolute; top: 6px; left: 12.5%; right: 12.5%; height: 2px; background: rgba(255, 255, 255, .15); }
.ui-steps4::after { content: ""; position: absolute; top: 6px; left: 12.5%; width: 0; height: 2px; background: var(--mint); }
.scene.is-active .ui-steps4::after { animation: steps4-fill 1.6s var(--ease-out) .5s forwards; }
@keyframes steps4-fill { to { width: 50%; } }
.ui-steps4 li { position: relative; display: grid; justify-items: center; gap: 6px; font-size: 9px; color: rgba(255, 255, 255, .55); }
.ui-steps4 i { width: 14px; height: 14px; border-radius: 50%; background: #0d1b33; border: 2px solid rgba(255, 255, 255, .25); }
.ui-steps4 .is-done,
.ui-steps4 .is-now { color: #fff; }
.ui-steps4 .is-done i { background: var(--mint); border-color: var(--mint); }
.ui-steps4 .is-now i { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(83, 179, 168, .25); }
.scene.is-active .ui-steps4 .is-now i { animation: now-pulse 1.4s ease-in-out 2s infinite; }
@keyframes now-pulse { 50% { box-shadow: 0 0 0 7px rgba(83, 179, 168, .1); } }
.ui-eta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(83, 179, 168, .28), rgba(53, 113, 186, .22));
}
.ui-eta small { display: block; font-size: 9.5px; }
.ui-eta b { font-family: var(--f-head); font-weight: 400; font-size: 20px; letter-spacing: -.02em; }
.ui-eta svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
.hiw--dark .scene--ship .ui-deliver { margin-top: auto; gap: 10px; background: rgba(255, 255, 255, .08); color: #fff; box-shadow: none; }
.hiw--dark .scene--ship .ui-deliver svg { flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: var(--mint); stroke-width: 1.6; stroke-linecap: round; }
.hiw--dark .scene--ship .ui-deliver small { display: block; font-size: 9.5px; color: rgba(255, 255, 255, .6); }
.scene.is-active .ui-order { animation: rise .6s var(--ease-out) .2s both; }
.scene.is-active .ui-eta { animation: rise .6s var(--ease-out) 1.6s both; }

/* HRT on phones: heading and button sit on teal, the photo starts below them */
@media (max-width: 640px) {
  .photo-sec__head .btn { width: auto; align-self: flex-start; height: 46px; }
  .photo-sec__bg { top: 200px; height: 480px; }
  .photo-sec__bg img {
    object-position: 50% 22%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 60%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 60%, transparent 100%);
  }
  .photo-sec__bg::after { display: none; }
  .photo-sec .wm__lineup { margin-top: 400px; }
}

/* ---------- TRT: deep navy-slate colour section (matches the bottom of its photo) ---------- */
#trt { --sec-a: #14294a; --sec-b: #0b1a30; --sec-em: #cfe0f2; }

/* ---------- Sexual Health: dusk navy colour section (matches the bottom of its photo) ---------- */
#sexual-health { --sec-a: #1c2a40; --sec-b: #111b2b; --sec-em: #f3cf9f; }
#sexual-health .photo-sec__bg img { object-position: 60% 30%; }
.wm--color .labs-wrap {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
}
.wm--color .h-card,
.wm--color .h-card--dark { color: #fff; }
.wm--color .h-card em { color: var(--sec-em); }
.wm--color .labs li { border-top-color: rgba(255, 255, 255, .18); }
.wm--color .labs__n,
.wm--color .labs small,
.wm--color .labs__note { color: rgba(255, 255, 255, .72); }
.wm--color .labs b { color: #fff; }
#trt .labs-wrap { margin-top: 40px; }
.hiw__role { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--ink-55); }

/* ---------- Logo (supplied artwork) ---------- */
.logo__img { display: block; height: 46px; width: auto; }
.footer .logo__img { height: 60px; }
.goals .logo__img { height: 40px; }
@media (max-width: 640px) { .logo__img { height: 38px; } }

/* Hero category cards: a little more shade behind the title so it reads on light photos */
.cat::after {
  background:
    radial-gradient(160% 72% at 0% 0%, rgba(6, 18, 40, .78) 0%, rgba(6, 18, 40, .46) 38%, rgba(6, 18, 40, 0) 70%),
    linear-gradient(0deg, rgba(6, 18, 40, .38) 0%, rgba(6, 18, 40, 0) 34%);
}

/* ==========================================================================
   Mobile pass
   ========================================================================== */
@media (max-width: 640px) {
  /* Header: compact text button, no circle icon */
  .header__inner { gap: 12px; }
  .header__actions { gap: 2px; }
  .header__cta { height: 40px; padding: 0 16px; gap: 0; font-size: 14px; }
  .header__cta .btn__icon { display: none; }

  /* Hero: full-width buttons */
  .hero__cta,
  .hero__btns { width: 100%; }
  .hero__btns { flex-direction: column; }
  .hero__btns .btn { width: 100%; justify-content: center; }
  .hero__btns .btn--primary { padding-left: 26px; padding-right: 26px; }
  .hero__btns .btn--primary .btn__icon { display: none; }

  /* Treatment lists: no label row, cards stacked */
  .wm__lineup-head,
  .sc__bar { display: none; }
  .wm .wm__cards,
  .wm .wm__cards--slider,
  #weight-management .wm__cards,
  .sc .sc__track {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 10px;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
    -webkit-mask-image: none;
            mask-image: none;
  }
  /* Cards keep the desktop design, just one per row */
  .wm .tx,
  .sc .sk { width: auto; }

  /* Cards rise over the bottom of each portrait so the fade reads softly */
  #weight-management .wm__lineup,
  .wm--model .wm__lineup { margin-top: -44px; }
  .sc .sc__lineup { position: relative; z-index: 2; margin-top: -46px; }

  /* HRT / TRT: photo from the very top (it already has sky), heading over it */
  .photo-sec .wm__panel { padding-top: 32px; }
  .photo-sec__bg { top: 0; height: 600px; }
  .photo-sec__bg img {
    object-position: 58% 20%;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  }
  .photo-sec__bg::after { display: block; background: linear-gradient(180deg, rgba(6, 30, 36, .55) 0%, rgba(6, 30, 36, 0) 40%); }
  .photo-sec .wm__lineup { margin-top: 250px; }
}

@media (max-width: 960px) {
  /* Labs bento on mobile: one heading, its copy, one button, then the phone */
  .bento__side--end .bento__title,
  .bento__side--end p { display: none; }
  .bento__side--end .btn { margin-top: 0; }
  .bento__wide { gap: 20px; }
  .mini-phone {
    width: 228px;
    height: 452px;
    display: flex;
    flex-direction: column;
    border-radius: 40px;
  }
  .mini-phone__btn { margin-top: auto; }
}

/* Labs phone status bar: island locked to the centre, time left, signal/battery right */
.mini-phone__bar { position: relative; height: 22px; padding: 0 10px; justify-content: space-between; }
.mini-phone__bar span {
  position: absolute;
  left: 50%;
  top: 0;
  width: 72px;
  height: 22px;
  margin: 0;
  transform: translateX(-50%);
  border-radius: 12px;
  background: #000;
}
.mini-phone__bar::after {
  content: "";
  width: 30px;
  height: 10px;
  border-radius: 3px;
  background:
    linear-gradient(#fff, #fff) 0 100% / 3px 4px no-repeat,
    linear-gradient(#fff, #fff) 5px 100% / 3px 6px no-repeat,
    linear-gradient(#fff, #fff) 10px 100% / 3px 8px no-repeat,
    linear-gradient(#fff, #fff) 18px 50% / 12px 9px no-repeat;
  opacity: .9;
}
@media (max-width: 960px) { .mini-phone__title { font-size: 16px; } }

/* ---------- Pricing + financing (client: Hims-style "from" prices) ---------- */
.tx__price { margin-top: 10px; font-size: 15px; color: var(--ink-70); }
.tx__price b { font-family: var(--f-head); font-weight: 500; font-size: 22px; letter-spacing: -.02em; color: var(--charcoal); }
.wm--color .tx__price { color: rgba(255, 255, 255, .75); }
.wm--color .tx__price b { color: #fff; }
.wm__finance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: 860px;
  margin: 24px auto 0;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .9);
  font-size: 15px;
  color: var(--charcoal);
  text-align: center;
}
.wm__finance svg { flex-shrink: 0; width: 20px; height: 20px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; }
@media (max-width: 640px) { .wm__finance { border-radius: 18px; text-align: left; font-size: 14px; } }
.hiw__role { max-width: 300px; }

/* TRT on phones: his face sits higher in the frame, so start the photo lower */
@media (max-width: 640px) {
  #trt .photo-sec__bg { top: 130px; height: 560px; }
  #trt .photo-sec__bg img { object-position: 52% 18%; }
  #trt.photo-sec .wm__lineup { margin-top: 500px; }
  #sexual-health .photo-sec__bg { top: 150px; height: 520px; }
  #sexual-health .photo-sec__bg img { object-position: 62% 12%; }
  #sexual-health.photo-sec .wm__lineup { margin-top: 300px; }
}

/* ---------- Contact details ---------- */
.contact-card__link { display: block; margin-top: 12px; font-style: normal; font-size: 18px; font-weight: 500; color: var(--teal); }
a.contact-card__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__address { font-style: normal; line-height: 1.5; color: rgba(244, 247, 251, .72); }


/* ==========================================================================
   Hero: treatment categories, three in view, arrows + drag
   ========================================================================== */
.cats-slider__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cats--slider {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  margin: 0;
  padding: 0;
}
.cats--slider::-webkit-scrollbar { display: none; }
.cats--slider.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.cats--slider.is-dragging .cat { pointer-events: none; }
.cats--slider .cat { height: 440px; scroll-snap-align: start; user-select: none; }
.cats--slider .cat img { -webkit-user-drag: none; }
@media (max-width: 960px) {
  .cats--slider { grid-auto-columns: calc((100% - 16px) / 2); }
  .cats--slider .cat { height: 400px; }
}
@media (max-width: 640px) {
  .cats--slider { grid-auto-columns: 84%; gap: 12px; }
  .cats--slider .cat { height: 380px; }
}

/* ---------- Weight Management: photo header like HRT, deep green to match the park in its photo ---------- */
#weight-management { --sec-a: #2b4526; --sec-b: #1a2e18; --sec-em: #f4dcaa; }
#weight-management.wm--color .tx {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
}
#weight-management .photo-sec__bg img { object-position: 60% 25%; }
#weight-management.photo-sec .wm__lineup { margin-top: 500px; }
@media (max-width: 960px) { #weight-management.photo-sec .wm__lineup { margin-top: 430px; } }
@media (max-width: 640px) {
  #weight-management .photo-sec__bg { top: 150px; height: 520px; }
  #weight-management .photo-sec__bg img { object-position: 52% 10%; }
  #weight-management.photo-sec .wm__lineup { margin-top: 300px; }
}
/* The four-steps card matches the frosted treatment cards in the green section */
#weight-management .hiw {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
}
#weight-management .hiw::before { background: radial-gradient(circle, rgba(244, 220, 170, .22) 0%, rgba(244, 220, 170, 0) 65%); }
#weight-management .hiw .h-card--dark { color: #fff; }
#weight-management .hiw .h-card--dark em { color: var(--sec-em); }
#weight-management .hiw__copy > p { color: rgba(255, 255, 255, .78); }
#weight-management .hiw__steps li { color: rgba(255, 255, 255, .6); border-top-color: rgba(255, 255, 255, .16); }
#weight-management .hiw__steps li.is-active { color: #fff; }
#weight-management .hiw__steps li i { background: var(--sec-em); }
#weight-management .hiw__caption { color: rgba(255, 255, 255, .6); }
#weight-management .hiw__btn { background: #fff; color: var(--charcoal); }
#weight-management .hiw__btn:hover { background: var(--sec-em); color: var(--charcoal); }

/* Phones: all four photo sections share one rhythm — photo starts under the heading, cards at the same depth */
@media (max-width: 640px) {
  #weight-management .photo-sec__bg,
  #hrt .photo-sec__bg,
  #sexual-health .photo-sec__bg,
  #trt .photo-sec__bg { top: var(--sky-h, 150px); height: 520px; }
  #hrt .photo-sec__bg img { object-position: 50% 14%; }
  #weight-management .photo-sec__bg::after,
  #hrt .photo-sec__bg::after,
  #sexual-health .photo-sec__bg::after,
  #trt .photo-sec__bg::after { display: none; }
  #weight-management .photo-sec__bg img,
  #hrt .photo-sec__bg img,
  #sexual-health .photo-sec__bg img,
  #trt .photo-sec__bg img {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
  }
  #weight-management.photo-sec .wm__lineup,
  #hrt.photo-sec .wm__lineup,
  #sexual-health.photo-sec .wm__lineup,
  #trt.photo-sec .wm__lineup { margin-top: 330px; }
}

/* ==========================================================================
   Desktop mega menu: full-width dropdown under the header for each category
   ========================================================================== */
.nav__item.has-ndrop { position: static; }
.ndrop {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 40;
  background: var(--ivory);
  border-top: 1px solid var(--line);
  box-shadow: 0 34px 60px -34px rgba(14, 34, 70, .28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .22s var(--ease-out), transform .22s var(--ease-out), visibility 0s linear .22s;
}
/* invisible bridge so the pointer can travel from the link down into the panel */
.ndrop::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 18px; }
.has-ndrop:hover > .ndrop,
.has-ndrop:focus-within > .ndrop {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition-delay: .06s, .06s, 0s;
}
.has-ndrop.is-closed > .ndrop { opacity: 0; visibility: hidden; pointer-events: none; }
.has-ndrop:hover > .nav__link { color: var(--charcoal); background: rgba(14, 34, 70, .04); }

.ndrop__inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.05fr) minmax(0, 1.25fr) minmax(0, .8fr) 300px;
  gap: 48px;
  padding-top: 38px;
  padding-bottom: 42px;
}
.ndrop__intro { padding-right: 40px; border-right: 1px solid var(--line); }
.ndrop__title { font-size: 28px; line-height: 1.15; letter-spacing: -.02em; color: var(--charcoal); }
.ndrop__desc { margin-top: 10px; font-size: 14px; color: var(--ink-55); }
.ndrop__all {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 26px; font-size: 14px; font-weight: 500; color: var(--charcoal);
}
.ndrop__all svg, .ndrop__card svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease-out); }
.ndrop__all:hover svg, .ndrop__card:hover svg { transform: translateX(3px); }

.ndrop__label {
  margin-bottom: 18px;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-55);
}
.ndrop__col ul { display: grid; gap: 14px; }
.ndrop__col--wide ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.ndrop__col a { font-size: 15.5px; color: var(--charcoal); transition: color .2s; }
.ndrop__col a:hover { color: var(--teal); }
.ndrop__col sup { margin-left: 3px; font-size: 9.5px; color: var(--ink-55); vertical-align: super; }

.ndrop__card {
  position: relative;
  display: block;
  height: 190px;
  overflow: hidden;
  border-radius: 18px;
}
.ndrop__card img { width: 100%; height: 100%; object-fit: cover; object-position: right center; transition: transform .6s var(--ease-out); }
.ndrop__card:hover img { transform: scale(1.04); }
.ndrop__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 34, 70, 0) 45%, rgba(14, 34, 70, .55) 100%); }
.ndrop__card span {
  position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px;
  display: flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 500; color: #fff;
}
@media (max-width: 1240px) {
  .ndrop__inner { grid-template-columns: minmax(200px, 1fr) minmax(0, 1.3fr) minmax(0, .8fr); gap: 36px; }
  .ndrop__card { display: none; }
}

/* Required footer disclaimer: readable on desktop and mobile (Karpa best practice) */
.footer__notice { font-size: 15px; color: rgba(244, 247, 251, .82); }
@media (max-width: 640px) { .footer__notice { font-size: 14px; } }

/* ==========================================================================
   Photo sections with an extended sky: centred eyebrow + title above the
   subject's head, on a strip that continues the photo's own sky colour
   ========================================================================== */
/* the photos themselves are extended upward with their own sky (assets/img/sections/*-bg.webp), so the band is off */
.photo-sec--sky { --sky-h: 0px; }
#weight-management { --sky: linear-gradient(90deg, #39a0e4, #40a1e2 50%, #3a9bde); --sec-a: #3d4f24; --sec-b: #27341a; --sec-em: #f4dcaa; }
#skincare          { --sky: linear-gradient(90deg, #73b4ea, #74b4e8 50%, #6fafe4); --sec-a: #5d6238; --sec-b: #3e4226; --sec-em: #f6e3b4; }
#sexual-health     { --sky: linear-gradient(90deg, #1889ce, #1586ca 50%, #0a7dc2); --sec-a: #2a5568; --sec-b: #173746; --sec-em: #f3d9b0; }
#hrt               { --sky: linear-gradient(90deg, #589fe2, #6da4d2 50%, #9cb5c6); --sec-a: #2f5579; --sec-b: #1d3a58; --sec-em: #e3f0fc; }
#trt               { --sky: linear-gradient(90deg, #68aadf, #63a8df 50%, #63a9e0); --sec-a: #6b573d; --sec-b: #46382a; --sec-em: #f4e2c2; }

.photo-sec__sky { display: none; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: calc(var(--sky-h) + 280px); background: var(--sky); }
.photo-sec--sky .photo-sec__bg { top: var(--sky-h); }
.photo-sec--sky .photo-sec__bg img {
  object-position: center 66%;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
}
.photo-sec--sky .photo-sec__bg::after { display: none; }
.photo-sec--sky .photo-sec__head { justify-content: center; text-align: center; }
.photo-sec--sky .photo-sec__head .wm__eyebrow { justify-content: center; }
.photo-sec--sky .photo-sec__head .h-section { text-shadow: 0 2px 22px rgba(8, 40, 80, .22); }
.photo-sec--sky .photo-sec__head .h-section em { color: #fff; }

/* Skincare has a one-line title: extra space keeps its cards level with the other sections */
#skincare.photo-sec .wm__lineup { margin-top: 566px; }
@media (max-width: 960px) { #skincare.photo-sec .wm__lineup { margin-top: 496px; } }
@media (max-width: 960px) { .photo-sec--sky .photo-sec__bg img { object-position: center 30%; } }
@media (max-width: 640px) {
  .photo-sec--sky { --sky-h: 0px; }
  .photo-sec--sky .photo-sec__head { align-items: center; }
  #weight-management .photo-sec__bg,
  #skincare .photo-sec__bg,
  #hrt .photo-sec__bg,
  #sexual-health .photo-sec__bg,
  #trt .photo-sec__bg { top: var(--sky-h); }
  #weight-management .photo-sec__bg img,
  #skincare .photo-sec__bg img,
  #hrt .photo-sec__bg img,
  #sexual-health .photo-sec__bg img,
  #trt .photo-sec__bg img { object-position: center top; }
  #skincare.photo-sec .wm__lineup { margin-top: 363px; }
}

/* Cards in the photo sections: glass tinted with the section colour so the text reads clearly */
.photo-sec--sky.wm--color .tx,
#weight-management.photo-sec--sky .tx,
#weight-management.photo-sec--sky .hiw {
  background: linear-gradient(165deg, color-mix(in srgb, var(--sec-a) 52%, transparent) 0%, color-mix(in srgb, var(--sec-b) 64%, transparent) 100%);
  border-color: rgba(255, 255, 255, .18);
}

/* ==========================================================================
   Hero category cards (2026-11): coloured studio product shots, title top-left,
   product on the right, "Get started" bottom-left. The slider runs full width:
   it starts aligned with the heading and bleeds off both edges of the screen.
   ========================================================================== */
.cats-slider { container-type: inline-size; }
.cats--slider {
  grid-auto-columns: calc((100cqw - 32px) / 3);
  /* 100cqw = the heading container, so the bleed is the gap from it to the screen edge */
  margin-inline: calc(50cqw - 50vw);
  padding-inline: calc(50vw - 50cqw);
  scroll-padding-inline: calc(50vw - 50cqw);
}
.cats--slider .cat { height: auto; aspect-ratio: 1200 / 916; background: #2a3550; }
.cats--slider .cat::before { display: none; }
.cats--slider .cat::after { background: radial-gradient(120% 70% at 0% 0%, rgba(0, 0, 0, .16) 0%, rgba(0, 0, 0, 0) 60%); }
.cats--slider .cat__media img,
.cats--slider .cat__media img[src*="hero/"] { object-position: right center; }
.js .cats--slider[data-stagger] .cat__media img { transform: scale(1.06); }
.js .cats--slider[data-stagger].is-in .cat__media img { transform: none; }
.js .cats--slider[data-stagger].is-in .cat:hover .cat__media img { transform: scale(1.03); }
.cats--slider .cat__title { font-size: clamp(26px, 2.2vw, 34px); text-shadow: none; }
.cats--slider .cat__desc { margin-top: 6px; opacity: .92; }
.cat__cta {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #fff;
}
.cat__cta i {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .7); transition: background-color .3s, color .3s;
}
.cat__cta svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cat:hover .cat__cta i { background: #fff; color: var(--charcoal); }
@media (max-width: 960px) { .cats--slider { grid-auto-columns: calc((100cqw - 16px) / 2); } }
@media (max-width: 640px) {
  .cats--slider { grid-auto-columns: 86cqw; }
  .cats--slider .cat__body { padding: 22px; }
}
/* the full-width slider uses vw, which includes the scrollbar: clip that sliver so the page never scrolls sideways */
.hero { overflow-x: clip; }
/* Phones: taller hero cards with a narrower text column so the title never runs into the product */
@media (max-width: 640px) {
  .cats--slider { grid-auto-columns: 92cqw; }
  .cats--slider .cat__text { max-width: 60%; }
  .cats--slider .cat__title { font-size: 24px; }
}
.cats--slider .cat__desc { white-space: normal; }

