/* Page-load intro for the home hero. Pure CSS so nothing flashes before scripts load;
   it applies to the first slide only (hero.js removes .hero-intro on the first slide change). */
.hero h1 .hero-line{display:block;overflow:hidden;padding-bottom:.12em;margin-bottom:-.12em}
.hero h1 .hero-line>span{display:block}
@media(prefers-reduced-motion:no-preference){
 .hero-intro .hero-slide.is-active img{animation:hero-intro-zoom 2.8s cubic-bezier(.2,.7,.2,1) both}
 .hero-intro .hero-slide.is-active .hero-content .eyebrow{animation:hero-intro-rise .9s cubic-bezier(.2,.7,.2,1) .3s both}
 .hero-intro .hero-slide.is-active .hero-line>span{animation:hero-intro-line 1.15s cubic-bezier(.2,.75,.15,1) .45s both}
 .hero-intro .hero-slide.is-active .hero-line+.hero-line>span{animation-delay:.6s}
 .hero-intro .hero-slide.is-active .hero-description{animation:hero-intro-rise .9s cubic-bezier(.2,.7,.2,1) .95s both}
 .hero-intro .hero-slide.is-active .hero-actions{animation:hero-intro-rise .9s cubic-bezier(.2,.7,.2,1) 1.1s both}
 .hero-intro .hero-bottom{animation:hero-intro-fade 1s ease 1.35s both}
 .home-page .site-header{animation:hero-intro-header .9s cubic-bezier(.2,.7,.2,1) .1s both}
}
@keyframes hero-intro-zoom{from{transform:scale(1.12)}to{transform:scale(1)}}
@keyframes hero-intro-rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes hero-intro-line{from{transform:translateY(110%)}to{transform:none}}
@keyframes hero-intro-fade{from{opacity:0}to{opacity:1}}
@keyframes hero-intro-header{from{opacity:0;translate:0 -16px}to{opacity:1;translate:0 0}}

/* Inner page tops (on screen at load) rise in with CSS; everything further down is revealed on scroll by animations.js. */
@media(prefers-reduced-motion:no-preference){
 .inner-hero>*,.about-hero-text>*,.contact-bare>*{animation:hero-intro-rise .9s cubic-bezier(.2,.7,.2,1) both}
 .inner-hero>:nth-child(2),.about-hero-text>:nth-child(2),.contact-bare>:nth-child(2){animation-delay:.08s}
 .inner-hero>:nth-child(3),.about-hero-text>:nth-child(3){animation-delay:.16s}
 .inner-hero>:nth-child(4),.about-hero-text>:nth-child(4){animation-delay:.24s}
 .about-hero-text>:nth-child(5){animation-delay:.32s}
 .about-hero-media{animation:hero-intro-rise 1.1s cubic-bezier(.2,.7,.2,1) .2s both}
}

/* Line-drawn icons (replace text arrows that iOS renders inconsistently). */
.ico-arrow{display:inline-block;width:1em;height:1em;vertical-align:-.14em;flex:none}
.hero-controls button svg{display:block;margin:auto}
[data-hero-pause] .ico-play,[data-hero-pause][aria-pressed="true"] .ico-pause{display:none}[data-hero-pause][aria-pressed="true"] .ico-play{display:block}
