/* =========================================================================
   Pukka — Cinematic hero ([pukka_hero])
   Fullscreen hero with a looping, fade-in/out video background.
   Self-scoped under .pk-hero so it never leaks. Fonts (Instrument Serif +
   Inter) are loaded by the shortcode itself.
   ========================================================================= */

.pk-hero {
	position: relative;
	width: 100%;
	min-height: var(--pk-hero-min, 72vh);
	overflow: hidden;
	background: #fff;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	display: flex;
	align-items: center;       /* centre the copy over the video */
	justify-content: center;
}
.pk-hero * { box-sizing: border-box; }

/* Full-bleed: break out of any boxed Elementor container to the viewport edge. */
.pk-hero--full {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Video layer — now fills the whole hero, sitting BEHIND the copy. */
.pk-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	opacity: 0;            /* JS fades it in/out */
	pointer-events: none;
}

/* Soft white veil so the dark headline stays readable over the video,
   while the animation still shows through. */
.pk-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	/* Long ramp to PURE white at the bottom so the hero melts into the white
	   section below (no hard edge). Top veil keeps the headline readable. */
	background: linear-gradient(to bottom,
		rgba(255,255,255,.85) 0%,
		rgba(255,255,255,.38) 28%,
		rgba(255,255,255,.40) 48%,
		#fff 100%);
}

/* Content */
.pk-hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 1100px;
	margin: 0 auto;
	padding: clamp(2.5rem, 6vh, 5rem) 24px;
}
.pk-hero__title {
	margin: 0;
	max-width: 1100px;
	font-family: var(--pk-font-display, "Baloo 2", sans-serif);
	font-weight: 700;
	color: var(--pk-ink, #002301);
	line-height: 1;
	letter-spacing: -0.5px;
	font-size: clamp(2.25rem, 6vw, 4.75rem);
}
/* Baloo has no true italic — use a muted colour for the emphasised words. */
.pk-hero__title em { font-style: normal; color: var(--pk-mute, #5E6B60); }
.pk-hero__desc {
	margin: 2rem 0 0;
	max-width: 42rem;
	color: #6F6F6F;
	font-size: clamp(1rem, 1.6vw, 1.125rem);
	line-height: 1.7;
}
.pk-hero__cta {
	display: inline-block;
	margin-top: 3rem;
	padding: 1.25rem 3.5rem;
	border-radius: 999px;
	background: #000;
	color: #fff !important;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 500;
	transition: transform .2s ease;
}
.pk-hero__cta:hover { transform: scale(1.03); }

/* Entrance animations */
@keyframes pk-fade-rise {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: translateY(0); }
}
.pk-hero .animate-fade-rise         { animation: pk-fade-rise .8s ease-out both; }
.pk-hero .animate-fade-rise-delay   { animation: pk-fade-rise .8s ease-out .2s both; }
.pk-hero .animate-fade-rise-delay-2 { animation: pk-fade-rise .8s ease-out .4s both; }

@media (max-width: 600px) {
	.pk-hero__inner { padding: 4rem 18px 6rem; }
	.pk-hero__title { letter-spacing: -1px; }
}
@media (prefers-reduced-motion: reduce) {
	.pk-hero .animate-fade-rise,
	.pk-hero .animate-fade-rise-delay,
	.pk-hero .animate-fade-rise-delay-2 { animation: none; }
	.pk-hero__video { display: none; }
}
