.scroll-hero-video {
  --shv-ratio: 2.63;
  --shv-pad: clamp(1.25rem, 8.3vw, 7.5rem);
  --shv-z: 2;
  width: 100%;
  max-width: 100%;
}
@media (min-width: 768px) {
  root {
    --content-width: 1200px;
    --padding-top: 16px;
    --padding-bottom: 16px;
    --padding-left: 16px;
    --padding-right: 16px;
  }
}

.scroll-hero-video,
.scroll-hero-video *,
.scroll-hero-video *::before,
.scroll-hero-video *::after {
  box-sizing: border-box;
}

.scroll-hero-video__hero {
  display: flex;
  align-items: flex-start;
  background-image: url("../hero-bg.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  
}



.scroll-hero-video__layout {
  --content-width: 1200px;

  width: 100%;
  display: grid;
  grid-template-columns:
      minmax(0, 1fr)
      minmax(200px, 40.4vw);

  align-items: start;

  /* Remove the centered container restriction */
  max-width: none;
  margin: 0;
  padding: 80px 0 80px max(
      16px,
      calc((100vw - var(--content-width)) / 2)
  );
}

.scroll-hero-video__copy {
  position: relative;
  z-index: 3;
  min-width: 0;
  max-width: 46rem;
}

.scroll-hero-video__eyebrow {
  margin: 0;
  font-family: Inter, "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: #7f8491;
}

.scroll-hero-video__title {
  margin: 8px 0 16px;
  font-family: Inter, "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 58px;
  font-weight: 600;
  line-height: 1.3;
  color: #010d29;
}

.scroll-hero-video__title em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(180deg, #259add 0%, #1a66bd 100%);
  background-clip: border-box;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  text-transform: uppercase;
}

.scroll-hero-video__lede {
  margin: 0;
  font-family: Inter, "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #232e49;
}

.scroll-hero-video__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.35rem 1.75rem;
  margin-top: 1.8rem;
}

.scroll-hero-video__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.scroll-hero-video__btn svg {
  width: 36px;
  height: 36px;
  flex: none;
  margin-left: auto;
}

.scroll-hero-video__btn--primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: transparent;
  background-image: linear-gradient(180deg, #259add 0%, #1a66bd 100%);
  font-family: Inter, "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: capitalize;
  fill: #ffffff;
  color: #ffffff;
  border-radius: 16px;
  padding: 11px;
}
.scroll-hero-video__btn--primary:hover{
  color: #ffffff;
}
.scroll-hero-video__btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, #1a66bd 0%, #259add 100%);
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  z-index: -1;
}

.scroll-hero-video__btn--primary:hover::before,
.scroll-hero-video__btn--primary:focus-visible::before {
  opacity: 1;
}

.scroll-hero-video__btn--text {
  background-color: transparent;
  font-family: Inter, "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: capitalize;
  fill: #010d29;
  color: #010d29;
  border-style: solid;
  border-width: 0 0 1px;
  border-color: #010d29;
  border-radius: 0;
  padding: 11px;
}

.scroll-hero-video__btn--text svg {
  transition: transform 0.3s ease;
}

.scroll-hero-video__btn--text:hover svg,
.scroll-hero-video__btn--text:focus-visible svg {
  transform: translateX(6px);
}

/* .scroll-hero-video__slot {
  display: none;
  justify-self: end;
  width: 100%;
  aspect-ratio: var(--shv-ratio);
  margin-top: clamp(3.6rem, 6.5vw, 6.1rem);
  border-radius: clamp(16px, 1.7vw, 28px) 0 0 clamp(16px, 1.7vw, 28px);
  pointer-events: none;
} */
.scroll-hero-video__slot {
  display: none;
  justify-self: end;

  width: 100%;
  min-width: 0;

  aspect-ratio: var(--shv-ratio);

  margin-top: clamp(3.6rem, 6.5vw, 6.1rem);

  border-radius: clamp(16px, 1.7vw, 28px) 0 0
      clamp(16px, 1.7vw, 28px);

  pointer-events: none;
}

.scroll-hero-video.is-js .scroll-hero-video__slot {
  display: block;
}

.scroll-hero-video.is-js .scroll-hero-video__slot {
  display: block;
}

.scroll-hero-video__dest {
  position: relative;
  width: 100%;
  aspect-ratio: var(--shv-ratio);
}

.scroll-hero-video__stage {
  --fade: 1;
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(80% 80% at 70% 40%, #1d7ec8 0%, #0b4f86 42%, #08365f 100%);
  pointer-events: none;
  z-index: var(--shv-z);
}

.scroll-hero-video__stage.is-flying {
  position: fixed;
  inset: auto;
  top: 0;
  left: 0;
  z-index: var(--shv-z);
  will-change: transform;
}

.scroll-hero-video .scroll-hero-video__stage video {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  background: transparent;
}

.scroll-hero-video__stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--fade) * 100%);
  background: linear-gradient( to bottom, rgba(255, 255, 255, 0) 00%, rgba(255, 255, 255, 0.25) 58%, #fff 100% );
  opacity: var(--fade);
  pointer-events: none;
}

.scroll-hero-video__fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: flex-start;
  padding: 8% 10%;
  color: #d7f6ff;
  font-size: clamp(1.8rem, 4vw, 4.2rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.scroll-hero-video__fallback p {
  margin: 0;
}

.scroll-hero-video__stage.has-error video {
  display: none;
}

.scroll-hero-video__stage.has-error .scroll-hero-video__fallback {
  display: flex;
}

.scroll-hero-video.is-js .scroll-hero-video__stage {
  visibility: hidden;
}

.scroll-hero-video.is-js .scroll-hero-video__stage.is-ready {
  visibility: visible;
}

.scroll-hero-video__clients {
  --shv-logo-height: 40px;
  display: flex;
  align-items: center;
  height: 110px;
  background: #259add;
  color: #fff;
  overflow: hidden;
}

.scroll-hero-video__clients-inner {
  --content-width: 1200px;
  display: flex;
  align-items: center;
  gap: 120px;
  width: 100%;
  padding: 0px 0 0px max( 16px, calc((100vw - var(--content-width)) / 2) );
}

.scroll-hero-video__clients-title {
  flex: none;
  margin: 0;
  max-width: 7.2rem;
  font-family: Inter, "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
}

.scroll-hero-video__clients {
  position: relative;
}

.scroll-hero-video__clients::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 400px;
  height: 100%;
  background: linear-gradient(270deg, #0F53A1B5 54%, #259ADD00 100%);
  pointer-events: none;
}

.scroll-hero-video__slider .swiper-wrapper {
  display: flex;
  align-items: center;
  /* The frame loop sets translate directly. A CSS transition on that
     property eases between those updates and reads as stutter. */
  transition: none;
}

.scroll-hero-video__slider .swiper-slide {
  width: auto;
  height: auto;
  flex-shrink: 0;
}

.scroll-hero-video__logo {
  display: flex;
  align-items: center;
  height: var(--shv-logo-height);
}

.scroll-hero-video .scroll-hero-video__logo img {
  display: block;
  height: var(--shv-logo-height);
  width: auto;
  max-width: none;
  object-fit: contain;
}

@media (max-width: 860px) and (min-width: 768px) {

  .scroll-hero-video__layout {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 36vw);
    column-gap: 1rem;
    padding-left: 1.35rem;
}

.scroll-hero-video__slot {
    margin-top: 3.25rem;
}

  .scroll-hero-video__title {
    font-size: 1.65rem;
  }

  .scroll-hero-video__lede br {
    display: none;
  }

  .scroll-hero-video__clients {
    --shv-logo-height: 40px;
    height: 84px;
  }

  .scroll-hero-video__clients-inner {
    gap: 1.5rem;
  }
}

@media (max-width: 767px) {
  .scroll-hero-video__hero {
    min-height: 0;
  }

  .scroll-hero-video__layout {
    display: block;
    padding-top: var(--padding-top);
    padding-right: var(--padding-right);
    padding-bottom: var(--padding-bottom);
    padding-left: var(--padding-left);
  }

  .scroll-hero-video.is-js .scroll-hero-video__slot {
    display: none;
  }

  .scroll-hero-video.is-js.is-mobile-static .scroll-hero-video__slot {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: 1.25rem;
    border-radius: 18px;
    overflow: hidden;
  }

  .scroll-hero-video.is-mobile-static .scroll-hero-video__stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    transform: none;
    visibility: visible;
  }

  .scroll-hero-video.is-mobile-static .scroll-hero-video__stage video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .scroll-hero-video.is-mobile-static .scroll-hero-video__stage::after {
    display: none;
  }

  .scroll-hero-video.is-mobile-static .scroll-hero-video__showcase {
    display: none;
  }

  .scroll-hero-video__eyebrow {
    letter-spacing: 0.11em;
    font-size: 0.64rem;
  }
  .scroll-hero-video__hero{
    padding: 16px;
  }

  .scroll-hero-video__title {
    font-size: clamp(1.45rem, 6.4vw, 1.9rem);
    line-height: 1.14;
  }
  .scroll-hero-video__lede{
    font-size: 20px;
    line-height: 1.2;
  }

  .scroll-hero-video__title{
    margin-bottom: 8px;
  }
  .scroll-hero-video__btn--text,
  .scroll-hero-video__btn--primary{
    font-size: 14px;
  padding: 8px;
  flex: 1;
  }
  .scroll-hero-video__slot{
    margin-top: 48px;
  }
  .scroll-hero-video__clients-title{
    display: none;
  }
  .scroll-hero-video__btn svg {
    width: 30px;
    height: 30px;
  }
  .scroll-hero-video__lede br {
    display: none;
  }

  .scroll-hero-video__dest {
    aspect-ratio: 16 / 9;
  }

  .scroll-hero-video__clients {
    --shv-logo-height: 34px;
    height: auto;
    padding: 0.85rem 0 1rem;
  }

  .scroll-hero-video__clients-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .scroll-hero-video__clients-title {
    max-width: none;
  }

  .scroll-hero-video__slider {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hero-video__hero {
    min-height: 0;
  }

  .scroll-hero-video__layout {
    display: block;
    padding-right: var(--shv-pad);
  }

  .scroll-hero-video.is-js .scroll-hero-video__slot {
    display: none;
  }

  .scroll-hero-video.is-js .scroll-hero-video__stage {
    visibility: visible;
  }

  .scroll-hero-video__btn {
    transition: none;
  }
}

html.is-smooth-scrolling {
  overflow-x: clip;
}

#smooth-scroll-spacer {
  height: 0;
  margin: 0;
  pointer-events: none;
}

/* The pinned content is out of flow. Collapse the shell itself so a
   theme min-height (often 100vh) is not added on top of the spacer. */
#smooth-scroll.is-active {
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

#smooth-scroll.is-active #smooth-scroll-content {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: auto;
  z-index: 1;
}
