/* Original button-052 motion, mapped to the local component names. */
.btn-052 {
  --button-052-height: var(--zh-button-height, 3em);
  --button-052-ease-hover: linear(0, .5737 7.6%, .8382 11.87%, .9463 14.19%, 1.0292 16.54%, 1.0886 18.97%, 1.1258 21.53%, 1.137 22.97%, 1.1424 24.48%, 1.1423 26.1%, 1.1366 27.86%, 1.1165 31.01%, 1.0507 38.62%, 1.0219 42.57%, .9995 46.99%, .9872 51.63%, .9842 58.77%, 1.0011 81.26%, 1);
  --button-052-ease-soft-overshoot: cubic-bezier(.59, 1, .88, 1.01);
  --button-052-ease-bounce: cubic-bezier(.34, 2.27, .64, 1);
  overflow: visible;
}
.btn-052__text {
  position: relative;
  z-index: 1;
  will-change: transform;
  transition: translate .8s var(--button-052-ease-hover), rotate .8s var(--button-052-ease-hover), scale .15s var(--button-052-ease-soft-overshoot), transform .15s var(--button-052-ease-soft-overshoot);
}
.btn-052 .btn-052__icon {
  overflow: visible;
  pointer-events: none;
}
.btn-052 .btn-052__icon.is--default {
  transition: scale .75s var(--button-052-ease-hover), opacity .15s ease-out;
}
.btn-052 .btn-052__icon.is--hover {
  left: auto;
  top: -.125em;
  right: -.325em;
  scale: 0;
  opacity: 0;
  transition: scale .75s var(--button-052-ease-hover), opacity .15s .1s ease-out;
}
.btn-052 .btn-052__icon.is--hover .btn-052__icon-bg {
  border-radius: 0;
  background: var(--color-blue);
  transform: none;
  transition: none;
}
.featured-btn .btn-052 .btn-052__icon.is--hover .btn-052__icon-bg,
.footer-cta .btn-052 .btn-052__icon.is--hover .btn-052__icon-bg {
  background: var(--color-pink);
}
.btn-052 .btn-052__icon svg,
.btn-052:is(:hover, :focus-visible) .btn-052__icon svg {
  transform: none;
  transition: none;
  color: inherit;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn-052:is(:hover, :focus-visible) .btn-052__text {
    translate: calc(var(--button-052-height) * -1) -.325em 0;
    rotate: -3deg;
    scale: .935 .905;
    transform: scale(1.0695187166, 1.1049723757);
    transition: translate .8s .05s var(--button-052-ease-hover), rotate .8s .05s var(--button-052-ease-hover), scale .15s .05s var(--button-052-ease-soft-overshoot), transform .45s .2s var(--button-052-ease-bounce);
  }
  .btn-052:is(:hover, :focus-visible) .btn-052__icon.is--default {
    scale: 0;
    opacity: 0;
    transition: scale .75s .05s var(--button-052-ease-hover), opacity .15s .2s ease-out;
  }
  .btn-052:is(:hover, :focus-visible) .btn-052__icon.is--hover {
    scale: 1;
    opacity: 1;
    transition: scale .75s .1s var(--button-052-ease-hover), opacity .15s ease-out;
  }
}

/* Underlines use the original 310 x 40 paths; JS draws the stroke itself. */
.text-draw__box path {
  stroke-width: 10;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  transition: none;
}
.btn-link__line,
.btn-link:hover .btn-link__line,
.btn-link:focus-visible .btn-link__line,
.footer-link__line,
.footer-link:hover .footer-link__line,
.footer-link:focus-visible .footer-link__line {
  background: none;
  transform: none;
  transition: none;
  pointer-events: none;
}
.btn-link__line {
  height: .625em;
  top: 130%;
  bottom: auto;
  color: var(--color-blue);
}
.btn-link__text-wrap {
  padding-block: 0;
  font-size: clamp(24px, 2.1vw, 40px);
  line-height: 1;
}
.hero-content .btn-link__text-wrap {
  font-size: clamp(22px, 1.667vw, 32px);
}
.footer-link__line {
  position: relative;
  display: block;
  height: .5em;
  bottom: auto;
  color: var(--color-pink);
}
.btn-link__line svg,
.footer-link__line svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.btn-link__line path,
.footer-link__line path {
  fill: none;
  stroke: currentColor;
  stroke-width: 10;
  stroke-linecap: round;
  transition: none;
}
@media (max-width: 991px) {
  .nav-links .text-draw__box {
    height: .75em;
    color: var(--color-bg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn-052__text,
  .btn-052 .btn-052__icon {
    transition: none;
    will-change: auto;
  }
}
