/* =====================================================================
   TRSROPROXY — scenes.css  (scroll ile sürülen 3B sahneler)
   Mantık: .scene (yüksek iz) > .pin (yapışkan 100vh sahne). app.js her sahneye
   0→1 ilerleme (--p) yazar; hareket CSS'te calc() ile tanımlıdır.
   Varsayılan değerler "bitmiş/okunur" haldir: JS yoksa içerik yine de görünür.
   ===================================================================== */

.scene { position: relative; height: var(--track, 200vh); scroll-margin-top: calc(-1 * (var(--hdr) + 8px)); }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.off { visibility: hidden !important; pointer-events: none !important; }
html:not(.js) .scene, html.static .scene { height: auto; }
html:not(.js) .pin, html.static .pin { position: relative; height: auto; min-height: 0; overflow: visible; }

/* ═════════════════════ HERO — tek, tam genişlikte Silkroad sahnesi ═════════════════════
   Yapı: .hero (scroll izi) > .pin (yapışkan, kullanılabilir yükseklik) > .cv-stage (TEK sahne kutusu: inset 0, %100 × %100; üç resim + tuval aynı sınırda)
         > .cv-shade (ortak koyu navy geçiş; sahne katmanlarının DIŞINDA, metinle birlikte sabit) > .hero-copy (tek H1, gerçek HTML, üç sahnede aynı yer).
   Kamera hareketi yok; sahne değişimi yalnız opaklık. Üç tuval aynı orana hazırlanmıştır (assets/img/hero/pano, _kaynak/tools/hero-pano.js).
   Çapa (object-position) motorla aynı: yatay 80% 45%, dikey 50% 80%. */
.hero { --p: 0; --ch: 52svh;
  --cl: max(var(--gut), calc((100% - var(--wrap)) / 2));
  --cw: clamp(400px, calc(40vw - max(var(--gut), calc((100vw - var(--wrap)) / 2))), 560px);
  --scroll-len: calc(3 * clamp(1200px, 190svh, 2000px));   /* 3 video × bölüm (~1,9 ekran): 10 sn video ≈ 1460 px (1366×768) → tekerlek adımı (~100 px) ≈ 0,7 sn */ height: calc(100svh + var(--scroll-len)); overflow-x: clip; }
@media (max-height: 560px) { :root { --hdr: 56px; } }
.hero .pin { display: flex; align-items: center; }
.hero-track { height: 0; }
.cv-stage { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; background: var(--bg); }
.cv-stills { position: absolute; inset: 0; }
.cv-still { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 80% 45%; opacity: 0; user-select: none; -webkit-user-drag: none; }
.cv-still[data-i="0"] { opacity: 1; }
.cv-gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; display: block; touch-action: pan-y; }
.hero[data-mode="art"] .cv-gl, .hero[data-mode="3d"] .cv-gl { opacity: 1; }
/* tuval hazır olunca poster altında görünmez olur (aynı kare, aynı kadraj: sıçrama yok) */
.hero[data-mode="art"] .cv-stills { opacity: 0; transition: opacity .3s linear .6s; }
/* scroll ile ilerleyen video: poster (ilk kare) ile aynı kadraj; hazır olunca posterin üstünde görünür olur */
.cv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.hero[data-mode="video"] .cv-video { opacity: 1; }
/* WebGL çizici (keskin + geriden görünüm): videolar yalnızca kare kaynağıdır, görünmez; tuval görünür */
.hero[data-mode="videogl"] .cv-video { opacity: 0 !important; }
.hero[data-mode="videogl"] .cv-video.wait { opacity: 1 !important; }   /* kare henüz inmedi: o videonun poster karesi görünür */
.hero[data-mode="videogl"] .cv-vgl { opacity: 1; }
.hero[data-mode="videogl"] .cv-stills { opacity: 0; transition: opacity .3s linear .5s; }
.cv-still[src*="kervan-poster"] { object-position: 60% 50%; }
.hero.is-off .cv-cue i { animation-play-state: paused; }
.cv-ui { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
/* ortak koyu geçiş: solda güçlü, metnin sağ ucunda orta, merkezden sonra düşük; üstte başlık çubuğu, altta sonraki bölüme geçiş */
.cv-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 10, 26, .72) 0, rgba(5, 10, 26, 0) calc(var(--hdr) + 70px)),
    linear-gradient(180deg, rgba(5, 9, 20, 0) 80%, rgba(5, 9, 20, .9) 100%),
    linear-gradient(90deg, rgba(5, 10, 26, .9) 0, rgba(5, 10, 26, .86) calc(var(--cl) + var(--cw) * .55), rgba(5, 10, 26, .68) calc(var(--cl) + var(--cw) + 24px), rgba(5, 10, 26, .28) calc(var(--cl) + var(--cw) + 16vw), rgba(5, 10, 26, 0) calc(var(--cl) + var(--cw) + 32vw)); }

/* — Metin (gerçek HTML; sahne katmanlarının üstünde, geçişlerden bağımsız) — */
.hero-copy { position: relative; z-index: 6; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; box-sizing: border-box; gap: clamp(14px, 2.4vh, 22px); justify-items: start; width: var(--cw); margin-left: var(--cl); padding: calc(var(--hdr) + 8px) 0 84px; }
.hero .h1 { font-size: clamp(2.1rem, min(3.3vw + .5rem, 6.4vh), 4.1rem); text-wrap: balance; }
.hero .h1 .grad { background: linear-gradient(92deg, #8fd3ff 0%, #6fe7ff 55%, #b9f3ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: .16em; }
.hero .h1 .ln { padding-bottom: .22em; margin-bottom: -.2em; }
.hero-copy .lead { font-size: clamp(.98rem, .3vw + .9rem, 1.12rem); max-width: 46ch; color: #dbe4f5; }
.hero-copy .ops { max-width: 52ch; font-size: .8rem; line-height: 1.6; color: #b9c4da; }
.hero-copy .ops span { color: #dbe4f5; font-weight: 600; }
.hero-copy .badges li { color: #dbe4f5; }

/* — HUD: aşama etiketi, ilerleme, "Animasyonu geç", kaydır ipucu — */
.cv-hud { position: absolute; z-index: 6; left: var(--cl); bottom: max(clamp(18px, 4vh, 40px), env(safe-area-inset-bottom)); display: grid; gap: 10px; width: min(var(--cw), 460px); }
.cv-tag { font: 500 .78rem/1.4 var(--f-b); color: #b9c4da; letter-spacing: .02em; }
.cv-labels { position: relative; height: 1.7rem; }
.cv-labels li { position: absolute; left: 0; top: 0; display: flex; align-items: baseline; gap: .8rem; white-space: nowrap; font: 700 clamp(1.05rem, 1.5vw, 1.35rem)/1.2 var(--f-d); letter-spacing: -.01em; color: #fff; opacity: 0; transition: opacity .45s var(--ease); }
.cv-labels li.on { opacity: 1; }
.cv-labels li b { font: 600 .74rem/1 var(--f-m); letter-spacing: .14em; color: var(--gold); }
.cv-prog { position: relative; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.cv-ticks i { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--bg); z-index: 1; }
.cv-bar { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p)); background: var(--grad); box-shadow: 0 0 12px var(--cyan); }
.cv-aside { position: absolute; z-index: 6; right: calc(var(--gut) + 84px); bottom: max(clamp(18px, 4vh, 40px), env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 26px; pointer-events: auto; }
.cv-skip { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .85rem; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(5, 10, 24, .7); color: #dbe4f5; font: 600 .78rem/1 var(--f-b); text-decoration: none; backdrop-filter: blur(8px); transition: color .2s, border-color .2s; }
.cv-skip:hover { color: #fff; border-color: rgba(255, 255, 255, .45); }
.cv-skip .ic { width: 1em; height: 1em; transform: rotate(90deg); }
.cv-cue { display: inline-flex; align-items: center; gap: 12px; color: #b9c4da; font: 600 .68rem/1 var(--f-b); letter-spacing: .14em; text-transform: uppercase; opacity: calc(1 - var(--p) * 6); }
.cv-cue i { width: 1px; height: 34px; background: linear-gradient(var(--cyan), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(12px); opacity: 0; } }
@media (max-height: 820px) { .hero-copy .ops { display: none; } }
@media (max-height: 700px) { .hero-copy .badges { display: none; } .hero-copy { gap: 14px; } }
@media (min-width: 2200px) { .hero .h1 { font-size: 4.4rem; } .hero-copy .lead { font-size: 1.2rem; } }

/* — Dikey ekran (telefon / dik tablet): görsel yine tam genişlik, metin ÜSTTE resmin üzerinde; karakterler metnin altında (dikey tuval) — */
@media (max-aspect-ratio: 1/1) {
  .hero .pin { align-items: flex-start; }
  .cv-still { object-position: 50% 80%; }
  /* dikey ekranda 16:9 video ALT bölgede, metnin altında: karakterler (şövalye, atlı kadın) görünür; üst kenarı koyu zemine yumuşakça karışır */
  .cv-video, .cv-still[src*="kervan-poster"] { inset: auto 0 0 0; height: min(64%, 100vw * 1.25); width: 100%; object-fit: cover; object-position: 50% 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
  .hero-copy { width: 100%; max-width: 100%; margin: 0; padding: calc(var(--hdr) + 14px) max(var(--gut), env(safe-area-inset-right)) 0 max(var(--gut), env(safe-area-inset-left)); gap: 12px; }
  .hero-copy .eyebrow.pill { font-size: .72rem; padding: .42rem .78rem .42rem .68rem; }
  .hero .h1 { font-size: clamp(1.7rem, min(8vw, 5.2vh + .5rem), 3.1rem); }
  .hero-copy .lead { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-copy .badges, .hero-copy .ops { display: none; }
  .hero-copy .cta-row { gap: 10px; width: 100%; flex-wrap: nowrap; }
  .hero-copy .cta-row .btn-lg { --h: 46px; flex: 1 1 0; min-width: 0; padding: 0 .8rem; font-size: .9rem; overflow: hidden; }
  .hero-copy .cta-row .btn-lg > span[aria-hidden], .hero-copy .cta-row .btn-primary > .ic:last-child { display: none; }
  .hero-copy .cta-row .btn-primary { flex: 0 1 auto; } .hero-copy .cta-row .btn-ghost { flex: 1 1 auto; gap: .4rem; }
  .cv-shade { background:
    linear-gradient(180deg, rgba(5, 10, 26, .9) 0, rgba(5, 10, 26, .86) calc(var(--ch) - 30px), rgba(5, 10, 26, .58) calc(var(--ch) + 24px), rgba(5, 10, 26, .14) calc(var(--ch) + 110px), rgba(5, 10, 26, 0) calc(var(--ch) + 170px)),
    linear-gradient(180deg, rgba(5, 9, 20, 0) 74%, rgba(5, 9, 20, .62) 88%, rgba(5, 9, 20, .93) 100%); }
  .cv-hud { left: max(var(--gut), env(safe-area-inset-left)); right: calc(max(var(--gut), env(safe-area-inset-right)) + 72px); width: auto; bottom: max(14px, env(safe-area-inset-bottom)); }
  .cv-tag, .cv-cue, .cv-aside { display: none; }
}
@media (max-aspect-ratio: 1/1) and (max-width: 380px) { .hero-copy .eyebrow.pill { display: none; } .hero-copy .cta-row { gap: 8px; } .hero-copy .cta-row .btn-lg { font-size: .82rem; padding: 0 .6rem; } .hero-copy .cta-row .btn-primary { flex: 0 1 auto; } .hero-copy .cta-row .btn-ghost { flex: 1 1 auto; gap: .35rem; } }
@media (max-aspect-ratio: 1/1) and (max-height: 700px) { .hero .h1 { font-size: clamp(1.55rem, 7.2vw, 2rem); } .hero-copy { gap: 10px; padding-top: calc(var(--hdr) + 8px); } }
/* — Metin kullanılabilir yüksekliğe sığmıyorsa (kısa yatay ekran / yüksek zoom): pin yok, doğal akış; sahne metnin arkasında kalır — */
.hero[data-lm="flow"] { height: auto; }
.hero[data-lm="flow"] .pin { position: relative; height: auto; min-height: 100svh; overflow: hidden; }
.hero[data-lm="flow"] .hero-copy { padding-bottom: 96px; }
.hero[data-lm="flow"] .hero-track { display: none; }

/* — Hero sonrası rakamlar şeridi — */
.stats-sec { padding-block: clamp(60px, 7vw, 110px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; width: 100%; }
.stat { display: grid; gap: 8px; padding: 26px 14px; text-align: center; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(9, 17, 38, .8); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06); }
.stat strong { font: 700 clamp(1.9rem, 3.4vw, 3rem)/1 var(--f-d); letter-spacing: -.03em; font-variant-numeric: tabular-nums; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.stat span { color: var(--tx-2); font-size: .88rem; }
@media (max-width: 960px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* — Durağan düzen (hareketi azalt / JS yok): aynı üst üste düzen, pin yok, yalnız ilk sahne; metin ve bağlantılar aynı — */
html.static .hero, html:not(.js) .hero { height: auto; }
html.static .hero .pin, html:not(.js) .hero .pin { position: relative; height: auto; min-height: 100svh; overflow: hidden; }
html.static .hero-track, html:not(.js) .hero-track, html.static .cv-prog, html:not(.js) .cv-prog, html.static .cv-aside, html:not(.js) .cv-aside, html.static .cv-labels, html:not(.js) .cv-labels { display: none; }

/* ═════════════════════ TÜNEL (Hizmetler) ═════════════════════ */
.tunnel { --track: 430vh; --z: 0; --hd: 1; }
.tn-view { position: absolute; inset: 0; perspective: 780px; perspective-origin: 50% 50%; overflow: hidden; }
.tn-world { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(calc(var(--z) * 1px)); }
.ring { --s: min(118vmin, 1080px); position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 17%;
  border: 1.5px solid rgba(34, 211, 238, calc(.62 - var(--i) * .03)); box-shadow: 0 0 70px rgba(34, 211, 238, .14), inset 0 0 70px rgba(79, 139, 255, .12);
  transform: translateZ(calc(var(--i) * -380px)) rotate(calc(var(--i) * 7deg)); }
.ring:nth-child(4n) { border-color: rgba(245, 192, 79, .5); box-shadow: 0 0 70px rgba(245, 192, 79, .12), inset 0 0 70px rgba(245, 192, 79, .08); }
.ring:nth-child(3n+1) { border-radius: 50%; }
.streak { position: absolute; left: 50%; top: 50%; width: 2px; height: var(--len); margin: calc(var(--len) / -2) 0 0 -1px; background: linear-gradient(transparent, rgba(143, 240, 255, .95), transparent); border-radius: 2px;
  transform: rotate(var(--a)) translateY(var(--r)) translateZ(var(--zz)) rotateX(90deg); opacity: .85; }
.tn-shade { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(70% 60% at 50% 50%, transparent 30%, rgba(5, 9, 20, .55) 75%, rgba(5, 9, 20, .92) 100%), linear-gradient(180deg, rgba(5, 9, 20, .9), transparent 22%, transparent 78%, rgba(5, 9, 20, .9)); }
.tn-head { position: absolute; z-index: 3; left: 0; right: 0; top: 0; bottom: 0; display: grid; align-content: center; justify-items: center; gap: 18px; padding: var(--hdr) var(--gut) 0; text-align: center;
  opacity: var(--hd); transform: translate3d(0, calc((1 - var(--hd)) * -60px), calc((1 - var(--hd)) * 220px)); }
.tn-head .sub { margin-inline: auto; }
.tn-head .h2 { font-size: clamp(2.4rem, 5vw + .5rem, 5rem); }
.tn-stations { position: absolute; inset: 0; z-index: 4; perspective: 1100px; perspective-origin: 50% 46%; pointer-events: none; }
.station { position: absolute; inset: 0; padding: var(--hdr) max(var(--gut), calc((100vw - var(--wrap)) / 2)) 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(20px, 4vw, 80px);
  transform-style: preserve-3d; opacity: 0; will-change: transform, opacity; }
.station.live { pointer-events: auto; }
.st-card { position: relative; display: grid; gap: 18px; padding: clamp(26px, 3.4vw, 46px); border-radius: var(--r-xl); border: 1px solid rgba(122, 167, 255, .3);
  background: linear-gradient(160deg, rgba(14, 28, 62, .88), rgba(6, 12, 28, .92)); box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .95), 0 0 80px -30px rgba(37, 99, 235, .5), inset 0 1px 0 rgba(255, 255, 255, .1); transform: translateZ(40px); }
.st-no { font: 700 .82rem/1 var(--f-m); letter-spacing: .18em; color: var(--gold); }
.st-title { font: 700 clamp(1.8rem, 3vw, 2.9rem)/1.06 var(--f-d); letter-spacing: -.03em; }
.st-card p { color: var(--tx-2); font-size: clamp(1rem, .4vw + .92rem, 1.15rem); }
.st-pts { display: grid; gap: 10px; padding-top: 6px; }
.st-pts li { display: flex; gap: .7rem; align-items: center; font-weight: 500; }
.st-pts .ic { width: 1.1em; height: 1.1em; color: var(--ok); }
.st-img { position: relative; display: grid; place-items: center; transform: translateZ(110px); }
.st-img img { position: relative; width: min(440px, 100%); filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .6)); animation: floaty 7s ease-in-out infinite; }
.st-halo { position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 238, .45), rgba(37, 99, 235, .18) 55%, transparent 70%); filter: blur(14px); }
.station[data-i="1"] .st-halo { background: radial-gradient(circle, rgba(245, 192, 79, .4), rgba(255, 122, 69, .16) 55%, transparent 70%); }
.station[data-i="2"] .st-halo { background: radial-gradient(circle, rgba(122, 167, 255, .45), rgba(139, 92, 246, .16) 55%, transparent 70%); }
.tn-hud .no { white-space: nowrap; }
.tn-hud { position: absolute; z-index: 5; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 20px; font: 600 .82rem/1 var(--f-m); color: var(--tx-3); opacity: calc(1 - var(--hd)); }
.tn-hud b { color: #fff; font-weight: 700; }
.tn-hud .dots { display: flex; gap: 8px; }
.tn-hud .dots i { width: 28px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .16); transition: background .3s, width .3s; }
.tn-hud .dots i.on { width: 46px; background: var(--grad); box-shadow: 0 0 12px var(--cyan); }

/* ═════════════════════ KÜP (Neden biz) ═════════════════════ */
.cubesc { --track: 360vh; --ry: 0deg; --S: min(46vh, 36vw, 420px); }
.cubesc .pin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 90px); padding: var(--hdr) max(var(--gut), calc((100vw - var(--wrap)) / 2)) 0; }
.cb-bg { position: absolute; inset: 0; pointer-events: none; }
.cb-bg .orb { position: absolute; border-radius: 50%; filter: blur(100px); }
.cb-bg .o1 { width: 40vw; height: 40vw; left: -12vw; top: -8vh; background: #2563eb; opacity: .2; }
.cb-bg .o2 { width: 34vw; height: 34vw; right: -8vw; bottom: -12vh; background: #06b6d4; opacity: .16; }
.cb-copy { position: relative; display: grid; gap: 20px; justify-items: start; z-index: 2; }
.cb-list { display: grid; gap: 10px; width: min(460px, 100%); margin-top: 14px; }
.cb-list li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(10, 18, 38, .6); color: var(--tx-3); font: 600 1.02rem/1.2 var(--f-b); transition: all .45s var(--ease); }
.cb-list li b { font: 600 .8rem/1 var(--f-m); color: var(--tx-3); transition: color .4s; }
.cb-list li.on { color: #fff; border-color: rgba(34, 211, 238, .5); background: linear-gradient(90deg, rgba(34, 211, 238, .14), rgba(47, 107, 255, .06)); transform: translateX(10px); box-shadow: 0 20px 40px -26px rgba(6, 182, 212, .7); }
.cb-list li.on b { color: var(--cyan); }
.cb-stage { position: relative; display: grid; place-items: center; height: 100%; perspective: 1500px; perspective-origin: 50% 42%; z-index: 2; }
.cb-scene { position: relative; width: var(--S); height: var(--S); transform-style: preserve-3d; }
.cb-cube { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(calc(var(--S) / -2)) rotateX(-13deg) rotateY(var(--ry)); }
.face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: calc(var(--S) * .11); border-radius: 26px; border: 1px solid rgba(122, 167, 255, .4);
  background: linear-gradient(160deg, #162a5a, #0a1430); box-shadow: inset 0 0 70px rgba(79, 139, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .14); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face .ico { width: calc(var(--S) * .2); height: calc(var(--S) * .2); min-width: 54px; min-height: 54px; border-radius: 20px; }
.face .ico .ic { width: 55%; height: 55%; }
.face h3 { font: 700 clamp(1.3rem, calc(var(--S) * .078), 2.1rem)/1.1 var(--f-d); letter-spacing: -.02em; }
.face p { color: var(--tx-2); font-size: clamp(.88rem, calc(var(--S) * .04), 1.1rem); }
.face .fno { position: absolute; right: calc(var(--S) * .09); top: calc(var(--S) * .07); font: 700 clamp(2.4rem, 5vw, 4.4rem)/1 var(--f-d); color: rgba(122, 167, 255, .13); }
.face.f0 { transform: rotateY(0deg) translateZ(calc(var(--S) / 2)); }
.face.f1 { transform: rotateY(90deg) translateZ(calc(var(--S) / 2)); }
.face.f2 { transform: rotateY(180deg) translateZ(calc(var(--S) / 2)); }
.face.f3 { transform: rotateY(270deg) translateZ(calc(var(--S) / 2)); }
.face.top { transform: rotateX(90deg) translateZ(calc(var(--S) / 2)); background: linear-gradient(135deg, #1c7fb5, #1d3f9c); border-color: rgba(143, 240, 255, .6); }
.face.bot { transform: rotateX(-90deg) translateZ(calc(var(--S) / 2)); background: #03070f; }
.cb-shadow { position: absolute; left: 50%; bottom: calc(var(--S) * -.28); width: calc(var(--S) * 1.2); height: calc(var(--S) * .22); transform: translateX(-50%) rotateX(80deg); border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 211, 238, .5), transparent); filter: blur(10px); }

/* ═════════════════════ SİLİNDİR GALERİ (Efsane Ol) ═════════════════════ */
.legend { --track: 480vh; --ry: 0deg; }
.legend .pin { display: grid; grid-template-rows: auto 1fr auto; padding-top: var(--hdr); }
.lg-bg { position: absolute; inset: 0; pointer-events: none; }
.lg-bg .orb { position: absolute; border-radius: 50%; filter: blur(110px); }
.lg-bg .o1 { width: 46vw; height: 46vw; left: 50%; top: 20%; transform: translateX(-50%); background: #7c3aed; opacity: .14; }
.lg-bg .o2 { width: 40vw; height: 30vw; left: -10vw; bottom: -10vh; background: #f5c04f; opacity: .1; }
.lg-head { position: relative; z-index: 3; display: grid; justify-items: center; gap: 12px; padding: clamp(10px, 2.6vh, 32px) var(--gut) 0; text-align: center; }
.lg-head .sub { margin-inline: auto; font-size: clamp(.95rem, .3vw + .9rem, 1.1rem); max-width: 60ch; }
.cyl { position: relative; z-index: 2; display: grid; place-items: center; min-height: 0; perspective: 1800px; perspective-origin: 50% 36%; }
.cyl-ring { --cw: min(560px, 62vw, 74vh); --R: calc(var(--cw) * .935); position: relative; width: var(--cw); height: calc(var(--cw) * 300 / 760); transform-style: preserve-3d; transform: translateZ(calc(var(--R) * -1)) rotateY(var(--ry)); }
.slide { position: absolute; inset: 0; transform: rotateY(calc(var(--i) * 60deg)) translateZ(var(--R)); backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4); background: #0b1226; transition: filter .6s var(--ease); }
.cyl::after { content: ""; position: absolute; left: 50%; bottom: 4%; width: min(80vw, 760px); height: 90px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(122, 167, 255, .28), transparent); filter: blur(14px); pointer-events: none; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide:not(.active) { filter: brightness(.5) saturate(.75); }
.slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; padding: 40px 20px 16px; background: linear-gradient(transparent, rgba(3, 7, 18, .95)); }
.slide figcaption strong { font: 700 1.1rem/1.2 var(--f-d); }
.slide figcaption span { color: var(--tx-2); font-size: .86rem; }
.lg-cap { position: relative; z-index: 3; display: grid; justify-items: center; gap: 8px; padding: 0 var(--gut) clamp(18px, 4vh, 40px); text-align: center; }
.lg-cap strong { font: 700 clamp(1.3rem, 2vw, 1.8rem)/1.1 var(--f-d); transition: opacity .3s; }
.lg-cap > span:not(.dots) { color: var(--tx-2); transition: opacity .3s; }
.lg-cap .dots { display: flex; gap: 8px; margin-top: 8px; }
.lg-cap .dots i { width: 26px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .16); transition: all .35s var(--ease); }
.lg-cap .dots i.on { width: 46px; background: var(--grad); box-shadow: 0 0 12px var(--cyan); }

/* ═════════════════════ ORTAK ANİMASYONLAR ═════════════════════ */
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* ═════════════════════ DUYARLI ═════════════════════ */
@media (max-width: 960px) {
  /* Hero: sabitlenmez, normal akış; görseller kaydırmayla yine 3B hareket eder */

  .tunnel { --track: 360vh; }
  .station { grid-template-columns: 1fr; align-content: center; gap: 14px; padding-bottom: 38px; }
  .st-img { order: -1; transform: translateZ(80px); }
  .st-img img { width: min(210px, 42vw); }
  .st-card { padding: 22px 20px; gap: 12px; }
  .st-title { font-size: clamp(1.5rem, 6.4vw, 2.1rem); }
  .st-pts { display: none; }

  .cubesc { --track: 320vh; --S: min(62vw, 300px, 36vh); }
  .cubesc .pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 6px; padding-top: calc(var(--hdr) + 14px); }
  .cb-list { display: none; }
  .cb-stage { height: auto; align-self: center; }
  .cb-copy { gap: 12px; }

  .legend { --track: 380vh; }
  .cyl-ring { --cw: min(78vw, 480px); }
}
@media (max-width: 640px) {
  .tn-head .h2 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .lg-head .sub { display: none; }
}
@media (max-height: 700px) and (min-width: 961px) {
}

/* ═════════════════════ STATİK DÜZEN (az hareket / JS yok) ═════════════════════ */
html.static .ln-in, html:not(.js) .ln-in { animation: none; }

html.static .tn-view, html.static .tn-shade, html.static .tn-hud, html:not(.js) .tn-view, html:not(.js) .tn-shade, html:not(.js) .tn-hud { display: none; }
html.static .tn-head, html:not(.js) .tn-head { position: relative; opacity: 1; transform: none; padding: clamp(60px, 8vw, 100px) var(--gut) 20px; }
html.static .tn-stations, html:not(.js) .tn-stations { position: relative; display: grid; gap: 28px; perspective: none; padding: 0 var(--gut) 40px; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; }
html.static .station, html:not(.js) .station { position: relative; inset: auto; opacity: 1 !important; padding: 0; transform: none !important; }
html.static .st-card, html.static .st-img, html:not(.js) .st-card, html:not(.js) .st-img { transform: none; }

html.static .cubesc .pin, html:not(.js) .cubesc .pin { grid-template-columns: 1fr; padding: clamp(60px, 8vw, 100px) var(--gut); }
html.static .cb-stage, html:not(.js) .cb-stage { perspective: none; height: auto; }
html.static .cb-scene, html:not(.js) .cb-scene { width: 100%; height: auto; }
html.static .cb-cube, html:not(.js) .cb-cube { position: static; transform: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
html.static .face, html:not(.js) .face { position: relative; transform: none !important; min-height: 220px; }
html.static .face.top, html.static .face.bot, html.static .cb-shadow, html:not(.js) .face.top, html:not(.js) .face.bot, html:not(.js) .cb-shadow { display: none; }

html.static .legend .pin, html:not(.js) .legend .pin { display: block; padding: clamp(60px, 8vw, 100px) 0 20px; }
html.static .cyl, html:not(.js) .cyl { perspective: none; display: block; }
html.static .cyl-ring, html:not(.js) .cyl-ring { position: static; width: auto; height: auto; transform: none; display: flex; gap: 16px; overflow-x: auto; padding: 24px var(--gut); scroll-snap-type: x mandatory; }
html.static .slide, html:not(.js) .slide { position: relative; flex: 0 0 min(78vw, 480px); transform: none; aspect-ratio: 760/300; scroll-snap-align: center; filter: none !important; }
html.static .cyl::after, html:not(.js) .cyl::after { display: none; }
html.static .lg-cap, html:not(.js) .lg-cap { display: none; }
html.static *, html.static *::before, html.static *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
html.static.rv-on .reveal, html.static.rv-on .reveal-group > * { opacity: 1 !important; transform: none !important; transition: none !important; }
html.static .pwrap { transform: none; opacity: 1; }

/* Kalite bekçisi (app.js) yavaş cihaz algılarsa ağır süsleri kapatır */
html.lite .aurora, html.lite .cv-sun, html.lite .pr-bg, html.lite .cb-bg, html.lite .lg-bg, html.lite .st-halo { display: none; }
/* Mobilde büyük bulanık süsler daha hafif */
@media (max-width: 960px) { .aurora { filter: blur(64px); } }

/* JS hiç çalışmasa bile sistem "hareketi azalt" diyorsa animasyonlar kapalı */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* One-time frame preparation; page and navigation remain usable. */
.cv-loading{font:500 .75rem/1.4 Inter,system-ui,sans-serif;color:#d5e9ff;background:#091b35cc;padding:.5rem .75rem;border:1px solid #446489;border-radius:999px}

/* Keep scroll pinning at laptop heights and browser zoom; copy stays reachable. */
html.js:not(.static) .hero{height:calc(var(--hero-pin-h,100svh) + var(--scroll-len));overflow-x:visible}
html.js:not(.static) .hero>.pin{height:var(--hero-pin-h,100svh);top:min(0px,calc(100svh - var(--hero-pin-h,100svh)))}
.cv-motion-toggle{position:absolute;z-index:12;bottom:16px;left:var(--gut);padding:12px 18px;border:1px solid #49b9ed;border-radius:12px;background:#091b35;color:white;cursor:pointer}
