/* Home opening: the Anté film (/film/) full screen, then the hero reveals. Loaded on the home page only. */
:root{--e:cubic-bezier(.16,1,.3,1)}
.intro,.intro-skip{display:none}
html.intro-on{scrollbar-gutter:stable}
html.intro-on:not(.intro-done){overflow:hidden}
html.intro-on:not(.intro-done) .intro,html.intro-on:not(.intro-done) .intro-skip{display:block}
.intro{position:fixed;inset:0;z-index:90;background:var(--spruce);clip-path:inset(0)}
.intro iframe{display:block;width:100%;height:100%;border:0;pointer-events:none}
.intro-skip{position:fixed;bottom:24px;right:24px;z-index:101;padding:10px 16px;border:1px solid var(--white);border-radius:var(--radius-btn);background:none;color:var(--white);mix-blend-mode:difference;font:500 12px/1 'JetBrains Mono',monospace;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}
.intro-skip:focus-visible{outline:2px solid var(--frosted);outline-offset:3px}
html.intro-out .intro{animation:curtain .7s cubic-bezier(.76,0,.24,1) forwards}
html.intro-out .intro-skip{animation:fade .2s forwards}
/* the translucent nav stays on top of the film; a bit more opaque so it reads on every scene colour */
html.intro-on:not(.intro-done) .nav{background:rgba(255,255,255,.72)}
/* the real hero is revealed under the curtain */
html.intro-on:not(.intro-done) .hero .reveal{opacity:1;transform:none;transition:none}
html.intro-on:not(.intro-done) .hero-headline{overflow:hidden;padding:0 .1em .16em;margin-inline:-.1em;margin-bottom:calc(var(--space-stack) - .16em)}
html.intro-on:not(.intro-done) .hl-line{transform:translateY(110%)}
html.intro-on:not(.intro-done) .hero-subhead,html.intro-on:not(.intro-done) .hero .btn-group{opacity:0}
html.intro-out .hl-line{animation:up .6s var(--e) .2s forwards}
html.intro-out .hero-subhead{animation:rise .5s var(--e) .28s forwards}
html.intro-out .hero .btn-group{animation:rise .5s var(--e) .36s forwards}
@keyframes up{to{transform:none}}
@keyframes rise{from{transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes fade{to{opacity:0;visibility:hidden}}
@keyframes curtain{to{clip-path:inset(0 0 100% 0);visibility:hidden}}
