/* Homepage entrance: the existing ÇAKIR mark is used; no reference-site assets. */
.home-page .hero { background-image: none; }

.home-page .home-entry {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #080a10;
  color: #f8f8fc;
  pointer-events: auto;
  animation: home-entry-failsafe 3s steps(1, end) forwards;
}

.home-page .home-entry.is-running { animation: none; }

.home-page .home-entry::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 48%, #242538 0%, #11131e 28%, #080a10 68%);
}

.home-page .home-entry__glow {
  position: absolute;
  width: min(54vw, 670px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #c9c8ff18 0%, #a8a3e60b 29%, transparent 68%);
  opacity: 0;
  transform: scale(.65);
  pointer-events: none;
}

.home-page .home-entry.is-running .home-entry__glow {
  animation: home-entry-glow 1.55s ease-out .16s both;
}

.home-page .home-entry__brand {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: min(74vw, 460px);
  text-align: center;
  user-select: none;
}

.home-page .home-entry__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(135px, 16vw, 220px);
  aspect-ratio: 1;
  transform: scale(1);
}

.home-page .home-entry__mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.home-page .home-entry__mark-outline {
  opacity: 0;
  filter: brightness(0) invert(1) drop-shadow(0 0 2px #ffffff80) !important;
}

.home-page .home-entry__mark-solid {
  opacity: 0;
  filter: brightness(0) invert(1) drop-shadow(0 0 18px #ffffffad) drop-shadow(0 0 55px #a28bff8c) !important;
}

.home-page .home-entry.is-running .home-entry__mark {
  animation: home-entry-mark-scale 1.34s cubic-bezier(.17,.72,.19,1) .13s both;
}

.home-page .home-entry.is-running .home-entry__mark-outline {
  animation: home-entry-outline 1.22s ease .12s both;
}

.home-page .home-entry.is-running .home-entry__mark-solid {
  animation: home-entry-solid 1.24s ease .53s both;
}

.home-page .home-entry__wordmark {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2px;
  margin-top: 14px;
  opacity: 0;
  transform: translateY(17px);
}

.home-page .home-entry__wordmark strong {
  font-size: clamp(28px, 4vw, 49px);
  font-weight: 670;
  line-height: 1;
  letter-spacing: -.075em;
}

.home-page .home-entry__wordmark span {
  padding-left: .34em;
  font-size: clamp(11px, 1.48vw, 18px);
  font-weight: 540;
  letter-spacing: .34em;
}

.home-page .home-entry.is-running .home-entry__wordmark {
  animation: home-entry-wordmark .57s cubic-bezier(.2,.7,.2,1) .83s both;
}

.home-page .home-entry__rule {
  position: absolute;
  left: 50%;
  bottom: clamp(42px, 7vh, 85px);
  width: min(32vw, 180px);
  height: 1px;
  background: linear-gradient(90deg, transparent, #d7d5ec, transparent);
  opacity: 0;
  transform: translateX(-50%) scaleX(.08);
}

.home-page .home-entry.is-running .home-entry__rule {
  animation: home-entry-rule .62s ease .86s both;
}

.home-page .home-entry__wipe {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  height: 51%;
  background: #080a10;
  pointer-events: none;
  visibility: hidden;
}

.home-page .home-entry__wipe--top { top: -1%; }
.home-page .home-entry__wipe--bottom { bottom: -1%; }

.home-page .home-entry.is-exiting {
  background: transparent;
  pointer-events: none;
}

.home-page .home-entry.is-exiting::before {
  opacity: 0;
  transition: opacity .22s ease;
}

.home-page .home-entry.is-exiting .home-entry__glow,
.home-page .home-entry.is-exiting .home-entry__wordmark,
.home-page .home-entry.is-exiting .home-entry__rule {
  opacity: 0;
  transition: opacity .18s ease;
}

.home-page .home-entry.is-exiting .home-entry__mark {
  transform: translate3d(var(--home-entry-mark-x, 0px), var(--home-entry-mark-y, 0px), 0) scale(var(--home-entry-mark-scale, .25));
  transition: transform .68s cubic-bezier(.76, 0, .2, 1);
}

.home-page .home-entry.is-exiting .home-entry__mark-solid { opacity: 1; }
.home-page .home-entry.is-exiting .home-entry__mark-outline { opacity: 0; }

.home-page .home-entry.is-exiting .home-entry__wipe {
  visibility: visible;
  transition: transform .68s cubic-bezier(.76, 0, .2, 1);
}

.home-page .home-entry.is-exiting .home-entry__wipe--top { transform: translateY(-104%); }
.home-page .home-entry.is-exiting .home-entry__wipe--bottom { transform: translateY(104%); }

html.home-entry-running .home-page .site-header,
html.home-entry-running .home-page .hero .eyebrow,
html.home-entry-running .home-page .hero h1,
html.home-entry-running .home-page .hero-lead,
html.home-entry-running .home-page .hero-actions,
html.home-entry-running .home-page .hero-scroll {
  opacity: 0;
}

html.home-entry-typing-pending .home-page .hero h1 { visibility: hidden; }

html.home-entry-running .home-page .hero::after {
  background: #080a10;
  opacity: 1;
}

html.home-entry-complete .home-page .hero::after {
  background: #080a10;
  animation: home-entry-image-reveal 1.1s ease-out both;
}

html.home-entry-complete .home-page .site-header {
  animation: home-entry-rise .8s cubic-bezier(.2,.72,.2,1) both;
}

html.home-entry-complete .home-page .hero .eyebrow {
  animation: home-entry-rise .75s cubic-bezier(.2,.72,.2,1) .08s both;
}

html.home-entry-complete .home-page .hero h1 {
  animation: home-entry-rise .78s cubic-bezier(.2,.72,.2,1) .62s both;
}

html.home-entry-complete .home-page .hero-lead {
  animation: home-entry-rise .74s cubic-bezier(.2,.72,.2,1) .33s both;
}

html.home-entry-complete .home-page .hero-actions {
  animation: home-entry-rise .74s cubic-bezier(.2,.72,.2,1) .48s both;
}

html.home-entry-complete .home-page .hero-scroll {
  animation: home-entry-scroll-rise .74s cubic-bezier(.2,.72,.2,1) .62s both;
}

.home-page .hero-scroll {
  right: 50%;
  bottom: 25px;
  flex-direction: column;
  gap: 7px;
  transform: translateX(50%);
  text-align: center;
}

.home-page .hero-scroll span { width: 30px; height: 38px; border-radius: 18px; font-size: 16px; }

.home-page .hero h1.home-entry-typing {
  min-height: 2.05em;
}

.home-page .hero h1.home-entry-typing .home-entry-type-text {
  display: inline;
}

.home-page .hero h1.home-entry-typing .home-entry-type-text::after {
  content: '_';
  display: inline-block;
  margin-left: .04em;
  color: #cabaff;
  animation: home-entry-cursor .65s steps(1, end) infinite;
}

@keyframes home-entry-outline {
  0% { opacity: 0; }
  30% { opacity: .14; }
  75% { opacity: .27; }
  100% { opacity: .2; }
}

@keyframes home-entry-solid {
  0%, 18% { opacity: 0; }
  55% { opacity: .88; }
  100% { opacity: 1; }
}

@keyframes home-entry-mark-scale {
  0% { transform: scale(.78) rotate(-5deg); }
  67% { transform: scale(1.07) rotate(0); }
  100% { transform: scale(1); }
}

@keyframes home-entry-glow {
  0% { opacity: 0; transform: scale(.65); }
  60% { opacity: 1; transform: scale(1); }
  100% { opacity: .7; transform: scale(1.08); }
}

@keyframes home-entry-wordmark {
  to { opacity: 1; transform: none; }
}

@keyframes home-entry-rule {
  to { opacity: .75; transform: translateX(-50%) scaleX(1); }
}

@keyframes home-entry-rise {
  from { opacity: 0; transform: translateY(27px); }
  to { opacity: 1; transform: none; }
}

@keyframes home-entry-image-reveal {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes home-entry-scroll-rise {
  from { opacity: 0; transform: translate(50%, 27px); }
  to { opacity: 1; transform: translateX(50%); }
}

@keyframes home-entry-cursor {
  50% { opacity: 0; }
}

@keyframes home-entry-failsafe {
  to { visibility: hidden; pointer-events: none; }
}

@media (max-width: 600px) {
  .home-page .home-entry__mark { width: clamp(142px, 42vw, 190px); }
  .home-page .home-entry__wordmark { margin-top: 9px; }
  .home-page .home-entry__rule { bottom: 76px; width: 140px; }
  .home-page .hero h1.home-entry-typing { min-height: 3.05em; }
}

@media (max-width: 1280px) {
  .home-page .home-entry { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-entry { display: none !important; }
  html.home-entry-running .home-page .site-header,
  html.home-entry-running .home-page .hero .eyebrow,
  html.home-entry-running .home-page .hero h1,
  html.home-entry-running .home-page .hero-lead,
  html.home-entry-running .home-page .hero-actions,
  html.home-entry-running .home-page .hero-scroll { opacity: 1; }
  html.home-entry-complete .home-page .site-header,
  html.home-entry-complete .home-page .hero .eyebrow,
  html.home-entry-complete .home-page .hero h1,
  html.home-entry-complete .home-page .hero-lead,
  html.home-entry-complete .home-page .hero-actions,
  html.home-entry-complete .home-page .hero-scroll { animation: none; }
  .home-page .hero h1.home-entry-typing .home-entry-type-text::after { animation: none; }
}
