:root {
  color-scheme: dark;
  background: #030610;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  overflow-y: auto;
  background: #030610;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  background: url("./assets/poster.jpg") center / cover no-repeat;
  filter: blur(26px);
  transform: scale(1.08);
  opacity: 0.6;
}

body::after {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 18%, rgb(255 230 150 / 12%), transparent 38%),
    linear-gradient(180deg, rgb(3 6 16 / 38%), rgb(3 6 16 / 72%));
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: transparent;
}

.video-stage {
  position: relative;
  width: min(100vw, calc(100vh * 9 / 16), 720px);
  width: min(100vw, calc(100svh * 9 / 16), 720px);
  aspect-ratio: 9 / 16;
  max-height: 100vh;
  max-height: 100svh;
  overflow: hidden;
  background: #000;
}

.promo-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.cta-hotspot {
  position: absolute;
  left: 18%;
  top: 86.5%;
  width: 64%;
  height: 11%;
  display: block;
  border-radius: 999px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgb(255 255 255 / 18%);
}

.cta-hotspot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: rgb(255 255 255 / 12%);
  box-shadow: 0 0 28px rgb(255 224 120 / 35%);
  transition: opacity 160ms ease;
}

.cta-hotspot:hover::after,
.cta-hotspot:focus-visible::after {
  opacity: 1;
}

.cta-hotspot:focus-visible {
  outline: 3px solid #fff2a8;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 360px) {
  .cta-hotspot {
    left: 16%;
    top: 86%;
    width: 68%;
    height: 11.5%;
  }
}

@media (min-width: 900px) {
  .page-shell {
    place-items: start center;
  }

  .video-stage {
    width: min(92vw, 720px, max(520px, calc(100svh * 0.78)));
    max-height: none;
  }
}
