/**
 * Lumirel — Natural Spirit
 * Soft luxury forest / nature spiritual. Minimal, emotional, premium spacing.
 */

/* -------------------------------------------------------------------------
   Design tokens + base atmosphere
   ------------------------------------------------------------------------- */
body.lumirel-natural-spirit {
	--lumirel-cream: #efeceb;
	--lumirel-cream-deep: #e4dfd6;
	--lumirel-forest: #14261f;
	--lumirel-forest-soft: #1e342b;
	--lumirel-forest-mist: rgba(20, 38, 31, 0.06);
	--lumirel-sage: #3d5c4e;
	--lumirel-gold: #c5a77e;
	--lumirel-gold-soft: #dcc29a;
	--lumirel-gold-glow: rgba(197, 167, 126, 0.5);
	--lumirel-ink: #0f1c17;
	--lumirel-white: #fdfcf9;
	--lumirel-font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
	--lumirel-font-hero: "Cormorant Infant", "Cormorant Garamond", Georgia, serif;
	--lumirel-font-body: "Lora", "Palatino Linotype", Palatino, Georgia, serif;
	--lumirel-space-xs: clamp(0.5rem, 1.5vw, 0.75rem);
	--lumirel-space-sm: clamp(1rem, 2.5vw, 1.5rem);
	--lumirel-space-md: clamp(1.75rem, 4vw, 3rem);
	--lumirel-space-lg: clamp(3rem, 7vw, 6rem);
	--lumirel-space-xl: clamp(4.5rem, 10vw, 9rem);
	--lumirel-radius: 2px;
	--lumirel-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--lumirel-ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

	background-color: var(--lumirel-cream);
	color: var(--lumirel-ink);
	font-family: var(--lumirel-font-body);
	font-weight: 400;
	font-size: clamp(1rem, 0.2vw + 0.95rem, 1.0625rem);
	line-height: 1.75;
	letter-spacing: 0.01em;
	-webkit-font-smoothing: antialiased;
}

body.lumirel-natural-spirit .content-bg,
body.lumirel-natural-spirit .site,
body.lumirel-natural-spirit #wrapper {
	background-color: transparent;
}

body.lumirel-natural-spirit #inner-wrap,
body.lumirel-natural-spirit .site-container,
body.lumirel-natural-spirit .content-container.site-container {
	max-width: min(1120px, 94vw);
}

body.lumirel-natural-spirit .entry-content-wrap,
body.lumirel-natural-spirit .entry-content.single-content {
	padding-top: var(--lumirel-space-md);
	padding-bottom: var(--lumirel-space-lg);
}

/* Headings — elegant serif + subtle gold luminosity */
body.lumirel-natural-spirit h1,
body.lumirel-natural-spirit h2,
body.lumirel-natural-spirit h3,
body.lumirel-natural-spirit h4,
body.lumirel-natural-spirit h5,
body.lumirel-natural-spirit h6,
body.lumirel-natural-spirit .entry-title,
body.lumirel-natural-spirit .wp-block-post-title,
body.lumirel-natural-spirit .wp-block-heading {
	font-family: var(--lumirel-font-display);
	font-weight: 400;
	color: var(--lumirel-forest);
	letter-spacing: 0.02em;
	line-height: 1.15;
	text-shadow: 0 0 42px var(--lumirel-gold-glow), 0 0 1px rgba(20, 38, 31, 0.08);
}

body.lumirel-natural-spirit h1,
body.lumirel-natural-spirit .entry-title {
	font-size: clamp(2.25rem, 1.2rem + 3.5vw, 3.5rem);
	font-weight: 300;
}

body.lumirel-natural-spirit h2 {
	font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.5rem);
}

body.lumirel-natural-spirit h3 {
	font-size: clamp(1.35rem, 1rem + 1.2vw, 1.75rem);
}

body.lumirel-natural-spirit a {
	color: var(--lumirel-sage);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	transition: color 0.45s var(--lumirel-ease-soft), text-shadow 0.6s var(--lumirel-ease-out);
}

body.lumirel-natural-spirit a:hover,
body.lumirel-natural-spirit a:focus {
	color: var(--lumirel-forest);
	text-shadow: 0 0 24px var(--lumirel-gold-glow);
}

/* -------------------------------------------------------------------------
   Header & navigation — quiet luxury
   ------------------------------------------------------------------------- */
body.lumirel-natural-spirit .site-header-wrap {
	background: linear-gradient(
		180deg,
		rgba(244, 239, 230, 0.97) 0%,
		rgba(244, 239, 230, 0.88) 55%,
		rgba(244, 239, 230, 0) 100%
	);
	border-bottom: 1px solid rgba(20, 38, 31, 0.06);
	backdrop-filter: blur(10px);
}

body.lumirel-natural-spirit .primary-menu-container nav ul li a {
	font-family: var(--lumirel-font-display);
	font-size: 1.05rem;
	letter-spacing: 0.12em;
	text-transform: lowercase;
	font-variant: small-caps;
	color: var(--lumirel-forest-soft);
}

body.lumirel-natural-spirit .primary-menu-container nav ul li a:hover,
body.lumirel-natural-spirit .primary-menu-container nav ul li.current-menu-item > a {
	color: var(--lumirel-forest);
	text-shadow: 0 0 20px var(--lumirel-gold-glow);
}

/* -------------------------------------------------------------------------
   Buttons & forms
   ------------------------------------------------------------------------- */
body.lumirel-natural-spirit .button,
body.lumirel-natural-spirit button:not(.plyr__control):not(.dashicons),
body.lumirel-natural-spirit .wp-block-button__link,
body.lumirel-natural-spirit input[type="submit"],
body.lumirel-natural-spirit .kadence-sticky-header .button {
	font-family: var(--lumirel-font-display);
	font-size: 1rem;
	letter-spacing: 0.14em;
	text-transform: lowercase;
	font-variant: small-caps;
	background: var(--lumirel-forest);
	color: var(--lumirel-cream);
	border: 1px solid rgba(184, 149, 108, 0.35);
	border-radius: var(--lumirel-radius);
	padding: 0.85em 1.8em;
	box-shadow: 0 0 0 1px rgba(244, 239, 230, 0.08) inset, 0 12px 40px rgba(20, 38, 31, 0.18);
	transition: transform 0.55s var(--lumirel-ease-out), box-shadow 0.55s var(--lumirel-ease-out), background 0.45s var(--lumirel-ease-soft);
}

body.lumirel-natural-spirit .button:hover,
body.lumirel-natural-spirit .wp-block-button__link:hover,
body.lumirel-natural-spirit input[type="submit"]:hover {
	background: var(--lumirel-forest-soft);
	box-shadow: 0 0 0 1px rgba(212, 188, 142, 0.25) inset, 0 0 36px var(--lumirel-gold-glow), 0 18px 48px rgba(20, 38, 31, 0.22);
	transform: translateY(-2px);
}

body.lumirel-natural-spirit .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--lumirel-forest);
	border-color: rgba(20, 38, 31, 0.25);
	box-shadow: none;
}

body.lumirel-natural-spirit .wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--lumirel-gold);
	color: var(--lumirel-forest);
	box-shadow: 0 0 28px var(--lumirel-gold-glow);
}

body.lumirel-natural-spirit input[type="text"],
body.lumirel-natural-spirit input[type="email"],
body.lumirel-natural-spirit input[type="search"],
body.lumirel-natural-spirit textarea {
	font-family: var(--lumirel-font-body);
	background: rgba(253, 252, 249, 0.75);
	border: 1px solid rgba(20, 38, 31, 0.12);
	border-radius: var(--lumirel-radius);
	transition: border-color 0.4s var(--lumirel-ease-soft), box-shadow 0.5s var(--lumirel-ease-out);
}

body.lumirel-natural-spirit input:focus,
body.lumirel-natural-spirit textarea:focus {
	border-color: rgba(184, 149, 108, 0.55);
	box-shadow: 0 0 0 1px rgba(184, 149, 108, 0.2), 0 0 28px var(--lumirel-gold-glow);
	outline: none;
}

/* -------------------------------------------------------------------------
   Dreamy “nature” section utilities (use classes on Group / Cover / Section)
   ------------------------------------------------------------------------- */
body.lumirel-natural-spirit .lumirel-section--mist,
body.lumirel-natural-spirit .wp-block-group.lumirel-section--mist {
	position: relative;
	padding: var(--lumirel-space-lg) var(--lumirel-space-sm);
	background: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.5) 0%, transparent 55%),
		linear-gradient(180deg, var(--lumirel-cream) 0%, var(--lumirel-cream-deep) 100%);
	overflow: hidden;
}

body.lumirel-natural-spirit .lumirel-section--mist::before {
	content: "";
	position: absolute;
	inset: -20% -10% auto;
	height: 60%;
	background: radial-gradient(ellipse at 50% 0%, var(--lumirel-gold-glow) 0%, transparent 70%);
	opacity: 0.35;
	pointer-events: none;
}

body.lumirel-natural-spirit .lumirel-section--canopy,
body.lumirel-natural-spirit .wp-block-group.lumirel-section--canopy {
	padding: var(--lumirel-space-xl) var(--lumirel-space-sm);
	background: linear-gradient(165deg, var(--lumirel-forest) 0%, var(--lumirel-forest-soft) 45%, #243d32 100%);
	color: var(--lumirel-cream);
	border-radius: 0;
	box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.25);
}

body.lumirel-natural-spirit .lumirel-section--canopy h1,
body.lumirel-natural-spirit .lumirel-section--canopy h2,
body.lumirel-natural-spirit .lumirel-section--canopy h3,
body.lumirel-natural-spirit .lumirel-section--canopy h4,
body.lumirel-natural-spirit .lumirel-section--canopy h5,
body.lumirel-natural-spirit .lumirel-section--canopy h6,
body.lumirel-natural-spirit .lumirel-section--canopy .wp-block-heading {
	color: var(--lumirel-cream);
	text-shadow: 0 0 48px rgba(212, 188, 142, 0.35), 0 0 1px rgba(0, 0, 0, 0.2);
}

body.lumirel-natural-spirit .lumirel-section--canopy a {
	color: var(--lumirel-gold-soft);
}

body.lumirel-natural-spirit .lumirel-section--canopy a:hover {
	color: var(--lumirel-white);
}

body.lumirel-natural-spirit .lumirel-section--clearing,
body.lumirel-natural-spirit .wp-block-group.lumirel-section--clearing {
	padding: var(--lumirel-space-lg) var(--lumirel-space-sm);
	background: linear-gradient(180deg, transparent 0%, var(--lumirel-forest-mist) 40%, transparent 100%);
}

/* Block spacing — calmer vertical rhythm */
body.lumirel-natural-spirit .entry-content > * + *,
body.lumirel-natural-spirit .block-editor-block-list__layout > * + * {
	margin-top: var(--lumirel-space-md);
}

body.lumirel-natural-spirit .wp-block-group.has-background,
body.lumirel-natural-spirit .wp-block-cover {
	margin-top: var(--lumirel-space-md);
	margin-bottom: var(--lumirel-space-md);
}

/* Quotes & pullquotes — contemplative */
body.lumirel-natural-spirit .wp-block-quote,
body.lumirel-natural-spirit .wp-block-pullquote {
	font-family: var(--lumirel-font-display);
	border-left: none;
	text-align: center;
	color: var(--lumirel-forest-soft);
	position: relative;
	padding: var(--lumirel-space-md);
}

body.lumirel-natural-spirit .wp-block-quote::before,
body.lumirel-natural-spirit .wp-block-pullquote::before {
	content: "";
	display: block;
	width: 48px;
	height: 1px;
	margin: 0 auto var(--lumirel-space-sm);
	background: linear-gradient(90deg, transparent, var(--lumirel-gold), transparent);
	box-shadow: 0 0 20px var(--lumirel-gold-glow);
}

body.lumirel-natural-spirit .wp-block-pullquote blockquote,
body.lumirel-natural-spirit .wp-block-quote p {
	font-size: clamp(1.2rem, 0.5rem + 1.8vw, 1.65rem);
	line-height: 1.55;
	font-style: italic;
	font-weight: 400;
}

/* Separator */
body.lumirel-natural-spirit hr,
body.lumirel-natural-spirit .wp-block-separator {
	border: none;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(184, 149, 108, 0.55), transparent);
	max-width: 120px;
	margin: var(--lumirel-space-lg) auto;
	box-shadow: 0 0 24px var(--lumirel-gold-glow);
	opacity: 1;
}

/* Footer */
body.lumirel-natural-spirit .site-footer-wrap {
	background: linear-gradient(180deg, var(--lumirel-cream-deep) 0%, #e3d9c8 100%);
	border-top: 1px solid rgba(20, 38, 31, 0.08);
	padding-top: var(--lumirel-space-lg);
	padding-bottom: var(--lumirel-space-md);
}

body.lumirel-natural-spirit .site-footer,
body.lumirel-natural-spirit .footer-navigation a {
	color: var(--lumirel-sage);
	font-family: var(--lumirel-font-display);
	letter-spacing: 0.08em;
	font-size: 0.95rem;
}

/* -------------------------------------------------------------------------
   Soft motion (respects reduced motion)
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	body.lumirel-natural-spirit h1,
	body.lumirel-natural-spirit h2,
	body.lumirel-natural-spirit .entry-title {
		animation: lumirel-fade-rise 1.1s var(--lumirel-ease-out) both;
	}

	body.lumirel-natural-spirit .entry-content > p:first-of-type {
		animation: lumirel-fade-rise 1.15s var(--lumirel-ease-out) 0.08s both;
	}

	body.lumirel-natural-spirit .lumirel-section--mist,
	body.lumirel-natural-spirit .lumirel-section--canopy,
	body.lumirel-natural-spirit .lumirel-section--clearing {
		animation: lumirel-section-breathe 14s ease-in-out infinite alternate;
	}

	body.lumirel-natural-spirit .site-header-wrap {
		animation: lumirel-header-settle 1.2s var(--lumirel-ease-out) both;
	}

	body.lumirel-natural-spirit .wp-block-image img,
	body.lumirel-natural-spirit .post-thumbnail img {
		transition: transform 1s var(--lumirel-ease-out), filter 0.8s var(--lumirel-ease-soft);
	}

	body.lumirel-natural-spirit .wp-block-image:hover img,
	body.lumirel-natural-spirit .post-thumbnail:hover img {
		transform: scale(1.02);
		filter: saturate(1.05) brightness(1.02);
	}
}

@keyframes lumirel-fade-rise {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes lumirel-section-breathe {
	from {
		filter: saturate(1) brightness(1);
	}
	to {
		filter: saturate(1.04) brightness(1.02);
	}
}

@keyframes lumirel-header-settle {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	body.lumirel-natural-spirit *,
	body.lumirel-natural-spirit *::before,
	body.lumirel-natural-spirit *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	body.lumirel-home .lumirel-reveal {
		opacity: 1 !important;
		transform: none !important;
	}

	body.lumirel-home .entry-content > .wp-block-cover:first-child h1,
	body.lumirel-home .entry-content > .lumirel-hero:first-child h1,
	body.lumirel-home .entry-content > .wp-block-group.lumirel-hero:first-child h1 {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

/* =============================================================================
   LUMIREL — Cinematic homepage (Natural Spirit / reference mood)
   Full-bleed hero, overlay navigation, immersive rhythm — not “boxed WP”.
   Add class `lumirel-hero` to your first Cover or Group for clearest control.
   Optional: `lumirel-reveal` on sections for soft entrance.
   ============================================================================= */

html:has(body.lumirel-home) {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html:has(body.lumirel-home) {
		scroll-behavior: auto;
	}
}

body.lumirel-home.lumirel-natural-spirit {
	--lumirel-deep-green: #2f3f34;
	--lumirel-moss-green: #5f6f57;
	--lumirel-forest: #1a2822;
	--lumirel-forest-soft: #24362e;
	--lumirel-sage: #4a6658;
	--lumirel-vignette: rgba(12, 18, 16, 0.55);
}

/* --- Kill the “boxed” content frame on the front page only --- */
body.lumirel-home #inner-wrap {
	margin-top: 0;
}

body.lumirel-home #primary.content-area .content-container.site-container {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

body.lumirel-home .content-wrap {
	padding: 0;
}

body.lumirel-home .single-entry.content-bg {
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}

body.lumirel-home .entry-content-wrap {
	padding: 0;
	max-width: none;
}

body.lumirel-home .entry-content.single-content {
	padding-bottom: var(--lumirel-space-xl);
}

/* Default horizontal breathing room for in-flow blocks (hero breaks out below) */
body.lumirel-home .entry-content.single-content > *:not(.alignfull):not(.wp-block-cover):not(.lumirel-hero):not(.lumirel-section--canopy):not(.lumirel-section--mist):not(.lumirel-section--clearing) {
	padding-left: clamp(1.25rem, 5vw, 3.5rem);
	padding-right: clamp(1.25rem, 5vw, 3.5rem);
}

body.lumirel-home .entry-content > .alignwide {
	padding-left: clamp(1rem, 4vw, 2.5rem);
	padding-right: clamp(1rem, 4vw, 2.5rem);
}

/* --- Cinematic hero: first Cover / Group.lumirel-hero — edge-to-edge + golden light --- */
body.lumirel-home .entry-content > .lumirel-hero:first-child,
body.lumirel-home .entry-content > .wp-block-group.lumirel-hero:first-child,
body.lumirel-home .entry-content > .wp-block-cover:first-child {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	left: auto;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	border: 0;
	box-shadow: none;
}

body.lumirel-home .entry-content > .wp-block-cover:first-child .wp-block-cover__image-background,
body.lumirel-home .entry-content > .lumirel-hero:first-child .wp-block-cover__image-background {
	transform: scale(1.04);
	filter: saturate(1.08) brightness(0.92);
	transition: transform 1.4s var(--lumirel-ease-out), filter 1.4s var(--lumirel-ease-soft);
}

@media (prefers-reduced-motion: no-preference) {
	body.lumirel-home .entry-content > .wp-block-cover:first-child:hover .wp-block-cover__image-background,
	body.lumirel-home .entry-content > .lumirel-hero:first-child:hover .wp-block-cover__image-background {
		transform: scale(1.07);
	}
}

/* Warm “sun through canopy” glow + cinematic vignette */
body.lumirel-home .entry-content > .wp-block-cover:first-child::after,
body.lumirel-home .entry-content > .lumirel-hero.wp-block-cover:first-child::after,
body.lumirel-home .entry-content > .wp-block-group.lumirel-hero:first-child::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
}

body.lumirel-home .entry-content > .wp-block-cover:first-child::after,
body.lumirel-home .entry-content > .lumirel-hero.wp-block-cover:first-child::after {
	background:
		radial-gradient(ellipse 100% 70% at 50% -5%, rgba(197, 167, 126, 0.55) 0%, transparent 52%),
		radial-gradient(ellipse 80% 50% at 80% 20%, rgba(197, 167, 126, 0.18) 0%, transparent 45%),
		linear-gradient(180deg, rgba(26, 40, 34, 0.25) 0%, var(--lumirel-vignette) 100%);
	mix-blend-mode: soft-light;
}

body.lumirel-home .entry-content > .wp-block-group.lumirel-hero:first-child::before {
	background:
		radial-gradient(ellipse 100% 70% at 50% -5%, rgba(197, 167, 126, 0.45) 0%, transparent 55%),
		linear-gradient(165deg, var(--lumirel-forest) 0%, #1e2d26 100%);
	z-index: 0;
}

body.lumirel-home .entry-content > .wp-block-cover:first-child .wp-block-cover__inner-container,
body.lumirel-home .entry-content > .lumirel-hero:first-child .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	padding-top: clamp(5.5rem, 14vh, 9rem);
	padding-bottom: clamp(3rem, 10vh, 6rem);
	padding-left: clamp(1.5rem, 5vw, 4rem);
	padding-right: clamp(1.5rem, 5vw, 4rem);
	max-width: min(52rem, 94vw);
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

body.lumirel-home .entry-content > .wp-block-group.lumirel-hero:first-child > .wp-block-group__inner-container {
	position: relative;
	z-index: 2;
	flex: 1 1 auto;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: min(72vh, 820px);
	padding-top: clamp(5.5rem, 14vh, 9rem);
	padding-bottom: clamp(3rem, 10vh, 6rem);
	padding-left: clamp(1.5rem, 5vw, 4rem);
	padding-right: clamp(1.5rem, 5vw, 4rem);
	max-width: min(52rem, 94vw);
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

body.lumirel-home .entry-content > .wp-block-cover:first-child h1,
body.lumirel-home .entry-content > .lumirel-hero:first-child h1,
body.lumirel-home .entry-content > .wp-block-group.lumirel-hero:first-child h1 {
	font-family: var(--lumirel-font-hero);
	font-weight: 300;
	font-size: clamp(2.75rem, 1.2rem + 5vw, 4.75rem);
	line-height: 1.05;
	letter-spacing: 0.04em;
	color: #fdfcf9;
	text-shadow:
		0 0 80px rgba(197, 167, 126, 0.55),
		0 0 40px rgba(0, 0, 0, 0.35),
		0 2px 24px rgba(0, 0, 0, 0.45);
	animation: lumirel-hero-title 1.4s var(--lumirel-ease-out) both;
}

body.lumirel-home .entry-content > .wp-block-cover:first-child .wp-block-cover__background,
body.lumirel-home .entry-content > .lumirel-hero:first-child .wp-block-cover__background {
	opacity: 0.45;
}

body.lumirel-home .entry-content > .wp-block-cover:first-child p,
body.lumirel-home .entry-content > .lumirel-hero:first-child p,
body.lumirel-home .entry-content > .wp-block-group.lumirel-hero:first-child p {
	font-size: clamp(1.05rem, 0.4rem + 1.5vw, 1.25rem);
	color: rgba(253, 252, 249, 0.88);
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.8;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

@keyframes lumirel-hero-title {
	from {
		opacity: 0;
		transform: translateY(28px) scale(0.98);
		letter-spacing: 0.12em;
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
		letter-spacing: 0.04em;
	}
}

/* --- Fixed immersive header --- */
body.lumirel-home #masthead.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100050;
	background: transparent;
	transition:
		background 0.55s var(--lumirel-ease-soft),
		box-shadow 0.55s var(--lumirel-ease-soft),
		border-color 0.45s ease;
}

body.admin-bar.lumirel-home #masthead.site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar.lumirel-home #masthead.site-header {
		top: 46px;
	}
}

body.lumirel-home #masthead #main-header.site-header-wrap {
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: inherit;
}

body.lumirel-home #masthead.lumirel-header-scrolled #main-header.site-header-wrap {
	background: rgba(239, 236, 235, 0.94);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-bottom-color: rgba(47, 63, 52, 0.1);
	box-shadow: 0 12px 48px rgba(20, 30, 26, 0.08);
}

/* On hero: light nav + gold on logo (your existing logo asset stays) */
body.lumirel-home #masthead.lumirel-header-on-hero #main-header .site-container .site-header-row a,
body.lumirel-home #masthead.lumirel-header-on-hero #main-header .site-container .site-header-row .site-title,
body.lumirel-home #masthead.lumirel-header-on-hero #main-header .site-container .site-header-row .site-description {
	color: rgba(253, 252, 249, 0.95) !important;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

body.lumirel-home #masthead.lumirel-header-on-hero #main-header .primary-menu-container nav > ul > li > a {
	color: rgba(253, 252, 249, 0.92) !important;
}

body.lumirel-home #masthead.lumirel-header-on-hero #main-header .primary-menu-container nav > ul > li > a:hover,
body.lumirel-home #masthead.lumirel-header-on-hero #main-header .primary-menu-container nav > ul > li.current-menu-item > a {
	color: #fff !important;
	text-shadow: 0 0 28px rgba(197, 167, 126, 0.9);
}

body.lumirel-home #masthead.lumirel-header-on-hero .site-branding a.brand img,
body.lumirel-home #masthead.lumirel-header-on-hero .site-branding a.brand .custom-logo-link img {
	filter: drop-shadow(0 0 20px rgba(197, 167, 126, 0.85)) drop-shadow(0 4px 24px rgba(0, 0, 0, 0.45));
	transition: filter 0.5s var(--lumirel-ease-soft);
}

body.lumirel-home #masthead.lumirel-header-scrolled #main-header .site-branding a.brand img,
body.lumirel-home #masthead.lumirel-header-scrolled #main-header .site-branding a.brand .custom-logo-link img {
	filter: drop-shadow(0 0 14px rgba(197, 167, 126, 0.35));
}

body.lumirel-home #masthead.lumirel-header-scrolled #main-header .primary-menu-container nav > ul > li > a {
	color: var(--lumirel-forest) !important;
	text-shadow: none;
}

body.lumirel-home #masthead.lumirel-header-scrolled #main-header .site-title {
	color: var(--lumirel-forest) !important;
	text-shadow: none;
}

body.lumirel-home #masthead #mobile-header .site-header-row-container-inner {
	background: transparent;
	transition: background 0.45s ease;
}

body.lumirel-home #masthead.lumirel-header-scrolled #mobile-header .site-header-row-container-inner {
	background: rgba(239, 236, 235, 0.96);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

body.lumirel-home #masthead.lumirel-header-on-hero #mobile-header .menu-toggle-open,
body.lumirel-home #masthead.lumirel-header-on-hero #mobile-header .mobile-html-item,
body.lumirel-home #masthead.lumirel-header-on-hero #mobile-header .site-title {
	color: rgba(253, 252, 249, 0.95) !important;
}

body.lumirel-home #masthead.lumirel-header-scrolled #mobile-header .menu-toggle-open,
body.lumirel-home #masthead.lumirel-header-scrolled #mobile-header .site-title {
	color: var(--lumirel-forest) !important;
}

/* --- Premium buttons on home --- */
body.lumirel-home .wp-block-button__link,
body.lumirel-home .button {
	letter-spacing: 0.18em;
	font-weight: 500;
	padding: 1em 2.25em;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--lumirel-deep-green) 0%, var(--lumirel-forest) 100%);
	border: 1px solid rgba(197, 167, 126, 0.45);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.06) inset,
		0 0 40px rgba(197, 167, 126, 0.25),
		0 16px 40px rgba(12, 22, 18, 0.35);
}

body.lumirel-home .wp-block-button__link:hover,
body.lumirel-home .button:hover {
	background: linear-gradient(135deg, var(--lumirel-forest-soft) 0%, var(--lumirel-deep-green) 100%);
	box-shadow:
		0 0 0 1px rgba(197, 167, 126, 0.35) inset,
		0 0 56px rgba(197, 167, 126, 0.45),
		0 20px 50px rgba(12, 22, 18, 0.4);
}

body.lumirel-home .wp-block-cover .wp-block-button.is-style-outline .wp-block-button__link,
body.lumirel-home .lumirel-section--canopy .wp-block-button.is-style-outline .wp-block-button__link {
	background: rgba(253, 252, 249, 0.08);
	color: #fdfcf9;
	border-color: rgba(197, 167, 126, 0.65);
	backdrop-filter: blur(8px);
}

body.lumirel-home .entry-content > * ~ * .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--lumirel-forest);
	border-color: rgba(47, 63, 52, 0.35);
	backdrop-filter: none;
}

/* --- Section rhythm & atmosphere --- */
body.lumirel-home .lumirel-section--canopy,
body.lumirel-home .wp-block-group.lumirel-section--canopy {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-top: var(--lumirel-space-xl);
	padding-bottom: var(--lumirel-space-xl);
	background: linear-gradient(168deg, #1a2822 0%, var(--lumirel-deep-green) 42%, #152019 100%);
	box-shadow: inset 0 0 160px rgba(0, 0, 0, 0.35);
}

body.lumirel-home .lumirel-section--mist,
body.lumirel-home .wp-block-group.lumirel-section--mist {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

body.lumirel-home .lumirel-section--clearing,
body.lumirel-home .wp-block-group.lumirel-section--clearing {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* --- Typography hierarchy on home (below hero) --- */
body.lumirel-home .entry-content h2 {
	font-size: clamp(2rem, 1rem + 3vw, 3rem);
	font-weight: 300;
	margin-top: var(--lumirel-space-lg);
}

body.lumirel-home .entry-content h3 {
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: lowercase;
	font-variant: small-caps;
	font-size: clamp(1.15rem, 0.5rem + 1.2vw, 1.45rem);
	color: var(--lumirel-moss-green);
}

/* --- Scroll reveal utility --- */
body.lumirel-home .lumirel-reveal {
	opacity: 0;
	transform: translateY(36px);
	transition:
		opacity 1s var(--lumirel-ease-out),
		transform 1.1s var(--lumirel-ease-out);
}

body.lumirel-home .lumirel-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* --- Mobile --- */
@media screen and (max-width: 767px) {
	body.lumirel-home .entry-content > .wp-block-cover:first-child .wp-block-cover__inner-container,
	body.lumirel-home .entry-content > .lumirel-hero:first-child .wp-block-cover__inner-container,
	body.lumirel-home .entry-content > .wp-block-group.lumirel-hero:first-child > .wp-block-group__inner-container {
		padding-top: clamp(5rem, 18vw, 7rem);
		text-align: center;
	}

	body.lumirel-home .entry-content.single-content > *:not(.alignfull):not(.wp-block-cover):not(.lumirel-hero):not(.lumirel-section--canopy):not(.lumirel-section--mist):not(.lumirel-section--clearing) {
		padding-left: clamp(1rem, 5vw, 1.5rem);
		padding-right: clamp(1rem, 5vw, 1.5rem);
	}

	body.lumirel-home .wp-block-button__link,
	body.lumirel-home .button {
		width: 100%;
		text-align: center;
		justify-content: center;
	}
}

/* Mobile drawer / modal nav — forest luxury */
body.lumirel-home .mobile-navigation.drawer-navigation {
	background: linear-gradient(180deg, #152019 0%, var(--lumirel-deep-green) 100%) !important;
}

body.lumirel-home .mobile-navigation ul li a {
	color: rgba(253, 252, 249, 0.92) !important;
	font-family: var(--lumirel-font-display);
	letter-spacing: 0.1em;
}

body.lumirel-home .mobile-navigation ul li a:hover {
	color: var(--lumirel-gold-soft) !important;
}
