/* Quiet motion with generous stillness for reading. */
@media(prefers-reduced-motion:no-preference){
 .home-page .hero-description{animation:detail-arrive .9s ease both;animation-delay:.15s}
 .home-page .hero .hero-actions{animation:detail-arrive .9s ease both;animation-delay:.25s}
 .home-page .text-link{transition:color .2s ease,opacity .2s ease}
 .home-page .treatment-group[open] .treatment-list,.home-page .faq-list details[open]>div,.home-page .first-visit[open]>ol{animation:detail-arrive .35s ease both}
 .home-page .social-links a{transition:transform .22s ease,color .22s ease}.home-page .social-links a:hover{transform:translateY(-3px)}
 .procedure-choice{transition:background .2s ease,border-color .2s ease,transform .2s ease}
 .care-reader{animation:detail-arrive .35s ease both}
 @keyframes detail-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.resources-page main{max-width:980px}
.resources-page .aftercare-welcome{grid-template-columns:1fr 180px;gap:40px;margin-bottom:24px}
.resources-page .welcome-photo img{height:180px;border-radius:6px;object-position:50% 46%}
.resources-page .welcome-photo figcaption{display:none}
.resources-page .resource-intro .eyebrow{display:none}
.resources-page .resource-intro h1{font-size:42px;margin:22px 0 12px;max-width:none}
.resources-page .resource-intro>p{max-width:520px}
.resources-page .resource-note{margin:12px 0 0;font-size:12px!important}
.resources-page .urgent{margin:24px 0 36px;padding:14px 18px}
.resources-page #find-guide{font-size:28px;margin-bottom:20px}
.resources-page .resource-search{margin-bottom:22px}
.resources-page #guide-count:empty{display:none}
.procedure-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.resources-page .procedure-choice{display:flex;align-items:center;justify-content:space-between;gap:18px;text-align:left;min-height:74px;background:#fffdfa;border:1px solid #ddd7cd;padding:20px 22px;border-radius:5px;font:400 18px/1.45 Georgia,serif}
.procedure-choice::after{content:'→';color:#8b775e;font:18px Arial,sans-serif}
.resources-page .procedure-choice:hover{background:#eee8de;border-color:#aa977c;transform:translateY(-2px)}
.resources-page .all-procedures{display:block;border:0;border-bottom:1px solid #b8a58d;border-radius:0;padding:12px 0;margin:22px 0 36px;font-size:13px}
.resources-page .care-reader{scroll-margin-top:24px;max-width:740px;margin:auto}
.resources-page .back-to-procedures{border:0;padding:0;margin:0 0 24px;font-size:13px;color:#796b59}
.resources-page #reader-title{font:400 34px/1.25 Georgia,serif;letter-spacing:-.6px;margin:0 0 24px}
.care-reader .reader-photo{width:100%;height:220px;object-fit:cover;object-position:50% 45%;border-radius:5px;display:block;margin:0 0 24px}
.care-enhanced .care-reader .care-guide>summary{display:none}
.care-enhanced .care-reader .care-guide{border:0}
.resources-page .care-reader .guide-body{max-width:none}
.resources-page .care-reader .guide-body h3{font:400 24px/1.3 Georgia,serif;text-transform:none;letter-spacing:0;color:#292724;margin:32px 0 14px}
.resources-page .care-reader .guide-body p{font-size:16px;line-height:1.9;max-width:640px}
.resources-page .more-resources{margin-top:32px}
@media(max-width:600px){
 .resources-page main{padding:24px 22px 44px}
 .resources-page .aftercare-welcome{display:grid;grid-template-columns:1fr 82px;gap:12px;align-items:start}
 .resources-page .resource-intro{display:contents}
 .resources-page .back-link{grid-column:1/-1;font-size:12px;margin-bottom:8px}
 .resources-page .resource-intro h1{grid-column:1;font-size:31px;margin:0;align-self:center}
 .resources-page .resource-intro>p{grid-column:1/-1;margin:0;font-size:14px;line-height:1.7}
 .resources-page .resource-intro .resource-note{font-size:11px!important;margin:0}
 .resources-page .welcome-photo{grid-column:2;grid-row:2;align-self:center}
 .resources-page .welcome-photo img{height:86px;width:82px;object-position:50% 45%;border-radius:4px}
 .resources-page .urgent{margin:22px 0 28px;font-size:12px;padding:12px 14px}
 .resources-page #find-guide{font-size:25px;line-height:1.3;margin-bottom:18px}
 .procedure-choices{grid-template-columns:1fr;gap:8px}
 .resources-page .procedure-choice{min-height:58px;padding:15px 18px;font-size:18px}
 .resources-page .resource-search input{padding:14px}
 .resources-page #reader-title{font-size:29px}
 .resources-page .care-reader .guide-body h3{font-size:23px}
 .resources-page .care-reader .guide-body p{font-size:15px}
 .care-reader .reader-photo{height:180px}
}
@media(prefers-reduced-motion:reduce){.resources-page .procedure-choice:hover{transform:none}}
@media print{.procedure-choices,.all-procedures,.back-to-procedures,.reader-photo{display:none!important}.care-enhanced .care-reader{display:block!important}.care-enhanced .care-reader .care-guide.print-selected>summary{display:flex!important}.care-reader #reader-title{display:none}}

/* Readable first-visit copy on the soft gray section. */
.home-page #patients .first-visit{border-color:#b4bbc0}
.home-page #patients .first-visit summary{color:#292e32;font-size:15px;font-weight:600}
.home-page #patients .first-visit li strong{color:#242a2f;font:600 21px/1.45 Georgia,serif;margin-bottom:8px}
.home-page #patients .first-visit li>span{color:#3c444b;font-size:15px;font-weight:500;line-height:1.8}
.home-page #patients .first-visit li{padding:18px 0}
/* Occasional reflected light and fine arcs, always behind the content. */
.home-page .hero,.home-page #faq{position:relative;isolation:isolate}
.ambient-detail{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none;user-select:none}
.ambient-detail::before{content:'';position:absolute;width:70%;height:90%;right:-25%;top:-30%;background:radial-gradient(ellipse,#ae896522 0%,#bfa77c0c 45%,transparent 70%);opacity:0}
.ambient-detail i{position:absolute;display:block;width:650px;height:650px;right:-390px;top:-230px;border:1px solid #8e775c2b;border-radius:50%;opacity:0;transform:rotate(-20deg) scaleX(.75)}
.ambient-detail i+i{width:730px;height:730px;right:-420px;top:-270px;border-color:#8e775c1a}
.ambient-secondary::before{right:auto;left:-35%;top:0}
.ambient-secondary i{right:auto;left:-460px;top:0}
.ambient-secondary i+i{right:auto;left:-490px;top:-35px}
@media(prefers-reduced-motion:no-preference){
 .ambient-detail::before{animation:ambient-glow 24s ease-in-out infinite}
 .ambient-detail i{animation:ambient-arc 28s ease-in-out infinite}
 .ambient-detail i+i{animation-delay:3s}
 .ambient-secondary::before,.ambient-secondary i{animation-delay:7s}
 @keyframes ambient-glow{0%,15%,85%,100%{opacity:0;transform:translate3d(0,0,0)}40%,60%{opacity:1;transform:translate3d(-30px,24px,0)}}
 @keyframes ambient-arc{0%,12%,88%,100%{opacity:0;transform:translate3d(0,0,0) rotate(-20deg) scaleX(.75)}38%,62%{opacity:.65;transform:translate3d(-24px,18px,0) rotate(-8deg) scaleX(.8)}}
}
@media(prefers-reduced-motion:reduce){.ambient-detail{display:none}}
@media(max-width:720px){.ambient-detail i{width:480px;height:480px;right:-360px;top:-180px}.ambient-detail i+i{width:550px;height:550px;right:-400px;top:-210px}.ambient-detail::before{width:100%}.ambient-secondary i{left:-400px;right:auto}.ambient-secondary i+i{left:-440px;right:auto}}
/* Preserve the entire photograph, including hands and clinical context. */
.resources-page .welcome-photo img,.resources-page .reader-photo,.resources-page .aftercare-photo img,.resources-page .visit-resource-photo{height:auto!important;max-height:none!important;aspect-ratio:auto;object-fit:contain!important;object-position:center!important}
.resources-page .reader-photo{width:min(100%,320px);margin:0 auto 30px}
.resources-page .aftercare-photo{width:min(100%,320px);margin-inline:auto}
.resources-page .welcome-photo{max-width:180px}
.resources-page .official-visual{border-block:1px solid #ddd5ca;padding:18px 0;margin:28px 0}
.resources-page .official-visual summary{font-size:15px;cursor:pointer;line-height:1.6}
.resources-page .official-visual p{font-size:13px!important;line-height:1.8!important;margin:14px 0!important}
.resources-page .official-visual a{display:inline-block;padding:10px 0;color:#69563e}
@media(max-width:600px){.resources-page .reader-photo{width:min(100%,260px)}.resources-page .welcome-photo{max-width:82px}}
@media print{.official-visual{display:none!important}}

.official-video{display:block;width:100%;aspect-ratio:16/9;border:0;margin:16px 0}.official-visual>a{display:block!important}
/* Procedure artwork: one quiet visual, then the care instructions. */
.resources-page .procedure-picture{margin:0 0 30px;padding:0;overflow:hidden;border:1px solid #dedbd5;border-radius:18px;background:#fff;animation:care-picture-in .45s ease-out both}
.resources-page .procedure-picture-open{display:block;position:relative;width:100%;border:0;border-radius:0;padding:14px;background:#f5f3ef;cursor:zoom-in}
.resources-page .procedure-picture-open img{display:block;width:100%;height:260px;object-fit:contain;border-radius:8px}
.resources-page .picture-hint{position:absolute;bottom:20px;right:20px;padding:7px 11px;border-radius:20px;background:rgba(255,255,255,.94);color:#41413f;font-size:11px;letter-spacing:.02em}
.resources-page .procedure-picture figcaption{padding:21px 25px 23px}
.resources-page .procedure-picture strong{display:block;font:500 23px/1.3 Georgia,serif;color:#282b2d}
.resources-page .procedure-picture p{font-size:14px;line-height:1.7;color:#4a4d4e;margin:9px 0 14px}
.resources-page .procedure-picture small{display:block;color:#686660;font-size:11px;line-height:1.6}
.resources-page .procedure-picture figcaption a{display:inline-block;font-size:12px;color:#70583c;margin-top:8px;text-underline-offset:4px}
.resources-page .care-reader>.reader-photo{width:min(100%,220px);margin:34px auto 0;border-radius:12px}
.procedure-picture-dialog{width:min(92vw,1000px);max-height:92dvh;border:0;border-radius:16px;padding:18px;background:#fff;box-shadow:0 24px 100px #0004}
.procedure-picture-dialog::backdrop{background:rgba(25,28,30,.78)}
.procedure-picture-dialog>button{display:block;margin:0 0 14px auto;background:#efede9;border:0;border-radius:30px;padding:10px 18px;color:#292d2f;cursor:pointer}
.procedure-picture-dialog img{display:block;width:100%;max-height:76dvh;object-fit:contain}
@keyframes care-picture-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.resources-page .procedure-picture-open img{height:205px}.resources-page .procedure-picture figcaption{padding:18px}.resources-page .procedure-picture strong{font-size:21px}.resources-page .procedure-picture-open{padding:10px}}
@media(prefers-reduced-motion:reduce){.resources-page .procedure-picture{animation:none}}
@media print{.picture-hint{display:none}.resources-page .procedure-picture{break-inside:avoid;animation:none}.resources-page .procedure-picture-open img{height:180px}}
/* Floating silk-smoke: decorative, slow and away from interaction. */
.home-page .hero,.resources-page .aftercare-welcome{position:relative;isolation:isolate;overflow:hidden}
.smoke-waves{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none;user-select:none}
/* Turbulent vapor texture, carried by independent, irregular drifting layers. */
.smoke-waves::before,.smoke-waves::after{content:'';position:absolute;inset:-24% -28%;background:url('/images/smoke-waves.svg?v=42') center/cover no-repeat;opacity:.65;transform-origin:45% 55%;will-change:transform,opacity}
.smoke-waves::after{inset:-30% -20%;opacity:.42;transform:rotate(157deg) scale(1.14)}
.home-page>header,.resources-page>header{isolation:isolate}
.home-page>header::before,.resources-page>header::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('/images/smoke-waves.svg?v=42') 40% 50%/150% 700% no-repeat;opacity:.45}
@media(prefers-reduced-motion:no-preference){.smoke-waves::before{animation:smoke-drift 16s ease-in-out -5s infinite alternate}.smoke-waves::after{animation:smoke-counter 21s ease-in-out -14s infinite alternate}.home-page>header::before,.resources-page>header::before{animation:smoke-header 12s ease-in-out -3s infinite alternate}}
@keyframes smoke-drift{0%{transform:translate(-65px,40px) rotate(-7deg) scale(.96);opacity:.62}50%{opacity:.9}100%{transform:translate(85px,-65px) rotate(8deg) scale(1.2);opacity:.6}}
@keyframes smoke-counter{0%{transform:translate(75px,-35px) rotate(150deg) scale(1.12);opacity:.48}55%{opacity:.7}100%{transform:translate(-90px,70px) rotate(174deg) scale(1.32);opacity:.46}}
@keyframes smoke-header{from{background-position:15% 35%;opacity:.3}to{background-position:85% 65%;opacity:.55}}
.resources-page .procedure-picture figcaption{padding:18px 22px}
.resources-page .procedure-picture figcaption strong{font-size:22px}
.resources-page .procedure-picture figcaption p{margin:8px 0 10px}
.resources-page .procedure-video-link{margin-top:14px;padding-top:12px;border-top:1px solid #e5e0d7}
.resources-page .procedure-video-link a{font-size:13px;margin-top:0;color:#3e515c}
.resources-page .procedure-video-link small{margin-top:6px}
@media(max-width:600px){.smoke-waves::before,.smoke-waves::after{inset:-10% -60%;opacity:.35}.resources-page .procedure-picture figcaption{padding:16px}.resources-page .procedure-picture figcaption strong{font-size:20px}}
@media print{.smoke-waves{display:none}}

/* Soft section-level atmosphere; isolated behind all reading and controls. */
.smoke-section,.home-page #faq{position:relative;isolation:isolate}
.smoke-waves.smoke-soft{opacity:.9}
.smoke-soft::before{animation-duration:16s;animation-delay:-5s}
.smoke-soft::after{animation-duration:21s;animation-delay:-14s}
.faq-page main>.smoke-waves::before,.faq-page main>.smoke-waves::after,.resources-page .smoke-section>.smoke-waves::before,.resources-page .smoke-section>.smoke-waves::after{background-size:1200px 850px;background-repeat:repeat-y}
@media(max-width:600px){.smoke-waves.smoke-soft{opacity:.64}.smoke-waves::before,.smoke-waves::after{inset:-15% -65%;background-size:auto 100%}}
@media(prefers-reduced-motion:reduce){.smoke-waves::before,.smoke-waves::after,.home-page>header::before,.resources-page>header::before{animation:none!important;will-change:auto}}

/* Published teaching illustrations remain whole, with credits tucked away. */
.resources-page .procedure-picture-open{background:#fff}
.resources-page .procedure-explanation{border:0;border-left:2px solid #b39b7c;border-radius:0;background:transparent}
.resources-page .procedure-explanation figcaption{padding:2px 0 2px 20px}
.resources-page .illustration-credit{margin-top:12px;border:0;padding:0}
.resources-page .illustration-credit summary{font:400 11px/1.6 Arial,sans-serif;color:#6b655d;cursor:pointer;min-height:28px}
.resources-page .illustration-credit small{margin-top:6px}
.resources-page .illustration-credit a{font-size:11px;margin:0}
.resources-page #root-canal .procedure-picture-open img{height:auto;min-height:150px;max-height:310px}

/* Keep vapor within narrow screens; opacity never drops to invisible. */
@media(max-width:600px){.smoke-waves.smoke-soft{opacity:.9}.smoke-waves::before,.smoke-waves::after{inset:-90px -170px;opacity:.65;background-size:800px 650px;background-repeat:repeat-y}.faq-page main>.smoke-waves::before,.faq-page main>.smoke-waves::after,.resources-page .smoke-section>.smoke-waves::before,.resources-page .smoke-section>.smoke-waves::after{background-size:800px 650px}}

.resources-page .procedure-picture-open:has(img[src*="original-care"]) img{height:auto;max-height:440px;aspect-ratio:800/520;object-fit:contain}
.resources-page .original-art-note{margin-top:12px}
