/* AB Realtor — Luxe (Version 2)
   Editorial luxury: ivory + ink + brass, Cormorant Garamond over Jost, square
   corners, hairline rules, full-bleed photography. Loaded after the parent's
   theme.css, so rules here restyle shared components (cards, buttons, forms,
   tables) used by inner pages as well as the Luxe-only homepage sections. */

/* ---------- Shared container ---------- */
.lx-wrap {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding-left: clamp(1.25rem, 4vw, 3rem);
	padding-right: clamp(1.25rem, 4vw, 3rem);
	box-sizing: border-box;
}

.ab-luxe main.wp-block-group > .lx-section,
.ab-luxe .lx-section {
	padding-top: clamp(4.5rem, 9vw, 8rem);
	padding-bottom: clamp(4.5rem, 9vw, 8rem);
}

.lx-eyebrow,
.ab-luxe .ab-eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-deep);
	margin: 0 0 1.25rem;
}

.ab-luxe .ab-on-dark .ab-eyebrow,
.lx-on-dark .lx-eyebrow { color: #e3c99a; }

.lx-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 2rem;
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.lx-head h2 { margin: 0; max-width: 18ch; }

.lx-link {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 0.25rem;
	white-space: nowrap;
}

.lx-link:hover { color: var(--wp--preset--color--accent-deep); }

/* ---------- Buttons ---------- */
.lx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 1.125rem 2.25rem;
	border: 1px solid var(--wp--preset--color--contrast);
	background: var(--wp--preset--color--contrast);
	color: #ffffff;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lx-btn:hover { background: var(--wp--preset--color--accent-deep); border-color: var(--wp--preset--color--accent-deep); color: #ffffff; }

.lx-btn--ghost { background: transparent; color: var(--wp--preset--color--contrast); }
.lx-btn--ghost:hover { background: var(--wp--preset--color--contrast); color: #ffffff; border-color: var(--wp--preset--color--contrast); }

.lx-btn--light { background: #ffffff; border-color: #ffffff; color: var(--wp--preset--color--contrast); }
.lx-btn--light:hover { background: transparent; color: #ffffff; border-color: #ffffff; }

.lx-btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: #ffffff; }
.lx-btn--outline-light:hover { background: #ffffff; color: var(--wp--preset--color--contrast); border-color: #ffffff; }

.lx-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* Core buttons on inner pages */
.ab-luxe .wp-block-button .wp-block-button__link { border-radius: 0; }

.ab-luxe .wp-block-button.is-style-outline .wp-block-button__link {
	border: 1px solid var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--contrast);
	background: transparent;
}

.ab-luxe .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--contrast);
	color: #ffffff;
}

/* Core gives outline buttons their own, smaller padding (0.667em/1.333em), so
   they rendered 32px tall next to 49px solid buttons. Match theme.json's
   1.125rem/2.25rem, minus the 1px border, so both styles are the same size. */
.ab-luxe .wp-block-button.is-style-outline > .wp-block-button__link {
	padding: calc(1.125rem - 1px) calc(2.25rem - 1px);
}

/* Dark CTA panel: the two buttons share one width (up to 20rem each) and
   stack full-width when there is no room side by side. */
.ab-luxe .ab-on-dark .wp-block-buttons > .wp-block-button {
	flex: 1 1 17rem;
	max-width: 20rem;
}

.ab-luxe .ab-on-dark .wp-block-buttons > .wp-block-button > .wp-block-button__link {
	width: 100%;
	padding-left: 1rem;
	padding-right: 1rem;
	white-space: nowrap;
}

.ab-luxe .ab-on-dark .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: #ffffff;
	color: var(--wp--preset--color--contrast);
}

.ab-luxe .ab-on-dark .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast);
}

/* Outline buttons on dark panels (the "No pressure, ever" CTA on Guides, guide
   articles and About). The dark outline rule above out-ranked the parent
   theme's white version, leaving "Email Anatoliy" dark on dark. */
.ab-luxe .ab-on-dark .wp-block-button.is-style-outline .wp-block-button__link {
	border-color: rgba(255, 255, 255, 0.7);
	color: #ffffff;
}

.ab-luxe .ab-on-dark .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: #ffffff;
	border-color: #ffffff;
	color: var(--wp--preset--color--contrast);
}

/* ---------- Header ---------- */
.ab-luxe .ab-header {
	border-bottom: 1px solid var(--wp--preset--color--outline);
	transition: border-color 0.3s ease;
}

.ab-luxe .ab-header::before {
	background: rgba(251, 249, 246, 0.96);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	transition: background 0.3s ease;
}

.lx-header-row { padding-top: 1.125rem; padding-bottom: 1.125rem; }

/* Brand: name on top, "REALTOR® · [Epique logo]" underneath. */
.lx-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.4375rem;
	text-decoration: none;
	color: var(--wp--preset--color--contrast);
	line-height: 1;
}

.lx-brand-name {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.75rem;
	font-weight: 500;
	letter-spacing: 0.01em;
}

.lx-brand-tag {
	display: block;
	font-size: 0.625rem;
	font-weight: 500;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.lx-brand-dot { margin: 0 0.35em 0 0.1em; letter-spacing: 0; }

/* Brokerage logo as a mask, so it takes the text colour: dark on the solid header, white over the hero. */
.lx-brand-logo {
	/* Same height as the "REALTOR" capitals, sitting on their baseline: an empty
	   inline-block's baseline is its bottom edge, and 0.71em is Jost's cap height
	   at this size (measured). Em-based, so it follows the tag's font size. */
	display: inline-block;
	vertical-align: baseline;
	height: 0.71em;
	aspect-ratio: 480 / 101;
	color: var(--wp--preset--color--contrast);
	background-color: currentColor;
	-webkit-mask: url(../img/epique-logo-white.png) center / contain no-repeat;
	mask: url(../img/epique-logo-white.png) center / contain no-repeat;
}

.lx-header-actions { gap: 2rem !important; align-items: center; }

.ab-luxe .ab-header .wp-block-navigation a {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast);
	border-bottom: 1px solid transparent;
	/* Top padding matches the underline's 4px + 1px border so the text sits on the
	   row's centre line with the phone number and the button. */
	padding-top: 5px;
	padding-bottom: 4px;
}

.ab-luxe .ab-header .wp-block-navigation a:hover,
.ab-luxe .ab-header .wp-block-navigation .current-menu-item > a {
	color: var(--wp--preset--color--contrast);
	border-bottom-color: var(--wp--preset--color--accent);
}

/* The open hamburger overlay is near-black on every page. The dark link
   colour above out-ranks the parent theme's white overlay rule, which left
   the menu dark-on-dark everywhere except the homepage hero. */
.ab-luxe .ab-header .wp-block-navigation__responsive-container.is-menu-open a,
.ab-luxe .ab-header .wp-block-navigation__responsive-container.is-menu-open a:hover,
.ab-luxe .ab-header .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > a {
	color: #ffffff;
}

.lx-header-phone {
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	white-space: nowrap;
}

.lx-header-cta {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--preset--color--contrast);
	border: 1px solid currentColor;
	padding: 0.8125rem 1.375rem;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
}

.lx-header-cta:hover { background: var(--wp--preset--color--contrast); color: #ffffff; border-color: var(--wp--preset--color--contrast); }

/* Homepage: header floats transparent over the hero until the page scrolls. */
body.home.ab-luxe header.wp-block-template-part {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
}

body.admin-bar.home.ab-luxe header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }

body.home.ab-luxe header.wp-block-template-part:not(.is-scrolled) .ab-header { border-bottom-color: transparent; }

body.home.ab-luxe header.wp-block-template-part:not(.is-scrolled) .ab-header::before {
	background: linear-gradient(180deg, rgba(12, 13, 15, 0.55) 0%, rgba(12, 13, 15, 0) 100%);
}

body.home.ab-luxe header.wp-block-template-part:not(.is-scrolled) :is(.lx-brand, .lx-brand-tag, .lx-brand-logo, .lx-header-phone, .lx-header-cta, .wp-block-navigation a, .wp-block-navigation__responsive-container-open) {
	color: #ffffff;
}

body.home.ab-luxe header.wp-block-template-part:not(.is-scrolled) .lx-header-cta:hover {
	background: #ffffff;
	color: var(--wp--preset--color--contrast);
	border-color: #ffffff;
}

/* Responsive menu. Seven links + phone + CTA need ~1280px. Core's
   navigation only collapses below 600px, so 768–1199px tablets wrapped the
   menu onto two rows; the hamburger overlay takes over below 1024px. Landscape tablets
   (1024–1199px) get the full menu since the brand block shrank (Alex, 2026-11-14: "if it fits").
   Tested at 19 common resolutions (360–2560px), see project notes. */
.lx-brand { flex-shrink: 0; }
.lx-brand-name,
.lx-brand-tag { white-space: nowrap; }

@media (min-width: 1024px) and (max-width: 1439px) {
	.lx-header-actions { gap: 1.5rem !important; }
	.ab-luxe .ab-header .lx-nav,
	.ab-luxe .ab-header .lx-nav .wp-block-navigation__container { gap: 1.375rem !important; }
	.ab-luxe .ab-header .wp-block-navigation a { letter-spacing: 0.14em; }
}

@media (min-width: 600px) and (max-width: 1023px) {
	.ab-luxe .lx-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.ab-luxe .lx-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.lx-header-actions { gap: 1.25rem !important; }
}

@media (max-width: 1279px) {
	.lx-header-phone { display: none; }
}

@media (max-width: 781px) {
	.lx-header-cta { display: none; }
	.lx-brand-name { font-size: 1.5rem; }
	.lx-brand { gap: 0.375rem; }
}

@media (max-width: 389px) {
	.lx-brand-tag { letter-spacing: 0.18em; }
	.lx-brand-name { font-size: 1.375rem; }
}

/* Height of the sticky header, for things that stick below it (checklist progress box).
   = row padding 2 × 1.125rem + 1px bottom border + the tallest item in the row:
   ≥782px the "Let's talk" button (48.4px) → 85.4px; 390–781px (button hidden) the brand
   block (40px) → 77px; ≤389px the smaller brand (38px) → 75px. Same in Chrome and WebKit.
   If the header rules above change, re-measure: ~/.cache/itmc-shot/abr-hdrh.mjs <base>. */
.ab-luxe { --lx-header-h: 85.4px; }
@media (max-width: 781px) { .ab-luxe { --lx-header-h: 77px; } }
@media (max-width: 389px) { .ab-luxe { --lx-header-h: 75px; } }

/* ---------- Hero ---------- */
.lx-hero {
	position: relative;
	isolation: isolate;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: #ffffff;
	background: var(--wp--preset--color--primary-deep);
	overflow: hidden;
}

.lx-hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% 50%;
	z-index: -2;
}

.lx-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	/* A centered layout always sits on the busiest part of the photo, so the
	   scrim darkens the middle band as well as the top (header) and bottom
	   (intent bar). */
	background:
		radial-gradient(ellipse 60% 55% at 50% 52%, rgba(12, 13, 15, 0.5) 0%, rgba(12, 13, 15, 0) 100%),
		linear-gradient(180deg, rgba(12, 13, 15, 0.55) 0%, rgba(12, 13, 15, 0.38) 30%, rgba(12, 13, 15, 0.55) 62%, rgba(12, 13, 15, 0.9) 100%);
}

.lx-hero h1,
.lx-hero-lede,
.lx-hero .lx-eyebrow {
	text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

@media (max-width: 781px) {
	.lx-hero::before {
		background: linear-gradient(180deg, rgba(12, 13, 15, 0.7) 0%, rgba(12, 13, 15, 0.62) 45%, rgba(12, 13, 15, 0.92) 100%);
	}
}

.lx-hero-content {
	text-align: center;
	padding-top: 9rem;
	padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.lx-hero .lx-eyebrow { color: #e3c99a; }

.lx-hero h1 {
	color: #ffffff;
	font-size: clamp(3rem, 7.5vw, 6.5rem);
	font-weight: 400;
	line-height: 0.98;
	letter-spacing: -0.015em;
	max-width: 14ch;
	margin: 0 auto;
}

.lx-hero-lede {
	max-width: 40rem;
	margin: 1.75rem auto 0;
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
	font-weight: 300;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.9);
}

.lx-hero .lx-actions { justify-content: center; }

.lx-intent {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.lx-intent a {
	display: block;
	padding: 1.625rem clamp(1rem, 2.5vw, 2rem);
	color: #ffffff;
	text-decoration: none;
	border-left: 1px solid rgba(255, 255, 255, 0.28);
	transition: background 0.25s ease;
}

.lx-intent a:first-child { border-left: 0; }
.lx-intent a:hover { background: rgba(255, 255, 255, 0.08); }

.lx-intent span {
	display: block;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: #e3c99a;
	margin-bottom: 0.375rem;
}

.lx-intent strong {
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.25rem, 2vw, 1.625rem);
	font-weight: 500;
	line-height: 1.2;
}

.lx-intent strong::after { content: "  →"; font-family: var(--wp--preset--font-family--body); font-size: 1rem; }

/* ---------- Brand statement ---------- */
.lx-statement { text-align: center; }

.lx-statement-text {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.625rem, 3vw, 2.5rem);
	font-weight: 400;
	line-height: 1.35;
	max-width: 30em;
	margin: 0 auto;
	color: var(--wp--preset--color--contrast);
}

.lx-statement-text em { color: var(--wp--preset--color--accent-deep); }

.lx-signature {
	font-family: var(--wp--preset--font-family--heading);
	font-style: italic;
	font-size: 1.75rem;
	margin: 2.25rem 0 1rem;
}

/* ---------- Stats ---------- */
.lx-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--wp--preset--color--outline);
	border-bottom: 1px solid var(--wp--preset--color--outline);
}

.lx-stat {
	padding: 2.5rem 1.5rem;
	text-align: center;
	border-left: 1px solid var(--wp--preset--color--outline);
}

.lx-stat:first-child { border-left: 0; }

.lx-stat-num {
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(3rem, 5vw, 4.5rem);
	font-weight: 400;
	line-height: 1;
	color: var(--wp--preset--color--contrast);
}

.lx-stat-label {
	display: block;
	margin-top: 0.875rem;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	line-height: 1.6;
}

/* ---------- Neighborhood tiles ---------- */
.lx-tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.lx-tile {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	color: #ffffff;
	text-decoration: none;
	background: var(--wp--preset--color--primary);
}

.lx-tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.lx-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(12, 13, 15, 0) 40%, rgba(12, 13, 15, 0.82) 100%);
	transition: background 0.4s ease;
}

.lx-tile-body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	padding: 1.75rem;
}

.lx-tile-county {
	display: block;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: #e3c99a;
}

.lx-tile h3 {
	color: #ffffff;
	font-size: clamp(1.875rem, 2.6vw, 2.5rem);
	font-weight: 400;
	margin: 0.25rem 0 0;
}

.lx-tile-more {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.45s ease;
}

.lx-tile-more > div { overflow: hidden; }

.lx-tile-more p {
	margin: 0.625rem 0 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.88);
}

.lx-tile-more p b { font-weight: 500; color: #ffffff; }

.lx-tile-credit {
	position: absolute;
	top: 0.75rem;
	right: 0.875rem;
	z-index: 1;
	font-size: 0.625rem;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.7);
}

@media (hover: hover) {
	.lx-tile:hover img { transform: scale(1.06); }
	.lx-tile:hover::after { background: linear-gradient(180deg, rgba(12, 13, 15, 0.1) 20%, rgba(12, 13, 15, 0.9) 100%); }
	.lx-tile:hover .lx-tile-more,
	.lx-tile:focus-visible .lx-tile-more { grid-template-rows: 1fr; }
}

@media (hover: none) {
	.lx-tile-more { grid-template-rows: 1fr; }

	/* QA 2026-11-14: on touch screens the description is always open, so the county + name sit at
	   17–25% of the card, where the 40%-start gradient above is still clear: "Collier County" /
	   "Bonita Springs" measured 1.1–2.1:1 on phones. A scrim anchored to the tile text (fades in
	   3rem above it, then 0.5) keeps it readable at any card height. Hover devices keep the
	   collapsed look, where the text already sits on the dark end of the gradient. */
	.lx-tile-body::before {
		content: "";
		position: absolute;
		z-index: -1;
		inset: -3rem 0 0;
		background: linear-gradient(180deg, rgba(12, 13, 15, 0) 0, rgba(12, 13, 15, 0.5) 3rem);
		pointer-events: none;
	}
}

/* ---------- Split feature (image + text) ---------- */
.lx-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: 640px;
	background: var(--wp--preset--color--tertiary);
}

.lx-split--ivory { background: var(--wp--preset--color--base); }

.lx-split-media {
	position: relative;
	margin: 0;
	min-height: 420px;
}

.lx-split-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lx-split-media figcaption {
	position: absolute;
	left: 1rem;
	bottom: 0.875rem;
	right: 1rem;
	font-size: 0.6875rem;
	color: rgba(255, 255, 255, 0.8);
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.lx-split-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(3rem, 7vw, 7rem) clamp(1.5rem, 6vw, 6rem);
}

.lx-split-body h2 { max-width: 16ch; margin: 0; }

.lx-split-body > p { max-width: 36rem; color: var(--wp--preset--color--muted); margin-top: 1.5rem; }

.lx-split--reverse .lx-split-media { order: 2; }

.lx-rows {
	margin: 2rem 0 0;
	max-width: 36rem;
}

.lx-rows > div {
	display: grid;
	grid-template-columns: 9rem 1fr;
	gap: 1.5rem;
	padding: 1.125rem 0;
	border-top: 1px solid var(--wp--preset--color--outline);
}

.lx-rows > div:last-child { border-bottom: 1px solid var(--wp--preset--color--outline); }

.lx-rows dt {
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-deep);
	padding-top: 0.25rem;
}

.lx-rows dd { margin: 0; font-size: 1rem; line-height: 1.6; }

/* ---------- Services panels ---------- */
.lx-services {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.lx-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: clamp(420px, 42vw, 620px);
	padding: clamp(1.75rem, 4vw, 3.5rem);
	color: #ffffff;
	text-decoration: none;
	overflow: hidden;
	isolation: isolate;
}

.lx-panel img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
	transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.lx-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(12, 13, 15, 0.05) 30%, rgba(12, 13, 15, 0.8) 100%);
}

.lx-panel .lx-eyebrow { color: #e3c99a; margin-bottom: 0.75rem; }
.lx-panel h3 { color: #ffffff; font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 400; max-width: 14ch; margin: 0; }
.lx-panel p { color: rgba(255, 255, 255, 0.88); max-width: 30rem; margin: 1rem 0 1.5rem; }
.lx-panel .lx-link { color: #ffffff; align-self: flex-start; }

/* QA 2026-11-14: the panel gradient is ~0 where the eyebrow sits (34–47% down the card), so
   "Buying" / "Selling" measured 1.2–2.5:1 over the palms and sky on every device. The dark layer
   is anchored to the eyebrow instead: fades in 3rem above it, stays at 0.5 down to the panel's
   bottom edge. Sides overshoot (the eyebrow is a <p> capped at 30rem) and the panel's
   overflow:hidden clips the layer to the card. */
.lx-panel .lx-eyebrow { position: relative; }
.lx-panel .lx-eyebrow::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -3rem;
	bottom: -100rem;
	left: -100rem;
	right: -100rem;
	background: linear-gradient(180deg, rgba(12, 13, 15, 0) 0, rgba(12, 13, 15, 0.5) 3rem);
	pointer-events: none;
}

@media (hover: hover) {
	.lx-panel:hover img { transform: scale(1.05); }
}

/* ---------- Promise quote ---------- */
.lx-quote {
	text-align: center;
	max-width: 58rem;
	margin: 0 auto;
}

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

.lx-quote blockquote p {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 400;
	font-style: italic;
	line-height: 1.2;
	color: var(--wp--preset--color--contrast);
}

.lx-quote blockquote p::before {
	content: "“";
	display: block;
	font-size: 5rem;
	line-height: 0.6;
	color: var(--wp--preset--color--accent);
	margin-bottom: 1.25rem;
	font-style: normal;
}

.lx-quote cite {
	display: block;
	margin-top: 1.75rem;
	font-style: normal;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

/* ---------- Quiz strip ---------- */
.lx-quizzes {
	display: grid;
	grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--wp--preset--color--contrast);
}

.lx-quizzes > div,
.lx-quizzes > a {
	padding: 2rem 1.5rem 2rem 0;
}

.lx-quizzes > a {
	padding-left: 1.5rem;
	border-left: 1px solid var(--wp--preset--color--outline);
	text-decoration: none;
	color: var(--wp--preset--color--contrast);
	transition: background 0.25s ease;
}

.lx-quizzes > a:hover { background: var(--wp--preset--color--surface); }

.lx-quizzes h2 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); margin: 0; }

.lx-quizzes span {
	display: block;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-deep);
}

.lx-quizzes strong {
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.625rem;
	font-weight: 500;
	line-height: 1.2;
	margin: 0.5rem 0;
}

.lx-quizzes p { margin: 0; font-size: 0.9375rem; color: var(--wp--preset--color--muted); }

/* ---------- Insights (query loop) ---------- */
.lx-insights .wp-block-post-template {
	gap: 2.5rem 2rem;
}

.lx-insight {
	border-top: 1px solid var(--wp--preset--color--contrast);
	padding-top: 1.5rem;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.lx-insight .wp-block-post-terms {
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-deep);
}

.lx-insight .wp-block-post-terms a { color: inherit; text-decoration: none; }

.lx-insight .wp-block-post-title { font-size: clamp(1.5rem, 2vw, 1.875rem); font-weight: 500; line-height: 1.2; margin: 0.75rem 0; }
.lx-insight .wp-block-post-title a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.lx-insight .wp-block-post-title a:hover { color: var(--wp--preset--color--accent-deep); }
.lx-insight .wp-block-post-excerpt { color: var(--wp--preset--color--muted); font-size: 0.9375rem; }

.lx-insight .wp-block-post-excerpt__more-text a {
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast);
}

/* ---------- Photo band CTA (valuation) ---------- */
.lx-band {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: #ffffff;
	text-align: center;
}

.lx-band img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}

.lx-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(12, 13, 15, 0.66);
}

.lx-band .lx-eyebrow { color: #e3c99a; }
.lx-band h2 { color: #ffffff; max-width: 18ch; margin: 0 auto; font-weight: 400; }
.lx-band p { max-width: 38rem; margin: 1.5rem auto 0; color: rgba(255, 255, 255, 0.88); }
.lx-band .lx-actions { justify-content: center; }

/* ---------- Contact ---------- */
.lx-contact {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: start;
}

.lx-contact h2 { margin: 0; }
/* Only the section heading ("Let's talk about your move.") keeps the stacked 12ch measure;
   the form title ("Get a straight answer") runs the card's width (Alex, 2026-11-15). */
.lx-contact #lx-contact-title { max-width: 12ch; }
.lx-contact-intro { color: var(--wp--preset--color--muted); margin-top: 1.5rem; max-width: 30rem; }

.lx-contact-details {
	margin-top: 2.5rem;
	border-top: 1px solid var(--wp--preset--color--outline);
}

.lx-contact-details p {
	display: grid;
	grid-template-columns: 7rem 1fr;
	gap: 1rem;
	margin: 0;
	padding: 1rem 0;
	border-bottom: 1px solid var(--wp--preset--color--outline);
}

.lx-contact-details span {
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	padding-top: 0.25rem;
}

.lx-contact .ab-lf { margin-top: 0; }

/* ---------- Footer ---------- */
.lx-footer {
	background: var(--wp--preset--color--primary-deep);
	color: rgba(255, 255, 255, 0.78);
	padding-top: clamp(4rem, 8vw, 6.5rem);
	padding-bottom: 2.5rem;
	font-size: 0.9375rem;
}

.lx-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.lx-footer a:hover { color: #ffffff; text-decoration: underline; }

.lx-footer-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	padding-bottom: clamp(3rem, 6vw, 4.5rem);
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.lx-footer-line {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(2rem, 4.5vw, 3.75rem);
	font-weight: 400;
	line-height: 1.05;
	color: #ffffff;
	margin: 0;
	max-width: 16ch;
}

.lx-footer .lx-btn--light { color: var(--wp--preset--color--contrast); }
.lx-footer .lx-btn--light:hover { color: #ffffff; text-decoration: none; }

.lx-footer-cols {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
	gap: 2rem;
	padding: 3rem 0;
}

.lx-footer-cols ul { list-style: none; padding: 0; margin: 0; }
.lx-footer-cols li { margin: 0 0 0.5rem; }
.lx-footer-cols p { margin: 0 0 1rem; }

.lx-footer-brand {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.75rem;
	color: #ffffff;
	margin: 0 !important;
}

.lx-footer-logo {
	display: block;
	width: 7.5rem;
	height: auto;
	opacity: 0.9;
}

.lx-footer-label {
	font-size: 0.6875rem !important;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: #e3c99a;
	margin-bottom: 1rem !important;
}

.lx-footer-fine {
	font-size: 0.75rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.6);
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	padding-top: 1.75rem;
	margin: 0;
}

/* ---------- Shared component restyles (inner pages) ---------- */
.ab-luxe .ab-card,
.ab-luxe .ab-trap,
.ab-luxe .ab-area,
.ab-luxe .ab-tool-card {
	border-radius: 0;
	box-shadow: none;
}

.ab-luxe .ab-card:hover,
.ab-luxe .ab-area:hover,
.ab-luxe .ab-tool-card:hover {
	transform: none;
	box-shadow: none;
	border-color: var(--wp--preset--color--contrast);
}

.ab-luxe .ab-stat-number { font-weight: 400; }

.ab-luxe .ab-promise { border-top-color: var(--wp--preset--color--accent); }

.ab-luxe .ab-compare thead th { background: var(--wp--preset--color--primary-deep); }

.ab-luxe .ab-trap-num { font-weight: 500; }

.ab-luxe .ab-process li::before { background: var(--wp--preset--color--contrast); font-weight: 500; }

.ab-luxe .ab-mobile-bar a {
	border-radius: 0;
	border-width: 1px;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast);
	border-color: var(--wp--preset--color--contrast);
}

.ab-luxe .ab-mobile-bar a.is-primary {
	background: var(--wp--preset--color--contrast);
	color: #ffffff;
}

.ab-luxe .ab-mobile-bar { background: rgba(251, 249, 246, 0.97); }

/* Page titles: centered editorial feel with a brass hairline. */
.ab-luxe h1.wp-block-post-title::after { width: 48px; height: 1px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.lx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lx-quizzes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lx-quizzes > div { grid-column: 1 / -1; padding-right: 0; }
	.lx-quizzes > a:nth-child(2) { border-left: 0; padding-left: 0; }
	.lx-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 781px) {
	.lx-hero { min-height: 92svh; }
	.lx-hero-content { text-align: left; padding-top: 7.5rem; }
	.lx-hero h1 { margin: 0; }
	.lx-hero-lede { margin-left: 0; }
	.lx-hero .lx-actions { justify-content: flex-start; }
	.lx-intent { grid-template-columns: 1fr; }
	.lx-intent a { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); padding: 1.125rem 0; }
	.lx-intent a:first-child { border-top: 0; }

	.lx-statement { text-align: left; }
	.lx-head { flex-direction: column; align-items: flex-start; }

	.lx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lx-stat:nth-child(3) { border-left: 0; }
	.lx-stat:nth-child(n+3) { border-top: 1px solid var(--wp--preset--color--outline); }

	.lx-tiles { grid-template-columns: 1fr; }
	.lx-tile { aspect-ratio: 4 / 3; }

	.lx-split { grid-template-columns: 1fr; min-height: 0; }
	.lx-split--reverse .lx-split-media { order: 0; }
	.lx-split-media { min-height: 0; aspect-ratio: 4 / 3; }
	.lx-rows > div { grid-template-columns: 1fr; gap: 0.25rem; }

	.lx-services { grid-template-columns: 1fr; }

	.lx-quizzes { grid-template-columns: 1fr; }
	.lx-quizzes > a { border-left: 0; padding-left: 0; border-top: 1px solid var(--wp--preset--color--outline); }

	.lx-contact { grid-template-columns: 1fr; }
	.lx-footer-top { flex-direction: column; align-items: flex-start; }
	.lx-footer-cols { grid-template-columns: 1fr; }
	.lx-footer { padding-bottom: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
	.lx-tile img, .lx-panel img, .lx-tile-more { transition: none; }
}

/* Guide cards on /resources/ and the topic archives (/resource-topic/…/): the parent
   templates set the title to 1.25rem inline, and WP fluid typography turns that into
   clamp(0.875rem…1.25rem), so on phones the serif title (14px) rendered smaller than the
   sans excerpt under it. Hold it at 1.25rem everywhere (desktop is unchanged). The inline
   style needs !important; the [style*=font-size] guard leaves the homepage cards alone. */
.ab-luxe .wp-block-post-template .wp-block-post-title[style*="font-size"] { font-size: 1.25rem !important; }

/* Areas page jump list ("Naples · Bonita Springs · … · Cape Coral"): on phones the line
   broke inside a place name ("Cape / Coral"). Keep each name together; the dots between
   them stay as the break points. Only /areas/ has centred in-page anchor links. */
.ab-luxe p.has-text-align-center a[href^="#"] { white-space: nowrap; }

/* No rounded corners in V2 (Alex, 2026-11-14: "there is nothing round in the design").
   The radius tokens are 0 in this theme's theme.json, which squares everything the parent
   styles through var(--wp--custom--radius--*). This catches the rest: V1 block content with
   an inline border-radius (the "No pressure, ever" CTA, the About portrait) and the parent's
   .ab-radius-lg utility. True circles (step numbers, slider dots) use 50% and are left alone. */
.ab-luxe :is(main, header, footer) [style*="border-radius"]:not([style*="50%"]),
.ab-luxe .ab-radius-lg,
.ab-luxe .ab-radius-lg img { border-radius: 0 !important; }

/* Inner-page step cards (Buy, Sell, Moving here, Home valuation), phones and
   portrait tablets: the outline button's 2.25rem side padding left too little
   room, so labels like "What is my home worth? →" wrapped the arrow onto a
   second line (62px tall next to 49px buttons). Same 1rem padding + nowrap as
   the dark CTA buttons; desktop keeps the wider padding. */
@media (max-width: 781px) {
	.ab-luxe .ab-card .wp-block-button.is-style-outline > .wp-block-button__link {
		padding-left: 1rem;
		padding-right: 1rem;
		white-space: nowrap;
	}
}

/* Below 360px the longest labels ("Flood zones, explained →") are wider than
   the card even at 1rem padding; let them wrap rather than overflow the card. */
@media (max-width: 359px) {
	.ab-luxe .ab-card .wp-block-button.is-style-outline > .wp-block-button__link { white-space: normal; }
}

/* Step-card titles carry an inline fontSize:1.25rem, which WP fluid typography
   turns into clamp(0.875rem…1.25rem): 14px on phones, no bigger than the body
   text under them. Hold them at 1.25rem (same trap as the guide-card titles
   above); the [style*="1.25rem)"] guard touches only those inline sizes. */
.ab-luxe .ab-card > :is(h2, h3).wp-block-heading[style*="1.25rem)"] { font-size: 1.25rem !important; }

/* 404 page: its template puts the eyebrow, heading, paragraph and buttons
   straight inside <main>, where the parent's section-stacking rule
   (main.wp-block-group > * + * { margin-block-start: 0 }) removed every gap:
   the paragraph touched the heading and the buttons touched the paragraph on
   all devices. Give them back the normal 1.5rem layout gap (the eyebrow keeps
   its own 1.25rem). */
.ab-luxe.error404 main.wp-block-group > h1 ~ * { margin-block-start: var(--wp--style--block-gap, 1.5rem); }

/* 404 page, phones: the two buttons stack, and at their natural widths they
   were 166px and 236px wide, centred. Same geometry as the dark CTA buttons:
   one shared width, up to 20rem. */
@media (max-width: 599px) {
	.ab-luxe.error404 main .wp-block-buttons > .wp-block-button { flex: 1 1 17rem; max-width: 20rem; }
	.ab-luxe.error404 main .wp-block-buttons > .wp-block-button > .wp-block-button__link { width: 100%; }
}

/* About portrait, 600–781px (stacked columns): the image is 600px wide at full
   size, so it stopped 107px short of the 707px contact card under it at 768px.
   Fill the column like it does on phones and side-by-side layouts. */
@media (max-width: 781px) {
	.ab-luxe .wp-block-column > .wp-block-image.ab-radius-lg img { width: 100%; height: auto; }
}

/* Topic pages (/resource-topic/…) and other archives use the parent's
   index.html, where the archive title and the card grid sit straight inside
   <main>. The parent's section-stacking rule
   (main.wp-block-group > * + * { margin-block-start: 0 }) removed the gap, so
   "Topic: Insurance & Costs" touched the cards' top border on every device.
   Give the grid the same 3rem (spacing 60) that /resources/ uses above its grid. */
.ab-luxe main.wp-block-group > .wp-block-query-title + .wp-block-query { margin-block-start: var(--wp--preset--spacing--60, 3rem); }

/* Guide articles: the topic tag above the title ("BUYING") is a 17px-tall
   link, under the 24px minimum tap target on phones. Vertical padding on an
   inline link enlarges its hit area without moving anything on the page. */
.ab-luxe.single-ab_resource .wp-block-post-terms a { padding-block: 4px; }

/* Header background: the 96% ivory let page text show through as faint grey
   ghost text beside the brand and menu once the page scrolled under the sticky
   header (no blur in V2). Same colour, fully opaque. The homepage hero state
   keeps its own gradient (higher-specificity rule above). */
.ab-luxe .ab-header::before { background: rgb(251, 249, 246); }

/* Open hamburger menu (<1024px): the fixed Text/Call bar (z-index 95) painted
   over the bottom of the full-screen menu overlay, a light strip on the dark
   dialog. Hide it while the menu is open; it comes back when the menu closes. */
body:has(.wp-block-navigation__responsive-container.is-menu-open) .ab-mobile-bar { display: none !important; }

/* Small text links ("Read my story →" etc.): 22px tall, under the 24px minimum
   tap target on phones. Extra top padding grows the hit area; the matching
   negative margin keeps every line where it was (inline or flex item). */
.lx-link { padding-top: 0.25rem; margin-top: -0.25rem; }

/* Callout box (guide articles, Areas, Moving here): the parent hard-codes its
   1px frame in V1 gold #f2ddb8, a yellow line on the V2 warm tint. Use the
   V2 accent line (#e6d8c2, the same value luxe-tools.css maps the toolkit's
   --ab-accent-line to). The 4px brass left rule stays as it is. */
.ab-luxe .ab-callout { border-top-color: #e6d8c2; border-right-color: #e6d8c2; border-bottom-color: #e6d8c2; }

/* Section headings with an inline 1.5rem ("Ready for hand-picked matches?" on
   Buy, "Thinking about selling…" on Sell, the guide callout "Ask me about your
   specific address…"): WP fluid typography turns that into
   clamp(0.984rem…1.5rem), 16.3px on phones, smaller than the 20px card titles
   under them. Hold them at their own 1.5rem, like the card titles (1.1.9,
   1.2.2); the guard matches only that inline size. */
.ab-luxe :is(h2, h3).wp-block-heading[style*="1.5rem)"] { font-size: 1.5rem !important; }

/* Text/Call bar shadow: the parent uses the V1 ink rgba(28,37,48,.08).
   Same shadow in the V2 ink. */
.ab-luxe .ab-mobile-bar { box-shadow: 0 -4px 16px rgba(22, 24, 27, 0.08); }
