/* TurkoDigital — minimal dark monochrome */

:root {
	--bg: #0a0a0a;
	--bg-2: #111111;
	--bg-3: #171717;
	--fg: #ededed;
	--fg-2: #a1a1a1;
	--fg-3: #6b6b6b;
	--line: #222222;
	--line-2: #2e2e2e;
	--radius: 10px;
	--wrap: 1232px;
	--gutter: 24px;
	--font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text, .form__hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip { position: absolute; left: -9999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 12px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--fg-2); }
.icon { flex: none; }

.eyebrow {
	font-size: 13px;
	color: var(--fg-3);
	letter-spacing: 0;
	margin-bottom: 20px;
}

/* Buttons & links */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	height: 44px; padding: 0 18px;
	border: 1px solid var(--line-2); border-radius: 999px;
	font-size: 15px; font-weight: 500; color: var(--fg);
	background: transparent;
	cursor: pointer;
	transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
	white-space: nowrap;
	font-family: inherit;
}
.btn:hover { border-color: var(--fg-3); background: var(--bg-3); }
.btn--solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--solid:hover { background: #fff; border-color: #fff; color: var(--bg); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(2px); }

.link { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-2); font-size: 15px; transition: color .2s; }
.link:hover { color: var(--fg); }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(10, 10, 10, .8);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.brand__mark { width: 14px; height: 14px; background: var(--fg); border-radius: 3px; }
.brand__logo { max-height: 28px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__list a { font-size: 14px; color: var(--fg-2); transition: color .2s; }
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current_page_item > a { color: var(--fg); }

.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 0; cursor: pointer; position: relative; margin-right: -8px; }
.nav-toggle__bar { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--fg); transition: transform .25s var(--ease); }
.nav-toggle__bar--a { top: 15.5px; }
.nav-toggle__bar--b { top: 23.5px; }
.nav-open .nav-toggle__bar--a { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle__bar--b { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { padding: 120px 0 112px; border-bottom: 1px solid var(--line); }
.hero__title {
	font-size: clamp(40px, 6.4vw, 84px);
	line-height: 1.02;
	letter-spacing: -0.045em;
	max-width: 15ch;
	font-weight: 500;
}
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero__text { max-width: 46ch; color: var(--fg-2); font-size: 18px; line-height: 1.55; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
.section { padding: 96px 0; border-bottom: 1px solid var(--line); }
.section--tight { padding-top: 48px; }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section__title { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.03em; }

/* Project grid */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
.card__link { display: block; }
.card__media {
	aspect-ratio: 4 / 3;
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card__link:hover .card__media img { transform: scale(1.02); }
.card__placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	background:
		linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 25%,
		linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 16.666% 100%,
		var(--bg-2);
	transition: background-color .3s;
}
.card__placeholder span {
	font-size: clamp(24px, 3vw, 40px); font-weight: 500; letter-spacing: -0.04em;
	background: var(--bg-2); padding: 4px 14px; border-radius: 6px;
}
.card__body { padding-top: 18px; }
.card__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.card__title { font-size: 20px; letter-spacing: -0.02em; }
.card__arrow { color: var(--fg-3); transition: color .2s, transform .25s var(--ease); }
.card__link:hover .card__arrow { color: var(--fg); transform: translate(2px, -2px); }
.card__summary { color: var(--fg-2); margin-top: 6px; font-size: 15px; max-width: 52ch; }
.card__meta { color: var(--fg-3); font-size: 13px; margin-top: 10px; }

/* Services rows */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row {
	display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.4fr);
	gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.row__num { color: var(--fg-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.row__title { font-size: 20px; letter-spacing: -0.02em; }
.row__text { color: var(--fg-2); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; }
.about__text { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.4; letter-spacing: -0.02em; max-width: 34ch; }
.about__facts { margin-top: 40px; }

/* CTA */
.cta { padding: 112px 0; }
.cta__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.cta__title { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -0.04em; }
.cta__text { color: var(--fg-2); margin-top: 16px; max-width: 46ch; font-size: 17px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Page head */
.page-head { padding: 96px 0 48px; }
.page-head--center { text-align: center; padding: 160px 0; }
.page-head--center .btn { margin-top: 32px; }
.page-head__title { font-size: clamp(36px, 5.2vw, 64px); letter-spacing: -0.04em; line-height: 1.04; max-width: 18ch; }
.page-head--center .page-head__title { margin: 0 auto; }

/* Single project */
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-2); font-size: 14px; margin-bottom: 40px; transition: color .2s; }
.back:hover { color: var(--fg); }
.project__title { max-width: 20ch; }
.project__summary { color: var(--fg-2); font-size: clamp(18px, 1.8vw, 22px); margin-top: 20px; max-width: 48ch; line-height: 1.45; }
.facts {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 24px; margin: 56px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line);
}
.facts dt { font-size: 13px; color: var(--fg-3); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 15px; }
.facts dd a { display: inline-flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--line-2); transition: border-color .2s; }
.facts dd a:hover { border-color: var(--fg); }

.project__cover { margin-top: 8px; margin-bottom: 0; }
.project__cover img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }

.stats {
	list-style: none; margin: 64px 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.stats__item { padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__value { display: block; font-size: clamp(36px, 4vw, 52px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.stats__label { display: block; color: var(--fg-2); margin-top: 12px; font-size: 15px; }

/* Prose (editor content) */
.prose { max-width: 720px; margin: 72px auto 96px; font-size: 17px; line-height: 1.7; color: #d4d4d4; }
.prose--lead { margin: 24px 0 0; color: var(--fg-2); font-size: 18px; max-width: 56ch; }
.section .prose, .page-head .prose { margin-left: 0; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: 26px; color: var(--fg); margin-top: 2.2em; letter-spacing: -0.03em; }
.prose h3 { font-size: 20px; color: var(--fg); margin-top: 1.8em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a { color: var(--fg); border-bottom: 1px solid var(--line-2); transition: border-color .2s; }
.prose a:hover { border-color: var(--fg); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose strong { color: var(--fg); font-weight: 500; }
.prose blockquote, .prose .wp-block-quote {
	margin-left: 0; margin-right: 0; padding-left: 24px; border-left: 1px solid var(--fg);
	font-size: 22px; color: var(--fg); line-height: 1.45; letter-spacing: -0.01em;
}
.prose blockquote cite { display: block; font-size: 14px; color: var(--fg-3); margin-top: 12px; font-style: normal; }
.prose img { border-radius: var(--radius); }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption, .prose .wp-element-caption { font-size: 13px; color: var(--fg-3); margin-top: 10px; text-align: left; }
.prose .alignwide { width: min(1184px, calc(100vw - 2 * var(--gutter))); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.prose .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.prose .alignfull img { border-radius: 0; }
.prose hr, .prose .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.prose .wp-block-columns { gap: 24px; }
.prose code { font-size: .9em; background: var(--bg-3); padding: 2px 6px; border-radius: 4px; }
.prose .wp-block-button__link { background: var(--fg); color: var(--bg); border-radius: 999px; padding: 10px 18px; font-size: 15px; border: 0; }

/* Next project */
.next { padding-bottom: 0; }
.next__link { display: block; border-top: 1px solid var(--line); padding: 48px 0 96px; }
.next__link .eyebrow { display: block; margin-bottom: 12px; }
.next__title { display: inline-flex; align-items: center; gap: 16px; font-size: clamp(32px, 5vw, 64px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; transition: gap .25s var(--ease); }
.next__title .icon { width: 28px; height: 28px; }
.next__link:hover .next__title { gap: 24px; }
.project + .next { margin-top: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; }
.contact__aside { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.contact__block .eyebrow { margin-bottom: 6px; }
.contact__value { font-size: 17px; }
a.contact__value { border-bottom: 1px solid var(--line-2); transition: border-color .2s; }
a.contact__value:hover { border-color: var(--fg); }

.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; color: var(--fg-2); }
.field__opt { color: var(--fg-3); font-size: 12px; margin-left: 4px; }
.field input, .field select, .field textarea {
	width: 100%;
	background: var(--bg-2);
	border: 1px solid var(--line-2);
	border-radius: 8px;
	color: var(--fg);
	font: inherit; font-size: 16px;
	padding: 12px 14px;
	transition: border-color .2s, background .2s;
	-webkit-appearance: none; appearance: none;
}
.field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23a1a1a1' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.field textarea { resize: vertical; min-height: 160px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #3a3a3a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fg-2); background: var(--bg-3); }
.form .btn { align-self: flex-start; margin-top: 4px; }

.notice { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 24px; background: var(--bg-2); }
.notice--ok { padding: 40px 32px; }
.notice__title { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 6px; }
.notice--ok p:not(.notice__title) { color: var(--fg-2); }
.notice--err { border-color: #5a2a2a; color: #f2b8b8; }

/* Cal.com */
.cal {
	min-height: 640px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-2);
	overflow: hidden;
	position: relative;
}
.cal__fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.cal.is-loaded .cal__fallback { display: none; }
.cal iframe { position: relative; z-index: 1; }

/* Blog list */
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.list__item a { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.list__title { font-size: 18px; }
.list__item a:hover .list__title { text-decoration: underline; text-underline-offset: 4px; }
.nav-links { display: flex; gap: 12px; margin-top: 32px; }
.nav-links .page-numbers { color: var(--fg-2); }
.nav-links .current { color: var(--fg); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 32px; }
.site-footer .eyebrow { margin-bottom: 14px; }
.site-footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.site-footer__email { font-size: clamp(24px, 3.4vw, 40px); font-weight: 500; letter-spacing: -0.03em; border-bottom: 1px solid var(--line-2); transition: border-color .2s; }
.site-footer__email:hover { border-color: var(--fg); }
.site-footer__cols { display: flex; gap: 72px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer__list a { color: var(--fg-2); font-size: 15px; transition: color .2s; }
.site-footer__list a:hover { color: var(--fg); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--fg-3); font-size: 13px; flex-wrap: wrap; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { transition-duration: 0s !important; }
}

/* Responsive */
@media (max-width: 960px) {
	.contact, .about { grid-template-columns: 1fr; gap: 32px; }
	.contact__aside { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
	.row { grid-template-columns: 48px 1fr; }
	.row__text { grid-column: 2; }
}

@media (max-width: 760px) {
	:root { --gutter: 16px; }
	.site-header__inner { height: 60px; }
	.nav-toggle { display: block; }
	.nav {
		position: fixed; top: 60px; left: 0; right: 0;
		height: calc(100vh - 60px); height: calc(100dvh - 60px);
		flex-direction: column; align-items: flex-start; gap: 32px;
		padding: 32px var(--gutter);
		background: var(--bg);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
	}
	.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
	.nav-open { overflow: hidden; }
	.nav__list { flex-direction: column; gap: 18px; }
	.nav__list a { font-size: 28px; color: var(--fg); letter-spacing: -0.03em; }
	.nav .btn { height: 44px; font-size: 15px; padding: 0 18px; }

	.hero { padding: 72px 0 64px; }
	.hero__foot { margin-top: 36px; gap: 28px; }
	.hero__text { font-size: 17px; }
	.section { padding: 64px 0; }
	.section--tight { padding-top: 24px; }
	.page-head { padding: 64px 0 32px; }
	.grid { grid-template-columns: 1fr; gap: 40px; }
	.form__row { grid-template-columns: 1fr; }
	.cta { padding: 72px 0; }
	.site-footer__cols { gap: 48px; }
	.facts { grid-template-columns: 1fr 1fr; margin-top: 40px; }
	.prose { margin: 48px auto 64px; font-size: 16px; }
	.stats { margin-top: 40px; }
	.next__link { padding: 40px 0 64px; }
	.next__title .icon { width: 20px; height: 20px; }
	.cal { min-height: 560px; }
	.row { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
	.row__text { grid-column: auto; }
}
