/* Latest clinic feedback: quiet pattern, authentic rooms and original voices. */
:root{--paper:#fbfafc;--white:#fffdfd}
body{background-image:url('assets/purple-pattern-v6.svg')}
.intro,.care,.technology,.journal,.patient-stories,.faq{background-color:var(--white);background-image:url('assets/purple-pattern-v6.svg')}
.qualifications,.purpose,.payment{background-color:#f3eef8;background-image:url('assets/purple-pattern-v6.svg')}
.hero-motion-toggle:not(:focus-visible){width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;padding:0}
.hero-motion-toggle:focus-visible{padding:10px 15px;background:#291b36;outline:2px solid var(--lilac);outline-offset:5px}
.xray-detail{position:relative;margin-top:22px;overflow:hidden;aspect-ratio:1.5;background:#eee8f0}
.xray-detail img{display:block;width:100%;height:100%;object-fit:cover}
.xray-detail figcaption{position:absolute;bottom:10px;inset-inline-end:13px;font-size:7px;color:#4f3e5b}
.waiting-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px}
.waiting-pair figure{aspect-ratio:.8;overflow:hidden;position:relative}
.waiting-pair img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 1s var(--ease)}
.waiting-pair figure:hover img{transform:scale(1.025)}
.comfort-details{display:flex;flex-wrap:wrap;gap:22px;margin-top:19px;color:var(--lilac);font-size:9px}
.comfort-details span+span:before{content:'·';margin-inline-end:22px}
.gallery-stage{height:420svh}
.gallery-item{width:32vw}
.gallery-image{aspect-ratio:1.12}
.gallery-photo-button{position:relative;display:block;width:100%;padding:0;border:0;text-align:initial;background:#402d4d;cursor:zoom-in}
.gallery-photo-button img{object-position:50% 45%;transition:transform 1s var(--ease)}
.gallery-photo-button:hover img{transform:scale(1.035)}
.gallery-photo-button:focus-visible{outline:2px solid var(--lilac);outline-offset:5px}
.gallery-zoom{position:absolute;bottom:14px;right:14px;display:grid;place-items:center;border:1px solid #ffffff70;background:#291b3650;color:white;width:34px;height:34px;font:23px Latin,sans-serif;backdrop-filter:blur(6px)}
.gallery-dialog{width:min(94vw,1050px);max-width:1050px;max-height:92svh;padding:0;background:var(--ink);color:var(--paper);border:1px solid #ffffff30}
.gallery-dialog-head{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px 24px}
.gallery-dialog-head h2{font-size:15px;font-weight:400;line-height:1.8}
.gallery-dialog-head button{font:30px Latin,sans-serif;padding:0 10px;color:#fff}
.gallery-dialog>img{width:100%;height:auto;max-height:calc(92svh - 76px);object-fit:contain;display:block;background:#1c1226}
.story-film{position:relative;aspect-ratio:.8;overflow:hidden;background:var(--ink)}
.story-video{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.story-video[controls]{object-fit:contain;background:#1c1226}
.story-start{position:absolute;inset:0;width:100%;height:100%;color:#fff;background:linear-gradient(0deg,#291b3670,transparent 35%);cursor:pointer}
.story-start[hidden]{display:none}
.story-start .story-play{transition:background .3s,transform .4s var(--ease)}
.story-start:hover .story-play{background:#ffffff30;transform:translate(-50%,-50%) scale(1.06)}
.story-start:focus-visible{outline:2px solid var(--lilac);outline-offset:-6px}
.story-listen{position:absolute;bottom:20px;inset-inline:20px;text-align:center;font-size:9px;letter-spacing:1px}
.story-source{display:inline-flex;gap:14px;align-items:center;font-size:10px;color:#7c6889;margin-top:12px;padding:5px 0;border-bottom:1px solid #8860aa30}
.story-source:hover{color:var(--violet)}
@media(min-width:901px){.technology-grid{align-items:start}.technology-list article:nth-child(2){padding-bottom:28px}.gallery-sticky{min-height:0}.gallery-image{aspect-ratio:auto;height:clamp(140px,calc(100svh - 410px),520px)}.stories-grid{align-items:start}}
@media(min-width:601px) and (max-width:900px){.technology-list{grid-template-columns:1fr}.technology-list article{padding:23px 0}.xray-detail{max-width:500px}.gallery-item{width:65vw}.gallery-image{aspect-ratio:1.15}}
@media(max-width:900px){.gallery-stage{height:auto}.gallery-sticky{min-height:0}.gallery-dialog-head{padding:14px 20px}.gallery-dialog-head h2{font-size:13px}}
@media(max-width:600px){.gallery-item{width:82vw}.gallery-image{aspect-ratio:.85;max-height:470px}.gallery-sticky{padding:55px 0}.gallery-bottom{font-size:6px}.gallery-zoom{width:31px;height:31px;bottom:12px;right:12px}.waiting-pair{gap:12px;margin-top:24px}.comfort-details{gap:16px;font-size:8px}.comfort-details span+span:before{margin-inline-end:16px}.xray-detail{margin-top:20px}.story-film{aspect-ratio:.78}.story-listen{font-size:8px;bottom:18px}.story-item h3{line-height:1.8}.story-source{font-size:9px}.gallery-dialog>img{max-height:calc(92svh - 70px)}}
@media(prefers-reduced-motion:reduce){.gallery-stage{height:auto}.gallery-photo-button img,.waiting-pair img{transition:none;transform:none!important}.gallery-sticky{min-height:0}}
