/* KAFAdan marka kitabı: Behance kimlik vakasının (ıd kafadan.ai, 7 sayfa) web çevirisi. Koyu sayfa, vakanın zemini (#151314) ve dili.
   Hareket: yalnız transform ve opacity; sert kesme (steps) KAFAdan'ın imzası; hiçbir şey kendi kendine tekrar etmez. Betik ya da hareket yoksa her şey son halinde durur. */
:root { --zemin: #151314; --metin: #FFFFFF; --soluk: rgba(255, 255, 255, .72); --cizgi: rgba(255, 255, 255, .16); --kenar: clamp(16px, 4vw, 56px); --yum: cubic-bezier(.2, .9, .2, 1); --gece: #151314; }
html { background: #151314; color-scheme: dark; }
body { background: #151314; color: #fff; }
.kf-etiket { margin: 0; font: 700 clamp(14px, 1.3vw, 20px)/1 var(--f-baslik); letter-spacing: .16em; text-transform: uppercase; color: var(--c-sari); }
.kf-h2 { margin: 0 0 .9em; font: 700 clamp(32px, 4.3vw, 70px)/1.04 var(--f-baslik); text-transform: uppercase; }
.kf-ucgen { display: inline-block; width: 0; height: 0; border-style: solid; border-width: .5em 0 .5em .86em; border-color: transparent transparent transparent currentColor; }

/* ---- üst çubuk: koyu, kapağın üstünde ---- */
.tb { height: 60px; padding: 0 var(--kenar); background: linear-gradient(rgba(21, 19, 20, .9), rgba(21, 19, 20, 0)); border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.tb-ad marka-logo { width: 52px; }
.tb-ind summary { border-radius: 0; border: 2px solid #fff; color: #fff; font: 700 14px/1 var(--f-baslik); text-transform: uppercase; letter-spacing: .1em; transform: skewX(-10deg); background: rgba(21, 19, 20, .5); }
.tb-ind[open] summary { background: #fff; color: #151314; }
.tb-ind ol { border-radius: 0; border: 2px solid #fff; background: #151314; box-shadow: 8px 8px 0 var(--vurgu); }
.tb-ind a { border-radius: 0; color: #fff; font-family: var(--f-baslik); text-transform: uppercase; letter-spacing: .08em; }
.tb-ind a b { color: var(--c-sari); }
.tb-ind a:hover { background: var(--c-sari); color: #151314; }
.tb-ind a:hover b { color: #151314; }

/* ---- 1 Kapak (sayfa 1): kolaj tam ekran, başlık canlı yazı ---- */
.kf-kapak { position: relative; background: #151314; }
.kf-kapak-sahne { height: 150svh; }
.kf-kapak-st { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.kf-kapak-gorsel { position: absolute; inset: 0; }
.kf-kapak-gorsel img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; max-width: none; transform: translate3d(calc((.5 - var(--p, 0)) * 6%), calc(var(--p, 0) * -2%), 0) scale(calc(1.08 + var(--p, 0) * .05)); will-change: transform; }
.kf-kapak-st::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(21, 19, 20, .55) 0, rgba(21, 19, 20, 0) 20%, rgba(21, 19, 20, 0) 52%, #151314 90%); }
.kf-kapak-yazi { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(36px, 9svh, 110px); padding: 0 var(--kenar); text-align: center; }
.kf-kapak-baslik { margin: 0; font: 700 clamp(26px, 4.1vw, 72px)/1.1 var(--f-baslik); text-transform: uppercase; text-shadow: 0 2px 28px rgba(0, 0, 0, .65); }
.kf-kw { display: inline-block; }
.kf-nokta { display: inline-block; width: .42em; height: .42em; margin-right: .3em; border-radius: 50%; vertical-align: .1em; background: radial-gradient(circle at 34% 32%, #e01212, var(--vurgu) 72%); }
.kf-kapak-etiket { display: flex; justify-content: center; gap: clamp(48px, 13vw, 240px); margin: clamp(10px, 1.6vw, 26px) 0 0; font: 300 clamp(15px, 1.6vw, 26px)/1 var(--f-metin); }
.kf-kapak-etiket span { display: inline-block; }
@keyframes kf-kes { from { opacity: 0; transform: translate3d(-.4em, 0, 0) skewX(-12deg); } to { opacity: 1; transform: none; } }
@keyframes kf-sol { from { opacity: 0; transform: translate3d(-28px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes kf-yuk { from { opacity: 0; } to { opacity: 1; } }
.motion .kf-kapak .kf-kw, .motion .kf-kapak .kf-nokta, .motion .kf-kapak-etiket span { animation: kf-kes .3s steps(3, end) backwards; animation-delay: calc(var(--i, 0) * 70ms + 260ms); }
.motion .kf-kapak-gorsel { animation: kf-yuk 1.3s var(--yum) backwards; }

/* ---- 2 Açıklama (sayfa 2): başlık, iki paragraf, canlı kodlu logo ---- */
.kf-aciklama { position: relative; display: grid; align-items: center; min-height: 100svh; padding: 11svh 0; background: #151314; overflow: hidden; }
.kf-aciklama::before { content: ""; position: absolute; right: -8%; top: 50%; width: 62vw; aspect-ratio: 1; transform: translateY(-50%); background: radial-gradient(closest-side, rgba(125, 0, 0, .55), rgba(125, 0, 0, 0)); pointer-events: none; }
.kf-ac-ic { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; gap: 3vw; width: min(1360px, 100% - 2 * var(--kenar)); margin-inline: auto; }
.kf-ac-yazi p { max-width: 33em; margin: 0; font: 400 clamp(16px, 1.45vw, 22px)/1.4 var(--f-metin); }
.kf-ac-yazi p + p { margin-top: 1.3em; }
.kf-ac-logo { justify-self: center; width: min(100%, 38vw, 74svh); padding: 0; border: 0; background: none; cursor: pointer; transition: transform .25s var(--yum); }
.kf-ac-logo:hover { transform: rotate(-2deg) scale(1.02); }
.kf-ac-logo marka-logo { width: 100%; }
.js.motion .kf-ac-logo:not(.kf-hazir) marka-logo > svg { visibility: hidden; }
.motion .kf-in-s:not(.kf-in) { opacity: 0; }
.motion .kf-in-s.kf-in { animation: kf-sol .55s var(--yum) backwards; }
.motion .kf-in-s.kf-in:nth-child(2) { animation-delay: .1s; }
.motion .kf-in-s.kf-in:nth-child(3) { animation-delay: .2s; }

/* ---- 3 Oynatma listesi (sayfa 3): lacivert zemin, dört kutu görsel, başlık canlı yazı ---- */
.kf-liste { display: grid; place-items: center; min-height: 100svh; padding: 7svh var(--kenar); background: var(--c-lacivert); overflow: hidden; }
.kf-liste-kare { position: relative; width: min(100%, calc(84svh * 1024 / 572), 1500px); aspect-ratio: 1024 / 572; container-type: inline-size; }
.kf-lk { position: absolute; margin: 0; background: #000; border: .3cqw solid #fff; border-radius: .8cqw; overflow: hidden; box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, .35); --dx: -8cqw; --dy: -6cqw; }
.kf-lk img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.kf-lk-1 { left: 1.46%; top: 2.27%; width: 39.94%; height: 44.41%; clip-path: polygon(0 0, 100% 0, 100% 72%, 79% 72%, 79% 100%, 0 100%); }
.kf-lk-2 { left: 58.4%; top: 2.27%; width: 40%; height: 44.41%; clip-path: polygon(0 0, 100% 0, 100% 100%, 21% 100%, 21% 72%, 0 72%); --dx: 8cqw; }
.kf-lk-3 { left: 1.46%; top: 55.24%; width: 39.94%; height: 42.13%; clip-path: polygon(0 0, 61% 0, 61% 19%, 88% 19%, 88% 42%, 100% 42%, 100% 100%, 0 100%); --dy: 6cqw; }
.kf-lk-4 { left: 58.4%; top: 55.24%; width: 40%; height: 42.13%; clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%, 0 42%, 10% 42%, 10% 19%, 38% 19%); --dx: 8cqw; --dy: 6cqw; }
.kf-liste-baslik { position: absolute; inset: 0; margin: 0; font: 800 5cqw/1 var(--f-metin); text-transform: uppercase; text-align: center; text-shadow: 0 .3cqw 1cqw rgba(0, 0, 0, .5); pointer-events: none; }
.kf-liste-baslik span { position: absolute; left: 0; right: 0; display: block; white-space: nowrap; }
.kf-l1 { top: 38.5%; color: #fff; }
.kf-l2 { top: 49.5%; color: var(--c-sari); }
.kf-l3 { top: 64.4%; font-size: 2.9cqw; color: #fff; }
.kf-l3 .kf-ucgen { margin-left: .55em; vertical-align: -.02em; }
@keyframes kf-kutu { from { opacity: 0; transform: translate3d(var(--dx), var(--dy), 0) rotate(-2deg) scale(.9); } to { opacity: 1; transform: none; } }
.motion .kf-liste-kare:not(.kf-in) .kf-lk, .motion .kf-liste-kare:not(.kf-in) .kf-liste-baslik span { opacity: 0; }
.motion .kf-liste-kare.kf-in .kf-lk { animation: kf-kutu .6s var(--yum) backwards; animation-delay: calc(var(--i) * 110ms); }
.motion .kf-liste-kare.kf-in .kf-liste-baslik span { animation: kf-kes .32s steps(3, end) backwards; }
.motion .kf-liste-kare.kf-in .kf-l1 { animation-delay: .5s; }
.motion .kf-liste-kare.kf-in .kf-l2 { animation-delay: .65s; }
.motion .kf-liste-kare.kf-in .kf-l3 { animation-delay: .8s; }

/* ---- 4-6 Küçük resim serileri (sayfa 4, 5, 6): büyük örnek solda sınırsız, dikey kapak mozaiği sağda ---- */
.kf-seri { position: relative; display: grid; align-items: center; min-height: 100svh; padding: 8svh 0; background: #151314; overflow: hidden; }
.kf-seri::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 60% at 30% 50%, var(--parilti, rgba(125, 0, 0, .35)), rgba(0, 0, 0, 0) 70%); }
.kf-s1 { --parilti: rgba(4, 51, 82, .55); }
.kf-s2 { --parilti: rgba(125, 0, 0, .5); }
.kf-s3 { --parilti: rgba(200, 60, 10, .35); }
.kf-seri-ic { position: relative; display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 56px); padding-right: var(--kenar); }
.kf-seri-ad { margin: 0 0 clamp(12px, 2svh, 22px); padding-left: var(--kenar); font: 700 clamp(14px, 1.3vw, 20px)/1 var(--f-baslik); letter-spacing: .16em; text-transform: uppercase; color: var(--c-sari); }
.kf-seri-ad b { margin-right: 1em; color: #fff; }
.motion .kf-seri-ad { transition: transform .5s var(--yum), opacity .5s; }
.motion .kf-seri:not(.kf-in) .kf-seri-ad { opacity: 0; transform: translate3d(-28px, 0, 0) skewX(-8deg); }
.motion .kf-seri.kf-in .kf-seri-ad { opacity: 1; transform: none; }

.kf-buyuk { margin: 0; }
.kf-buyuk img { display: block; width: 100%; height: auto; max-width: none; border-radius: 0 6px 6px 0; box-shadow: 0 2.4vw 6vw rgba(0, 0, 0, .7); }
.kf-mozaik { display: grid; grid-template-columns: repeat(3, 1fr); width: min(100%, calc(86svh * 27 / 16 / var(--satir))); justify-self: center; }
.kf-k { position: relative; display: block; aspect-ratio: 9 / 16; padding: 0; border: 0; background: #000; overflow: hidden; cursor: zoom-in; transition: transform .3s var(--yum), box-shadow .3s; }
.kf-k::after { content: ""; position: absolute; inset: 0; border: 3px solid transparent; pointer-events: none; transition: border-color .2s; }
.kf-k img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.kf-k:hover, .kf-k:focus-visible { z-index: 3; transform: translate3d(0, -8px, 0) scale(1.08) rotate(-1.5deg); box-shadow: 0 20px 48px rgba(0, 0, 0, .8), 0 0 24px rgba(125, 0, 0, .45); outline-offset: -3px; }
.kf-k:hover::after { border-color: var(--c-sari); }
@keyframes kf-kapak { from { opacity: 0; transform: translate3d(0, 28px, 0) skewX(-7deg); } to { opacity: 1; transform: none; } }
.motion .kf-buyuk:not(.kf-in) { opacity: 0; transform: translate3d(-5%, 0, 0); }
.motion .kf-buyuk.kf-in { transition: opacity .6s, transform .9s var(--yum); }
.motion .kf-mozaik:not(.kf-in) .kf-k { opacity: 0; }
.motion .kf-mozaik.kf-in .kf-k { animation: kf-kapak .34s steps(3, end) backwards; animation-delay: calc(var(--i) * 75ms + 250ms); }

/* büyütme */
.kf-lb { width: 100vw; max-width: none; height: 100svh; max-height: none; padding: 0; border: 0; background: transparent; color: #fff; }
.kf-lb::backdrop { background: rgba(10, 8, 9, .93); }
.kf-lb[open] { display: grid; place-items: center; }
.kf-lb-img { display: block; width: auto; max-width: 92vw; height: auto; max-height: 82svh; aspect-ratio: 9 / 16; object-fit: contain; background: #000; box-shadow: 0 30px 80px #000; }
.kf-lb-ad { position: absolute; left: 0; right: 0; bottom: 2.6svh; margin: 0; padding: 0 70px; text-align: center; font: 400 14px/1.4 var(--f-metin); color: var(--soluk); }
.kf-lb-kapat, .kf-lb-git { position: absolute; width: 52px; height: 52px; padding: 0; border: 2px solid #fff; border-radius: 0; background: rgba(21, 19, 20, .8); color: #fff; cursor: pointer; transform: skewX(-8deg); }
.kf-lb-kapat { top: 3svh; right: 3vw; }
.kf-lb-kapat span::before, .kf-lb-kapat span::after { content: ""; position: absolute; left: 14px; right: 14px; top: 50%; height: 2px; background: currentColor; transform: rotate(45deg); }
.kf-lb-kapat span::after { transform: rotate(-45deg); }
.kf-lb-git { top: 50%; margin-top: -26px; }
.kf-lb-onceki { left: 3vw; }
.kf-lb-sonraki { right: 3vw; }
.kf-ok { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; border: solid currentColor; border-width: 0 0 3px 3px; transform: translate(-30%, -50%) rotate(45deg); }
.kf-lb-sonraki .kf-ok { transform: translate(-70%, -50%) rotate(-135deg); }
.kf-lb-kapat:hover, .kf-lb-git:hover { background: var(--c-sari); border-color: var(--c-sari); color: #151314; }

/* ---- 7 Packshot (ID klasöründeki GIF): kullanıcı oynatır, bir kez çalar ---- */
.kf-hareket { background: #000; padding-bottom: 6svh; }
.kf-hareket .kf-etiket, .kf-bolumler .kf-etiket { padding: calc(64px + 3svh) var(--kenar) 2.4svh; }
.kf-video { position: relative; width: min(100%, calc(84svh * 16 / 9)); aspect-ratio: 16 / 9; margin-inline: auto; background: #000; }
.kf-video video { display: block; width: 100%; height: 100%; object-fit: contain; }
.kf-oynat { position: absolute; inset: 0; width: clamp(72px, 8vw, 120px); aspect-ratio: 1; margin: auto; padding: 0; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%; background: var(--vurgu); color: #fff; font-size: clamp(22px, 2.6vw, 40px); cursor: pointer; transition: transform .25s var(--yum), background .2s; }
.kf-oynat .kf-ucgen { margin-left: .2em; }
.kf-oynat:hover { transform: scale(1.08) rotate(-4deg); background: #a50000; }
.kf-video.oynuyor .kf-oynat { opacity: 0; pointer-events: none; }

/* ---- 8 Bölümler: kenardan kenara sakin ızgara ---- */
.kf-bolumler { background: #151314; }
.kf-bolum-izgara { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.kf-bolum { display: block; background: #0e0c0d; color: #fff; text-decoration: none; }
.kf-bolum-kare { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.kf-bolum-kare img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .7s var(--yum), filter .3s; }
.kf-bolum:hover img, .kf-bolum:focus-visible img { transform: scale(1.06); filter: brightness(.65); }
.kf-bolum-yazi { display: grid; gap: 3px; padding: 12px 16px 16px; }
.kf-bolum-yazi b { font: 700 clamp(15px, 1.4vw, 21px)/1.1 var(--f-baslik); letter-spacing: .04em; text-transform: uppercase; }
.kf-bolum-yazi i { font: 300 clamp(12px, 1vw, 14px)/1.2 var(--f-metin); font-style: normal; color: var(--soluk); }
.kf-bolum-oynat { position: absolute; left: 50%; top: 46%; width: clamp(48px, 5vw, 72px); aspect-ratio: 1; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%; background: var(--vurgu); font-size: clamp(14px, 1.5vw, 22px); transform: translate(-50%, -50%) scale(.6) rotate(-20deg); opacity: 0; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), opacity .25s, background .2s; box-shadow: 0 8px 24px rgba(0,0,0,.6); }
.kf-bolum-oynat .kf-ucgen { margin-left: .2em; }
.kf-bolum:hover .kf-bolum-oynat, .kf-bolum:focus-visible .kf-bolum-oynat { opacity: 1; transform: translate(-50%, -50%) scale(1.08) rotate(0deg); background: #a50000; }
.motion .kf-bolum-izgara:not(.kf-in) .kf-bolum { opacity: 0; }
.motion .kf-bolum-izgara.kf-in .kf-bolum { animation: kf-kapak .34s steps(3, end) backwards; animation-delay: calc(var(--i) * 90ms); }

/* video paketi: yer tutucu, boşken yer kaplamaz (başka ajan dolduracak) */
#video-paketi:empty { display: none; }

/* ---- 9 Kapanış (sayfa 7): koyu kırmızı bant, vektör simgeler ---- */
.kf-kapanis { display: grid; align-items: center; min-height: clamp(220px, 40svh, 420px); padding: 7svh 0; background: var(--vurgu); }
.kf-kapanis-ic { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 3vh 4vw; width: min(1360px, 100% - 2 * var(--kenar)); margin-inline: auto; }
.kf-sosyal-sira { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(12px, 1.6vw, 26px); }
.kf-sosyal { display: block; width: clamp(56px, 7vw, 104px); color: #fff; transition: transform .25s var(--yum); }
.kf-sosyal svg { display: block; width: 100%; height: auto; overflow: hidden; }
.kf-sosyal:hover, .kf-sosyal:focus-visible { transform: translate3d(0, -6px, 0) rotate(-4deg); }
.kf-kullanici { margin-left: clamp(4px, 1vw, 16px); font: 300 clamp(20px, 2.6vw, 40px)/1 var(--f-metin); }
.kf-slogan { margin: 0; max-width: 9em; font: 700 clamp(28px, 4.6vw, 76px)/1.02 var(--f-baslik); text-transform: uppercase; text-align: right; }
@keyframes kf-pop { from { opacity: 0; transform: translate3d(0, 24px, 0) rotate(8deg) scale(.8); } to { opacity: 1; transform: none; } }
.motion .kf-kapanis-ic:not(.kf-in) .kf-sosyal, .motion .kf-kapanis-ic:not(.kf-in) .kf-slogan, .motion .kf-kapanis-ic:not(.kf-in) .kf-kullanici { opacity: 0; }
.motion .kf-kapanis-ic.kf-in .kf-sosyal { animation: kf-pop .34s steps(3, end) backwards; animation-delay: calc(var(--i) * 110ms); }
.motion .kf-kapanis-ic.kf-in .kf-kullanici { animation: kf-kes .3s steps(3, end) backwards .4s; }
.motion .kf-kapanis-ic.kf-in .kf-slogan { animation: kf-kes .4s steps(4, end) backwards .5s; }

/* ---- 10 Künye: kısa; kaynaklar açılır ---- */
.kf-kunye { padding: 6svh 0 8svh; background: #0e0c0d; }
.kf-kunye-ic { display: grid; gap: 2.2rem; width: min(1360px, 100% - 2 * var(--kenar)); margin-inline: auto; }
.kf-kd { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px 36px; margin: 0; font: 400 15px/1.45 var(--f-metin); }
.kf-kd dt { margin-bottom: 4px; font: 700 12px/1 var(--f-baslik); letter-spacing: .16em; text-transform: uppercase; color: var(--c-sari); }
.kf-kd dd { margin: 0; }
.kf-renkler { display: flex; flex-wrap: wrap; gap: 8px; }
.kf-sw { width: 30px; height: 30px; padding: 0; border: 1px solid rgba(255, 255, 255, .35); border-radius: 0; background: var(--c); cursor: pointer; transform: skewX(-10deg); transition: transform .2s var(--yum); }
.kf-sw:hover, .kf-sw:focus-visible { transform: skewX(-10deg) translate3d(0, -4px, 0); }
.kf-kaynaklar summary { display: inline-block; cursor: pointer; font: 700 13px/1 var(--f-baslik); letter-spacing: .14em; text-transform: uppercase; color: var(--soluk); }
.kf-kaynaklar ul { display: grid; gap: .7em; max-width: 56em; margin: 1.2em 0 0; padding-left: 1.1em; list-style: disc; font: 300 14px/1.5 var(--f-metin); color: var(--soluk); }

/* ---- dar ekran ---- */
@media (max-width: 900px) {
  .kf-kapak-st { height: 100svh; }
  .kf-kapak-gorsel img { object-position: 46% 24%; }
  .kf-kapak-baslik { font-size: clamp(24px, 7.4vw, 40px); }
  .kf-kapak-etiket { gap: 12vw; }
  .kf-aciklama { padding: 14svh 0 9svh; }
  .kf-ac-ic { grid-template-columns: minmax(0, 1fr); gap: 7vh; }
  .kf-ac-logo { width: min(78vw, 46svh); }
  .kf-liste { min-height: 0; padding: 12svh 12px; }
  .kf-seri { min-height: 0; padding: 11svh 0 6svh; }
  .kf-seri-ic { grid-template-columns: minmax(0, 1fr); padding-right: 0; gap: 4vh; }
  .kf-buyuk img { border-radius: 0; }
  .kf-mozaik { width: 100%; }
  .kf-bolum-izgara { grid-template-columns: repeat(2, 1fr); }
  .kf-slogan { text-align: left; max-width: none; }
  .kf-lb-img { max-height: 76svh; }
  .kf-lb-onceki { left: 8px; } .kf-lb-sonraki { right: 8px; }
}
@media (max-width: 520px) {
  .kf-bolum-izgara { grid-template-columns: minmax(0, 1fr); }
  .kf-kapak-etiket { gap: 9vw; }
  .kf-lk { border-width: 1.2px; }
}
