/* One continuous base colour removes the seam below the native video. */
.intro-surface{background:#20212e}
.hero>.hero-video{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;pointer-events:none;opacity:1;mask-image:none;-webkit-mask-image:none}
.intro-surface .hero>picture{z-index:1;visibility:visible;opacity:1;mask-image:none;-webkit-mask-image:none;pointer-events:none}
.intro-surface .hero .hero-photo{object-fit:cover;object-position:50% 50%}
.hero.video-ready>picture{opacity:0}
.intro-surface .hero .hero-shade{z-index:2;mask-image:none;-webkit-mask-image:none;background:linear-gradient(90deg,#08090c99,transparent 85%)}
.intro-surface .hero .hero-shade::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 35%,#20212e 100%);pointer-events:none}
.hero .hero-content,.hero .scroll-cue{z-index:3}
@media(min-width:701px){
.hero-lights{position:absolute;left:0;right:0;bottom:-130px;height:330px;pointer-events:none;z-index:2;isolation:isolate}.hero-lights i{display:block;position:absolute;width:38%;height:75%;border-radius:50%;filter:blur(45px);mix-blend-mode:screen;opacity:.65;will-change:transform}
.hero-lights i:nth-child(1){left:-5%;top:0;background:radial-gradient(ellipse,#ff284b 0%,#ff284b00 68%);animation:light-red 13s ease-in-out infinite alternate}
.hero-lights i:nth-child(2){left:20%;top:23%;background:radial-gradient(ellipse,#ed49be 0%,#ed49be00 68%);animation:light-pink 17s ease-in-out -6s infinite alternate}
.hero-lights i:nth-child(3){left:42%;top:-5%;background:radial-gradient(ellipse,#8055ff 0%,#8055ff00 68%);animation:light-violet 15s ease-in-out -4s infinite alternate}
.hero-lights i:nth-child(4){left:67%;top:12%;background:radial-gradient(ellipse,#2eabff 0%,#2eabff00 68%);animation:light-blue 19s ease-in-out -9s infinite alternate}
.hero-lights i:nth-child(5){left:28%;top:5%;width:25%;height:55%;opacity:.45;background:radial-gradient(ellipse,#ffcc73 0%,#ffcc7300 68%);animation:light-gold 21s ease-in-out -13s infinite alternate}
@keyframes light-red{from{transform:translate(-12%,15%) scale(.8,1.1)}to{transform:translate(50%,-15%) scale(1.35,.8)}}
@keyframes light-pink{from{transform:translate(30%,20%) scale(1.1,.7)}to{transform:translate(-35%,-28%) scale(.8,1.2)}}
@keyframes light-violet{from{transform:translate(-28%,-10%) scale(.75,1.1)}to{transform:translate(35%,35%) scale(1.2,.8)}}
@keyframes light-blue{from{transform:translate(10%,22%) scale(1.2,.85)}to{transform:translate(-45%,-25%) scale(.85,1.2)}}
@keyframes light-gold{from{transform:translate(-40%,10%) scale(.6)}to{transform:translate(95%,35%) scale(1.3)}}
}

/* A small visible control inside a finger-sized hit area. */
.hero>.hero-video-toggle{position:absolute;z-index:4;right:12px;top:8px;left:auto;transform:none;display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:0;border-radius:50%;color:#fff;background:transparent;cursor:pointer;opacity:.8;transition:opacity .2s}
.hero-video-toggle::before{content:"";position:absolute;width:20px;height:20px;border:1px solid #ffffff85;border-radius:50%;background:#15182080;pointer-events:none}
.hero-video-toggle:hover{opacity:1}.hero-video-toggle:focus-visible{outline:2px solid white;outline-offset:1px}.hero-video-toggle svg{position:relative;width:9px;height:9px;fill:currentColor}.video-pause-icon,.video-playing .video-play-icon{display:none}.video-playing .video-pause-icon{display:block}
.effects-sleeping,.effects-sleeping::before,.effects-sleeping::after,.effects-sleeping *,.effects-sleeping *::before,.effects-sleeping *::after,.page-hidden *,.page-hidden *::before,.page-hidden *::after{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.hero-video-toggle{transition:none}.hero-lights i{animation:none;will-change:auto}}
/* 80% of the original horizontal frame: trim 10% from either side. */
@media(max-width:700px){
  .hero .hero-lights{position:absolute;z-index:2;left:-15%;right:-15%;bottom:-170px;height:340px;pointer-events:none;background:url('/assets/light-stream.svg') center/100% 100% no-repeat,radial-gradient(ellipse at 22% 50%,#fa344d70,transparent 42%),radial-gradient(ellipse at 42% 50%,#f4bd4560,transparent 38%),radial-gradient(ellipse at 66% 50%,#286dff85,transparent 42%),radial-gradient(ellipse at 83% 50%,#36bfff60,transparent 38%);filter:blur(14px) saturate(1.45);opacity:.85}
  .hero-lights i{display:none}
  .intro-surface .hero{display:block;height:auto;min-height:0;max-height:none;padding-top:calc(100vw * 45 / 64 - 24px)}
  .intro-surface .hero>.hero-video,.intro-surface .hero>picture,.intro-surface .hero>.hero-shade{height:calc(100vw * 45 / 64);bottom:auto}
  .intro-surface .hero .hero-photo{width:100%;height:100%;object-fit:cover;object-position:center}
  .intro-surface .hero>.hero-shade{background:none}
  .intro-surface .hero .hero-shade::after{background:linear-gradient(transparent 65%,#20212e 100%)}
  .intro-surface .hero .hero-content{padding-top:0;padding-bottom:68px}
  .intro-surface .hero .hero-lights{top:calc(100vw * 45 / 64 - 120px);bottom:auto;height:240px}
  .hero>.hero-video-toggle{right:6px;top:4px}
}
