* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #F3F1F9;
  font-family: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-color: #6F3DFF #210850;
  scrollbar-width: thin;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #210850;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #210850;
  border-radius: 999px;
  background: linear-gradient(180deg, #A67BFF 0%, #6F3DFF 48%, #320C73 100%);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #C4A8FF 0%, #854CFF 48%, #4D1AA4 100%);
}

/* ===== Layout ===== */
.container {
  padding-left: 15.5vw;
  padding-right: 15.5vw;
  margin: 0 auto;
}

/* ===== Header ===== */
.header {
  padding-left: 2.5vw;
  padding-right: 2.5vw;
  padding-top: 33px;
  padding-bottom: 0;
  color: rgb(255, 255, 255);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  animation: heroFadeDown .75s cubic-bezier(.2, .8, .2, 1) both;
}

.header__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__logo {
  width: 46px;
  height: 19px;
  display: block;
}

.header__brand {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 100;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.05em;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 86px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 86px;
}

.header__link,
.header__contactLink {
  position: relative;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0em;
  transition: color .22s ease, opacity .22s ease;
}

.header__link::after,
.header__contactLink::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .28s ease;
}

.header__link:hover::after,
.header__contactLink:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__icons {
  display: flex;
  align-items: center;
  gap: 86px;
}

.header__contactLink {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.header__iconBtn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.09);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: transform .24s ease, background .24s ease, box-shadow .24s ease;
}

.header__iconBtn:hover,
.header__drawerIconBtn:hover {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 28px rgba(166, 123, 255, 0.24);
  transform: translateY(-2px);
}

.header__iconBtn:active,
.header__drawerIconBtn:active {
  transform: translateY(0) scale(.96);
}

.header__iconSvg {
  width: 14px;
  height: 14px;
  display: block;
}

/* ===== Burger + Drawer ===== */
.header__burger {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.09);
  cursor: pointer;
  padding: 0;
  position: relative;
}

.header__burger span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.header__burger span:nth-child(1) { top: 16px; }
.header__burger span:nth-child(2) { top: 23px; }
.header__burger span:nth-child(3) { top: 30px; }

.header__drawer {
  display: none;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 958px;
  width: 100%;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 23% 4%, rgba(255, 255, 255, 0.34) 0%, rgba(208, 175, 255, 0.22) 18%, transparent 42%),
    radial-gradient(ellipse at 54% 29%, rgba(132, 76, 255, 0.46) 0%, rgba(77, 26, 164, 0.34) 32%, transparent 64%),
    radial-gradient(ellipse at 82% 15%, rgba(50, 12, 115, 0.55) 0%, rgba(33, 8, 80, 0.72) 42%, transparent 72%),
    linear-gradient(180deg, #1B0646 0%, #320C73 48%, #4D1AA4 72%, #210850 92%, #210850 100%);
  z-index: 0;
}

.hero__bg::before,
.hero__bg::after {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
  z-index: 0;
}

.hero__bg::before {
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.30) 0%, rgba(174, 125, 255, 0.30) 18%, transparent 44%),
    radial-gradient(circle at 62% 36%, rgba(133, 76, 255, 0.42) 0%, rgba(102, 39, 212, 0.30) 28%, transparent 57%),
    radial-gradient(circle at 84% 22%, rgba(50, 12, 115, 0.56) 0%, rgba(50, 12, 115, 0.34) 34%, transparent 62%);
  filter: blur(34px) saturate(130%);
  opacity: .92;
  transform: translate3d(0, 0, 0) scale(1.06);
  animation: heroAuroraDrift 16s ease-in-out infinite alternate;
}

.hero__bg::after {
  background:
    radial-gradient(circle, rgba(255,255,255,0.82) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(255,255,255,0.55) 0 1px, transparent 1.5px),
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(33,8,80,0) 70%, rgba(33,8,80,0.54) 86%, #210850 100%);
  background-size: 220px 220px, 360px 360px, 100% 100%;
  background-position: 0 0, 80px 120px, 0 0;
  opacity: .48;
  animation: heroStarDrift 24s linear infinite;
}

.hero__inner {
  position: relative;
  height: 958px;
  z-index: 2;
}

.hero__rightText {
  position: absolute;
  right: 2.5vw;
  top: calc(33px + 48px + 149px);
  text-align: right;
  color: #fff;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 66px;
  line-height: 1.1;
  max-width: 700px;
  letter-spacing: 0.05em;
  animation: heroFadeLeft .9s .28s cubic-bezier(.2, .8, .2, 1) both;
}

.hero__leftBlock {
  position: absolute;
  left: 2.5vw;
  top: calc(33px + 48px + 253px);
  animation: heroFadeRight .9s .18s cubic-bezier(.2, .8, .2, 1) both;
}

.hero__leftText {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: 560px;
}

.hero__leftDesc {
  margin-top: 30px;
  max-width: 500px;
  font-size: 13px;
  font-weight: 100;
  letter-spacing: 0.10em;
  line-height: 1.5;
  color: #fff;
}

/* ===== Squares ===== */
.hero__squares {
  position: absolute;
  left: 2.5vw;
  bottom: 54px;
  display: flex;
  gap: 34px;
}

.hero__square {
  width: 215px;
  height: 215px;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  animation: heroCardRise .85s .48s cubic-bezier(.2, .8, .2, 1) both;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), box-shadow .32s ease, border-color .32s ease;
}

.hero__square:nth-child(2) {
  animation-delay: .6s;
}

.hero__square:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(33, 8, 80, .25);
}

.hero__square--light {
  background: #F0F0F0;
}

.hero__square--glass {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(140% 120% at 20% 15%, rgba(255,255,255,0.26) 0%, rgba(255,255,255,0.10) 38%, rgba(255,255,255,0.05) 60%, rgba(255,255,255,0.03) 100%),
    linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 55%, rgba(0,0,0,0.10) 100%);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.hero__square--glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  background:
    radial-gradient(120px 120px at 22% 18%, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0.12) 45%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.06));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  padding: 1px;
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.9;
}

.hero__square--glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  background: radial-gradient(120% 120% at 50% 40%, rgba(0,0,0,0) 45%, rgba(0,0,0,0.16) 100%);
}

.hero__square-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.hero__square--light .hero__square-icon {
  animation: heroRocketColorFlow 3.4s ease-in-out infinite;
}

.hero__square-bottom {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.hero__square-number {
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
}

.hero__square-label {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.hero__square--light .hero__square-number { color: #1a1a1a; }
.hero__square--light .hero__square-label  { color: #555; }

.hero__square--glass .hero__square-number { color: #ffffff; }
.hero__square--glass .hero__square-label  { color: rgba(255,255,255,0.75); }

/* ===== Hero desc + chips ===== */
.hero__desc {
  margin-top: 30px;
  font-size: 12px;
  font-weight: 100;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0.1em;
  color: #fff;
  text-align: right;
  word-wrap: break-word;
}

.hero__desc span {
  font-weight: 600;
}

.hero__chips {
  position: absolute;
  right: 2.5vw;
  bottom: 0;
  transform: translateY(-54px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  animation: heroOpacityIn .85s .7s ease both;
}

.hero__chipsTop {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  width: fit-content;
}

.hero__chipsBottom {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  width: fit-content;
}

.chip {
  height: 33px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-family: "Michroma", sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
  color: rgb(255, 255, 255);
  border: 1px solid rgb(255, 255, 255);
  background: rgba(255, 255, 255, 0.00);
  transition: transform .24s ease, background .24s ease, box-shadow .24s ease;
}

.chip:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 28px rgba(166, 123, 255, .25);
}

.chip--icon {
  width: 56px;
  padding: 0;
}

.chip__icon {
  width: 13px;
  height: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chip__icon img {
  width: 13px;
  height: 13px;
  display: block;
}

/* ===== Main Light Section ===== */
main {
  background: #F3F1F9;
  padding: 0;
}

main > .container {
  padding-top: 56px;
}

.featuredProjects {
  position: relative;
  background:
    radial-gradient(circle at 18% 18%, rgba(133, 76, 255, 0.24), transparent 34%),
    linear-gradient(180deg, #210850 0%, #240958 15%, #320C73 72%, #4D1AA4 100%);
  color: #ffffff;
  margin-top: -1px;
  padding: 120px 0 96px;
}

.featuredProjects::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -90px;
  height: 180px;
  background: linear-gradient(180deg, rgba(33, 8, 80, 0), #210850 48%, rgba(33, 8, 80, 0));
  pointer-events: none;
  z-index: 0;
}

.featuredProjects__inner {
  position: relative;
  z-index: 1;
  width: min(1280px, 90vw);
  margin: 0 auto;
}

.featuredProjects__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 70px;
}

.featuredProjects__eyebrow {
  width: fit-content;
  margin-bottom: 18px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.featuredProjects__title {
  margin: 0;
  color: #ffffff;
  font-size: 54px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
  overflow: visible;
}

.featuredProjects__title span {
  color: rgba(255, 255, 255, 0.46);
}

.featuredProjects__button {
  min-height: 49px;
  padding: 0 25px;
  border-radius: 9px;
  background: #ffffff;
  color: #320C73;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .25s ease, background .25s ease;
}

.featuredProjects__button:hover {
  transform: translateY(-2px);
  background: #F9F4FE;
}

.featuredProjects__stage {
  --project-accent: #6f3dff;
  --project-accent-soft: #28d4bd;
  display: grid;
  grid-template-columns: minmax(0, 1.82fr) minmax(250px, 1fr);
  min-height: 585px;
  min-width: 0;
  border-radius: 22px;
  overflow: visible;
}

.featuredProjects__preview,
.featuredProjects__info {
  min-width: 0;
  opacity: 0;
  transform: translateY(34px);
}

.featuredProjects.is-visible .featuredProjects__preview,
.featuredProjects.is-visible .featuredProjects__info {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}

.featuredProjects.is-visible .featuredProjects__info {
  transition-delay: .12s;
}

.featuredProjects__preview {
  position: relative;
  z-index: 2;
  min-height: 585px;
  padding: 84px 44px 0;
  border-radius: 22px;
  background: #FFFFFF;
  overflow: hidden;
}

.featuredProjects__preview::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 232px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(148, 148, 148, .42) 54%, rgba(64, 64, 64, .72) 100%);
  pointer-events: none;
  z-index: 3;
}

.featuredProjects__browser {
  position: relative;
  z-index: 1;
  width: min(720px, 89%);
  height: 390px;
  margin: 0 auto;
  border-radius: 7px;
  background: #1f0a4b;
  box-shadow: 0 28px 70px rgba(18, 18, 18, 0.16);
  overflow: hidden;
  transform: translateZ(0);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.featuredProjects__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 0 42%, rgba(255, 255, 255, .34) 50%, transparent 58% 100%);
  opacity: 0;
  transform: translateX(-35%);
  pointer-events: none;
}

.featuredProjects__preview:hover .featuredProjects__browser {
  transform: translateY(-8px) scale(1.015);
}

.featuredProjects__stage.is-changing .featuredProjects__preview:hover .featuredProjects__browser {
  transform: none;
}

.featuredProjects__browserTop {
  height: 22px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 10px;
  background: #23095a;
}

.featuredProjects__browserTop span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f05d5d;
}

.featuredProjects__browserTop span:nth-child(2) {
  background: #f3c15d;
}

.featuredProjects__browserTop span:nth-child(3) {
  background: #59c76b;
}

.featuredProjects__mockup {
  height: calc(100% - 18px);
  background:
    radial-gradient(circle at 18% 34%, var(--project-accent-soft) 0 0, transparent 68px),
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.42), transparent 54px),
    linear-gradient(135deg, color-mix(in srgb, var(--project-accent) 44%, #320C73), #4D1AA4 58%, #210850);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.featuredProjects__siteShot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.featuredProjects__mockupNav {
  height: 52px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.featuredProjects__mockupNav span:first-child {
  margin-right: auto;
  font-weight: 700;
}

.featuredProjects__mockupHero {
  position: relative;
  width: 78%;
  margin: 75px auto 0;
  text-align: center;
}

.featuredProjects__mockupHero p {
  margin: 0;
  font-size: 39px;
  font-weight: 500;
  line-height: 1.05;
}

.featuredProjects__mockupHero small {
  display: block;
  width: 76%;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  line-height: 1.5;
}

.featuredProjects__mockupGlow {
  position: absolute;
  left: -96px;
  top: -78px;
  width: 200px;
  height: 200px;
  background: conic-gradient(from 0deg, #ff8a3d, transparent, #ffd36a, transparent, #ff8a3d);
  filter: blur(7px);
  opacity: .82;
  animation: projectGlow 8s linear infinite;
}

.featuredProjects__mockupLogos {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 22px;
  padding: 0 50px;
  background: rgba(255, 255, 255, 0.78);
}

.featuredProjects__mockupLogos span {
  height: 15px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.22);
}

.featuredProjects__metric {
  position: absolute;
  left: 36px;
  right: 56px;
  bottom: 24px;
  z-index: 4;
  color: #ffffff;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 24px;
  row-gap: 6px;
}

.featuredProjects__metric::before {
  content: none;
}

.featuredProjects__metric::after {
  content: "";
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  height: 1px;
  background: rgba(255, 255, 255, 0.72);
  z-index: 1;
}

.featuredProjects__metric strong,
.featuredProjects__metric span {
  position: relative;
  z-index: 1;
}

.featuredProjects__metric strong {
  grid-column: 1 / -1;
  grid-row: 1;
  font-size: 68px;
  font-weight: 600;
  line-height: 1;
}

.featuredProjects__metric span {
  grid-column: 1;
  grid-row: 2;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.featuredProjects__info {
  position: relative;
  z-index: 1;
  min-height: 585px;
  margin-left: -34px;
  padding: 36px 44px 34px 76px;
  border-radius: 0 22px 22px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.08)),
    #3B1282;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featuredProjects__tag {
  width: fit-content;
  display: block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.featuredProjects__info h3 {
  margin: 0;
  color: #ffffff;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.06;
}

.featuredProjects__infoBottom span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.featuredProjects__infoBottom p {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.22;
  overflow-wrap: anywhere;
  max-width: 340px;
}

.featuredProjects__arrows {
  margin-top: 48px;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.featuredProjects__arrow {
  width: 55px;
  height: 55px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}

.featuredProjects__arrow:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
}

.featuredProjects__arrow svg {
  width: 22px;
  height: 22px;
}

.featuredProjects__stage.is-changing .featuredProjects__preview,
.featuredProjects__stage.is-changing .featuredProjects__info {
  animation: projectPanelStack .52s cubic-bezier(.2, .8, .2, 1);
}

.featuredProjects__stage.is-changing .featuredProjects__browser {
  animation: projectBrowserStack .52s cubic-bezier(.2, .8, .2, 1);
}

.featuredProjects__stage.is-changing .featuredProjects__preview::after {
  animation: projectCardShine .52s ease;
}

@keyframes projectGlow {
  to { transform: rotate(360deg); }
}

@keyframes projectPanelStack {
  0% {
    opacity: .72;
    transform: translate3d(22px, 10px, 0) scale(.985);
  }
  58% {
    opacity: 1;
    transform: translate3d(-4px, -2px, 0) scale(1.006);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes projectBrowserStack {
  0% {
    transform: translate3d(18px, 8px, 0) scale(.972);
    filter: saturate(.85) blur(.2px);
  }
  62% {
    transform: translate3d(-5px, -3px, 0) scale(1.012);
    filter: saturate(1.08) blur(0);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    filter: saturate(1) blur(0);
  }
}

@keyframes projectCardShine {
  0% {
    opacity: 0;
    transform: translateX(-45%);
  }
  35% {
    opacity: .55;
  }
  100% {
    opacity: 0;
    transform: translateX(45%);
  }
}

@keyframes heroAuroraDrift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1.06);
  }
  100% {
    transform: translate3d(2%, 2%, 0) scale(1.12);
  }
}

@keyframes heroStarDrift {
  0% {
    background-position: 0 0, 80px 120px, 0 0;
  }
  100% {
    background-position: 120px 180px, -80px 300px, 0 0;
  }
}

@keyframes heroFadeDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroOpacityIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes heroFadeRight {
  from {
    opacity: 0;
    transform: translateX(-26px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroFadeLeft {
  from {
    opacity: 0;
    transform: translateX(26px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroCardRise {
  from {
    opacity: 0;
    transform: translateY(34px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroRocketColorFlow {
  0% {
    filter: invert(13%) sepia(67%) saturate(2622%) hue-rotate(254deg) brightness(72%) contrast(112%) drop-shadow(0 0 0 rgba(111, 61, 255, 0));
  }
  50% {
    filter: invert(32%) sepia(88%) saturate(1973%) hue-rotate(248deg) brightness(102%) contrast(106%) drop-shadow(0 0 12px rgba(111, 61, 255, .34));
  }
  100% {
    filter: invert(13%) sepia(67%) saturate(2622%) hue-rotate(254deg) brightness(72%) contrast(112%) drop-shadow(0 0 0 rgba(111, 61, 255, 0));
  }
}

@keyframes consultFreePulse {
  0%, 100% {
    transform: rotate(7deg) scale(.96);
  }
  50% {
    transform: rotate(7deg) scale(1.07);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg::before,
  .hero__bg::after {
    animation: none;
  }

  .header__inner,
  .hero__rightText,
  .hero__leftBlock,
  .hero__square,
  .hero__chips,
  .hero__square--light .hero__square-icon,
  .consultBlock__mark,
  .revealBlock,
  .revealBlock .serviceCard,
  .revealBlock .priceCard {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.sectionTitle {
  margin: 0;
  font-size: 50px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 400;
  background: linear-gradient(to right, #320C73 0%, #4D1AA4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.sectionDesc {
  margin: 8px 0 0;
  background: linear-gradient(to right, #4D1AA4 0%, #6627D4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 20px;
  font-weight: 200;
  letter-spacing: -0.02em;
}

.sectionKicker {
  width: fit-content;
  margin: 0 auto 22px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(77, 26, 164, .1);
  color: #4D1AA4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sectionTitle--large {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  font-size: 54px;
  line-height: 1.08;
  overflow: visible;
}

.sectionDesc--large {
  max-width: 620px;
  margin: 14px auto 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.35;
}

#services .sectionKicker,
#services .sectionTitle--large,
#services .sectionDesc--large {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

#services .sectionDesc--large {
  max-width: 520px;
}

#pricing .sectionKicker,
#pricing .sectionTitle--large,
#pricing .sectionDesc--large {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

#faq .sectionKicker,
#faq .sectionTitle--large,
#faq .sectionDesc--large {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

#faq .sectionDesc--large {
  max-width: 620px;
}

/* ===== Services ===== */
.services {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  justify-content: center;
  gap: 18px;
}

.serviceCard {
  position: relative;
  border-radius: 22px;
  background: transparent;
  border: 1px solid rgba(77, 26, 164, .12);
  box-shadow: none;
  padding: 28px;
  overflow: hidden;
  min-height: 405px;
  display: flex;
  flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease;
}

.serviceCard:hover {
  transform: translateY(-8px);
  box-shadow: none;
}

.serviceCard__visual {
  width: 124px;
  height: 124px;
  display: grid;
  place-items: center;
  margin: 2px auto 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(166, 123, 255, .3), transparent 62%),
    rgba(77, 26, 164, .08);
}

.serviceCard__visual img {
  width: 62px;
  height: 62px;
  filter: invert(18%) sepia(85%) saturate(2338%) hue-rotate(256deg) brightness(84%) contrast(102%);
}

.serviceCard h3 {
  margin: 0 0 10px;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.08;
  background: linear-gradient(to right, #320C73 0%, #4D1AA4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.02em;
}

.serviceCard p {
  margin: 0;
  color: #6325CF;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  min-height: 58px;
}

.serviceCard__line {
  height: 1px;
  margin: 18px 0 14px;
  background: rgba(77, 26, 164, .22);
}

.serviceCard__meta {
  margin-bottom: 8px;
  color: #4D1AA4;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.serviceCard__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  list-style: none;
}

.serviceCard__list li {
  position: relative;
  padding-left: 15px;
  color: #451992;
  font-size: 12px;
  line-height: 1.25;
}

.serviceCard__list li::before,
.priceCard li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #A67BFF;
}

/* ===== Consult ===== */
.consultBlock {
  margin-top: 76px;
}

.consultBlock__notes {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
  color: #320C73;
  font-size: 24px;
  font-weight: 700;
}

.consultBlock__notes span::before {
  content: "?";
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 50%;
  background: #4D1AA4;
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 14px;
}

.consultBlock__panel {
  position: relative;
  min-height: 250px;
  padding: 42px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.4), transparent 24%),
    linear-gradient(135deg, #320C73 0%, #6F3DFF 62%, #A67BFF 100%);
  color: #fff;
}

.consultBlock__mark {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 122px;
  height: 122px;
  background: linear-gradient(135deg, #FFF7C8 0%, #E4D8F8 100%);
  color: #320C73;
  display: grid;
  place-items: center;
  padding: 28px 18px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
  clip-path: polygon(50% 0%, 58% 13%, 72% 7%, 75% 22%, 91% 20%, 86% 36%, 100% 45%, 86% 54%, 91% 70%, 75% 68%, 72% 83%, 58% 77%, 50% 100%, 42% 77%, 28% 83%, 25% 68%, 9% 70%, 14% 54%, 0% 45%, 14% 36%, 9% 20%, 25% 22%, 28% 7%, 42% 13%);
  filter: drop-shadow(0 12px 22px rgba(33, 8, 80, .18));
  transform: rotate(7deg) scale(1);
  animation: consultFreePulse 2.8s ease-in-out infinite;
}

.consultBlock__panel h3 {
  margin: 0;
  font-size: 78px;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.consultBlock__panel p {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.45;
}

.consultBlock__button,
.priceCard a {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #320C73;
  font-weight: 800;
  transition: transform .24s ease, box-shadow .24s ease;
}

.consultBlock__button {
  margin-top: 28px;
}

.consultBlock__button:hover,
.priceCard a:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(33, 8, 80, .18);
}

/* ===== Pricing ===== */
.pricingBlock {
  margin-top: 96px;
  display: none;
}

.pricingGrid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  align-items: start;
  justify-content: center;
  gap: 18px;
}

.priceCard {
  display: flex;
  flex-direction: column;
}

.priceCard__panel {
  min-height: 0;
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(77, 26, 164, .12);
  box-shadow: 0px 10px 0px 0px #E4D8F8;
  display: flex;
  flex-direction: column;
}

.priceCard--accent .priceCard__panel {
  background: linear-gradient(180deg, #A67BFF 0%, #6F3DFF 100%);
  color: #fff;
  box-shadow: 0px 10px 0px 0px #4D1AA4;
}

.priceCard h4 {
  margin: 0 0 8px;
  color: #210850;
  font-size: 28px;
  line-height: 1;
}

.priceCard--accent h4,
.priceCard--accent p,
.priceCard--accent li,
.priceCard--accent .priceCard__price {
  color: #fff;
}

.priceCard p {
  margin: 0 0 20px;
  color: #6325CF;
  font-size: 14px;
  line-height: 1.35;
}

.priceCard ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding-top: 16px;
  border-top: 1px solid rgba(77, 26, 164, .2);
}

.priceCard li {
  position: relative;
  padding-left: 18px;
  color: #320C73;
  font-size: 15px;
  font-weight: 600;
}

.priceCard__price {
  margin-top: 56px;
  color: #210850;
  font-size: clamp(28px, 2.4vw, 38px);
  font-weight: 700;
  line-height: 1;
  overflow-wrap: anywhere;
}

.priceCard a {
  width: calc(100% - 28px);
  margin: 18px auto 0;
}

.revealBlock {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}

.revealBlock.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.revealBlock .serviceCard,
.revealBlock .priceCard {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .8, .2, 1);
}

.revealBlock.is-visible .serviceCard,
.revealBlock.is-visible .priceCard {
  opacity: 1;
  transform: translateY(0);
}

.revealBlock.is-visible .serviceCard:nth-child(2),
.revealBlock.is-visible .priceCard:nth-child(2) {
  transition-delay: .08s;
}

.revealBlock.is-visible .serviceCard:nth-child(3),
.revealBlock.is-visible .priceCard:nth-child(3) {
  transition-delay: .16s;
}

/* ===== FAQ ===== */
.faqWrap {
  margin-top: 96px;
}

.faqGrid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.faqCol {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faqItem {
  border-radius: 16px;
  background-image: linear-gradient(#FFFFFF, #F9F4FE);
  box-shadow: 0px 10px 0px 0px #E4D8F8;
  overflow: hidden;
}

.faqBtn {
  width: 100%;
  text-align: left;
  padding: 30px 25px 30px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.faqQ {
  font-weight: 500;
  background: linear-gradient(to right, #320C73 0%, #4D1AA4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 25px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.02em;
}

.plus {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: transform .18s ease;
}

.plus svg { width: 28px; height: 28px; color: #4C1AA2; }

.faqA {
  max-height: 0;
  overflow: hidden;
  transition: max-height .22s ease;
  padding: 0 16px;
}

.faqA p {
  margin: 0 0 14px;
  color: #6325CF;
  font-size: 15px;
  letter-spacing: -0.02em;
  padding-left: 10px;
}

.faqItem[data-open="true"] .faqA {
  max-height: 220px;
}
.faqItem[data-open="true"] .plus {
  transform: rotate(45deg);
}

/* ===== Start Project ===== */
.startProject {
  width: 100vw;
  margin: 110px calc(50% - 50vw) 0;
  padding: 92px 5vw 96px;
  color: #210850;
  background:
    radial-gradient(circle at 22% 12%, rgba(196, 168, 255, .38), transparent 35%),
    linear-gradient(135deg, #210850 0%, #4D1AA4 48%, #7B45FF 100%);
}

.startProject__head {
  text-align: center;
  margin-bottom: 44px;
}

.startProject__head .sectionKicker {
  margin-left: auto;
  margin-right: auto;
  background: rgba(255,255,255,.16);
  color: rgba(255,255,255,.86);
}

.startProject__head h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -0.02em;
}

.startProject__head h3 span {
  color: rgba(255,255,255,.46);
}

.startProject__form {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 34px;
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 26px 72px rgba(33, 8, 80, .22);
}

.startProject__label,
.startProject__field span {
  display: block;
  margin-bottom: 14px;
  color: #320C73;
  font-size: 15px;
  font-weight: 700;
}

.startProject__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.startProject input,
.startProject textarea,
.startProject select {
  width: 100%;
  border: 1px solid rgba(77, 26, 164, .14);
  border-radius: 12px;
  background: #fff;
  color: #210850;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  box-shadow: 0 10px 26px rgba(33, 8, 80, .06);
  transition: border-color .22s ease, background .22s ease, box-shadow .22s ease, transform .22s ease;
}

.startProject input,
.startProject select {
  height: 56px;
  padding: 0 18px;
}

.startProject textarea {
  min-height: 142px;
  margin-top: 16px;
  padding: 18px;
  resize: vertical;
}

.startProject select {
  appearance: none;
}

.startProject__nativeSelect {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.startProject input::placeholder,
.startProject textarea::placeholder {
  color: rgba(50, 12, 115, .48);
}

.startProject input:focus,
.startProject textarea:focus,
.startProject select:focus {
  border-color: #C4A8FF;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(196, 168, 255, .28), 0 16px 34px rgba(33, 8, 80, .13);
}

.startProject__field {
  display: block;
  margin-top: 22px;
  margin-bottom: 22px;
  position: relative;
  z-index: 12;
}

.startProject__select {
  position: relative;
}

.startProject__selectButton {
  width: 100%;
  height: 56px;
  border: 1px solid rgba(77, 26, 164, .14);
  border-radius: 12px;
  background: #fff;
  color: #210850;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  padding: 0 48px 0 18px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(33, 8, 80, .06);
  position: relative;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.startProject__selectButton::after {
  content: "";
  position: absolute;
  right: 19px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid #320C73;
  border-bottom: 2px solid #320C73;
  transform: translateY(-65%) rotate(45deg);
  transition: transform .22s ease;
}

.startProject__select.is-open .startProject__selectButton {
  border-color: #C4A8FF;
  box-shadow: 0 0 0 4px rgba(196, 168, 255, .28), 0 16px 34px rgba(33, 8, 80, .13);
}

.startProject__select.is-open .startProject__selectButton::after {
  transform: translateY(-30%) rotate(225deg);
}

.startProject__selectMenu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 20;
  padding: 8px;
  border: 1px solid rgba(77, 26, 164, .14);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 52px rgba(33, 8, 80, .20);
  display: grid;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(.985);
  transform-origin: top;
  transition: opacity .2s ease, transform .2s ease;
}

.startProject__select.is-open .startProject__selectMenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.startProject__selectMenu button {
  min-height: 44px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #210850;
  font-family: inherit;
  font-size: 15px;
  font-weight: 650;
  text-align: left;
  padding: 0 14px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.startProject__selectMenu button:hover,
.startProject__selectMenu button.is-active {
  background: #EFE8FF;
  color: #4D1AA4;
}

.startProject__selectMenu button:hover {
  transform: translateX(3px);
}

.startProject__checks {
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.startProject__checks label {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: #320C73;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.startProject__checks input {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(50, 12, 115, .38);
  border-radius: 5px;
  background: #fff;
  accent-color: #6F3DFF;
  flex: 0 0 auto;
  box-shadow: none;
  cursor: pointer;
}

.startProject__submit {
  width: 100%;
  min-height: 54px;
  margin-top: 30px;
  border: 0;
  border-radius: 9px;
  background: #320C73;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
}

.startProject__submit:hover {
  transform: translateY(-2px);
  background: #4D1AA4;
  box-shadow: 0 18px 38px rgba(33, 8, 80, .18);
}

.startProject__status {
  display: none;
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 9px;
  background: rgba(111, 61, 255, .10);
  color: #320C73;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.startProject__status.is-visible {
  display: block;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  overflow: hidden;
  background: #F3F1F9;
  padding: 46px 0 142px;
  padding-left: 2.5vw;
  padding-right: 2.5vw;
}

.footer::before {
  content: "ETEN TECH";
  position: absolute;
  left: 50%;
  width: max-content;
  bottom: -118px;
  color: rgba(69, 25, 146, .10);
  font-size: clamp(120px, 17vw, 260px);
  font-weight: 800;
  line-height: .78;
  letter-spacing: .08em;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
}

.footer::after {
  content: "";
  position: absolute;
  left: 2.5vw;
  right: 2.5vw;
  bottom: 106px;
  height: 1px;
  background: rgba(69, 25, 146, .22);
  pointer-events: none;
}

.footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2.2fr 0.9fr 0.9fr 0.9fr 1.4fr auto;
  align-items: start;
  column-gap: 64px;
  row-gap: 24px;
}

.footer__title {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #320C73 0%, #4D1AA4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-transform: uppercase;
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-top: 6px;
}

.footer__link {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #451992;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  display: inline-block;
  width: fit-content;
}

.footer__meta {
  gap: 4px;
}

.footer__metaText {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #451992;
}

.footer__legal {
  gap: 6px;
  max-width: none;
}

.footer__cta {
  justify-self: end;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  color: #4D1AA4;
  width: fit-content;
}

.footer__ctaIcon {
  width: 82.5px;
  height: 82.5px;
  display: grid;
  place-items: center;
}

.footer__ctaIcon img {
  width: 82.5px;
  height: 82.5px;
}

.footer__ctaText {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-align: right;
  line-height: 1.2;
}

/* =========================================================
   ===== RESPONSIVE
   ========================================================= */
@media (max-width: 1320px) and (min-width: 1001px) {
  .featuredProjects__inner {
    width: min(1040px, 90vw);
  }

  .featuredProjects__title {
    font-size: 58px;
  }

  .featuredProjects__stage,
  .featuredProjects__preview,
  .featuredProjects__info {
    min-height: 465px;
  }

  .featuredProjects__preview {
    padding-top: 62px;
  }

  .featuredProjects__browser {
    width: min(570px, 89%);
    height: 330px;
  }

  .featuredProjects__mockupHero {
    margin-top: 48px;
  }

  .featuredProjects__mockupHero p {
    font-size: 31px;
  }

  .featuredProjects__metric strong {
    font-size: 54px;
  }

  .featuredProjects__metric span {
    font-size: 16px;
  }

  .featuredProjects__info h3 {
    font-size: 34px;
  }
}

@media (max-width: 1000px) {

  .container {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  main > .container {
    padding-top: 40px;
  }

  .footer {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  /* header */
  .header {
    padding-left: 5vw;
    padding-right: 5vw;
    padding-top: 18px;
  }

  .header__right {
    gap: 12px;
  }

  .header__nav,
  .header__icons {
    display: none;
  }

  .header__burger {
    display: block;
  }

  .header__brand {
    font-size: 16px;
  }

  .header__logo {
    width: 39px;
    height: 16px;
  }

  img[alt="Eten Tech logo"] {
    width: 39px;
    height: 16px;
  }

  .header__drawer {
    padding: 12px 14px;
    width: min(86vw, 200px);
    display: block;
    position: absolute;
    top: calc(18px + 48px + 12px);
    right: 5vw;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease;
    z-index: 20;
  }

  .header.is-open .header__drawer {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header__drawerNav,
  .header__drawerSocial {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .header__drawerSocial {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .header__drawerLink {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    line-height: 1.15;
    text-decoration: none;
    padding: 4px 0;
    color: #fff;
    width: fit-content;
  }

  .header__drawerIconBtn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.09);
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
  }

  .header__drawerIconBtn img {
    width: 14px;
    height: 14px;
    display: block;
  }

  /* hero */
  .hero {
    height: 820px;
  }

  .hero__inner {
    height: 820px;
  }

  .hero__leftBlock {
    left: 5vw;
    right: 5vw;
    top: auto;
    bottom: 200px;
  }

  .hero__leftText {
    font-size: 18px;
    line-height: 1.15;
    max-width: 240px;
  }

  .hero__leftDesc {
    margin-top: 12px;
    max-width: 260px;
  }

  /* squares hidden on mobile */
  .hero__squares {
    display: none;
  }

  .hero__rightText {
    right: 5vw;
    left: 5vw;
    width: 90vw;
    max-width: none;
    font-size: clamp(25px, 7vw, 30px);
    line-height: 1.08;
    letter-spacing: 0.025em;
    word-break: break-word;
    overflow-wrap: anywhere;
    text-align: left;
  }

  .hero__desc {
    max-width: 260px;
    margin-left: 0;
  }

  .hero__chips {
    left: 5vw;
    right: 5vw;
    bottom: 24px;
    transform: none;
    max-width: 90vw;
    align-items: flex-start;
  }

  .hero__chipsTop,
  .hero__chipsBottom {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero__chipsBottom .chip:last-child {
    display: none;
  }

  .chip {
    height: 30px;
    font-size: 13px;
    padding: 0 14px;
  }

  .chip--icon {
    width: 52px;
    padding: 0;
  }

  /* featured projects */
  .featuredProjects {
    padding: 72px 0 58px;
  }

  .featuredProjects__inner {
    width: min(90vw, 620px);
  }

  .featuredProjects__head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
    margin-bottom: 32px;
  }

  .featuredProjects__title {
    font-size: clamp(30px, 7.4vw, 34px);
  }

  .featuredProjects__button {
    width: fit-content;
  }

  .featuredProjects__stage {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .featuredProjects__preview {
    z-index: 3;
    min-height: 315px;
    padding: 34px 14px 0;
    border-radius: 18px;
  }

  .featuredProjects__browser {
    width: min(440px, 92%);
    height: 220px;
  }

  .featuredProjects__mockupNav {
    gap: 12px;
    padding: 0 12px;
  }

  .featuredProjects__mockupNav span:not(:first-child) {
    display: none;
  }

  .featuredProjects__mockupHero {
    width: 76%;
    margin-top: 30px;
  }

  .featuredProjects__mockupHero p {
    font-size: 16px;
  }

  .featuredProjects__mockupHero small {
    display: none;
  }

  .featuredProjects__mockupLogos {
    height: 58px;
    gap: 14px;
    padding: 0 36px;
  }

  .featuredProjects__metric strong {
    font-size: 31px;
  }

  .featuredProjects__metric span {
    font-size: 11px;
  }

  .featuredProjects__metric {
    left: 20px;
    right: 24px;
    bottom: 20px;
    column-gap: 12px;
    row-gap: 3px;
  }

  .featuredProjects__info {
    z-index: 1;
    min-height: 230px;
    margin: -24px 0 0;
    padding: 50px 29px 22px;
    border-radius: 0 0 14px 14px;
    border-left: 0;
  }

  .featuredProjects__infoBottom p {
    font-size: 9px;
    max-width: 270px;
  }

  .featuredProjects__arrows {
    justify-content: flex-start;
  }

  /* services */
  .services {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .serviceCard {
    padding: 24px;
    min-height: 0;
  }

  .serviceCard__visual {
    width: 108px;
    height: 108px;
    margin-bottom: 24px;
  }

  .serviceCard__visual img {
    width: 54px;
    height: 54px;
  }

  .serviceCard h3 {
    font-size: 30px;
  }

  .serviceCard p {
    font-size: 14px;
    line-height: 1.35;
    min-height: 0;
  }

  .serviceCard__list {
    grid-template-columns: 1fr;
  }

  .consultBlock {
    margin-top: 54px;
  }

  .consultBlock__notes {
    flex-direction: column;
    gap: 10px;
    font-size: 18px;
  }

  .consultBlock__panel {
    padding: 28px;
  }

  .consultBlock__mark {
    width: 82px;
    height: 82px;
    right: 12px;
    top: 12px;
    padding: 20px 14px;
    font-size: 13px;
  }

  .consultBlock__panel h3 {
    max-width: 230px;
    font-size: 44px;
  }

  .consultBlock__panel p {
    font-size: 15px;
  }

  .pricingBlock {
    margin-top: 70px;
  }

  .pricingGrid {
    grid-template-columns: 1fr;
  }

  .priceCard {
    min-height: 0;
  }

  .priceCard__price {
    margin-top: 38px;
    font-size: 38px;
  }

  .sectionTitle {
    font-size: 36px;
  }

  .sectionTitle--large {
    font-size: 32px;
    overflow-wrap: anywhere;
  }

  .sectionDesc {
    font-size: 16px;
    line-height: 1.35;
  }

  /* FAQ */
  .faqGrid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faqCol {
    gap: 24px 14px;
  }

  .faqQ {
    font-size: 18px;
    line-height: 1.2;
  }

  .faqA {
    padding: 0 16px;
  }

  .faqA p {
    font-size: 13px;
    line-height: 1.35;
    padding-left: 0;
  }

  .startProject {
    margin-top: 74px;
    padding: 58px 5vw 64px;
  }

  .startProject__head {
    text-align: left;
    margin-bottom: 28px;
  }

  .startProject__head .sectionKicker {
    margin-left: 0;
    margin-right: 0;
  }

  .startProject__head h3 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .startProject__form {
    padding: 24px;
    border-radius: 18px;
  }

  .startProject__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .startProject input,
  .startProject select,
  .startProject__selectButton {
    height: 52px;
  }

  .startProject textarea {
    min-height: 126px;
    margin-top: 12px;
  }

  .plus {
    width: 24px;
    height: 24px;
  }

  .plus svg {
    width: 24px;
    height: 24px;
  }

  /* footer */
  .footer {
    padding-top: 46px;
    padding-bottom: 118px;
  }

  .footer::before {
    left: 50%;
    bottom: -48px;
    font-size: clamp(62px, 19vw, 110px);
    letter-spacing: .06em;
  }

  .footer::after {
    left: 5vw;
    right: 5vw;
    bottom: 82px;
  }

  .footer__inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    column-gap: 22px;
    row-gap: 28px;
    align-items: start;
  }

  .footer__title {
    grid-column: 1 / -1;
    grid-row: 1;
    font-size: 30px;
    line-height: 1.05;
  }

  .footer__inner > nav.footer__col {
    grid-column: 1;
    grid-row: 2;
    padding-top: 0;
    margin-top: 6px;
  }

  .footer__inner > div.footer__col:nth-of-type(2) {
    grid-column: 2;
    grid-row: 2;
    padding-top: 0;
    margin-top: 6px;
  }

  .footer__meta {
    grid-column: 3;
    grid-row: 2;
    padding-top: 0;
    margin-top: 6px;
  }

  .footer__legal {
    grid-column: 1 / 3;
    grid-row: 3;
    padding-top: 0;
    margin-top: 12px;
  }

  .footer__cta {
    grid-column: 3;
    grid-row: 3;
    justify-self: end;
    align-self: end;
    margin-top: 12px;
  }
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

@media (max-width: 1000px) {
  .header__drawer {
    width: min(86vw, 220px);
  }
}

/* ===== Portfolio page ===== */
.portfolioPage {
  background: #210850;
}

.portfolioMain {
  background: #320C73;
  color: #fff;
  padding: 0 0 110px;
  overflow: hidden;
}

.portfolioHero {
  position: relative;
  min-height: 560px;
  padding: 168px 5vw 92px;
  display: flex;
  align-items: flex-end;
  background: #210850;
}

.portfolioHero__bg {
  display: none;
}

.portfolioHero__inner {
  position: relative;
  z-index: 1;
  width: min(1280px, 90vw);
  margin: 0 auto;
}

.portfolioHero__kicker {
  width: fit-content;
  margin-bottom: 22px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.76);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  animation: portfolioHeroFade .7s .12s cubic-bezier(.2, .8, .2, 1) both;
}

.portfolioHero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(52px, 7.6vw, 104px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  animation: portfolioHeroFade .8s .22s cubic-bezier(.2, .8, .2, 1) both;
}

.portfolioHero p {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.74);
  font-size: 18px;
  line-height: 1.45;
  animation: portfolioHeroFade .8s .34s cubic-bezier(.2, .8, .2, 1) both;
}

.portfolioList {
  width: min(1280px, 90vw);
  margin: 72px auto 0;
  display: grid;
  gap: 72px;
}

.portfolioProject {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(280px, .95fr);
  min-height: 545px;
  border-radius: 22px;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
  will-change: opacity, transform;
}

.featuredProjects__arrow,
.featuredProjects__button {
  cursor: pointer;
}

.portfolioProject.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.portfolioProject .featuredProjects__preview,
.portfolioProject .featuredProjects__info {
  opacity: 0;
  transform: translateY(34px);
  min-height: 545px;
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}

.portfolioProject.is-visible .featuredProjects__preview,
.portfolioProject.is-visible .featuredProjects__info {
  opacity: 1;
  transform: translateY(0);
}

.portfolioProject.is-visible .featuredProjects__info {
  transition-delay: .12s;
}

.portfolioProject.is-visible .featuredProjects__browser {
  animation: portfolioBrowserIn .72s .05s cubic-bezier(.2, .8, .2, 1) both;
}

.portfolioProject .featuredProjects__preview {
  padding-top: 70px;
}

.portfolioProject .featuredProjects__info {
  padding-top: 42px;
  padding-bottom: 42px;
}

.portfolioProject .featuredProjects__browser {
  width: min(690px, 88%);
  height: 360px;
}

.portfolioProject .featuredProjects__info h2 {
  margin: 0;
  color: #fff;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.06;
}

.portfolioProject:hover .featuredProjects__browser {
  transform: translateY(-8px) scale(1.012);
}

.portfolioCta {
  width: min(1280px, 90vw);
  min-height: 480px;
  margin: 104px auto 0;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(111, 61, 255, .22), transparent 36%),
    radial-gradient(circle, rgba(255,255,255,.20) 0 1px, transparent 1.4px),
    linear-gradient(135deg, #16043B 0%, #210850 52%, #320C73 100%);
  background-size: 100% 100%, 22px 22px, 100% 100%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.portfolioCta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(22, 4, 59, .18) 48%, rgba(22, 4, 59, .72) 100%);
  pointer-events: none;
}

.portfolioCta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 28px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2, .8, .2, 1);
}

.portfolioCta.is-visible .portfolioCta__inner {
  opacity: 1;
  transform: translateY(0);
}

.portfolioCta__inner p {
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 20px;
  font-weight: 600;
}

.portfolioCta__button {
  position: relative;
  min-height: 118px;
  min-width: min(730px, 86vw);
  padding: 14px 54px 14px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 34px;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 28px 72px rgba(0,0,0,.24);
  transition: transform .28s ease, background .28s ease, box-shadow .28s ease;
}

.portfolioCta__button:hover {
  transform: none;
  background: #F3F1F9;
  color: #090909;
  box-shadow: 0 0 0 14px rgba(255,255,255,.10), 0 34px 86px rgba(0,0,0,.34);
}

.portfolioCta__icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #fff;
  color: #210850;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: transform .34s cubic-bezier(.2, .8, .2, 1), background .28s ease, color .28s ease;
}

.portfolioCta__button:hover .portfolioCta__icon {
  background: transparent;
  color: #090909;
  transform: translateX(calc((min(730px, 86vw) - 92px) / 2));
}

.portfolioCta__icon svg {
  width: 34px;
  height: 34px;
}

.portfolioCta__text {
  transition: opacity .22s ease, transform .28s ease;
}

.portfolioCta__button:hover .portfolioCta__text {
  opacity: 0;
  transform: translateX(24px);
}

.portfolioFooter {
  background: #210850;
  color: #fff;
}

.portfolioFooter .footer__title {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: #fff;
  color: #fff;
}

.portfolioFooter .footer__link,
.portfolioFooter .footer__metaText,
.portfolioFooter .footer__cta,
.portfolioFooter .footer__ctaText {
  color: #fff;
}

.portfolioFooter .footer__ctaIcon img {
  filter: brightness(0) invert(1);
}

.projectPage {
  --case-accent: #6f3dff;
  background: #210850;
  color: #fff;
}

.projectMain {
  background:
    radial-gradient(circle at 16% 10%, rgba(166, 123, 255, .18), transparent 32%),
    linear-gradient(180deg, #210850 0%, #320C73 42%, #F3F1F9 42%, #F3F1F9 100%);
  overflow: hidden;
}

.caseHero {
  min-height: 0;
  padding: 118px 0 48px;
  background: transparent;
}

.caseHero__inner,
.caseMedia,
.caseSection,
.caseGallery,
.caseResults {
  width: min(860px, 72vw);
  margin-left: auto;
  margin-right: auto;
}

.caseHero__back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 28px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.78);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.caseHero__copy,
.caseHero__visual,
.caseSection,
.caseGallery__item,
.caseResults,
.caseRelated,
.caseCta {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .74s ease, transform .74s cubic-bezier(.2, .8, .2, 1);
}

.caseHero__copy.is-visible,
.caseHero__visual.is-visible,
.caseSection.is-visible,
.caseGallery__item.is-visible,
.caseResults.is-visible,
.caseRelated.is-visible,
.caseCta.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.caseHero__kicker,
.caseSection__label,
.caseResults > div > span {
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.76);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.caseHero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.caseHero__copy p {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.55;
}

.caseHero__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  max-width: 560px;
  margin-top: 34px;
}

.caseHero__meta div {
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.caseHero__meta span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,.52);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.caseHero__meta strong {
  display: block;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
}

.caseHero__visual {
  transition-delay: .06s;
}

.caseMedia {
  padding: 46px 0;
}

.caseMedia--hero {
  display: flex;
  justify-content: center;
}

.caseMedia--hero .caseHero__visual {
  width: min(640px, 100%);
}

.caseBrowser {
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(33, 8, 80, .16);
}

.caseBrowser__top {
  height: 18px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 9px;
  background: #23095a;
}

.caseBrowser__top span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f05d5d;
}

.caseBrowser__top span:nth-child(2) {
  background: #f3c15d;
}

.caseBrowser__top span:nth-child(3) {
  background: #59c76b;
}

.caseBrowser img {
  width: 100%;
  display: block;
}

.caseHero__visual .caseBrowser img {
  aspect-ratio: 16 / 9.7;
  object-fit: cover;
  object-position: top center;
}

.caseSection {
  padding: 64px 0;
  color: #320C73;
  background: #F3F1F9;
}

.caseSection--alt {
  margin-top: 0;
}

.caseSection__icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #6F3DFF;
  font-size: 22px;
}

.caseSection--alt .caseSection__icon {
  color: #A67BFF;
}

.caseSection__label,
.caseResults > div > span {
  background: transparent;
  color: #6F3DFF;
  padding: 0;
  margin-bottom: 8px;
}

.caseSection p {
  max-width: 560px;
  margin: 0;
  color: #7B4CF5;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
}

.caseSection h2,
.caseResults h2 {
  max-width: 560px;
  margin: 0 0 18px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.15;
}

.caseSection ul {
  max-width: 560px;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #7B4CF5;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

.caseSection li {
  position: relative;
  padding-left: 18px;
}

.caseSection li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--case-accent);
}

.caseGallery {
  display: grid;
  gap: 22px;
  padding: 62px 0;
  justify-items: center;
}

.caseGallery__item {
  width: min(680px, 100%);
  margin: 0;
}

.caseGallery__item--scene {
  width: min(860px, 100%);
  min-height: 520px;
  padding: 44px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 45%, rgba(111, 61, 255, .08), transparent 42%),
    #FFFFFF;
  position: relative;
  overflow: hidden;
  display: grid;
  box-shadow: 0 28px 80px rgba(33, 8, 80, .14);
}

.caseGallery__item--scene .caseBrowser {
  box-shadow: 0 20px 48px rgba(33, 8, 80, .16);
}

.caseGallery__item--scene-split {
  grid-template-columns: minmax(0, 2.1fr) minmax(180px, .74fr);
  gap: 48px;
  align-items: start;
}

.caseGallery__item--scene-split .caseBrowser:first-child img {
  aspect-ratio: 1 / 1.14;
  object-fit: cover;
  object-position: top center;
}

.caseGallery__item--scene-split .caseBrowser:nth-child(2) {
  align-self: stretch;
  margin-top: 0;
}

.caseGallery__item--scene-split .caseBrowser:nth-child(2) img {
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: top center;
}

.caseGallery__item--scene-angle {
  min-height: 560px;
}

.caseGallery__item--scene-angle .caseBrowser {
  position: absolute;
  width: 48%;
}

.caseGallery__item--scene-angle .caseBrowser:first-child {
  left: -7%;
  top: 12%;
  transform: rotate(-7deg);
}

.caseGallery__item--scene-angle .caseBrowser:nth-child(2) {
  left: 28%;
  top: -2%;
  width: 50%;
  transform: rotate(5deg);
}

.caseGallery__item--scene-angle .caseBrowser:nth-child(3) {
  right: -7%;
  bottom: 7%;
  width: 42%;
  transform: rotate(8deg);
}

.caseGallery__item--scene-angle .caseBrowser img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.caseGallery__item--scene-stack {
  gap: 28px;
  align-items: start;
}

.caseGallery__item--scene-stack .caseBrowser:first-child {
  width: 78%;
  justify-self: start;
}

.caseGallery__item--scene-stack .caseBrowser:nth-child(2) {
  width: 64%;
  justify-self: end;
  margin-top: -86px;
}

.caseGallery__item--scene-stack .caseBrowser img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.caseGallery__item--scene-mobile {
  grid-template-columns: minmax(180px, .72fr) minmax(0, 1.6fr);
  gap: 42px;
  align-items: center;
}

.caseGallery__item--scene-mobile .caseBrowser:first-child {
  justify-self: end;
  width: min(260px, 100%);
}

.caseGallery__item--scene-mobile .caseBrowser:first-child img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
}

.caseGallery__item--scene-mobile .caseBrowser:nth-child(2) img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.caseGallery__item--wide:nth-child(2n),
.caseGallery__item--large {
  width: min(760px, 100%);
}

.caseGallery__item--tall {
  width: min(560px, 92%);
}

.caseGallery__item--mobile {
  width: min(360px, 72%);
}

.caseGallery__item--pair {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.caseGallery__item--pair .caseBrowser:nth-child(2) {
  margin-top: 54px;
}

.caseGallery__item--mobile .caseBrowser img {
  max-height: 760px;
  object-fit: cover;
  object-position: top center;
}

.caseGallery__item--tall .caseBrowser img {
  max-height: 900px;
  object-fit: cover;
  object-position: top center;
}

.caseResults {
  display: block;
  padding: 66px 0;
  color: #320C73;
  align-items: start;
}

.caseResults__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 46px;
  max-width: 620px;
  margin-top: 28px;
}

.caseResults__grid article {
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  display: block;
  box-shadow: none;
}

.caseResults__grid strong {
  display: block;
  color: #4D1AA4;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 8px;
}

.caseResults__grid span {
  display: block;
  color: #7B4CF5;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.caseCta {
  margin-top: 40px;
  margin-bottom: 0;
  background-color: #F3F1F9;
}

.caseRelated {
  width: min(860px, 72vw);
  margin: 0 auto;
  padding: 68px 0 30px;
}

.caseRelated__head span {
  display: block;
  color: #7B4CF5;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.caseRelated__head h2 {
  margin: 0 0 22px;
  color: #320C73;
  font-size: 20px;
  font-weight: 600;
}

.caseRelated__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.caseRelated__card {
  min-height: 250px;
  padding: 12px;
  border-radius: 8px;
  background: #FFFFFF;
  color: #320C73;
  box-shadow: inset 0 0 0 1px #DCD2EF;
  display: grid;
  align-content: start;
  gap: 10px;
  transition: transform .24s ease, background .24s ease;
}

.caseRelated__card:hover {
  transform: translateY(-4px);
  background: #F9F4FE;
}

.caseRelated__card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-radius: 5px;
}

.caseRelated__card span {
  color: #7B4CF5;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.caseRelated__card strong {
  font-size: 14px;
  line-height: 1.2;
}

.projectPage .caseCta {
  min-height: 320px;
  margin-top: 20px;
  background:
    radial-gradient(circle, rgba(111,61,255,.12) 0 1px, transparent 1.4px),
    #F3F1F9;
  background-size: 22px 22px, 100% 100%;
  box-shadow: none;
}

.projectPage .caseCta .portfolioCta__inner {
  gap: 18px;
}

.projectPage .caseCta .portfolioCta__inner p {
  font-size: 14px;
}

.projectPage .caseCta .portfolioCta__button {
  min-height: 52px;
  min-width: 230px;
  padding: 7px 18px 7px 7px;
  gap: 14px;
  font-size: 18px;
}

.projectPage .caseCta .portfolioCta__icon {
  width: 38px;
  height: 38px;
}

.projectPage .caseCta .portfolioCta__icon svg {
  width: 18px;
  height: 18px;
}

@keyframes portfolioHeroFade {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes portfolioProjectIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes portfolioBrowserIn {
  from {
    opacity: .72;
    transform: translateY(18px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1000px) {
  .portfolioHero {
    min-height: 470px;
    padding: 132px 5vw 58px;
  }

  .portfolioHero h1 {
    font-size: clamp(46px, 13vw, 72px);
    line-height: 1;
  }

  .portfolioHero__inner,
  .portfolioList {
    width: 88vw;
  }

  .portfolioHero p {
    max-width: 330px;
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .portfolioList {
    margin-top: 48px;
    gap: 44px;
  }

  .portfolioProject {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .portfolioProject .featuredProjects__preview,
  .portfolioProject .featuredProjects__info {
    min-height: 0;
  }

  .portfolioProject .featuredProjects__preview {
    z-index: 3;
    padding: 34px 14px 42px;
    border-radius: 18px;
  }

  .portfolioProject .featuredProjects__browser {
    width: min(440px, 92%);
    height: 220px;
  }

  .portfolioProject .featuredProjects__info {
    margin: -24px 0 0;
    padding: 50px 29px 28px;
    border-left: 0;
    border-radius: 0 0 18px 18px;
  }

  .portfolioProject .featuredProjects__info h2 {
    font-size: 34px;
  }

  .portfolioCta {
    width: 88vw;
    min-height: 360px;
    margin-top: 70px;
    border-radius: 22px;
  }

  .portfolioCta__inner {
    gap: 20px;
    width: 100%;
    padding: 0 18px;
  }

  .portfolioCta__inner p {
    font-size: 15px;
    text-align: center;
  }

  .portfolioCta__button {
    width: 100%;
    min-width: 0;
    min-height: 76px;
    padding: 10px 20px 10px 10px;
    gap: 16px;
    font-size: clamp(27px, 8vw, 38px);
  }

  .portfolioCta__icon {
    width: 56px;
    height: 56px;
  }

  .portfolioCta__icon svg {
    width: 24px;
    height: 24px;
  }

  .portfolioCta__button:hover .portfolioCta__icon {
    transform: translateX(calc((88vw - 92px) / 2));
  }

  .caseHero {
    min-height: 0;
    padding: 122px 0 58px;
  }

  .caseHero__inner,
  .caseMedia,
  .caseSection,
  .caseGallery,
  .caseResults {
    width: 88vw;
  }

  .caseHero__back {
    margin-bottom: 34px;
  }

  .caseHero h1 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .caseHero__copy p {
    margin-top: 18px;
    font-size: 13px;
  }

  .caseHero__meta {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 26px;
  }

  .caseHero__meta div {
    min-height: 0;
    padding: 0;
  }

  .caseHero__visual .caseBrowser img {
    aspect-ratio: 4 / 3;
  }

  .caseSection {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .caseSection p {
    font-size: 13px;
  }

  .caseSection h2,
  .caseResults h2 {
    margin-bottom: 16px;
    font-size: 19px;
  }

  .caseSection ul {
    font-size: 13px;
  }

  .caseGallery {
    padding: 48px 0;
    gap: 22px;
  }

  .caseGallery__item,
  .caseGallery__item--scene,
  .caseGallery__item--wide:nth-child(2n),
  .caseGallery__item--large,
  .caseGallery__item--tall,
  .caseGallery__item--mobile,
  .caseGallery__item--pair {
    width: 100%;
  }

  .caseGallery__item--scene {
    min-height: 0;
    padding: 18px;
    border-radius: 9px;
    gap: 18px;
    display: grid;
  }

  .caseGallery__item--scene-split,
  .caseGallery__item--scene-mobile {
    grid-template-columns: 1fr;
  }

  .caseGallery__item--scene-angle {
    min-height: 520px;
  }

  .caseGallery__item--scene-angle .caseBrowser:first-child {
    left: -18%;
    top: 14%;
    width: 70%;
  }

  .caseGallery__item--scene-angle .caseBrowser:nth-child(2) {
    left: 25%;
    top: 3%;
    width: 76%;
  }

  .caseGallery__item--scene-angle .caseBrowser:nth-child(3) {
    right: -16%;
    bottom: 8%;
    width: 68%;
  }

  .caseGallery__item--scene-stack .caseBrowser:first-child,
  .caseGallery__item--scene-stack .caseBrowser:nth-child(2),
  .caseGallery__item--scene-mobile .caseBrowser:first-child {
    width: 100%;
    justify-self: stretch;
    margin-top: 0;
  }

  .caseGallery__item--scene-split .caseBrowser:nth-child(2) img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .caseGallery__item--pair {
    grid-template-columns: 1fr;
  }

  .caseGallery__item--pair .caseBrowser:nth-child(2) {
    margin-top: 0;
  }

  .caseBrowser {
    border-radius: 6px;
  }

  .caseResults {
    display: block;
    padding: 54px 0;
  }

  .caseResults__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .caseResults__grid article {
    min-height: 0;
    padding: 0;
  }

  .caseResults__grid strong {
    font-size: 24px;
  }

  .caseResults__grid span {
    font-size: 12px;
  }

  .caseCta {
    margin-top: 48px;
  }
}
 
