.nexus-mti-hero {
  --nexus-mti-navy: #071b34;
  --nexus-mti-blue: #0d3768;
  --nexus-mti-teal: #03989e;
  --nexus-mti-gold: #f8b51f;
  --nexus-mti-white: #ffffff;
  --nexus-mti-muted: rgba(255, 255, 255, 0.78);
  --nexus-mti-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 27, 52, 0.98) 0%, rgba(7, 27, 52, 0.93) 52%, rgba(3, 152, 158, 0.22) 100%),
    var(--nexus-mti-navy);
  color: var(--nexus-mti-white);
  min-height: 660px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.nexus-mti-hero::before {
  background:
    radial-gradient(circle at 78% 30%, rgba(248, 181, 31, 0.22), transparent 15%),
    linear-gradient(120deg, transparent 0%, transparent 56%, rgba(3, 152, 158, 0.18) 56%, rgba(3, 152, 158, 0.18) 69%, transparent 69%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.nexus-mti-hero__viewport {
  min-height: 660px;
  position: relative;
  z-index: 2;
}

.nexus-mti-hero__slide {
  background:
    linear-gradient(135deg, rgba(3, 152, 158, 0.16), rgba(248, 181, 31, 0.18)),
    var(--nexus-mti-bg, var(--nexus-mti-navy));
  inset: 0;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  transform: translateX(28px);
  transition: opacity 680ms ease, transform 680ms ease, visibility 680ms ease;
  visibility: hidden;
}

.nexus-mti-hero__slide::before {
  background: linear-gradient(90deg, var(--nexus-mti-gradient-start, rgba(7, 27, 52, 0.96)) 0%, rgba(7, 27, 52, 0.84) 52%, var(--nexus-mti-gradient-end, rgba(3, 152, 158, 0.22)) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.nexus-mti-hero__background {
  background-image: var(--nexus-mti-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  inset: -3%;
  opacity: 1;
  pointer-events: none;
  position: absolute;
  transform: scale(1.02);
  transform-origin: center;
  z-index: 0;
}

.nexus-mti-hero__slide.is-active .nexus-mti-hero__background--fade-in {
  animation: nexusHeroImageFadeIn var(--nexus-mti-image-animation-duration, 6500ms) ease both;
}

.nexus-mti-hero__slide.is-active .nexus-mti-hero__background--fade-out {
  animation: nexusHeroImageFadeOut var(--nexus-mti-image-animation-duration, 6500ms) ease both;
}

.nexus-mti-hero__slide.is-active .nexus-mti-hero__background--zoom-in {
  animation: nexusHeroImageZoomIn var(--nexus-mti-image-animation-duration, 6500ms) ease-out both;
}

.nexus-mti-hero__slide.is-active .nexus-mti-hero__background--zoom-out {
  animation: nexusHeroImageZoomOut var(--nexus-mti-image-animation-duration, 6500ms) ease-out both;
}

.nexus-mti-hero__slide.is-active .nexus-mti-hero__background--pan-left {
  animation: nexusHeroImagePanLeft var(--nexus-mti-image-animation-duration, 6500ms) ease-in-out both;
}

.nexus-mti-hero__slide.is-active .nexus-mti-hero__background--pan-right {
  animation: nexusHeroImagePanRight var(--nexus-mti-image-animation-duration, 6500ms) ease-in-out both;
}

.nexus-mti-hero__slide.is-active .nexus-mti-hero__background--kenburns {
  animation: nexusHeroImageKenBurns var(--nexus-mti-image-animation-duration, 6500ms) ease-in-out both;
}

.nexus-mti-hero__slide.is-active .nexus-mti-hero__background--pulse {
  animation: nexusHeroImagePulse var(--nexus-mti-image-animation-duration, 6500ms) ease-in-out both;
}

.nexus-mti-hero__slide.is-active {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

.nexus-mti-hero__video {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: 0;
}

@keyframes nexusHeroImageFadeIn {
  from {
    opacity: 0;
    transform: scale(1.04);
  }

  to {
    opacity: 1;
    transform: scale(1.02);
  }
}

@keyframes nexusHeroImageFadeOut {
  from {
    opacity: 1;
    transform: scale(1.02);
  }

  to {
    opacity: 0.46;
    transform: scale(1.08);
  }
}

@keyframes nexusHeroImageZoomIn {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.16);
  }
}

@keyframes nexusHeroImageZoomOut {
  from {
    transform: scale(1.16);
  }

  to {
    transform: scale(1.02);
  }
}

@keyframes nexusHeroImagePanLeft {
  from {
    transform: translateX(3%) scale(1.1);
  }

  to {
    transform: translateX(-3%) scale(1.1);
  }
}

@keyframes nexusHeroImagePanRight {
  from {
    transform: translateX(-3%) scale(1.1);
  }

  to {
    transform: translateX(3%) scale(1.1);
  }
}

@keyframes nexusHeroImageKenBurns {
  0% {
    transform: translate3d(2%, 1%, 0) scale(1.04);
  }

  100% {
    transform: translate3d(-2%, -1%, 0) scale(1.17);
  }
}

@keyframes nexusHeroImagePulse {
  0%,
  100% {
    transform: scale(1.03);
  }

  50% {
    transform: scale(1.1);
  }
}

.nexus-mti-hero__inner {
  align-items: center;
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1240px;
  min-height: 660px;
  padding: 92px 24px 108px;
  position: relative;
  z-index: 2;
}

.nexus-mti-hero__content {
  max-width: 820px;
}

.nexus-mti-hero__eyebrow {
  color: var(--nexus-mti-accent, var(--nexus-mti-gold));
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.nexus-mti-hero__title {
  color: var(--nexus-mti-white);
  font-size: clamp(2.8rem, 6vw, 5.35rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0 0 24px;
  max-width: 900px;
}

.nexus-mti-hero__lead {
  border-left: 4px solid var(--nexus-mti-accent, var(--nexus-mti-teal));
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  font-weight: 750;
  line-height: 1.45;
  margin: 0 0 18px;
  max-width: 740px;
  padding-left: 22px;
}

.nexus-mti-hero__description {
  color: var(--nexus-mti-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0 0 30px;
  max-width: 700px;
}

.nexus-mti-hero__button {
  align-items: center;
  background: var(--nexus-mti-button-bg, var(--nexus-mti-accent, var(--nexus-mti-gold)));
  border-radius: var(--nexus-mti-radius);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  color: var(--nexus-mti-button-color, var(--nexus-mti-navy));
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  text-decoration: none;
  transition: filter 180ms ease, transform 180ms ease;
}

.nexus-mti-hero__button:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.nexus-mti-hero__controls {
  align-items: center;
  bottom: 42px;
  display: flex;
  gap: 14px;
  left: max(24px, calc((100vw - 1240px) / 2 + 24px));
  position: absolute;
  z-index: 5;
}

.nexus-mti-hero__arrow,
.nexus-mti-hero__dot {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.nexus-mti-hero__arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--nexus-mti-white);
  display: inline-flex;
  font-size: 1.7rem;
  height: 42px;
  justify-content: center;
  line-height: 1;
  transition: background-color 180ms ease, transform 180ms ease;
  width: 42px;
}

.nexus-mti-hero__arrow:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.nexus-mti-hero__dots {
  align-items: center;
  display: flex;
  gap: 10px;
}

.nexus-mti-hero__dot {
  background: rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  height: 9px;
  padding: 0;
  transition: background-color 180ms ease, width 180ms ease;
  width: 9px;
}

.nexus-mti-hero__dot.is-active {
  background: var(--nexus-mti-accent, var(--nexus-mti-gold));
  width: 34px;
}

@media (max-width: 900px) {
  .nexus-mti-hero,
  .nexus-mti-hero__viewport,
  .nexus-mti-hero__inner {
    min-height: 600px;
  }

  .nexus-mti-hero__inner {
    display: flex;
    padding: 74px 22px 106px;
  }

  .nexus-mti-hero__visual {
    display: none;
  }

  .nexus-mti-hero__controls {
    bottom: 34px;
    left: 22px;
  }
}

@media (max-width: 560px) {
  .nexus-mti-hero,
  .nexus-mti-hero__viewport,
  .nexus-mti-hero__inner {
    min-height: 560px;
  }

  .nexus-mti-hero__inner {
    padding: 58px 20px 98px;
  }

  .nexus-mti-hero__title {
    font-size: clamp(2.35rem, 12vw, 3.45rem);
  }

  .nexus-mti-hero__lead {
    font-size: 1.04rem;
  }

  .nexus-mti-hero__description {
    font-size: 0.96rem;
  }

  .nexus-mti-hero__arrow {
    height: 38px;
    width: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nexus-mti-hero__background,
  .nexus-mti-hero__slide,
  .nexus-mti-hero__button,
  .nexus-mti-hero__arrow,
  .nexus-mti-hero__dot {
    animation: none;
    transition: none;
  }

  .nexus-mti-hero__background {
    opacity: 1;
    transform: scale(1.02);
  }
}
