/* celyxlabs.com — park page (shown until the full site goes live).
   One screen: the logo and one line, "Yakında buradayız."
   Fildişi canvas, Mürekkep text, Kiremit only on the logo's shared arm.
   Intro: the letters fade in, then the shared arm slides up along its own diagonal
   (dx/dy = 0.55) into the gap of the x; the line follows. No script. */

@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/albert-sans-var.woff2?v=1") format("woff2");
}

:root {
  --kagit: #F5F1E8;
  --murekkep: #111518;
  --metin: #3d4044;
  --soluk: #6b6d70;
  --kiremit: #B04A2B;
  --yazi: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --egri: cubic-bezier(.2, .7, .1, 1);
  --ekran: 100vh;
}
@supports (height: 100svh) { :root { --ekran: 100svh; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: var(--ekran);
  display: flex;
  flex-direction: column;
  background: var(--kagit);
  color: var(--murekkep);
  font-family: var(--yazi);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.sahne {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px max(48px, env(safe-area-inset-bottom));
}

/* Logo: clear space of at least ½ X around it comes from the margins; never narrower than 240 px
   (the guide's small-master switch is 175 px, so the display master is right here). */
.logo { margin: 0 0 40px; line-height: 0; font-size: inherit; }
.logo svg { display: block; width: clamp(240px, 46vw, 460px); height: auto; overflow: hidden; }

.not {
  margin: 0;
  font-size: clamp(18px, 2.1vw, 22px);
  font-weight: 450;
  letter-spacing: -.005em;
  color: var(--metin);
}

/* Intro */
@media (prefers-reduced-motion: no-preference) {
  .harfler { animation: belir .7s ease-out both; }
  .kol { animation: kol-gir 1.1s var(--egri) .45s both; }
  .not { animation: belir .8s ease-out 1.15s both; }
}
@keyframes belir { from { opacity: 0; } to { opacity: 1; } }
/* the arm runs along its own direction (0.55, -1): it starts 44 units back, below-left */
@keyframes kol-gir {
  from { opacity: 0; transform: translate(-21.2px, 38.6px); }
  to { opacity: 1; transform: translate(0, 0); }
}

@media (max-height: 520px) {
  .sahne { padding-top: 24px; padding-bottom: 24px; }
  .logo { margin-bottom: 24px; }
}
