/* Homepage ("/") — Nov 15 2026. Scope .hm on top of weight-loss.css (.wl tokens, buttons, carousels, wl-fcard, wl-works, wl-faq)
   and mens-wellness.css (.mw-care dark reviews). Layout from the team's ChatGPT mockup: ivory hero + 2×2 photo mosaic, bento goal grid,
   tabbed product cards, mission cards, two-column FAQ. */
.hm { --hm-ivory: #fbf7f2; --hm-sand: #f3ebe1; --hm-orange: #ff7a1a; background: #fff; }
.hm section { padding-block: var(--wl-sec); }
.hm .hm-h2 { font-size: clamp(30px, 7.4vw, 56px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--wl-ink); text-wrap: balance; }
.hm-lead { margin-top: 12px !important; font-size: clamp(16px, 4.2vw, 20px); line-height: 1.4; color: #4a4d55; max-width: 62ch; }
.hm-eyebrow { margin-bottom: 10px !important; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #c2560c; }

/* ---------- hero ---------- */
.hm .hm-hero { background: var(--hm-ivory); padding-block: 26px 40px; }
.hm-hero__grid { display: grid; gap: 28px; }
.hm-hero__eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #c2560c; }
.hm-hero__display { margin-top: 10px !important; font-size: clamp(46px, 13.2vw, 104px); font-weight: 800; letter-spacing: -0.06em; line-height: .93; color: var(--wl-ink); text-wrap: balance; }
.hm .hm-hero__h1 { margin-top: 16px; font-size: clamp(17px, 4.6vw, 24px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--wl-ink); }
.hm-hero__lead { margin-top: 8px !important; font-size: clamp(16px, 4.3vw, 21px); line-height: 1.4; color: #4a4d55; max-width: 34ch; }
.hm .hm-hero__ctas { margin-top: 22px; }
.hm-hero__q { margin-top: 26px !important; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: var(--wl-ink); }
.hm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px !important; }
.hm .hm-chip { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; background: var(--hm-sand); color: var(--wl-ink); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; transition: background-color .18s ease, color .18s ease; }
.hm .hm-chip:hover { background: var(--wl-ink); color: #fff; }

.hm-mosaic { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hm-mosaic__tile { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; background: #2a2320; }
.hm-mosaic__tile img { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.hm-mosaic__tile:hover img { transform: scale(1.04); }
.hm-tp {
  position: absolute; left: 10px; bottom: 10px; z-index: 1; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; max-width: calc(50% - 25px); overflow: hidden;
  padding: 8px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .5); background: rgba(14, 14, 16, .7);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff !important; font-size: 13px; font-weight: 500; line-height: 1.2;
}
.hm-tp .wl-hero__tp-stars i { width: 18px; height: 18px; }
.hm-tp .wl-hero__tp-stars .wl-ico { width: 13px; height: 13px; }
.hm-tp { white-space: nowrap; flex-wrap: nowrap; }
.hm-tp .wl-hero__tp-brand .wl-ico { width: 15px; height: 15px; }
/* phones: the tiles are too narrow for the strip → its own row under the mosaic */
@media (max-width: 1279px) { .hm-tp { position: static; grid-column: 1 / -1; justify-self: start; max-width: none; margin-top: 2px; border-color: transparent; background: #0e0e10; } }
@media (min-width: 750px) {
  .hm .hm-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
  .hm .hm-hero__ctas .wl-btn { padding: 0 28px; min-height: 56px; font-size: 17px; }
  .hm-mosaic { gap: 14px; }
  .hm-mosaic__tile { border-radius: 28px; }
  .hm-tp { left: 16px; bottom: 16px; font-size: 15px; padding: 10px 16px; }
  .hm-tp .wl-hero__tp-stars i { width: 22px; height: 22px; }
  .hm-tp .wl-hero__tp-stars .wl-ico { width: 16px; height: 16px; }
}
@media (min-width: 1024px) {
  .hm .hm-hero { padding-block: 44px 72px; }
  .hm-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; }
  .hm-hero__display { font-size: clamp(64px, 6.6vw, 112px); }
  .hm-mosaic { padding-bottom: 28px; }
  .hm-mosaic__tile { aspect-ratio: 1 / .94; }
  .hm-mosaic__tile--2, .hm-mosaic__tile--4 { transform: translateY(28px); }
  .hm-mosaic__tile--1 { border-radius: 36px 28px 28px 28px; }
  .hm-mosaic__tile--4 { border-radius: 28px 28px 36px 28px; }
}

/* ---------- browse by goal ---------- */
.hm .hm-goals { background: #fff; padding-top: calc(var(--wl-sec) * .8); }
.hm-goals__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px !important; }
.hm-goal { position: relative; border-radius: 20px; overflow: hidden; background: var(--tone); isolation: isolate; }
.hm-goal > a { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 100%; min-height: 216px; padding: 14px 14px 14px; color: #fff !important; }
.hm-goal__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.hm-goal > a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 8, 10, .5) 0%, rgba(8, 8, 10, .08) 38%, rgba(8, 8, 10, .1) 52%, rgba(8, 8, 10, .78) 100%); }
.hm-goal--solid > a::before { background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(120, 30, 0, .22)); }
.hm .hm-goal__title { font-size: clamp(19px, 5.4vw, 30px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; color: #fff; max-width: 9ch; text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.hm-goal__body { display: grid; gap: 4px; padding-right: 44px; }
.hm-goal__text { font-size: 13px; line-height: 1.25; font-weight: 500; color: rgba(255, 255, 255, .94); text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.hm-goal__count { font-size: 12px; font-weight: 700; letter-spacing: .01em; color: #fff; }
.hm-goal__count b { font-weight: 700; }
.hm-goal__count i { font-style: normal; }
.hm-goal__go { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--wl-ink); transition: transform .2s ease; }
.hm-goal__go .wl-ico { width: 18px; height: 18px; stroke-width: 2.2; }
.hm-goal__mark { position: absolute; right: -18px; top: 26%; z-index: -1; opacity: .2; color: #fff; }
.hm-goal__mark .wl-ico { width: 150px; height: 150px; stroke-width: 1.2; }
.hm-goal:hover .hm-goal__img { transform: scale(1.05); }
.hm-goal:hover .hm-goal__go { transform: translateX(3px); }
.hm-goal.is-hl { animation: hm-hl 2.2s ease 1; }
@keyframes hm-hl { 0%, 60% { box-shadow: 0 0 0 4px #fff, 0 0 0 8px var(--hm-orange); } 100% { box-shadow: 0 0 0 4px transparent, 0 0 0 8px transparent; } }
/* phones: one wide card per row — title left, person right (the mockup's phone cards) */
@media (max-width: 559px) {
  .hm-goals__grid { grid-template-columns: 1fr; }
  .hm-goal > a { min-height: 152px; }
  .hm-goal > a::before { background: linear-gradient(90deg, rgba(8, 8, 10, .74) 0%, rgba(8, 8, 10, .46) 40%, rgba(8, 8, 10, 0) 70%); }
  .hm-goal--solid > a::before { background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(120, 30, 0, .22)); }
  .hm .hm-goal__title { font-size: 24px; max-width: 9ch; }
  .hm-goal__img { object-position: 50% 22% !important; }
  .hm-goal__body { max-width: 56%; padding-right: 0; }
  .hm-goal__mark { top: 6%; right: 58px; }
  .hm-goal__mark .wl-ico { width: 130px; height: 130px; }
}
@media (min-width: 750px) {
  .hm-goals__grid { gap: 14px; }
  .hm-goal > a { min-height: 260px; padding: 20px; }
  .hm-goal__text { font-size: 15px; }
  .hm-goal__count { font-size: 13px; }
  .hm-goal__go { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .hm-goals__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hm-goal > a { min-height: 300px; padding: 16px 14px; }
  .hm .hm-goal__title { font-size: 23px; }
  .hm-goal__text { font-size: 14px; }
  .hm-goal__body { padding-right: 0; padding-bottom: 50px; }
}
@media (min-width: 1280px) {
  .hm-goals__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .hm-goal { grid-column: span 3; }
  .hm-goal:nth-child(n+5) { grid-column: span 2; }
  .hm-goal > a { min-height: clamp(280px, 23vw, 370px); }
  .hm-goal:nth-child(n+5) > a { min-height: clamp(300px, 25vw, 400px); padding: 18px 16px; }
  .hm .hm-goal__title { font-size: clamp(25px, 2.3vw, 36px); max-width: 8ch; }
  .hm-goal:nth-child(-n+4) > a::before { background: linear-gradient(90deg, rgba(8, 8, 10, .5) 0%, rgba(8, 8, 10, 0) 58%), linear-gradient(180deg, rgba(8, 8, 10, .3) 0%, rgba(8, 8, 10, 0) 34%, rgba(8, 8, 10, .1) 55%, rgba(8, 8, 10, .78) 100%); }
  /* the wide cards: push the person to the right half so the title has the left */
  .hm-goal--weight-loss .hm-goal__img { object-position: 22% 28% !important; }
  .hm-goal--mens-sexual .hm-goal__img { object-position: 6% 28% !important; }
  .hm-goal--womens-sexual .hm-goal__img { object-position: 52% 28% !important; }
  .hm-goal--hormone-health .hm-goal__img { object-position: 62% 28% !important; }
  /* the narrow cards: a slightly larger picture anchored at the top lowers the face under the title */
  .hm-goal:nth-child(n+5) .hm-goal__img { inset: 0 0 auto 0; height: 114%; }
  .hm .hm-goal:nth-child(n+5) .hm-goal__title { font-size: clamp(22px, 2vw, 32px); }
}

.hm-strip { display: grid; gap: 20px; margin-top: 18px; padding: 22px 20px; border-radius: 20px; background: var(--hm-ivory); }
.hm .hm-strip__title { font-size: clamp(22px, 5.6vw, 30px); font-weight: 800; letter-spacing: -0.04em; }
.hm-strip__checks { display: grid; gap: 8px; margin-top: 12px !important; }
.hm-strip__checks li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; font-weight: 500; color: #2f3138; }
.hm-strip__checks .wl-ico { flex: none; width: 20px; height: 20px; color: var(--wl-accent-2); margin-top: 1px; }
.hm-strip__steps { display: grid; gap: 10px; align-content: center; }
.hm-strip__steps li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--wl-ink); }
.hm-strip__steps b { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--wl-ink); color: #fff; font-size: 14px; }
.hm-strip__cta { display: grid; gap: 10px; align-content: center; justify-items: start; }
.hm-strip__cta p { font-size: 13px; color: var(--wl-muted); max-width: 30ch; }
@media (min-width: 1024px) {
  .hm-strip { grid-template-columns: 1.3fr 1fr auto; gap: 40px; padding: 30px 36px; align-items: center; }
}

/* ---------- how it works ---------- */
.hm .hm-works { background: var(--hm-ivory); }
.hm .hm-works__sub { margin-top: 8px; text-align: center; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #c2560c; }
.hm .hm-works__lead { max-width: 60ch; margin-inline: auto; font-size: clamp(16px, 4.2vw, 19px); color: #4a4d55; }
.hm .hm-works .wl-step { background: #fff; }

/* ---------- popular treatments ---------- */
.hm .hm-pop { background: #fff; }
.hm-pop__head .hm-h2 { max-width: 20ch; }
.hm-tabs { display: flex; gap: 8px; margin: 24px calc(var(--wl-pad) * -1) 0; padding: 4px var(--wl-pad) 10px; overflow-x: auto; scrollbar-width: none; }
.hm-tabs::-webkit-scrollbar { display: none; }
.hm .hm-tab { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #dcd6ce; background: #fff; color: var(--wl-ink); font: 600 15px/1 var(--wl-font); letter-spacing: -0.01em; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.hm .hm-tab:hover { border-color: var(--wl-ink); }
.hm .hm-tab[aria-selected="true"] { background: var(--wl-accent-2); border-color: var(--wl-accent-2); color: #fff; }
.hm-panel { margin-top: 14px; }
.hm-panel[hidden] { display: none; }
.hm-panel:focus-visible { outline: 3px solid #8a8580; outline-offset: 6px; border-radius: 12px; }
.hm-pop__track { grid-auto-columns: 78%; grid-template-rows: repeat(7, auto); row-gap: 0; padding-block: 8px 10px; }
.hm .hm-pop__track .wl-fcard { background: var(--hm-ivory); box-shadow: none; }
.hm .hm-pop__track .wl-fcard__title { font-size: clamp(21px, 5.6vw, 25px); }
.hm .hm-pop__track .wl-fcard__desc { font-size: 15px; }
.hm-pop__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.hm-pop__nav .wl-dots { margin-top: 0; flex-wrap: wrap; justify-content: flex-start; }
.hm-pop__foot { display: grid; gap: 14px; margin-top: 22px; padding: 20px; border-radius: 20px; background: var(--hm-ivory); }
.hm-pop__find { display: grid; gap: 4px; }
.hm-pop__find strong { font-size: clamp(20px, 5.2vw, 26px); font-weight: 800; letter-spacing: -0.035em; color: var(--wl-ink); }
.hm-pop__find span { font-size: 14px; color: var(--wl-muted); }
.hm .hm-pop__find a { color: var(--wl-ink); text-decoration: underline; text-underline-offset: 3px; }
.hm-pop__btns { display: grid; gap: 10px; }
.hm .hm-pop__legal { text-align: center; margin-top: 18px !important; font-size: 13px; color: var(--wl-muted); }
@media (min-width: 750px) {
  .hm-pop__track { grid-auto-columns: calc((100% - var(--wl-gap)) / 2.2); }
  .hm-pop__foot { grid-template-columns: 1fr auto; align-items: center; padding: 24px 30px; }
  .hm-pop__btns { grid-auto-flow: column; }
}
@media (min-width: 1024px) {
  .hm-tabs { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .hm-pop__track { grid-auto-columns: calc((100% - 3 * var(--wl-gap)) / 4); }
  .hm-pop__nav .wl-dots { display: none; }
  .hm-pop__nav { justify-content: flex-end; }
  .hm-panel[data-count="1"] .hm-pop__nav, .hm-panel[data-count="2"] .hm-pop__nav,
  .hm-panel[data-count="3"] .hm-pop__nav, .hm-panel[data-count="4"] .hm-pop__nav { display: none; }
}
@media (min-width: 1500px) { .hm-pop__track { grid-auto-columns: calc((100% - 4 * var(--wl-gap)) / 5); } }

/* ---------- reviews ---------- */
.hm .hm-reviews__kicker { margin-top: 0 !important; font-size: 13px; font-weight: 700; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; color: var(--mw-orange, #ff7a1a); }
.hm .hm-reviews .wl-reviews__title { margin-top: 8px; }
.hm .hm-reviews__tp { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- mission ---------- */
.hm .hm-mission { background: #fff; }
.hm-mission__grid { display: grid; gap: 12px; margin-top: 24px !important; }
.hm-mission__card { padding: 24px 22px; border-radius: 20px; background: var(--hm-ivory); }
.hm .hm-mission__card h3 { font-size: clamp(22px, 5.6vw, 28px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; max-width: 14ch; }
.hm-mission__card p { margin-top: 10px !important; font-size: 16px; line-height: 1.45; color: #4a4d55; }
.hm-mission__line { margin-top: 26px !important; font-size: clamp(19px, 5vw, 28px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; color: var(--wl-ink); max-width: 44ch; text-wrap: balance; }
.hm-mission__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hm .hm-mission__links .wl-btn { min-height: 46px; padding: 0 20px; font-size: 15px; }
@media (min-width: 900px) { .hm-mission__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } .hm-mission__card { padding: 30px 28px; } }

/* ---------- FAQ ---------- */
.hm .hm-faq { background: var(--hm-ivory); }
.hm-faq__wrap { display: grid; gap: 24px; max-width: 1600px; }
.hm .hm-faq__intro { text-align: left; }
.hm-faq__intro .wl-btn { margin-top: 18px; }
.hm .hm-faq__list { margin-top: 0; }
.hm .hm-faq .wl-faq__item { background: #fff; }
@media (min-width: 1024px) {
  .hm-faq__wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 64px; align-items: start; }
  .hm-faq__intro { position: sticky; top: 110px; }
}

/* ---------- closing band ---------- */
.hm .hm-close { background: #0d0d0e; color: #fff; }
.hm-close__in { display: grid; justify-items: center; text-align: center; }
.hm-close__title { font-size: clamp(40px, 10.5vw, 88px); font-weight: 800; letter-spacing: -0.06em; line-height: .95; color: #fff; text-wrap: balance; }
.hm-close__lead { margin-top: 14px !important; font-size: clamp(16px, 4.3vw, 21px); color: rgba(255, 255, 255, .78); max-width: 40ch; }
.hm-close__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.hm .hm-close__ghost { border-color: rgba(255, 255, 255, .55); color: #fff !important; background: transparent; min-height: 60px; font-size: 18px; }
.hm .hm-close__ghost:hover { background: #fff; color: #0d0d0e !important; }
.hm-close__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 26px !important; font-size: 15px; color: rgba(255, 255, 255, .78); }
.hm-close__trust li { display: inline-flex; align-items: center; gap: 6px; }
.hm-close__trust strong { color: #fff; }
.hm-close__trust .wl-ico { width: 18px; height: 18px; color: #00b67a; }

@media (prefers-reduced-motion: reduce) { .hm-goal__img, .hm-mosaic__tile img, .hm-goal__go { transition: none !important; transform: none !important; } .hm-goal.is-hl { animation: none; outline: 4px solid var(--hm-orange); } }

/* ---------- Nov 15 pass 2 (user: phone alignment; the treatments → experts stretch "looks weird") ---------- */
/* treatments: one tab row that scrolls instead of wrapping a lone tab; arrows sit top-right beside the heading on desktop and are
   dropped on touch widths (cards swipe); short card texts no longer leave a hole above "See details"; tighter hand-off to Our Experts */
.hm .hm-pop { padding-bottom: 28px; }
.hm .wl-experts { padding-top: 36px; }
.hm .hm-pop > .wl-wrap { position: relative; }
.hm .hm-pop__track .wl-fcard__desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; min-height: 0; }
.hm-pop__foot { margin-top: 12px; }
.hm .hm-pop__legal { margin-top: 14px !important; }
@media (max-width: 1023px) {
  .hm-pop__nav { display: none; }
  .hm-pop__track { padding-bottom: 6px; }
  /* phones: everything on the page reads from the left edge */
  .hm .hm-works .wl-works__title, .hm .hm-works__sub, .hm .hm-works__lead { text-align: left; margin-inline: 0; }
  .hm .hm-pop__legal { text-align: left; }
}
@media (max-width: 749px) {
  .hm-tp { justify-self: stretch; justify-content: center; }
  .hm-pop__btns .wl-btn { width: 100%; }
  .hm-mission__links .wl-btn { flex: 1 1 100%; }
  .hm-faq__intro .wl-btn, .hm-strip__cta .wl-btn { width: 100%; }
  .hm-strip__cta { justify-items: stretch; }
}
@media (min-width: 1024px) {
  .hm .hm-pop { padding-bottom: 36px; }
  .hm .wl-experts { padding-top: 52px; }
  .hm-tabs { flex-wrap: nowrap; overflow-x: auto; gap: 6px; margin-top: 28px; }
  .hm .hm-tab { min-height: 42px; padding: 0 15px; font-size: 14px; }
  .hm-pop__nav { position: absolute; top: 30px; right: var(--wl-pad); margin: 0; }
  .hm-panel { margin-top: 10px; }
}

/* Infection Care card (Nov 16 2026, user): the category's sore-throat hero photo instead of the orange placeholder. She sits on the left of the
   photo, under the card title → mirrored so she sits on the right like the people on the other cards (no text in the photo). */
.hm-goal--infection-care .hm-goal__img { transform: scaleX(-1); }
.hm-goal--infection-care:hover .hm-goal__img { transform: scale(-1.05, 1.05); }
