:root {
  color-scheme: light;
  background: #008fe8;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #008fe8;
}

body {
  min-height: 100svh;
}

.landing {
  position: relative;
  isolation: isolate;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  min-height: 34rem;
  overflow: hidden;
  background: #008fe8;
}

.background {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  overflow: hidden;
  background: #008fe8;
}

.background img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: none;
}

.atmosphere {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 43%, rgb(255 255 255 / 7%), transparent 35%),
    linear-gradient(to bottom, rgb(0 54 116 / 6%), transparent 24%, transparent 76%, rgb(0 27 55 / 12%));
}

.brand-stage {
  position: absolute;
  top: 47%;
  left: 50%;
  width: min(33vw, 31.5rem);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 1.4rem 1.25rem rgb(0 30 65 / 28%));
  will-change: transform;
}

.brand-stage picture {
  display: block;
  width: 100%;
}

.floating-logo {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: 50% 62%;
  animation: float 5.2s ease-in-out infinite;
  will-change: transform;
}

.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;
}

@keyframes float {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-0.65deg) scale(1);
  }
  50% {
    transform: translate3d(0, -0.9rem, 0) rotate(0.65deg) scale(1.012);
  }
}

@media (min-aspect-ratio: 16 / 9) {
  .brand-stage {
    width: min(30vw, 31.5rem);
    top: 46%;
  }
}

@media (max-width: 700px) {
  .landing {
    min-height: 31rem;
  }

  .background img {
    object-fit: cover;
    object-position: 50% 50%;
    transform: none;
  }

  .atmosphere {
    background:
      radial-gradient(circle at 50% 28%, rgb(255 255 255 / 9%), transparent 34%),
      linear-gradient(to bottom, rgb(0 61 126 / 4%), transparent 62%, rgb(0 27 55 / 10%));
  }

  .brand-stage {
    top: 45%;
    width: min(78vw, 25rem);
    filter: drop-shadow(0 0.85rem 0.75rem rgb(0 30 65 / 26%));
  }

  @keyframes float {
    0%, 100% {
      transform: translate3d(0, 0, 0) rotate(-0.45deg) scale(1);
    }
    50% {
      transform: translate3d(0, -0.55rem, 0) rotate(0.45deg) scale(1.008);
    }
  }
}

@media (max-width: 700px) and (max-height: 670px) {
  .brand-stage {
    top: 44%;
    width: min(72vw, 23rem);
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  .brand-stage {
    top: 46%;
    width: min(36vw, 24rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-logo {
    animation: none;
  }
}
