/* Radiant Home Lighting – storefront styles (scoped to .rhl-* classes) */
:root {
	--rhl-ink: #151311;
	--rhl-ink-2: #1f1c19;
	--rhl-cream: #f7f3ed;
	--rhl-sand: #ece4d8;
	--rhl-brass: #b8925a;
	--rhl-brass-2: #d4b07a;
	--rhl-text: #2b2724;
	--rhl-muted: #6f675f;
	--rhl-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
	--rhl-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
	--rhl-wide: 1200px;
}

/* Hide the theme's own page title on storefront pages (each page has its own headline). */
.rhl-page .wp-block-post-title,
.rhl-page .entry-header .entry-title,
.rhl-page .page-header .page-title,
.rhl-page .ast-archive-title,
.rhl-page header.entry-header { display: none !important; }
.rhl-page .wp-block-post-featured-image { display: none; }

/* Remove the theme's top spacing so the first section meets the header. */
.rhl-page main, .rhl-page main > .wp-block-group:first-child,
.rhl-page .wp-block-post-content, .rhl-page .entry-content { margin-top: 0 !important; padding-top: 0 !important; }
.rhl-page .wp-block-post-content > .rhl-section:first-child { margin-block-start: 0 !important; }
.rhl-page main { margin-bottom: 0 !important; padding-bottom: 0 !important; }

/* Full-width sections on classic themes */
.rhl-classic { overflow-x: hidden; }
.rhl-classic .rhl-section.alignfull {
	width: 100vw; max-width: 100vw;
	margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
}

/* Section shell */
.rhl-section {
	font-family: var(--rhl-sans);
	color: var(--rhl-text);
	padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 48px);
	margin-top: 0 !important; margin-bottom: 0 !important;
	box-sizing: border-box;
}
.rhl-section > * { max-width: var(--rhl-wide); margin-left: auto !important; margin-right: auto !important; }
.rhl-section p { line-height: 1.7; }
.rhl-section a { color: inherit; }
.rhl-section h1, .rhl-section h2, .rhl-section h3 {
	font-family: var(--rhl-serif); font-weight: 500; letter-spacing: -0.01em; color: inherit; line-height: 1.15;
}
.rhl-soft { background: var(--rhl-cream); }
.rhl-dark { background: var(--rhl-ink); color: #eae4dc; }
.rhl-dark .rhl-feature-text, .rhl-dark .rhl-lead { color: #bdb4a8; }
.rhl-center { text-align: center; justify-content: center; }

.rhl-eyebrow {
	font-size: 0.78rem !important; letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--rhl-brass) !important; font-weight: 600; margin-bottom: 0.6em !important;
}
.rhl-display { font-size: clamp(2.6rem, 5.6vw, 4.6rem) !important; margin-top: 0 !important; margin-bottom: 0.35em !important; }
.rhl-section-title { font-size: clamp(2rem, 3.6vw, 3rem) !important; margin-top: 0 !important; margin-bottom: 0.6em !important; }
.rhl-lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--rhl-muted); max-width: 640px; }
.rhl-center.rhl-lead, .rhl-final-cta .rhl-lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.rhl-section .wp-block-button__link {
	background: var(--rhl-brass); color: #fff; border: 1px solid var(--rhl-brass);
	border-radius: 0; padding: 0.95em 1.9em; font-family: var(--rhl-sans);
	font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
	text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.rhl-section .wp-block-button__link:hover { background: #9f7b46; border-color: #9f7b46; color: #fff; }
.rhl-section .is-style-outline .wp-block-button__link { background: transparent; color: var(--rhl-text); border-color: currentColor; }
.rhl-section .is-style-outline .wp-block-button__link:hover { background: var(--rhl-ink); color: #fff; border-color: var(--rhl-ink); }
.rhl-dark .is-style-outline .wp-block-button__link,
.rhl-hero .is-style-outline .wp-block-button__link { color: #f4ede3; border-color: rgba(244,237,227,.7); }
.rhl-dark .is-style-outline .wp-block-button__link:hover,
.rhl-hero .is-style-outline .wp-block-button__link:hover { background: #f4ede3; color: var(--rhl-ink); border-color: #f4ede3; }
.rhl-section .wp-block-buttons { gap: 14px; margin-top: 1.6em; }

/* Hero */
.rhl-hero {
	background: var(--rhl-ink) url("img/hero.jpg") center right / cover no-repeat;
	color: #f4ede3; min-height: min(86vh, 760px);
	display: flex; flex-direction: column; justify-content: center;
}
.rhl-hero > * { width: 100%; }
.rhl-hero .rhl-display, .rhl-hero .rhl-lead, .rhl-hero .rhl-eyebrow { max-width: 640px; margin-left: 0 !important; }
.rhl-hero .rhl-display, .rhl-hero .rhl-lead, .rhl-hero .rhl-eyebrow, .rhl-hero .rhl-cta {
	margin-left: max(0px, calc((100% - var(--rhl-wide)) / 2)) !important;
}
.rhl-hero .rhl-lead { color: #cfc5b8; }

/* Inner page hero */
.rhl-page-hero {
	background: linear-gradient(180deg, #1c1916 0%, #121110 100%);
	color: #f4ede3; padding-top: clamp(70px, 9vw, 120px); padding-bottom: clamp(60px, 7vw, 96px);
}
.rhl-page-hero .rhl-lead { color: #cfc5b8; }
.rhl-page-hero .rhl-display { font-size: clamp(2.2rem, 4.6vw, 3.8rem) !important; max-width: 900px; }
.rhl-page-hero .rhl-display, .rhl-page-hero .rhl-lead, .rhl-page-hero .rhl-eyebrow {
	margin-left: max(0px, calc((100% - var(--rhl-wide)) / 2)) !important;
}

/* Trust bar */
.rhl-trustbar { background: var(--rhl-sand); padding-top: 36px; padding-bottom: 36px; }
.rhl-trustbar .rhl-feature-title { font-family: var(--rhl-sans) !important; font-size: 0.86rem !important; font-weight: 700 !important; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 .35em; }
.rhl-trustbar .rhl-feature-text { font-size: 0.92rem; margin: 0; }
.rhl-trustbar .rhl-feature-title::before { content: ""; display: block; width: 28px; height: 2px; background: var(--rhl-brass); margin-bottom: 12px; }

/* Features */
.rhl-feature-title { font-size: 1.45rem !important; margin-top: 1.2em !important; margin-bottom: 0.35em !important; }
.rhl-feature-text { color: var(--rhl-muted); margin-top: 0; }

/* Collection cards */
.rhl-cards { gap: 28px !important; margin-top: 1.5em; }
.rhl-card-img { margin: 0 0 1em !important; overflow: hidden; }
.rhl-card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .6s ease; }
.rhl-card-img:hover img { transform: scale(1.04); }
.rhl-card-title { font-size: 1.7rem !important; margin-top: 0 !important; margin-bottom: .3em !important; }
.rhl-card-title a { text-decoration: none; }
.rhl-card-text { color: var(--rhl-muted); margin: 0 0 .6em; }
.rhl-card-link a { color: var(--rhl-brass); text-decoration: none; font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.rhl-card-link a:hover { text-decoration: underline; }

/* Steps */
.rhl-how { background: var(--rhl-cream); }
.rhl-step-num { font-family: var(--rhl-serif); font-size: 2.6rem !important; color: var(--rhl-brass); line-height: 1 !important; margin-top: 1.4em !important; margin-bottom: 0 !important; }
.rhl-steps { gap: 40px !important; margin-bottom: 1.4em; }
.rhl-steps .rhl-feature-title { margin-top: .4em !important; }

/* Trade section */
.rhl-trade-cols { gap: clamp(28px, 5vw, 72px) !important; align-items: center !important; }
.rhl-trade-features { gap: 32px !important; }
.rhl-trade .rhl-feature-title { color: #f4ede3; font-size: 1.3rem !important; }
.rhl-rounded img { width: 100%; display: block; }

/* Final CTA */
.rhl-final-cta { background: var(--rhl-sand); text-align: center; }
.rhl-final-cta .wp-block-buttons { justify-content: center; }
.rhl-collections .rhl-center { justify-content: center; }

/* Audience + tiers */
.rhl-audience { gap: 32px !important; }
.rhl-audience > .wp-block-column, .rhl-tiers > .wp-block-column {
	background: #fff; border: 1px solid #e6ddd0; padding: clamp(24px, 3vw, 40px);
}
.rhl-tiers { gap: 24px !important; margin-top: 1.5em; }
.rhl-tiers > .wp-block-column:nth-child(2) { border-color: var(--rhl-brass); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.rhl-tier-name { font-size: 1.9rem !important; margin-top: 0 !important; margin-bottom: .2em !important; }
.rhl-tier-who { color: var(--rhl-muted); }
.rhl-tiers ul { padding-left: 1.1em; margin: 1em 0 0; }
.rhl-tiers li { margin: .4em 0; }
.rhl-note { color: var(--rhl-muted); font-size: .9rem; margin-top: 1.6em; }

/* Policy page */
.rhl-policy > * { max-width: 820px; }
.rhl-policy-h { font-size: 1.8rem !important; margin: 1.8em auto .5em !important; padding-top: .8em; border-top: 1px solid #e6ddd0; }
.rhl-policy-h:first-child { margin-top: 0 !important; border-top: 0; padding-top: 0; }
.rhl-policy ul { padding-left: 1.2em; }
.rhl-policy li { margin: .45em 0; line-height: 1.65; }

/* Forms */
.rhl-form-wrap { background: var(--rhl-cream); border: 1px solid #e6ddd0; padding: clamp(22px, 3vw, 40px); }
.rhl-form .rhl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.rhl-form .rhl-wide { grid-column: 1 / -1; }
.rhl-form .rhl-field { margin: 0 0 12px; }
.rhl-form label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 6px; color: var(--rhl-text); }
.rhl-form input[type=text], .rhl-form input[type=email], .rhl-form input[type=tel], .rhl-form input[type=url],
.rhl-form select, .rhl-form textarea {
	width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #d8cfc2; background: #fff;
	font: inherit; font-size: 1rem; color: var(--rhl-text); border-radius: 0;
}
.rhl-form input:focus, .rhl-form select:focus, .rhl-form textarea:focus { outline: 2px solid var(--rhl-brass); outline-offset: 0; border-color: var(--rhl-brass); }
.rhl-form .rhl-check label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.rhl-form .rhl-check input { margin-top: 4px; }
.rhl-req { color: #a3441f; }
.rhl-form button {
	background: var(--rhl-brass); color: #fff; border: 0; border-radius: 0; cursor: pointer;
	padding: 1em 2.2em; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.rhl-form button:hover { background: #9f7b46; }
.rhl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.rhl-notice { padding: 16px 18px; margin-bottom: 18px; font-size: 1rem; }
.rhl-notice-ok { background: #edf5ec; border-left: 4px solid #3f7d3a; }
.rhl-notice-err { background: #fbeeea; border-left: 4px solid #a3441f; }
.rhl-apply { gap: clamp(28px, 5vw, 64px) !important; }
.rhl-contact-cols { gap: clamp(28px, 5vw, 64px) !important; }
.rhl-contact-cols .rhl-feature-title:first-child { margin-top: 0 !important; }

@media (max-width: 781px) {
	.rhl-form .rhl-grid { grid-template-columns: 1fr; }
	.rhl-hero {
		min-height: 0;
		background-image: linear-gradient(rgba(15,14,13,.55), rgba(15,14,13,.75)), url("img/hero.jpg");
		background-position: center, 70% center;
	}
	.rhl-trade-features > .wp-block-column { flex-basis: 100% !important; }
}
