/*
Theme Name: monokromi
Theme URI: https://monokromi.com
Author: monokromi
Description: monokromi tasarım stüdyosu için siyah-beyaz portfolyo teması. Projeler, ana sayfa metinleri ve iletişim bilgileri WordPress panelinden yönetilir. Hareket azaltma tercihine saygı gösterir.
Version: 2.0.1
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: monokromi
*/

:root {
	--ink: #0e0e0e;
	--paper: #f4f4f2;
	--muted: #5e5e5a;
	--ph: #e2e2df;
	--ph-2: #d6d6d2;
	--dark-muted: #a8a8a3;
	--dark-line: #34342f;
	--pad: clamp(20px, 5vw, 72px);
	--gap-section: clamp(96px, 12vw, 176px);
	--sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
	--ease-io: cubic-bezier(0.7, 0, 0.2, 1);
	--ease-spring: cubic-bezier(0.3, 1.6, 0.5, 1);
	--header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* İnce kâğıt dokusu */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 90;
	pointer-events: none;
	opacity: 0.05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--ink); color: var(--paper); }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); }
a:hover { color: var(--muted); }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
p { margin: 0; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--ink); color: var(--paper); padding: 12px 18px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--paper); }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }

.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0.01em; }
.muted { color: var(--muted); }

.eyebrow {
	font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em;
	text-transform: uppercase; color: var(--muted);
}

/* ---------- Header ---------- */

.site-header-wrap {
	position: sticky; top: 0; z-index: 50;
	background: rgba(244, 244, 242, 0);
	transition: transform 0.5s var(--ease-io), background-color 0.4s ease, box-shadow 0.4s ease;
}
.site-header-wrap.is-scrolled {
	background: rgba(244, 244, 242, 0.95);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	backdrop-filter: blur(14px) saturate(1.2);
	box-shadow: 0 1px 0 rgba(14, 14, 14, 0.12);
}
.site-header-wrap.is-hidden { transform: translateY(-100%); }
.admin-bar .site-header-wrap { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header-wrap { top: 46px; } }

.site-header {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
	gap: 12px 24px; padding: 22px 0;
	transition: padding 0.4s var(--ease-out);
}
.is-scrolled .site-header { padding: 12px 0; }

.logo { display: inline-flex; color: var(--ink); padding: 4px 0; }
.logo:hover { color: var(--ink); }
.logo-svg { height: 44px; width: auto; display: block; transition: height 0.4s var(--ease-out); }
.is-scrolled .logo-svg { height: 36px; }
.custom-logo-link { display: inline-block; }
.custom-logo-link img { height: 44px; width: auto; }

/* Logodaki noktalar */
.dot { transform-box: fill-box; transform-origin: center; transition: transform 0.6s var(--ease-spring); }
.logo:hover .d1, .footer-mark:hover .d1 { transform: translateY(-14px); }
.logo:hover .d2, .footer-mark:hover .d2 { transform: translateY(12px) scale(0.8); transition-delay: 0.05s; }
.logo:hover .d3, .footer-mark:hover .d3 { transform: translateY(-20px) scale(1.1); transition-delay: 0.1s; }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; font-size: 15px; font-weight: 500; }
.site-nav .menu { display: flex; flex-wrap: wrap; gap: 0 28px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a {
	display: inline-block; padding: 12px 0; text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 0 1px no-repeat;
	transition: background-size 0.45s var(--ease-io);
}
.site-nav .menu a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { color: var(--ink); background-size: 100% 1px; }

/* ---------- Buttons & links ---------- */

.btn {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 22px; border-radius: 999px;
	font-size: 15px; font-weight: 500; text-decoration: none; line-height: 1;
	transition: color 0.45s var(--ease-io);
}
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	transform: translateY(102%); transition: transform 0.45s var(--ease-io);
}
.btn-outline { border: 1px solid var(--ink); color: var(--ink); }
.btn-outline::before { background: var(--ink); }
.btn-outline:hover { color: var(--paper); }
.btn-outline:hover::before { transform: none; }
.btn-solid { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.btn-solid::before { background: var(--paper); }
.btn-solid:hover { color: var(--ink); }
.btn-solid:hover::before { transform: none; }

.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; font-weight: 500; text-decoration: none; }
.link-arrow span { display: inline-block; transition: transform 0.4s var(--ease-out); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; }
.hero-inner {
	position: relative;
	min-height: min(calc(100svh - var(--header-h) - 200px), 860px);
	display: grid; grid-template-rows: 1fr auto; gap: 48px;
	padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(28px, 3vw, 40px);
}
.hero-copy { position: relative; display: flex; flex-direction: column; gap: 32px; align-self: center; }
@media (min-width: 761px) { .hero-copy { max-width: calc(100% - clamp(260px, 30vw, 480px) - 24px); } }

.hero-title {
	font-size: clamp(44px, 7vw, 120px); line-height: 1.04;
	letter-spacing: -0.035em; font-weight: 600; max-width: 11.5ch;
}

.split .w {
	display: inline-block; vertical-align: top;
	padding: 0.2em 0.12em 0.18em; margin: -0.2em -0.12em -0.18em;
}
.js:not(.is-settled) .split .w { overflow: hidden; }
.split .w > span { display: inline-block; }

.orb {
	position: absolute; z-index: -1;
	right: var(--pad); top: 50%;
	width: clamp(260px, 30vw, 480px); aspect-ratio: 1;
	translate: 0 -58%;
	pointer-events: none;
}
.orb-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: mk-spin 48s linear infinite; }
.orb-ring text { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; fill: var(--ink); }
.orb-dot {
	position: absolute; left: 50%; top: 50%;
	width: 52%; aspect-ratio: 1; border-radius: 50%; background: var(--ink);
	transform: translate(calc(-50% + var(--mx, 0) * 48px), calc(-50% + var(--my, 0) * 48px));
	transition: transform 0.9s var(--ease-out);
}
.orb-dot--small {
	width: 11%; left: 94%; top: 6%;
	transform: translate(calc(-50% + var(--mx, 0) * -90px), calc(-50% + var(--my, 0) * -90px));
	animation: mk-float 6s ease-in-out infinite;
}

@media (min-width: 761px) {
	/* Başlık siyah noktanın üzerinden geçerken tersine döner */
	.hero-title { color: var(--paper); mix-blend-mode: difference; }
}

.hero-row {
	position: relative; z-index: 2;
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px;
	border-top: 1px solid var(--ink); padding-top: 24px;
}

.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; max-width: 560px; }

.pill {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: 15px; font-weight: 500; border: 1px solid var(--ink);
	border-radius: 999px; padding: 12px 20px;
}
.pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); animation: mk-pulse 2.4s ease-in-out infinite; }
@media (min-width: 761px) { .hero-row .pill { display: none; } }

.scroll-cue { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--muted); padding: 10px 0; }
.scroll-cue-line { position: relative; width: 1px; height: 44px; background: rgba(14, 14, 14, 0.2); overflow: hidden; }
.scroll-cue-line::after {
	content: ""; position: absolute; left: -2px; top: 0; width: 5px; height: 5px; border-radius: 50%;
	background: var(--ink); animation: mk-drop 2.2s var(--ease-io) infinite;
}

/* Mobil menü: logodaki üç nokta düğme olur, açılınca tek noktada birleşir */
.nav-toggle { display: none; }
@media (max-width: 760px) {
	.site-header { flex-wrap: nowrap; }
	.logo, .custom-logo-link { position: relative; z-index: 2; }
	.nav-toggle {
		position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 12px;
		min-height: 44px; padding: 0 18px 0 16px; border: 1px solid var(--ink); border-radius: 999px;
		background: transparent; color: var(--ink); font: 500 14px/1 var(--sans); cursor: pointer;
	}
	.nav-toggle-dots { display: inline-flex; gap: 4px; }
	.nav-toggle-dots i { display: block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; transition: transform 0.5s var(--ease-spring); }
	.nav-open .nav-toggle-dots i:nth-child(1) { transform: translateX(11px); }
	.nav-open .nav-toggle-dots i:nth-child(3) { transform: translateX(-11px); }
	.nav-open .nav-toggle-dots i:nth-child(2) { transform: scale(1.7); }
	.site-nav {
		position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
		gap: 40px; padding: 120px var(--pad) 56px; background: var(--paper);
		opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0s linear 0.35s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; transition: opacity 0.35s ease; }
	.site-nav .menu { flex-direction: column; gap: 2px; font-size: clamp(36px, 11vw, 56px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
	.site-nav .menu a { padding: 6px 0; background-position: 0 calc(100% - 4px); background-size: 0 2px; }
	.site-nav .current-menu-item > a, .site-nav .current_page_item > a { background-size: 100% 2px; }
	.site-nav .menu li { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
	.nav-open .site-nav .menu li { opacity: 1; transform: none; }
	.nav-open .site-nav .menu li:nth-child(2) { transition-delay: 0.04s; }
	.nav-open .site-nav .menu li:nth-child(3) { transition-delay: 0.08s; }
	.nav-open .site-nav .menu li:nth-child(4) { transition-delay: 0.12s; }
	.nav-open .site-nav .menu li:nth-child(5) { transition-delay: 0.16s; }
	.nav-open .site-nav .menu li:nth-child(6) { transition-delay: 0.2s; }
	.nav-open .site-header-wrap { transform: none; background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
	.nav-open, .nav-open body { overflow: hidden; }
	.logo-svg { height: 36px; }
	.orb { display: none; }
	.hero-inner { min-height: auto; }
	.scroll-cue { display: none; }
}

/* ---------- Görsel büyütme ---------- */

.is-zoomable { cursor: zoom-in; }
.is-zoomable:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.lightbox {
	position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
	padding: 72px clamp(16px, 6vw, 96px); background: rgba(14, 14, 14, 0.95); color: var(--paper);
	visibility: hidden; opacity: 0; clip-path: circle(0% at 50% 50%);
	transition: opacity 0.3s ease, clip-path 0.7s var(--ease-out), visibility 0s linear 0.7s;
}
.lightbox.is-open { visibility: visible; opacity: 1; clip-path: circle(150% at 50% 50%); transition: opacity 0.3s ease, clip-path 0.7s var(--ease-out); }
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lightbox-figure img { max-width: 100%; max-height: calc(100svh - 170px); width: auto; height: auto; object-fit: contain; }
.lightbox-caption { font-family: var(--mono); font-size: 13px; color: var(--dark-muted); text-align: center; max-width: 70ch; }
.lightbox-btn {
	position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
	border: 1px solid rgba(244, 244, 242, 0.4); border-radius: 50%; background: transparent; color: var(--paper);
	font: 400 22px/1 var(--sans); cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.lightbox-btn:hover, .lightbox-btn:focus-visible { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.lightbox-close { top: 16px; right: 16px; font-size: 28px; }
.lightbox-prev { left: 16px; top: 50%; margin-top: -26px; }
.lightbox-next { right: 16px; top: 50%; margin-top: -26px; }
.lightbox-count { position: absolute; top: 32px; left: 24px; font-size: 13px; color: var(--dark-muted); }
.lightbox.is-single .lightbox-prev, .lightbox.is-single .lightbox-next, .lightbox.is-single .lightbox-count { display: none; }
.lightbox-open, .lightbox-open body { overflow: hidden; }
@media (max-width: 760px) {
	.lightbox { padding: 64px 8px 96px; }
	.lightbox-prev, .lightbox-next { top: auto; bottom: 20px; margin-top: 0; }
	.lightbox-prev { left: calc(50% - 64px); }
	.lightbox-next { right: calc(50% - 64px); }
}
@media (prefers-reduced-motion: reduce) { .lightbox, .lightbox.is-open { transition: none; clip-path: none; } }

/* ---------- Ana sayfa: seçili işler listesi ---------- */

.home-index { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(14, 14, 14, 0.16); }
.home-row {
	display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 300px) 140px 32px; align-items: baseline;
	gap: 24px; padding: clamp(24px, 2.4vw, 34px) 0; border-top: 1px solid rgba(14, 14, 14, 0.16);
	text-decoration: none; color: var(--ink); transition: opacity 0.4s ease;
}
.home-index:hover .home-row { opacity: 0.32; }
.home-index:hover .home-row:hover, .home-row:focus-visible { opacity: 1; }
.home-row-num, .home-row-meta, .home-row-year { color: var(--muted); }
.home-row-title { display: flex; flex-direction: column; gap: 2px; transition: transform 0.5s var(--ease-out); }
.home-row-title .t-main { font-size: clamp(26px, 2.9vw, 46px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 600; }
.home-row-title .t-sub { font-size: clamp(22px, 2.3vw, 36px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 300; }
.home-row:hover .home-row-title { transform: translateX(14px); }
.home-row-year { text-align: right; white-space: nowrap; }
.home-row-arrow { font-size: 22px; justify-self: end; transition: transform 0.4s var(--ease-out); }
.home-row:hover .home-row-arrow { transform: translateX(6px) rotate(-45deg); }
.home-row-thumb { display: none; }
.home-index-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; }
@media (max-width: 900px) {
	.home-row { grid-template-columns: 48px minmax(0, 1fr) auto; }
	.home-row-meta { grid-column: 2; }
	.home-row-year { grid-column: 3; grid-row: 1; }
	.home-row-arrow { display: none; }
}
@media (max-width: 760px), (hover: none) {
	.home-row { grid-template-columns: 104px minmax(0, 1fr); gap: 8px 16px; align-items: center; padding: 20px 0; }
	.home-row-thumb { display: block; grid-column: 1; grid-row: 1 / span 2; width: 104px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
	.home-row-num, .home-row-arrow, .home-row-year { display: none; }
	.home-row-title { grid-column: 2; }
	.home-row-title .t-main { font-size: 20px; }
	.home-row-title .t-sub { font-size: 19px; }
	.home-row-meta { grid-column: 2; font-size: 12px; }
	.home-index:hover .home-row { opacity: 1; }
	.home-row:hover .home-row-title { transform: none; }
}

/* ---------- Sections ---------- */

.section { padding: var(--gap-section) 0 0; }
.hero + .section { padding-top: clamp(16px, 2vw, 24px); }
.hero + .section .section-head { margin-bottom: clamp(28px, 3vw, 40px); }
.section:last-of-type { padding-bottom: var(--gap-section); }

.section-head {
	position: relative;
	display: grid; grid-template-columns: 64px 1fr auto; align-items: baseline;
	gap: 16px; padding-top: 20px; margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
	background: currentColor; transform-origin: left;
}
.section-label { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Project cards ---------- */

.grid-work {
	counter-reset: work;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr));
	gap: clamp(56px, 7vw, 96px) clamp(24px, 3vw, 48px);
	align-items: start;
}
@media (min-width: 1100px) {
	.grid-work--stagger > .card:nth-child(even) { margin-top: clamp(96px, 12vw, 200px); }
}

.card { counter-increment: work; display: flex; flex-direction: column; gap: 20px; text-decoration: none; }
.card:hover { color: var(--ink); }
.card-media {
	position: relative; aspect-ratio: 4 / 3; background: var(--ph); overflow: hidden;
	display: flex; align-items: center; justify-content: center;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter 0.6s ease; }
.card:hover .card-media img { transform: scale(1.04); }

.card-meta { display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; align-items: baseline; }
.card-index::before { content: counter(work, decimal-leading-zero); }
.card-body { display: flex; flex-direction: column; gap: 8px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card-head .mono { white-space: nowrap; }
.card-title { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.02em; }
.card-title .t-main {
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size 0.6s var(--ease-io);
}
.card:hover .card-title .t-main { background-size: 100% 1px; }
.card-title .t-sub { display: block; font-weight: 300; letter-spacing: -0.01em; margin-top: 2px; }

.ph { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* ---------- Services (koyu bant) ---------- */

.band-dark {
	margin-top: var(--gap-section);
	background: var(--ink); color: var(--paper);
	padding: clamp(72px, 9vw, 128px) 0;
}
.band-dark .muted, .band-dark .section-head .mono { color: var(--dark-muted); }

.services { list-style: none; margin: 0; padding: 0; }
.service {
	position: relative;
	display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px 16px; align-items: baseline;
	padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid var(--dark-line);
}
.service:last-child { border-bottom: 1px solid var(--dark-line); }
.service-num { color: var(--dark-muted); }
.service-title {
	display: flex; align-items: center; gap: 0;
	font-size: clamp(26px, 3.4vw, 52px); letter-spacing: -0.025em; line-height: 1.12; font-weight: 500;
	transition: gap 0.5s var(--ease-out);
}
.service-title::before {
	content: ""; flex: none; width: 0; height: 0.36em; border-radius: 50%; background: currentColor;
	transition: width 0.5s var(--ease-spring);
}
.service:hover .service-title { gap: 0.3em; }
.service:hover .service-title::before { width: 0.36em; }
.service-text { color: var(--dark-muted); font-size: 17px; max-width: 420px; }

@media (max-width: 760px) {
	.service { grid-template-columns: 40px 1fr; }
	.service-text { grid-column: 2; }
	.section-head { grid-template-columns: 40px 1fr; }
	.section-head .link-arrow { grid-column: 2; }
}

/* ---------- Clients (kayan bant) ---------- */

.marquee {
	position: relative; overflow: hidden;
	border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
	padding: clamp(20px, 2.4vw, 32px) 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: mk-marquee var(--dur, 60s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
	display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px);
	font-size: clamp(34px, 5vw, 76px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; white-space: nowrap;
}
.m-dot { flex: none; width: 0.26em; height: 0.26em; border-radius: 50%; background: currentColor; }

/* ---------- Studio ---------- */

.studio { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .studio { grid-template-columns: 1fr; } }
/* Stüdyo görseli yoksa: solda büyük cümle, sağda metin */
.studio--text { grid-template-columns: 1fr; }
.studio--text .studio-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(40px, 5vw, 80px); align-items: start; }
.studio--text .studio-statement { grid-row: 1 / span 3; max-width: 14ch; }
@media (max-width: 900px) {
	.studio--text .studio-body { grid-template-columns: 1fr; }
	.studio--text .studio-statement { grid-row: auto; }
}
.studio-media {
	position: relative; width: 100%; aspect-ratio: 4 / 5;
	background: var(--ph-2); overflow: hidden;
	display: flex; align-items: center; justify-content: center;
}
.studio-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.studio-mark { width: 62%; color: var(--ink); }
.studio-mark .logo-svg { width: 100%; height: auto; }
.studio-mark .dot { animation: mk-bob 5s ease-in-out infinite; }
.studio-mark .d2 { animation-delay: -1.6s; }
.studio-mark .d3 { animation-delay: -3.2s; }

.studio-body { min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.studio-statement { font-size: clamp(28px, 3.4vw, 52px); line-height: 1.16; letter-spacing: -0.025em; font-weight: 500; max-width: 18ch; }
.studio-text { max-width: 600px; font-size: 18px; }
.studio-text p + p { margin-top: 1em; }
.arms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; margin-top: 8px; }
.arm { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--ink); padding-top: 16px; }
.arm h3 { font-size: 20px; }
.arm p { font-size: 16px; color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--paper); }
.footer-inner {
	max-width: 1440px; margin: 0 auto;
	padding: clamp(96px, 12vw, 176px) var(--pad) 32px;
	display: flex; flex-direction: column; gap: clamp(48px, 6vw, 80px);
}
.footer-cta { display: flex; flex-direction: column; gap: 24px; }
.footer-cta .eyebrow { color: var(--dark-muted); }
.footer-email {
	display: inline-flex; align-items: flex-start; gap: 0.2em; align-self: flex-start;
	font-size: clamp(28px, 8.2vw, 112px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1;
	text-decoration: none; word-break: break-word;
}
.footer-email-text {
	padding-bottom: 0.08em;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
	transition: background-size 0.6s var(--ease-io);
}
.footer-email:hover .footer-email-text { background-size: 0 2px; background-position: 100% 100%; }
.footer-email-arrow { font-size: 0.5em; transition: transform 0.5s var(--ease-out); }
.footer-email:hover .footer-email-arrow { transform: translate(0.15em, -0.15em) rotate(45deg); }

.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.footer-links a, .back-top {
	display: inline-block; padding: 10px 0; text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1px no-repeat;
	transition: background-size 0.45s var(--ease-io);
}
.footer-links a:hover, .back-top:hover { background-size: 100% 1px; }
.back-top { color: var(--dark-muted) !important; }

.footer-mark { display: block; color: var(--paper); border-top: 1px solid var(--dark-line); padding-top: clamp(32px, 4vw, 56px); }
.logo-giant { display: block; width: 100%; height: auto; }
.footer-mark .dot { animation: mk-bob 6s ease-in-out infinite; }
.footer-mark .d2 { animation-delay: -2s; }
.footer-mark .d3 { animation-delay: -4s; }
.footer-mark:hover .dot { animation-play-state: paused; }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--dark-muted); }

/* ---------- Page heads (archive, single, page) ---------- */

.page-head { padding: clamp(48px, 7vw, 112px) 0 clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 32px; }
.page-title { font-size: clamp(40px, 6.4vw, 104px); line-height: 1.06; letter-spacing: -0.03em; max-width: 15ch; }
.back-link { font-size: 15px; font-weight: 500; text-decoration: none; padding: 12px 0; align-self: flex-start; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 56px; padding: 0; }
.filters a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px;
	border: 1px solid var(--ink); border-radius: 999px; font-size: 14px; text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}
.filters a[aria-current="page"], .filters a:hover { background: var(--ink); color: var(--paper); }

.pagination { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; font-size: 15px; }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); }

.empty { padding: 48px 0 var(--gap-section); font-size: 19px; }

/* ---------- Single project ---------- */

.project-cover { margin: 0; aspect-ratio: 16 / 9; background: var(--ph); overflow: hidden; }
.project-cover img { width: 100%; height: 100%; object-fit: cover; }

.facts {
	margin: 0; padding: 40px 0; border-bottom: 1px solid var(--ink);
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px;
}
.facts div { display: flex; flex-direction: column; gap: 8px; }
.facts dt { font-family: var(--mono); font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.facts dd { margin: 0; font-size: 17px; line-height: 1.4; }

.story { padding: clamp(64px, 8vw, 112px) 0; display: flex; flex-direction: column; gap: clamp(48px, 6vw, 72px); }
.story-row { display: flex; flex-wrap: wrap; gap: 16px 48px; }
.story-row > h2 { flex: 1 1 200px; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.story-body { flex: 999 1 480px; min-width: 0; max-width: 820px; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.5; letter-spacing: -0.005em; }
.story-body p + p { margin-top: 1em; }

.outputs { list-style: none; margin: 0; padding: 0; }
.outputs li { padding: 16px 0; border-top: 1px solid var(--ink); line-height: 1.4; }
.outputs li:last-child { border-bottom: 1px solid var(--ink); }

/* Proje görselleri: yataylar tam genişlik, dikey ve kareler ikili ızgara */
.project-content {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense;
	gap: clamp(16px, 2vw, 32px); align-items: start;
}
.project-content > * { grid-column: 1 / -1; margin-top: 0; margin-bottom: 0; }
.project-content > figure.mk-tall,
.project-content > figure.mk-square { grid-column: auto; }
@media (max-width: 600px) {
	.project-content { grid-template-columns: minmax(0, 1fr); }
}
.project-content img { width: 100%; }
.project-content figure { margin-left: 0; margin-right: 0; margin-bottom: 0; overflow: hidden; }
.project-content > :first-child { margin-top: 0; }
.project-content figcaption { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 10px; }
.project-content .wp-block-gallery { gap: clamp(16px, 2vw, 32px); }
.project-content .wp-block-columns { gap: clamp(16px, 2vw, 32px); margin-bottom: 0; align-items: flex-start; }
/* Kitap rafı: Kitaplar gibi projelerde kapak ızgarası (blok sınıfları: mk-shelf, mk-books, mk-book) */
.project-content .mk-shelf {
	display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px clamp(24px, 4vw, 64px);
	padding-top: 24px; border-top: 1px solid rgba(14, 14, 14, 0.16);
}
.project-content .mk-shelf + .mk-shelf { margin-top: clamp(40px, 5vw, 72px); }
.project-content .mk-shelf > .wp-block-group__inner-container,
.project-content .mk-books > .wp-block-group__inner-container { display: contents; }
.project-content .mk-shelf h3 {
	margin: 0; max-width: none; font-family: var(--mono); font-size: 13px; font-weight: 400;
	letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.project-content .mk-books { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px clamp(16px, 2vw, 32px); margin: 0; }
@media (max-width: 1100px) { .project-content .mk-books { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.project-content .mk-book { margin: 0; }
.project-content .mk-book > * + * { margin-top: 0; }
.project-content .mk-book figure {
	margin: 0; aspect-ratio: 4 / 5; background: var(--ph); display: flex; align-items: center; justify-content: center;
	padding: 12% 14%; overflow: visible; transition: background-color 0.4s ease;
}
.project-content .mk-book img {
	width: auto; max-width: 100%; max-height: 100%; height: auto; object-fit: contain;
	box-shadow: 0 22px 34px -18px rgba(14, 14, 14, 0.45), 0 2px 6px rgba(14, 14, 14, 0.08);
	transition: transform 0.6s var(--ease-out);
}
.project-content .mk-book:hover img { transform: translateY(-6px); }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: 0.08em; color: var(--muted); margin-right: 4px; }
.lang-switch a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch .is-current { color: var(--ink); }
/* Ürün fotoğrafları: kutuyu kenardan kenara doldurur, gölgesiz */
.project-content .mk-books.is-photos .mk-book figure { padding: 0; aspect-ratio: 1; overflow: hidden; }
.project-content .mk-books.is-photos .mk-book img { width: 100%; height: 100%; max-height: none; object-fit: cover; box-shadow: none; transition: transform 0.8s var(--ease-out); }
.project-content .mk-books.is-photos .mk-book:hover img { transform: scale(1.04); }
.project-content .mk-book p { max-width: none; margin: 0; }
.project-content .mk-book .mk-book-title { margin-top: 16px; font-size: 16px; font-weight: 500; line-height: 1.35; }
.project-content .mk-book .mk-book-author { margin-top: 4px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.project-content .mk-book .mk-book-author a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.project-content .mk-book .mk-book-author a:hover { color: var(--ink); }
.project-content .mk-shelf-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); align-items: start; }
.project-content .mk-shelf-body > .wp-block-group__inner-container { display: contents; }
.project-content .mk-shelf-body > * { margin: 0; }
.project-content .mk-shelf-body p { grid-column: 1 / -1; max-width: 640px; margin: 0; font-size: 18px; }
.project-content .mk-shelf-body p a { text-decoration: underline; text-underline-offset: 4px; }
.project-content .mk-shelf-body figure.is-full { grid-column: 1 / -1; }
.project-content .mk-shelf-body.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-content .mk-shelf-body figure.is-logo { background: #fff; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 14%; }
.project-content .mk-shelf-body figure.is-logo img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 600px) { .project-content .mk-shelf-body.is-three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
	.project-content .mk-shelf { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.project-content .mk-books { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
}
.project-content > h2.mk-section { max-width: none; margin: clamp(64px, 9vw, 140px) 0 0; font-size: clamp(40px, 6vw, 96px); font-weight: 600; letter-spacing: -0.035em; line-height: 1; scroll-margin-top: calc(var(--header-h) + 24px); }
.project-content > h2.mk-section:first-child, .project-content > .mk-jump + h2.mk-section { margin-top: 0; }
.project-content > h2.mk-section + .mk-shelf { margin-top: 8px; }
.project-content > p.mk-jump { max-width: none; margin: 0 0 clamp(40px, 5vw, 72px); font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.project-content > p.mk-jump a { color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.project-content > p.mk-jump a:hover { opacity: 0.6; }
.project-content .mk-logo-single { max-width: 760px; margin-left: auto; margin-right: auto; }
.project-content p, .project-content h2, .project-content h3, .project-content ul, .project-content ol { max-width: 820px; margin-left: auto; margin-right: 0; }

.project-nav {
	position: relative;
	margin-top: var(--gap-section);
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px;
	padding: 40px 0 var(--gap-section);
}
.project-nav::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: currentColor; transform-origin: left; }
.project-nav a { display: flex; flex-direction: column; gap: 12px; text-decoration: none; padding: 4px 0; max-width: 48%; }
.project-nav a:hover { color: var(--ink); }
.project-nav .next { margin-left: auto; align-items: flex-end; text-align: right; }
.project-nav .title { font-size: clamp(26px, 3.4vw, 52px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; transition: transform 0.6s var(--ease-out); }
.project-nav .prev:hover .title { transform: translateX(-12px); }
.project-nav .next:hover .title { transform: translateX(12px); }

/* ---------- Generic pages / posts ---------- */

.prose { max-width: 760px; padding-bottom: var(--gap-section); font-size: 18px; line-height: 1.65; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; margin-top: 1.8em; }
.prose h3 { font-size: 22px; margin-top: 1.6em; }
.prose figure { margin: 2em 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 1px solid var(--ink); font-size: 22px; }

@media (max-width: 640px) {
	.project-nav a { max-width: 100%; }
	.project-nav .next { margin-left: 0; align-items: flex-start; text-align: left; }
}

/* ---------- İç sayfa girişi ---------- */

.page-hero { padding: clamp(56px, 9vw, 140px) 0 clamp(48px, 6vw, 96px); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 32px; }
.page-hero-title { font-size: clamp(38px, 5.8vw, 96px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 600; max-width: 16ch; }
.page-hero-title--xl { font-size: clamp(52px, 10vw, 176px); line-height: 1; letter-spacing: -0.035em; max-width: none; }
.page-hero-lead { max-width: 640px; }

.section--tight { padding-top: 0; }
.section-spacer { height: var(--gap-section); }
.band-dark--flush { margin-top: 0; }

/* ---------- Hakkında ---------- */

.about-visual { margin: 0; aspect-ratio: 21 / 9; background: var(--ph-2); overflow: hidden; }
.about-visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.about-composition { position: relative; width: 100%; height: 100%; background: var(--ink); overflow: hidden; }
.ac-dot { position: absolute; border-radius: 50%; background: var(--paper); }
.ac-dot--1 { width: 34%; aspect-ratio: 1; left: 12%; top: 50%; translate: 0 -50%; animation: mk-float-a 9s ease-in-out infinite; }
.ac-dot--2 { width: 12%; aspect-ratio: 1; left: 58%; top: 22%; animation: mk-float-b 7s ease-in-out infinite; }
.ac-dot--3 { width: 6%; aspect-ratio: 1; left: 78%; top: 64%; animation: mk-float-a 6s ease-in-out infinite reverse; }
.ac-line { position: absolute; left: 50%; right: 6%; top: 50%; height: 1px; background: rgba(244, 244, 242, 0.35); }

.story-body--large { font-size: clamp(22px, 2.3vw, 34px); line-height: 1.36; letter-spacing: -0.015em; }
.story-body--large p + p { margin-top: 0.8em; }
.section .story-row > h2 { padding-top: 0.6em; }

.stats { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 12px; padding: 28px 24px 8px 0; border-right: 1px solid rgba(14, 14, 14, 0.15); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 24px; }
.stat-num { margin: 0; font-size: clamp(56px, 7vw, 112px); font-weight: 600; letter-spacing: -0.05em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.stat-label { font-family: var(--mono); font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .stat { border-right: 0; border-bottom: 1px solid rgba(14, 14, 14, 0.15); padding-left: 0 !important; } }

.eco-intro { font-size: clamp(20px, 2vw, 28px); line-height: 1.4; letter-spacing: -0.015em; max-width: 880px; margin-bottom: clamp(40px, 5vw, 64px); }
.eco { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(16px, 2vw, 32px); }
.eco-card {
	position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px;
	min-height: clamp(320px, 34vw, 480px); padding: clamp(28px, 3vw, 48px);
	border: 1px solid var(--ink); text-decoration: none; color: var(--ink);
	transition: background-color 0.5s var(--ease-io), color 0.5s var(--ease-io);
}
.eco-card--dark { background: var(--ink); color: var(--paper); }
a.eco-card:hover { color: var(--paper); background: var(--ink); }
a.eco-card--dark:hover { background: var(--paper); color: var(--ink); }
.eco-mark { display: flex; gap: 10px; margin-bottom: auto; }
.eco-mark span { width: 18px; height: 18px; border-radius: 50%; background: currentColor; transition: transform 0.6s var(--ease-spring); }
a.eco-card:hover .eco-mark span:first-child { transform: translateY(-10px); }
a.eco-card:hover .eco-mark span:nth-child(2) { transform: translateY(10px); transition-delay: 0.06s; }
.eco-name { font-size: clamp(32px, 3.6vw, 56px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
.eco-text { font-size: 17px; max-width: 380px; opacity: 0.8; }
.eco-go { opacity: 0.7; }

/* ---------- Hizmetler: süreç ve "ne yapmaz" ---------- */

.process {
	position: relative; list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr)); gap: 24px;
}
.process::before {
	content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1px; background: currentColor; transform-origin: left;
}
.process-step { position: relative; display: flex; flex-direction: column; gap: 14px; padding-top: 40px; }
.process-dot { position: absolute; top: 0; left: 0; width: 19px; height: 19px; border-radius: 50%; background: var(--ink); }
.process-text { font-size: clamp(20px, 1.9vw, 28px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; }
.js .process .process-dot { transform: scale(0); transition: transform 0.6s var(--ease-spring); transition-delay: calc(var(--d, 0) * 180ms + 300ms); }
.js .process.is-in .process-dot { transform: scale(1); }
@media (max-width: 900px) {
	.process { grid-template-columns: 1fr; gap: 0; }
	.process::before { left: 9px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: top; }
	.js .process[data-reveal="line"]::before { transform: scaleY(0); }
	.js .process[data-reveal="line"].is-in::before { transform: scaleY(1); }
	.process-step { padding: 0 0 36px 44px; }
}

.donts { list-style: none; margin: 0; padding: 0; }
.dont { border-top: 1px solid var(--ink); padding: clamp(16px, 2vw, 28px) 0; }
.dont:last-child { border-bottom: 1px solid var(--ink); }
.dont span {
	font-size: clamp(32px, 5vw, 80px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; color: var(--muted);
	background: linear-gradient(var(--ink), var(--ink)) 0 55% / 0 0.06em no-repeat;
	transition: background-size 1s var(--ease-io) 0.4s;
}
.dont.is-in span, html:not(.js) .dont span { background-size: 100% 0.06em; }

/* ---------- İletişim ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); align-items: start; border-top: 1px solid var(--ink); padding-top: 48px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 40px; }
.contact-item { display: flex; flex-direction: column; gap: 10px; }
.contact-email {
	font-size: clamp(28px, 3.4vw, 52px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; text-decoration: none; word-break: break-word;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 4px; align-self: flex-start;
	transition: background-size 0.6s var(--ease-io);
}
.contact-email:hover { color: var(--ink); background-size: 0 2px; background-position: 100% 100%; }
.contact-value { font-size: 20px; line-height: 1.45; text-decoration: none; }
.contact-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 18px; }
.contact-social a { text-decoration: none; }
.contact-form { display: flex; flex-direction: column; gap: 24px; }

.contact-orb { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; justify-self: end; }
.contact-orb span { position: absolute; border-radius: 50%; background: var(--ink); }
.contact-orb span:first-child { inset: 18%; animation: mk-breathe 6s ease-in-out infinite; }
.contact-orb span:last-child { width: 14%; aspect-ratio: 1; right: 4%; top: 4%; animation: mk-float-b 5s ease-in-out infinite; }

/* Form eklentileri (Contact Form 7 vb.) */
.contact-form form p { margin: 0 0 24px; }
.contact-form label { display: block; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form input[type="url"], .contact-form textarea, .contact-form select {
	width: 100%; margin-top: 6px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
	background: transparent; color: var(--ink); font: 400 20px/1.4 var(--sans); letter-spacing: -0.01em;
	transition: border-color 0.3s ease;
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); opacity: 1; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-bottom-width: 2px; }
.contact-form input[type="submit"], .contact-form button[type="submit"] {
	display: inline-flex; align-items: center; min-height: 52px; padding: 0 32px; border-radius: 999px; cursor: pointer;
	border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 500 16px var(--sans);
	transition: background-color 0.3s ease, color 0.3s ease;
}
.contact-form input[type="submit"]:hover, .contact-form button[type="submit"]:hover { background: transparent; color: var(--ink); }
.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form .wpcf7-not-valid-tip { font-family: var(--mono); font-size: 12px; margin-top: 6px; color: #8a1c1c; }
.contact-form .wpcf7-response-output { margin: 16px 0 0 !important; padding: 12px 16px !important; border: 1px solid var(--ink) !important; font-size: 15px; }
.contact-form .wpcf7-spinner { margin: 0 12px; }

/* ---------- Mağaza: yakında ---------- */

.soon { position: relative; overflow: hidden; }
.soon-inner { position: relative; min-height: calc(100svh - var(--header-h) - 40px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 32px; padding-top: 48px; padding-bottom: 96px; }
.soon .lead { max-width: 520px; }
.soon-dots { position: absolute; right: var(--pad); bottom: 96px; display: flex; gap: 14px; }
.soon-dots span { width: clamp(28px, 4vw, 56px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); animation: mk-wave 1.8s ease-in-out infinite; }
.soon-dots span:nth-child(2) { animation-delay: 0.15s; }
.soon-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes mk-float-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4%); } }
@keyframes mk-float-b { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-10%, 12%); } }
@keyframes mk-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.94); } }
@keyframes mk-wave { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-40%); } }

/* ---------- Projeler arşivi ---------- */

.page-hero--archive { padding-bottom: clamp(32px, 4vw, 56px); }
.title-count { font-size: 0.22em; font-weight: 500; letter-spacing: 0; vertical-align: top; margin-left: 0.15em; position: relative; top: 0.5em; font-family: var(--mono); }

.work-toolbar {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px;
	border-top: 1px solid var(--ink); padding: 20px 0; margin-bottom: clamp(40px, 5vw, 72px);
}
.work-toolbar .filters { margin: 0; }
.filter-count { font-family: var(--mono); font-size: 11px; opacity: 0.6; margin-left: 4px; }

.view-toggle { display: inline-flex; border: 1px solid var(--ink); border-radius: 999px; padding: 3px; }
.view-btn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px;
	background: transparent; color: var(--ink); font: 500 14px var(--sans); cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease;
}
.view-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.view-icon { display: inline-grid; gap: 2px; }
.view-icon i { display: block; background: currentColor; }
.view-icon--grid { grid-template-columns: repeat(2, 5px); }
.view-icon--grid i { width: 5px; height: 5px; }
.view-icon--list { grid-template-columns: 12px; }
.view-icon--list i { width: 12px; height: 2px; }

.work[data-view="grid"] .work-list { display: none; }
.work[data-view="list"] .work-grid { display: none; }
html:not(.js) .work-list { display: none; }

.work-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.work-row { border-bottom: 1px solid var(--ink); }
.work-row a {
	position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 0.5fr) auto 32px;
	align-items: baseline; gap: 16px; padding: clamp(18px, 2.2vw, 32px) 0; text-decoration: none; white-space: normal;
}
.work-row a::before {
	content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); background: var(--ink); z-index: -1;
	transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease-io);
}
.work-row a:hover { color: var(--paper); }
.work-row a:hover::before { transform: scaleY(1); }
.work-row a:hover .mono { color: var(--dark-muted); }
.work-row-title { font-size: clamp(24px, 3.4vw, 52px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.12; transition: transform 0.5s var(--ease-out); }
.work-row a:hover .work-row-title { transform: translateX(12px); }
.work-row-num, .work-row-meta, .work-row-year { color: var(--muted); transition: color 0.3s ease; }
.work-row-year { text-align: right; white-space: nowrap; }
.work-row-arrow { font-size: 22px; justify-self: end; transition: transform 0.5s var(--ease-out); }
.work-row a:hover .work-row-arrow { transform: translateX(6px) rotate(-45deg); }
.work-list { position: relative; isolation: isolate; }
@media (max-width: 760px) {
	.work-row a { grid-template-columns: 36px 1fr auto; }
	.work-row-meta { grid-column: 2; }
	.work-row-year { grid-column: 3; grid-row: 1; }
	.work-row-arrow { display: none; }
}

.preview {
	position: fixed; left: 0; top: 0; z-index: 70; width: clamp(240px, 24vw, 380px); aspect-ratio: 4 / 3;
	pointer-events: none; overflow: hidden; opacity: 0;
	clip-path: circle(0% at 50% 50%);
	transition: opacity 0.3s ease, clip-path 0.6s var(--ease-out);
}
.preview.is-active { opacity: 1; clip-path: circle(75% at 50% 50%); }
.preview img { width: 100%; height: 100%; object-fit: cover; }

.empty-state { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 48px 0; font-size: clamp(24px, 3vw, 40px); letter-spacing: -0.03em; }
.empty-dots { display: flex; gap: 12px; }
.empty-dots span { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); animation: mk-wave 1.8s ease-in-out infinite; }
.empty-dots span:nth-child(2) { animation-delay: 0.15s; }
.empty-dots span:nth-child(3) { animation-delay: 0.3s; }

/* ---------- Ana başlık + alt başlık ---------- */

.t-main, .t-sub { display: block; }
.t-sub { font-weight: 300; }
.page-title--project { max-width: 18ch; }
.page-title--project .t-sub { font-weight: 300; letter-spacing: -0.02em; margin-top: 0.06em; }
.work-row-title .t-main, .work-row-title .t-sub { display: inline; }
.work-row-title .t-sub { font-weight: 300; }
.project-nav .title .t-sub { font-weight: 300; }

/* ---------- İmleç noktası ---------- */

.cursor { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; will-change: transform; }
.cursor-inner {
	position: absolute; left: -48px; top: -48px; width: 96px; height: 96px; border-radius: 50%;
	background: var(--ink); color: var(--paper);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em;
	transform: scale(0); transition: transform 0.45s var(--ease-spring);
}
.cursor.is-active .cursor-inner { transform: scale(1); }
.cursor-label { opacity: 0; transition: opacity 0.2s ease 0.1s; }
.cursor.is-active .cursor-label { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
	[data-cursor] { cursor: none; }
}

/* ---------- Giriş ve kaydırma animasyonları (yalnızca JS varken) ---------- */

.js .split .w > span { transform: translateY(108%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms + 120ms); }
.js.is-loaded .split .w > span { transform: none; }

.js .hero-fade { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + 420ms); }
.js.is-loaded .hero-fade { opacity: 1; transform: none; }

.js .orb { opacity: 0; scale: 0.7; transition: opacity 1.4s var(--ease-out) 0.3s, scale 1.6s var(--ease-out) 0.3s; }
.js.is-loaded .orb { opacity: 1; scale: 1; }

.js [data-reveal] {
	opacity: 0; transform: translateY(36px);
	transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
	transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-reveal="clip"] { opacity: 1; transform: none; position: relative; }
.js [data-reveal="clip"]::after {
	content: ""; position: absolute; inset: -1px; z-index: 2; pointer-events: none;
	background: var(--paper); transform-origin: top; transition: transform 1.3s var(--ease-io);
}
.js [data-reveal="clip"].is-in::after { transform: scaleY(0); }
.js [data-reveal="clip"] img { scale: 1.18; transition: scale 1.8s var(--ease-out), transform 1.2s var(--ease-out); }
.js [data-reveal="clip"].is-in img { scale: 1; }

.js [data-reveal="line"] { opacity: 1; transform: none; }
.js [data-reveal="line"]::before { transform: scaleX(0); transition: transform 1.4s var(--ease-io); }
.js [data-reveal="line"].is-in::before { transform: scaleX(1); }
.js [data-reveal="line"] > * { opacity: 0; transform: translateY(12px); transition: opacity 0.8s var(--ease-out) 0.35s, transform 0.8s var(--ease-out) 0.35s; }
.js [data-reveal="line"].is-in > * { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */

@keyframes mk-spin { to { transform: rotate(360deg); } }
@keyframes mk-float { 0%, 100% { margin-top: 0; } 50% { margin-top: -14px; } }
@keyframes mk-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes mk-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.6); opacity: 0.5; } }
@keyframes mk-drop { 0% { transform: translateY(-8px); } 70%, 100% { transform: translateY(48px); } }
@keyframes mk-marquee { to { transform: translateX(-50%); } }

/* ---------- Hareket azaltma ---------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .split .w > span, .js .hero-fade, .js .orb, .js [data-reveal], .js [data-reveal] > *, .js [data-reveal]::before { opacity: 1 !important; transform: none !important; scale: 1 !important; }
	.js [data-reveal="clip"]::after { display: none; }
	.marquee { -webkit-mask-image: none; mask-image: none; }
	.marquee-track { width: auto; }
	.marquee-group { flex-wrap: wrap; white-space: normal; font-size: clamp(24px, 3vw, 40px); padding-left: var(--pad); }
	.marquee-group + .marquee-group { display: none; }
}
