.hero-block {
  position: relative;
}
.hero-block--with-intro {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.hero-block--with-intro::before {
  content: "";
  position: absolute;
  bottom: 20%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: url("../../../../static/img/textures/texture-white.svg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
  pointer-events: none;
}
.hero-block__intro-shell {
  position: relative;
  z-index: 2;
  margin-top: clamp(-4.5rem, -7vw, -6.75rem);
}

.hero {
  --hero-gradient-base: linear-gradient(
  	135deg,
  	#0f1c2c 0%,
  	#23285d 34%,
  	#5a31a5 67%,
  	#9d2488 100%
  );
  --hero-gradient-left: radial-gradient(
  	circle at 16% 24%,
  	rgba(111, 87, 255, 0.9) 0%,
  	rgba(111, 87, 255, 0.36) 24%,
  	rgba(111, 87, 255, 0) 54%
  );
  --hero-gradient-right: radial-gradient(
  	circle at 82% 18%,
  	rgba(244, 234, 244, 0.22) 0%,
  	rgba(182, 37, 144, 0.28) 16%,
  	rgba(182, 37, 144, 0) 42%
  );
  --hero-gradient-bottom: radial-gradient(
  	circle at 50% 108%,
  	rgba(94, 74, 255, 0.96) 0%,
  	rgba(94, 74, 255, 0.58) 22%,
  	rgba(94, 74, 255, 0) 58%
  );
  --hero-gradient-sheen: linear-gradient(
  	180deg,
  	rgba(255, 255, 255, 0.12) 0%,
  	rgba(255, 255, 255, 0.04) 28%,
  	rgba(255, 255, 255, 0) 52%
  );
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: #0f1c2c;
  background-image: var(--hero-gradient-sheen), var(--hero-gradient-right), var(--hero-gradient-bottom), var(--hero-gradient-left), var(--hero-gradient-base);
  background-position: center, right top, center bottom, left top, center;
  background-size: 100% 100%, 54rem 54rem, 100% 58%, 44rem 44rem, 100% 100%;
  isolation: isolate;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><path fill='white' d='M0 0H100V86Q50 100 0 86Z'/></svg>");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><path fill='white' d='M0 0H100V86Q50 100 0 86Z'/></svg>");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 100% 100%;
}
.hero__media, .hero__overlay {
  position: absolute;
  inset: 0;
}
.hero__media {
  z-index: -2;
}
.hero__image, .hero__video {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.hero--image {
  --hero-image-load-scale: 1.15;
  --hero-image-scroll-scale: 1;
}
.hero--image .hero__image {
  transform: translate3d(0, 0, 0) scale(var(--hero-image-load-scale, 1.15)) scale(var(--hero-image-scroll-scale, 1));
  transition: none;
  will-change: transform;
}
.hero__overlay {
  z-index: -1;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.08) 0%, rgba(17, 17, 17, 0.24) 38%, rgb(17 17 17) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  inline-size: 100%;
  padding-block: 15vh 15vh;
}
.hero__content {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  inline-size: min(100%, 58rem);
  margin-inline: auto;
  text-align: center;
}
.hero h1,
.hero p {
  margin: 0;
  color: var(--color-white);
}
.hero h1 {
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.hero p {
  max-inline-size: 32rem;
  font-weight: 500;
  line-height: 1.4;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}
.hero--align-left .hero__inner {
  justify-content: flex-start;
}
.hero--align-left .hero__content {
  justify-items: start;
  margin-inline: 0;
  text-align: left;
}
.hero--align-left .hero__actions {
  justify-content: flex-start;
}
.hero--purple {
  background-color: transparent;
  background-image: linear-gradient(208deg, #b62590 20.55%, #6e2a6e 75.6%);
  background-position: calc(50% + var(--hero-parallax-x, 0px)) 50%;
  background-size: 320% 320%;
  z-index: 2;
}
.hero--purple::before {
  content: "";
  position: absolute;
  inset: -24%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 22% 16%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.1) 18%, rgba(255, 255, 255, 0) 52%), radial-gradient(circle at 78% 74%, rgba(182, 37, 144, 0.34) 0%, rgba(182, 37, 144, 0.14) 22%, rgba(182, 37, 144, 0) 60%);
  opacity: 0.85;
  transform: translate3d(calc(var(--hero-parallax-x, 0px) * 1.15), 0, 0) scale(1.3);
  transition: opacity 240ms ease-out;
  will-change: transform;
}
.hero--purple .hero__inner {
  padding-block: 5rem 8rem;
}
.hero--image, .hero--video {
  min-height: 85vh;
}

.hero-intro__panel {
  position: relative;
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--gradient-green);
  background-position: calc(50% + var(--intro-parallax-x, 0px)) calc(50% + var(--intro-parallax-y, 0px));
  background-size: 240% 240%;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.18);
}
.hero-intro__panel::before {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 28% 24%, rgba(232, 253, 194, 0.4) 0%, rgba(232, 253, 194, 0.18) 18%, rgba(232, 253, 194, 0) 52%), radial-gradient(circle at 72% 76%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 42%);
  opacity: 1;
  transform: translate3d(calc(var(--intro-parallax-x, 0px) * 1.25), calc(var(--intro-parallax-y, 0px) * 1.25), 0) scale(1.14);
  transition: opacity 240ms ease-out;
  will-change: transform;
}
.hero-intro__content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 1.75rem;
  padding: clamp(3.25rem, 7vw, 6rem) clamp(1.5rem, 4vw, 4rem);
  text-align: center;
}
.hero-intro__eyebrow, .hero-intro__title, .hero-intro__description {
  margin: 0;
}
.hero-intro__eyebrow {
  font-family: var(--body-font);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  background: var(--gradient-mint);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-intro__title {
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--color-white);
}
.hero-intro__description {
  max-inline-size: 48rem;
  line-height: 1.6;
  background: var(--gradient-mint);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-intro__media {
  position: relative;
  min-block-size: 20rem;
  z-index: 1;
}
.hero-intro__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(37, 143, 116, 0.2) 0%, rgba(37, 143, 116, 0.1) 28%, rgba(37, 143, 116, 0) 50%);
  z-index: 1;
  pointer-events: none;
}
.hero-intro__image {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.hero-intro--with-image .hero-intro__media {
  overflow: hidden;
}
.hero-intro--with-image .hero-intro__image {
  --intro-image-load-scale: 1.15;
  transform: scale(var(--intro-image-load-scale, 1.15));
  transition: transform 3000ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.hero-intro--with-image .hero-intro__panel {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><path fill='white' d='M97.8 0H2.2A2.2 2.2 0 0 0 0 2.2V85A2.2 2.2 0 0 0 2.2 87.2H1.9C34.3 95.9 65.7 95.9 98.1 87.2H97.8A2.2 2.2 0 0 0 100 85V2.2A2.2 2.2 0 0 0 97.8 0Z'/></svg>");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><path fill='white' d='M97.8 0H2.2A2.2 2.2 0 0 0 0 2.2V85A2.2 2.2 0 0 0 2.2 87.2H1.9C34.3 95.9 65.7 95.9 98.1 87.2H97.8A2.2 2.2 0 0 0 100 85V2.2A2.2 2.2 0 0 0 97.8 0Z'/></svg>");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 100% 100%;
}
.hero-intro--with-image .hero-intro__content {
  justify-items: start;
  align-content: center;
  padding: clamp(3rem, 5vw, 5rem);
  padding-bottom: 12rem;
  text-align: left;
}
.hero-intro--with-image .hero-intro__title {
  max-inline-size: 12ch;
}
.hero-intro--with-image .hero-intro__description {
  max-inline-size: 22rem;
}

@keyframes hero-purple-drift {
  0% {
    background-position: 48% 48%;
  }
  50% {
    background-position: 56% 52%;
  }
  100% {
    background-position: 48% 48%;
  }
}
@keyframes hero-purple-glow {
  0% {
    transform: translate3d(-1rem, 0.5rem, 0) scale(1.26);
  }
  50% {
    transform: translate3d(1rem, -0.5rem, 0) scale(1.32);
  }
  100% {
    transform: translate3d(-1rem, 0.5rem, 0) scale(1.26);
  }
}
@keyframes hero-intro-drift {
  0% {
    background-position: 46% 46%;
  }
  50% {
    background-position: 54% 54%;
  }
  100% {
    background-position: 46% 46%;
  }
}
@keyframes hero-intro-glow {
  0% {
    transform: translate3d(-0.75rem, -0.25rem, 0) scale(1.1);
  }
  50% {
    transform: translate3d(0.75rem, 0.25rem, 0) scale(1.16);
  }
  100% {
    transform: translate3d(-0.75rem, -0.25rem, 0) scale(1.1);
  }
}
@media (max-width: 959px) {
  .hero-block--with-intro {
    margin-bottom: 2.5rem;
  }
  .hero {
    background-size: 100% 100%, 30rem 30rem, 100% 46%, 24rem 24rem, 100% 100%;
  }
  .hero__content {
    inline-size: min(100%, 36rem);
    gap: 1.25rem;
  }
  .hero p {
    max-inline-size: 26rem;
  }
  .hero__actions {
    inline-size: 100%;
    flex-direction: column;
  }
  .hero__actions .button {
    inline-size: min(100%, 20rem);
    justify-content: center;
  }
  .hero--align-left .hero__content {
    justify-items: center;
    margin-inline: auto;
    text-align: center;
  }
  .hero--align-left .hero__actions {
    justify-content: center;
  }
  .hero--image, .hero--video {
    min-height: 28rem;
  }
  .hero--image .hero__image {
    transform: translate3d(0, 0, 0) scale(1.04);
  }
  .hero--purple .hero__inner {
    padding-block: 5rem 8rem;
  }
  .hero--purple {
    background-position: center;
    background-size: 280% 280%;
    animation: hero-purple-drift 16s ease-in-out infinite alternate;
  }
  .hero--purple::before {
    transform: translate3d(0, 0, 0) scale(1.28);
    animation: hero-purple-glow 18s ease-in-out infinite alternate;
  }
  .hero-intro__content {
    gap: 1.25rem;
    padding: 2.5rem 1.5rem;
  }
  .hero-intro__eyebrow {
    font-size: 0.875rem;
    letter-spacing: 0.22em;
  }
  .hero-intro__title {
    max-inline-size: 15ch;
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .hero-intro__description {
    max-inline-size: 34rem;
    font-size: 1rem;
  }
  .hero-intro--with-image .hero-intro__panel {
    grid-template-columns: 1fr;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-intro--with-image .hero-intro__content {
    order: 2;
    justify-items: center;
    padding-bottom: 2.5rem;
    text-align: center;
  }
  .hero-intro--with-image .hero-intro__title, .hero-intro--with-image .hero-intro__description {
    max-inline-size: none;
  }
  .hero-intro__media {
    min-block-size: 18rem;
  }
  .hero-intro--with-image .hero-intro__media {
    order: 1;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><path fill='white' d='M97.8 0H2.2A2.2 2.2 0 0 0 0 2.2V85A2.2 2.2 0 0 0 2.2 87.2H1.9C34.3 95.9 65.7 95.9 98.1 87.2H97.8A2.2 2.2 0 0 0 100 85V2.2A2.2 2.2 0 0 0 97.8 0Z'/></svg>");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: 100% 100%;
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><path fill='white' d='M97.8 0H2.2A2.2 2.2 0 0 0 0 2.2V85A2.2 2.2 0 0 0 2.2 87.2H1.9C34.3 95.9 65.7 95.9 98.1 87.2H97.8A2.2 2.2 0 0 0 100 85V2.2A2.2 2.2 0 0 0 97.8 0Z'/></svg>");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 100% 100%;
  }
  .hero-intro__panel {
    background-position: 46% 46%;
    background-size: 260% 260%;
    animation: hero-intro-drift 18s ease-in-out infinite alternate;
  }
  .hero-intro__panel::before {
    transform: translate3d(0, 0, 0) scale(1.12);
    animation: hero-intro-glow 20s ease-in-out infinite alternate;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero--image .hero__image {
    transform: none;
    transition: none;
    will-change: auto;
  }
  .hero-intro--with-image .hero-intro__image {
    transform: none;
    transition: none;
    will-change: auto;
  }
  .hero--purple {
    animation: none;
  }
  .hero--purple::before {
    animation: none;
    transform: translate3d(0, 0, 0) scale(1.28);
  }
  .hero-intro__panel {
    animation: none;
  }
  .hero-intro__panel::before {
    animation: none;
    transform: translate3d(0, 0, 0) scale(1.12);
  }
}
