/* az-intro.css - homepage hero size and the full-screen intro video (az-hero-video.js).
   Pictures, lens dial and focus transitions: az-hero-lens.css. */

/* ---------- hero: exactly one screen, nothing in it but the pictures ---------- */
main>.az-hero.az-hero-centered,
.az-header-transparent~main .az-hero.az-hero-centered{display:block;width:100%;height:100vh;height:100dvh;min-height:0!important;max-height:none;margin:0!important;padding:0!important;aspect-ratio:auto;background:#0c0a09;overflow:hidden}
main>.az-hero{top:0}

/* ---------- intro: the video layer covers everything; the page cannot scroll ---------- */
html.az-intro,html.az-intro body{overflow:hidden!important;overscroll-behavior:none;background:#0c0a09}
/* until the video layer is in place (the intro script is deferred), show nothing but the dark background */
html.az-intro:not(.az-intro-on) #root{visibility:hidden}
.az-intro-layer{position:fixed;inset:0;z-index:2147483600;width:100vw;height:100vh;height:100dvh;background:#0c0a09;overflow:hidden;opacity:1;transition:opacity .6s ease;touch-action:none}
.az-intro-layer video{display:block;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none}
.az-intro-layer.az-intro-out{opacity:0}
/* header, dial and arrow stay hidden until the video has ended, then fade in */
html.az-intro .az-site-header,html.az-intro .azl-dial,html.az-intro .azl-down{opacity:0!important;visibility:hidden!important}
html.az-intro-reveal .az-site-header{animation:azIntroIn .6s ease .1s both}
html.az-intro-reveal .azl-dial{animation:azIntroIn .6s ease .35s both}
html.az-intro-reveal .azl-down{animation:azIntroIn .6s ease .6s both}
@keyframes azIntroIn{from{opacity:0}to{opacity:1}}

/* Header over the hero on phones and tablets too (it was a solid bar above the picture) */
@media (max-width:1023px){
 .az-site-header.az-header-transparent{position:absolute;top:0;left:0;right:0;z-index:50;background:transparent}
 .az-site-header.az-header-transparent .az-brand-group>a,
 .az-site-header.az-header-transparent .az-brand-group>a span{color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.45)}
 .az-site-header.az-header-transparent button[aria-label="Menu"]{color:#fff;border-color:rgba(255,255,255,.75);background:rgba(13,15,13,.2)}
}

@media (prefers-reduced-motion:reduce){
 .az-intro-layer{transition:none}
 html.az-intro-reveal .az-site-header,html.az-intro-reveal .azl-dial,html.az-intro-reveal .azl-down{animation:none}
}
