/**
 * Lumirel custom front page — one poster scene (body.lumirel-front-custom).
 * Background is CSS on .lumirel-home-scene__frame; overlays are position:absolute %.
 */

/* --- Reset page chrome on this view --- */
body.lumirel-front-custom #masthead,
body.lumirel-front-custom #colophon,
body.lumirel-front-custom #mobile-drawer,
body.lumirel-front-custom #search-drawer,
body.lumirel-front-custom #cart-drawer {
	display: none !important;
}

body.lumirel-front-custom .skip-link.screen-reader-text.scroll-ignore {
	clip: rect(1px, 1px, 1px, 1px) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	width: 1px !important;
	overflow: hidden !important;
	position: absolute !important;
}

body.lumirel-front-custom {
	overflow: hidden;
	min-height: 100vh;
	min-height: 100dvh;
}

body.lumirel-front-custom #wrapper.site {
	position: relative;
	height: 100vh;
	height: 100dvh;
	min-height: 0;
	overflow: hidden;
	background: #030604;
}

body.lumirel-front-custom #inner-wrap {
	margin: 0;
	padding: 0;
	height: 100vh;
	height: 100dvh;
	min-height: 0;
	overflow: hidden;
}

body.lumirel-front-custom #inner-wrap .lumirel-fp-site-main,
body.lumirel-front-custom #inner-wrap .lumirel-fp {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	height: 100vh;
	height: 100dvh;
	min-height: 0;
	overflow: hidden;
}

/* --- Single scene (no document-flow page height from text) --- */
body.lumirel-front-custom .lumirel-fp--scene-root {
	position: relative;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

body.lumirel-front-custom .lumirel-home-scene {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: #030604;
	z-index: 0;
}

body.lumirel-front-custom .lumirel-home-scene__frame {
	--lumirel-ar-w: 1535;
	--lumirel-ar-h: 2450;
	position: relative;
	box-sizing: border-box;
	container-type: inline-size;
	width: min(100vw, 1535px, calc(100dvh * var(--lumirel-ar-w) / var(--lumirel-ar-h)));
	aspect-ratio: var(--lumirel-ar-w) / var(--lumirel-ar-h);
	max-height: 100dvh;
	background-color: transparent;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: top center;
	overflow: hidden;
	z-index: 2;
}

body.admin-bar.lumirel-front-custom .lumirel-home-scene__frame {
	width: min(100vw, 1535px, calc((100dvh - 32px) * var(--lumirel-ar-w) / var(--lumirel-ar-h)));
	max-height: calc(100dvh - 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar.lumirel-front-custom .lumirel-home-scene__frame {
		width: min(100vw, 1535px, calc((100dvh - 46px) * var(--lumirel-ar-w) / var(--lumirel-ar-h)));
		max-height: calc(100dvh - 46px);
	}
}

/* Soft edge blend when letterbox gutters exist outside frame (viewport sides) */
@media (min-width: 900px) {
	body.lumirel-front-custom .lumirel-home-scene::before,
	body.lumirel-front-custom .lumirel-home-scene::after {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		width: clamp(48px, 7vw, 120px);
		pointer-events: none;
		z-index: 1;
	}

	body.lumirel-front-custom .lumirel-home-scene::before {
		left: 0;
		background: linear-gradient(
			to right,
			#030604 0%,
			rgba(3, 6, 4, 0.75) 45%,
			rgba(3, 6, 4, 0) 100%
		);
	}

	body.lumirel-front-custom .lumirel-home-scene::after {
		right: 0;
		background: linear-gradient(
			to left,
			#030604 0%,
			rgba(3, 6, 4, 0.75) 45%,
			rgba(3, 6, 4, 0) 100%
		);
	}
}

body.lumirel-front-custom .lumirel-home-scene__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(5, 10, 9, 0.18) 0%,
		rgba(5, 10, 9, 0.06) 40%,
		rgba(5, 10, 9, 0.22) 100%
	);
}

body.lumirel-front-custom .lumirel-fp-layer {
	position: absolute;
	z-index: 3;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* --- Top-left nav (locked to poster %) --- */
body.lumirel-front-custom .lumirel-fp-topbar--scene {
	position: absolute;
	z-index: 20;
	top: 3.2%;
	left: 3.2%;
	right: auto;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: clamp(0.35rem, 3.2cqi, 1.6rem);
	margin: 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
	border: 0;
	font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	-webkit-font-smoothing: antialiased;
}

body.admin-bar.lumirel-front-custom .lumirel-fp-topbar--scene {
	top: calc(3.2% + 10px);
}

@media screen and (max-width: 782px) {
	body.admin-bar.lumirel-front-custom .lumirel-fp-topbar--scene {
		top: calc(3.2% + 14px);
	}
}

body.lumirel-front-custom .lumirel-fp-topbar__brand,
body.lumirel-front-custom .lumirel-fp-topbar__link {
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #efe8dc;
	transition: color 0.25s ease, opacity 0.25s ease;
}

body.lumirel-front-custom .lumirel-fp-topbar__brand {
	font-size: clamp(0.58rem, 2.1cqi, 0.76rem);
	font-weight: 500;
	color: #f2eadf;
}

body.lumirel-front-custom .lumirel-fp-topbar__nav {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: clamp(0.3rem, 2.2cqi, 1.1rem);
	margin: 0;
	padding: 0;
}

body.lumirel-front-custom .lumirel-fp-topbar__link {
	font-size: clamp(0.55rem, 1.9cqi, 0.72rem);
	font-weight: 400;
	color: #dcc29a;
}

body.lumirel-front-custom .lumirel-fp-topbar__brand:hover,
body.lumirel-front-custom .lumirel-fp-topbar__brand:focus-visible,
body.lumirel-front-custom .lumirel-fp-topbar__link:hover,
body.lumirel-front-custom .lumirel-fp-topbar__link:focus-visible {
	color: #f5efe6;
	opacity: 1;
}

body.lumirel-front-custom .lumirel-fp-topbar__brand:focus-visible,
body.lumirel-front-custom .lumirel-fp-topbar__link:focus-visible {
	outline: 1px solid rgba(220, 194, 154, 0.55);
	outline-offset: 3px;
}

/* --- Hero copy (poster %) --- */
body.lumirel-front-custom .lumirel-fp-hero {
	left: 3.5%;
	top: 14.5%;
	width: 32%;
	text-align: center;
}

body.lumirel-front-custom .lumirel-fp-hero__readability {
	position: absolute;
	inset: -10% -14% -12% -14%;
	pointer-events: none;
	background: radial-gradient(
		ellipse 95% 90% at 50% 38%,
		rgba(4, 8, 7, 0.5) 0%,
		rgba(4, 8, 7, 0.16) 52%,
		transparent 78%
	);
}

body.lumirel-front-custom .lumirel-fp-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	margin: 0;
}

body.lumirel-front-custom .lumirel-fp-hero__title {
	margin: 0;
	padding: 0;
	font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
	font-weight: 400;
	line-height: 1.05;
	color: #f5efe6;
	text-shadow:
		0 0 2.8cqi rgba(197, 167, 126, 0.35),
		0 0 5.5cqi rgba(20, 38, 31, 0.45),
		0 0.15cqi 0.35cqi rgba(0, 0, 0, 0.35);
}

body.lumirel-front-custom .lumirel-fp-hero__title-line {
	display: block;
	font-size: clamp(1.35rem, 6.2cqi, 2.85rem);
	letter-spacing: 0.2em;
	text-indent: 0.1em;
}

body.lumirel-front-custom .lumirel-fp-hero__title-line--sub {
	margin-top: 0.4em;
	font-size: clamp(0.65rem, 2.75cqi, 1.05rem);
	letter-spacing: 0.32em;
	text-indent: 0.16em;
	color: #dcc29a;
	text-shadow:
		0 0 2.2cqi rgba(197, 167, 126, 0.4),
		0 0 4cqi rgba(0, 0, 0, 0.35);
}

body.lumirel-front-custom .lumirel-fp-hero__divider {
	display: block;
	width: 42%;
	min-width: 4.5rem;
	max-width: 100%;
	height: 1px;
	margin: 0.9em auto 0.75em;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(212, 194, 154, 0.85) 20%,
		rgba(245, 239, 230, 0.95) 50%,
		rgba(212, 194, 154, 0.85) 80%,
		transparent
	);
	box-shadow: 0 0 1.2cqi rgba(197, 167, 126, 0.35);
}

body.lumirel-front-custom .lumirel-fp-hero__lead {
	margin: 0.4em 0 0;
	font-family: "Cormorant Infant", "Cormorant Garamond", Georgia, serif;
	font-size: clamp(0.75rem, 2.35cqi, 1.05rem);
	font-weight: 300;
	font-style: italic;
	letter-spacing: 0.04em;
	line-height: 1.6;
	color: #efe8dc;
	text-shadow: 0 0 2cqi rgba(0, 0, 0, 0.45), 0 0.12cqi 0.25cqi rgba(0, 0, 0, 0.35);
}

body.lumirel-front-custom .lumirel-fp-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(0.25rem, 1.8cqi, 0.65rem);
	margin-top: 0.85em;
}

body.lumirel-front-custom .lumirel-fp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.62em 1.1em;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(0.58rem, 1.65cqi, 0.72rem);
	font-weight: 500;
	letter-spacing: 0.16em;
	text-indent: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 1px;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body.lumirel-front-custom .lumirel-fp-btn--gold {
	background: linear-gradient(165deg, #c5a77e 0%, #a88b62 100%);
	color: #0f1c17;
	border: 1px solid rgba(212, 194, 154, 0.45);
	box-shadow: 0 0 1.8cqi rgba(197, 167, 126, 0.25);
}

body.lumirel-front-custom .lumirel-fp-btn--gold:hover,
body.lumirel-front-custom .lumirel-fp-btn--gold:focus-visible {
	background: linear-gradient(165deg, #d4b78e 0%, #b6986e 100%);
	color: #081210;
	box-shadow: 0 0 2.2cqi rgba(197, 167, 126, 0.4);
}

body.lumirel-front-custom .lumirel-fp-btn--outline {
	background: rgba(8, 14, 12, 0.35);
	color: #f2eadf;
	border: 1px solid rgba(212, 194, 154, 0.55);
	backdrop-filter: blur(4px);
}

body.lumirel-front-custom .lumirel-fp-btn--outline:hover,
body.lumirel-front-custom .lumirel-fp-btn--outline:focus-visible {
	border-color: rgba(245, 239, 230, 0.75);
	color: #fff;
}

body.lumirel-front-custom .lumirel-fp-btn:focus-visible {
	outline: 1px solid rgba(220, 194, 154, 0.65);
	outline-offset: 2px;
}

/* --- Feature strip (poster %) + dark straight plate --- */
body.lumirel-front-custom .lumirel-fp-features {
	left: 2%;
	right: 2%;
	top: 54%;
	z-index: 4;
	background: transparent;
	overflow: visible;
	transform: translateY(1cm);
}

/* Dark translucent band — straight top and bottom (no wave clip) */
body.lumirel-front-custom .lumirel-fp-features::before {
	content: "";
	position: absolute;
	z-index: 0;
	left: -4%;
	right: -4%;
	top: -18%;
	bottom: -22%;
	pointer-events: none;
	background: linear-gradient(
		185deg,
		rgba(1, 5, 4, 0.14) 0%,
		rgba(2, 8, 6, 0.74) 42%,
		rgba(2, 7, 6, 0.95) 78%,
		rgba(1, 5, 5, 0.98) 100%
	);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border-radius: 2px;
	box-shadow: inset 0 -4px 14px rgba(0, 0, 0, 0.24);
}

body.lumirel-front-custom .lumirel-fp-features__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(0.15rem, 1.5cqi, 0.75rem);
	align-items: start;
	margin: 0;
	padding: 0.3em 0.3em 0.75em;
}

body.lumirel-front-custom .lumirel-fp-features__col {
	text-align: center;
	padding: 0 clamp(0.05rem, 0.85cqi, 0.45rem);
}

body.lumirel-front-custom .lumirel-fp-features__col--sep {
	border-left: 1px solid rgba(197, 167, 126, 0.22);
}

body.lumirel-front-custom .lumirel-fp-features__icon {
	display: flex;
	justify-content: center;
	margin-bottom: 0.28em;
	color: #c5a77e;
	opacity: 0.95;
}

body.lumirel-front-custom .lumirel-fp-features__icon svg {
	display: block;
	width: clamp(16px, 5.2cqi, 30px);
	height: auto;
}

body.lumirel-front-custom .lumirel-fp-features__heading {
	margin: 0 0 0.32em;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(0.48rem, 1.22cqi, 0.62rem);
	font-weight: 500;
	letter-spacing: 0.18em;
	text-indent: 0.09em;
	text-transform: uppercase;
	color: #dcc29a;
	text-shadow:
		0 0 0.9cqi rgba(197, 167, 126, 0.22),
		0 1px 2px rgba(0, 0, 0, 0.42);
}

body.lumirel-front-custom .lumirel-fp-features__text {
	margin: 0;
	font-family: "Lora", Georgia, serif;
	font-size: clamp(0.52rem, 1.35cqi, 0.78rem);
	font-weight: 400;
	line-height: 1.52;
	color: #efe8dc;
	opacity: 0.94;
	text-shadow:
		0 0 0.9cqi rgba(0, 0, 0, 0.4),
		0 1px 1px rgba(0, 0, 0, 0.32);
}

/* --- Lower copy: anchored in the light band below the wave --- */
body.lumirel-front-custom .lumirel-fp-essence {
	right: 17%;
	top: 70%;
	bottom: 5%;
	width: 33%;
	max-width: 24rem;
	left: auto;
	text-align: left;
	background: transparent;
}

body.lumirel-front-custom .lumirel-fp-essence__inner {
	width: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 0;
}

body.lumirel-front-custom .lumirel-fp-essence__kicker {
	margin: 0 0 0.45em;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(0.55rem, 1.35cqi, 0.68rem);
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #2d4a3e;
}

body.lumirel-front-custom .lumirel-fp-essence__title {
	margin: 0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(1.35rem, 4.2cqi, 2.15rem);
	font-weight: 400;
	letter-spacing: 0.08em;
	line-height: 1.18;
	color: #0f1c17;
}

body.lumirel-front-custom .lumirel-fp-essence__divider {
	display: block;
	width: 42%;
	min-width: 3.5rem;
	max-width: 100%;
	height: 1px;
	margin: 0.65em 0 0.75em;
	background: linear-gradient(
		90deg,
		#b6986e 0%,
		#dcc29a 45%,
		rgba(61, 92, 78, 0.25) 100%
	);
}

body.lumirel-front-custom .lumirel-fp-essence__body {
	font-family: "Lora", Georgia, serif;
	font-size: clamp(0.7rem, 1.65cqi, 0.98rem);
	line-height: 1.7;
	color: #1f332b;
}

body.lumirel-front-custom .lumirel-fp-essence__body p {
	margin: 0 0 0.75em;
}

body.lumirel-front-custom .lumirel-fp-essence__body p:last-child {
	margin-bottom: 0;
}

body.lumirel-front-custom .lumirel-fp-btn--essence {
	margin-top: 0.85em;
	align-self: flex-start;
}

@media (max-width: 719px) {
	body.lumirel-front-custom .lumirel-fp-hero {
		left: 4%;
		top: 12%;
		width: 56%;
	}

	body.lumirel-front-custom .lumirel-fp-features {
		left: 1.5%;
		right: 1.5%;
		top: 50%;
		transform: translateY(1cm);
	}

	body.lumirel-front-custom .lumirel-fp-features__inner {
		grid-template-columns: 1fr;
		gap: 0.65rem;
	}

	body.lumirel-front-custom .lumirel-fp-features__col--sep {
		border-left: 0;
		border-top: 1px solid rgba(197, 167, 126, 0.18);
		padding-top: 0.55rem;
	}

	body.lumirel-front-custom .lumirel-fp-essence {
		right: 5%;
		left: 5%;
		top: auto;
		bottom: 6%;
		width: auto;
		max-width: 90%;
		text-align: center;
	}

	body.lumirel-front-custom .lumirel-fp-essence__inner {
		align-items: center;
	}

	body.lumirel-front-custom .lumirel-fp-essence__divider {
		margin-left: auto;
		margin-right: auto;
	}

	body.lumirel-front-custom .lumirel-fp-btn--essence {
		margin-left: auto;
		margin-right: auto;
		align-self: center;
	}
}
