/* Animasyonlar (2026-10-14 seçimleri): başlık kayarak, bölümler belirerek, kartlarda video önizleme,
   kayan logo şeridi, imleci takip eden ışık; tempo orta. Hareket azaltma tercihinde hepsi kapalı. */
:root { --ease: cubic-bezier(.2, .8, .2, 1); --t: .7s; }

/* başlık: satır satır aşağıdan */
h1 .line { overflow: hidden; padding-bottom: .04em; }
h1 .line i { display: inline-block; font-style: normal; }
.js-anim h1 .line i { animation: up var(--t) var(--ease) both; }
.js-anim h1 .line:nth-child(2) i { animation-delay: .12s; }
.js-anim h1 .line:nth-child(3) i { animation-delay: .24s; }
@keyframes up { from { transform: translateY(105%); } to { transform: none; } }
.js-anim .hero .lede, .js-anim .hero .cta-row, .js-anim .hero .eyebrow { animation: fade .8s var(--ease) both; }
.js-anim .hero .eyebrow { animation-delay: 0s; }
.js-anim .hero .lede { animation-delay: .35s; }
.js-anim .hero .cta-row { animation-delay: .45s; }
.js-anim .reel { animation: reelin 1s var(--ease) .2s both; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes reelin { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }

/* kaydırınca belirme */
.js-anim [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js-anim [data-rv].in { opacity: 1; transform: none; }

/* kartlarda video önizleme */
.work .thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.work.oynuyor .thumb video { opacity: 1; }
.work.oynuyor .play { opacity: 0; }

/* kayan logo şeridi */
.logos.serit { display: block; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos.serit .track { display: flex; gap: 14px; width: max-content; animation: slide 38s linear infinite; }
.logos.serit:hover .track { animation-play-state: paused; }
.logos.serit figure { width: 190px; flex: none; }
@media (max-width: 560px) { .logos.serit figure { width: 150px; } }
@keyframes slide { to { transform: translateX(calc(-50% - 7px)); } }

/* imleci takip eden ışık */
.isik { position: fixed; left: 0; top: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(242, 179, 61, .11), rgba(242, 179, 61, .04) 38%, transparent 68%); opacity: 0; transition: opacity .6s ease; will-change: transform; }
.isik.acik { opacity: 1; }
main, footer, .top { position: relative; z-index: 1; }
.top { z-index: 20; }

@media (prefers-reduced-motion: reduce) {
  .js-anim h1 .line i, .js-anim .hero .lede, .js-anim .hero .cta-row, .js-anim .hero .eyebrow, .js-anim .reel { animation: none; }
  .js-anim [data-rv] { opacity: 1; transform: none; transition: none; }
  .logos.serit .track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .isik { display: none; }
}