  :root {
    --smooth-ease: cubic-bezier(0.66, 0.01, 0.17, 0.97);
    --elastic-ease: cubic-bezier(0.34, 1.35, 0.64, 1);
    --opacity-ease: cubic-bezier(0.4, 0, 0.2, 1);

    --duration-xs: 0.3s;
    --duration-s: 0.45s;
    --duration-m: 0.6s;
    --duration-l: 0.8s;
    --duration-xl: 2s;

    --animation-xs: var(--duration-xs) var(--smooth-ease);
    --animation: var(--duration-s) var(--smooth-ease);
    --animation-m: var(--duration-m) var(--smooth-ease);
    --animation-l: var(--duration-l) var(--smooth-ease);
    --transition: all var(--duration-l) var(--smooth-ease);

    --gr-dark: linear-gradient(127deg, #212121 -3.14%, #141414 106.44%);
    --gr-btn: linear-gradient(220deg, #323232 0%, #141414 100%);
    --gr-glass: linear-gradient(0deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.02) 100%), rgba(255, 255, 255, 0.12);
    --gr-gray: radial-gradient(60.39% 100% at 50.26% 0%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 100%), #444;

    --sh-base: 0 0 0 1px rgba(6, 86, 134, 0.04), 0 1px 1px -0.5px rgba(1, 34, 54, 0.04), 0 3px 3px -1.5px rgba(1, 34, 54, 0.06), 0 6px 8px -3px rgba(1, 34, 54, 0.01),
      0 6px 12px -6px rgba(6, 86, 134, 0.02), 0 24px 24px -12px rgba(6, 86, 134, 0.04);
    --sh-btn: -21px 16px 10px 0 rgba(0, 0, 0, 0.04), -12px 9px 9px 0 rgba(0, 0, 0, 0.13), -5px 4px 6px 0 rgba(0, 0, 0, 0.23), -1px 1px 4px 0 rgba(0, 0, 0, 0.26);
    --sh-wa: 0 6px 12px 0 rgba(255, 255, 255, 0.15) inset, 0 8px 16px 0 rgba(0, 0, 0, 0.24), 0 4px 8px 0 rgba(0, 0, 0, 0.06), 0 2px 4px 0 rgba(0, 0, 0, 0.06), 0 1px 2px 0 rgba(0, 0, 0, 0.06),
      0 4px 5px 0 rgba(255, 255, 255, 0.03) inset, 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.03) inset, 0 0.75px 0.75px 0 rgba(255, 255, 255, 0.04) inset, 0 0.25px 0.25px 0 rgba(255, 255, 255, 0.06) inset;
    --sh-label: 0 0 35.2px 0 rgba(255, 255, 255, 0.2) inset, 0 0 12px 0 #fff inset, 0 0 64px 0 rgba(0, 0, 0, 0.02), 0 0 32px 0 rgba(0, 0, 0, 0.02), 0 0 16px 0 rgba(0, 0, 0, 0.02),
      0 0 8px 0 rgba(0, 0, 0, 0.02), 0 0 4px 0 rgba(0, 0, 0, 0.02), 0 0 2px 0 rgba(0, 0, 0, 0.02);
    --sh-dark: 0 0 0 1px rgba(0, 0, 0, 0.77), 0 41px 17px 0 rgba(0, 0, 0, 0.03), 0 23px 14px 0 rgba(0, 0, 0, 0.1), 0 10px 10px 0 rgba(0, 0, 0, 0.17), 0 3px 6px 0 rgba(0, 0, 0, 0.19),
      0 0.5px 0.5px 0 rgba(255, 255, 255, 0.16) inset;
    --sh-slide: 0 0 32px 0 rgba(255, 255, 255, 0.12) inset, 0 0 1.5px 0 rgba(255, 255, 255, 0.5) inset;
    --sh-glass: 0 0 35.2px 0 rgba(255, 255, 255, 0.03) inset, 0 0 12px 0 rgba(255, 255, 255, 0.08) inset;
    --sh-logo: -5px 4px 6px 0 rgba(0, 0, 0, 0.06), -1px 1px 4px 0 rgba(0, 0, 0, 0.12);
    --sh-img: 0 73px 20px 0 rgba(0, 0, 0, 0), 0 47px 19px 0 rgba(0, 0, 0, 0.01), 0 26px 16px 0 rgba(0, 0, 0, 0.02), 0 12px 12px 0 rgba(0, 0, 0, 0.03), 0 3px 6px 0 rgba(0, 0, 0, 0.04),
      0 0 20px 0 rgba(255, 255, 255, 0.2) inset, 0 0 2.5px 0 rgba(255, 255, 255, 0.6) inset;
    --sh-blue: 0 16px 16px 0 rgba(0, 113, 227, 0.12), 0 8px 8px 0 rgba(0, 113, 227, 0.12), 0 4px 4px 0 rgba(0, 113, 227, 0.12), 0 2px 2px 0 rgba(0, 113, 227, 0.12),
      0 0.5px 0.5px 0 rgba(255, 255, 255, 0.25) inset, 0 0 8px 0 rgba(255, 255, 255, 0.2) inset;
  }


  .button_main_bg {
    transition: inset var(--duration-s) var(--smooth-ease);
  }

  .work_slider_arrow {
    transition: transform var(--duration-s) var(--smooth-ease);
  }


  [data-stagger-char="true"] {
  & [data-stagger-char="text"] {
    overflow: hidden;
    position: relative;
    display: inline-block;
    & span {
      display: inline-block;
      position: relative;
      text-shadow: currentcolor 0px 1.3em;
      transform: translateY(calc(-1.3em * var(--_trigger---off))) rotate(0.001deg);
      transition: transform var(--duration-s) var(--smooth-ease);
    }
  }
}

[data-integration-label] {
  overflow: hidden;
  position: relative;
  display: inline-block;

  & .char {
    display: inline-block;
    position: relative;
    transition: transform var(--duration-s) var(--smooth-ease);
  }
}

.tag_icon_inner > * {
  transform: translateX(100%);
  animation: slideIn var(--duration-s) var(--smooth-ease) forwards infinite;
}

@keyframes slideIn {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(100%);
  }
}


/* ----- Swiper base ----- */
.swiper-wrapper {
  transition-timing-function: var(--smooth-ease) !important;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.swiper-slide {
  user-select: none;
  transition: filter var(--duration-m) var(--smooth-ease);
}

.integrations_slider_wrap .swiper-slide:not(.swiper-slide-active) {
  filter: blur(4px);
}

[data-swiper-prevent],
.swiper-slide {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-perspective: 1000;
  perspective: 1000;
}

/* ----- Pagination bullets ----- */
.swiper-pagination {
  position: static !important;
  padding: 0.5em;
  isolation: isolate;
  background: color-mix(in srgb, currentColor 4%, transparent);
  border-radius: 999em;
  width: fit-content !important;
  display: flex;
  gap: 0.375em;

  & .swiper-pagination-bullet {
    width: 0.25em;
    height: 0.25em;
    flex-shrink: 0;
    position: relative;
    margin: 0 !important;
    transition: all var(--animation-xs);
    background: color-mix(in srgb, currentColor 100%, transparent);
    opacity: 0.12 !important;
    box-shadow: none;
    border-radius: 99em;

    &::before {
      content: '';
      inset: -0.5em -0.25em;
      position: absolute;
    }
  }

  & .swiper-pagination-bullet-active {
    width: 1.375em;
    box-shadow: var(--sh-bullet);
    opacity: 0.5 !important;
  }
}

/* ----- Nav buttons ----- */
.swiper-nav {
  & .swiper-btn {
    transition: transform var(--duration-xs) var(--elastic-ease);
    will-change: transform;

    &:active {
      transform: scale(0.95);
    }

    &.swiper-button-disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }

  &[data-vertical='true'] {
    flex-direction: column;

    & .swiper-btn .icon {
      transform: rotate(90deg);
    }
  }
}

@media screen and (max-width: 991px) {
  .swiper-nav {
    &[data-vertical='true'] {
      flex-direction: row;

      & .icon {
        transform: rotate(0deg) !important;
      }
    }
  }
}

/* ================================================================== */
/* PORTFOLIO SLIDER — [data-pf='group']                               */
/* ================================================================== */
[data-pf='group'] {
  /* synced text-list wrapper must not translate (JS syncs via slideTo) */
  & .work_slider_content_wrap {
    display: grid;
  }

  & .work_slider_content_list {
    transform: none !important;
    grid-area: 1 / 1;
    display: grid;
  }

  /* text content slides: hidden until active, staggered children reveal */
  & .work_slider_content_item {
    grid-area: 1 / 1;
    transition: visibility 0s linear var(--duration-m);
    visibility: hidden;

    & [data-count='child'] {
      transition: transform var(--animation), opacity var(--animation), filter var(--animation);
      opacity: 0;
      will-change: transform, opacity, filter;
      transform: translate(-1rem, -1rem);
      filter: blur(8px);
      transition-delay: calc(var(--index) * 0.025s);
    }

    &.active {
      transition: visibility 0s linear 0s;
      visibility: visible;

      & [data-count='child'] {
        transition: transform var(--animation-m), opacity var(--animation-m), filter var(--animation-m);
        transition-delay: calc(var(--index) * 0.035s);
        opacity: 1;
        will-change: transform, opacity, filter;
        transform: translate(0%, 0%);
        filter: blur(0px);
      }
    }

    &.prev {
      & [data-count='child'] {
        transform: translate(-1rem, -1rem);
      }
    }

    &.next {
      & [data-count='child'] {
        transform: translate(1rem, 1rem);
      }
    }
  }

  /* visual slides wrapper: grid stack */
  & .work_slider_wrap {
    display: grid;
  }

  & .work_slider_list {
    transform: none !important;
    grid-area: 1 / 1;
    display: grid;
  }

  /* visual slides: inactive hidden, active scales in */
  & .work_slider_item {
    grid-area: 1 / 1;
    width: 100% !important;
    transition: transform var(--animation-m), opacity var(--animation-m);
    will-change: transform, opacity;
    transform: scale(0.8);
    transform-origin: 100% 100%;
    opacity: 0;

    & .work_slider_visual {
      & img {
        display: block;
        isolation: isolate;
        transition: transform var(--animation-m), opacity var(--animation-m), filter var(--animation-m);
        transition-delay: 0.18s;
        transform: scale(0.8);
        opacity: 0;
        filter: blur(4px);
        transform-origin: 100% 100%;
        will-change: transform, opacity, filter;
      }
    }

    &.active {
      transform: scale(1);
      opacity: 1;

      & .work_slider_visual {
        & img {
          transform: scale(1);
          opacity: 1;
          filter: blur(0px);
        }
      }
    }
  }
}


.u-iframe-outer {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.u-iframe-wrapper {
  width: 1440px; /* base canvas width */
  transform-origin: left center;
  will-change: transform;
}

.u-iframe-wrapper iframe {
  width: 100%;
  display: block;
  border: none;
}

.u-resize-handle {
  cursor: ew-resize;
}


/* Contact form success state (shown after a successful /api/contact submit).
   Lives in the dark contact modal, so it inherits light text. */
.form_success_wrap[hidden],
.form_error_wrap[hidden] { display: none !important; }

.form_success_wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.25rem 0;
}

.form_success_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  color: currentColor;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  margin-bottom: 0.25rem;
}

.form_success_heading {
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.form_success_lead {
  opacity: 0.75;
  margin: 0;
}

.form_success_steps {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form_success_steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  line-height: 1.35;
}

.form_success_step-num {
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  background: color-mix(in srgb, currentColor 12%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}

.form_success_note {
  margin: 0.5rem 0 0;
  opacity: 0.6;
  font-size: 0.9rem;
}

.form_success_note + a,
.form_error_text a { color: currentColor; text-decoration: underline; }


/* [hidden] must win over the form's own display:flex when we swap in the
   success/next-steps panel. */
#wf-form-Contact-Form[hidden] { display: none !important; }

.split-line-mask {margin-bottom: -0.1em; padding-bottom: 0.1em;}