/* A different gesture for each story. Every scroll sequence can be revisited. */
.motion-photo{position:relative;isolation:isolate;perspective:1200px;overflow:hidden}
.motion-photograph{backface-visibility:hidden;transform-origin:center}
.motion-shutters{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden}
.motion-veil{position:absolute;top:-1px;bottom:-1px;width:calc(20% + 1px);display:block;background:var(--shutter-paper,#fff);scale:1 0;pointer-events:none}
.motion-line{display:block;overflow:clip;padding-bottom:.13em;margin-bottom:-.13em;perspective:1100px}
.motion-line__ink{display:block;transform-origin:0% 85%}
.motion-department{position:relative;overflow:hidden}
.motion-drawing-rule{position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,#d91b3f,#152552 58%);transform-origin:left;pointer-events:none}
.motion-heritage{isolation:isolate}
.heritage-orbit{position:absolute;right:-110px;top:-260px;width:650px;height:650px;border:1px solid #d6dfef30;border-radius:50%;pointer-events:none;z-index:-1}
.heritage-orbit:after,.heritage-orbit:before{content:'';position:absolute;inset:38px;border:1px solid #d6dfef20;border-radius:50%}
.heritage-orbit:after{inset:80px}
.heritage-number{perspective:1000px}
/* The hero uses a sequence of six distinct treatments, rather than one repeated wipe. */
.cinematic-hero .hero-image-layer.is-active[data-transition]{animation-duration:1250ms,9s;animation-timing-function:cubic-bezier(.22,1,.36,1),var(--ease-quiet);animation-fill-mode:both,both;animation-name:editorial-aperture,crafted-photograph}
.cinematic-hero .hero-image-layer.is-active[data-transition=diagonal]{animation-name:editorial-diagonal,crafted-photograph}
.cinematic-hero .hero-image-layer.is-active[data-transition=shutters]{animation-name:editorial-shutters,crafted-photograph}
.cinematic-hero .hero-image-layer.is-active[data-transition=horizon]{animation-name:editorial-horizon,crafted-photograph}
.cinematic-hero .hero-image-layer.is-active[data-transition=iris]{animation-name:editorial-iris,crafted-photograph}
.cinematic-hero .hero-image-layer.is-active[data-transition=dissolve]{animation-name:editorial-dissolve,crafted-photograph}
@keyframes editorial-aperture{from{clip-path:inset(15% 30% 15% 30% round 40%)}to{clip-path:inset(0% 0% 0% 0% round 0%)}}
@keyframes editorial-diagonal{from{clip-path:polygon(0% 0%,0% 0%,24% 100%,0% 100%)}to{clip-path:polygon(0% 0%,100% 0%,100% 100%,0% 100%)}}
@keyframes editorial-horizon{from{clip-path:inset(47% 0% 47% 0%)}to{clip-path:inset(0% 0% 0% 0%)}}
@keyframes editorial-iris{from{clip-path:circle(5% at 54% 37%)}to{clip-path:circle(78% at 50% 50%)}}
@keyframes editorial-dissolve{from{opacity:0;translate:0 16px;rotate:-1.5deg}to{opacity:1;translate:0 0;rotate:0deg}}
@keyframes editorial-shutters{
 from{clip-path:polygon(10% 0%,10% 0%,10% 100%,10% 100%,10% 0%,30% 0%,30% 100%,30% 100%,30% 0%,50% 0%,50% 100%,50% 100%,50% 0%,70% 0%,70% 100%,70% 100%,70% 0%,90% 0%,90% 100%,90% 100%,90% 0%)}
 to{clip-path:polygon(0% 0%,20% 0%,20% 100%,0% 100%,0% 0%,40% 0%,40% 100%,20% 100%,20% 0%,60% 0%,60% 100%,40% 100%,40% 0%,80% 0%,80% 100%,60% 100%,60% 0%,100% 0%,100% 100%,80% 100%,80% 0%)}
}
/* Subtle tactile responses support the larger photographic scenes. */
@media(hover:hover) and (pointer:fine){
 .cinematic-hero .patient-primary-actions .button{position:relative;isolation:isolate;overflow:hidden}
 .cinematic-hero .patient-primary-actions .button:after{content:'';position:absolute;inset:0;z-index:-1;background:#d8d0bb;clip-path:circle(0% at 50% 120%);transition:clip-path 420ms cubic-bezier(.22,1,.36,1)}
 .cinematic-hero .patient-primary-actions .primary:hover:after{clip-path:circle(130% at 50% 120%)}
 .cinematic-hero .patient-primary-actions .white:after{background:#ffffff18}
 .cinematic-hero .patient-primary-actions .white:hover:after{clip-path:circle(130% at 50% 120%)}
 .text-link>.icon{transform-origin:center;transition:translate 350ms var(--ease-out),rotate 350ms var(--ease-out)}
 .text-link:hover>.icon{rotate:-7deg;translate:5px -1px}
}
@media(max-width:760px){.heritage-orbit{width:470px;height:470px;right:-190px;top:-120px}}
@media(prefers-reduced-motion:reduce){
 .motion-photo,.motion-photograph,.motion-line__ink{clip-path:none!important;rotate:none!important;translate:none!important;scale:1!important;opacity:1!important}
 .motion-shutters,.heritage-orbit{display:none!important}
 .motion-drawing-rule{scale:1!important}
 .cinematic-hero .hero-image-layer.is-active[data-transition]{animation:none!important}
 .motion-line{overflow:visible}
}
@media print{.motion-photo,.motion-photograph,.motion-line__ink{clip-path:none!important;rotate:none!important;translate:none!important;scale:1!important;opacity:1!important}.motion-shutters,.heritage-orbit{display:none!important}.motion-line{overflow:visible}}

.photo-card:focus-visible .motion-photo{clip-path:none!important}
.photo-card:focus-visible .motion-shutters{display:none}
