/* Section 1: Hero. */

.hero {
  position: relative;
  min-height: 632px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0) 42%),
    url("../../section-1+2/via-logos-hero-background-clean-v2.png?v=202606110318") center top / cover no-repeat,
    #050505;
  color: #fff;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #020202;
  content: "";
  opacity: var(--hero-blackout-opacity, 0);
  pointer-events: none;
  will-change: opacity;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.58) 54%, rgba(0, 0, 0, 0.34) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.6) 48%, rgba(0, 0, 0, 0.5) 100%);
  content: "";
  opacity: 0;
  pointer-events: none;
}

.has-js .hero::before {
  opacity: var(--hero-blackout-opacity, 1);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(650px, calc(100% - 48px));
  margin-left: 86px;
  padding-top: 132px;
}

.hero h1 {
  margin: 18px 0 14px;
  font-family: var(--vl-display);
  font-size: 66px;
  font-weight: 900;
  letter-spacing: 2.4px;
  line-height: 0.94;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.38);
}

.hero h1 .accent {
  display: inline-block;
  color: var(--vl-red);
  white-space: nowrap;
}

.hero-white-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: baseline;
}

.hero-white-word > span {
  display: inline-block;
  will-change: transform, opacity, filter, clip-path;
}

.hero__lead {
  max-width: 570px;
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
}

@media (min-width: 1537px) {
  .hero {
      background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0) 42%),
        url("../../section-1+2/via-logos-hero-background-clean-v2-1920.jpg?v=202606110318");
    }
}

@media (max-width: 1180px) {
  .hero__content {
      margin-left: 56px;
    }
}

@media (max-width: 900px) {
  .hero {
      min-height: auto;
      background-position: 58% top;
    }

  .hero::after {
      opacity: 1;
    }

  .hero__content {
      width: calc(100% - 48px);
      margin: 0 24px;
      padding-top: 124px;
      padding-bottom: 62px;
    }

  .hero h1 {
      font-size: clamp(48px, 12vw, 63px);
      letter-spacing: 1.1px;
    }

  .hero__lead {
      font-size: 16px;
    }
}

@media (max-width: 560px) {
  .hero__actions {
      display: grid;
      grid-template-columns: 1fr;
    }

  .hero h1 {
      font-size: clamp(38px, 10.2vw, 44px);
    }
}
