/* One full-bleed banner — products sit on the right, text overlays the left */

.home-hero {
  --hh-nav: var(--navbar-bar-height, calc(82px * var(--ayenyx-scale, 1)));
  position: relative;
  z-index: 1;
  margin-top: var(--hh-nav);
  color: #fff;
  background: #000;
  font-family: var(--ayenyx-font, 'Outfit', Verdana, sans-serif);
}

.home-hero__banner {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--hh-nav));
  min-height: calc(100vh - var(--hh-nav));
  height: calc(100svh - var(--hh-nav));
  min-height: calc(100svh - var(--hh-nav));
  overflow: hidden;
  background: #000;
}

.home-hero__slides,
.home-hero__slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-hero__slides {
  overflow: hidden;
}

.home-hero__slide {
  opacity: 0;
  z-index: 0;
  visibility: hidden;
  transform: none;
  clip-path: inset(0);
  filter: none;
  transition:
    opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.15s cubic-bezier(0.76, 0, 0.24, 1),
    clip-path 1.15s cubic-bezier(0.76, 0, 0.24, 1),
    filter 1.05s ease;
}

.home-hero__slide.is-active,
.home-hero__slide.is-exit,
.home-hero__slide.is-prep {
  visibility: visible;
}

.home-hero__slide.is-active {
  opacity: 1;
  z-index: 2;
  transform: none;
  clip-path: inset(0);
}

.home-hero__slide.is-exit {
  z-index: 1;
}

.home-hero__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: right center;
  image-rendering: auto;
  image-rendering: high-quality;
  filter: none;
  transform: scale(1.02);
  transform-origin: right center;
  transition: transform 6.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-hero__slide.is-active .home-hero__image {
  transform: scale(1.06);
}

.home-hero__slide.fx-up.is-prep { transform: translate3d(0, 100%, 0); opacity: 1; }
.home-hero__slide.fx-up.is-exit { transform: translate3d(0, -100%, 0); opacity: 1; }
.home-hero__slide.fx-left.is-prep { transform: translate3d(100%, 0, 0); opacity: 1; }
.home-hero__slide.fx-left.is-exit { transform: translate3d(-40%, 0, 0); opacity: 0.4; }
.home-hero__slide.fx-clip.is-prep { clip-path: inset(0 0 0 100%); opacity: 1; }
.home-hero__slide.fx-clip.is-exit { clip-path: inset(0 100% 0 0); opacity: 1; }
.home-hero__slide.fx-zoom.is-prep { transform: scale(1.18); opacity: 0; filter: blur(6px); }
.home-hero__slide.fx-zoom.is-exit { transform: scale(0.94); opacity: 0; filter: blur(4px); }
.home-hero__slide.fx-rise.is-prep { transform: translate3d(0, 14%, 0) scale(1.05); opacity: 0; }
.home-hero__slide.fx-rise.is-exit { transform: translate3d(0, -6%, 0) scale(1.02); opacity: 0; }
.home-hero__slide.fx-split.is-prep { opacity: 1; }
.home-hero__slide.fx-split.is-exit { opacity: 1; }

.home-hero__split {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.home-hero.is-splitting .home-hero__split {
  opacity: 1;
  visibility: visible;
}

.home-hero__split span {
  flex: 1 1 0;
  min-width: 0;
  background: #000;
  transform: scaleY(0);
  transform-origin: bottom center;
  border: 0;
  box-shadow: none;
}

.home-hero.is-splitting .home-hero__split span {
  animation: heroSplit 1.15s cubic-bezier(0.76, 0, 0.24, 1) both;
}

.home-hero.is-splitting .home-hero__split span:nth-child(2) { animation-delay: 0.04s; }
.home-hero.is-splitting .home-hero__split span:nth-child(3) { animation-delay: 0.08s; }
.home-hero.is-splitting .home-hero__split span:nth-child(4) { animation-delay: 0.12s; }
.home-hero.is-splitting .home-hero__split span:nth-child(5) { animation-delay: 0.16s; }
.home-hero.is-splitting .home-hero__split span:nth-child(6) { animation-delay: 0.2s; }
.home-hero.is-splitting .home-hero__split span:nth-child(7) { animation-delay: 0.24s; }

@keyframes heroSplit {
  0% { transform: scaleY(0); transform-origin: bottom center; }
  42% { transform: scaleY(1); transform-origin: bottom center; }
  58% { transform: scaleY(1); transform-origin: top center; }
  100% { transform: scaleY(0); transform-origin: top center; }
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.52) 24%,
    rgba(0, 0, 0, 0.22) 46%,
    rgba(0, 0, 0, 0.06) 68%,
    transparent 100%
  );
}

.home-hero__copy {
  position: absolute;
  z-index: 3;
  left: var(--ayenyx-align, 1.5rem);
  right: var(--ayenyx-align, 1.5rem);
  top: 0;
  bottom: 7.25rem;
  transform: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: auto;
  max-width: 34rem;
  padding: 1.5rem 0 0;
  background: transparent;
}

.home-hero__eyebrow {
  margin: 0 0 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ayenyx-secondary, #fbaa25) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-hero__title {
  margin: 0 0 0.95rem;
  max-width: 18ch;
  color: #fff !important;
  font-size: var(--ayenyx-fs-h1, calc(48px * var(--ayenyx-scale, 1))) !important;
  font-weight: 600 !important;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.home-hero__title::before,
.home-hero__title::after,
.home-hero__title .split-word::before,
.home-hero__title .split-word::after,
.home-hero__title .split-word__inner::before,
.home-hero__title .split-word__inner::after {
  content: none !important;
  display: none !important;
}

.home-hero__title .split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding: 0.06em 0.04em 0.14em 0;
  margin: 0 0 -0.12em;
}

.home-hero__title .split-word__inner {
  display: inline-block;
  will-change: transform;
}

.home-hero__lead {
  margin: 0 0 1.35rem;
  max-width: 44ch;
  color: #d4d4d8 !important;
  font-size: var(--ayenyx-fs-body, calc(15px * var(--ayenyx-scale, 1))) !important;
  line-height: 1.6;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.home-hero__btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.35rem !important;
  border-radius: 0 !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.home-hero__btn--primary {
  background: #c3002f !important;
  border: 1px solid #c3002f !important;
  color: #fff !important;
}

.home-hero__btn--primary:hover {
  background: #a60028 !important;
}

.home-hero__btn--ghost {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  color: #fff !important;
}

.home-hero__btn--ghost:hover {
  background: #141414 !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

.home-hero__partners {
  position: absolute !important;
  top: auto !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 8 !important;
}

.home-hero__partners .partner-logo-strip {
  position: relative !important;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.32) 55%,
    rgba(0, 0, 0, 0.62) 100%
  ) !important;
  border: none !important;
  border-top: 0 !important;
}

@media (max-width: 991px) {
  .home-hero__banner {
    height: calc(100svh - var(--hh-nav));
    min-height: calc(100svh - var(--hh-nav));
  }

  .home-hero__image {
    object-fit: cover;
    object-position: 82% center;
  }

  .home-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.32) 0%,
      rgba(0, 0, 0, 0.2) 40%,
      rgba(0, 0, 0, 0.7) 100%
    );
  }

  .home-hero__copy {
    top: 0;
    bottom: 6.5rem;
    left: max(1.15rem, env(safe-area-inset-left, 0px));
    right: max(1.15rem, env(safe-area-inset-right, 0px));
    width: auto;
    padding: 1.25rem 0 0;
  }

  .home-hero__title {
    max-width: none;
    font-size: clamp(1.85rem, 6.4vw, 2.35rem) !important;
  }

  .home-hero__lead {
    font-size: 16px !important;
  }
}

@media (max-width: 575px) {
  .home-hero__actions {
    flex-direction: column;
  }

  .home-hero__btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__slide,
  .home-hero__image,
  .home-hero__split span {
    animation: none !important;
    transition: opacity 0.35s ease !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
  }
}
