/* Featured Project reel */
.zr-reel {
	--zr-reel-accent: var(--zr-accent, #e4562e);
	overflow: hidden;
}
.zr-reel__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: center;
}
@media (min-width: 900px) {
	.zr-reel__inner {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: 64px;
	}
}

/* Phone frame */
.zr-reel__media {
	display: flex;
	justify-content: center;
	position: relative;
}
.zr-reel__media::before {
	content: "";
	position: absolute;
	inset: 12% 8%;
	background: var(--zr-reel-accent);
	opacity: .14;
	filter: blur(60px);
	border-radius: 50%;
	z-index: 0;
}
.zr-reel__phone {
	position: relative;
	z-index: 1;
	width: min(78vw, 320px);
	aspect-ratio: 9 / 16;
	border-radius: 34px;
	border: 8px solid #111;
	background: #111;
	overflow: hidden;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
}
.zr-reel__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	cursor: pointer;
	background: #111;
}

/* Controls */
.zr-reel__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 68px;
	height: 68px;
	margin: -34px 0 0 -34px;
	border: 0;
	border-radius: 50%;
	background: var(--zr-reel-accent);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
	transition: transform .2s ease, opacity .2s ease;
}
.zr-reel__play svg { margin-left: 3px; }
.zr-reel__play:hover { transform: scale(1.06); }
.zr-reel__phone.is-playing .zr-reel__play {
	opacity: 0;
	pointer-events: none;
}
.zr-reel__sound {
	position: absolute;
	right: 12px;
	bottom: 12px;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
}
.zr-reel__unmuted { display: none; }
.zr-reel__phone.is-unmuted .zr-reel__muted { display: none; }
.zr-reel__phone.is-unmuted .zr-reel__unmuted { display: block; }
.zr-reel__play:focus-visible,
.zr-reel__sound:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

/* Text */
.zr-reel__facts {
	list-style: none;
	margin: 18px 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.zr-reel__facts li {
	padding: 10px 16px;
	border: 1px solid rgba(127, 127, 127, .25);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.zr-reel__facts span {
	font-size: 12px;
	opacity: .7;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.zr-reel__facts strong { font-size: 18px; }
.zr-reel__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}
.zr-reel__wa {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
@media (max-width: 899px) {
	.zr-reel__text { text-align: center; }
	.zr-reel__facts,
	.zr-reel__actions { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.zr-reel__play { transition: none; }
}

/* Fallback button look — :where() keeps it weaker than the theme's own .zr-btn styles */
:where(.zr-reel__actions) :where(.zr-btn) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 24px;
	border-radius: 10px;
	font-weight: 600;
	text-decoration: none;
	border: 2px solid var(--zr-reel-accent);
}
:where(.zr-reel__actions) :where(.zr-btn--primary) { background: var(--zr-reel-accent); color: #fff; }
:where(.zr-reel__actions) :where(.zr-btn--ghost) { background: transparent; color: inherit; border-color: #25d366; }
