/* T4 Group ailesi için ortak sinematik katman.
   Marka rengi --cine-accent ile gelir; hareket azaltma açıksa her şey sabit kalır. */

.cine-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 200;
  background: var(--cine-accent, currentColor);
  transform-origin: 0 50%;
  transform: scaleX(var(--cine-page, 0));
  pointer-events: none;
}

[data-cine-hero] {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cine-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cine-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Metnin okunması için sahnenin üstüne binen gölge */
.cine-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--cine-ink, #000) 0%, transparent 62%),
    linear-gradient(to top, var(--cine-ink, #000) 0%, transparent 38%);
  opacity: 0.82;
}

/* Film greni: sabit bir doku, sahnenin üstünde */
.cine-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.11;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

[data-cine-copy] {
  position: relative;
  z-index: 2;
}

/* Büyük, kaydırdıkça okunan cümle */
.cine-statement {
  padding-block: clamp(5rem, 16vh, 11rem);
}

.cine-statement__text {
  margin: 0;
  max-width: 22ch;
  font-family: var(--cine-display, inherit);
  font-size: clamp(1.9rem, 1.05rem + 3.6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.cine-statement__text--wide {
  max-width: 26ch;
}

@media (prefers-reduced-motion: no-preference) {
  .cine-on [data-cine-media] {
    will-change: transform;
    transform: scale(calc(1 + var(--cine-p, 0) * 0.16));
  }

  .cine-on [data-cine-copy] {
    will-change: transform, opacity;
    transform: translate3d(0, calc(var(--cine-p, 0) * -72px), 0);
    opacity: calc(1 - var(--cine-p, 0) * 1.3);
  }

  .cine-on [data-cine-read] .cine-w {
    opacity: 0.16;
    transition: opacity 0.35s linear;
  }

  .cine-on [data-cine-read] .cine-w.is-on {
    opacity: 1;
  }
}

@media print {
  .cine-progress,
  .cine-backdrop,
  .cine-shade {
    display: none;
  }
}
