:root {
  --bg-color: #f5f7fa;
  --text-color: #1f2937;
  --line-thin: 0.0625rem;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  color: var(--text-color);
  background: var(--bg-color);
  overflow-x: hidden;
}

/* LENIS STYLES START */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}
/* LENIS STYLES END */

main {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* PRELOADER STYLES START */
.loader {
  z-index: 100;
  color: #ffffff;
  width: 100%;
  height: 100dvh;
  display: block;
  position: fixed;
  inset: 0;
}

.loader__bg {
  background-color: #0a0a0a;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.loader__container {
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.loader__bg-bar {
  z-index: 1;
  transform-origin: 0 50%;
  transform-style: preserve-3d;
  background-color: #ffffff;
  width: 100%;
  height: 0.5em;
  position: absolute;
  inset: auto 0 0;
  transform: scale3d(0, 1, 1);
}

.loader__headline-wrap {
  width: min(92vw, 70rem);
  min-height: 3.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.loader__headline-item {
  width: 100%;
  text-align: center;
  position: absolute;
  white-space: normal;
  font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2.25rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.01em;
  display: inline-block;
}

.loader__headline-item.is--base {
  opacity: 0.22;
}

.loader__headline-item.is--top {
  -webkit-clip-path: inset(0% 100% 0% 0%);
  clip-path: inset(0% 100% 0% 0%);
}
/* PRELOADER STYLES END */

/* HERO BLOCK STYLES START */
.section--hero {
  background: #39315e;
  color: #ffffff;
  width: 100%;
  max-width: none;
  min-height: auto;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  overflow: clip;
}

.hero-block {
  width: min(100%, 72rem);
  height: 100svh;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4rem) 1rem;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  gap: 1.25rem;
  position: relative;
}

.hero-block__logo {
  max-width: 10rem;
  margin-top: 1.875rem;
  width: 100%;
  height: auto;
  display: block;
}

.hero-block__kicker {
  margin: 0;
  font-size: clamp(0.55rem, 0.5rem + 0.3vw, 0.85rem);
  font-weight: 600;
  color: grey;
  line-height: 1.2;
  max-width: 34ch;
}

.hero-block__title {
  margin: 0;
  font-size: clamp(2rem, 1.6rem + 2.8vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: none;
  width: min(92vw, 22ch);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08em;
}

.hero-block__title-static {
  display: block;
  line-height: 0.95;
}

.hero-block__title-accent {
  color: #6243f5;
  display: block;
  position: relative;
  white-space: nowrap;
  line-height: 0.95;
  min-height: 1em;
  overflow: hidden;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.08em;
}

/* MINI SHOWREEL STYLES START */
.mini-showreel-lightbox {
  pointer-events: none;
  justify-content: center;
  align-items: center;
  padding: 3em;
  display: flex;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.mini-showreel-lightbox__safearea {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
}

.mini-showreel-lightbox__target {
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
}

.mini-showreel-lightbox__dark {
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  background-color: #0009;
  width: 100%;
  height: 100%;
  position: absolute;
  transition: opacity 1s cubic-bezier(0.87, 0, 0.13, 1);
}

.mini-showreel {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: min(100vw - 3em, 25em);
  display: flex;
  position: relative;
}

.mini-showreel__card {
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  color: #201d1d;
  background-color: #f4f4f4;
  border-radius: 1em;
  flex-flow: column;
  width: 100%;
  padding: 1em;
  display: flex;
  position: relative;
}

.mini-showreel__media {
  z-index: 1;
  position: relative;
}

.mini-showreel__video {
  background-color: #cfd5dc;
  border-radius: 0.25em;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.mini-showreel__cover-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.mini-showreel__before {
  padding-top: 62.5%;
}

.mini-showreel__info {
  justify-content: space-between;
  align-items: center;
  height: 1.75em;
  padding-left: 0.5em;
  display: flex;
  position: relative;
}

.mini-showreel__text {
  letter-spacing: -0.02em;
  font-size: 1.25em;
  font-weight: 600;
}

.mini-showreel__play-svg {
  width: 1.75em;
}

.mini-showreel__click {
  z-index: 2;
  cursor: pointer;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

[data-mini-showreel-status="active"] .mini-showreel__click {
  display: none;
}

[data-mini-showreel-status] .mini-showreel__info {
  transition: margin 1s cubic-bezier(0.87, 0, 0.13, 1);
}

[data-mini-showreel-status="active"] .mini-showreel__info {
  margin-top: -2.75em;
}

[data-mini-showreel-status] .mini-showreel__card {
  margin-top: 0;
  margin-bottom: 0;
  transition: margin 1s cubic-bezier(0.87, 0, 0.13, 1);
}

[data-mini-showreel-status="active"] .mini-showreel__card {
  margin-top: 1.375em;
  margin-bottom: 1.375em;
}

[data-mini-showreel-status="active"] .mini-showreel-lightbox__dark {
  opacity: 1;
  pointer-events: auto;
}

.hero-showreel {
  position: absolute;
  right: calc(1.875rem - ((100vw - min(72rem, 100vw)) / 2));
  bottom: 1.875rem;
  z-index: 4;
}
/* MINI SHOWREEL STYLES END */

.hero-block__media-start {
  position: relative;
  width: min(30.667vw, 14rem);
  aspect-ratio: 666.65 / 689.24;
}

.hero-block__media {
  --hero-mask-w: 100%;
  --hero-mask-h: 100%;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  will-change: width, height, transform;
  background-color: transparent;
  overflow: hidden;
  -webkit-mask-image: url("../assets/images/violet_lines_mask.svg");
  mask-image: url("../assets/images/violet_lines_mask.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: var(--hero-mask-w) var(--hero-mask-h);
  mask-size: var(--hero-mask-w) var(--hero-mask-h);
  -webkit-mask-position: center;
  mask-position: center;
}

.hero-block__media-dark {
  position: absolute;
  inset: 0;
  background: #0d0f0d;
  opacity: 0;
  z-index: 1;
}

.hero-block__image {
  width: calc(100% + 0.5rem);
  height: calc(100% + 0.5rem);
  position: absolute;
  inset: -0.25rem;
  object-fit: cover;
  z-index: 0;
  transform: translateZ(0);
  will-change: transform;
}

.hero-block__zoom-end {
  width: 100vw;
  height: 100dvh;
  margin-left: calc(50% - 50vw);
}

.background-zoom__text {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2em;
  position: relative;
  padding: 2rem 1rem calc(50dvh - 12em);
}

.background-zoom__h {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  font-size: clamp(2.1rem, 1.5rem + 3.6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-align: center;
}

.background-zoom__text .background-zoom__h:first-child {
  padding-top: 0;
}

.background-zoom__img {
  height: auto;
  width: min(100%, 35.125rem);
}

.background-zoom__h.is--margin-top {
  margin-top: 6.5dvh;
}
/* HERO BLOCK STYLES END */

/* SECTION 2 STYLES START */
.section--features {
  background: #dbdbe6;
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(1.5rem, 2.6vw, 2.5rem) 0 clamp(2.5rem, 4vw, 4rem);
  overflow: hidden;
}

.features__title {
  margin: 0;
  color: #2e2e35;
  font-size: clamp(2rem, 1.5rem + 2.7vw, 4.25rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-align: center;
}

.feature-orbit {
  width: min(100%, 64rem);
  min-height: clamp(37rem, 75vw, 52rem);
  margin: 0 auto;
  padding: 0 0.5rem;
  position: relative;
}

.feature-orbit__scene {
  width: min(100%, 58rem);
  position: absolute;
  top: 17%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  transition: filter 0.25s ease;
}

.feature-orbit__robot {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.feature-orbit__eye {
  width: 3.48%;
  aspect-ratio: 54 / 31;
  position: absolute;
  top: 33.64%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  overflow: hidden;
  border-radius: 999rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-orbit__eye--left {
  left: 46.94%;
}

.feature-orbit__eye--right {
  left: 55.93%;
}

.feature-orbit__pupil {
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #36396f;
  display: block;
  pointer-events: none;
  box-shadow: 0 0 0 var(--line-thin) rgba(54, 57, 111, 0.35);
}

.feature-orbit__cards {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.feature-orbit__card {
  width: auto;
  max-width: none;
  height: auto;
  position: absolute;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .feature-orbit:has(.feature-orbit__cards:hover) .feature-orbit__scene {
    filter: brightness(0.82);
  }
}

.feature-orbit__card--1 {
  top: 7%;
  left: 0;
  width: min(42%, 26.5rem);
}

.feature-orbit__card--2 {
  top: 10.5%;
  right: -3%;
  width: min(51%, 32rem);
}

.feature-orbit__card--3 {
  top: 44%;
  right: -5%;
  width: min(39%, 24rem);
}

.feature-orbit__card--4 {
  top: 67%;
  right: -4%;
  width: min(37%, 23rem);
}

.feature-orbit__card--5 {
  bottom: -4%;
  left: 73%;
  width: min(64%, 40.5rem);
  transform: translateX(-50%);
  z-index: 1;
}

.feature-orbit__card--6 {
  bottom: 4.2%;
  left: -3%;
  width: min(47%, 30.5rem);
}

.feature-orbit__card--7 {
  top: 54.5%;
  left: -4%;
  width: min(38%, 24rem);
}

.feature-orbit__card--8 {
  top: 33%;
  left: -4%;
  width: min(33%, 20rem);
}

/* SECTION 2 STYLES END */

/* ROTATING TEXT STYLES START */
[data-rotating-words] {
  display: inline-block;
  position: relative;
  min-height: 1em;
}

.rotating-text__inner {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  height: 1em;
  overflow: hidden;
}

.rotating-text__word {
  display: block;
  white-space: nowrap;
  position: absolute;
  top: 0;
  left: 0;
}
/* ROTATING TEXT STYLES END */
