/* RLV landing page */

.rlv-landing {
	overflow-x: clip;
}

.rlv-hero {
	position: relative;
	overflow: hidden;
	min-height: min(92vh, 52rem);
	display: grid;
	align-items: end;
	color: var(--rlv-white);
}

.rlv-hero__media {
	position: absolute;
	inset: 0;
	background-image: var(--rlv-hero-image);
	background-size: cover;
	background-position: center;
	transform: scale(1.04);
	animation: rlv-hero-drift 18s ease-in-out infinite alternate;
}

/* Keep veil on the same transformed layer as the image so scroll/compositor
   cannot desync the green overlay from the hero photo. */
.rlv-hero__media::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(8, 79, 63, 0.35) 0%, rgba(8, 79, 63, 0.72) 55%, rgba(8, 79, 63, 0.92) 100%),
		linear-gradient(90deg, rgba(8, 79, 63, 0.55) 0%, rgba(8, 79, 63, 0.15) 60%, transparent 100%);
}

.rlv-hero__content {
	position: relative;
	z-index: 1;
	max-width: var(--rlv-max);
	width: 100%;
	margin: 0 auto;
	padding: 5rem 1.25rem 3.5rem;
}

.rlv-hero__brand {
	margin: 0 0 0.75rem;
	font-family: var(--rlv-font-display);
	font-size: clamp(1.85rem, 4.5vw, 3rem);
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.rlv-hero__title {
	margin: 0 0 0.85rem;
	font-family: var(--rlv-font-body);
	font-size: clamp(1.15rem, 2.2vw, 1.45rem);
	font-weight: 600;
	line-height: 1.35;
	max-width: 28rem;
	opacity: 0.95;
}

.rlv-hero__lead {
	margin: 0 0 1.5rem;
	max-width: 32rem;
	font-size: 1.05rem;
	opacity: 0.92;
}

.rlv-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.rlv-hero .rlv-btn--ghost {
	border-color: rgba(255, 255, 255, 0.65);
	color: var(--rlv-white);
}

.rlv-section {
	padding: 4.5rem 1.25rem;
}

.rlv-section__inner {
	max-width: 42rem;
	margin: 0 auto;
}

.rlv-section__inner--center {
	text-align: center;
}

.rlv-section__inner--center .rlv-hero__actions {
	justify-content: center;
}

.rlv-section__title {
	margin: 0 0 1rem;
	font-family: var(--rlv-font-display);
	font-size: clamp(1.6rem, 3vw, 2.15rem);
	line-height: 1.2;
	color: var(--rlv-green-deep);
}

.rlv-section__lead {
	margin: 0 0 1.5rem;
	font-size: 1.15rem;
	color: var(--rlv-ink);
}

.rlv-section__body,
.rlv-section__note {
	margin: 0;
	color: var(--rlv-muted);
}

.rlv-section__note {
	margin-top: 1.75rem;
	font-size: 0.95rem;
	line-height: 1.55;
}

.rlv-section__actions {
	margin: 1.5rem 0 0;
}

.rlv-section--what {
	background: var(--rlv-white);
}

.rlv-section--how {
	background:
		radial-gradient(ellipse at top right, rgba(11, 106, 85, 0.08), transparent 55%),
		var(--rlv-paper-2);
}

.rlv-section--quotes {
	background: var(--rlv-green-soft);
}

.rlv-section--cta {
	background: var(--rlv-white);
	padding-bottom: 5.5rem;
}

.rlv-features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.5rem;
}

.rlv-features li {
	padding-left: 0;
	border-left: 3px solid var(--rlv-green);
	padding-left: 1rem;
}

.rlv-features strong {
	display: block;
	font-family: var(--rlv-font-display);
	font-size: 1.15rem;
	color: var(--rlv-green-deep);
	margin-bottom: 0.25rem;
}

.rlv-features span {
	color: var(--rlv-muted);
}

.rlv-quote {
	margin: 0 0 2.25rem;
	padding: 0;
	border: 0;
}

.rlv-quote:last-child {
	margin-bottom: 0;
}

.rlv-quote blockquote,
blockquote.rlv-quote {
	margin: 0;
	padding: 0;
	border: 0;
}

.rlv-quote blockquote p,
blockquote.rlv-quote p {
	margin: 0;
	font-family: var(--rlv-font-display);
	font-size: clamp(1.2rem, 2.4vw, 1.55rem);
	font-style: italic;
	line-height: 1.45;
	color: var(--rlv-green-deep);
}

.rlv-quote figcaption,
blockquote.rlv-quote cite {
	display: block;
	margin-top: 0.75rem;
	font-size: 0.9rem;
	font-style: normal;
	font-weight: 600;
	color: var(--rlv-muted);
}

/* Gutenberg wrappers on the landing page */
.rlv-landing > .wp-block-group {
	max-width: none;
}

.rlv-hero.wp-block-group,
.rlv-section.wp-block-group {
	margin-block: 0;
}

.rlv-hero__actions.wp-block-group {
	gap: 0.75rem;
}

.rlv-hero__actions.wp-block-group .rlv-btn {
	margin: 0;
}

.rlv-reveal {
	opacity: 0;
	transform: translateY(1.1rem);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.rlv-reveal.is-visible {
	opacity: 1;
	transform: none;
}

.rlv-hero .rlv-reveal {
	transition-delay: 0.12s;
}

@keyframes rlv-hero-drift {
	from {
		transform: scale(1.04) translate3d(0, 0, 0);
	}
	to {
		transform: scale(1.08) translate3d(-1.5%, -1%, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.rlv-hero__media {
		animation: none;
		transform: none;
	}

	.rlv-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

@media (max-width: 720px) {
	.rlv-hero {
		min-height: 85vh;
	}

	.rlv-hero__content {
		padding-top: 4rem;
	}
}
