/* Integration refinements preserve the supplied patient composition. */
/* Responsive polish: preserve the existing desktop composition and media sizing. */
@media(max-width:760px){
 body.modern :is(#meet .copy,#lower-back .copy,#stories .ps-story-copy,#contact .contact-copy)>p:not(.eyebrow):not(.ps-disclaimer),body.modern #treatment :is(.jl-intro,.care-card p){font-size:clamp(16px,calc(14.2px + .5vw),18px)!important}
 body.modern :is(#meet,#lower-back,#treatment,#stories,#visit,#answers,#contact) h2{text-wrap:balance}
 #stories .ps-quotation{flex-wrap:wrap;row-gap:8px}
}
@media(max-width:680px){
 #treatment .jl-cards{grid-template-columns:1fr;gap:46px}
 #treatment .care-card{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:min-content 1fr;column-gap:20px;align-content:start}
 #treatment .care-card>img{grid-column:1;grid-row:1/3;aspect-ratio:1.25;height:auto;align-self:start}
 #treatment .care-card h3{grid-column:2;margin:0 0 10px}
 #treatment .care-card p{grid-column:2}
 #treatment .care-fit-label{position:absolute;top:-34px;right:0}
 #treatment .care-card::before{display:block}
 #treatment .jl-cards::before{display:none}
 #treatment .jl-transition{height:36px}
}
@media(min-width:761px) and (max-width:1100px){
 #difference#difference .feature-panel:not([hidden]){height:max(350px,calc((100vw - 48px) * .53 * 427.7 / 768 + 44px))!important;min-height:0!important;grid-template-rows:1fr!important}
 /* Match the existing desktop/phone peripheral fade in the tablet gap. */
 #difference#difference #feature-panel-1 .studio-visual{mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent),linear-gradient(transparent,#000 5%,#000 88%,transparent),radial-gradient(ellipse 12% 20% at 0 100%,transparent 65%,#000 100%),radial-gradient(ellipse 12% 20% at 100% 100%,transparent 65%,#000 100%)!important;mask-composite:intersect!important}
}
@media(min-width:761px) and (max-width:900px){
 body.modern #answers>.qa-pdf-layout{display:block}
 body.modern #answers .qa-opening-copy{margin-bottom:28px;max-width:60ch}
 body.modern #answers .qa-opening-copy h2 br{display:none}
 body.modern #answers .qa-description{max-width:60ch}
}
@media(max-width:360px){
 #treatment #fusion-approaches .jl-view-controls button{min-width:0;white-space:normal;overflow-wrap:anywhere;padding-inline:7px}
}

/* Meet Zenfuze: aligned alpha from the matching anatomy removes exterior backdrop.
   The outer contour excludes stray peripheral alpha; source RGB and internal shading stay intact. */
#meet .anatomy-main{
 -webkit-mask-image:linear-gradient(to right,transparent,#000 5%,#000 96%,transparent),linear-gradient(to bottom,transparent,#000 5%,#000 94%,transparent),url('/patient-baseline-preview/dd-originals/bilateral-approved-oct6-delivery.webp'),url('/patient-baseline-preview/meet-contour-mask.svg');
 mask-image:linear-gradient(to right,transparent,#000 5%,#000 96%,transparent),linear-gradient(to bottom,transparent,#000 5%,#000 94%,transparent),url('/patient-baseline-preview/dd-originals/bilateral-approved-oct6-delivery.webp'),url('/patient-baseline-preview/meet-contour-mask.svg');
 -webkit-mask-composite:source-in;
 mask-composite:intersect;
 mask-size:100% 100%,100% 100%,177.84% 173.55%,100% 100%;
 mask-position:center,center,51.4% 22.1%,center;
 mask-repeat:no-repeat;
}

/* All four tabs share one visible media frame; preserve the approved spine framing. */
#difference#difference :is(#feature-panel-0,#feature-panel-1,#feature-panel-2,#feature-panel-3) .studio-visual{
 height:427.7px!important;aspect-ratio:auto!important;container-type:inline-size!important;
 transform:translateY(-14px)!important;overflow:hidden!important;
}
#difference#difference #feature-panel-2 .studio-visual{overflow:visible!important;mask-image:none!important}
#difference#difference #feature-panel-2 .animation-stage{inset:0!important;width:100%!important;height:100%!important}
#difference#difference #feature-panel-2 .dd-motion-controls{bottom:-40px!important}
#difference#difference #feature-panel-0 .studio-visual{overflow:hidden!important}
#difference#difference #feature-panel-0 .dd-foreground{width:100%!important;height:100%!important;left:0!important;top:0!important;object-fit:contain!important;transform:none!important}
@media(max-width:1100px){
 #difference#difference :is(#feature-panel-0,#feature-panel-1,#feature-panel-2,#feature-panel-3) .studio-visual{height:auto!important;aspect-ratio:768/427.7!important}
 #difference#difference #feature-panel-3 .dd-foreground{width:98.2%!important;height:auto!important;left:5.9%!important;top:-6.35cqw!important;object-fit:contain!important}
}
/* Reserve the same responsive media/control row in every stacked tab. */
@media(max-width:760px){
 #difference#difference .feature-panel:not([hidden]){grid-template-rows:calc((100vw - 40px) * 427.7 / 768 + 56px) 192px!important;height:calc((100vw - 40px) * 427.7 / 768 + 264px)!important;min-height:calc((100vw - 40px) * 427.7 / 768 + 264px)!important}
}
@media(max-width:360px){
 #difference#difference .feature-panel:not([hidden]){grid-template-rows:calc((100vw - 40px) * 427.7 / 768 + 56px) 242px!important;height:calc((100vw - 40px) * 427.7 / 768 + 314px)!important;min-height:calc((100vw - 40px) * 427.7 / 768 + 314px)!important}
}

/* Narrow the desktop photo wash without changing the text field or mobile hero. */
@media(min-width:1101px){
 body.modern #top.hero::after{background:linear-gradient(90deg,var(--zt-color-soft) 0%,var(--zt-color-soft) 29%,rgba(246,249,250,.96) 35%,rgba(246,249,250,.45) 42%,rgba(246,249,250,0) 52%)!important}
}
@media(min-width:761px) and (max-width:1100px){
 body.modern #top.hero::after{background:linear-gradient(90deg,var(--zt-color-soft) 0%,var(--zt-color-soft) 35%,rgba(246,249,250,.6) 45%,rgba(246,249,250,0) 54%)!important}
}

/* Tablet journey opening: readable full-width copy beneath the existing heading. */
@media(min-width:761px) and (max-width:920px){
 #treatment .jl-journey{gap:36px}
 #treatment .jl-journey>header{display:block}
 #treatment .jl-journey>header>.jl-intro{max-width:60ch;margin-top:18px;padding-top:0}
}

/* Scoped optical refinements: preserve typography, copy alignment and source artwork. */
#difference#difference #feature-panel-0 .dd-foreground{width:108%!important;height:108%!important;left:-4%!important;top:-4%!important}
@media(min-width:1101px) and (max-width:1439px){
 #difference#difference :is(#feature-panel-0,#feature-panel-1,#feature-panel-2,#feature-panel-3) .studio-visual{height:clamp(310.5px,calc(34.4706vw - 68.6765px),427.7px)!important;transform:translateY(calc((100vw - 1100px)*-.041176))!important}
 #difference#difference .feature-panel:not([hidden]){height:clamp(354.5px,calc(28.0882vw + 45.5294px),450px)!important;min-height:clamp(354.5px,calc(28.0882vw + 45.5294px),450px)!important;grid-template-rows:1fr!important}
 #difference#difference #feature-panel-3 .dd-foreground{width:clamp(85.728%,calc(98.2% - (100vw - 1100px)*.2817),98.2%)!important;height:auto!important;left:calc(5.9% + (100vw - 1100px)*.16344)!important;top:calc(-6.35cqw - (100vw - 1100px)*.182)!important}
}
@media(max-width:1100px){
 #difference#difference :is(#feature-panel-0,#feature-panel-1,#feature-panel-2,#feature-panel-3) .studio-visual{transform:none!important}
}
@media(max-width:760px){
 #difference#difference :is(#feature-panel-0,#feature-panel-1,#feature-panel-2,#feature-panel-3) .studio-visual{width:min(100%,539px)!important;justify-self:center!important}
 #difference#difference .feature-panel:not([hidden]){grid-template-rows:calc(min((100vw - 40px) * 427.7 / 768,300.17px) + 56px) 192px!important;height:calc(min((100vw - 40px) * 427.7 / 768,300.17px) + 264px)!important;min-height:calc(min((100vw - 40px) * 427.7 / 768,300.17px) + 264px)!important}
 #difference#difference .tablist button[aria-selected=true]{background:#accddb14!important;box-shadow:inset 0 -2px #b9dce9!important}
}
@media(max-width:360px){
 #difference#difference .feature-panel:not([hidden]){grid-template-rows:calc((100vw - 40px) * 427.7 / 768 + 56px) 242px!important;height:calc((100vw - 40px) * 427.7 / 768 + 314px)!important;min-height:calc((100vw - 40px) * 427.7 / 768 + 314px)!important}
}
/* Approved tablet journey: wider explanations, with the reviewed height tradeoff. */
@media(min-width:681px) and (max-width:920px){
 body.modern #treatment .jl-cards{grid-template-columns:1fr;gap:34px;margin-top:10px}
 body.modern #treatment .care-card{display:grid;grid-template-columns:170px minmax(0,1fr);column-gap:26px;grid-template-rows:auto 1fr;padding-top:20px;border-top:1px solid #c8dfe7}
 body.modern #treatment .care-card>img{grid-column:1;grid-row:1/3;aspect-ratio:1.7;height:auto}
 body.modern #treatment .care-card h3{grid-column:2;margin:0 0 8px;min-height:0}
 body.modern #treatment .care-card p{grid-column:2;max-width:48ch}
 body.modern #treatment .care-number{top:0;transform:translateY(-50%);background:#f2f7fa;padding-right:10px}
 body.modern #treatment .care-card::before{display:none}
 body.modern #treatment .care-fit-label{top:-12px}
 body.modern #treatment #fusion-approaches .fusion-showcase{max-width:600px;margin-inline:auto}
}

/* Approved narrow-phone journey: complete paragraphs below each image/heading row. */
@media(max-width:360px){
 body.modern #treatment .jl-path{padding-left:0}
 body.modern #treatment .jl-cards{gap:42px;margin-inline:0;padding-left:0;border-left:0}
 body.modern #treatment .care-card{grid-template-columns:88px minmax(0,1fr);gap:14px 20px}
 body.modern #treatment .care-card>img{grid-row:1;aspect-ratio:1.25}
 body.modern #treatment .care-card h3{grid-row:1;align-self:center;margin:0;min-height:0}
 body.modern #treatment .care-card p{grid-column:1/-1;grid-row:2;max-width:none}
 body.modern #treatment .jl-cards::before{display:none}
}

/* Feather the torso's cropped edge without softening the incision detail. */
#difference#difference #feature-panel-3 .studio-visual{mask-image:linear-gradient(transparent,#000 18px,#000 calc(100% - 14px),transparent)!important}
@media(min-width:1101px) and (max-width:1439px){
 #difference#difference #feature-panel-1 .studio-visual{mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent),linear-gradient(transparent,#000 5%,#000 88%,transparent),radial-gradient(ellipse 22% 25% at 0 100%,transparent 65%,#000 100%),radial-gradient(ellipse 22% 25% at 100% 100%,transparent 65%,#000 100%)!important;mask-composite:intersect!important}
}


/* Selective approved visual refinements — 16 October 2026. */
body.modern #top .hero-copy>p:not(.eyebrow){max-width:470px!important;font-size:19px!important;line-height:1.65!important}
body.modern #contact{background:#eaf1f4!important;color:#3d566a!important;padding:76px 0!important}
body.modern #contact h2{color:#10364f!important;font-size:52px!important}
body.modern #contact h2 em{color:#067e93!important}
body.modern #contact .eyebrow,body.modern #contact .contact-copy>p,body.modern #contact .contact-email{color:#3d6176!important}
body.modern #contact .contact-box{grid-template-columns:.78fr 1.22fr!important;gap:80px!important;align-items:start!important}
body.modern #contact-form{background:#fff!important;padding:32px!important;border:1px solid #cfdee6!important;border-radius:8px!important;box-shadow:0 12px 35px #0b2d4206!important}
body.modern #contact-form .field{font:500 13px/1.5 Inter,Arial,sans-serif!important;color:#3d566a!important;display:block!important;margin-bottom:8px!important}
body.modern #contact-form :is(input,select,textarea){background:#fafcfc!important;border:1px solid #c4d8e2!important;border-radius:4px!important;min-height:48px!important;font-size:15px!important;color:#10364f!important}
body.modern #contact .inquiry-review-action{margin:26px -32px -32px;padding:24px 32px;background:#f4f8f9;border-top:1px solid #d6e3e8;display:flex;align-items:center;gap:24px}
body.modern #contact .inquiry-review-action p{font:400 14px/1.65 Inter,Arial,sans-serif!important;margin:0!important;padding:0!important;border:0!important;color:#456275!important;flex:1}
body.modern #contact .inquiry-review-action button{flex:none!important;width:auto!important;min-height:48px!important;border-radius:50px!important;padding:12px 22px!important;font:500 13px/1.5 Inter,Arial,sans-serif!important;background:#0b2d42!important;color:#fff!important;gap:18px!important}
@media(max-width:1100px){
body.modern #contact .contact-box{gap:40px!important;grid-template-columns:.8fr 1.2fr!important}
body.modern #contact .inquiry-review-action{display:block}
body.modern #contact .inquiry-review-action button{margin-top:18px!important}
}
@media(max-width:900px){
body.modern #contact .contact-box{grid-template-columns:1fr!important;gap:32px!important}
body.modern #contact .contact-copy{display:block!important;max-width:590px}
body.modern #contact .contact-copy h2 br{display:none}
body.modern #contact .contact-copy>p{margin-top:18px!important}
body.modern #contact .inquiry-review-action{display:flex}
body.modern #contact .inquiry-review-action button{margin-top:0!important}
}
@media(max-width:760px){
body.modern #contact{padding:48px 0!important}
body.modern #contact h2{font-size:42px!important}
body.modern #contact-form{padding:24px!important}
body.modern #contact .inquiry-review-action{display:block;margin:24px -24px -24px;padding:24px}
body.modern #contact .inquiry-review-action button{margin-top:18px!important}
}
@media(max-width:600px){
body.modern #top .hero-copy>p:not(.eyebrow){font-size:17px!important}
}
/* Approved audit corrections: preserve mobile sizing and all guide behavior. */
@media(min-width:761px){
 body.modern #visit.vg30 .vg-actions .btn.primary{min-height:44px!important}
}
body.modern #contact .form-note{color:#5c7384}

/* Approved Guidelines fix: darken only the audited small teal text roles. */
body.modern #treatment .jl-journey>header>.jl-eyebrow,
body.modern #treatment #fusion-approaches>.jl-bridge,
body.modern #answers .qa-opening-copy .eyebrow{color:#06758a}


/* Approved lower-page rhythm: pale appointment, white FAQ, muted-blue contact. */
body.modern #answers.qa-section{background:#ffffff!important}
body.modern #contact.contact{background:#d9e7ee!important}

/* Patient hero: user-requested no-fade baseline at every viewport. Geometry unchanged. */
body.modern #top .hero-art{-webkit-mask-image:none!important;mask-image:none!important;opacity:1!important}
body.modern #top.hero::after{display:none!important;background:none!important}

/* Approved full-width desktop photo baseline; no fade or layout tightening. */
@media(min-width:901px){
 body.modern #top .hero-art{width:100%!important;object-position:center 30%!important}
}
/* V2 phone crop keeps both hikers inside the unchanged image frame. */
@media(max-width:680px){body.modern #top .hero-art{object-position:90% center!important}}
/* V2 readability: localized navy scrim, easing away before the subjects. */
@media(min-width:901px){
 body.modern #top.hero::after{display:block!important;background:linear-gradient(90deg,rgba(9,32,48,.90) 0%,rgba(9,32,48,.86) 18%,rgba(9,32,48,.76) 31%,rgba(9,32,48,.52) 42%,rgba(9,32,48,.20) 52%,rgba(9,32,48,.04) 60%,transparent 67%)!important}
 body.modern #top .hero-copy h1{color:#f8fbfd!important}
 body.modern #top .hero-copy h1 em{color:#a9dce2!important}
 body.modern #top .hero-copy>p{color:#e6eef3!important}
 body.modern #top .hero-copy .eyebrow{color:#b7dce3!important}
 body.modern #top .hero-copy .eyebrow span{background:#b7dce3!important}
 body.modern #top .hero-copy .btn.primary{background:#f4f9fb!important;color:#15384d!important;border-color:#f4f9fb!important}
 body.modern #top .hero-copy .btn.primary:hover{background:#dceef2!important}
 body.modern #top .hero-copy .text-link{color:#f4f9fb!important}
 body.modern #top .hero-copy a:focus-visible{outline:3px solid #b8e8ee;outline-offset:5px}
}
