/* ==========================================================================
   Proje sayfası (templates/project-single.php)
   Giriş: kapak karanlıkta açılır, "ışıklar yanar"; ışık sahneleri varsa sırayla değişir.
   ========================================================================== */

/* Proje sayfasında bölümler arası boşluk sitenin genelinden daha sıkı: içerik kısa, sayfa yorucu uzamasın. */
.motto-project .motto-sec {
	padding-top: clamp(40px, 4.4vw, 72px);
	padding-bottom: clamp(40px, 4.4vw, 72px);
}

.motto-project .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Giriş
   ----------------------------------------------------------------------- */
.motto-ph {
	--focus: 50% 50%;
	position: relative;
	z-index: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 100svh;
	margin-top: calc(var(--motto-hdr-h) * -1);
	padding: calc(var(--motto-hdr-h) + 40px) var(--motto-pad) clamp(118px, 11vw, 168px);
	overflow: hidden;
	isolation: isolate;
	background: #050505;
	color: #fff;
}

.motto-ph__media {
	position: absolute;
	z-index: -3;
	inset: 0;
}

.motto-ph__scene {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	transition: opacity 1.8s ease;
}

.motto-ph__scene.is-on {
	opacity: 1;
}

.motto-ph__scene img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--focus);
}

/* Işıklar yanıyor: kapak karanlık ve renksiz başlar, yavaşça aydınlanır ve geri çekilir. */
.motto-js .motto-ph__media {
	filter: brightness(0.06) saturate(0);
	transform: scale(1.14);
	transition: filter 2.8s cubic-bezier(0.55, 0, 0.2, 1) 0.15s, transform 8s var(--motto-ease-out);
}

.motto-js .motto-ph.is-ready .motto-ph__media {
	filter: none;
	transform: none;
}

.motto-ph__veil {
	position: absolute;
	z-index: -2;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(5, 5, 5, 0.72) 0%, rgba(5, 5, 5, 0) 26%),
		linear-gradient(0deg, var(--motto-bg) 0%, rgba(18, 18, 18, 0.82) 20%, rgba(18, 18, 18, 0) 58%),
		radial-gradient(70% 60% at 0% 100%, rgba(0, 0, 0, 0.6), transparent 72%);
	pointer-events: none;
}

.motto-ph__inner {
	width: 100%;
	max-width: 1120px;
}

.motto-ph__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: clamp(18px, 2vw, 28px);
	color: rgba(255, 255, 255, 0.6);
	font-size: 12.5px;
	font-weight: 500;
}

.motto-ph__crumbs a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease;
}

.motto-ph__crumbs a:hover {
	color: #fff;
}

.motto-ph__eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	color: var(--motto-gold);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.motto-ph__eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
	background: currentColor;
}

.motto-ph .motto-ph__title {
	margin: 0;
	color: #fff;
	font-size: clamp(40px, 6.6vw, 112px);
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 0.98;
}

.motto-ph__word {
	display: inline-block;
	overflow: hidden;
	padding-bottom: 0.08em;
	margin-bottom: -0.08em;
	vertical-align: top;
}

.motto-ph__word > span {
	display: inline-block;
	background: linear-gradient(100deg, #fff 0 42%, #f6dfa8 50%, #fff 58% 100%);
	background-position: 100% 0;
	background-size: 260% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.motto-js .motto-ph__word > span {
	transform: translateY(108%);
	transition: transform 1.1s var(--motto-ease-out) calc(var(--w) * 70ms + 0.9s);
}

.motto-js .motto-ph.is-ready .motto-ph__word > span {
	transform: none;
	animation: motto-ph-shine 1.8s ease calc(var(--w) * 70ms + 2s) 1 both;
}

@keyframes motto-ph-shine {
	from {
		background-position: 100% 0;
	}

	to {
		background-position: 0 0;
	}
}

.motto-ph__lead {
	max-width: 62ch;
	margin: clamp(18px, 2vw, 28px) 0 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: clamp(15.5px, 1.2vw, 19px);
	line-height: 1.65;
}

.motto-js .motto-ph__lead,
.motto-js .motto-ph__crumbs,
.motto-js .motto-ph__eyebrow,
.motto-js .motto-ph__scenes {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 1s ease, transform 1.2s var(--motto-ease-out);
}

.motto-js .motto-ph.is-ready .motto-ph__crumbs,
.motto-js .motto-ph.is-ready .motto-ph__eyebrow {
	opacity: 1;
	transform: none;
	transition-delay: 0.7s;
}

.motto-js .motto-ph.is-ready .motto-ph__lead {
	opacity: 1;
	transform: none;
	transition-delay: 1.5s;
}

.motto-js .motto-ph.is-ready .motto-ph__scenes {
	opacity: 1;
	transform: none;
	transition-delay: 1.9s;
}

/* Işık sahneleri: her sahnenin çubuğu dolunca sıradakine geçilir (project.js). */
.motto-ph__scenes {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px 22px;
	margin-top: clamp(24px, 3vw, 40px);
}

.motto-ph__scenes-label {
	padding-bottom: 6px;
	color: var(--motto-gold);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.motto-ph button.motto-ph__dot {
	display: flex;
	flex-direction: column;
	gap: 9px;
	min-width: clamp(96px, 9vw, 132px);
	margin: 0;
	padding: 6px 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: rgba(255, 255, 255, 0.55);
	font: inherit;
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	cursor: pointer;
	transition: color 0.4s ease;
}

.motto-ph button.motto-ph__dot:hover,
.motto-ph button.motto-ph__dot[aria-pressed="true"] {
	background: none;
	color: #fff;
}

.motto-ph button.motto-ph__dot:focus-visible {
	outline: 2px solid var(--motto-gold);
	outline-offset: 4px;
}

.motto-ph__dot-bar {
	display: block;
	height: 2px;
	overflow: hidden;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.22);
}

.motto-ph__dot-bar i {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--motto-gold);
	transform: scaleX(0);
	transform-origin: left;
}

.motto-ph.is-ready .motto-ph__dot[aria-pressed="true"] .motto-ph__dot-bar i {
	animation: motto-ph-fill 6.5s linear forwards;
}

.motto-ph.is-paused .motto-ph__dot[aria-pressed="true"] .motto-ph__dot-bar i {
	animation-play-state: paused;
}

@keyframes motto-ph-fill {
	to {
		transform: scaleX(1);
	}
}

.motto-ph__down {
	position: absolute;
	right: var(--motto-pad);
	bottom: clamp(118px, 11vw, 168px);
	display: block;
	width: 1px;
	height: 64px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.22);
}

.motto-ph__down span {
	position: absolute;
	top: -40%;
	left: 0;
	width: 1px;
	height: 40%;
	background: #fff;
	animation: motto-ph-down 2.2s var(--motto-ease) infinite;
}

.motto-ph__down:focus-visible {
	outline: 2px solid var(--motto-gold);
	outline-offset: 6px;
}

@keyframes motto-ph-down {
	to {
		top: 110%;
	}
}

/* --------------------------------------------------------------------------
   Künye: girişin altına binen cam kart
   ----------------------------------------------------------------------- */
.motto-pfacts {
	position: relative;
	z-index: 2;
	margin-top: calc(clamp(56px, 6vw, 92px) * -1);
	padding: 0 var(--motto-pad);
}

.motto-pfacts__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	margin: 0;
	padding: clamp(18px, 2vw, 28px) clamp(18px, 2.4vw, 36px);
	border-radius: 22px;
	background: rgba(20, 20, 20, 0.74);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 70px -34px rgba(0, 0, 0, 0.9);
	-webkit-backdrop-filter: blur(18px) saturate(1.3);
	backdrop-filter: blur(18px) saturate(1.3);
}

.motto-pfacts__item {
	padding: 6px clamp(14px, 1.6vw, 26px);
	border-left: 1px solid var(--motto-line);
}

.motto-pfacts__item:first-child {
	padding-left: 0;
	border-left: 0;
}

.motto-pfacts dt {
	margin: 0 0 8px;
	color: var(--motto-gold);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.motto-pfacts dd {
	margin: 0;
	color: #fff;
	font-size: clamp(14px, 1.05vw, 16px);
	font-weight: 600;
	line-height: 1.4;
}

/* Künyedeki ürün bağlantıları (ör. kontrol sistemi → ürün sayfası). */
.motto-pfacts dd a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--motto-gold);
	text-underline-offset: 4px;
	transition: color 0.3s ease;
}

.motto-pfacts dd a:hover {
	color: var(--motto-gold);
}

@media (max-width: 767px) {
	.motto-pfacts__list {
		grid-template-columns: minmax(0, 1fr);
		padding: 8px 20px;
	}

	.motto-pfacts__item,
	.motto-pfacts__item:first-child {
		display: grid;
		grid-template-columns: 104px minmax(0, 1fr);
		gap: 12px;
		align-items: baseline;
		padding: 13px 0;
		border-top: 1px solid var(--motto-line);
		border-left: 0;
	}

	.motto-pfacts__item:first-child {
		border-top: 0;
	}

	.motto-pfacts dt {
		margin: 0;
	}
}

/* --------------------------------------------------------------------------
   Proje anlatımı: metin solda, okudukça değişen dikey görsel sağda (sabit kalır).
   Etkin bölüm parlak, diğerleri soluk; telefonda her bölümün görseli metnin üstünde.
   ----------------------------------------------------------------------- */
/* Künye kartının hemen altında başlar; altındaki imza bölümü kendi boşluğunu getirir. */
.motto-project .motto-pstory {
	padding-top: clamp(40px, 4.4vw, 72px);
	padding-bottom: clamp(20px, 2.4vw, 36px);
}

/* Diğer bölümler gibi kenar boşluğuna kadar uzanır; yalnızca metin satırları okunaklı uzunlukta kalır. */
.motto-pstory__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.motto-pstory.has-visual .motto-pstory__grid {
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(40px, 5vw, 96px);
	align-items: start;
}

.motto-pstory__col {
	max-width: 860px;
}

.motto-pstep {
	transition: opacity 0.6s ease;
}

/* Bölümler arası boşluk: sitenin genel metin biçimindeki (site.css) geniş ara başlık boşlukları burada daralır. */
.motto-pstory .motto-legal .motto-prose h2 {
	margin: 30px 0 14px;
	padding-top: 26px;
}

.motto-pstory .motto-prose p,
.motto-pstory .motto-prose ul {
	margin-bottom: 14px;
}

/* Geniş ekranda metin sütunu genişlediği için yazı da biraz büyür (satır başına düşen sözcük dengeli kalır). */
.motto-pstory .motto-prose p,
.motto-pstory .motto-prose li {
	font-size: clamp(15px, 1vw, 17px);
	line-height: 1.75;
}

.motto-pstory .motto-prose li {
	margin-bottom: 8px;
}

.motto-pstep > :last-child {
	margin-bottom: 0;
}

.motto-pstep:first-child > p {
	color: #fff;
	font-size: clamp(18px, 1.45vw, 22px);
	line-height: 1.65;
}

.motto-pstep__img {
	display: none;
}

/* Görsel dizisi: anlatımın yanında sabit durur; kareler kendiliğinden (6 sn) ya da okla/tıklamayla geçer.
 * Üstteki çizgiler hangi karede olunduğunu ve sıradakine kalan süreyi gösterir. */
.motto-pstory__visual {
	position: sticky;
	top: calc(var(--motto-hdr-h) + 24px);
}

.motto-pstory__frame {
	position: relative;
	aspect-ratio: 4 / 5;
	max-height: calc(100svh - var(--motto-hdr-h) - 56px);
	width: 100%;
	overflow: hidden;
	border-radius: 26px;
	background: #0b0b0b;
	box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
	cursor: pointer;
	outline: none;
}

.motto-pstory__frame:focus-visible {
	box-shadow: 0 0 0 2px var(--motto-gold), 0 40px 90px -50px rgba(0, 0, 0, 0.95);
}

.motto-pstory__shot {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	transition: opacity 1s ease;
}

.motto-pstory__shot.is-on {
	z-index: 1;
	opacity: 1;
}

.motto-pstory__shot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.06);
	transition: transform 7s cubic-bezier(0.2, 0.6, 0.3, 1);
}

.motto-pstory__shot.is-on img {
	transform: scale(1);
}

.motto-pstory__bars {
	position: absolute;
	z-index: 3;
	top: 20px;
	right: 22px;
	left: 22px;
	display: flex;
	gap: 6px;
	pointer-events: none;
}

.motto-pstory__bars span {
	flex: 1 1 0;
	height: 3px;
	overflow: hidden;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.24);
}

.motto-pstory__bars i {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--motto-gold);
	transform: scaleX(0);
	transform-origin: left center;
}

.motto-pstory__bars span.is-done i {
	transform: scaleX(1);
}

.motto-pstory__bars span.is-on i {
	animation: motto-reel-fill var(--motto-reel, 6s) linear forwards;
}

.motto-pstory__frame.is-paused .motto-pstory__bars span.is-on i,
.motto-pstory__frame.is-manual .motto-pstory__bars span.is-on i {
	animation-play-state: paused;
}

.motto-pstory__frame.is-manual .motto-pstory__bars span.is-on i {
	animation: none;
	transform: scaleX(1);
}

@keyframes motto-reel-fill {
	to {
		transform: scaleX(1);
	}
}

/* Önceki / sonraki: üzerine gelince belirir; dokunmatikte hep görünür. */
.motto-project .motto-pstory__nav {
	position: absolute;
	z-index: 3;
	top: 50%;
	display: grid;
	place-items: center;
	width: 46px;
	min-width: 0;
	height: 46px;
	margin: -23px 0 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(10, 10, 10, 0.55);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
	color: #fff;
	font-size: 0;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.35s ease, background-color 0.3s ease, color 0.3s ease;
}

.motto-project .motto-pstory__nav .motto-icon {
	width: 18px;
	height: 18px;
}

.motto-project .motto-pstory__nav--prev {
	left: 16px;
}

.motto-project .motto-pstory__nav--prev .motto-icon {
	transform: rotate(180deg);
}

.motto-project .motto-pstory__nav--next {
	right: 16px;
}

.motto-pstory__frame:hover .motto-pstory__nav,
.motto-pstory__frame:focus-within .motto-pstory__nav {
	opacity: 1;
}

.motto-project .motto-pstory__nav:hover,
.motto-project .motto-pstory__nav:focus-visible {
	background: var(--motto-gold);
	color: #121212;
}

@media (hover: none) {
	.motto-project .motto-pstory__nav {
		opacity: 1;
	}
}

.motto-pstory__meta {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding: 70px 24px 22px;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
	pointer-events: none;
}

.motto-pstory__count {
	flex: none;
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.08em;
}

.motto-pstory__count b {
	color: #fff;
	font-size: 28px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.motto-pstory__label {
	max-width: 70%;
	color: rgba(255, 255, 255, 0.86);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
	text-align: right;
}

@media (max-width: 1023px) {
	.motto-pstory.has-visual .motto-pstory__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.motto-pstory__visual {
		display: none;
	}

	/* Telefonda bölümleri görselleri ayırır; ara başlığın üstündeki çizgi ve boşluk gerekmez. */
	.motto-pstep + .motto-pstep {
		margin-top: 36px;
	}

	.motto-pstory .motto-legal .motto-prose .motto-pstep__img + h2 {
		margin-top: 0;
		padding-top: 0;
		border-top: 0;
	}

	.motto-pstep__img {
		display: block;
		aspect-ratio: 4 / 3;
		margin: 0 0 20px;
		overflow: hidden;
		border-radius: 16px;
		background: #0b0b0b;
	}

	.motto-pstep__img img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

.motto-pshare {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: clamp(30px, 3vw, 46px);
	padding-top: 22px;
	border-top: 1px solid var(--motto-line);
}

.motto-pshare__label {
	margin-right: 6px;
	color: var(--motto-ink-3);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.motto-pshare a {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px var(--motto-line);
	color: var(--motto-ink-2);
	transition: background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.motto-pshare svg {
	width: 16px;
	height: 16px;
}

.motto-pshare a:hover,
.motto-pshare a:focus-visible {
	background: var(--motto-gold);
	box-shadow: none;
	color: #141414;
}

.motto-sec button.motto-pshare__copy {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: 999px;
	background: none;
	box-shadow: inset 0 0 0 1px var(--motto-line);
	color: var(--motto-ink-2);
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	text-transform: none;
	cursor: pointer;
	transition: color 0.35s ease, box-shadow 0.35s ease;
}

.motto-sec button.motto-pshare__copy:hover,
.motto-sec button.motto-pshare__copy.is-done {
	background: none;
	box-shadow: inset 0 0 0 1px var(--motto-gold);
	color: var(--motto-gold);
}

/* --------------------------------------------------------------------------
   Işık sahneleri: sürükleyerek karşılaştırma
   ----------------------------------------------------------------------- */

/* Tutamaçtaki iki ok. */

/* --------------------------------------------------------------------------
   Projeden kareler: tek sıralık küçük şerit; tıklanınca büyür (blocks.js).
   ----------------------------------------------------------------------- */
.motto-project .motto-pgallery {
	padding-top: clamp(32px, 3.4vw, 56px);
}

.motto-pgallery__top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px 40px;
	margin-bottom: clamp(22px, 2.6vw, 36px);
}

.motto-pgallery__top .motto-sec__head {
	margin-bottom: 0;
}

.motto-pgallery__count {
	margin: 0;
	color: var(--motto-ink-3);
	font-size: 12.5px;
	font-weight: 500;
}

.motto-pgallery__count b {
	margin-right: 4px;
	color: #fff;
	font-size: 22px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.motto-pgallery__strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: clamp(10px, 1.1vw, 16px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.motto-pgallery__item a {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 16px;
	background: #0c0c0c;
}

.motto-pgallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--motto-ease-out);
}

.motto-pgallery__item a:hover img,
.motto-pgallery__item a:focus-visible img {
	transform: scale(1.06);
}

.motto-pgallery__item a:focus-visible {
	outline: 2px solid var(--motto-gold);
	outline-offset: 3px;
}

.motto-pgallery__zoom {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	border-radius: 50%;
	background: var(--motto-gold);
	color: #141414;
	opacity: 0;
	transform: scale(0.6);
	transition: opacity 0.4s ease, transform 0.6s var(--motto-ease-out);
}

.motto-pgallery__zoom svg {
	width: 14px;
	height: 14px;
}

.motto-pgallery__item a:hover .motto-pgallery__zoom,
.motto-pgallery__item a:focus-visible .motto-pgallery__zoom {
	opacity: 1;
	transform: none;
}

/* Telefonda yana kaydırılan şerit. */
@media (max-width: 767px) {
	.motto-pgallery__strip {
		grid-auto-columns: 64%;
		grid-auto-flow: column;
		grid-template-columns: none;
		margin-inline: calc(var(--motto-pad) * -1);
		padding: 0 var(--motto-pad) 4px;
		overflow-x: auto;
		scroll-padding-inline: var(--motto-pad);
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.motto-pgallery__strip::-webkit-scrollbar {
		display: none;
	}

	.motto-pgallery__item {
		scroll-snap-align: start;
	}
}

/* --------------------------------------------------------------------------
   Kullanılan ürünler ve kavramlar
   ----------------------------------------------------------------------- */
.motto-pproducts__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr));
	gap: clamp(12px, 1.4vw, 20px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.motto-sec .motto-pprod {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	height: 100%;
	min-height: 0;
	padding: 0;
}

.motto-pprod__media {
	position: relative;
	display: grid;
	place-items: center;
	isolation: isolate;
	min-height: 240px;
	overflow: hidden;
	background: radial-gradient(120% 90% at 50% 40%, #fffbf2, #efe8da 70%, #e3d9c6);
}

.motto-pprod__media img {
	width: 86%;
	height: 86%;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform 1s var(--motto-ease-out);
}

.motto-pprod:hover .motto-pprod__media img {
	transform: scale(1.06);
}

/* Saydam ürün görseli koyu levhada (MADRIX ürün kartları ve menüdeki ürün gruplarıyla aynı). */
.motto-pprod__media.is-plate {
	background:
		radial-gradient(60% 46% at 50% 92%, rgba(255, 255, 255, 0.1), transparent 70%),
		radial-gradient(80% 70% at 50% 40%, #1b1b1b, #0b0b0b 76%);
}

.motto-pprod__media.is-plate::after {
	content: "";
	position: absolute;
	z-index: -1;
	right: 22%;
	bottom: 16%;
	left: 22%;
	height: 9%;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.7);
	filter: blur(10px);
}

.motto-pprod__media.is-plate img {
	width: 80%;
	height: 80%;
	mix-blend-mode: normal;
	transition: transform 0.8s var(--motto-ease-out), filter 0.8s ease;
}

.motto-pprod:hover .motto-pprod__media.is-plate img {
	filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.55));
	transform: translateY(-6px) scale(1.04);
}

.motto-pprod__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(20px, 2vw, 30px);
}

.motto-pprod__body small {
	color: var(--motto-gold);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.motto-sec .motto-pprod__title {
	margin: 0;
	color: #fff;
	font-size: clamp(22px, 1.9vw, 30px);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.motto-pprod__role {
	color: var(--motto-ink-2);
	font-size: 14.5px;
	line-height: 1.6;
}

.motto-pprod__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.motto-pprod__chips span {
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	box-shadow: inset 0 0 0 1px var(--motto-line);
	color: var(--motto-ink-2);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.motto-pprod__go {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 6px;
	color: var(--motto-gold);
	font-size: 13px;
	font-weight: 600;
	transition: gap 0.5s var(--motto-ease-out);
}

.motto-pprod__go svg {
	width: 14px;
	height: 14px;
}

.motto-pprod:hover .motto-pprod__go {
	gap: 13px;
}

@media (max-width: 559px) {
	.motto-sec .motto-pprod {
		grid-template-columns: minmax(0, 1fr);
	}

	.motto-pprod__media {
		min-height: 200px;
	}
}

.motto-pknow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
	margin-top: clamp(24px, 3vw, 40px);
	padding: 18px clamp(18px, 2vw, 26px);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.03);
	box-shadow: inset 0 0 0 1px var(--motto-line);
}

.motto-pknow__label {
	margin: 0;
	color: var(--motto-gold);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.motto-pknow ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.motto-pknow a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px var(--motto-line);
	color: var(--motto-ink);
	font-size: 13.5px;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.motto-pknow a svg {
	width: 12px;
	height: 12px;
	color: var(--motto-gold);
}

.motto-pknow a:hover,
.motto-pknow a:focus-visible {
	background: rgba(201, 160, 80, 0.08);
	box-shadow: inset 0 0 0 1px var(--motto-gold);
	color: var(--motto-gold);
}

/* --------------------------------------------------------------------------
   Proje imzası: köprü askıları gibi sırayla yanan ışık çubukları
   ----------------------------------------------------------------------- */
.motto-psign {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(48px, 5.2vw, 84px) var(--motto-pad);
	text-align: center;
}

.motto-psign__bars {
	position: absolute;
	z-index: -1;
	inset: 0;
	display: flex;
	justify-content: space-between;
	padding: 0 clamp(12px, 5vw, 90px);
	-webkit-mask-image: radial-gradient(65% 75% at 50% 50%, #000 25%, transparent 78%);
	mask-image: radial-gradient(65% 75% at 50% 50%, #000 25%, transparent 78%);
	pointer-events: none;
}

.motto-psign__bars i {
	width: 2px;
	border-radius: 2px;
	background: linear-gradient(180deg, transparent, rgba(201, 160, 80, 0.95) 50%, transparent);
	opacity: 0.08;
	animation: motto-psign-chase 4.6s ease-in-out infinite;
	animation-delay: calc(var(--i) * 95ms);
}

@keyframes motto-psign-chase {
	0%,
	100% {
		opacity: 0.07;
		transform: scaleY(0.55);
	}

	35% {
		opacity: 0.75;
		transform: scaleY(1);
	}

	65% {
		opacity: 0.07;
	}
}

.motto-psign__inner {
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
}

.motto-psign__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 clamp(22px, 2.6vw, 36px);
	color: var(--motto-gold);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.motto-psign__eyebrow::before,
.motto-psign__eyebrow::after {
	content: "";
	width: 28px;
	height: 1px;
	background: currentColor;
}

.motto-psign__text {
	margin: 0;
	color: #fff;
	font-size: clamp(38px, 6.4vw, 104px);
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 1.02;
}

.motto-psign__text em {
	color: var(--motto-gold);
	font-style: normal;
}

.motto-psign__by {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: clamp(26px, 3vw, 40px) 0 0;
	color: var(--motto-ink-2);
	font-size: 14px;
	font-weight: 500;
}

.motto-psign__mark {
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	border-radius: 50%;
	background: var(--motto-gold);
	color: #141414;
	font-size: 13px;
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   Kullanılan ürünler ve konum yan yana: ürün sütunu ne kadar uzunsa harita onu doldurur
   (en az 300, en çok 560 px). Biri yoksa diğeri tek başına, ölçülü boyda.
   ----------------------------------------------------------------------- */
.motto-pduo__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(36px, 4vw, 64px);
}

.motto-pduo.is-duo .motto-pduo__grid {
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	align-items: stretch;
}

.motto-pduo__col {
	display: flex;
	flex-direction: column;
	min-width: 0;
	scroll-margin-top: calc(var(--motto-hdr-h) - 14px);
}

.motto-pduo .motto-sec__head {
	margin-bottom: clamp(18px, 2vw, 28px);
}

.motto-sec .motto-pduo .motto-h2 {
	font-size: clamp(26px, 2.5vw, 38px);
}

.motto-pduo .motto-sec__text {
	margin-top: 12px;
}

.motto-pduo.is-duo .motto-pproducts__list {
	grid-template-columns: minmax(0, 1fr);
}

.motto-pduo.is-duo .motto-pprod__media {
	min-height: 200px;
}

.motto-pmap__coords {
	margin: 12px 0 0;
	color: var(--motto-ink-2);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.06em;
}

.motto-pmap__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
}

.motto-pmap__map {
	position: relative;
	flex: 1 1 auto;
	min-height: 300px;
	max-height: 560px;
	overflow: hidden;
	border-radius: 22px;
	background: #0c0c0c;
	box-shadow: inset 0 0 0 1px var(--motto-line);
}

.motto-pduo:not(.is-duo) .motto-pmap__map {
	flex: none;
	aspect-ratio: 21 / 9;
	min-height: 0;
	max-height: 420px;
}

.motto-pmap__map iframe {
	position: absolute;
	z-index: 1;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	filter: invert(0.92) hue-rotate(180deg) grayscale(0.55) contrast(0.92) brightness(0.96);
	opacity: 0;
	transition: opacity 0.6s ease;
}

.motto-pmap__map.is-loaded iframe {
	opacity: 1;
}

/* Harita gelene kadar sakin bir yazı; gelmezse Google Haritalar bağlantısı. */
.motto-pmap__wait,
.motto-pmap__fallback {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 24px;
	color: var(--motto-ink-3);
	font-size: 13px;
	letter-spacing: 0.04em;
	text-align: center;
}

.motto-pmap__wait .motto-icon,
.motto-pmap__fallback .motto-icon {
	flex: none;
	width: 18px;
	height: 18px;
	color: var(--motto-gold);
}

.motto-pmap__map.is-loaded .motto-pmap__wait,
.motto-pmap__map.is-failed .motto-pmap__wait {
	display: none;
}

.motto-pmap__fallback,
.motto-pmap__fallback:visited {
	z-index: 2;
	display: none;
	color: var(--motto-ink-2);
	text-decoration: none;
	transition: color 0.3s ease;
}

.motto-pmap__fallback:hover {
	color: #fff;
}

.motto-pmap__map.is-failed .motto-pmap__fallback {
	display: flex;
}

/* Konum noktasında yayılan altın halkalar. */
/* Harita yüklendikten sonra konum noktasında üç kez yayılır (sürekli dönen bir "yükleniyor" simgesine benzemesin). */
.motto-pmap__pulse {
	position: absolute;
	z-index: 2;
	display: none;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	pointer-events: none;
}

.motto-pmap__map.is-loaded .motto-pmap__pulse {
	display: block;
}

.motto-pmap__pulse::before,
.motto-pmap__pulse::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--motto-gold);
	opacity: 0;
	animation: motto-pmap-pulse 2.6s ease-out 3 both;
}

.motto-pmap__pulse::after {
	animation-delay: 1.3s;
}

@keyframes motto-pmap-pulse {
	from {
		opacity: 0.9;
		transform: scale(1);
	}

	to {
		opacity: 0;
		transform: scale(7);
	}
}

@media (max-width: 1023px) {
	.motto-pduo.is-duo .motto-pduo__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.motto-pduo .motto-pmap__map,
	.motto-pduo:not(.is-duo) .motto-pmap__map {
		flex: none;
		aspect-ratio: 4 / 3;
		min-height: 0;
		max-height: none;
	}
}

/* --------------------------------------------------------------------------
   Diğer projeler
   ----------------------------------------------------------------------- */
.motto-prelated__top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 40px;
	margin-bottom: clamp(28px, 3.4vw, 52px);
}

.motto-prelated__top .motto-sec__head {
	margin-bottom: 0;
}

.motto-prelated__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(12px, 1.4vw, 20px);
}

.motto-pcard {
	display: flex;
	flex-direction: column;
	color: #fff;
	text-decoration: none;
}

.motto-pcard__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 18px;
	background: #0c0c0c;
}

.motto-pcard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--motto-ease-out);
}

.motto-pcard:hover .motto-pcard__media img,
.motto-pcard:focus-visible .motto-pcard__media img {
	transform: scale(1.06);
}

.motto-pcard:focus-visible {
	outline: 2px solid var(--motto-gold);
	outline-offset: 4px;
}

.motto-pcard__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 4px 0;
}

.motto-pcard__body small {
	color: var(--motto-gold);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.motto-pcard__body strong {
	font-size: clamp(17px, 1.35vw, 21px);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.motto-pcard__go {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--motto-ink-3);
	font-size: 13px;
	font-weight: 600;
	transition: color 0.3s ease, gap 0.5s var(--motto-ease-out);
}

.motto-pcard__go svg {
	width: 13px;
	height: 13px;
}

.motto-pcard:hover .motto-pcard__go {
	gap: 12px;
	color: var(--motto-gold);
}

@media (max-width: 1023px) {
	.motto-prelated__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.motto-prelated__grid {
		grid-auto-columns: 84%;
		grid-auto-flow: column;
		grid-template-columns: none;
		margin-inline: calc(var(--motto-pad) * -1);
		padding: 0 var(--motto-pad) 4px;
		overflow-x: auto;
		scroll-padding-inline: var(--motto-pad);
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.motto-prelated__grid::-webkit-scrollbar {
		display: none;
	}

	.motto-pcard {
		scroll-snap-align: start;
	}
}

/* --------------------------------------------------------------------------
   Hareket azaltma
   ----------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.motto-js .motto-ph__media,
	.motto-js .motto-ph__word > span,
	.motto-js .motto-ph__lead,
	.motto-js .motto-ph__crumbs,
	.motto-js .motto-ph__eyebrow,
	.motto-js .motto-ph__scenes,
	.motto-js .motto-pgallery__item a {
		clip-path: none;
		filter: none;
		opacity: 1;
		transform: none;
		transition: none;
		animation: none;
	}

	.motto-ph__scene {
		transition: none;
	}

	.motto-ph.is-ready .motto-ph__dot[aria-pressed="true"] .motto-ph__dot-bar i {
		animation: none;
		transform: scaleX(1);
	}

	.motto-ph__down span,
	.motto-psign__bars i,
	.motto-pmap__pulse::before,
	.motto-pmap__pulse::after {
		animation: none;
	}

	.motto-psign__bars i {
		opacity: 0.25;
	}
}
