/* Photo-led editorial structure adapted from the Work Wellness site. */
:root{--well-wash:#edf5fa;--well-radius:14px;--well-shadow:0 18px 30px -18px #173c5552}
body .wrap{max-width:1480px;width:calc(100% - 160px);padding:96px 32px;margin-inline:auto}
body .center-title,body .heading{display:block;text-align:center;max-width:1050px;margin:0 auto 56px}
.heading>p,.center-title>p{margin:22px auto 0;max-width:900px}
.program-hero{height:min(850px,calc(100svh - 96px));min-height:580px}
.program-hero::after{height:24%;background:linear-gradient(180deg,transparent,#0b354e)}
.well-intro{display:flex;justify-content:center;gap:48px;padding:32px 110px 40px;background:linear-gradient(#0b354e,#164d6b);color:#fff;font-size:22px;font-weight:500}
.well-intro span+span{position:relative}.well-intro span+span:before{content:'';position:absolute;left:-24px;top:50%;width:4px;height:4px;border-radius:50%;background:#8eb5cc}
.well-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.well-photo-card{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;min-height:510px;padding:32px;border-radius:var(--well-radius);box-shadow:var(--well-shadow);color:#fff}
.well-photo-card>img,.well-step-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .8s}
.well-photo-card:before,.well-photo-steps article:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#08263d33,#08263d08 28%,#08263de8)}
.well-photo-card h3{font-size:clamp(28px,2.5vw,40px);color:#fff;margin:0 0 18px}.well-photo-card p{color:#fff;font-size:19px;line-height:1.7}.well-number{font-size:14px;letter-spacing:.15em}.well-card-link{display:inline-block;margin-top:24px;font-size:18px;border-bottom:1px solid #ffffff70;padding-bottom:8px}
.well-approach,.well-contact-band{background:linear-gradient(#fff,var(--well-wash) 18%,var(--well-wash) 82%,#fff)}
.well-split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:72px}.well-split figure{margin:0}.well-split img{display:block;width:100%;aspect-ratio:1.1;object-fit:cover;border-radius:var(--well-radius);box-shadow:var(--well-shadow)}
.well-photo-steps{gap:24px}.well-photo-steps article{position:relative;isolation:isolate;overflow:hidden;min-height:460px;display:flex;flex-direction:column;text-align:left;align-items:flex-start;margin:0;padding:32px;border-radius:var(--well-radius);background:#173d55;box-shadow:var(--well-shadow)}
.well-photo-steps article h3{margin:auto 0 18px;padding-top:120px;color:#fff;font-size:32px}.well-photo-steps article p,.well-photo-steps article b{color:#fff}.well-photo-steps article b{font-size:18px}
.well-contact-band{padding:100px 130px;text-align:center}.well-contact-band .btn{margin-top:24px}.well-contact-band p{max-width:800px;margin:24px auto}.well-contact-band .eyebrow{margin-top:0}
.wellness-detail main>.detail-hero{padding:72px 130px 64px 40px;background:linear-gradient(#fff,#f2f8fc 75%,#fff)}
.wellness-detail .well-detail-intro{display:flex;flex-direction:column;gap:48px;max-width:1320px;text-align:center}.well-detail-intro>div{max-width:1040px;margin:auto}.well-detail-intro .crumb{margin-bottom:28px}.well-detail-intro .lead{margin:24px auto 30px;max-width:850px}.well-detail-intro figure{width:100%;max-width:none}.wellness-detail .well-detail-intro figure img{width:100%;height:auto;aspect-ratio:2.5;object-fit:cover;border-radius:var(--well-radius);box-shadow:var(--well-shadow)}
.wellness-detail main>.wrap>h2,.wellness-detail .tinted>.wrap>h2,.wellness-detail main>.wrap>.eyebrow,.wellness-detail .tinted>.wrap>.eyebrow{text-align:center}
.wellness-detail .editorial{gap:64px;grid-template-columns:1fr 1fr}.wellness-detail .editorial img{border-radius:var(--well-radius)}
.wellness-detail .feature-grid article,.wellness-detail .comparison article,.wellness-detail .audience-grid article{border-radius:var(--well-radius);box-shadow:var(--well-shadow)}
.wellness-detail main>.detail-cta{display:flex;flex-direction:column;text-align:center;gap:24px;padding-inline:130px}.wellness-detail .cta-actions{width:min(100%,520px)}
@media(hover:hover){.well-photo-card:hover>img{transform:scale(1.05)}.well-photo-card:hover .well-card-link{border-bottom-color:#fff}}
@media(min-width:761px) and (max-width:1150px){body .wrap{width:calc(100% - 120px);padding-inline:20px}.well-photo-grid{gap:16px}.well-photo-card{min-height:450px;padding:24px}.well-photo-card h3{font-size:28px}.well-split{gap:34px}.well-photo-steps{grid-template-columns:1fr}.well-photo-steps article{min-height:380px}.wellness-detail .well-detail-intro figure img{aspect-ratio:1.8}.well-intro{gap:30px;font-size:18px}.well-intro span+span:before{left:-15px}}
@media(max-width:760px){body .wrap{width:100%;padding:64px 20px}.program-hero{height:calc(88svh - 76px);min-height:510px}.well-intro{padding:26px 16px 32px;gap:8px;flex-direction:column;text-align:center;font-size:18px}.well-intro span+span:before{display:none}body .center-title,body .heading{margin-bottom:36px}.well-photo-grid,.well-split{grid-template-columns:1fr;gap:24px}.well-photo-card{min-height:420px;padding:28px}.well-photo-card h3{font-size:32px}.well-photo-card p{font-size:18px}.well-photo-card img{object-position:center}.well-split{gap:34px}.well-split img{aspect-ratio:1.25}.well-split h2 br{display:none}.well-photo-steps article{min-height:420px;padding:28px}.well-contact-band{padding:72px 24px}.wellness-detail main>.detail-hero{padding:44px 20px}.wellness-detail .well-detail-intro{gap:32px}.wellness-detail .well-detail-intro figure img{aspect-ratio:1.2}.wellness-detail .editorial{grid-template-columns:1fr;gap:32px}.wellness-detail main>.detail-cta{padding:72px 24px}.well-detail-intro h1 br{display:none}.well-detail-intro h1{font-size:36px}.well-photo-steps article h3{font-size:30px}}
@media(prefers-reduced-motion:reduce){.well-photo-card>img{transition:none}.well-photo-card:hover>img{transform:none}}

.well-intro{position:relative;margin-bottom:60px}.well-intro:after{content:"";position:absolute;left:0;right:0;top:100%;height:60px;background:linear-gradient(#164d6b,#fff);pointer-events:none}.well-brand-scene .program-message h2{font-size:clamp(40px,4.8vw,76px)}
@media(max-width:760px){.well-brand-scene .program-message h2{font-size:38px;max-width:330px}.well-brand-scene .program-message p{font-size:19px}}

.well-photo-steps article b{width:auto;height:auto;border:0;border-radius:0;background:none;box-shadow:none;display:block;padding:0;line-height:1.5;color:#fff}

/* Live-site review: preserve instructional photos and phrase-level wrapping. */
.wellness-detail .well-detail-intro figure{max-width:1040px}
.wellness-detail .well-detail-intro figure img{height:auto;aspect-ratio:auto;object-fit:contain}
.mobile-copy-break{display:none}
.well-photo-card>img{object-position:center 28%}
.well-photo-steps .well-step-photo{object-position:center 30%}
@media(max-width:760px){
 .well-programs .center-title h2{font-size:clamp(27px,7.2vw,32px);line-height:1.5;letter-spacing:-.04em}
 .well-programs .title-line{display:block}.well-programs .center-title h2>br{display:none}
 .well-programs .title-line{white-space:normal;word-break:keep-all;overflow-wrap:normal}
 .mobile-copy-break{display:block}
 .well-detail-intro h1 br{display:block}.well-detail-intro h1 strong{display:block;margin-top:.15em}
 .well-detail-intro .lead br{display:none}.well-detail-intro .lead{word-break:keep-all;overflow-wrap:break-word;font-size:19px}
 .well-photo-card{min-height:400px}.well-photo-card h3{font-size:30px}
 .well-split p br{display:none}.well-split p{word-break:keep-all}
}

@media(max-width:760px){.well-programs .center-title h2{font-size:clamp(25px,6.8vw,30px)}}

/* Light, photo-led hero and quiet white slogan strip. */
.program-hero{background:#f3f7fa}
.program-hero .program-shade{background:linear-gradient(90deg,rgba(255,255,255,.18),rgba(247,251,255,.7) 35%,rgba(247,251,255,.78) 50%,rgba(247,251,255,.7) 65%,rgba(255,255,255,.18))}
.program-hero::after{height:16%;background:linear-gradient(180deg,transparent,rgba(255,255,255,.65))}
.program-hero .program-message::before{inset:-38px 0;background:radial-gradient(ellipse at center,rgba(255,255,255,.88) 0%,rgba(255,255,255,.56) 42%,rgba(255,255,255,0) 74%)}
.program-hero .program-message h2{color:#245f99;text-shadow:none}
.program-hero .program-message p{color:#303d50;font-weight:600;text-shadow:none}
.well-intro{margin-bottom:0;padding:30px 110px;background:#fff;color:#587493;font-size:20px;font-weight:400;gap:68px;line-height:1.8}
.well-intro:after{display:none}
.well-intro span+span:before{left:-34px;background:#a8bed2}
@media(max-width:760px){
 .program-hero .program-shade{background:linear-gradient(90deg,rgba(255,255,255,.3),rgba(247,251,255,.6) 50%,rgba(255,255,255,.3))}
 .program-hero .program-message::before{inset:-55px -20px;background:radial-gradient(ellipse at center,rgba(255,255,255,.94),rgba(255,255,255,.72) 46%,rgba(255,255,255,0) 76%)}
 .program-hero .program-message p{font-size:19px;line-height:1.7}
 .well-intro{padding:24px 16px;gap:5px;font-size:17px}
}

/* Shared fluid card sizing: content scales with each card, not breakpoint jumps. */
body .wrap.well-programs,body .wrap#first{width:100%;max-width:1800px;padding-inline:clamp(20px,4vw,76px)}
.well-photo-grid,.steps.well-photo-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,1.5vw,28px);align-items:stretch}
.well-photo-card,.well-photo-steps article{container-type:inline-size;min-height:0;aspect-ratio:1 / 1.15;padding:clamp(22px,2.4vw,46px);height:auto}
.well-photo-card h3,.well-photo-steps article h3{font-size:clamp(26px,8.7cqi,44px);line-height:1.4;margin-bottom:clamp(14px,4cqi,22px);word-break:keep-all;overflow-wrap:break-word}
.well-photo-card p,.well-photo-steps article p{font-size:clamp(17px,5.4cqi,23px);line-height:1.7;word-break:keep-all}
.well-photo-card p br,.well-photo-steps article p br{display:none}
.well-card-link{font-size:clamp(17px,5.5cqi,24px);margin-top:clamp(20px,7cqi,36px)}
.well-number,.well-photo-steps article b{font-size:clamp(14px,4.3cqi,19px)}
.well-photo-steps article h3{padding-top:clamp(50px,20cqi,110px)}
@media(max-width:900px){
 .well-photo-grid,.steps.well-photo-steps{grid-template-columns:1fr}
 .well-photo-card,.well-photo-steps article{aspect-ratio:1.1;min-height:0;padding:clamp(24px,6vw,46px)}
}
