/*
 * „Szklane kółko” nad zdjęciami kafli portfolio (01.10.2026): rozmyte tło pod spodem, delikatna obwódka i napis
 * „Zobacz / więcej”; podąża za kursorem (agencja/glass-hover.js). Tylko urządzenia z myszą — na dotyku nic się nie zmienia.
 * Strefy: strona główna, /portfolio/ i portfolio deweloperów (.hp-realisation__image), inwestycje (a.investment
 * .stack__figure), projekty stron agencji (.g2c-card__media), kafle portfolio na stronach usług (.g2u-work__media).
 */
.g2-glass {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9990;
	width: 0;
	height: 0;
	pointer-events: none;
	will-change: transform;
}

.g2-glass__in {
	position: absolute;
	top: -56px;
	left: -56px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 112px; /* 124 → 112 px (−10%, prośba użytkownika 02.10.2026) */
	height: 112px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	-webkit-backdrop-filter: blur(14px) saturate(1.4);
	backdrop-filter: blur(14px) saturate(1.4);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0.02em;
	text-align: center;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
	opacity: 0;
	transform: scale(0.6);
	transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.g2-glass.is-on .g2-glass__in {
	opacity: 1;
	transform: scale(1);
}

@media (hover: hover) and (pointer: fine) {
	.hp-realisation__image,
	a.investment .stack__figure,
	.g2c-card__media,
	.g2u-work__media {
		cursor: none;
	}
}
