/* ==========================================================================
   Referanslar (widgets/class-references.php): yörünge, logo duvarı, referans projeleri.
   Logolar beyaz zeminli JPG olabilir: koyu zeminde tersine çevrilip "screen" ile yalnızca çizgileri beyaz kalır;
   açık zeminde "multiply" ile beyaz zemin kaybolur, özgün renkler görünür.
   ========================================================================== */

.motto-refs {
	--motto-logo-mono: grayscale(1) invert(1) brightness(1.5) contrast(1.12);
	--motto-plate: #f4efe6;
}

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

/* --------------------------------------------------------------------------
   1) Yörünge ve sektörler
   ----------------------------------------------------------------------- */

.motto-refs-orbit {
	overflow: hidden;
}

/* Fareyi izleyen yumuşak ışık (giriş bölümündekiyle aynı; sections.js --mx/--my verir). */
.motto-refs-orbit:not(.motto-sec--line)::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(min(78vw, 820px) circle at var(--mx, 74%) var(--my, 50%), rgba(201, 160, 80, 0.12), transparent 62%);
	-webkit-mask-image: linear-gradient(to bottom, transparent, #000 120px, #000 calc(100% - 200px), transparent);
	mask-image: linear-gradient(to bottom, transparent, #000 120px, #000 calc(100% - 200px), transparent);
	pointer-events: none;
}

/* Sayfanın en üstündeki hâli (H1): giriş bölümü gibi üstte az boşluk, büyük başlık. */
.motto-refs-orbit--hero {
	padding-top: clamp(26px, 3.6vw, 60px);
}

.motto-sec .motto-refs-orbit--hero .motto-refs-orbit__title {
	font-size: clamp(38px, 4.7vw, 76px);
	letter-spacing: -0.032em;
	line-height: 1.03;
}

.motto-refs-orbit__grid {
	position: relative;
	display: grid;
	grid-template-areas:
		"text orbit"
		"list orbit";
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
	column-gap: clamp(40px, 6vw, 112px);
	align-items: center;
}

.motto-refs-orbit__text {
	grid-area: text;
	align-self: end;
	margin-bottom: 0;
}

.motto-refs-orbit__visual {
	grid-area: orbit;
}

.motto-refs__sectors {
	grid-area: list;
	align-self: start;
	margin: clamp(26px, 3vw, 44px) 0 0;
	padding: 0;
	border-top: 1px solid var(--motto-line);
	list-style: none;
}

.motto-refs__sector {
	position: relative;
	display: grid;
	grid-template-columns: 3.2ch minmax(0, 1fr) auto;
	gap: clamp(14px, 1.8vw, 26px);
	align-items: center;
	padding: clamp(15px, 1.5vw, 21px) 4px;
	border-bottom: 1px solid var(--motto-line);
	color: var(--motto-ink);
	text-decoration: none;
	transition: padding 0.6s var(--motto-ease-out);
}

/* Bir sektörde 10 ve üstü kurum varsa sayı sütunu iki basamağa göre genişler. */
.motto-refs__sectors--wide .motto-refs__sector {
	grid-template-columns: calc(clamp(30px, 2.9vw, 46px) * 1.3) minmax(0, 1fr) auto;
}

.motto-refs__sector::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 1px;
	background: linear-gradient(90deg, var(--motto-gold), rgba(201, 160, 80, 0));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.8s var(--motto-ease-out);
}

/* Bağlantılı satırlar ve bağlantısız ama aynı efektli satırlar (.is-hover, ana sayfa). */
a.motto-refs__sector:hover,
a.motto-refs__sector:focus-visible,
.motto-refs__sector.is-hover:hover {
	padding-left: 16px;
	color: var(--motto-ink);
}

a.motto-refs__sector:hover::after,
a.motto-refs__sector:focus-visible::after,
.motto-refs__sector.is-hover:hover::after {
	transform: scaleX(1);
}

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

.motto-refs__sector-n {
	color: var(--motto-gold);
	font-size: clamp(30px, 2.9vw, 46px);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.03em;
	line-height: 1;
}

.motto-refs__sector-body strong {
	display: block;
	font-size: clamp(16px, 1.25vw, 19px);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.motto-refs__sector-body small {
	display: block;
	margin-top: 5px;
	color: var(--motto-ink-3);
	font-size: 13.5px;
	line-height: 1.55;
	transition: color 0.4s ease;
}

a.motto-refs__sector:hover small,
.motto-refs__sector.is-hover:hover small {
	color: var(--motto-ink-2);
}

.motto-refs__sector-go {
	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.4s ease, color 0.4s ease, box-shadow 0.4s ease, transform 0.6s var(--motto-ease-out);
}

.motto-refs__sector-go svg {
	width: 15px;
	height: 15px;
}

a.motto-refs__sector:hover .motto-refs__sector-go,
a.motto-refs__sector:focus-visible .motto-refs__sector-go,
.motto-refs__sector.is-hover:hover .motto-refs__sector-go {
	background: var(--motto-gold);
	box-shadow: none;
	color: #141414;
	transform: translateY(3px);
}

/* Yörünge */
.motto-orbit {
	--chip: clamp(44px, 12.4cqi, 86px);
	position: relative;
	width: min(100%, 660px);
	aspect-ratio: 1;
	margin-inline: auto;
	container-type: inline-size;
}

/* Merkezden yayılan, nefes alan ışık. */
.motto-orbit::after {
	content: "";
	position: absolute;
	inset: 16%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(201, 160, 80, 0.24), rgba(201, 160, 80, 0.05) 46%, transparent 68%);
	animation: motto-orbit-pulse 6s ease-in-out infinite;
	pointer-events: none;
}

/* Fener gibi dönen ışık huzmesi. */
.motto-orbit::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: conic-gradient(from 0deg, transparent 0 72%, rgba(201, 160, 80, 0.07) 88%, rgba(201, 160, 80, 0.2) 99.5%, transparent 100%);
	-webkit-mask: radial-gradient(circle closest-side, transparent 36%, #000 40%, #000 98%, transparent 100%);
	mask: radial-gradient(circle closest-side, transparent 36%, #000 40%, #000 98%, transparent 100%);
	animation: motto-orbit-spin 16s linear infinite;
	pointer-events: none;
}

.motto-orbit__ring {
	--dir: normal;
	--cdir: reverse;
	position: absolute;
	z-index: 1;
	inset: 0;
	width: calc(var(--r) * 2);
	height: calc(var(--r) * 2);
	margin: auto;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
	animation: motto-orbit-spin var(--t) linear infinite var(--dir);
}

.motto-orbit__ring--1 {
	--r: 27cqi;
	--t: 120s;
}

.motto-orbit__ring--2 {
	--r: 44cqi;
	--t: 170s;
	--dir: reverse;
	--cdir: normal;
}

.motto-orbit__item {
	position: absolute;
	top: 50%;
	left: 50%;
	width: var(--chip);
	height: var(--chip);
	margin: calc(var(--chip) / -2) 0 0 calc(var(--chip) / -2);
	transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1));
}

.motto-orbit__chip {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	isolation: isolate;
	border-radius: 50%;
	background: #171717;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.11), 0 12px 30px -14px rgba(0, 0, 0, 0.9);
	animation: motto-orbit-spin var(--t) linear infinite var(--cdir);
	transition: background-color 0.55s ease, box-shadow 0.55s ease, opacity 0.55s ease, scale 0.7s var(--motto-ease-out);
}

.motto-orbit__logo {
	width: 84%;
	height: 60%;
	object-fit: contain;
	filter: var(--motto-logo-mono);
	mix-blend-mode: screen;
	opacity: 0.86;
}

.motto-orbit__item.is-lit .motto-orbit__chip,
.motto-orbit__item.is-on .motto-orbit__chip {
	background: var(--motto-plate);
	box-shadow: 0 0 0 1px rgba(201, 160, 80, 0.8), 0 0 38px 6px rgba(201, 160, 80, 0.32);
	scale: 1.2;
}

.motto-orbit__item.is-lit .motto-orbit__logo,
.motto-orbit__item.is-on .motto-orbit__logo {
	filter: none;
	mix-blend-mode: multiply;
	opacity: 1;
}

.motto-orbit[data-active] .motto-orbit__item:not(.is-on) .motto-orbit__chip {
	opacity: 0.16;
	scale: 0.86;
}

.motto-orbit:hover .motto-orbit__ring,
.motto-orbit:hover .motto-orbit__chip,
.motto-orbit[data-active] .motto-orbit__ring,
.motto-orbit[data-active] .motto-orbit__chip,
.motto-orbit.is-paused .motto-orbit__ring,
.motto-orbit.is-paused .motto-orbit__chip,
.motto-orbit.is-paused::before,
.motto-orbit.is-paused::after {
	animation-play-state: paused;
}

.motto-orbit__core {
	position: absolute;
	z-index: 2;
	inset: 0;
	display: grid;
	width: 33cqi;
	height: 33cqi;
	margin: auto;
	place-items: center;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 35%, rgba(201, 160, 80, 0.2), rgba(14, 14, 14, 0.94) 66%);
	box-shadow: inset 0 0 0 1px rgba(201, 160, 80, 0.3), 0 0 90px rgba(201, 160, 80, 0.16);
	text-align: center;
}

.motto-orbit__core > span {
	display: flex;
	grid-area: 1 / 1;
	flex-direction: column;
	align-items: center;
	gap: 0.5cqi;
	max-width: 27cqi;
	transition: opacity 0.5s ease, translate 0.6s var(--motto-ease-out);
}

.motto-orbit__idle strong {
	background: linear-gradient(180deg, #f3dca6, var(--motto-gold));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: clamp(34px, 10cqi, 70px);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.04em;
	line-height: 1;
}

.motto-orbit__core small {
	color: var(--motto-ink-3);
	font-size: clamp(9px, 1.9cqi, 12px);
	font-weight: 500;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
}

.motto-orbit__now strong {
	color: var(--motto-ink);
	font-size: clamp(12px, 3.2cqi, 20px);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.motto-orbit__now small {
	color: var(--motto-gold);
}

.motto-orbit__now {
	opacity: 0;
	translate: 0 10px;
}

.motto-orbit.is-now .motto-orbit__idle {
	opacity: 0;
	translate: 0 -10px;
}

.motto-orbit.is-now .motto-orbit__now {
	opacity: 1;
	translate: 0 0;
}

@keyframes motto-orbit-spin {
	to {
		rotate: 360deg;
	}
}

@keyframes motto-orbit-pulse {
	0%,
	100% {
		opacity: 0.7;
		scale: 0.94;
	}

	50% {
		opacity: 1;
		scale: 1.04;
	}
}

@media (max-width: 1023px) {
	.motto-refs-orbit__grid {
		grid-template-areas:
			"text"
			"orbit"
			"list";
		grid-template-columns: minmax(0, 1fr);
	}

	.motto-refs-orbit__visual {
		margin-top: clamp(30px, 6vw, 48px);
	}

	.motto-orbit {
		width: min(100%, 520px);
	}
}

/* --------------------------------------------------------------------------
   2) Logo duvarı
   ----------------------------------------------------------------------- */

.motto-refs-wall__bar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: clamp(24px, 2.8vw, 40px);
}

.motto-sec button.motto-refs__filter {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 9px 10px 9px 18px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	box-shadow: inset 0 0 0 1px var(--motto-line);
	color: var(--motto-ink-2);
	font: inherit;
	font-size: 13.5px;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.motto-sec button.motto-refs__filter span {
	display: inline-grid;
	min-width: 24px;
	height: 24px;
	padding: 0 6px;
	place-items: center;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 11.5px;
	font-variant-numeric: tabular-nums;
}

.motto-sec button.motto-refs__filter:hover {
	background: rgba(255, 255, 255, 0.07);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
	color: var(--motto-ink);
}

.motto-sec button.motto-refs__filter:focus-visible {
	outline: 2px solid var(--motto-gold);
	outline-offset: 3px;
}

.motto-sec button.motto-refs__filter[aria-pressed="true"] {
	background: var(--motto-gold);
	box-shadow: none;
	color: #141414;
}

.motto-sec button.motto-refs__filter[aria-pressed="true"] span {
	background: rgba(0, 0, 0, 0.14);
}

.motto-refs-wall__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(10px, 1.1vw, 16px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.motto-ref[hidden] {
	display: none !important;
}

.motto-ref__card {
	--px: 50%;
	--py: 50%;
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: clamp(14px, 1.3vw, 20px);
	overflow: hidden;
	isolation: isolate;
	border-radius: 18px;
	/* Opak olmalı: logo "screen" ile yalnızca kartın kendi zeminiyle karışır (isolation); saydam zeminde siyah kutu kalır. */
	background: #191919;
	box-shadow: inset 0 0 0 1px var(--motto-line);
	color: var(--motto-ink);
	text-decoration: none;
	transition: transform 0.7s var(--motto-ease-out), box-shadow 0.5s ease;
}

/* Kartın "ışığı": imlecin girdiği noktadan büyüyen açık zemin. */
.motto-ref__plate {
	position: absolute;
	z-index: -1;
	inset: 0;
	background: radial-gradient(120% 95% at var(--px) var(--py), #fffbf2, var(--motto-plate) 58%, #e6dccb);
	clip-path: circle(0 at var(--px) var(--py));
	transition: clip-path 0.75s var(--motto-ease-out);
}

/* Logo alanının yüksekliği sabit: uzun kurum adları logonun üstüne binmez, satırdaki kartlar eşit kalır.
   Logo bu kutuya mutlak konumla yerleşir; böylece en/boy sınırı her ekran genişliğinde kutuya göre hesaplanır
   (ızgara öğesi olsaydı yüzde sınırı içeriğe göre büyüyen satıra göre hesaplanır, geniş ekranda logo taşardı). */
.motto-ref__logo {
	position: relative;
	flex: none;
	height: clamp(88px, 8vw, 120px);
	margin: 4px 0 auto;
}

.motto-ref__logo img {
	position: absolute;
	inset: 0;
	width: auto;
	max-width: 80%;
	height: auto;
	max-height: 100%;
	margin: auto;
	object-fit: contain;
	transition: opacity 0.45s ease, transform 0.8s var(--motto-ease-out);
}

.motto-ref__mono {
	filter: var(--motto-logo-mono);
	mix-blend-mode: screen;
	opacity: 0.82;
}

.motto-ref__color {
	mix-blend-mode: multiply;
	opacity: 0;
}

.motto-ref__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 12px;
}

.motto-ref__name {
	color: var(--motto-ink);
	font-size: clamp(12.5px, 0.95vw, 14px);
	font-weight: 600;
	line-height: 1.3;
	transition: color 0.45s ease;
}

.motto-ref__sector {
	color: var(--motto-ink-3);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
	transition: color 0.45s ease;
}

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

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

.motto-ref__card.is-lit {
	box-shadow: 0 24px 50px -26px rgba(201, 160, 80, 0.6), inset 0 0 0 1px rgba(201, 160, 80, 0.55);
	transform: translateY(-4px);
}

.motto-ref__card.is-lit .motto-ref__plate {
	clip-path: circle(150% at var(--px) var(--py));
	animation: motto-ref-flicker 0.6s linear 1;
}

.motto-ref__card.is-lit .motto-ref__mono {
	opacity: 0;
}

.motto-ref__card.is-lit .motto-ref__color {
	opacity: 1;
}

.motto-ref__card.is-lit .motto-ref__logo img {
	transform: scale(1.06);
}

.motto-ref__card.is-lit .motto-ref__name {
	color: #17130c;
}

.motto-ref__card.is-lit .motto-ref__sector {
	color: #8a6a2c;
}

.motto-ref__card.is-lit .motto-ref__go {
	opacity: 1;
	transform: none;
}

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

/* Lamba yanarken kısa bir titreme. */
@keyframes motto-ref-flicker {
	0% {
		opacity: 0.35;
	}

	14% {
		opacity: 1;
	}

	24% {
		opacity: 0.6;
	}

	36%,
	100% {
		opacity: 1;
	}
}

.motto-refs-wall__note {
	max-width: 70ch;
	margin: clamp(22px, 2.4vw, 34px) 0 0;
	color: var(--motto-ink-3);
	font-size: 12.5px;
	line-height: 1.6;
}

@media (max-width: 1279px) {
	.motto-refs-wall__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

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

@media (max-width: 639px) {
	.motto-refs-wall__bar {
		flex-wrap: nowrap;
		margin-inline: calc(var(--motto-pad) * -1);
		padding: 2px var(--motto-pad) 6px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.motto-refs-wall__bar::-webkit-scrollbar {
		display: none;
	}

	.motto-sec button.motto-refs__filter {
		flex: none;
	}

	.motto-refs-wall__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.motto-ref__card {
		border-radius: 14px;
	}
}

/* --------------------------------------------------------------------------
   3) Referans projeleri
   ----------------------------------------------------------------------- */

.motto-refs-feat__top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 40px;
	margin-bottom: clamp(30px, 4vw, 60px);
}

.motto-refs-feat__top .motto-sec__head {
	margin-bottom: 0;
}

.motto-refs-feat__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(12px, 1.4vw, 20px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.motto-refs-feat__item {
	grid-column: span 4;
}

.motto-refs-feat__item:nth-child(5n + 1) {
	grid-column: span 7;
}

.motto-refs-feat__item:nth-child(5n + 2) {
	grid-column: span 5;
}

.motto-refs-feat__card {
	position: relative;
	display: block;
	height: clamp(260px, 24vw, 360px);
	overflow: hidden;
	isolation: isolate;
	border-radius: 22px;
	background: #0d0d0d;
	color: #fff;
	text-decoration: none;
}

.motto-refs-feat__item:nth-child(5n + 1) .motto-refs-feat__card,
.motto-refs-feat__item:nth-child(5n + 2) .motto-refs-feat__card {
	height: clamp(320px, 33vw, 480px);
}

.motto-refs-feat__card::after {
	content: "";
	position: absolute;
	z-index: 3;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
	transition: box-shadow 0.5s ease;
	pointer-events: none;
}

.motto-refs-feat__card:hover::after,
.motto-refs-feat__card:focus-visible::after {
	box-shadow: inset 0 0 0 1px rgba(201, 160, 80, 0.85);
}

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

.motto-refs-feat__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.6s var(--motto-ease-out), filter 0.8s ease;
}

.motto-refs-feat__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 20%, rgba(0, 0, 0, 0.32) 50%, rgba(0, 0, 0, 0.86));
}

.motto-refs-feat__logo {
	position: absolute;
	z-index: 2;
	top: clamp(14px, 1.4vw, 20px);
	left: clamp(14px, 1.4vw, 20px);
	width: clamp(84px, 7.6vw, 116px);
	aspect-ratio: 13 / 10;
	isolation: isolate;
	border-radius: 14px;
	background: var(--motto-plate);
	box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.7);
}

.motto-refs-feat__logo img {
	position: absolute;
	inset: 0;
	width: auto;
	max-width: 80%;
	height: auto;
	max-height: 76%;
	margin: auto;
	mix-blend-mode: multiply;
}

.motto-refs-feat__body {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: clamp(18px, 2vw, 30px);
}

.motto-refs-feat__body small {
	color: var(--motto-gold);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.motto-sec .motto-refs-feat__title {
	margin: 0;
	color: #fff;
	font-size: clamp(19px, 1.7vw, 28px);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.15;
}

.motto-refs-feat__note {
	color: rgba(255, 255, 255, 0.76);
	font-size: 14px;
	line-height: 1.5;
}

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

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

.motto-refs-feat__card:hover .motto-refs-feat__go {
	gap: 13px;
}

/* Belirme: kart alttan açılır, fotoğraf yakından uzaklaşır, logo plakası iner. */
.motto-js .motto-refs-feat__card {
	clip-path: inset(16% 0 0 0 round 22px);
	transition: clip-path 1.2s var(--motto-ease-out) calc(var(--d, 0) * 110ms);
}

.motto-js .motto-refs-feat__media img {
	transform: scale(1.14);
}

.motto-js .motto-refs-feat__logo {
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 0.6s ease calc(var(--d, 0) * 110ms + 450ms), transform 0.9s var(--motto-ease-out) calc(var(--d, 0) * 110ms + 450ms);
}

.motto-js .motto-refs-feat__item.is-in .motto-refs-feat__card {
	clip-path: inset(0 0 0 0 round 22px);
}

.motto-js .motto-refs-feat__item.is-in .motto-refs-feat__media img {
	transform: scale(1);
}

.motto-js .motto-refs-feat__item.is-in .motto-refs-feat__logo {
	opacity: 1;
	transform: none;
}

.motto-js .motto-refs-feat__item.is-in .motto-refs-feat__card:hover .motto-refs-feat__media img {
	transform: scale(1.06);
}

@media (max-width: 1023px) {
	.motto-refs-feat__grid > .motto-refs-feat__item {
		grid-column: span 6;
	}

	.motto-refs-feat__grid > .motto-refs-feat__item:nth-child(5n + 1) {
		grid-column: span 12;
	}

	.motto-refs-feat__item .motto-refs-feat__card,
	.motto-refs-feat__item:nth-child(5n + 2) .motto-refs-feat__card {
		height: clamp(240px, 40vw, 340px);
	}

	.motto-refs-feat__item:nth-child(5n + 1) .motto-refs-feat__card {
		height: clamp(300px, 54vw, 440px);
	}
}

/* Telefonda yana kaydırılan kartlar. */
@media (max-width: 767px) {
	.motto-refs-feat__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-refs-feat__grid::-webkit-scrollbar {
		display: none;
	}

	.motto-refs-feat__grid > .motto-refs-feat__item,
	.motto-refs-feat__grid > .motto-refs-feat__item:nth-child(5n + 1) {
		grid-column: auto;
		scroll-snap-align: start;
	}

	.motto-refs-feat__item .motto-refs-feat__card,
	.motto-refs-feat__item:nth-child(5n + 1) .motto-refs-feat__card,
	.motto-refs-feat__item:nth-child(5n + 2) .motto-refs-feat__card {
		height: min(112vw, 440px);
	}
}

/* --------------------------------------------------------------------------
   Hareket azaltma
   ----------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.motto-orbit::before,
	.motto-orbit::after,
	.motto-orbit__ring,
	.motto-orbit__chip,
	.motto-ref__card.is-lit .motto-ref__plate {
		animation: none;
	}

	.motto-ref__plate,
	.motto-ref__card,
	.motto-js .motto-refs-feat__card,
	.motto-js .motto-refs-feat__logo,
	.motto-refs-feat__media img {
		transition: none;
	}

	.motto-js .motto-refs-feat__card {
		clip-path: none;
	}

	.motto-js .motto-refs-feat__media img {
		transform: none;
	}
}

/* ---------------------------------------------------------------------------
 * Sıkı düzen (gövdede .motto-sik, motto-site.php): yalnız boşluklar, kutu yükseklikleri ve sütun sayıları
 * küçülür; yazı boyutları aynı kalır, hiçbir öğe kaldırılmaz (kullanıcı tercihi, 2026-11-02).
 * ------------------------------------------------------------------------ */.motto-sik .motto-orbit {
	width: min(100%, 520px);
}

.motto-sik .motto-refs__sectors {
	margin-top: 20px;
}

.motto-sik .motto-refs-wall__bar {
	margin-bottom: 18px;
}

.motto-sik .motto-ref__card {
	padding: 12px;
}

.motto-sik .motto-ref__logo {
	height: clamp(64px, 5.4vw, 84px);
}

.motto-sik .motto-refs-wall__note {
	margin-top: 16px;
}

.motto-sik .motto-refs-feat__top {
	margin-bottom: clamp(18px, 2vw, 30px);
}

@media (min-width: 768px) {
	.motto-sik .motto-refs-feat__card {
		height: clamp(220px, 17vw, 270px);
	}

	.motto-sik .motto-refs-feat__item:nth-child(5n + 1) .motto-refs-feat__card,
	.motto-sik .motto-refs-feat__item:nth-child(5n + 2) .motto-refs-feat__card {
		height: clamp(260px, 22vw, 340px);
	}
}

.motto-sik .motto-refs-feat__body {
	padding: clamp(14px, 1.4vw, 20px);
}