.vs-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  overflow: hidden;
  background-color: var(--brand, #071944);
  color: #ffffff;
}

.vs-hero--small { min-height: 60vh; }
.vs-hero--medium { min-height: 75vh; }
.vs-hero--large { min-height: min(100vh, 957px); }

.vs-hero--scheme-1 { background-color: var(--brand, #071944); color: #ffffff; }
.vs-hero--scheme-2 { background-color: var(--surface, #ffffff); color: var(--ink, #1a1a2e); }
.vs-hero--scheme-3 { background-color: var(--accent, #2d187e); color: #ffffff; }

.vs-hero__rail {
  position: relative;
  z-index: 10;
  display: none;
  box-sizing: border-box;
  width: 6rem;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-right: 1.25rem;
  padding-top: 10rem;
  padding-bottom: 0.5rem;
}

.vs-hero__rail::after {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 6.25rem;
  right: 0;
  bottom: 0.5rem;
  width: 1px;
  background-color: rgb(255 255 255 / 0.15);
}

.vs-hero__socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgb(255 255 255 / 0.75);
}

.vs-hero__social {
  display: inline-flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.vs-hero__social:hover {
  background-color: rgb(255 255 255 / 0.1);
  color: #ffffff;
}

.vs-hero__icon {
  height: 1.25rem;
  width: 1.25rem;
}

.vs-hero__initials {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.vs-hero__scroll {
  display: inline-flex;
  height: 2rem;
  width: 1.25rem;
  align-items: flex-start;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgb(255 255 255 / 0.6);
  padding-top: 0.375rem;
}

.vs-hero__scroll-dot {
  height: 0.375rem;
  width: 0.125rem;
  border-radius: 9999px;
  background-color: rgb(255 255 255 / 0.8);
  animation: vs-scroll-wheel 1.4s ease-in-out infinite;
}

@keyframes vs-scroll-wheel {
  0%,
  100% {
    opacity: 0.45;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(5px);
  }
}

.vs-hero__viewport {
  position: relative;
  min-width: 0;
  flex: 1 1 0%;
}

.vs-hero__slider {
  position: absolute;
  inset: 0;
}

.vs-hero__frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease-out;
}

.vs-hero__frame.is-active {
  opacity: 1;
  pointer-events: auto;
}

.vs-hero__slide {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.vs-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -20;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.vs-hero__bg--mobile { display: block; }

.vs-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -10;
}

.vs-hero__tint {
  position: absolute;
  inset: 0;
  z-index: -10;
  background-image: linear-gradient(
    to right,
    color-mix(in oklab, var(--brand, #071944) 85%, transparent),
    color-mix(in oklab, var(--brand, #071944) 25%, transparent),
    color-mix(in oklab, var(--brand, #071944) 75%, transparent)
  );
}

.vs-hero__content {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  padding: 7rem 1.5rem 9rem;
}

.vs-hero__content--container { max-width: 1800px; }
.vs-hero__content:not(.vs-hero__content--container) { max-width: none; }

.vs-hero__content--top { justify-content: flex-start; }
.vs-hero__content--middle { justify-content: center; }
.vs-hero__content--bottom { justify-content: flex-end; }

.vs-hero__content--left { align-items: flex-start; text-align: left; }
.vs-hero__content--center { align-items: center; text-align: center; }
.vs-hero__content--right { align-items: flex-end; text-align: right; }

.vs-hero__heading {
  max-width: 56rem;
  margin: 0;
  font-size: 1.875rem;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.vs-hero__subheading {
  margin: 1.25rem 0 0;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgb(255 255 255 / 0.85);
}

.vs-hero__cta {
  margin-top: 1.75rem;
}

.vs-hero__button {
  display: inline-flex;
  align-items: center;
  gap: 1.75rem;
  border-radius: 9999px;
  border: 1px solid rgb(255 255 255 / 0.55);
  background-color: color-mix(in oklab, var(--brand, #071944) 35%, transparent);
  padding: 0.375rem 0.375rem 0.375rem 1.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: border-color 0.15s ease;
}

.vs-hero__button:hover {
  border-color: #ffffff;
}

.vs-hero__button-arrow {
  display: inline-flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #6d74d8;
  color: #ffffff;
  transition: transform 0.15s ease;
}

.vs-hero__button:hover .vs-hero__button-arrow {
  transform: translateX(2px);
}

.vs-hero__button-arrow svg {
  height: 0.875rem;
  width: 0.875rem;
}

.vs-hero__dots {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1.25rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
}

.vs-hero__dot {
  width: 2px;
  height: 1.25rem;
  border: 0;
  padding: 0;
  cursor: pointer;
  background-color: rgb(255 255 255 / 0.35);
  transition: height 0.3s ease, background-color 0.3s ease;
}

.vs-hero__dot:hover { background-color: rgb(255 255 255 / 0.7); }

.vs-hero__dot.is-active {
  height: 2rem;
  background-color: #ffffff;
}

@media (min-width: 640px) {
  .vs-hero__bg--desktop { display: block; }
  .vs-hero__bg--mobile { display: none; }

  .vs-hero__content { padding-left: 3rem; padding-right: 3rem; }

  .vs-hero__heading { font-size: 2.25rem; }
  .vs-hero__subheading { font-size: 1.125rem; line-height: 1.75rem; }

  .vs-hero__dots { right: 2rem; }
}

@media (max-width: 639px) {
  .vs-hero__bg--desktop { display: none; }

  .vs-hero__content--stack {
    justify-content: flex-end;
    padding-bottom: 4rem;
  }
}

@media (min-width: 1024px) {
  .vs-hero__rail { display: flex; }
  .vs-hero__content { padding-bottom: 200px; }
  .vs-hero__heading { font-size: 3rem; }
}
