/* The supplied video guides the areas around the approved 3D story.
   Deliberately no dental-stage, dental-copy or canvas overrides in this file. */
:root{--reference-blue:#2e5d91;--reference-deep:#203f68;--reference-radius:14px}
.button-light{color:#214f7c;background:#fff;border-color:#fff;box-shadow:none}
.button-light:hover{color:#173f68;background:#eaf5fc;border-color:#eaf5fc}
.button-outline{color:var(--ink);background:transparent;border-color:#a8bfd2;box-shadow:none}
.button-outline:hover{color:#174a78;background:#edf5fb;border-color:#789dbb;box-shadow:none}

/* Image-led treatment tiles, with a generous reading area beneath each model. */
.treatments{padding-block:clamp(80px,8.5vw,132px)}
.section-heading-centered{margin-bottom:48px}
.service-grid{gap:20px}
.service-card{display:flex;flex-direction:column;min-height:400px;border-radius:var(--reference-radius);border:0;background:linear-gradient(160deg,#326a9e,#244d7b)}
.service-card-number{top:22px;left:24px;font-size:.8125rem}
.service-arrow{top:16px;right:18px;width:36px;height:36px}
.service-visual{height:auto;aspect-ratio:1.25;margin:46px 8px 4px;overflow:hidden}
.service-visual img{width:100%;height:100%;max-width:100%;object-fit:contain}
.service-card-copy{padding:12px 26px 30px;margin-top:auto}
.service-card h3{font-size:clamp(20px,1.7vw,26px);line-height:1.35}
.service-card p{font-size:1rem;line-height:1.65;max-width:29ch;margin-top:12px}
.services-action{margin-top:38px;gap:18px 34px}

/* A photo and solid ink layer preserve contrast; mobile gives the photo its own row. */
.practice-intro{padding-bottom:0}
.practice-intro-panel{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);min-height:620px;border-radius:var(--reference-radius);background:var(--reference-blue)}
.practice-intro-panel>img{width:100%;height:100%;opacity:.6;filter:grayscale(1);object-position:50% 55%}
.practice-intro-panel::before{background:linear-gradient(90deg,#214c7bf5 0%,#214c7bed 30%,#214c7b91 65%,#214c7b35 100%)}
.practice-intro-copy{max-width:none;padding:clamp(36px,5.5vw,88px);padding-right:0;align-self:start;grid-column:1/3;max-width:900px}
.practice-intro-copy .eyebrow{margin-bottom:24px}
.practice-intro-copy h2{font-size:clamp(36px,4.6vw,68px);line-height:1.15;max-width:20ch}
.practice-intro-copy>p:not(.eyebrow){max-width:42ch;color:#f0f6fc;margin-top:26px}
.practice-intro-copy .button{margin-top:30px}
.practice-intro-locations{grid-column:1/-1;align-self:end;padding:20px clamp(36px,5.5vw,88px);gap:24px;background:#214c7b80;font-size:1rem}
.practice-intro-locations a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding-block:10px;border-bottom:1px solid #ffffff40}
.practice-intro-locations a:hover{border-color:white}

/* The comparison section follows the reference's text/photo split. */
.case-teaser{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:24px clamp(40px,6vw,96px);padding-block:var(--section-space);border-top:0;align-items:start}
.case-teaser>.section-heading{display:block;grid-column:1;grid-row:1;margin:0}
.case-teaser .section-intro{margin-top:24px}
.case-teaser>.case-draft-note{grid-column:1;grid-row:2;margin:0;font-size:.875rem}
.case-teaser>.case-comparison{grid-column:2;grid-row:1/4;align-self:center;width:100%;padding:24px 0;margin:0}
.case-teaser>.case-teaser-bottom{grid-column:1;grid-row:3;display:block;margin:0}
.case-teaser-bottom p{font-size:1rem;line-height:1.75}
.case-teaser-bottom .button{margin-top:24px;white-space:normal}

/* Editorial text on white, alongside the real doctor's blue portrait card. */
.team{background:#fff}
.team-grid{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);align-items:start;gap:clamp(48px,9vw,144px);padding-block:clamp(88px,9vw,144px)}
.team-copy{padding-top:12px;min-width:0}
.team-copy h2{font-size:var(--type-display)}
.team-copy>p:not(.eyebrow){max-width:42ch;margin-top:24px}
.team-copy>.button{margin-top:28px}
.team-facts{gap:0;max-width:44ch;margin-top:36px;border-top:1px solid var(--line)}
.team-facts>span{padding:15px 0;border-bottom:1px solid var(--line)}
.team-facts>span::before{display:none}
.doctor-portrait{max-width:580px;padding:12px 12px 0;background:var(--reference-blue);border-radius:var(--reference-radius)}
.doctor-portrait img{aspect-ratio:1.12;object-position:50% 30%;border-radius:7px}
.doctor-portrait figcaption{padding:24px 16px 20px}
.doctor-portrait figcaption .doctor-role{font-size:.6875rem;line-height:1.6;letter-spacing:.07em;color:#e2eef8;margin:0}
.doctor-portrait figcaption .doctor-name{font-size:clamp(21px,2vw,28px);line-height:1.45;font-weight:600;color:white;margin-top:12px}
.doctor-portrait figcaption a{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:48px;padding-block:13px;font-size:.9375rem;border-top:1px solid #ffffff3b;margin-top:22px}
.doctor-portrait figcaption a:hover{text-decoration:underline;text-underline-offset:5px}

/* The reference's blue planning panels become an honest three-step visit guide. */
.first-visit{padding-block:clamp(76px,7.5vw,120px);background:#f3f7fb;border-radius:var(--reference-radius)}
.visit-steps{gap:20px}
.visit-steps article{display:flex;flex-direction:column;align-items:flex-start;padding:32px;border:0;border-radius:var(--reference-radius);background:var(--reference-blue);color:#fff}
.visit-steps article:nth-child(2){background:#285683}
.visit-steps article:nth-child(3){background:#224b78}
.visit-steps .step-number{width:44px;height:44px;border-color:#ffffff60;color:white;background:transparent;margin-bottom:30px;font-size:.875rem;flex-shrink:0}
.visit-steps h3{font-size:clamp(22px,2vw,28px);line-height:1.4;margin-bottom:16px}
.visit-steps p{color:#e7f1f9;font-size:1.125rem;line-height:1.75;margin-bottom:28px}
.visit-steps .text-link{color:white;font-size:.9375rem;margin-top:auto;border-color:#ffffff80;gap:12px}
.visit-steps .text-link:hover{border-color:white}
.home-questions{padding-block:clamp(80px,8.5vw,132px);border-top:0;align-items:start}
.home-questions .patient-questions summary{padding-block:26px}
.home-questions .patient-questions summary>span{width:36px;height:36px;background:#eaf2f8}
.home-questions .patient-questions p{max-width:52ch;padding-right:18px}

/* Real practice photos, distinct address and contact rows, direct booking. */
.locations{background:#f3f7fb;border-top:0;border-radius:var(--reference-radius) var(--reference-radius) 0 0}
.practice-tabs{border:0;padding:0;gap:12px;background:none;border-radius:0;margin-bottom:24px}
.practice-tabs button{min-height:58px;border-radius:999px;background:white;border:1px solid #d3e0ea}
.practice-tabs button[aria-selected=true]{background:var(--reference-blue);color:white;border-color:var(--reference-blue);box-shadow:none}
.practice-tabs button:hover:not([aria-selected=true]){background:#e6f0f8}
.practice-panel{display:block;padding:0;border-radius:var(--reference-radius);border:1px solid #d9e5ee;overflow:hidden;box-shadow:none}
.practice-panel.has-photo{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:0}
.practice-panel-image{position:relative;min-width:0;min-height:400px;background:#dce8f0}
.practice-panel-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.practice-panel-image figcaption{position:absolute;bottom:0;left:0;right:0;padding:16px 24px;font-size:.875rem;background:var(--reference-blue);color:white}
.practice-panel-details{padding:clamp(28px,4vw,60px);min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
.practice-address h3{font-size:clamp(30px,3vw,42px);margin-top:10px}
.practice-note{font-size:1rem;line-height:1.6}
.practice-address address{font-size:1.125rem;line-height:1.75;margin-top:20px}
.practice-panel .practice-contact{border-left:0;border-top:1px solid var(--line);padding:26px 0 0}
.practice-panel .phone-number{font-size:clamp(24px,2.5vw,34px)}
.practice-panel .practice-more{gap:10px;font-size:.9375rem;line-height:1.5;margin-top:10px}
.practice-panel .email-link{font-size:1rem}
.practice-panel .button{margin-top:22px}
.urgent-help{background:transparent;border:0;border-top:1px solid #ccdce8;border-radius:0;padding:30px 0 0;margin-top:34px}
.urgent-help h3{font-size:1.25rem}
.urgent-help p{font-size:1rem}

/* The same visual language finishes every page. */
.footer{max-width:none;padding:0;background:var(--reference-blue)}
.footer-invitation{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.65fr);gap:60px;align-items:center;padding-block:76px;border-bottom:1px solid #ffffff35}
.footer-invitation .eyebrow{color:#e0edf8;margin-bottom:20px}
.footer-invitation h2{font-size:clamp(36px,4.4vw,64px);line-height:1.18}
.footer-invitation p:not(.eyebrow){font-size:1.125rem;line-height:1.75;max-width:32ch;color:#e7f1f9}
.footer-invitation .button{margin-top:26px}
.footer-grid{display:grid;grid-template-columns:minmax(0,1.2fr) repeat(2,minmax(0,1fr));gap:64px;padding-block:56px}
.footer-brand-block>p{font-size:1rem;line-height:1.75;margin-top:22px;color:#e2edf7}
.footer-brand-block .back-top{justify-content:flex-start;width:fit-content;margin-top:22px}
.footer-column{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.footer-column h3{font-size:1rem;font-weight:600;margin:0 0 18px;color:#fff}
.footer-column .text-link{border:0;margin:0;padding-block:10px;min-height:44px;font-size:.9375rem;gap:14px;color:#e2edf7}
.footer .footer-bottom{padding-block:20px;margin:0}
.footer a:focus-visible,.visit-steps a:focus-visible,.practice-intro a:focus-visible,.doctor-portrait a:focus-visible{outline-color:#fff}

/* Detail pages use the reference's quieter pale surfaces and blue accents. */
.detail-hero{padding-bottom:clamp(44px,5vw,76px)}
.detail-heading{padding-top:12px}
.consultation-panel,.contact-panel{background:#edf4fa;border:0;border-radius:var(--reference-radius)}
.location-card{background:#f3f7fb;border:1px solid #e0eaf2;border-radius:var(--reference-radius)}
.profile-feature{border-radius:var(--reference-radius);background:#f3f7fb;overflow:hidden}
.profile-feature{gap:20px}
.profile-feature>div{padding:28px}
.directory-item{padding-block:28px}
.directory-item>span:last-child{display:grid;place-items:center;border:1px solid #cbdde9;border-radius:50%;width:44px;height:44px;flex-shrink:0}

@media(max-width:1100px){
 .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .service-card{min-height:0}
 .service-visual{aspect-ratio:1.5}
 .practice-intro-panel{min-height:560px}
 .team-grid{gap:48px}
 .visit-steps article{padding:26px}
 .visit-steps h3{font-size:1.375rem}
 .footer-grid{gap:36px}
}
@media(max-width:760px){
 .treatments{padding-block:76px}
 .section-heading-centered{margin-bottom:34px}
 .service-grid{grid-template-columns:minmax(0,1fr);gap:20px}
 .service-card{display:flex;min-height:0;border-radius:14px}
 .service-visual{aspect-ratio:1.55;margin:42px 16px 0;height:auto;max-height:280px}
 .service-card-copy{padding:16px 26px 28px}
 .service-card h3{font-size:1.5rem;line-height:1.35}
 .service-card p{font-size:1.125rem;line-height:1.65;max-width:none;margin-top:10px}
 .service-visual img{width:100%;height:100%;max-width:100%}
 .sleep-symbol{width:100px}
 .service-card-number{top:18px;left:24px}
 .service-arrow{top:14px;right:18px}
 .services-action{align-items:stretch;flex-direction:column;gap:8px;margin-top:30px}
 .services-action .button{width:100%}
 .services-action .text-link{align-self:center}
 .practice-intro-panel{display:flex;flex-direction:column;min-height:0;border-radius:14px}
 .practice-intro-panel>img{position:relative;inset:auto;z-index:auto;width:100%;height:auto;aspect-ratio:1.4;opacity:1;filter:none;object-position:50% 50%;order:0}
 .practice-intro-panel::before{display:none}
 .practice-intro-copy{padding:32px 26px 36px;order:1;width:100%}
 .practice-intro-copy h2{font-size:clamp(30px,7.5vw,42px);line-height:1.2}
 .practice-intro-copy .eyebrow{font-size:.6875rem;margin-bottom:18px}
 .practice-intro-copy>p:not(.eyebrow){margin-top:22px;max-width:none}
 .practice-intro-copy .button{width:100%;font-size:.9375rem;padding-inline:18px;gap:14px;margin-top:26px}
 .practice-intro-locations{order:2;align-self:stretch;padding:14px 26px 24px;gap:0 20px;background:#214c7b55;font-size:.9375rem}
 .practice-intro-locations a{gap:8px;min-height:54px}
 .case-teaser{display:flex;flex-direction:column;gap:24px;padding-block:68px}
 .case-teaser>.case-comparison{padding:24px 0 0}
 .case-teaser>.case-teaser-bottom{width:100%}
 .team-grid{grid-template-columns:minmax(0,1fr);padding-block:76px;gap:36px}
 .team-copy{padding:0}
 .team-copy>p:not(.eyebrow){max-width:none;margin-top:22px}
 .team-copy>.button{margin-top:24px}
 .team-facts{margin-top:28px;font-size:1rem}
 .doctor-portrait{width:100%;max-width:540px;justify-self:center;padding:10px 10px 0}
 .doctor-portrait img{aspect-ratio:1.15}
 .doctor-portrait figcaption{padding:22px 14px 18px}
 .doctor-portrait figcaption .doctor-name{font-size:1.375rem}
 .first-visit{padding-block:68px;border-radius:0}
 .visit-steps{gap:16px}
 .visit-steps article{display:flex;padding:28px 26px}
 .visit-steps .step-number{margin-bottom:26px}
 .visit-steps h3{font-size:1.5rem;margin-bottom:14px}
 .visit-steps p{margin-bottom:22px;line-height:1.75}
 .home-questions{padding-block:76px;gap:30px}
 .home-questions .patient-questions summary{font-size:1.125rem;gap:16px;padding-block:24px}
 .home-questions .patient-questions p{padding-right:0}
 .locations{border-radius:0;padding-block:68px}
 .practice-tabs{gap:10px;margin-bottom:20px}
 .practice-tabs button{font-size:.9375rem;min-height:52px;padding:12px}
 .practice-panel.has-photo{grid-template-columns:minmax(0,1fr)}
 .practice-panel-image{min-height:0}
 .practice-panel-image img{position:static;height:auto;aspect-ratio:1.45;max-height:360px}
 .practice-panel-image figcaption{position:static;padding:12px 24px}
 .practice-panel-details{padding:30px 24px;gap:26px}
 .practice-panel .practice-contact{padding-top:24px}
 .practice-panel .phone-number{font-size:1.75rem}
 .practice-panel .button{width:100%;padding-inline:18px;gap:12px}
 .urgent-help{padding-top:26px;margin-top:28px}
 .footer-invitation{grid-template-columns:minmax(0,1fr);padding-block:56px;gap:26px}
 .footer-invitation h2{font-size:clamp(34px,9vw,48px)}
 .footer-invitation p:not(.eyebrow){max-width:none}
 .footer-invitation .button{width:100%;margin-top:24px}
 .footer-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px 20px;padding-block:40px}
 .footer-brand-block{grid-column:1/-1}
 .footer-column h3{font-size:.9375rem;margin-bottom:14px}
 .footer-column .text-link{font-size:.875rem;gap:8px;min-width:0;max-width:100%}
 .footer-column .text-link>span{display:none}
 .footer .footer-bottom{padding-block:24px}
 .profile-feature>div{padding:24px}
}
@media(prefers-reduced-motion:reduce){
 .service-card,.service-visual img{transition:none}
 .service-card:hover,.service-card:hover img{transform:none}
}
