/* Lisse — "Modern editorial luxe" layer. Scoped to body.lx-luxe; remove the class and nothing remains. */
body.lx-luxe {
	--lx-ivory: #FAF6EF;
	--lx-ivory-2: #F3ECE0;
	--lx-espresso: #2B2420;
	--lx-espresso-soft: #5A4E45;
	--lx-gold: #B08D57;
	--lx-gold-dark: #8A6A3B;
	--lx-line: rgba(176, 141, 87, .45);
	--lx-serif: "Frank Ruhl Libre", "David Libre", Georgia, serif;
	--lx-sans: "Heebo", "Assistant", Arial, sans-serif;
	--lx-ease: cubic-bezier(.22, .61, .36, 1);
	background-color: var(--lx-ivory);
	color: var(--lx-espresso);
	font-family: var(--lx-sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Elementor global colours -> new palette (beats .elementor-kit-6 on specificity). */
body.lx-luxe.elementor-kit-6 {
	--e-global-color-primary: var(--lx-espresso);
	--e-global-color-secondary: var(--lx-espresso-soft);
	--e-global-color-text: var(--lx-espresso-soft);
	--e-global-color-accent: var(--lx-gold);
	--e-global-typography-primary-font-family: "Frank Ruhl Libre";
	--e-global-typography-secondary-font-family: "Heebo";
	--e-global-typography-text-font-family: "Heebo";
	--e-global-typography-accent-font-family: "Heebo";
}

/* ---------- Typography ---------- */
body.lx-luxe :is(p, li, a, span, div, label, input, textarea, select, button, td, th, blockquote, figcaption, small, strong, em, b):not([class*="icon"]):not([class*="fa-"]):not([class^="fa"]):not([class*=" fa"]):not(.dashicons) {
	font-family: var(--lx-sans) !important;
}
body.lx-luxe :is(h1, h2, h3, h4, .elementor-heading-title) {
	font-family: var(--lx-serif) !important;
	font-weight: 500 !important;
	letter-spacing: normal !important;
	word-spacing: .02em;
	line-height: 1.2 !important;
}
body.lx-luxe :is(h1, h2, h3, h4) :is(span, strong, b, em) {
	font-family: inherit !important;
}
body.lx-luxe :is(h5, h6) {
	font-family: var(--lx-sans) !important;
	font-weight: 500 !important;
	letter-spacing: .08em;
	text-transform: uppercase;
}
body.lx-luxe h1 { font-weight: 500 !important; }
body.lx-luxe :is(p, li) {
	line-height: 1.75;
}
body.lx-luxe ::selection {
	background: rgba(176, 141, 87, .25);
	color: var(--lx-espresso);
}

/* Thin gold rule above section headings (added by JS to in-content H2s). */
body.lx-luxe h2.lx-rule::before {
	content: "";
	display: block;
	width: 52px;
	height: 1px;
	background: var(--lx-gold);
	margin: 0 0 .9em;
	margin-inline-start: 0;
}
body.lx-luxe h2.lx-rule.lx-center::before {
	margin-inline: auto;
}
body.lx-luxe h2.lx-rule.lx-end::before {
	margin-inline-start: auto;
	margin-inline-end: 0;
}

/* ---------- Buttons ---------- */
body.lx-luxe .elementor-button,
body.lx-luxe .elementor-widget-button a,
body.lx-luxe :is(input[type="submit"], button[type="submit"]):not([class*="onetap"]) {
	border-radius: 999px !important;
	font-family: var(--lx-sans) !important;
	font-weight: 500 !important;
	letter-spacing: .02em;
	transition: background-color .35s var(--lx-ease), color .35s var(--lx-ease), transform .35s var(--lx-ease), box-shadow .35s var(--lx-ease) !important;
}
body.lx-luxe .elementor-button:hover,
body.lx-luxe :is(input[type="submit"], button[type="submit"]):not([class*="onetap"]):hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 24px -12px rgba(43, 36, 32, .45);
}

/* ---------- Header ---------- */
body.lx-luxe [data-elementor-type="header"] {
	background-color: rgba(250, 246, 239, .92);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid rgba(176, 141, 87, .22);
}
body.lx-luxe [data-elementor-type="header"] :is(.e-con, .elementor-section, .elementor-widget-wrap, .e-con-inner) {
	background-color: transparent !important;
}
body.lx-luxe [data-elementor-type="header"] .elementor-nav-menu a,
body.lx-luxe [data-elementor-type="header"] nav a {
	font-family: var(--lx-sans) !important;
	font-weight: 400;
	letter-spacing: .02em;
	color: var(--lx-espresso);
	transition: color .3s var(--lx-ease);
}
body.lx-luxe [data-elementor-type="header"] nav a:hover {
	color: var(--lx-gold-dark);
}

/* ---------- Footer ---------- */
body.lx-luxe [data-elementor-type="footer"] {
	border-top: 1px solid var(--lx-line);
}

/* ---------- Images ---------- */
body.lx-luxe img.lx-arch {
	border-radius: 999px 999px 18px 18px !important;
	object-fit: cover;
}
body.lx-luxe img.lx-soft {
	border-radius: 18px !important;
}

/* ---------- Forms ---------- */
body.lx-luxe [data-elementor-type="wp-page"] :is(input[type="text"], input[type="tel"], input[type="email"], input[type="number"], textarea, select) {
	border: 1px solid rgba(176, 141, 87, .38) !important;
	border-radius: 14px !important;
	background-color: #FFFDF9 !important;
	color: var(--lx-espresso) !important;
	transition: border-color .3s var(--lx-ease), box-shadow .3s var(--lx-ease);
}
body.lx-luxe [data-elementor-type="wp-page"] :is(input, textarea, select):focus {
	outline: none !important;
	border-color: var(--lx-gold) !important;
	box-shadow: 0 0 0 3px rgba(176, 141, 87, .18) !important;
}
body.lx-luxe [data-elementor-type="wp-page"] :is(input, textarea)::placeholder {
	color: #8C8078;
}

/* Neutral grey sections re-toned to warm ivory (class added by JS). */
body.lx-luxe .lx-warm { background-color: var(--lx-ivory-2) !important; }
body.lx-luxe .lx-warm-light { background-color: var(--lx-ivory) !important; }

/* ---------- Links in content ---------- */
body.lx-luxe [data-elementor-type="wp-page"] :is(p, li) a:not(.elementor-button) {
	color: var(--lx-gold-dark);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	text-decoration-color: var(--lx-line);
}

/* ---------- Reveal on scroll (only when JS is running and motion is allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
	html.lx-js body.lx-luxe .lx-reveal {
		opacity: 0;
		transform: translateY(12px);
		transition: opacity .7s var(--lx-ease), transform .7s var(--lx-ease);
	}
	html.lx-js body.lx-luxe .lx-reveal.lx-in {
		opacity: 1;
		transform: none;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	body.lx-luxe h2.lx-rule::before { width: 40px; margin-bottom: .7em; }
	body.lx-luxe img.lx-arch { border-radius: 200px 200px 14px 14px !important; }
}
