/*
Theme Name: ensbworks Space
Theme URI: https://ensbworks.com/
Author: ensbworks
Description: Siyah, buzlu cam (glassmorphism) stilinde tek sayfa portfolyo. Parçacıklardan birleşip dönen logo, ışıklı kürelerle arka plan; ardından dikey bir arşiv çarkında sıralanan, kaydırdıkça tık sesiyle dönen ve tıklanınca açılan ekran boyutunda cam klasörler.
Version: 1.8.1
Requires at least: 6.3
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: ensb
*/

:root {
	--bg: #000;
	--ink: #f3f3f1;
	--muted: #8b8b88;
	--line: rgba(255, 255, 255, .11);
	--panel: #0a0a0a;
	--a1: #adfe36;
	--a2: #f2ffe0;
	/* arka plan ışıkları ve buzlu cam */
	--g1: #b9a6ff;
	--g2: #ff9e7a;
	--glass: rgba(255, 255, 255, .06);
	--glass-hi: rgba(255, 255, 255, .16);
	--glass-line: rgba(255, 255, 255, .14);
	--blur: 28px;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: auto; background: #000; }
html.ensb-lock { overflow: hidden; }

body {
	margin: 0;
	font-family: var(--font);
	color: var(--ink);
	background: transparent; /* siyah zemin html'de; ışıklı küreler gövdenin arkasında görünsün */
	-webkit-font-smoothing: antialiased;
	line-height: 1.6;
}

a { color: var(--a1); }
img { max-width: 100%; height: auto; }
::selection { background: var(--a1); color: #000; }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

#ensb-sky {
	position: fixed; inset: 0; width: 100%; height: 100%;
	z-index: -1; pointer-events: none;
}

/* Arka plan: kenarları ışıkla parlayan iki karanlık küre */
.ensb-aura {
	--D: min(96vw, 118vh);
	position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
	background: radial-gradient(90% 70% at 50% 50%, #0c0a14 0%, #040306 62%, #000 100%);
}
.orb {
	position: absolute; left: 50%; width: var(--D); height: var(--D);
	margin-left: calc(var(--D) / -2); border-radius: 50%;
	background: radial-gradient(circle at 50% 50%, #050409 58%, #0b0816 100%);
	will-change: transform;
}
.orb::after {
	/* ince ışık çizgisi */
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	border: 1.5px solid color-mix(in srgb, var(--g1) 85%, #fff);
}
.orb-top {
	top: calc(34vh - var(--D));
	transform: translateY(var(--o1y, 0px)) rotate(var(--o1r, 0deg));
	box-shadow:
		inset 0 -22px 46px -16px color-mix(in srgb, var(--g1) 95%, #fff),
		inset 0 -70px 110px -50px color-mix(in srgb, var(--g1) 32%, transparent),
		0 10px 40px -8px color-mix(in srgb, var(--g1) 60%, transparent),
		0 40px 160px -20px color-mix(in srgb, var(--g1) 40%, transparent);
}
/* açılışta üstteki küre yukarıdan, alttaki aşağıdan gelip yerine oturur */
.orb-top { animation: ensb-orb-top 2.8s .15s cubic-bezier(.16, .84, .24, 1) both; }
.orb-bot { animation: ensb-orb-bot 2.8s .15s cubic-bezier(.16, .84, .24, 1) both; }
.aura-arc { animation: ensb-fade 1.6s 2.2s both; opacity: 0; }
@keyframes ensb-orb-top { from { translate: 0 -75vh; opacity: 0; } 30% { opacity: 1; } to { translate: 0 0; } }
@keyframes ensb-orb-bot { from { translate: 0 75vh; opacity: 0; } 30% { opacity: 1; } to { translate: 0 0; } }
.orb-top::after { -webkit-mask: linear-gradient(0deg, #000 2%, transparent 34%); mask: linear-gradient(0deg, #000 2%, transparent 34%); }
.orb-bot {
	top: 62vh;
	transform: translateY(var(--o2y, 0px)) rotate(var(--o2r, 0deg));
	box-shadow:
		inset 0 22px 46px -16px color-mix(in srgb, var(--g1) 80%, #8a5cff),
		inset 60px 40px 90px -60px color-mix(in srgb, var(--g2) 50%, transparent),
		inset 0 70px 110px -50px color-mix(in srgb, #8a5cff 30%, transparent),
		0 -10px 40px -8px color-mix(in srgb, #8a5cff 55%, transparent),
		0 -40px 160px -20px color-mix(in srgb, #8a5cff 35%, transparent);
}
.orb-bot::after {
	border-color: color-mix(in srgb, var(--g1) 60%, var(--g2));
	-webkit-mask: linear-gradient(180deg, #000 2%, transparent 30%); mask: linear-gradient(180deg, #000 2%, transparent 30%);
}
/* iki küre arasında kesişen soluk ışık yayları */
.aura-arc {
	position: absolute; top: 50%; width: calc(var(--D) * 1.25); height: calc(var(--D) * 1.25);
	margin-top: calc(var(--D) * -.625); border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--g1) 22%, transparent);
	filter: blur(1px);
}
.aura-arc.l { right: 50%; margin-right: calc(var(--D) * -.34); }
.aura-arc.r { left: 50%; margin-left: calc(var(--D) * -.34); }

/* ---------- Başlık ---------- */
.site-head {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px clamp(16px, 4vw, 48px);
	background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
}
/* yönetici olarak girişliyken WordPress çubuğu menünün üstünü kapatmasın */
.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-head { top: 46px; } }
.brand { display: flex; align-items: center; color: var(--ink); text-decoration: none; font-weight: 700; }
.brand img { height: 36px; width: auto; display: block; }
.nav-list { display: flex; gap: clamp(14px, 3vw, 32px); list-style: none; margin: 0; padding: 0; }
.nav-list a {
	color: var(--muted); text-decoration: none; font-size: 13px;
	letter-spacing: .12em; text-transform: uppercase; transition: color .2s;
}
.nav-list a:hover, .nav-list .current-menu-item a { color: var(--a1); }

/* ---------- Açılış ---------- */
.hero {
	position: relative; height: 100vh; height: 100svh; min-height: 520px;
	display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
	padding-bottom: 7vh; overflow: hidden;
}
#ensb-logo { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.hero-tag {
	position: relative; margin: 0 0 24px; color: var(--muted);
	font-size: clamp(14px, 1.8vw, 19px); letter-spacing: .24em;
	text-align: center; padding: 0 16px;
	opacity: 0; animation: ensb-fade 1.2s 2.6s forwards;
}
.scroll-cue {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px;
	color: var(--muted); text-decoration: none; font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
	opacity: 0; animation: ensb-fade 1s 3s forwards;
}
.scroll-cue i {
	width: 1px; height: 44px; background: linear-gradient(var(--a1), transparent);
	animation: ensb-drip 2s infinite; transform-origin: top;
}
@keyframes ensb-fade { to { opacity: 1; } }
@keyframes ensb-drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Dikey arşiv çarkı ---------- */
.works { position: relative; }
.works.is-ready .works-fallback { display: none; }
.works-fallback { max-width: 820px; margin: 0 auto; padding: 80px 16px; }

.wheel-sticky {
	position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
}

.wheel-stage {
	position: absolute; left: 50%; top: var(--cy, 50%); width: 0; height: 0; z-index: 2;
}
/* 3B görünüm her yuvanın kendi perspective() dönüşümünden gelir (wheel.js);
   preserve-3d kullanılmaz çünkü içinde backdrop-filter çizilmiyor */
.slot {
	position: absolute; left: 0; top: 0;
	/* will-change yalnızca dönerken (aşağıda): kalıcı olursa tarayıcı katmanı küçükken
	   çizip ortada büyütür ve fotoğraf yumuşar */
}
.wheel-stage.is-moving .slot { will-change: transform; } /* opacity eklenmez: cam bulanıklığını keser */
/* Dokunmatik: katmanlar sabit kalır (her harekette açılıp kapanmak Safari'de takılma yapıyordu);
   klasörlere tarayıcının kendi kaydırma tutunmasıyla oturulur */
.works.is-touch .slot { will-change: transform; }
html.ensb-snap { scroll-snap-type: y proximity; }
.wheel-snap { position: absolute; left: 0; width: 1px; height: 1px; scroll-snap-align: start; pointer-events: none; }
/* komşular kararır; filtre klasör parçalarında, böylece 3B açılma bozulmaz */
/* komşular kararır: her karede filtre yerine yalnızca bir örtünün saydamlığı değişir (ucuz) */
.wf-tab::after, .wf-back::after, .wd-body::after {
	content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; pointer-events: none;
	background: #000; opacity: calc(var(--dim, 0) * .55);
}

/* Buzlu cam yüzeyi: klasör, ayraç ve panelde ortak */
.wf-tab, .wf-back, .wd-body {
	background:
		radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .10), transparent 55%),
		linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025) 45%, rgba(255, 255, 255, .055));
	-webkit-backdrop-filter: blur(var(--blur)) saturate(150%); backdrop-filter: blur(var(--blur)) saturate(150%);
	border: 1px solid var(--glass-line);
	box-shadow: inset 0 1px 0 var(--glass-hi), inset 0 0 40px rgba(255, 255, 255, .02), 0 30px 80px rgba(0, 0, 0, .45);
}

/* Sol kenarda görünen çark yayı */
.wheel-rim {
	position: absolute; top: var(--cy, 50%); left: var(--rimX, 60px); z-index: 1;
	width: calc(var(--rr, 900px) * 2); height: calc(var(--rr, 900px) * 2);
	margin-top: calc(var(--rr, 900px) * -1); margin-left: calc(var(--rr, 900px) * -2);
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .3);
	pointer-events: none;
	will-change: transform; /* büyük çizgili halka: döndükçe yeniden boyanmasın */
}
.wheel-rim-ticks, .wheel-rim-inner { position: absolute; border-radius: 50%; }
.wheel-rim-ticks {
	inset: 6px;
	background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .5) 0 .12deg, transparent .12deg 1.2deg);
	-webkit-mask: radial-gradient(closest-side, transparent calc(100% - 16px), #000 calc(100% - 15px));
	mask: radial-gradient(closest-side, transparent calc(100% - 16px), #000 calc(100% - 15px));
}
.wheel-rim-inner { inset: 40px; border: 1px dashed rgba(255, 255, 255, .1); }
.wheel-mark {
	position: absolute; top: var(--cy, 50%); left: var(--rimX, 60px); z-index: 3;
	width: 26px; height: 2px; margin-top: -1px;
	background: var(--a1); box-shadow: 0 0 16px var(--a1);
	pointer-events: none;
}

/* Klasör: sekme (proje adı) + gövde (fotoğraflar) + ön cep */
.wf {
	--tab: clamp(50px, 6.5vh, 64px);
	position: relative; display: block; width: 100%; height: 100%;
	color: inherit; text-decoration: none; cursor: pointer;
}
.wf:focus-visible { outline: 2px solid var(--a1); outline-offset: 8px; border-radius: 14px; }
.wf-tab {
	position: absolute; left: 0; top: 0; height: var(--tab);
	max-width: calc(100% - 60px); padding: 0 clamp(16px, 2vw, 28px);
	display: flex; flex-direction: column; justify-content: center; gap: 2px;
	border-radius: 20px 20px 0 0; border-bottom: 0;
	box-shadow: inset 0 1px 0 var(--glass-hi);
}
.wf-kicker { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-title {
	margin: 0; font-size: clamp(15px, 1.5vw, 21px); line-height: 1.2; font-weight: 600; letter-spacing: -.01em;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wf-back {
	position: absolute; left: 0; right: 0; bottom: 0; top: var(--tab);
	border-radius: 0 28px 28px 28px;
	perspective: 1200px; /* ön cep açılırken */
	--strip: clamp(54px, 12%, 92px); /* alttaki cam şeridin yüksekliği */
}

/* Fotoğraf: klasörün içindeki tek büyük kâğıt */
.wf-papers {
	position: absolute; left: 2.2%; right: 2.2%; top: 3%;
	bottom: calc(var(--strip) + 12px); /* fotoğraf alttaki şeridin üstünde biter */
	display: grid;
	transform: translateZ(1px);
	transition: transform .65s cubic-bezier(.2, .8, .2, 1);
}
.wf-paper {
	border-radius: 16px; overflow: hidden; min-height: 0;
	background: rgba(255, 255, 255, .04) center / cover no-repeat;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 14px 40px rgba(0, 0, 0, .4);
	transition: transform .65s cubic-bezier(.2, .8, .2, 1), filter .5s;
}
.wf-paper img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	opacity: 0; transition: opacity .35s ease; /* açılması bitince yumuşakça belirir */
}
.wf-paper img.is-in { opacity: 1; }
.wf-paper { position: relative; }
.wf-paper::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); pointer-events: none; }

/* Ön cep: sadece alt şerit, fotoğrafların çoğu görünür */
.wf-front {
	position: absolute; left: 0; right: 0; bottom: 0; height: var(--strip);
	padding: 0 clamp(16px, 2vw, 28px);
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	border-radius: 0 0 28px 28px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .04));
	border-top: 1px solid rgba(255, 255, 255, .22);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
	-webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
	transform-origin: 50% 100%; transform: translateZ(3px);
	transition: transform .65s cubic-bezier(.2, .8, .2, 1);
}
.wf-meta { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 13px; color: rgba(255, 255, 255, .62); min-width: 0; }
.wf-open {
	flex: none; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
	padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px;
	background: rgba(255, 255, 255, .06); transition: border-color .3s, color .3s, background .3s;
}

.slot.is-center .wf-back { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 40px rgba(255, 255, 255, .03), 0 30px 90px rgba(0, 0, 0, .55), 0 0 60px -10px color-mix(in srgb, var(--g1) 30%, transparent); }
.slot.is-center .wf-kicker { color: var(--a1); }
.slot.is-center .wf:hover .wf-open { border-color: var(--a1); color: var(--a1); background: rgba(173, 254, 54, .08); }
.slot.is-center .wf:hover .wf-papers { transform: translateY(-1.5%) translateZ(1px); }
.wf.is-open .wf-papers { transform: translateY(-5%) translateZ(1px); }
.wf.is-open .wf-paper { transform: translateY(-3%) scale(1.02); }
.wf.is-open .wf-front { transform: translateZ(3px) rotateX(-80deg); }

/* Konu ayracı: klasörle aynı boyda arşiv bölme kartı */
.wd {
	--tab: clamp(50px, 6.5vh, 64px);
	position: relative; display: block; width: 100%; height: 100%;
	padding: 0; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; text-align: left;
}
.wd:focus-visible { outline: 2px solid var(--a1); outline-offset: 8px; border-radius: 14px; }
.wd-body {
	position: absolute; left: 0; right: 0; bottom: 0; top: calc(var(--tab) * .5);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center;
	padding: 80px clamp(20px, 4vw, 56px);
	border-radius: 32px;
}
.wd-c { position: absolute; font-size: 13px; font-weight: 500; letter-spacing: .02em; color: rgba(255, 255, 255, .85); }
.wd-c.tl { left: clamp(20px, 3vw, 40px); top: clamp(20px, 3vw, 36px); }
.wd-c.tr { right: clamp(20px, 3vw, 40px); top: clamp(20px, 3vw, 36px); }
.wd-c.bl { left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 36px); }
.wd-c.br { right: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 36px); }
.wd-name { font-size: clamp(40px, 7vw, 112px); line-height: .98; font-weight: 500; letter-spacing: -.035em; max-width: 14ch; }
.wd-count {
	padding: 6px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .6);
	background: rgba(255, 255, 255, .05); font-size: 14px; letter-spacing: .02em;
}
.wd-desc { max-width: 52ch; color: rgba(255, 255, 255, .6); font-size: 15px; }
.slot.is-center .wd-count { border-color: var(--a1); color: var(--a1); }

/* Sağ menü ve sayaç */
.wheel-rail {
	position: absolute; right: clamp(16px, 2.4vw, 40px); top: 50%; transform: translateY(-50%); z-index: 5;
	display: flex; flex-direction: column; align-items: flex-end; gap: 6px; max-width: 170px;
}
.wheel-rail button {
	display: flex; align-items: center; gap: 10px; padding: 6px 0; border: 0; background: none; cursor: pointer;
	color: var(--muted); font: inherit; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-align: right;
	transition: color .3s;
}
.wheel-rail button::after { content: ""; flex: none; width: 14px; height: 1px; background: currentColor; transition: width .3s, background .3s; }
.wheel-rail button:hover { color: var(--ink); }
.wheel-rail button.is-active { color: var(--a1); }
.wheel-rail button.is-active::after { width: 32px; background: var(--a1); }
.wheel-rail button:focus-visible { outline: 1px solid var(--a1); outline-offset: 4px; }

.wheel-count {
	position: absolute; left: clamp(16px, 2.4vw, 40px); bottom: 22px; z-index: 5;
	font-size: 12px; letter-spacing: .3em; color: var(--muted);
}
.wheel-count b { color: var(--ink); font-size: 22px; letter-spacing: 0; margin-right: 6px; }
.wheel-count span { margin-left: 14px; color: var(--a1); letter-spacing: .2em; text-transform: uppercase; font-size: 11px; }

/* Tik sesi düğmesi */
.wheel-sound { right: clamp(16px, 2.4vw, 40px); bottom: 14px; z-index: 5; width: 42px; height: 42px; }
.wheel-sound svg { width: 18px; height: 18px; }
.wheel-sound .w { transition: opacity .2s; }
.wheel-sound.is-off .w { opacity: 0; }
.wheel-sound .x { opacity: 0; transition: opacity .2s; }
.wheel-sound.is-off .x { opacity: 1; }
/* tarayıcı ilk dokunuşa kadar sesi kilitli tutar: düğme hafifçe nabız atsın */
.wheel-sound.is-locked { animation: ensb-pulse 2.4s infinite; }
@keyframes ensb-pulse { 0%, 100% { box-shadow: inset 0 1px 0 var(--glass-hi), 0 0 0 0 rgba(173, 254, 54, .35); } 50% { box-shadow: inset 0 1px 0 var(--glass-hi), 0 0 0 8px rgba(173, 254, 54, 0); } }

@media (max-width: 1099px) {
	.wheel-rail { display: none; }
}
@media (max-width: 760px) {
	.wf { --tab: 64px; }
	.wf-tab { max-width: 88%; padding: 0 14px; }
	.wf-title { font-size: 15px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
	.wf-kicker { font-size: 9px; }
	.wf-meta { font-size: 11px; gap: 2px 12px; }
	.wf-open { font-size: 10px; padding: 6px 10px; }
	.wd-name { font-size: 44px; }
	.wd-c { font-size: 11px; }
	.wheel-count { bottom: 10px; }
	:root { --blur: 16px; }
	/* telefonda çarkta canlı bulanıklık yok: her karede tam ekran yeniden hesaplanması kasmaya yol açıyordu;
	   yerine aynı tonda yarı saydam koyu cam */
	.wheel-stage :is(.wf-tab, .wf-back, .wd-body, .wf-front) { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgba(20, 17, 32, .82); }
	.wheel-stage .wf-back, .slot.is-center .wf-back { box-shadow: inset 0 1px 0 var(--glass-hi); }
}

/* ---------- Detay paneli ---------- */
.wm {
	position: fixed; inset: 0; z-index: 100;
	display: flex; align-items: center; justify-content: center;
	background: rgba(4, 3, 8, .45);
	-webkit-backdrop-filter: blur(30px) saturate(140%); backdrop-filter: blur(30px) saturate(140%);
	opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
}
.wm.is-visible { opacity: 1; visibility: visible; transition: opacity .35s; }
.wm-panel {
	position: relative; width: min(1120px, calc(100vw - 32px)); height: min(92vh, 980px);
	background:
		radial-gradient(100% 60% at 0% 0%, rgba(255, 255, 255, .08), transparent 60%),
		linear-gradient(160deg, rgba(30, 26, 44, .72), rgba(10, 9, 16, .8));
	border: 1px solid var(--glass-line); border-radius: 28px; overflow: hidden;
	box-shadow: inset 0 1px 0 var(--glass-hi), 0 40px 120px rgba(0, 0, 0, .6);
	transform: translateY(40px) scale(.94); transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.wm.is-visible .wm-panel { transform: none; }
.wm-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.wm-cover { margin: 0; aspect-ratio: 16 / 8; background: rgba(255, 255, 255, .03); overflow: hidden; }
.wm-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wm-body { padding: clamp(22px, 4vw, 52px); display: grid; gap: 28px; }
.wm-cat { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--a1); }
.wm-title { margin: 8px 0 0; font-size: clamp(28px, 4.6vw, 54px); line-height: 1.05; letter-spacing: -.02em; }
.wm-meta { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0; }
.wm-meta div { min-width: 120px; }
.wm-meta dt { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.wm-meta dd { margin: 4px 0 0; font-size: 16px; }
.wm-excerpt { margin: 0; font-size: clamp(16px, 1.6vw, 19px); color: #c8c8c4; max-width: 70ch; }
.wm-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.wm-gallery button { padding: 0; border: 1px solid var(--glass-line); border-radius: 14px; overflow: hidden; cursor: zoom-in; background: rgba(255, 255, 255, .04); aspect-ratio: 4 / 3; }
.wm-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.wm-gallery button:hover img { transform: scale(1.05); }
.wm-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
	display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px;
	border: 1px solid var(--a1); background: var(--a1); color: #000; text-decoration: none;
	font-size: 14px; font-weight: 500; letter-spacing: .04em;
	transition: transform .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(173, 254, 54, .25); }
.btn.ghost { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .05); color: var(--ink); }

.wm-close, .wm-arrow, .wheel-sound {
	position: absolute; z-index: 3; width: 46px; height: 46px; border-radius: 50%;
	display: grid; place-items: center; cursor: pointer;
	border: 1px solid var(--glass-line); color: var(--ink); font-size: 20px;
	background: rgba(255, 255, 255, .08);
	-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
	box-shadow: inset 0 1px 0 var(--glass-hi);
	transition: border-color .2s, color .2s;
}
.wheel-sound:hover { border-color: var(--a1); color: var(--a1); }
.wheel-sound:focus-visible { outline: 2px solid var(--a1); outline-offset: 3px; }
.wm-close:hover, .wm-arrow:hover { border-color: var(--a1); color: var(--a1); }
.wm-arrow:disabled { opacity: .3; cursor: default; }
.wm-close { top: 16px; right: 16px; }
.wm-arrow { bottom: 16px; }
.wm-arrow.prev { right: 72px; }
.wm-arrow.next { right: 16px; }

.wm-lightbox {
	position: absolute; inset: 0; z-index: 5; display: none; align-items: center; justify-content: center;
	background: rgba(0, 0, 0, .95); cursor: zoom-out; padding: 24px;
}
.wm-lightbox.is-on { display: flex; }
.wm-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }

/* WordPress içerik stilleri (panel ve tekil sayfalar) */
.entry { font-size: 17px; color: #d0d0cc; }
.entry > * { max-width: 100%; }
.entry img, .entry video, .entry iframe { border-radius: 8px; }
.entry h2, .entry h3 { color: var(--ink); line-height: 1.2; }
.entry figure { margin: 24px 0; }
.entry .wp-block-gallery { gap: 12px; }

/* ---------- Hakkımda / İletişim ---------- */
.about, .contact {
	position: relative; max-width: 860px; margin: 0 auto; padding: clamp(90px, 14vh, 160px) 16px;
	text-align: center;
}
.about h2, .contact h2 { font-size: clamp(30px, 5vw, 56px); margin: 0 0 24px; letter-spacing: -.02em; }
.about p { font-size: clamp(17px, 2vw, 22px); color: #c8c8c4; margin: 0; }
.contact-mail { font-size: clamp(22px, 4.4vw, 48px); color: var(--a1); text-decoration: none; }
.contact-mail:hover { text-decoration: underline; text-underline-offset: 6px; }
.contact-form { margin-top: 40px; text-align: left; }

.site-foot {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
	padding: 28px clamp(16px, 4vw, 48px); border-top: 1px solid var(--line);
	color: var(--muted); font-size: 13px;
}
.socials { display: flex; gap: 20px; }
.socials a { color: var(--muted); text-decoration: none; }
.socials a:hover { color: var(--a1); }

/* Tekil sayfalar */
.page-main { padding: 110px clamp(16px, 4vw, 48px) 60px; }
.entry-wrap { max-width: 1100px; margin: 0 auto 60px; }
.entry-title { font-size: clamp(30px, 5vw, 60px); line-height: 1.05; letter-spacing: -.02em; }
.entry-title a { color: var(--ink); text-decoration: none; }
/* Elementor ile yapılmış sayfalar: tam genişlik, sabit başlığın altından başlar */
.page-main.is-elementor { padding: 84px 0 0; }

/* ---------- Proje detay sayfası ---------- */
.project {
	--gut: clamp(20px, 5vw, 72px);
	max-width: 1320px; margin: 0 auto;
	padding: clamp(96px, 14vh, 140px) var(--gut) clamp(60px, 10vh, 110px);
}
.project-head {
	position: relative; padding: clamp(24px, 4vw, 48px);
	border-radius: 28px; border: 1px solid var(--glass-line);
	background:
		radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .10), transparent 55%),
		linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02) 50%, rgba(255, 255, 255, .05));
	-webkit-backdrop-filter: blur(var(--blur)) saturate(150%); backdrop-filter: blur(var(--blur)) saturate(150%);
	box-shadow: inset 0 1px 0 var(--glass-hi), 0 30px 80px rgba(0, 0, 0, .4);
}
.project-crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.project-crumbs a { color: rgba(255, 255, 255, .6); text-decoration: none; transition: color .2s; }
.project-crumbs a:last-child { color: var(--a1); }
.project-crumbs a:hover { color: var(--ink); }
.project-crumbs span { color: rgba(255, 255, 255, .3); }
.project-kicker { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--a1); }
.ensb-page-head .project-title { margin-top: 14px; }
/* Elementor'da bir konteynere "ensb-glass" sınıfı verilirse aynı buzlu cam yüzey */
.ensb-glass {
	border-radius: 28px; border: 1px solid var(--glass-line);
	background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02) 50%, rgba(255, 255, 255, .05));
	-webkit-backdrop-filter: blur(var(--blur)) saturate(150%); backdrop-filter: blur(var(--blur)) saturate(150%);
	box-shadow: inset 0 1px 0 var(--glass-hi);
}

/* İletişim formu (Contact Form 7): cam alanlar, yeşil düğme */
.wpcf7 form { display: grid; gap: 16px; }
.wpcf7 p { margin: 0; }
.wpcf7 label { display: grid; gap: 8px; font-size: 13px; letter-spacing: .04em; color: rgba(255, 255, 255, .7); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--glass-line);
	background: rgba(255, 255, 255, .05); color: var(--ink); font: inherit; font-size: 16px;
	transition: border-color .2s, background .2s;
}
.wpcf7 textarea { min-height: 170px; resize: vertical; }
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: rgba(255, 255, 255, .4); }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--a1); background: rgba(255, 255, 255, .08); }
.wpcf7 input[type="submit"] {
	justify-self: start; padding: 14px 28px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--a1); color: #000; font: inherit; font-weight: 600; letter-spacing: .03em;
	box-shadow: 0 8px 30px rgba(173, 254, 54, .2); transition: transform .25s, box-shadow .25s;
}
.wpcf7 input[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(173, 254, 54, .32); }
.wpcf7 .wpcf7-not-valid-tip { color: #ff9b9b; font-size: 13px; margin-top: 6px; }
.wpcf7 form .wpcf7-response-output { margin: 4px 0 0; padding: 12px 16px; border-radius: 14px; border-color: var(--glass-line); color: rgba(255, 255, 255, .85); }
.wpcf7-spinner { margin: 0 0 0 12px; }

.project-title { margin: 18px 0 0; font-size: clamp(30px, 5vw, 64px); line-height: 1.04; font-weight: 600; letter-spacing: -.03em; max-width: 22ch; }
.project-lead { margin: 18px 0 0; max-width: 62ch; color: rgba(255, 255, 255, .72); font-size: clamp(16px, 1.5vw, 19px); }
.project-meta { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--glass-line); }
.project-meta dt { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.project-meta dd { margin: 4px 0 0; font-size: 16px; }
.project-meta a { color: var(--a1); text-decoration: none; }

/* İçerik: Elementor bölümleri kenar boşluklu alanda; özel ayarlanmamış bileşenlere tema görünümü */
.project-body { margin-top: clamp(36px, 6vh, 64px); }
.project-body.is-elementor .e-con,
.project-body.is-elementor .elementor-section { --padding-left: 0px; --padding-right: 0px; }
.project-body .e-con-boxed > .e-con-inner { max-width: 100%; }
/* bileşen aralığı tek ritimde */
.project-body .elementor-element.elementor-widget { margin-block-start: 0 !important; }
.project-body .elementor-widget:not(:last-child) { margin-bottom: clamp(18px, 3vh, 32px); }

.project-body .elementor-widget-heading .elementor-heading-title { color: var(--ink); font-family: var(--font); letter-spacing: -.015em; line-height: 1.2; }
.project-body .elementor-widget-heading:first-child h2.elementor-heading-title,
.project-body .elementor-widget-heading:first-child h1.elementor-heading-title { font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; max-width: 40ch; }
.project-body .elementor-widget-text-editor { color: rgba(255, 255, 255, .72); font-size: 17px; line-height: 1.7; max-width: 78ch; }
.project-body .elementor-widget-text-editor p { margin: 0 0 1em; }

.project-body .elementor-button {
	border-radius: 999px; padding: 13px 24px; font-family: var(--font); font-weight: 500;
	background: var(--a1); color: #000; box-shadow: 0 8px 30px rgba(173, 254, 54, .18);
	transition: transform .25s, box-shadow .25s;
}
.project-body .elementor-button:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(173, 254, 54, .3); color: #000; }

/* galeri, görsel ve video: yuvarlak köşe, ince cam çerçeve */
.project-body .gallery { margin: 0 -8px !important; }
.project-body .gallery-item { padding: 8px !important; }
.project-body .gallery-item img,
.project-body .elementor-widget-image img,
.project-body .elementor-image-gallery img {
	width: 100%; border-radius: 18px; display: block;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 20px 50px rgba(0, 0, 0, .35);
}
.project-body .gallery-icon a { display: block; border-radius: 18px; overflow: hidden; }
.project-body .gallery-icon img { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.project-body .gallery-icon a:hover img { transform: scale(1.03); }
.project-body .elementor-widget-video .elementor-wrapper,
.project-body .elementor-widget-video .e-hosted-video { border-radius: 22px; overflow: hidden; border: 1px solid var(--glass-line); }

/* önceki / sonraki proje */
.project-nav {
	display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch;
	margin-top: clamp(56px, 10vh, 110px); padding-top: clamp(28px, 5vh, 44px); border-top: 1px solid var(--glass-line);
}
.project-nav-card {
	position: relative; display: flex; align-items: flex-end; min-height: 180px; overflow: hidden;
	border-radius: 22px; border: 1px solid var(--glass-line); color: var(--ink); text-decoration: none;
	background: rgba(255, 255, 255, .04);
}
.project-nav-card.is-empty { border-style: dashed; opacity: .35; }
.project-nav-card.next { justify-content: flex-end; text-align: right; }
.project-nav-img {
	position: absolute; inset: 0; background: center / cover no-repeat;
	filter: brightness(.45) saturate(1.05); transition: transform .7s cubic-bezier(.2, .8, .2, 1), filter .4s;
}
.project-nav-card:hover .project-nav-img { transform: scale(1.05); filter: brightness(.6); }
.project-nav-text {
	position: relative; display: grid; gap: 4px; margin: 14px; padding: 14px 18px; border-radius: 16px; max-width: calc(100% - 28px);
	background: rgba(10, 8, 18, .45); border: 1px solid var(--glass-line);
	-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.project-nav-text small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--a1); }
.project-nav-text b { font-weight: 600; font-size: 16px; line-height: 1.3; }
.project-back {
	grid-column: 1 / -1; justify-self: center; margin-top: 8px; padding: 12px 22px; border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .4); color: var(--ink); text-decoration: none;
	font-size: 12px; letter-spacing: .2em; text-transform: uppercase; transition: border-color .2s, color .2s;
}
.project-back:hover { border-color: var(--a1); color: var(--a1); }
@media (max-width: 640px) {
	.project-nav { grid-template-columns: 1fr; }
	.project-nav-card.is-empty { display: none; }
}

/* ---------- Mobil ---------- */
@media (max-width: 760px) {
	.nav-list a { font-size: 11px; letter-spacing: .06em; }
	.brand img { height: 30px; }
	.wm-panel { height: calc(100vh - 24px); height: calc(100svh - 24px); border-radius: 14px; }
	.wm-cover { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
	.hero-tag, .scroll-cue { animation: none; opacity: 1; }
	.scroll-cue i { animation: none; }
	.wf-paper, .wf-front, .wm-panel { transition: none; }
	.wheel-sound.is-locked { animation: none; }
	.orb-top, .orb-bot, .aura-arc { animation: none; opacity: 1; }
	.wheel-head.is-swap { animation: none; }
}
