/* The showreel and About Me section enter together with the hero. */
@media(prefers-reduced-motion:no-preference){
  @media(min-width:1600px) and (min-aspect-ratio:3/2){
    body.home-route .home-vfx-instrument{animation:home-showreel-arrive .62s cubic-bezier(.16,1,.3,1) .28s both}
    body.home-route .home-vfx-instrument-kicker{animation:home-type-in .32s steps(12,end) .48s both}
    body.home-route .home-vfx-instrument-title{animation:home-type-in .34s steps(12,end) .59s both}
    body.home-route .home-vfx-instrument-preview{animation:home-type-in .44s steps(18,end) .62s both}
    body.home-route .home-vfx-instrument-meta{animation:home-type-in .38s steps(15,end) .83s both}
    body.home-route .home-vfx-instrument-track,
    body.home-route .home-vfx-instrument-tags{animation:home-type-in .34s steps(12,end) 1.02s both}
    body.home-route .home-vfx-instrument-arrow{animation:home-detail-fade .3s ease .73s both}
  }

  body.home-route .home-panel-tabs{animation:home-about-tile-rise .46s cubic-bezier(.16,1,.3,1) .08s both}
  body.home-route .home-panel-tab{animation:home-type-in .32s steps(8,end) .17s both}
  body.home-route .home-panel-tab.is-active:after{animation:home-tab-underline .32s ease .35s both}
  body.home-route .home-about-panel>a{--home-card-delay:.16s;animation:home-about-tile-rise .52s cubic-bezier(.16,1,.3,1) var(--home-card-delay) both}
  body.home-route .home-about-panel>a:nth-child(2){--home-card-delay:.23s}
  body.home-route .home-about-panel>a:nth-child(3){--home-card-delay:.3s}
  body.home-route .home-about-panel>a:nth-child(4){--home-card-delay:.37s}
  body.home-route .home-about-panel>a:nth-child(5){--home-card-delay:.44s}
  body.home-route .home-about-panel .home-about-photo img{animation:home-detail-fade .45s ease calc(var(--home-card-delay) + .13s) both}
  body.home-route .home-about-panel .home-about-card .home-about-index,
  body.home-route .home-about-panel .home-about-card .home-about-stat-caption{animation:home-type-in .34s steps(14,end) calc(var(--home-card-delay) + .12s) both}
  body.home-route .home-about-panel .home-about-card h2,
  body.home-route .home-about-panel .home-about-card .home-about-stat-value{animation:home-type-in .4s steps(16,end) calc(var(--home-card-delay) + .24s) both}
  body.home-route .home-about-panel .home-about-card p,
  body.home-route .home-about-panel .home-about-card .home-about-location{animation:home-type-in .4s steps(18,end) calc(var(--home-card-delay) + .39s) both}
  body.home-route .home-about-panel .home-about-card .home-about-card-icon{animation:home-detail-fade .28s ease calc(var(--home-card-delay) + .16s) both}
  body.home-route .home-about-panel .home-about-card .home-about-accent{animation:home-accent-draw .36s ease calc(var(--home-card-delay) + .38s) both}
}

@keyframes home-showreel-arrive{from{opacity:0;translate:0 20px;clip-path:inset(0 0 100% 0)}to{opacity:1;translate:0 0;clip-path:inset(0)}}
@keyframes home-about-tile-rise{from{opacity:0;translate:0 22px}to{opacity:1;translate:0 0}}
@keyframes home-type-in{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@keyframes home-tab-underline{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes home-detail-fade{from{opacity:0}to{opacity:1}}
@keyframes home-accent-draw{from{scale:0 1}to{scale:1 1}}

@media(prefers-reduced-motion:reduce){
  body.home-route .home-vfx-instrument,
  body.home-route .home-panel-tabs,
  body.home-route .home-panel-tab,
  body.home-route .home-panel-tab.is-active:after,
  body.home-route .home-about-panel>a{animation:none!important;opacity:1!important;translate:none!important;clip-path:none!important}
  body.home-route .home-about-panel .home-about-photo img{animation:none!important;opacity:1!important;clip-path:none!important}
  body.home-route .home-vfx-instrument-kicker,
  body.home-route .home-vfx-instrument-title,
  body.home-route .home-vfx-instrument-preview,
  body.home-route .home-vfx-instrument-meta,
  body.home-route .home-vfx-instrument-track,
  body.home-route .home-vfx-instrument-tags,
  body.home-route .home-vfx-instrument-arrow,
  body.home-route .home-about-panel .home-about-card .home-about-index,
  body.home-route .home-about-panel .home-about-card .home-about-stat-caption,
  body.home-route .home-about-panel .home-about-card h2,
  body.home-route .home-about-panel .home-about-card .home-about-stat-value,
  body.home-route .home-about-panel .home-about-card p,
  body.home-route .home-about-panel .home-about-card .home-about-location,
  body.home-route .home-about-panel .home-about-card .home-about-card-icon,
  body.home-route .home-about-panel .home-about-card .home-about-accent{animation:none!important;clip-path:none!important;scale:none!important}
}
