/* Decorative photography: opaque fallbacks preserve contrast without blur. */
/* Small physician portraits float above a separate pool of teal light. */
.doctor-portrait{position:relative;display:block;flex:0 0 108px;width:108px;height:108px;isolation:isolate}
.doctor-portrait:after{content:'';position:absolute;z-index:-1;left:12%;right:12%;bottom:-12px;height:17px;border-radius:50%;background:radial-gradient(ellipse,#08747f99 0%,#41bfc273 40%,#71d8d900 75%);filter:blur(5px);opacity:var(--doctor-shadow-opacity,.75);transform:scale(var(--doctor-shadow-scale,1));pointer-events:none}
.doctor-portrait .doctor-avatar{width:100%;height:100%;border:4px solid #fff;box-shadow:0 0 0 1px #79c7cb,0 var(--doctor-shadow-y,7px) var(--doctor-shadow-blur,19px) -6px #08747f86,0 0 var(--doctor-glow-blur,22px) #58cdd48c;position:relative;z-index:1;transform-origin:75% top;transform:translateY(var(--doctor-lift,0px)) scale(var(--doctor-scale,1))}
@media(prefers-reduced-motion:no-preference){.doctor-portrait.is-floating .doctor-avatar{will-change:transform}}
@media(max-width:900px){.doctor-portrait{flex-basis:88px;width:88px;height:88px}}
@media(max-width:440px){.doctor-portrait{flex-basis:80px;width:80px;height:80px}.doctor-heading{gap:18px}}
@media(max-width:359px){.doctor-portrait{flex-basis:68px;width:68px;height:68px}.doctor-heading{gap:14px}}
@media print{.doctor-portrait .doctor-avatar{transform:none;box-shadow:none}.doctor-portrait:after{display:none}}
.care-section,.photo-approach{position:relative;isolation:isolate;overflow:hidden}
.section-photo{position:absolute;inset:0;z-index:-2;display:block;pointer-events:none}
.section-photo img{display:block;width:100%;height:100%;object-fit:cover}
.care-section{background:#eef5f7}
.care-photo img{object-position:center 50%;filter:saturate(.72) contrast(1.04)}
.care-section:before,.photo-approach:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none}
.care-section:before{background:linear-gradient(130deg,rgba(247,251,253,.88),rgba(238,247,250,.62) 60%,rgba(225,240,244,.56))}
.care-section .section-heading>p{color:#284553}
.care-section .care-card{background:#f9fcfb;border-color:#fff;box-shadow:0 16px 40px -24px #17384b40}
.care-section .care-card.featured{background:#123342;border-color:#63868d70}
.care-section .care-card:hover{box-shadow:0 22px 45px -20px #17384b50}
.photo-approach{padding-block:88px;background:#102d40;color:#fff}
.approach-photo img{object-position:center 63%;filter:saturate(.7)}
.photo-approach:before{background:linear-gradient(100deg,rgba(10,34,49,.91) 0%,rgba(10,34,49,.78) 42%,rgba(10,34,49,.48) 100%)}
.photo-approach .approach-grid{gap:70px;min-height:275px}
.photo-approach .eyebrow,.photo-approach h2 em{color:#a8eceb}
.photo-approach h2{font-size:clamp(2.2rem,3.5vw,3.35rem);line-height:1.17}
.photo-approach .approach-accent{background:#73bfc2;width:4px;opacity:.75}
.approach-glass{padding:34px 36px;border:1px solid #e6ffff38;border-radius:16px;background:#173b4b;box-shadow:0 18px 40px #061b2726,inset 0 1px #ffffff12}
.photo-approach .approach-lead{font-size:1.8rem;color:#fff}
.photo-approach .approach-lead+p{color:#e4eef2}
.photo-approach .approach-points{color:#e4f5f5;gap:12px 18px}
.photo-approach .approach-points>span{border-color:#88d2d4}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
 .care-section .care-card{background:rgba(255,255,255,.88);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
 .care-section .care-card.featured{background:rgba(16,45,64,.94)}
 .approach-glass{background:rgba(18,49,66,.73);backdrop-filter:blur(16px) saturate(115%);-webkit-backdrop-filter:blur(16px) saturate(115%)}
}
@media(max-width:900px){.photo-approach .approach-grid{gap:32px}.approach-glass{padding:28px}.photo-approach{padding-block:64px}}
@media(max-width:680px){
 .care-photo{height:min(100%,1100px)}
 .care-section:before{background:linear-gradient(180deg,rgba(246,251,253,.77),rgba(236,246,249,.65) 550px,#eef5f7 1100px)}
 .photo-approach{padding-block:56px}
 .photo-approach .approach-grid{gap:30px}
 .approach-photo img{object-position:57% center}
 .photo-approach:before{background:linear-gradient(180deg,rgba(10,34,49,.87),rgba(10,34,49,.60))}
 .photo-approach h2{font-size:clamp(1.8rem,8.3vw,2.3rem)}
 .approach-glass{padding:26px 24px;border-radius:12px}
 .photo-approach .approach-lead{font-size:1.7rem}
}
@media(prefers-reduced-transparency:reduce){.care-section .care-card{background:#f9fcfb;backdrop-filter:none;-webkit-backdrop-filter:none}.care-section .care-card.featured{background:#123342}.approach-glass{background:#173b4b;backdrop-filter:none;-webkit-backdrop-filter:none}}
@media print{.section-photo,.care-section:before,.photo-approach:before{display:none}.care-section,.photo-approach{background:#fff;color:#17384b}.photo-approach .eyebrow,.photo-approach h2 em,.photo-approach .approach-lead,.photo-approach .approach-lead+p,.photo-approach .approach-points{color:#17384b}.approach-glass{background:#fff;border:1px solid #d4e1e7;box-shadow:none}}

/* Real practice photography sits beside the visit details, with text kept off the images. */
.practice-gallery{margin-top:34px;padding:28px;border:1px solid #dfe9eb;border-radius:15px;background:linear-gradient(145deg,#f8fbfb,#eef5f6);box-shadow:0 18px 48px -38px #102d4052}
.practice-gallery-intro{display:flex;align-items:end;justify-content:space-between;gap:24px;margin:0 2px 22px}
.practice-gallery-intro .eyebrow{margin-bottom:8px;color:#1d7780}
.practice-gallery-intro h3{font-family:var(--serif);font-weight:400;font-size:clamp(1.6rem,2.7vw,2.15rem);line-height:1.16;color:#163746}
.practice-gallery-intro>p{max-width:300px;color:#49636e;font-size:.9rem;line-height:1.6;text-align:right}
.practice-gallery-grid{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 36px)/3);gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#9bb9c0 transparent;padding-bottom:9px}
.practice-gallery figure{min-width:0;margin:0;overflow:hidden;border:1px solid #e2ecee;border-radius:11px;background:#fff;box-shadow:0 12px 30px -25px #0c334a66}
.practice-gallery .photo-open{display:block;width:100%;height:100%;padding:0;border:0;background:#fff;color:inherit;font:inherit;text-align:left;cursor:zoom-in}
.practice-gallery .photo-open:focus-visible{outline:3px solid #1d7780;outline-offset:-3px}
.practice-gallery-grid figure{scroll-snap-align:start}
.practice-gallery img{display:block;width:100%;height:clamp(210px,21vw,285px);object-fit:cover;object-position:center 55%;transition:transform .55s ease}
.practice-gallery figure:hover img{transform:scale(1.025)}
.practice-gallery figcaption{display:flex;justify-content:space-between;gap:12px;padding:14px 17px 16px;color:#234654;font-size:.875rem;font-weight:600}
.practice-gallery figcaption span{color:#75939b;font-size:.75rem;letter-spacing:.08em;white-space:nowrap}
.practice-gallery-grid .practice-gallery-map img{object-fit:contain;background:#eaf1f4}
.practice-gallery-controls{display:flex;justify-content:flex-end;gap:9px;margin-top:10px}
.practice-gallery-controls button{display:grid;place-items:center;width:36px;height:36px;border:1px solid #c5dadd;border-radius:50%;background:#fff;color:#176b76;font:600 1.35rem/1 var(--sans,Arial,sans-serif);cursor:pointer;box-shadow:0 4px 12px -9px #0c334a66;transition:background .2s,color .2s,transform .2s}
.practice-gallery-controls button:hover:not(:disabled){background:#176b76;color:#fff;transform:translateY(-2px)}
.practice-gallery-controls button:focus-visible{outline:2px solid #176b76;outline-offset:3px}
.practice-gallery-controls button:disabled{opacity:.38;cursor:default}
.practice-lightbox{box-sizing:border-box;width:min(1120px,96vw);max-width:none;max-height:96vh;margin:auto;padding:46px 18px 18px;border:1px solid #4b7883;border-radius:18px;background:#102d3b;color:#fff;box-shadow:0 30px 90px #061621b3;overflow:visible}
.practice-lightbox::backdrop{background:#061823d9;backdrop-filter:blur(8px)}
.practice-lightbox[open]{animation:practice-photo-pop .32s cubic-bezier(.19,1,.22,1) both}
.practice-lightbox-shell{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:12px}
.practice-lightbox figure{min-width:0;margin:0}
.practice-lightbox img{display:block;width:100%;max-height:calc(96vh - 130px);object-fit:contain;border-radius:9px;background:#0b2230}
.practice-lightbox figcaption{display:flex;justify-content:space-between;gap:15px;padding:13px 3px 0;color:#e6f2f3;font-size:.95rem;font-weight:600}
.practice-lightbox-count{white-space:nowrap;color:#abd9db;font-size:.85rem}
.practice-lightbox button{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid #9bbec570;border-radius:50%;background:#ffffff18;color:#fff;font:400 1.7rem/1 Arial,sans-serif;cursor:pointer;transition:background .2s,transform .2s}
.practice-lightbox button:hover{background:#ffffff36;transform:scale(1.07)}
.practice-lightbox button:focus-visible{outline:2px solid #a1e4e4;outline-offset:3px}
.practice-lightbox .practice-lightbox-close{position:absolute;top:8px;right:18px;width:32px;height:32px;font-size:1.45rem}
@keyframes practice-photo-pop{from{opacity:0;transform:translateY(18px) scale(.83)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:680px){.practice-lightbox{width:calc(100vw - 16px);padding:44px 8px 16px;border-radius:12px}.practice-lightbox-shell{grid-template-columns:30px minmax(0,1fr) 30px;gap:5px}.practice-lightbox button{width:30px;height:36px;font-size:1.4rem}.practice-lightbox .practice-lightbox-close{right:9px}.practice-lightbox img{max-height:calc(92vh - 125px)}.practice-lightbox figcaption{font-size:.8rem;padding-top:10px}.practice-lightbox-count{font-size:.75rem}}
@media(max-width:680px){.practice-gallery{margin-top:22px;padding:20px}.practice-gallery-intro{display:block}.practice-gallery-intro>p{max-width:none;margin-top:9px;text-align:left}.practice-gallery-grid{grid-auto-columns:100%;gap:16px}.practice-gallery img{height:auto;aspect-ratio:1.5;object-fit:cover}}
@media(max-width:440px){.practice-gallery{padding:15px;border-radius:12px}.practice-gallery-intro{margin-bottom:16px}.practice-gallery-intro h3{font-size:1.55rem}.practice-gallery figcaption{padding:12px 13px;font-size:.8125rem}}
@media(prefers-reduced-motion:reduce){.practice-gallery-grid{scroll-behavior:auto}.practice-gallery img{transition:none}.practice-gallery figure:hover img{transform:none}.practice-gallery-controls button,.practice-lightbox button{transition:none}.practice-lightbox[open]{animation:none}}
@media print{.practice-gallery{background:#fff;box-shadow:none}.practice-gallery img{height:180px}.practice-lightbox{display:none}}

@media(min-width:681px) and (max-width:900px){.practice-gallery-grid{gap:12px;grid-auto-columns:calc((100% - 24px)/3)}.practice-gallery figcaption{font-size:.8125rem;padding:12px;flex-wrap:wrap}.practice-gallery figcaption span{font-size:.75rem}}

/* Hours sit beside the contact panel in the existing navy visit section. */
.office-hours{margin-top:30px;padding:22px 24px;border:1px solid #9ddcdd40;border-radius:12px;background:linear-gradient(135deg,#a2e8e814,#ffffff05);box-shadow:inset 0 1px #d5ffff18,0 14px 35px -28px #0009}
.office-hours-heading{display:flex;align-items:center;gap:10px;margin-bottom:16px;color:#a1e4e4}
.office-hours-heading h3{font-family:var(--serif);font-size:1.35rem;font-weight:400;color:#fff}
.office-hours-heading>span{margin-left:auto;font-size:.68rem;color:#b3cdd8;white-space:nowrap}
.office-hours dl{margin:0}
.office-hours dl>div{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-top:1px solid #bce6eb1f;font-size:.86rem;line-height:1.5}
.office-hours dt{color:#d2e4ea}
.office-hours dd{margin:0;color:#fff;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.office-hours .hours-weekend{padding-bottom:0}
.office-hours .hours-weekend dt,.office-hours .hours-weekend dd{color:#a8c4cf;font-weight:400}
.footer-practice-info .footer-hours{margin-top:14px;line-height:1.7;font-size:.78rem;max-width:none}
.footer-hours strong{color:var(--teal);font-weight:600}
@media(max-width:900px) and (min-width:681px){.office-hours{padding:18px}.office-hours-heading{flex-wrap:wrap}.office-hours-heading>span{margin-left:32px;margin-top:-7px}.office-hours dl>div{flex-direction:column;gap:3px}}
@media(max-width:440px){.office-hours{padding:18px 16px;margin-top:25px}.office-hours-heading{flex-wrap:wrap}.office-hours-heading>span{margin-left:32px;margin-top:-7px}.office-hours dl>div{font-size:.78rem;gap:8px}.footer-practice-info{width:100%}}
@media print{.office-hours{background:#fff;border-color:#aaa;box-shadow:none}.office-hours *{color:#163746!important}}

/* Gallery position: a quiet teal index with comfortable touch controls. */
.practice-gallery-controls{align-items:center;gap:10px;margin-top:16px}
.practice-gallery-position{margin-right:auto;min-width:0;width:min(220px,55%)}
.practice-gallery-position[hidden]{display:none}
.practice-gallery-status{display:block;color:#234654;font-size:.875rem;font-weight:600;line-height:1.5;font-variant-numeric:tabular-nums}
.practice-gallery-segments{display:flex;gap:5px;margin-top:8px}
.practice-gallery-segments span{height:4px;flex:1;min-width:0;border-radius:999px;background:#c3d8dd;transition:background-color .2s,box-shadow .2s}
.practice-gallery-segments .is-visible{background:#176b76;box-shadow:0 1px 5px #176b7626}
.practice-gallery-controls button{width:44px;height:44px;flex-shrink:0;background:linear-gradient(145deg,#fff,#e9f3f5);box-shadow:0 3px 0 #c5dadd,0 6px 14px -10px #102d4070}
.practice-gallery-controls button:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px 0 #c5dadd}
@media(prefers-reduced-motion:reduce){.practice-gallery-segments span{transition:none}.practice-gallery-controls button:hover:not(:disabled),.practice-gallery-controls button:active:not(:disabled){transform:none}}
