:root {
  color-scheme: dark;
  background: #070504;
}

* {
  box-sizing: border-box;
}

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

body {
  background: #000;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 4rem);
}

.logo-stage {
  position: relative;
  width: min(86vw, 40rem);
  aspect-ratio: 1;
  max-height: calc(100vh - 3rem);
  display: grid;
  place-items: center;
}

.brand-logo,
.brand-video {
  width: 100%;
  max-width: 100%;
  max-height: calc(100vh - 3rem);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1.25rem 3rem rgba(0, 0, 0, 0.55));
}

.brand-video {
  position: absolute;
  inset: 0;
  height: 100%;
}

.brand-logo-fallback {
  opacity: 0;
}

.logo-stage--fallback .brand-video {
  display: none;
}

.logo-stage--fallback .brand-logo-fallback {
  opacity: 1;
}

.logo-stage--video-ready .brand-logo-fallback {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .brand-video {
    display: none;
  }

  .brand-logo-fallback {
    opacity: 1;
  }
}
