/* ============ MEN'S HEALTH: the first thing a visitor should understand ============ */

/* ---- Home hero: say what it is, in the hero ---- */
.hero-what { margin-top: clamp(14px, 2.2vh, 24px); max-width: 40rem; font-family: var(--serif); font-weight: 300; font-size: clamp(1.2rem, 1.9vw, 1.75rem); line-height: 1.22; color: var(--bone); opacity: 0; transform: translateY(8px); transition: opacity calc(var(--k) * 1.1s) ease calc(var(--k) * 2.1s), transform calc(var(--k) * 1.1s) var(--ease) calc(var(--k) * 2.1s); }
.hero-what em { color: var(--brass); font-style: italic; }
.hero-svcs { margin-top: clamp(12px, 1.8vh, 20px); max-width: 72rem; display: flex; flex-wrap: wrap; gap: 2px 0; list-style: none; padding: 0; opacity: 0; transform: translateY(8px); transition: opacity calc(var(--k) * 1.1s) ease calc(var(--k) * 2.2s), transform calc(var(--k) * 1.1s) var(--ease) calc(var(--k) * 2.2s); }
.hero-svcs li { display: inline-flex; align-items: center; }
.hero-svcs li + li::before { content: ''; width: 3px; height: 3px; background: var(--brass); transform: rotate(45deg); margin: 0 clamp(10px, 1.1vw, 16px); flex: none; }
.hero-svcs a { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone); padding: 11px 0 9px; border-bottom: 1px solid transparent; transition: border-color 0.3s, color 0.3s; }
.hero-svcs a:hover { border-color: var(--brass); color: var(--brass); }
.hero.on .hero-what, .hero.on .hero-svcs { opacity: 1; transform: none; }
.hero .hero-orient { margin-top: clamp(10px, 1.6vh, 16px); }
@media (prefers-reduced-motion: reduce) { .hero-what, .hero-svcs { opacity: 1; transform: none; transition: none !important; } }
@media (max-width: 700px) {
  .hero { height: auto; min-height: 100svh; }
  .hero-body { position: relative; left: auto; right: auto; bottom: auto; padding: calc(var(--nav-h) + 24px) var(--gut) 44px; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
  .hero-svcs a { font-size: 0.74rem; letter-spacing: 0.13em; }
}
@media (max-height: 760px) and (min-width: 701px) {
  .hero { min-height: 760px; }
}

/* ---- Home section: Men's health, handled privately ---- */
.hl { position: relative; background: var(--obsidian); padding: clamp(80px, 12vh, 150px) 0; border-top: 1px solid var(--hair); }
.hl-head { display: grid; gap: clamp(20px, 3vh, 32px); margin-bottom: clamp(36px, 6vh, 72px); }
.hl-kick { font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--brass); }
.hl h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.5rem, 6.4vw, 6rem); line-height: 1; letter-spacing: -0.03em; max-width: 12em; }
.hl h2 em { color: var(--brass); }
.hl-lede { max-width: 40rem; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--bone-2); }
.hl-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--hair); }
.hl-grid a { display: grid; gap: 6px; padding: clamp(20px, 3vh, 30px) 0; border-bottom: 1px solid var(--hair); color: inherit; transition: padding-left 0.4s var(--ease), background 0.4s; }
.hl-grid a:hover, .hl-grid a:focus-visible { padding-left: 14px; background: rgba(201, 160, 99, 0.05); }
.hl-grid h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.1; }
.hl-grid p { color: var(--bone-2); max-width: 30rem; }
@media (min-width: 820px) { .hl-grid { grid-template-columns: repeat(2, 1fr); column-gap: clamp(32px, 5vw, 96px); } }
@media (min-width: 1200px) { .hl-grid { grid-template-columns: repeat(3, 1fr); } }
.hl-private { margin-top: clamp(56px, 9vh, 110px); display: grid; gap: clamp(24px, 4vh, 40px); }
.hl-private > h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.05; max-width: 18em; }
.hl-private > h3 em { color: var(--brass); }
.hl-pillars { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; grid-template-columns: 1fr; }
.hl-pillars li { border-top: 1px solid var(--hair-strong); padding-top: 16px; display: grid; gap: 6px; align-content: start; }
.hl-pillars b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--bone); }
.hl-pillars span { color: var(--bone-2); font-size: 0.98rem; }
@media (min-width: 760px) { .hl-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .hl-pillars { grid-template-columns: repeat(4, 1fr); } }
.hl-note { font-size: 0.88rem; color: var(--bone-3); max-width: 44rem; }
.hl-life { margin-top: clamp(48px, 8vh, 90px); display: grid; gap: 18px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--hair); background: linear-gradient(135deg, rgba(42, 29, 20, 0.5), rgba(18, 14, 12, 0.2)); }
.hl-life p { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1.2; max-width: 28em; }
.hl-life p em { color: var(--brass); }
.hl-life nav { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.hl-cta { margin-top: clamp(32px, 5vh, 56px); display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }

/* ---- Men's health page ---- */
.mh-hero { position: relative; min-height: min(86svh, 900px); display: grid; align-items: end; overflow: hidden; isolation: isolate; background: var(--obsidian); }
.mh-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: brightness(0.82) saturate(0.95); z-index: -2; }
.mh-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11, 9, 8, 0.95) 0%, rgba(11, 9, 8, 0.72) 40%, rgba(11, 9, 8, 0.2) 75%), linear-gradient(to right, rgba(11, 9, 8, 0.7), rgba(11, 9, 8, 0) 60%); }
.mh-hero-in { padding: calc(var(--nav-h) + 80px) var(--gut) clamp(48px, 9vh, 96px); max-width: 1680px; margin-inline: auto; width: 100%; display: grid; gap: clamp(16px, 2.6vh, 28px); }
.mh-hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.9rem, 8vw, 8rem); line-height: 0.98; letter-spacing: -0.035em; max-width: 11em; }
.mh-hero h1 em { color: var(--brass); }
.mh-hero p.mh-lede { max-width: 40rem; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.5; color: var(--bone-2); }
.mh-status { font-size: 0.95rem; color: var(--bone-2); }
.mh-status b { color: var(--brass); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.78rem; margin-right: 12px; }
.mh-sec { padding: clamp(72px, 11vh, 140px) 0; border-top: 1px solid var(--hair); }
.mh-sec h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1.02; letter-spacing: -0.025em; max-width: 14em; }
.mh-sec h2 em { color: var(--brass); }
.mh-sec .mh-sub { margin-top: 18px; max-width: 38rem; color: var(--bone-2); font-size: 1.1rem; }
.mh-svcs { margin-top: clamp(36px, 6vh, 72px); display: grid; gap: 0; border-top: 1px solid var(--hair); }
.mh-svc { display: grid; gap: 14px 40px; padding: clamp(28px, 4.5vh, 48px) 0; border-bottom: 1px solid var(--hair); scroll-margin-top: calc(var(--nav-h) + 20px); }
@media (min-width: 900px) { .mh-svc { grid-template-columns: 5fr 7fr; } }
.mh-svc h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.05; }
.mh-svc .mh-tag { margin-top: 8px; color: var(--brass); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; }
.mh-svc dl { display: grid; gap: 14px; margin: 0; }
.mh-svc dt { font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bone-3); }
.mh-svc dd { margin: 3px 0 0; color: var(--bone-2); max-width: 36rem; }
.mh-steps { list-style: none; padding: 0; margin: clamp(36px, 6vh, 64px) 0 0; display: grid; gap: 0; counter-reset: s; border-top: 1px solid var(--hair); }
.mh-steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 6px 18px; padding: 24px 0; border-bottom: 1px solid var(--hair); }
.mh-steps li::before { counter-increment: s; content: counter(s); font-family: var(--serif); font-size: 1.6rem; color: var(--brass); grid-row: span 2; }
.mh-steps h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.mh-steps p { color: var(--bone-2); max-width: 36rem; }
@media (min-width: 980px) { .mh-steps { grid-template-columns: repeat(4, 1fr); } .mh-steps li { grid-template-columns: 1fr; border-bottom: 0; border-right: 1px solid var(--hair); padding-right: 24px; padding-left: 24px; } .mh-steps li:first-child { padding-left: 0; } .mh-steps li:last-child { border-right: 0; } .mh-steps li::before { grid-row: auto; } }
.mh-fine { margin-top: clamp(28px, 4vh, 48px); max-width: 46rem; font-size: 0.92rem; color: var(--bone-3); }
.mh-end { padding: clamp(80px, 14vh, 170px) 0; text-align: left; border-top: 1px solid var(--hair); }
.mh-end p.mh-line { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6.4vw, 6rem); line-height: 1; letter-spacing: -0.03em; max-width: 12em; }
.mh-end p.mh-line em { color: var(--brass); }

@media (max-width: 900px) {
  .hero-svcs { gap: 0 22px; }
  .hero-svcs li + li::before { display: none; }
}
.mh-hero .hero-cta { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }

/* Legibility: a soft dark band behind the time line and the hour switcher, and behind the nav on the Men's Health hero */
.hero-shade::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 75% 18% at 24% 27%, rgba(11, 9, 8, 0.74), rgba(11, 9, 8, 0) 100%); }
@media (max-width: 700px) { .hero-shade::after { background: radial-gradient(ellipse 120% 14% at 30% 29%, rgba(11, 9, 8, 0.66), rgba(11, 9, 8, 0) 100%); } }
.mh-hero::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 34%; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(11, 9, 8, 0.82), rgba(11, 9, 8, 0)); }
