/* Section: video. The film in a large rounded frame on the night band, a big play button over its poster. */
.s-video {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: var(--wp--custom--gradient--night);
	color: var(--wp--preset--color--primary-contrast);
}
/* right under a dark hero: a fine line between the two bands and a shorter gap */
:is(.s-showcase, .s-hero--dark) + .s-video { border-block-start: 1px solid rgba(255, 255, 255, 0.08); padding-block-start: var(--wp--preset--spacing--50); }
.s-video__deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle at 50% 60%, rgba(108, 197, 26, 0.22), transparent 34rem), radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0) 0 0 / 26px 26px; }
.s-video :is(.section-head__title) { color: var(--wp--preset--color--primary-contrast); }
.s-video .section-head__text { color: rgba(255, 255, 255, 0.84); }
.s-video__eyebrow {
	display: flex;
	inline-size: fit-content;
	align-items: center;
	gap: 0.45rem;
	margin: 0 auto var(--wp--preset--spacing--20);
	padding: 0.3rem 0.9rem;
	border-radius: var(--wp--custom--radius--pill);
	background: rgba(155, 225, 93, 0.14);
	border: 1px solid rgba(155, 225, 93, 0.3);
	color: var(--wp--custom--tint--lime-bright);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--weight--heading);
}
.s-video__eyebrow .icon { inline-size: 1em; block-size: 1em; }
.s-video__grid { display: grid; gap: var(--wp--preset--spacing--30); justify-items: center; }
.s-video__figure { margin: 0; inline-size: 100%; max-inline-size: 64rem; }
.s-video__frame {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 28px;
	background: var(--wp--custom--tint--deep);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 90px -30px rgba(0, 0, 0, 0.7), 0 0 80px -20px rgba(108, 197, 26, 0.45);
}
@media (max-width: 599px) {
	.s-video__frame { border-radius: 18px; }
}
.s-video__player, .s-video__poster, .s-video__iframe { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; border: 0; background: var(--wp--custom--tint--deep); }
.s-video__poster, .s-video__iframe { position: absolute; inset: 0; }
.s-video__nojs { position: absolute; inset: 0; display: grid; place-items: center; color: var(--wp--preset--color--primary-contrast); font-weight: var(--wp--custom--weight--heading); }
/* the big play button over the poster, with a soft shade so it reads on any picture */
.s-video__play {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	padding: 0;
	border: 0;
	background: radial-gradient(circle at 50% 50%, rgba(4, 22, 16, 0.15), rgba(4, 22, 16, 0.55));
	color: var(--wp--preset--color--primary-contrast);
	font-family: var(--wp--custom--font--heading);
	font-weight: var(--wp--custom--weight--heading);
	cursor: pointer;
	transition: background 0.3s ease, opacity 0.3s ease;
}
.s-video__play[hidden] { display: none; }
.s-video__play:hover { background: radial-gradient(circle at 50% 50%, rgba(4, 22, 16, 0.05), rgba(4, 22, 16, 0.45)); }
.s-video__play-ring {
	position: relative;
	display: grid;
	place-items: center;
	inline-size: clamp(4.5rem, 3rem + 5vw, 6.5rem);
	block-size: clamp(4.5rem, 3rem + 5vw, 6.5rem);
	border-radius: 50%;
	background: var(--wp--custom--gradient--lime);
	color: var(--wp--preset--color--accent-contrast);
	box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.5);
	transition: transform 0.25s cubic-bezier(.2, .8, .3, 1.3);
}
.s-video__play-ring::before, .s-video__play-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(155, 225, 93, 0.6); animation: video-ring 2.4s cubic-bezier(0, 0, .2, 1) infinite; }
.s-video__play-ring::after { animation-delay: 1.2s; }
@keyframes video-ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.8); opacity: 0; } }
.s-video__play-ring .icon { inline-size: 42%; block-size: 42%; fill: currentColor; margin-inline-start: 6%; }
[dir="rtl"] .s-video__play-ring .icon { margin-inline-start: 0; margin-inline-end: 6%; }
.s-video__play:hover .s-video__play-ring { transform: scale(1.08); }
.s-video__play-label { padding: 0.25rem 0.9rem; border-radius: var(--wp--custom--radius--pill); background: rgba(4, 22, 16, 0.55); font-size: 1.05rem; backdrop-filter: blur(6px); }
.s-video__length { position: absolute; inset-block-end: 1rem; inset-inline-end: 1rem; padding: 0.15rem 0.6rem; border-radius: var(--wp--custom--radius--pill); background: rgba(4, 22, 16, 0.7); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.s-video__frame.is-playing .s-video__play { opacity: 0; pointer-events: none; }
/* while it plays by itself without sound: the button to hear it from the start, at the top start corner */
.s-video__sound {
	position: absolute;
	z-index: 2;
	inset-block-start: 1rem;
	inset-inline-start: 1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-block-size: 44px;
	padding-block: 0.45rem;
	padding-inline: 0.9rem 1.1rem;
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--custom--gradient--lime);
	color: var(--wp--preset--color--accent-contrast);
	font-family: var(--wp--custom--font--heading);
	font-weight: var(--wp--custom--weight--heading);
	box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.55);
	cursor: pointer;
	animation: video-nudge 2.6s ease-in-out infinite;
}
.s-video__sound[hidden] { display: none; }
.s-video__sound .icon { inline-size: 1.2em; block-size: 1.2em; }
@keyframes video-nudge { 0%, 70%, 100% { transform: none; } 80% { transform: scale(1.06); } 90% { transform: scale(0.98); } }
@media (max-width: 599px) {
	.s-video__sound { inset-block-start: 0.6rem; inset-inline-start: 0.6rem; min-block-size: 40px; padding-block: 0.35rem; font-size: 0.9rem; }
}
.s-video__caption { margin-block-start: var(--wp--preset--spacing--20); text-align: center; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.75); }
.s-video__points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; max-inline-size: 64rem; }
.s-video__points li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 1rem; border-radius: var(--wp--custom--radius--pill); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); font-weight: var(--wp--custom--weight--strong); }
.s-video__points .icon { color: var(--wp--custom--tint--lime-bright); inline-size: 1.05em; block-size: 1.05em; }
.s-video__actions { margin: var(--wp--preset--spacing--30) 0 0; }
.s-video__actions--center { margin-block-start: var(--wp--preset--spacing--40); text-align: center; }

/* ---------- split: the text and its points in one column, the film in the other ---------- */
.s-video__split { display: grid; gap: var(--wp--preset--spacing--40); align-items: center; }
@media (min-width: 960px) {
	.s-video__split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--wp--preset--spacing--50); }
}
.s-video--split .s-video__eyebrow { margin-inline: 0; }
.s-video--split .section-head { margin-block-end: var(--wp--preset--spacing--30); }
.s-video__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.s-video__list li { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: var(--wp--custom--weight--strong); color: rgba(255, 255, 255, 0.92); }
.s-video__list .icon { flex: none; inline-size: 1.4rem; block-size: 1.4rem; padding: 0.2rem; border-radius: 50%; background: rgba(155, 225, 93, 0.18); color: var(--wp--custom--tint--lime-bright); margin-block-start: 0.2em; }
.s-video--split .s-video__figure { max-inline-size: none; }
