:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  background: #260824;
  color: #fff;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 20rem;
}

.poster {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgb(190 32 133 / 38%), transparent 38rem),
    linear-gradient(180deg, #3f0b45 0%, #6b1a5d 58%, #430b39 100%);
}

.poster::before {
  position: absolute;
  z-index: -1;
  inset: -20%;
  content: "";
  background: radial-gradient(circle at 50% 52%, rgb(231 61 160 / 18%), transparent 35%);
  animation: atmosphere 16s ease-in-out infinite alternate;
}

.hero {
  align-self: center;
  justify-items: center;
  width: min(100%, 56rem);
  margin-inline: auto;
  padding: clamp(3.5rem, 9vh, 7rem) clamp(1.25rem, 5vw, 3rem) 2.5rem;
  text-align: center;
}

.brand,
.hero__car,
h1 {
  animation: arrive 700ms cubic-bezier(.2, .75, .25, 1) both;
}

.brand {
  margin: 0 0 clamp(1.5rem, 4vh, 2.75rem);
  font-size: clamp(.78rem, 1.4vw, .95rem);
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  animation-delay: 80ms;
}

.hero__car {
  display: block;
  width: min(34rem, 88vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1.25rem 1.7rem rgb(12 2 12 / 28%));
  animation-delay: 150ms;
}

h1 {
  margin: clamp(1.35rem, 4vh, 2.4rem) 0 0;
  font-size: clamp(2.35rem, 5.5vw, 4.2rem);
  line-height: .98;
  letter-spacing: -.035em;
  text-transform: uppercase;
  text-wrap: balance;
  animation-delay: 220ms;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes atmosphere {
  from {
    transform: translate3d(-2%, -1%, 0) scale(.96);
  }
  to {
    transform: translate3d(2%, 1%, 0) scale(1.04);
  }
}

@media (max-width: 35rem) {
  .hero {
    padding-top: 2.75rem;
  }

  .brand {
    letter-spacing: .22em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poster::before,
  .brand,
  .hero__car,
  h1 {
    animation: none;
  }
}
