/* Hero crawl — Artifis brand look; Star Wars motion only */
.hero-crawl {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 640px;
  height: 22rem;
  margin: 0 0 22px;
  overflow: hidden;
  background: var(--charcoal-dark, #2f2f30);
}
.hero-crawl__fade {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    var(--charcoal-dark, #2f2f30) 0%,
    var(--charcoal-dark, #2f2f30) 12%,
    rgba(47, 47, 48, 0.88) 20%,
    rgba(47, 47, 48, 0.45) 30%,
    rgba(47, 47, 48, 0) 42%,
    rgba(47, 47, 48, 0) 70%,
    var(--charcoal-dark, #2f2f30) 100%
  );
}
.hero-crawl__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  perspective: 420px;
  perspective-origin: 50% 0%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 8%,
    #000 36%,
    #000 78%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 8%,
    #000 36%,
    #000 78%,
    transparent 100%
  );
}
.hero-crawl__board {
  position: absolute;
  left: 0;
  right: 0;
  top: 54%;
  width: min(34em, 86%);
  margin-left: auto;
  margin-right: auto;
  transform: rotateX(28deg);
  transform-origin: 50% 0%;
  text-align: center;
  color: var(--white, #fff);
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  text-shadow: none;
}
.hero-crawl__board.is-running {
  animation: artifisHeroCrawl 52s linear infinite;
}
.hero-crawl__cycle--clone {
  pointer-events: none;
}
.hero-crawl__cycle > :last-child {
  margin-bottom: 0.55em;
}
.hero-crawl__board p.hero-crawl__intro {
  margin: 0 0 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light, #c0c0c0);
}
.hero-crawl__marks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin: 0 0 18px;
  pointer-events: auto;
}
.hero-crawl__marks a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  text-decoration: none;
  line-height: 0;
}
.hero-crawl__marks img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.92;
  filter: brightness(0) invert(1);
}
.hero-crawl__title {
  margin: 0 0 12px;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  color: var(--white, #fff);
}
.hero-crawl__lead {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--white, #fff);
}
.hero-crawl__board p {
  margin: 0 0 1em;
  font-size: 1rem;
  color: var(--text-light, #c0c0c0);
}
.hero-crawl__board p strong {
  color: var(--white, #fff);
  font-weight: 700;
}

@keyframes artifisHeroCrawl {
  from { transform: rotateX(28deg) translateY(0); }
  to { transform: rotateX(28deg) translateY(calc(-1 * var(--cycle-h, 50%))); }
}

.hero-crawl--mobile {
  max-width: 100%;
  height: 16.5rem;
  margin-bottom: 14px;
}
.hero-crawl--mobile .hero-crawl__board {
  width: min(34em, 90%);
}
.hero-crawl--mobile .hero-crawl__title {
  font-size: 1.85rem;
}
.hero-crawl--mobile .hero-crawl__board p {
  font-size: 0.95rem;
}
.hero-crawl--mobile .hero-crawl__marks a {
  height: 40px;
}
.hero-crawl--mobile .hero-crawl__marks img {
  height: 36px;
  max-width: 110px;
}

@media (max-width: 720px) {
  .hero-crawl:not(.hero-crawl--mobile) {
    height: 18rem;
  }
  .hero-crawl:not(.hero-crawl--mobile) .hero-crawl__title {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-crawl__stage {
    perspective: none;
  }
  .hero-crawl__board,
  .hero-crawl__board.is-running {
    top: 10%;
    animation: none !important;
    transform: none;
  }
  .hero-crawl__cycle--clone {
    display: none;
  }
  .hero-crawl {
    height: auto;
    min-height: 14rem;
    padding: 0 0 12px;
  }
  .hero-crawl__fade {
    display: none;
  }
}
