/* Each document opts into the same navigation transition. Hash links stay native. */
@media (min-width:992px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto}
}
::view-transition{--scan-duration:1.1s;--scan-curve:cubic-bezier(.45,0,.2,1)}
::view-transition-old(root){animation:hold-page var(--scan-duration) linear both;mix-blend-mode:normal}
::view-transition-new(root){animation:page-scan-in var(--scan-duration) var(--scan-curve) both;mix-blend-mode:normal}
::view-transition-group(deliar-scan){animation:scan-line var(--scan-duration) var(--scan-curve) both;z-index:1}
::view-transition-new(deliar-scan),::view-transition-old(deliar-scan){animation:none}
@keyframes hold-page{from,to{opacity:1}}
@keyframes page-scan-in{from{clip-path:inset(0 0 100%)}to{clip-path:inset(0)}}
@keyframes scan-line{from{transform:translateY(-2px)}to{transform:translateY(calc(100vh - 2px))}}
.page-scan{view-transition-name:deliar-scan;position:fixed;inset:0 0 auto;height:2px;z-index:2147483000;pointer-events:none;background:var(--blue);box-shadow:0 0 18px 4px #0b5cff99,0 0 2px white}
.page-scan span{position:absolute;top:8px;background:var(--blue);color:white;border-radius:3px;padding:4px 7px;font:400 11px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.page-scan span:first-child{left:var(--pad)}.page-scan span:last-child{right:var(--pad)}
@media(prefers-reduced-motion:no-preference){
  :root{--entry-out:cubic-bezier(.16,1,.3,1)}
  .title-mask{display:inline-block;overflow:clip;vertical-align:top;overflow-clip-margin:.035em}
  .title-enter .title-mask>span{display:block;animation:entry-title var(--title-time,1.4s) var(--entry-out) both;animation-delay:calc(var(--title-delay,.15s) + var(--step,0)*var(--stagger,.1s))}
  .contact-page{--title-delay:.1s;--title-time:1.3s}
  .portfolio-cover{--title-delay:.7s;--title-time:1.3s;--stagger:.07s}
  .about-hero{--title-delay:.2s}.patients-hero{--title-delay:.4s}
  .partners-hero{--stagger:.08s}.career-hero{--title-delay:.3s}
  .about-hero>img{animation:about-photo 3s ease-out both}
  .career-hero>img,#cover-image{animation:entry-photo 3s ease-out both}
  .contact-cards article,.contact-lead>div,.patients-hero>p,.career-hero>.action,.news-page .news-card,.partners-hero>.action,.cover-tools>div,.cover-inner .micro{animation:entry-content var(--time,1s) var(--entry-out) var(--delay,.1s) both}
  .contact-cards article{--move-y:40px;--time:1.2s;--delay:.2s}
  .contact-cards article:nth-child(2){--delay:.28s}.contact-cards article:nth-child(3){--delay:.36s}
  .contact-lead>div{--delay:.4s;--move-y:20px}
  .partners-hero>.action{--move-y:0px;--move-x:24px;--delay:.55s;--time:1.2s}
  .patients-hero>p,.career-hero>.action{--delay:.7s;--time:1.1s;--move-y:14px}
  .news-page .news-card:nth-child(2){--delay:.18s}.news-page .news-card:nth-child(3){--delay:.26s}
  .cover-tools>div,.cover-inner .micro{--delay:1s;--move-y:10px}
  .cover-tools .action{animation:entry-mask 1.1s var(--entry-out) 1s both}
  @keyframes entry-title{from{transform:translateY(110%)}}
  @keyframes entry-content{from{opacity:0;transform:translate(var(--move-x,0px),var(--move-y,24px))}}
  @keyframes entry-mask{from{clip-path:inset(100% 0 0)}to{clip-path:inset(0)}}
  @keyframes entry-photo{from{scale:1.1}to{scale:1}}
  @keyframes about-photo{from{scale:1.14}to{scale:1.06}}
}
@media(min-width:768px) and (prefers-reduced-motion:no-preference){
  .portfolio-cover{background:white}
  .portfolio-cover::before{animation:entry-mask 1.6s cubic-bezier(.87,0,.13,1) both}
  #cover-image{animation:entry-mask 1.6s cubic-bezier(.87,0,.13,1) both,entry-photo 3s ease-out both}
}
@media(max-width:767px) and (prefers-reduced-motion:no-preference){
  .portfolio-cover{--title-delay:.3s}.cover-tools>div,.cover-inner .micro{--delay:.6s}
  .cover-tools .action{animation-delay:.6s}.patients-hero{--title-delay:.15s}
  .patients-hero>p{animation:patient-lede 1.1s var(--entry-out) .15s both}
  @keyframes patient-lede{from{transform:translateY(14px)}}
}

