/**
 * Page block: Motion text — compiled to style.css (npm run watch / compile:blocks).
 */
/* stylelint-disable-next-line wrap-rem-on-px/wrap-rem-on-px */
/* stylelint-disable wrap-rem-on-px/wrap-rem-on-px */
/* stylelint-enable wrap-rem-on-px/wrap-rem-on-px */
/*
USAGE:
font-size: fluid(12, 62); : from rem(12)@380px to  rem(62)@1440px
gap: fluid(10, 33, 992);  : from rem(10)@991px to  rem(33)@1440px
margin-right: fluid(32, 65, 320, 2560);  : from rem(32)@320px to  rem(65)@2560px
*/
/*
AUTOFILL

USAGE:
@include mixin.autofill(background-color, text-color);
@include mixin.autofill;

Note: Call this mixin in the wrapper or container to where you intend to manipulate the
      default chrome autofill styles for input, textarea and select elements.
*/
/* stylelint-disable */
/* stylelint-enable */
/* Font */
/* Brand palette */
/* Neutral palette */
/* CardWorks UI kit — eyebrow pills, section surfaces (stack-showcase, etc.) */
/* Accents & states */
/* News filter cards (Figma — Filter + Cards) */
.section--motion-text {
  position: relative;
  overflow: hidden;
  background-color: #53ebff;
  color: #150D50;
  padding: 6rem 0 6rem;
}
@media screen and (min-width:991px) {
  .section--motion-text {
    padding-top: 8.125rem;
    padding-bottom: 12.5rem;
  }
}
.section--motion-text .hero__gradient-overlay {
  position: absolute;
  z-index: 9;
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1440/491;
  pointer-events: none;
  background-image: url("hero-gradient.svg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  transform: translateY(-50%);
}

.cws.motion-text .container {
  padding-left: 0;
}
@media screen and (min-width:1199px) {
  .cws.motion-text .container {
    padding-left: 0;
    max-width: unset;
  }
}

.motion-text__gradient {
  position: absolute;
  z-index: 0;
  top: -7.5rem;
  left: 50%;
}
@media screen and (min-width:991px) {
  .motion-text__gradient {
    top: -20.1875rem;
  }
}
.motion-text__gradient {
  width: min(100%, 90.9375rem);
  max-width: none;
  pointer-events: none;
  transform: translateX(-50%);
}
.motion-text__gradient img {
  display: block;
  width: 100%;
  height: auto;
}

.section--motion-text .cws.motion-text {
  position: relative;
}

.motion-text__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: 3.25rem;
}
@media screen and (min-width:991px) {
  .motion-text__inner {
    gap: 2.6875rem;
  }
}
@media screen and (min-width:1199px) {
  .motion-text__inner {
    flex-direction: row;
    align-items: center;
  }
}

.motion-text__media {
  flex: 1 1 auto;
}
@media screen and (min-width:991px) {
  .motion-text__media {
    flex: 1 1 0;
  }
}

.motion-text__video-wrap.aspect-box {
  --aspect-ratio: 340/572;
  min-height: 13.75rem;
}
@media screen and (min-width:1320px) {
  .motion-text__video-wrap.aspect-box {
    min-height: 21.25rem;
  }
}
.motion-text__video-wrap.aspect-box {
  overflow: hidden;
  border-radius: 0;
}

/* Lottie sits in nested divs; .aspect-box only targets direct video/svg — fill the box explicitly. */
.motion-text__video-wrap.aspect-box .motion-text__lottie-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.motion-text__video-wrap.aspect-box .motion-text__lottie {
  width: 100%;
  height: 100%;
}
.motion-text__video-wrap.aspect-box .motion-text__lottie canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

.motion-text__video-wrap video {
  width: 100%;
  height: 100%;
}
@media (prefers-reduced-motion: reduce) {
  .motion-text__video-wrap video {
    display: none;
  }
}

@media screen and (min-width:991px) {
  .motion-text__media {
    flex-basis: 42.6547352722%;
  }
}

.motion-text__content {
  display: flex;
  width: 100%;
  max-width: 48rem;
  flex: 1 1 auto;
  flex-direction: column;
  flex-shrink: 0;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  padding-left: 1.25rem;
}
@media screen and (min-width:1199px) {
  .motion-text__content {
    width: 48rem;
    flex: 0 0 auto;
    padding-left: unset;
    flex-basis: 57.2706935123%;
  }
}

.motion-text__content h2 {
  margin: 0;
  font-family: "Circular XX TT", sans-serif;
  font-size: 2rem;
  font-style: normal;
  font-weight: 450;
  letter-spacing: normal;
  line-height: 1.1428571429;
  max-width: 37.5rem;
}
@media screen and (min-width:991px) {
  .motion-text__content h2 {
    font-size: 3.5rem;
  }
}

.motion-text__content h2 span {
  display: block;
}

.motion-text__content p {
  margin: 0;
  font-family: "Circular XX TT", sans-serif;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.333;
}
@media screen and (min-width:991px) {
  .motion-text__content p {
    font-size: 1.5rem;
  }
}

/*# sourceMappingURL=style.css.map */
