/* Custom curtain hero — replaces the Slider Revolution hero visually on the
   homepage. The original slider is left completely intact in the DOM/CMS;
   curtain.js hides it with display:none only after this hero is successfully
   built and inserted, so nothing breaks if JS fails to run. */

/* Temporary: hide the "Selected Productions" row added earlier, and give the
   area the curtain reveals a plain black background until that section is
   redesigned. */
body.home .ppb_wrapper > .one.fullwidth,
body.home .ppb_wrapper > .standard_wrapper {
	display: none !important;
}

body.home #wrapper,
body.home .ppb_wrapper {
	background: #000;
}

.jrh-hero-spacer {
	position: relative;
}

.jrh-hero {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	z-index: 2;
	background: #000;
}

body.admin-bar .jrh-hero {
	top: 32px;
	height: calc(100vh - 32px);
}

@media (max-width: 782px) {
	body.admin-bar .jrh-hero {
		top: 46px;
		height: calc(100vh - 46px);
	}
}

.jrh-hero-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 3.5s ease;
}

.jrh-hero-slide.is-active {
	opacity: 1;
}

.jrh-hero-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.5));
}

.jrh-hero-content {
	position: relative;
	z-index: 1;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0 20px;
}

.jrh-hero-logo {
	max-width: min(90vw, 700px);
	height: auto;
	opacity: 0;
	transition: opacity 4s ease;
}

.jrh-hero-subtitle {
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 20px;
	margin: 18px 0 0;
	opacity: 0;
	transition: opacity 3s ease;
}

.jrh-hero-nav {
	margin-top: 34px;
	display: flex;
	gap: 34px;
	flex-wrap: wrap;
	justify-content: center;
}

.jrh-hero-logo.is-in,
.jrh-hero-subtitle.is-in {
	opacity: 1;
}

.jrh-hero-nav a {
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-weight: 700;
	font-size: 20px;
	text-decoration: none;
	opacity: 0;
	transition: opacity 1.6s ease;
}

.jrh-hero-nav a.is-in {
	opacity: 1;
}

.jrh-hero-nav a:hover {
	opacity: 0.8;
}

@media (prefers-reduced-motion: reduce) {
	.jrh-hero {
		transform: none !important;
	}
}
