/*
 * Sivri Proje — sanat yönetimi.
 *
 * Elle yazılmış düz CSS. Talim'in derleme hattı yalnızca parent temayı
 * tarar (bkz. ARCHITECTURE.md → "Deferred: child build pipeline"), bu yüzden
 * child katmanında yeni Tailwind utility'si kullanılamaz. Buradaki kurallar
 * katmansızdır (unlayered); parent'ın @layer components/utilities kurallarını
 * özgüllükten bağımsız olarak geçer.
 *
 * Tasarım fikri — "Ölçü ve Zanaat":
 *   Sayfa bir teknik çizim gibi kurulur. İnce saç çizgileri hücreleri ayırır,
 *   kehribar ölçü çentikleri bölüm başlıklarını işaretler, koyu bantlarda
 *   proje kâğıdı ızgarası görünür. Süs yok; ölçü var.
 *
 * Sıralama:
 *   1. Yazı tipi         6. Bölüm başlıkları
 *   2. Temel             7. Anasayfa bölümleri
 *   3. Ölçü/kapsayıcı    8. Blog ve içerik
 *   4. Üst bant + başlık 9. Footer
 *   5. Butonlar         10. Hareket tercihi (prefers-reduced-motion)
 */

/* ------------------------------------------------------------------ */
/* 1. Yazı tipi                                                        */
/* ------------------------------------------------------------------ */

/*
 * Manrope — değişken (variable) ağırlık ekseni 200–800, tek dosya.
 * Latin + Latin Extended-A altkümesi; tam Türkçe kapsama (ğ Ğ ı İ ş Ş ç Ç
 * ö Ö ü Ü) ve ₺ dâhil. 29,8 KB. Gerekçe ve üretim adımları: FONTS.md.
 * CDN yok, Google Fonts bağlantısı yok — dosya temanın içinden servis edilir.
 */
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-var-tr.woff2") format("woff2-variations"),
		url("../fonts/manrope-var-tr.woff2") format("woff2");
}

/* ------------------------------------------------------------------ */
/* 2. Temel                                                            */
/* ------------------------------------------------------------------ */

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-synthesis-weight: none;
	text-rendering: optimizeLegibility;
}

/* Rakamlar tablo hizalı: telefon, adım numarası, liste sayıları kaymasın. */
.sp-tnum,
.sp-phone,
.sp-step-no {
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
}

::selection {
	background-color: var(--sp-accent);
	color: var(--sp-accent-ink);
}

:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Koyu zeminlerde odak halkası kehribar olur — tuğla üzerinde kaybolmasın. */
.sp-on-deep :focus-visible {
	outline-color: var(--sp-accent);
}

/* ------------------------------------------------------------------ */
/* 3. Ölçü ve kapsayıcı                                                */
/* ------------------------------------------------------------------ */

.container-site {
	max-width: var(--sp-container);
	padding-inline: 1.25rem;
}

@media (min-width: 768px) {
	.container-site {
		padding-inline: 2rem;
	}
}

/* Bölüm gövdesi: her anasayfa bölümünün ortak dikey ritmi. */
.sp-section {
	padding-block: var(--sp-section-y);
}

.sp-section--tight {
	padding-block: calc(var(--sp-section-y) * 0.62);
}

.sp-section--alt {
	background-color: var(--color-surface-alt);
	border-block: 1px solid var(--color-line);
}

/*
 * Koyu bantlarda proje kâğıdı ızgarası. Tek bir element, iki gradyan,
 * görsel isteği yok — bu yüzden LCP'ye dokunmaz.
 */
.sp-deep {
	position: relative;
	isolation: isolate;
	background-color: var(--sp-deep);
	color: #fff;
}

.sp-deep::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(to right, var(--sp-grid-line) 1px, transparent 1px),
		linear-gradient(to bottom, var(--sp-grid-line) 1px, transparent 1px);
	background-size: var(--sp-grid-size) var(--sp-grid-size);
	mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 100%);
}

/* ------------------------------------------------------------------ */
/* 4. Üst bant ve site başlığı                                         */
/* ------------------------------------------------------------------ */

.sp-topbar {
	background-color: var(--sp-deep);
	color: var(--sp-deep-muted);
	font-size: 0.8125rem;
	line-height: 1.4;
}

.sp-topbar__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.375rem 1.5rem;
	padding-block: 0.625rem;
	text-align: center;
}

.sp-topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 0.4375rem;
}

.sp-topbar__item svg {
	width: 0.9375rem;
	height: 0.9375rem;
	flex: none;
	color: var(--sp-accent);
}

.sp-topbar a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

.sp-topbar a:hover,
.sp-topbar a:focus-visible {
	color: var(--sp-accent);
}

@media (min-width: 900px) {
	.sp-topbar__row {
		justify-content: space-between;
		text-align: left;
	}
}

/* --- Başlık ------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background-color: rgb(255 255 255 / 0.92);
	backdrop-filter: saturate(1.6) blur(10px);
	-webkit-backdrop-filter: saturate(1.6) blur(10px);
	border-bottom: 1px solid var(--color-line);
}

.site-header .container-site {
	padding-block: 0.75rem;
	gap: 1rem;
}

/*
 * Parent'ın başlık satırı kaynak sırasını (marka → eylemler → gezinti)
 * erişilebilirlik için korur. Görsel sıra ise marka | gezinti | eylem
 * olmalı; bunu flex `order` ile çözüyoruz — DOM'a dokunmadan.
 */
@media (min-width: 768px) {
	.site-header .container-site {
		justify-content: flex-start;
	}

	.site-branding {
		order: 1;
		margin-right: auto;
	}

	.site-nav {
		order: 2;
	}

	.header-actions {
		order: 3;
	}
}

/*
 * Logo: yükseklikten kilitli, oranı serbest.
 *
 * Satır içi SVG bir <span class="custom-logo"> içinde basılır (bkz.
 * inc/brand.php). Span satır içi bir kutudur — üzerine yazılan height hiçbir
 * şey yapmaz ve SVG kendi width/height özniteliğiyle, yani ~330px ile
 * çizilir; bu da dar ekranda yatay taşma demektir. Bu yüzden hem kabuk hem
 * de SVG'nin kendisi açıkça blok ve ölçekli hâle getirilir.
 */
.site-branding .custom-logo-link {
	display: block;
	line-height: 0;
	max-width: 100%;
}

.site-branding .custom-logo {
	display: block;
	width: auto;
	height: 2.25rem;
	max-width: 100%;
}

.site-branding .custom-logo svg {
	display: block;
	width: auto;
	height: 100%;
	max-width: 100%;
}

@media (min-width: 480px) {
	.site-branding .custom-logo {
		height: 2.5rem;
	}
}

@media (min-width: 768px) {
	.site-branding .custom-logo {
		height: 2.875rem;
	}
}

/* Footer logosu da aynı kilide tabi (yükseklik footer bölümünde verilir). */
.sp-footer__logo {
	max-width: 100%;
}

.sp-footer__logo svg {
	display: block;
	max-width: 100%;
}

/* Logo yüklenmemişse: yazı işaretine düş. */
.site-title {
	font-size: 1.375rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1;
}

.site-title a {
	color: var(--color-ink);
	text-decoration: none;
}

/* --- Menü --------------------------------------------------------- */

.menu a {
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--color-ink);
	border-radius: var(--sp-radius-sm);
}

@media (min-width: 768px) {
	.menu {
		gap: 0.125rem;
	}

	.menu > li > a {
		position: relative;
		padding: 0.5rem 0.875rem;
	}

	/* Aktif ve gezinilen bağlantıda kehribar ölçü çentiği. */
	.menu > li > a::after {
		content: "";
		position: absolute;
		left: 0.875rem;
		right: 0.875rem;
		bottom: 0.125rem;
		height: 2px;
		background-color: var(--sp-accent);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 180ms ease;
	}

	.menu > li > a:hover::after,
	.menu > li > a:focus-visible::after,
	.menu > li.current-menu-item > a::after,
	.menu > li.current_page_item > a::after,
	.menu > li.current-menu-parent > a::after {
		transform: scaleX(1);
	}

	.menu > li > a:hover {
		background-color: transparent;
		color: var(--color-primary);
	}
}

.menu .current-menu-item > a,
.menu .current_page_item > a {
	color: var(--color-primary);
}

/* --- Başlıktaki eylem alanı --------------------------------------- */

.header-actions {
	gap: 0.5rem;
}

.sp-header-cta {
	display: none;
}

@media (min-width: 1024px) {
	.sp-header-cta {
		display: inline-flex;
	}
}

/* Mobilde menü düğmesinin yanındaki sade telefon simgesi. */
.sp-header-tel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.625rem;
	height: 2.625rem;
	border: 1px solid var(--color-line);
	border-radius: var(--sp-radius-sm);
	color: var(--color-primary);
	background-color: var(--color-surface);
}

.sp-header-tel svg {
	width: 1.125rem;
	height: 1.125rem;
}

.sp-header-tel:hover,
.sp-header-tel:focus-visible {
	border-color: var(--color-primary);
	background-color: var(--sp-primary-soft);
}

@media (min-width: 1024px) {
	.sp-header-tel {
		display: none;
	}
}

.nav-toggle {
	width: 2.625rem;
	height: 2.625rem;
	border-radius: var(--sp-radius-sm);
}

/* Mobil menü paneli: başlığın altına oturan tam genişlik levha. */
.site-nav {
	box-shadow: var(--sp-shadow-lg);
}

.site-nav .menu {
	padding: 0.75rem 1.25rem 1.25rem;
}

.site-nav .menu > li + li {
	border-top: 1px solid var(--color-line);
}

@media (min-width: 768px) {
	.site-nav .menu {
		padding: 0;
	}

	.site-nav .menu > li + li {
		border-top: 0;
	}
}

/* ------------------------------------------------------------------ */
/* 5. Butonlar                                                         */
/* ------------------------------------------------------------------ */

.btn {
	padding: 0.75rem 1.375rem;
	border-radius: var(--sp-radius-sm);
	font-weight: 700;
	font-size: 0.9375rem;
	letter-spacing: -0.005em;
	transition: background-color 160ms ease, border-color 160ms ease,
		color 160ms ease, transform 160ms ease;
}

.btn:active {
	transform: translateY(1px);
}

.btn svg {
	width: 1.0625rem;
	height: 1.0625rem;
	flex: none;
}

.btn-primary {
	background-color: var(--color-primary);
	box-shadow: var(--sp-shadow-sm);
}

.btn-outline {
	border-color: var(--color-line);
	background-color: var(--color-surface);
}

.btn-outline:hover {
	border-color: var(--color-ink);
	color: var(--color-ink);
	background-color: var(--color-surface-alt);
}

/* Kehribar: koyu zeminde en yüksek dikkat çeken eylem. Üstünde koyu metin. */
.sp-btn-accent {
	background-color: var(--sp-accent);
	color: var(--sp-accent-ink);
}

.sp-btn-accent:hover,
.sp-btn-accent:focus-visible {
	background-color: var(--sp-accent-strong);
	color: var(--sp-accent-ink);
}

/* Koyu zeminde ikincil eylem. */
.sp-btn-ghost {
	border-color: var(--sp-deep-line-strong);
	color: #fff;
	background-color: transparent;
}

.sp-btn-ghost:hover,
.sp-btn-ghost:focus-visible {
	border-color: #fff;
	background-color: rgb(255 255 255 / 0.08);
	color: #fff;
}

.sp-btn-lg {
	padding: 0.9375rem 1.75rem;
	font-size: 1rem;
}

/* ------------------------------------------------------------------ */
/* 6. Bölüm başlıkları                                                 */
/* ------------------------------------------------------------------ */

/* Kehribar ölçü çentiği + majüskül etiket. */
.sp-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	margin: 0;
	font-size: var(--sp-step-eyebrow);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.sp-eyebrow::before {
	content: "";
	width: 1.75rem;
	height: 3px;
	flex: none;
	background-color: var(--sp-accent);
}

.sp-on-deep .sp-eyebrow {
	color: var(--sp-deep-muted);
}

.sp-eyebrow--center {
	justify-content: center;
}

.sp-title {
	margin: 0.875rem 0 0;
	font-size: var(--sp-step-h2);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.025em;
	text-wrap: balance;
	color: var(--color-ink);
}

.sp-on-deep .sp-title {
	color: #fff;
}

.sp-lead {
	margin: 1rem 0 0;
	max-width: 46ch;
	font-size: var(--sp-step-lead);
	line-height: 1.65;
	color: var(--color-muted);
	text-wrap: pretty;
}

.sp-on-deep .sp-lead {
	color: var(--sp-deep-muted);
}

.sp-head {
	max-width: 52rem;
}

.sp-head--center {
	margin-inline: auto;
	text-align: center;
}

.sp-head--center .sp-lead {
	margin-inline: auto;
}

.sp-head--split {
	display: grid;
	gap: 1rem;
	align-items: end;
	max-width: none;
}

@media (min-width: 900px) {
	.sp-head--split {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
		gap: 3rem;
	}

	.sp-head--split .sp-lead {
		margin-top: 0;
		padding-bottom: 0.375rem;
	}
}

/* ------------------------------------------------------------------ */
/* 7. Anasayfa bölümleri                                               */
/* ------------------------------------------------------------------ */

/* --- 7.1 Hero ------------------------------------------------------ */

.sp-hero {
	padding-block: clamp(3.25rem, 6vw, 5.75rem) 0;
}

.sp-hero__inner {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 1000px) {
	.sp-hero__inner {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: 3.5rem;
		align-items: center;
	}
}

.sp-hero__title {
	margin: 1.125rem 0 0;
	font-size: var(--sp-step-h1);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.035em;
	text-wrap: balance;
	color: #fff;
}

/* Başlıktaki vurgu: kehribar alt ölçü çizgisi. */
.sp-hero__title em {
	font-style: normal;
	position: relative;
	white-space: nowrap;
}

.sp-hero__title em::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.08em;
	height: 0.11em;
	background-color: var(--sp-accent);
	opacity: 0.9;
}

.sp-hero__lead {
	margin: 1.375rem 0 0;
	max-width: 44ch;
	font-size: var(--sp-step-lead);
	line-height: 1.68;
	color: var(--sp-deep-muted);
	text-wrap: pretty;
}

.sp-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.sp-hero__note {
	margin: 1.125rem 0 0;
	font-size: 0.875rem;
	color: var(--sp-deep-muted);
}

/* Hero yanındaki "ölçü kartı": görsel gerektirmeyen kanıt paneli. */
.sp-hero__panel {
	border: 1px solid var(--sp-deep-line);
	border-radius: var(--sp-radius-lg);
	background-color: rgb(255 255 255 / 0.04);
	padding: 1.5rem;
}

@media (min-width: 640px) {
	.sp-hero__panel {
		padding: 1.875rem;
	}
}

.sp-hero__panel-title {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sp-accent);
}

.sp-hero__list {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
}

.sp-hero__list li {
	display: grid;
	grid-template-columns: 1.375rem minmax(0, 1fr);
	gap: 0.75rem;
	padding-block: 0.8125rem;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: #fff;
}

.sp-hero__list li + li {
	border-top: 1px solid var(--sp-deep-line);
}

.sp-hero__list svg {
	width: 1.375rem;
	height: 1.375rem;
	color: var(--sp-accent);
}

.sp-hero__list b {
	display: block;
	font-weight: 700;
}

.sp-hero__list span {
	display: block;
	margin-top: 0.125rem;
	font-size: 0.875rem;
	color: var(--sp-deep-muted);
}

/* Hero altındaki hizmet şeridi — koyu bandı bitiren ince ölçü satırı. */
.sp-hero__strip {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	border-top: 1px solid var(--sp-deep-line);
	padding-block: 1.125rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sp-deep-muted);
}

.sp-hero__strip span {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.sp-hero__strip span::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 1px;
	background-color: var(--sp-accent);
	transform: rotate(45deg);
	flex: none;
}

/* --- 7.2 Hizmetler ------------------------------------------------- */

/*
 * Teknik çizim ızgarası: hücreler ayrı kartlar değil; aralarındaki 1px
 * boşluk zemin rengini gösterir, böylece paylaşılan saç çizgisi oluşur.
 */
.sp-grid {
	display: grid;
	gap: 1px;
	margin-top: 2.75rem;
	background-color: var(--color-line);
	border: 1px solid var(--color-line);
	border-radius: var(--sp-radius-lg);
	overflow: hidden;
}

@media (min-width: 620px) {
	.sp-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 980px) {
	.sp-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.sp-cell {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	padding: 1.625rem 1.5rem 1.75rem;
	background-color: var(--color-surface);
	transition: background-color 180ms ease;
}

.sp-cell:hover {
	background-color: var(--color-surface-alt);
}

.sp-cell__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: var(--sp-radius-sm);
	background-color: var(--sp-primary-soft);
	color: var(--color-primary);
	margin-bottom: 0.375rem;
	transition: background-color 180ms ease, color 180ms ease;
}

.sp-cell__icon svg {
	width: 1.375rem;
	height: 1.375rem;
}

.sp-cell:hover .sp-cell__icon {
	background-color: var(--color-primary);
	color: #fff;
}

.sp-cell__title {
	margin: 0;
	font-size: var(--sp-step-h3);
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.25;
	color: var(--color-ink);
}

.sp-cell__text {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--color-muted);
	text-wrap: pretty;
}

.sp-note {
	margin: 1.5rem 0 0;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--color-muted);
}

.sp-note a {
	color: var(--color-ink);
	text-decoration: underline;
	text-decoration-color: var(--color-primary);
	text-underline-offset: 3px;
	font-weight: 600;
}

.sp-note a:hover {
	color: var(--color-primary);
}

/* --- 7.3 Süreç ----------------------------------------------------- */

.sp-steps {
	display: grid;
	gap: 1px;
	margin-top: 2.75rem;
	background-color: var(--color-line);
	border-block: 1px solid var(--color-line);
}

@media (min-width: 700px) {
	.sp-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1040px) {
	.sp-steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.sp-step {
	position: relative;
	padding: 1.875rem 1.5rem 2rem;
	background-color: var(--color-surface);
}

.sp-section--alt .sp-step {
	background-color: var(--color-surface-alt);
}

.sp-step-no {
	display: block;
	font-size: 2.25rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--color-primary);
}

.sp-step__title {
	margin: 1rem 0 0;
	font-size: var(--sp-step-h3);
	font-weight: 700;
	letter-spacing: -0.015em;
	color: var(--color-ink);
}

.sp-step__text {
	margin: 0.5rem 0 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--color-muted);
	text-wrap: pretty;
}

/* --- 7.4 Bölgeler -------------------------------------------------- */

.sp-regions {
	display: grid;
	gap: 1px;
	margin-top: 2.75rem;
	background-color: var(--sp-deep-line);
	border: 1px solid var(--sp-deep-line);
	border-radius: var(--sp-radius-lg);
	overflow: hidden;
}

@media (min-width: 820px) {
	.sp-regions {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.sp-region {
	padding: 1.625rem 1.5rem 1.75rem;
	background-color: var(--sp-deep-raised);
}

.sp-region__title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.875rem;
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: #fff;
}

.sp-region__title::before {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	flex: none;
	background-color: var(--sp-accent);
	transform: rotate(45deg);
}

.sp-region__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--sp-deep-muted);
}

.sp-region__list li {
	display: inline-flex;
	align-items: center;
}

/*
 * Ayraç öğeden SONRA gelir: satır kaydığında yeni satır asla noktayla
 * başlamaz. (::before kullanılırsa sarma noktasında kırık görünür.)
 */
.sp-region__list li:not(:last-child)::after {
	content: "";
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background-color: var(--sp-deep-line-strong);
	margin-left: 0.75rem;
}

/* --- 7.5 İletişim bandı -------------------------------------------- */

.sp-band {
	background-color: var(--color-primary);
	color: #fff;
}

.sp-band__inner {
	display: grid;
	gap: 1.75rem;
	padding-block: clamp(2.75rem, 5vw, 4rem);
	align-items: center;
}

@media (min-width: 920px) {
	.sp-band__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 3rem;
	}
}

.sp-band__title {
	margin: 0;
	font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.sp-band__text {
	margin: 0.75rem 0 0;
	max-width: 52ch;
	font-size: 1rem;
	line-height: 1.65;
	color: rgb(255 255 255 / 0.85);
}

.sp-band__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
}

.sp-band .btn:focus-visible {
	outline-color: #fff;
}

/* Telefon numarasını büyük ve tıklanır göster. */
.sp-band__phone {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.625rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

.sp-band__phone svg {
	width: 1.5rem;
	height: 1.5rem;
	flex: none;
}

.sp-band__phone:hover,
.sp-band__phone:focus-visible {
	color: var(--sp-accent);
}

/* ------------------------------------------------------------------ */
/* 8. Blog, kart ve içerik                                             */
/* ------------------------------------------------------------------ */

.section-latest-posts {
	background-color: var(--color-surface);
}

.section-latest-posts > .container-site {
	padding-block: var(--sp-section-y);
}

/*
 * Parent'ın bölüm başlığı `text-2xl` ile gelir; anasayfadaki diğer bölüm
 * başlıklarıyla aynı ölçeğe çekilir ve kehribar ölçü çentiğini alır.
 */
.section-latest-posts > .container-site > h2 {
	position: relative;
	margin: 0 0 0.5rem;
	padding-top: 1.5rem;
	font-size: var(--sp-step-h2);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.025em;
	color: var(--color-ink);
}

.section-latest-posts > .container-site > h2::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 1.75rem;
	height: 3px;
	background-color: var(--sp-accent);
}

.section-latest-posts .grid,
.section-latest-posts [class*="grid"] {
	margin-top: 2.25rem;
}

.entry-card {
	gap: 0.625rem;
	padding: 1.375rem;
	border-radius: var(--sp-radius-lg);
	transition: border-color 180ms ease, box-shadow 180ms ease,
		transform 180ms ease;
}

.entry-card:hover {
	border-color: var(--color-ink);
	box-shadow: var(--sp-shadow-md);
	transform: translateY(-2px);
}

.entry-card .entry-title {
	font-size: 1.125rem;
	letter-spacing: -0.015em;
	line-height: 1.3;
}

.entry-card .entry-title a:hover {
	color: var(--color-primary);
}

h1.entry-title,
.page-title {
	font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

/* Yazı gövdesi: okuma ritmi ve başlık hiyerarşisi. */
.entry-content {
	font-size: 1.0625rem;
	line-height: 1.78;
}

.entry-content h2 {
	margin-top: 2em;
	font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
	font-weight: 800;
	letter-spacing: -0.022em;
	line-height: 1.22;
	text-wrap: balance;
}

.entry-content h3 {
	margin-top: 1.75em;
	font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
	font-weight: 700;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.entry-content > h2:first-child,
.entry-content > h3:first-child {
	margin-top: 0;
}

.entry-content a {
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	font-weight: 600;
}

.entry-content blockquote {
	border-left-width: 3px;
	border-left-color: var(--sp-accent);
	font-style: normal;
	color: var(--color-ink);
	font-size: 1.0625rem;
}

.entry-content img,
.entry-content figure img {
	border-radius: var(--sp-radius-lg);
}

.entry-content figure {
	margin-block: 1.75em;
}

.entry-content ul li::marker {
	color: var(--color-primary);
}

.entry-content ol li::marker {
	color: var(--color-primary);
	font-weight: 700;
}

.breadcrumbs {
	margin-bottom: 1.25rem;
}

.pagination .page-numbers.current {
	background-color: var(--color-ink);
	border-color: var(--color-ink);
}

/* ------------------------------------------------------------------ */
/* 9. Footer                                                           */
/* ------------------------------------------------------------------ */

.site-footer {
	margin-top: 0;
	padding: 0;
	background-color: var(--sp-deep);
	border-top: 0;
	color: var(--sp-deep-muted);
}

.site-footer a {
	color: var(--sp-deep-muted);
	text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
	color: var(--sp-accent);
	text-decoration: none;
}

.site-footer .container-site {
	padding-block: 0;
}

.sp-footer {
	display: grid;
	gap: 2.25rem;
	padding-block: clamp(2.75rem, 5vw, 4rem) 2.25rem;
}

@media (min-width: 760px) {
	.sp-footer {
		grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
		gap: 2.5rem;
	}
}

@media (min-width: 1060px) {
	.sp-footer {
		grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
		gap: 3rem;
	}
}

.sp-footer__logo {
	display: inline-block;
	line-height: 0;
}

.sp-footer__logo img,
.sp-footer__logo svg {
	height: 2.75rem;
	width: auto;
}

.sp-footer__about {
	margin: 1.125rem 0 0;
	max-width: 40ch;
	font-size: 0.9375rem;
	line-height: 1.7;
}

.sp-footer__title {
	margin: 0 0 0.875rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
}

.sp-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.sp-footer__list li + li {
	margin-top: 0.625rem;
}

.sp-footer__contact li {
	display: grid;
	grid-template-columns: 1.125rem minmax(0, 1fr);
	gap: 0.625rem;
	align-items: start;
}

.sp-footer__contact svg {
	width: 1.125rem;
	height: 1.125rem;
	margin-top: 0.1875rem;
	color: var(--sp-accent);
}

.sp-footer__contact a {
	color: #fff;
	font-weight: 600;
}

.footer-alt {
	border-top: 1px solid var(--sp-deep-line);
	padding-block: 1.375rem 1.75rem;
	gap: 0.75rem;
}

.footer-menu a {
	font-size: 0.875rem;
}

.site-info {
	color: var(--sp-deep-muted);
	font-size: 0.8125rem;
}

/* ------------------------------------------------------------------ */
/* 10. Hareket tercihi                                                 */
/* ------------------------------------------------------------------ */

/*
 * Parent, süreleri @layer base içinde !important ile kısıtlar; !important
 * kurallarında katman sırası TERS işlediği için child'ın katmansız kuralı
 * onu ezemez (bkz. DESIGN_MODE.md). Parent'ın halletmediği üç şey burada
 * kapatılır: gecikmeler, varış durumları ve başlangıç durumları.
 */
@media (prefers-reduced-motion: reduce) {
	.btn,
	.entry-card,
	.sp-cell,
	.sp-cell__icon,
	.menu > li > a::after {
		transition-delay: 0s;
	}

	/* Varış durumları: hareketi tek karede zıplatmak yerine hiç yaşanmasın. */
	.btn:active,
	.entry-card:hover {
		transform: none;
	}

	/* Başlangıç durumu: altı çizgi animasyonla değil, doğrudan görünür. */
	.menu > li > a:hover::after,
	.menu > li > a:focus-visible::after,
	.menu > li.current-menu-item > a::after,
	.menu > li.current_page_item > a::after,
	.menu > li.current-menu-parent > a::after {
		transform: none;
		transition: none;
	}

	.site-header {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		background-color: var(--color-surface);
	}
}

/* ------------------------------------------------------------------ */
/* 11. Görseller                                                       */
/* ------------------------------------------------------------------ */

/*
 * Bütün proje görselleri `wp_get_attachment_image()` ile basılır; bu yüzden
 * width/height öznitelikleri her zaman vardır ve düzen kayması (CLS) olmaz.
 * Buradaki kurallar yalnızca kırpma ve çerçeveyi belirler.
 */

.sp-figure {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: var(--sp-radius-lg);
	background-color: var(--color-surface-alt);
}

.sp-figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --- 11.1 Hero görseli --------------------------------------------- */

.sp-hero__figure {
	aspect-ratio: 16 / 10;
	margin-bottom: 1.5rem;
	border: 1px solid var(--sp-deep-line);
	background-color: var(--sp-deep-raised);
}

/* Kehribar ölçü köşesi: markanın çentiği fotoğrafın üstünde de sürer. */
.sp-hero__figure::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 3.25rem;
	height: 4px;
	background-color: var(--sp-accent);
}

/*
 * Masaüstünde 4/3 denendi: sağ sütun sol sütundan ~400px uzun kalıyor ve
 * solda büyük bir boşluk oluşuyordu. 16/10 + iki sütunlu kanıt listesi
 * iki sütunu dengeliyor.
 */
@media (min-width: 1000px) {
	.sp-hero__figure {
		aspect-ratio: 16 / 10;
	}
}

@media (min-width: 1180px) {
	/* İki sütunlu panel daha geniş bir sağ sütun ister. */
	.sp-hero__inner {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	}

	.sp-hero__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 1.5rem;
	}

	/* İki sütunda üst çizgi satır başına değil, ilk satır hariç herkese. */
	.sp-hero__list li + li {
		border-top: 0;
	}

	.sp-hero__list li:nth-child(n + 3) {
		border-top: 1px solid var(--sp-deep-line);
	}
}

/* Hero yan sütunu: görsel üstte, kanıt paneli altında. */
.sp-hero__aside {
	display: flex;
	flex-direction: column;
}

/* Görsel varken panel onunla aynı genişlikte, üst kenarı bitişik durur. */
.sp-hero__figure + .sp-hero__panel {
	margin-top: 0;
}

/* --- 11.2 Mozaik şerit (sp-showcase) -------------------------------- */

.sp-mosaic {
	display: grid;
	gap: 1px;
	margin-top: 2.75rem;
	background-color: var(--color-line);
	border: 1px solid var(--color-line);
	border-radius: var(--sp-radius-lg);
	overflow: hidden;
}

@media (min-width: 620px) {
	.sp-mosaic {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.sp-mosaic {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	/* İlk kare iki sütun/iki satır kaplar — şeridin çapası olur. */
	.sp-shot--lead {
		grid-column: span 2;
		grid-row: span 2;
	}
}

.sp-shot {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 3;
	background-color: var(--color-surface-alt);
	overflow: hidden;
}

.sp-shot img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}

.sp-shot:hover img {
	transform: scale(1.03);
}

/* Alt yazı okunurluğu için yalnızca alt bölgeye düşen degrade. */
.sp-shot figcaption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 2.5rem 1rem 0.9375rem;
	background-image: linear-gradient(to top, rgb(20 24 29 / 0.82), transparent);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.35;
}

.sp-shot--lead figcaption {
	font-size: 1rem;
	padding-bottom: 1.125rem;
}

/* --- 11.3 Yazı ve sayfa görselleri ---------------------------------- */

.entry-card img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

/* Öne çıkan görsel: tekil yazı ve sayfa başında. */
.sp-featured {
	margin-bottom: 1.75rem;
	aspect-ratio: 16 / 9;
	border: 1px solid var(--color-line);
}

@media (prefers-reduced-motion: reduce) {
	.sp-shot img,
	.sp-shot:hover img {
		transition: none;
		transform: none;
	}
}
