.vann-hero .vann-hero-logo-mask {
  width: clamp(680px, 52vw, 900px);
  margin: 0 auto;
}

.vann-hero .vann-hero-logo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2560 / 654;
  overflow: hidden;
}

.vann-hero .vann-hero-mask-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: transparent;
  -webkit-mask-image: url("https://vann-fid.com/wp-content/uploads/2026/05/logo-hero-scaled.png");
  mask-image: url("https://vann-fid.com/wp-content/uploads/2026/05/logo-hero-scaled.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.vann-hero .vann-hero-logo-mask .vann-hero-mask-slide {
  position: absolute;
  inset: 0 !important;
  z-index: 1;
  opacity: 0;
  background-repeat: no-repeat;
  background-position: 0% 50%;
  transform: none !important;
  transition: opacity 650ms cubic-bezier(0.45, 0, 0.55, 1);
  will-change: opacity, background-position;
  backface-visibility: hidden;
}

.vann-hero .vann-hero-logo-mask .vann-hero-mask-slide {
  background-size: 108% auto !important;
}

.vann-hero .vann-hero-logo-mask .vann-hero-mask-slide.is-active,
.vann-hero .vann-hero-logo-mask .vann-hero-mask-slide.is-leaving {
  opacity: 1;
  animation-duration: 7010ms !important;
  animation-timing-function: linear !important;
  animation-fill-mode: forwards !important;
  animation-name: vann-hero-pan-left-v13 !important;
}

.vann-hero .vann-hero-logo-mask .vann-hero-mask-slide.is-leaving {
  z-index: 2;
}

.vann-hero .vann-hero-logo-mask .vann-hero-mask-slide.is-active:not(.is-leaving) {
  z-index: 3;
}

@keyframes vann-hero-pan-left-v13 {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.vann-hero .vann-hero-label,
.vann-hero .vann-hero-label.is-active,
.vann-hero .vann-hero-label:not(.is-active) {
  color: rgba(255, 255, 255, 0.42) !important;
  opacity: 1 !important;
  transition: color 260ms ease !important;
}

.vann-hero .vann-hero-label:hover,
.vann-hero .vann-hero-label:focus-visible {
  color: #fff !important;
}

@media (max-width: 1024px) {
  .vann-hero .vann-hero-logo-mask { width: min(73vw, 680px); }
}

@media (max-width: 767px) {
  .vann-hero .vann-hero-logo-mask { width: min(86vw, 520px); }

  .vann-hero .vann-hero-logo-mask .vann-hero-mask-slide {
    background-size: 108% auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vann-hero .vann-hero-mask-slide,
  .vann-hero .vann-hero-label {
    transition-duration: 300ms !important;
  }

  .vann-hero .vann-hero-logo-mask .vann-hero-mask-slide,
  .vann-hero .vann-hero-logo-mask .vann-hero-mask-slide.is-active,
  .vann-hero .vann-hero-logo-mask .vann-hero-mask-slide.is-leaving {
    animation: none !important;
    background-position: 50% 50%;
  }
}
