/* ===== Home: cinematic entrance (tablets, e-readers, laptops, PCs) ===== */
.hx-on #home.hero{background-image:none !important}
.hx-bg{position:absolute;inset:-8% 0 -12% 0;z-index:-2;overflow:hidden;will-change:transform;
  transform:translate3d(var(--hx-px,0px),calc(var(--hx-py,0px) + var(--hx-sy,0px)),0) scale(calc(1 + var(--hx-cover,0) * .07))}
.hx-bg-img{position:absolute;inset:0;background-repeat:no-repeat;background-size:cover;transform-origin:50% 40%;transform:scale(1.03)}
.hx-on #home{isolation:isolate}
.hx-on #home.hero::before{z-index:-1}
.hx-intro .hx-bg-img{animation:hxZoom 2.8s cubic-bezier(.16,.84,.3,1) both}
@keyframes hxZoom{from{transform:scale(1.16)}to{transform:scale(1.03)}}
.hx-bg::after{content:"";position:absolute;inset:0;background:#0A1411;opacity:0;pointer-events:none}
.hx-intro .hx-bg::after{animation:hxDim 2.8s cubic-bezier(.16,.84,.3,1) backwards}
@keyframes hxDim{from{opacity:.45}to{opacity:0}}

/* depth: the lettering drifts a touch with the pointer, in the opposite direction of the photo */
.hx-on #home .hero-brand{transform:translate3d(var(--hx-lx,0px),var(--hx-ly,0px),0)}

/* hand-written LNF lettering */
.hx-logo .hl-outline{fill:none;stroke:#D9BE8E;stroke-width:9;stroke-linejoin:round;stroke-dasharray:1000;stroke-dashoffset:1000}
.hx-logo .hl-fill{fill:#FFFFFF;stroke:#FFFFFF;stroke-width:14;stroke-linejoin:round;opacity:0}
.hx-logo .hl-shine{opacity:0}
.hx-play .hx-logo .hl-wipe{animation:hlWipe 1.9s cubic-bezier(.45,.05,.3,1) .15s both}
.hx-play .hx-logo .hl-outline{animation:hlDraw 2s cubic-bezier(.4,.1,.3,1) .15s both, hlFadeOut .5s ease 2.05s both}
.hx-play .hx-logo .hl-fill{animation:hlFill 1.1s ease 1.15s both}
.hx-play .hx-logo .hl-shine{animation:hlShineOn .1s linear 2.2s both}
.hx-play .hx-logo .hl-band{animation:hlShine 1.2s cubic-bezier(.45,.05,.3,1) 2.2s both}
@keyframes hlWipe{from{transform:translateX(0)}to{transform:translateX(6700px)}}
@keyframes hlDraw{to{stroke-dashoffset:0}}
@keyframes hlFadeOut{to{opacity:0}}
@keyframes hlFill{to{opacity:1}}
@keyframes hlShineOn{to{opacity:1}}
@keyframes hlShine{from{transform:translateX(-1400px)}to{transform:translateX(5600px)}}

/* staggered text: words rise out of a mask, then the rest wipes up */
.hx-w{display:inline-block;overflow:hidden;vertical-align:top;padding:0 .08em .14em;margin:0 -.08em -.14em}
.hx-w > span{display:inline-block;transform:translateY(105%);transition:transform .9s cubic-bezier(.2,.8,.2,1) var(--d,0s)}
.hx-play .hx-w > span{transform:none}
.hx-up{clip-path:inset(0 0 100% 0);transform:translateY(18px);opacity:0;
  transition:clip-path .9s cubic-bezier(.2,.8,.2,1) var(--d,0s),transform .9s cubic-bezier(.2,.8,.2,1) var(--d,0s),opacity .5s ease var(--d,0s)}
.hx-play .hx-up{clip-path:inset(-20% -10% -40% -10%);transform:none;opacity:1}

@media (prefers-reduced-motion:reduce){
  .hx-intro .hx-bg-img,.hx-play .hx-logo *{animation:none !important}
  .hx-w > span,.hx-up{transition:none}
}
#home h1 .hx-w,#home h1 .hx-w > span{color:inherit !important}
/* keep the moving photo inside Home, so it never shows through at the bottom of the page */
.hx-on #home.hero{overflow:clip}
footer{position:relative;z-index:2}
