.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 720px;
  min-height: 100vh;
  min-height: 100dvh;
  pointer-events: none;
  color: var(--finisher-color);
  background: var(--background-color);
}
@media (min-width: 1500px) {
  .hero { min-height: 800px; }
}
@media (min-width: 1700px) {
  .hero { min-height: 900px; }
}

.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-width: 420px;
  overflow: hidden;
  background:
    linear-gradient(
      to bottom,
      color-mix(in srgb, var(--noir) 18%, transparent) 0%,
      color-mix(in srgb, var(--stone) 8%, transparent) 18%,
      transparent 38%
    ),
    radial-gradient(
      ellipse 55% 70% at 82% 18%,
      color-mix(in srgb, var(--spark) 25%, transparent),
      transparent 70%
    ),
    radial-gradient(
      ellipse 45% 55% at 12% 78%,
      color-mix(in srgb, var(--stone) 18%, transparent),
      transparent 65%
    ),
    radial-gradient(
      ellipse 40% 45% at 55% 40%,
      color-mix(in srgb, var(--finisher-color) 30%, transparent),
      transparent 70%
    ),
    var(--background-color);
}
@media (min-width: 640px) {
  .hero__scene { min-width: 1000px; }
}

.hero__doors {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 0;
  display: flex;
  width: 100%;
  max-width: 1440px;
  height: 100%;
  min-width: 1024px;
  margin-inline: auto;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero__door {
  position: absolute;
  width: 413px;
  height: 964px;
  max-width: none;
  will-change: transform;
  user-select: none;
}

.hero__door--1 {
  left: -16rem;
  top: -605px;
  z-index: 30;
}
.hero__door--2 {
  left: -7rem;
  top: -600px;
  z-index: 40;
}
.hero__door--3 {
  left: -133px;
  top: -20rem;
  z-index: 20;
}
.hero__door--4 {
  left: 200px;
  top: -555px;
  z-index: 30;
}
.hero__door--5 {
  left: 350px;
  top: -20px;
  z-index: 40;
}
.hero__door--6 {
  left: 512px;
  top: -525px;
  z-index: 50;
}
.hero__door--7 {
  left: 825px;
  top: -15px;
  z-index: 40;
}
.hero__door--8 {
  left: 685px;
  top: -330px;
  z-index: 30;
}
.hero__door--9 {
  left: 1150px;
  top: -550px;
  z-index: 50;
}
@media (min-width: 640px) {
  .hero__door--1 { left: -18rem; top: -575px; }
  .hero__door--3 { top: -12rem; }
  .hero__door--4 { top: -525px; }
}

.animate-up { animation: hero-door-up 6s ease-in-out infinite; }
.animate-down { animation: hero-door-down 6s ease-in-out infinite; }

@keyframes hero-door-up {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
@keyframes hero-door-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(15px); }
}

.hero__content-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 105rem;
  margin-inline: auto;
  padding: 6rem 2rem 5.5rem;
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero__content-wrap {
    padding: 7rem 4.5rem 6rem;
  }
}
.hero__brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.5rem + 2.7vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text-color);
}
.hero__title {
  max-width: 16ch;
  margin: 0 0 1.75rem;
  font-size: clamp(2.8rem, 1.7rem + 3.8vw, 5.2rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.05em;
  color: var(--text-color);
}

.hero__lead {
  margin: 0;
  max-width: 42ch;
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.2rem);
  line-height: 1.55;
  color: var(--text-color);
  font-weight: 300;
}

.hero__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 40rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--text-color) 18%, transparent);
}
@media (min-width: 768px) {
  .hero__meta {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    max-width: none;
    gap: 2.5rem;
    padding-top: 2rem;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  pointer-events: auto;
}

@media (max-width: 639px) {
  .hero__doors { min-width: 720px; }
  .hero__actions { width: 100%; }
}

.hero-enter .hero__brand,
.hero-enter .hero__title,
.hero-enter .hero__meta {
  animation: hero-rise 0.8s var(--ease-out) both;
}
.hero-enter .hero__brand { animation-delay: 0.08s; }
.hero-enter .hero__title { animation-delay: 0.18s; }
.hero-enter .hero__meta { animation-delay: 0.28s; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  transform: translateX(-50%);
  pointer-events: auto;
  color: var(--accent-color);
  text-decoration: none;
  opacity: 0.85;
}
.hero__scroll span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--finisher-color);
}
.hero__scroll-mouse {
  font-size: 0;
  letter-spacing: 0;
  text-transform: none;
  width: 1.35rem;
  height: 2.15rem;
  border: 1.5px solid color-mix(in srgb, var(--text-color) 35%, transparent);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 0.4rem;
  color: inherit;
}
.hero__scroll-mouse i {
  display: block;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--accent-color);
  animation: hero-scroll-dot 1.6s var(--ease-in-out) infinite;
}
@keyframes hero-scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (max-width: 639px) {
  .hero__scroll {
    display: none;
  }
}

.elementor-widget-shortcode .hero,
.elementor-shortcode .hero {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}

@media (prefers-reduced-motion: reduce) {
  .animate-up,
  .animate-down,
  .hero-enter .hero__brand,
  .hero-enter .hero__title,
  .hero-enter .hero__meta,
  .hero__scroll-mouse i {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}