
.c-ks {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden;
  display: grid; place-items: center; visibility: hidden;
  perspective: 1400px; perspective-origin: 50% 46%;
}
.c-ks.is-on { visibility: visible; }

.c-ks__perde {
  position: absolute; inset: 0;
  background: radial-gradient(130% 100% at 50% 50%, rgba(0, 3, 6, .97) 0 42%, rgba(0, 3, 6, .86) 100%);
  opacity: 0; transition: opacity .55s ease;
}
.c-ks.is-on .c-ks__perde { opacity: 1; }
.c-ks.is-cik .c-ks__perde { opacity: 0; transition: opacity .95s ease .3s; }
.c-ks.is-hizli .c-ks__perde { transition: opacity .4s ease; }

.c-ks__sis {
  position: absolute; left: 50%; top: 50%; width: 170vmax; height: 100vmax; margin: -50vmax 0 0 -85vmax;
  opacity: 0; transform: scale(.86);
  transition: opacity .5s ease, transform .5s ease;
  will-change: transform, opacity;
}
.c-ks__sis--a { background: radial-gradient(30% 38% at 42% 50%, rgba(196, 170, 255, .5), transparent 72%), radial-gradient(22% 30% at 30% 44%, rgba(150, 60, 255, .34), transparent 70%); }
.c-ks__sis--b { background: radial-gradient(30% 38% at 58% 50%, rgba(196, 170, 255, .46), transparent 72%), radial-gradient(22% 30% at 70% 56%, rgba(150, 60, 255, .34), transparent 70%); }
.c-ks__sis--c { background: radial-gradient(44% 26% at 50% 62%, rgba(222, 204, 255, .4), transparent 74%); }
.c-ks.is-sis .c-ks__sis { opacity: 1; transform: scale(1); }
.c-ks.is-ac .c-ks__sis { transition: opacity 2.3s var(--ease-out), transform 2.6s var(--ease-out); }
.c-ks.is-ac .c-ks__sis--a { opacity: .44; transform: translate3d(-24%, -3%, 0) scale(1.5); }
.c-ks.is-ac .c-ks__sis--b { opacity: .44; transform: translate3d(24%, 3%, 0) scale(1.5); }
.c-ks.is-ac .c-ks__sis--c { opacity: .6; transform: translate3d(0, 17%, 0) scale(1.35); }
.c-ks.is-cik .c-ks__sis { opacity: 0; transition: opacity 1s ease, transform 1.2s ease; }
.c-ks.is-cik .c-ks__sis--a { transform: translate3d(-6%, 0, 0) scale(1.9); }
.c-ks.is-cik .c-ks__sis--b { transform: translate3d(6%, 0, 0) scale(1.9); }
.c-ks.is-cik .c-ks__sis--c { transform: translate3d(0, 6%, 0) scale(1.8); }
.c-ks.is-hizli .c-ks__sis { transition: opacity .4s ease; }

.c-ks__sahne { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(18px, 4vh, 46px); width: 100%; transform-style: preserve-3d; }

.c-ks__ekran {
  position: relative; width: min(94vw, 1560px, 185vh); aspect-ratio: 3.2; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4.5%, #000 95.5%, transparent), linear-gradient(180deg, transparent, #000 4%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4.5%, #000 95.5%, transparent), linear-gradient(180deg, transparent, #000 4%, #000 86%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  opacity: 0; transform: translate3d(0, 7vh, -820px) rotateX(27deg) scale(.72); transform-origin: 50% 60%;
  will-change: transform, opacity;
}
.c-ks__ekran video { display: block; width: 100%; height: 100%; object-fit: cover; }
.c-ks.is-on .c-ks__ekran { opacity: 1; transform: none; transition: opacity 1s ease .3s, transform 1.9s var(--ease-out) .25s; }
.c-ks.is-cik .c-ks__ekran { opacity: 0; transform: translate3d(0, -2vh, 140px) scale(1.07); transition: opacity .7s ease, transform 1s var(--ease-io); }
.c-ks.is-hizli .c-ks__ekran { transition: opacity .35s ease, transform .5s ease; }
.c-ks__isik {
  position: absolute; left: 50%; top: 50%; width: min(86vw, 1300px); height: 46vh; margin-left: calc(min(86vw, 1300px) / -2);
  background: radial-gradient(50% 50% at 50% 50%, rgba(150, 70, 255, .24), transparent 72%);
  opacity: 0; transition: opacity 1.6s ease .5s;
}
.c-ks.is-on .c-ks__isik { opacity: 1; }
.c-ks.is-cik .c-ks__isik { opacity: 0; transition: opacity .7s ease; }

.c-ks__tuval { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .6s ease; }
.c-ks.is-cik .c-ks__tuval { opacity: 0; }

.c-ks__yazi {
  margin: 0; text-align: center; perspective: 900px;
  font: 100 clamp(40px, min(7.4vw, 15vh), 136px)/1 var(--f-serif); letter-spacing: .09em; text-indent: .09em; text-transform: uppercase; color: #f6fcfe;
  text-shadow: 0 0 60px rgba(190, 150, 255, .5);
}
.c-ks__k { display: inline-block; white-space: nowrap; }
.c-ks__k + .c-ks__k { margin-left: .34em; }
.c-ks__k--altin { font-style: italic; font-weight: 300; color: var(--gold, #e3c88a); text-shadow: 0 0 60px rgba(227, 200, 138, .4); }
.c-ks__h { display: inline-block; opacity: 0; transform: translate3d(0, .7em, 0) rotateX(-82deg); transform-origin: 50% 100%; }
.c-ks.is-yazi .c-ks__h { opacity: 1; transform: none; transition: opacity .7s ease calc(var(--i) * 42ms), transform 1.1s var(--ease-out) calc(var(--i) * 42ms); }
.c-ks.is-cik .c-ks__h { opacity: 0; transform: translate3d(0, -.35em, 0); transition: opacity .45s ease calc(var(--i) * 14ms), transform .7s ease calc(var(--i) * 14ms); }
.c-ks__alt {
  display: flex; align-items: center; gap: 14px; margin: 0;
  font: 500 11px/1 var(--f-sans); letter-spacing: .26em; text-indent: .26em; text-transform: uppercase; color: rgba(220, 242, 248, .82);
  opacity: 0; transform: translate3d(0, 12px, 0);
}
.c-ks__alt::before, .c-ks__alt::after { content: ""; width: clamp(24px, 5vw, 70px); height: 1px; background: linear-gradient(90deg, transparent, var(--gold, #e3c88a)); }
.c-ks__alt::after { transform: scaleX(-1); }
.c-ks.is-yazi .c-ks__alt { opacity: 1; transform: none; transition: opacity .9s ease .75s, transform 1.1s var(--ease-out) .75s; }
.c-ks.is-cik .c-ks__alt { opacity: 0; transition: opacity .4s ease; }

.q-low .c-ks__ekran { mix-blend-mode: normal; }
.q-low .c-ks__sis--c { display: none; }

@media (max-width: 640px) {
  .c-ks { perspective: 900px; }
  .c-ks__sahne { gap: 22px; }
  .c-ks__yazi { max-width: 100%; font-size: 12vw; letter-spacing: .07em; text-indent: .07em; line-height: 1.06; }
  .c-ks__k { display: block; }
  .c-ks__k + .c-ks__k { margin-left: 0; }
  .c-ks__ekran { width: 100vw; transform: translate3d(0, 6vh, -520px) rotateX(24deg) scale(.74); }
  .c-ks__isik { width: 120vw; margin-left: -60vw; height: 40vh; }
  .c-ks__alt { font-size: 10.5px; letter-spacing: .2em; text-indent: .2em; }
}
