.nv-parallax-hero {
  --nv-hero-ink: #050200;
  --nv-hero-white: #fff;
  --nv-hero-amber: #ff9a1a;
  --nv-hero-amber-soft: #ffc060;

  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  min-height: 520px;
  height: clamp(520px, 100vh, 900px);
  height: clamp(520px, 100svh, 900px);
  overflow: hidden;
  isolation: isolate;
  background: var(--nv-hero-ink);
  color: var(--nv-hero-white);
  font-family: Montserrat, Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  border-bottom: 1px solid rgba(255, 154, 26, 0.18);
}

body:not(.home) #content-wrap {
  padding-top: 24px !important;
}

@media (max-width: 767px) {
  body:not(.home) #content-wrap {
    padding-top: 16px !important;
  }
}

.nv-parallax-hero .parallax-stage,
.nv-parallax-hero .parallax-plane,
.nv-parallax-hero .parallax-plane > img,
.nv-parallax-hero .scene-shade {
  position: absolute;
  inset: 0;
}

.nv-parallax-hero .parallax-stage {
  perspective: 1400px;
  perspective-origin: 50% 46%;
  transform-style: preserve-3d;
}

.nv-parallax-hero .parallax-plane {
  display: block;
  pointer-events: none;
  transform-origin: 50% 52%;
  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: hidden;
}

.nv-parallax-hero .parallax-plane > img,
.nv-parallax-hero img.parallax-plane {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nv-parallax-hero .scene-back {
  z-index: 1;
  inset: -2.5%;
}

.nv-parallax-hero .scene-back > img {
  object-fit: cover;
}

.nv-parallax-hero .scene-energy {
  z-index: 2;
  width: 54%;
  height: 92%;
  left: auto;
  right: -1%;
  top: 2%;
  opacity: 0.28;
}

.nv-parallax-hero .hero-brand {
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  top: auto;
  bottom: clamp(14px, 2.5vh, 30px);
  width: auto;
  margin: 0;
  color: var(--nv-hero-amber-soft);
  font-size: clamp(72px, 10.5vw, 164px);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -0.045em;
  white-space: nowrap;
  text-align: center;
  pointer-events: none;
}

.nv-parallax-hero .scene-portrait {
  z-index: 4;
  width: 74%;
  height: 108%;
  left: 50%;
  right: auto;
  top: auto;
  margin-left: -37%;
  bottom: -4%;
}

.nv-parallax-hero .scene-portrait > img {
  object-position: center bottom;
}

.nv-parallax-hero .scene-front {
  z-index: 5;
  object-fit: cover;
  opacity: 0.38;
}

.nv-parallax-hero .scene-shade {
  z-index: 8;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 2, 0, 0.55) 0%, transparent 42%),
    linear-gradient(0deg, rgba(5, 2, 0, 0.55) 0%, transparent 28%),
    radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(5, 2, 0, 0.28) 100%);
}

.nv-parallax-hero .hero-copy {
  position: absolute;
  z-index: 12;
  left: clamp(28px, 6vw, 112px);
  top: clamp(13%, 18vh, 23%);
  width: min(35vw, 500px);
  pointer-events: none;
}

.nv-parallax-hero .hero-eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--nv-hero-amber);
  font-size: clamp(10px, 0.9vw, 13px);
  font-weight: 600;
  letter-spacing: 0.38em;
}

.nv-parallax-hero .hero-copy h1,
.nv-parallax-hero .hero-copy .nv-hero-heading {
  margin: 0 0 18px;
  color: var(--nv-hero-white);
  font-size: clamp(52px, 5.7vw, 84px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.nv-parallax-hero .hero-copy p:not(.nv-hero-heading) {
  margin: 0;
  color: rgba(255, 220, 175, 0.68);
  font-size: clamp(8px, 0.8vw, 11px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.22em;
}

@media (max-width: 768px) {
  .nv-parallax-hero {
    min-height: 480px;
    height: clamp(480px, 92svh, 760px);
  }

  .nv-parallax-hero .parallax-stage {
    perspective: 1800px;
  }

  .nv-parallax-hero .scene-back {
    inset: -1.5%;
  }

  .nv-parallax-hero .scene-energy {
    width: 112%;
    height: 58%;
    right: -22%;
    top: 20%;
    opacity: 0.22;
  }

  .nv-parallax-hero .scene-portrait {
    width: 136%;
    height: 96%;
    left: 50%;
    right: auto;
    margin-left: -68%;
    top: auto;
    bottom: -4%;
  }

  .nv-parallax-hero .scene-portrait > img {
    object-position: center bottom;
  }

  .nv-parallax-hero .scene-front {
    opacity: 0.28;
  }

  .nv-parallax-hero .scene-shade {
    background:
      linear-gradient(180deg, rgba(5, 2, 0, 0.5) 0%, transparent 26%),
      linear-gradient(0deg, rgba(5, 2, 0, 0.68) 0%, transparent 35%);
  }

  .nv-parallax-hero .hero-copy {
    left: 18px;
    right: 18px;
    top: max(16px, env(safe-area-inset-top, 16px));
    width: auto;
  }

  .nv-parallax-hero .hero-eyebrow {
    margin-bottom: 10px;
    font-size: 9px;
  }

  .nv-parallax-hero .hero-copy h1,
.nv-parallax-hero .hero-copy .nv-hero-heading {
    margin-bottom: 10px;
    font-size: clamp(36px, 11.5vw, 48px);
    line-height: 0.91;
  }

  .nv-parallax-hero .hero-copy p:not(.nv-hero-heading) {
    max-width: 92%;
    font-size: 7px;
    line-height: 1.55;
    letter-spacing: 0.14em;
  }

  .nv-parallax-hero .hero-brand {
    z-index: 10;
    left: 0;
    right: 0;
    top: auto;
    bottom: max(12px, env(safe-area-inset-bottom, 12px));
    color: var(--nv-hero-amber-soft);
    font-size: clamp(36px, 14vw, 58px);
  }
}

@media (max-width: 400px) {
  .nv-parallax-hero .hero-copy h1,
.nv-parallax-hero .hero-copy .nv-hero-heading {
    font-size: clamp(33px, 11vw, 42px);
  }

  .nv-parallax-hero .hero-brand {
    font-size: clamp(30px, 14vw, 48px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nv-parallax-hero .parallax-plane {
    will-change: auto;
  }
}
