:root {
  color-scheme: dark;
  background: #160b05;
}

* {
  box-sizing: border-box;
}

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

body {
  overflow: hidden;
  background: #160b05;
}

.stage {
  position: relative;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.portrait {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: #241004;
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 6, 2, .05) 35%, rgba(13, 6, 2, .33) 100%),
    linear-gradient(0deg, rgba(13, 6, 2, .14), transparent 35%);
}

.portrait img {
  width: 100%;
  height: 100%;
  display: block;
  opacity: .77;
  object-fit: cover;
  object-position: 50% 21%;
}

.brand {
  position: absolute;
  z-index: 2;
  top: 72%;
  left: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: min(28vw, calc(25rem - 1cm));
  min-width: 18rem;
  padding: 0;
  animation: settle 850ms cubic-bezier(.2, .75, .2, 1) both;
}

.brand::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -4% -8% -3%;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 54%,
    rgba(0, 0, 0, .7) 0%,
    rgba(0, 0, 0, .48) 48%,
    rgba(0, 0, 0, .18) 70%,
    transparent 82%
  );
  filter: blur(.55rem);
}

.logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: 72svh;
  object-fit: contain;
  filter:
    drop-shadow(0 1rem 1.4rem rgba(13, 6, 2, .42))
    contrast(1.04)
    saturate(1.02);
  user-select: none;
  -webkit-user-drag: none;
}

.coming {
  position: relative;
  z-index: 1;
  display: block;
  width: 88%;
  height: auto;
  margin: .15rem 0 0;
  overflow: visible;
  fill: #f7d693;
  filter: drop-shadow(0 .18rem .35rem rgba(13, 6, 2, .9));
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 58px;
  font-weight: 900;
}

@keyframes settle {
  from { transform: translateY(1rem) scale(.985); }
  to { transform: translateY(0) scale(1); }
}

.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: 900px) {
  .portrait img {
    height: calc(100% + 3rem);
    transform: translateY(-3rem);
    object-position: 49% 50%;
  }

  .portrait::after {
    background: linear-gradient(0deg, rgba(13, 6, 2, .46), transparent 55%);
  }

  .brand {
    top: calc(50% + 1cm);
    left: 50%;
    translate: -50% -50%;
    width: min(72vw, 24rem);
    min-width: 0;
    padding: 0;
  }

  .logo {
    width: 100%;
    max-height: 32svh;
  }

  .coming {
    margin-top: .1rem;
  }

}

@media (max-height: 650px) and (min-width: 901px) {
  .brand {
    top: 67%;
    width: min(25vw, calc(20rem - 1cm));
  }

  .logo {
    max-height: 50svh;
  }
}

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