/* Reference: Back to 30's full-width results split, adapted to Pearl's palette. */
.pearl-results{padding:0;background:#13243b;color:#fff;overflow:hidden}
.pearl-results__grid{display:grid;grid-template-columns:1.02fr 1fr;min-height:min(86vh,700px)}
.pearl-results__media{position:relative;min-width:0;display:flex;flex-direction:column;background:#13243b}
.pearl-results__compare{position:relative;flex:1;min-height:460px;overflow:hidden;isolation:isolate}
.pearl-results__after,.pearl-results__before,.pearl-results__before img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:50% 50%;pointer-events:none;user-select:none}
.pearl-results__before{clip-path:inset(0 calc(100% - var(--compare)) 0 0)}
.pearl-results__handle{position:absolute;top:0;bottom:0;left:var(--compare);width:44px;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:2}
.pearl-results__handle>span{position:absolute;inset:0 auto 0 50%;width:2px;background:#fff;box-shadow:0 0 0 1px #13243b30}
.pearl-results__handle b{position:relative;width:44px;height:44px;border-radius:50%;background:#fff;color:#13243b;display:grid;place-items:center;font:400 18px/1 Arial,sans-serif;box-shadow:0 2px 12px #0002}
.pearl-results__range{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;z-index:3;touch-action:pan-y}
.pearl-results__compare:focus-within{outline:3px solid #fff;outline-offset:-5px}
.pearl-results__tag{position:absolute;bottom:14px;padding:7px 13px;border-radius:99px;background:#13243bd9;color:#fff;font:500 11px/1.4 'Pearl Inter',Arial,sans-serif;letter-spacing:.07em;text-transform:uppercase;z-index:2;pointer-events:none}
.pearl-results__tag--before{left:14px}.pearl-results__tag--after{right:14px}
.pearl-results__panel{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:clamp(40px,6vw,100px);min-width:0}
.pearl-results__eyebrow{display:flex;align-items:center;gap:12px;font:500 11px/1.4 'Pearl Inter',Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#ffffffbf}
.pearl-results__eyebrow:before{content:'';width:24px;height:1px;background:#ffffff70}
body .pearl-results .pearl-results__panel h2{font:400 clamp(38px,4vw,64px)/1.06 'Pearl Caslon',Georgia,serif;letter-spacing:-.015em;margin:20px 0 0;color:#fff;text-wrap:balance}
.pearl-results__panel h2 em{font-weight:400;color:#fff}
.pearl-results__panel>p{font:400 17px/1.6 'Pearl Inter',Arial,sans-serif;color:#ffffffc7;max-width:36ch;margin:22px 0 0}
.pearl-results__cta{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin-top:28px;padding:14px 26px;border:1px solid #ffffff70;border-radius:99px;color:#fff;text-decoration:none;font:600 13px/1.4 'Pearl Inter',Arial,sans-serif;transition:background .2s,color .2s}
.pearl-results__cta:hover{background:#fff;color:#13243b}.pearl-results__cta:focus-visible{outline:2px solid #fff;outline-offset:5px}
.pearl-results__panel>small{font:400 11px/1.6 'Pearl Inter',Arial,sans-serif;color:#ffffffb8;margin-top:28px}
.pearl-results__media>.compare-instruction,.pearl-results__media .compare-instruction{font:400 11px/1.5 'Pearl Inter',Arial,sans-serif;color:#ffffffc7;margin:0}
.pearl-results__media>.compare-instruction{padding:15px 20px}
.pearl-results__media .compare-toolbar{margin:0;padding:7px 16px;min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#13243b}
.pearl-results__media .rail-play{min-height:44px;padding:8px 14px;border:1px solid #ffffff65;border-radius:99px;color:#fff;background:transparent;display:flex;align-items:center;gap:8px;cursor:pointer;font-size:12px}
.pearl-case-gallery{scroll-margin-top:90px}.pearl-case-gallery h2{margin:18px 0 32px}.pearl-case-gallery__grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.pearl-case-gallery figure{margin:0}.pearl-case-gallery img{display:block;width:100%;height:auto}.pearl-case-gallery figcaption{margin-top:12px;font-size:14px}.pearl-case-gallery .fine-print{margin-top:24px}
.pearl-office-tour{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,5vw,72px);align-items:start}.pearl-office-tour figure{margin:0}.pearl-office-tour img{display:block;width:100%;height:auto}.pearl-office-tour video{display:block;width:100%;max-height:700px;background:#13243b;aspect-ratio:9/16;object-fit:contain}.pearl-office-tour figcaption{font-size:13px;line-height:1.5;margin-top:14px}.pearl-office-tour__photos{display:grid;gap:28px}
@media(max-width:860px){.pearl-results__grid{grid-template-columns:1fr;min-height:0}.pearl-results__compare{min-height:0;aspect-ratio:4/3;flex:auto}.pearl-results__panel{padding:46px 24px 48px}body .pearl-results .pearl-results__panel h2{font-size:42px}.pearl-results__panel>p{font-size:16px}.pearl-case-gallery__grid{grid-template-columns:1fr;gap:30px}.pearl-office-tour{grid-template-columns:1fr}.pearl-office-tour video{max-height:620px}}
/* The approved family image replaces the background film. */
body.pearl-reference-home .pearl-family-hero{min-height:700px;height:90svh;max-height:1050px}
.pearl-family-hero .pearl-film__poster img{object-position:right center}
.pearl-family-hero .pearl-film__shade{background:linear-gradient(90deg,#13243bea 0%,#13243b99 22%,#13243b05 56%),linear-gradient(0deg,#13243bc9,transparent 45%)}
.pearl-family-hero .pearl-film__content{max-width:460px;bottom:15%;left:5%}
body.pearl-reference-home .pearl-family-hero h1{font-size:clamp(52px,4.8vw,80px);letter-spacing:-.055em}
.pearl-family-hero .pearl-film__actions{gap:20px;flex-wrap:wrap}
@media(max-width:760px){
 body.pearl-reference-home .pearl-family-hero{height:auto;min-height:0;max-height:none;padding-top:56px;padding-bottom:20px}
 .pearl-family-hero .pearl-film__poster{position:relative;display:block;inset:auto;width:100%;height:auto;aspect-ratio:1.35}
 .pearl-family-hero .pearl-film__poster img{display:block;object-position:right center}
 .pearl-family-hero .pearl-film__shade{display:none}
 .pearl-family-hero .pearl-film__content{position:relative;inset:auto;padding:24px 24px 0;max-width:none}
 body.pearl-reference-home .pearl-family-hero h1{font-size:clamp(40px,10.7vw,62px);margin-bottom:16px}
 body.pearl-reference-home .pearl-family-hero .pearl-film__eyebrow{font-size:9px!important;margin-bottom:14px!important}
 .pearl-family-hero .pearl-film__copy{margin-bottom:18px!important}
 .pearl-family-hero .pearl-film__footer{position:relative;inset:auto;margin:22px 24px 0;padding-top:14px;justify-content:space-between}
 .pearl-family-hero .pearl-film__credit{position:static;font-size:9px;opacity:.8;margin:0}
}
/* Match the measured reference footprint: 700px at 1440x900, 460px mobile image. */
.pearl-results__compare{height:100%;min-height:0}
.pearl-results__media .compare-toolbar{position:absolute;right:14px;top:14px;z-index:4;min-height:0;padding:0;background:transparent}
.pearl-results__media .compare-toolbar .compare-instruction{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.pearl-results__media .rail-play{background:#13243bd9}
.pearl-results__panel{position:relative}
body .pearl-results .pearl-results__panel h2{font-size:clamp(36px,4.7vw,76px);margin-top:12px}
.pearl-results__panel>p{font-size:clamp(18px,1.3vw,21px);line-height:1.5;margin-top:16px}
.pearl-results__cta{font-size:clamp(13px,.95vw,15px);line-height:1.62;padding:16px 30px;min-height:56px}
.pearl-results__panel>small{position:absolute;bottom:14px;left:20px;right:20px;margin:0;font-size:10px}
@media(max-width:860px){.pearl-results__media{height:460px}.pearl-results__compare{aspect-ratio:auto;height:460px}.pearl-results__panel{padding:clamp(34px,7vw,52px) 20px;min-height:calc(232.375px + 2 * clamp(34px,7vw,52px))}body .pearl-results .pearl-results__panel h2{font-size:36px}.pearl-results__panel>p{font-size:18px}.pearl-results__cta{font-size:14px}}
@media(min-width:761px){.pearl-family-hero .pearl-film__shade{background:linear-gradient(180deg,#13243b70,transparent 22%),linear-gradient(90deg,#13243bea 0%,#13243b99 22%,#13243b05 56%),linear-gradient(0deg,#13243bc9,transparent 45%)}}
/* Shared chapter gutters and compact section spacing from the reference site. */
body.pearl-reference-home[data-has-hero] .home-chapters .wrap{width:calc(100% - 80px);max-width:1280px;padding-left:0;padding-right:0;margin-left:auto;margin-right:auto}
body.pearl-reference-home[data-has-hero] .home-chapters .wrap-narrow{width:calc(100% - 80px);max-width:820px;padding-left:0;padding-right:0;margin-left:auto;margin-right:auto}
body.pearl-reference-home[data-has-hero] .home-chapters>.cmq{padding:60px 0 54px}
body.pearl-reference-home[data-has-hero] .cmq__head{padding-top:0;margin-bottom:24px}
body.pearl-reference-home[data-has-hero] .cmq__belt{position:relative;padding:12px 0;gap:18px;min-height:300px;justify-content:center}
body.pearl-reference-home[data-has-hero] .cmq__card{position:absolute;left:50%;right:auto;top:50%;transform:translate(-50%,-50%);margin:0;width:390px;padding:28px}
body.pearl-reference-home[data-has-hero] .cmq__row{width:100%}
body.pearl-reference-home[data-has-hero] .home-chapters>.care-welcome{padding-top:clamp(40px,4.4vw,64px)}
body.pearl-reference-home[data-has-hero] .care-welcome__main{padding-bottom:36px}
body.pearl-reference-home[data-has-hero] .home-chapters>.pearl-visit{padding-top:clamp(40px,4vw,58px);padding-bottom:clamp(44px,4.4vw,64px)}
body.pearl-reference-home[data-has-hero] .quiz__head{padding:0 24px;margin-bottom:32px}
body.pearl-reference-home[data-has-hero] #questions .faq-item{padding:0}
body.pearl-reference-home[data-has-hero] #questions .faq-item summary{padding:18px 0;min-height:64px}
body.pearl-reference-home[data-has-hero] #questions .faq-item__a{padding:0 36px 20px 0;margin:0;max-width:none}
body.pearl-reference-home[data-has-hero] #questions>.wrap-narrow>.txt-center{margin-bottom:28px!important}
body.pearl-reference-home[data-has-hero] .first-visit--editorial .first-visit__step{padding:20px 0}
@media(max-width:860px){
 body.pearl-reference-home[data-has-hero] .home-chapters .wrap,body.pearl-reference-home[data-has-hero] .home-chapters .wrap-narrow{width:calc(100% - 40px)}
 body.pearl-reference-home[data-has-hero] .home-chapters>.cmq{padding:36px 0 64px}
 body.pearl-reference-home[data-has-hero] .cmq__head{margin-bottom:20px}
 body.pearl-reference-home[data-has-hero] .cmq__belt{min-height:0;padding:0;gap:14px}
 body.pearl-reference-home[data-has-hero] .cmq__row{width:100%}
 body.pearl-reference-home[data-has-hero] .cmq__card{position:relative;inset:auto;transform:none;width:calc(100% - 40px);padding:24px;margin:12px auto 0}
 body.pearl-reference-home[data-has-hero] .home-chapters>.care-welcome{padding-top:26px}
 body.pearl-reference-home[data-has-hero] .care-welcome__main{padding-bottom:24px;gap:24px}
 body.pearl-reference-home[data-has-hero] .home-chapters>.section.our-story{padding-top:34px;padding-bottom:34px}
 body.pearl-reference-home[data-has-hero] .home-chapters>.pearl-visit{padding-top:40px;padding-bottom:40px}
 body.pearl-reference-home[data-has-hero] .home-chapters>.first-visit{padding-top:36px;padding-bottom:36px}
 body.pearl-reference-home[data-has-hero] .pearl-google-proof{gap:24px}
 body.pearl-reference-home[data-has-hero] .pearl-google-rating{padding:28px}
 body.pearl-reference-home[data-has-hero] .pearl-google-feature{padding-bottom:24px;margin-bottom:24px}
 body.pearl-reference-home[data-has-hero] .pearl-google-pair{gap:18px}
 body.pearl-reference-home[data-has-hero] .pearl-google-pair figure+figure{padding-top:18px}
 body.pearl-reference-home[data-has-hero] .pearl-visit__layout{gap:24px}
 body.pearl-reference-home[data-has-hero] .pearl-visit__heading{margin-bottom:24px}
 body.pearl-reference-home[data-has-hero] .first-visit--editorial .visit-layout{gap:20px}
 body.pearl-reference-home[data-has-hero] .first-visit--editorial .first-visit__step{padding:18px 0}
 body.pearl-reference-home[data-has-hero] .first-visit--editorial h2{margin:16px 0 20px}
}

/* Alternating homepage chapters: white doctor story, blue visit, white patient guide. */
body.pearl-reference-home[data-has-hero] .home-chapters>.our-story{background:#fff;color:#13243b}
body.pearl-reference-home[data-has-hero] .our-story :is(h2,.kicker,.our-story__p){color:#13243b}
body.pearl-reference-home[data-has-hero] .our-story .kicker::before{background:#13243b}
body.pearl-reference-home[data-has-hero] .our-story .btn{background:#13243b;border-color:#13243b;color:#fff}
body.pearl-reference-home[data-has-hero] .our-story .btn:hover{background:#fff;color:#13243b}
body.pearl-reference-home[data-has-hero] .home-chapters>.pearl-visit{background:#13243b;color:#fff}
body.pearl-reference-home[data-has-hero] .pearl-visit :is(h2,h3,p,.kicker,.pearl-visit__phone,.pearl-visit__hours dd small){color:#fff}
body.pearl-reference-home[data-has-hero] .pearl-visit .kicker::before{background:#fff}
body.pearl-reference-home[data-has-hero] .pearl-visit__phone{border-color:#ffffff40}
body.pearl-reference-home[data-has-hero] .pearl-visit__book{background:#fff;color:#13243b}
body.pearl-reference-home[data-has-hero] .pearl-visit a:focus-visible{outline-color:#fff}
body.pearl-reference-home[data-has-hero] .home-chapters>.first-visit{background:#fff;color:#13243b}
/* Real office photo gallery, within the existing visit section footprint. */
.office-gallery{isolation:isolate;touch-action:pan-y}
.office-gallery__slide{position:absolute;inset:0;margin:0;animation:office-photo-in .35s ease both}
.office-gallery__slide[hidden],.office-gallery__controls[hidden]{display:none}
.office-gallery .office-gallery__slide img{display:block;width:100%;height:100%;object-fit:cover;user-select:none;-webkit-user-drag:none}
.office-gallery .office-gallery__slide figcaption{padding:48px 144px 18px 24px;line-height:1.5;pointer-events:none}
.office-gallery__count{display:block;font-size:10px;letter-spacing:.12em;margin-top:4px;opacity:.8}
.office-gallery__controls{position:absolute;right:18px;bottom:18px;display:flex;gap:8px;z-index:2}
.office-gallery__controls button{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:1px solid #ffffff80;border-radius:50%;background:#13243be6;color:#fff;cursor:pointer;transition:background .2s,color .2s}
.office-gallery__controls button:hover{background:#fff;color:#13243b}
.office-gallery:focus-visible,.office-gallery__controls button:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.office-gallery .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@keyframes office-photo-in{from{opacity:.35}to{opacity:1}}
@media(max-width:760px){.office-gallery .office-gallery__slide figcaption{padding:48px 120px 16px 16px;font-size:12px}.office-gallery__controls{right:12px;bottom:16px}}
@media(prefers-reduced-motion:reduce){.office-gallery__slide{animation:none}.office-gallery__controls button{transition:none}}
