/* Global Brand Accent Palette */
:root {
	--wm-blue: #1760FF;
	/* Brand Accent */
	--wm-orange: #FF7300;
	/* Academy & Careers Accent */
	--wm-green: #00C76F;
	/* Careers Accent (available to scope when needed) */
	--wm-navy: #121C2D;
	/* Card Backgrounds or Shadows */
	--wm-gray: #A1A3A5;
	--wm-white: #FFFFFF;
	--wm-black: #000000;

	/* default accent - can be overridden by panels or body classes */
	--wm-accent: var(--wm-blue);
}

/* Buttons: default filled primary style using --wm-accent
   Static state: filled accent background with white text
   Hover state: invert to white background with accent text and accent border (common professional pattern) */
.button,
.btn,
button,
input[type="submit"],
.cta-button,
.wm-btn,
.explore-btn {
	background-color: var(--wm-accent);
	color: var(--wm-white);
	border: 1px solid transparent;
	padding: 0.5rem 1rem;
	border-radius: 9999px;
	transition: background-color .22s ease, color .22s ease, transform .15s ease, border-color .22s ease;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Hover/active: invert to white background, accent text + border */
.button:hover,
.btn:hover,
button:hover,
input[type="submit"]:hover,
.cta-button:hover,
.wm-btn:hover,
.explore-btn:hover {
	background-color: var(--wm-white) !important;
	color: var(--wm-accent) !important;
	border-color: var(--wm-accent) !important;
	transform: translateY(-2px);
}

/* Links that should remain accent-colored (non-button links) */
a,
.text-accent {
	color: var(--wm-accent);
}

a:hover,
.text-accent:hover {
	color: color-mix(in srgb, var(--wm-accent) 80%, #000 20%);
}

/* Global pill shape for all buttons (site-wide) */
button,
input[type="submit"],
.button,
.btn,
.cta-button,
.wm-btn,
.wm-cta,
.schedule-btn,
.explore-btn,
a.cta-button,
a.wm-cta {
	border-radius: 9999px !important;
}


/* Panel and page-level hooks so the accent changes depending on context */
.brands-panel,
body.wheelers-brands {
	--wm-accent: var(--wm-blue);
}

.academy-panel,
body.wheelers-academy {
	--wm-accent: var(--wm-orange);
}

.careers-panel,
body.wheelers-careers {
	--wm-accent: var(--wm-green);
}

/* Careers override: remap any orange utilities/hardcoded orange to wm-green when on careers pages */
body.wheelers-careers {
	--wm-accent: var(--wm-green) !important;
}

/* Careers background: match Brands/Academy black background */
body[data-site="careers"] {
	background-color: #000000;
	color: #ffffff;
}

body[data-site="careers"] main {
	background-color: transparent;
}

/* Academy body layout: push footer to bottom */
body[data-site="academy"] {
	background-color: #000;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

body[data-site="academy"] main {
	flex: 1;
}

/* Generic catches for Tailwind-like utility classes containing "orange" */
body.wheelers-careers [class*="text-orange"] {
	color: var(--wm-green) !important;
}

body.wheelers-careers [class*="bg-orange"] {
	background-color: var(--wm-green) !important;
}

body.wheelers-careers [class*="border-orange"] {
	border-color: var(--wm-green) !important;
}

/* Hover variants using class names with escapes are hard to target; target the hovered state via attribute selector + :hover as a fallback */
body.wheelers-careers [class*="hover:text-orange"]:hover {
	color: var(--wm-green) !important;
}

body.wheelers-careers [class*="hover:bg-orange"]:hover {
	background-color: var(--wm-green) !important;
}

body.wheelers-careers [class*="hover:border-orange"]:hover {
	border-color: var(--wm-green) !important;
}

/* Inline style catches for hardcoded hex usages inside careers pages */
body.wheelers-careers [style*="#FF7300"] {
	color: var(--wm-green) !important;
	background-color: var(--wm-green) !important;
	border-color: var(--wm-green) !important;
}

/* Brands: catch any stray inline #FF7300 and force to blue */
body.wheelers-brands [style*="#FF7300"] {
	color: var(--wm-blue) !important;
	background-color: var(--wm-blue) !important;
	border-color: var(--wm-blue) !important;
}

/* Brands: catch stray orange utility classes */
body.wheelers-brands [class*="text-orange"],
body.wheelers-brands [class*="cta-orange"] {
	color: var(--wm-blue) !important;
}

body.wheelers-brands [class*="bg-orange"] {
	background-color: var(--wm-blue) !important;
}

/* Footer link hover override specifically for careers pages */
body.wheelers-careers .site-footer .footer-link:hover {
	color: var(--wm-green) !important;
}

/* Footer link hover colors by section */
body[data-site="academy"] footer a:hover,
body[data-site="academy"] footer a:focus,
body[data-site="academy"] [data-site-footer="academy"] a:hover {
	color: #FF7300 !important;
}

body[data-site="careers"] footer a:hover,
body[data-site="careers"] footer a:focus {
	color: #00C76F;
}

/* Header CTA: Schedule a Meeting button (consistent across Brands pages) */
header .booking-button {
	background-color: transparent;
	color: #fff;
	padding: 10px 22px;
	border-radius: 9999px;
	font-weight: 600;
	border: 2px solid #FFFFFF;
	transition: background .25s ease, color .25s ease, transform .15s ease, border-color .25s ease;
}

header .booking-button:hover {
	background-color: #1760FF;
	border-color: #1760FF;
	color: #fff;
	transform: translateY(-2px);
}

@media (max-width: 768px) {
	header .booking-button {
		display: none;
	}
}

/* ===== Header layout: left logo, centered nav, right CTA ===== */
.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 40px;
	height: 90px;
	position: relative;
}

.header-left img {
	height: 40px;
	width: auto;
	display: block;
}

.header-nav {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.header-nav ul {
	display: flex;
	gap: 40px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.header-nav ul li a,
.header-nav a {
	color: #fff !important;
	font-weight: 500;
	text-decoration: none;
	transition: color .3s ease;
}

.header-nav ul li a:hover,
.header-nav a:hover {
	color: #1760FF !important;
}

.header-right a {
	background-color: transparent;
	border: 2px solid #fff;
	border-radius: 6px;
	padding: 10px 20px;
	color: #fff;
	font-weight: 600;
	transition: all .3s ease;
	text-decoration: none;
}

.header-right a:hover {
	background-color: #1760FF;
	border-color: #1760FF;
	color: #fff;
}

@media (max-width: 1024px) {
	.header-nav {
		display: none;
	}

	.header-right {
		position: absolute;
		right: 20px;
	}
}

/* ===== BeFound-style Footer ===== */
.site-footer {
	background-color: #000;
	color: #fff;
	padding: 80px 60px 40px;
	font-family: 'neue-haas-grotesk-display', sans-serif;
}

.site-footer .footer-container {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 80px;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 40px;
}

.site-footer .footer-column {
	flex: 1;
	min-width: 280px;
}

/* ===== BeFound-style Header (wm-*) ===== */
/* WHEELERSMEDIA HAMBURGER FIX #1: Header always on top */
.wm-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	/* Header above overlay (overlay is 9998) */
	transition: transform .28s ease, background-color .3s ease, box-shadow .3s ease;
	transform: translateY(0);
}

/* Desktop header layout - BeFound style with 32px padding */
.wm-header-inner,
.wm-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0 32px;
	height: 80px;
	position: relative;
	z-index: 9999;
}

/* LOGO on left */
.wm-header__left {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	padding-left: 40px;
}

.wm-logo {
	text-decoration: none;
	display: flex;
	align-items: center;
}

.wm-logo img {
	height: 42px;
	width: auto;
	display: block;
}

/* Navigation wrapper */
.wm-header__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

/* Desktop nav: absolute center (logo left, nav center, CTA/hamburger right) */
@media (min-width: 1025px) {
	.wm-nav {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		display: flex;
		gap: 30px;
	}
}

.wm-nav {
	position: relative;
	margin: 0;
	display: block;
	pointer-events: auto;
}

.wm-nav ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 30px;
}

.wm-nav ul li {
	margin: 0;
	padding: 0;
}

/* Right section with CTA and Hamburger */
.wm-header__right {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 20px;
}

/* MOBILE HEADER OVERRIDES - High specificity */
@media (max-width: 1024px) {

	/* Hide desktop nav on mobile */
	.wm-header__nav,
	.wm-nav,
	nav.wm-nav,
	nav.wm-header__nav {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
	}

	/* Mobile header - compact layout */
	.wm-header__bar,
	.wm-header-inner {
		padding: 0 !important;
	}

	/* Logo - close to left edge, bigger size */
	.wm-header__left {
		padding-left: 30px !important;
		padding-right: 0 !important;
	}

	.wm-logo img,
	.wm-header__left img {
		height: 26px !important;
		width: auto !important;
	}

	/* Right section - compact */
	.wm-header__right {
		padding-right: 8px !important;
		gap: 10px !important;
	}

	/* CTA - smaller */
	.wm-cta {
		font-size: 0.75rem !important;
		padding: 6px 12px !important;
	}

	/* Hamburger - smaller */
	.wm-hamburger {
		width: 32px !important;
		height: 32px !important;
	}
}

/* Mobile header bar structure */
@media (max-width: 1024px) {

	.wm-header-inner,
	.wm-header__bar {
		padding: 0 !important;
		justify-content: space-between !important;
	}

	/* These rules are handled by the specific override below - removing conflicts */
}

@media (max-width: 768px) {

	/* Smaller screens - tighter spacing */
	.wm-cta {
		padding: 7px 14px !important;
		font-size: 0.8rem !important;
	}
}

@media (max-width: 480px) {

	.wm-header-inner,
	.wm-header__bar {
		padding: 0 10px 0 0 !important;
		/* WM FIX: Small right padding */
	}

	.wm-header__left {
		padding-left: 30px !important;
		/* Minimal padding on smallest screens */
	}

	.wm-header__right {
		padding-right: 0 !important;
		margin-right: 0 !important;
		gap: 8px !important;
	}

	.wm-cta {
		padding: 6px 12px !important;
		font-size: 0.75rem !important;
	}
}

.wm-nav ul {
	list-style: none;
	display: flex;
	gap: 40px;
	margin: 0;
	padding: 0;
}

.wm-nav ul li a {
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	position: relative;
	display: inline-block;
	padding-bottom: 6px;
	transition: color .2s ease;
}

.wm-nav ul li a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: #fff;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .25s ease;
	opacity: 0.9;
}

.wm-nav ul li a:hover,
.wm-nav ul li a:focus,
.wm-nav ul li a:focus-visible {
	color: #fff;
}

.wm-nav ul li a:hover::after,
.wm-nav ul li a:focus::after,
.wm-nav ul li a:focus-visible::after,
.wm-nav ul li a.is-active::after,
.wm-nav ul li a[aria-current="page"]::after {
	transform: scaleX(1);
}

/* CTA Button — header primary action */
.wm-cta {
	background: #1760FF;
	border: 2px solid #1760FF;
	padding: 10px 24px;
	border-radius: 9999px;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
	white-space: nowrap;
}

.wm-cta:hover {
	background-color: #fff;
	border-color: transparent;
	color: #1760FF;
}

/* ================================================================
   SECTION-SCOPED HEADER ACCENT COLORS
   ================================================================
   Header link/CTA hover colors follow section accent:
   - Brands: stays blue (#1760FF) - default above
   - Academy: orange (#FF7300)
   - Careers: green (#00C76F)
   ================================================================ */

/* Academy header hover – orange */
body[data-site="academy"] .wm-header .wm-cta:hover,
body[data-site="academy"] .wm-header .wm-cta:focus,
body[data-site="academy"] .wm-cta:hover,
body[data-site="academy"] .wm-cta:focus {
	background-color: #FF7300;
	border-color: #FF7300;
	color: #000;
}

/* Careers header hover – green */
body[data-site="careers"] .wm-header .wm-cta:hover,
body[data-site="careers"] .wm-header .wm-cta:focus,
body[data-site="careers"] .wm-cta:hover,
body[data-site="careers"] .wm-cta:focus {
	background-color: #00C76F;
	border-color: #00C76F;
	color: #fff;
}

/* Transparency rules for home vs subpages */
/* Visibility + background states */
.wm-header.hide {
	transform: translateY(-100%);
}

.wm-header.transparent {
	background: transparent !important;
	box-shadow: none !important;
}

.wm-header.solid {
	background-color: rgba(0, 0, 0, 0.9) !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.site-footer .footer-left img {
	width: 180px;
	height: auto;
	margin-bottom: 20px;
}

.site-footer .footer-column h4 {
	font-family: 'neue-haas-grotesk-display', sans-serif;
	font-size: 1rem;
	margin-bottom: 15px;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #fff;
}

.footer-heading {
	font-family: 'neue-haas-grotesk-display', sans-serif !important;
	font-weight: 800 !important;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	display: inline-block;
	color: #fff;
}

.site-footer .footer-column ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.site-footer .footer-column ul li {
	margin-bottom: 8px;
}

.site-footer .footer-column ul li a {
	color: #a1a3a5;
	text-decoration: none;
	transition: color .3s ease;
}

.site-footer .footer-column ul li a:hover {
	color: #1760FF;
}

.site-footer .footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1600px;
	margin: 40px auto 0;
	border-top: 1px solid #202124;
	padding-top: 20px;
	font-size: .9rem;
	color: #a1a3a5;
	padding-left: 40px;
	padding-right: 40px;
}

.site-footer .footer-social a {
	margin-left: 15px;
	color: #fff;
	font-size: 1.2rem;
	text-decoration: none;
	transition: color .3s ease;
}

.site-footer .footer-social a:hover {
	color: #1760FF;
}

/* ================================================================
   WHEELERSMEDIA HAMBURGER SYSTEM - BeFound Media Style
   ================================================================
   
   Key Behaviors:
   1. Header always visible on top (z-index: 9999)
   2. Black overlay fades in behind header (z-index: 9998)
   3. Single hamburger transforms to X (no duplicate close buttons)
   4. Single logo in header only (no logo duplication in overlay)
   5. Mobile: Logo left, Schedule + Hamburger right
   6. Desktop: 3-column overlay grid (Nav | Services | Contact)
   7. Body scroll locked when menu open
   8. Smooth 0.4s ease-in-out transitions
   
   ================================================================ */

/* === Hamburger Menu Button (BeFound-style) === */
.wm-hamburger {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: transparent !important;
	border: none !important;
	cursor: pointer;
	padding: 0;
	z-index: 9999;
	flex-shrink: 0;
}

/* Override global button hover styles */
.wm-hamburger:hover {
	background: transparent !important;
	transform: none !important;
	border: none !important;
}

/* Three bars using ::before, middle, ::after */
.wm-hamburger__bars,
.wm-hamburger__bars::before,
.wm-hamburger__bars::after {
	content: "";
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease, top 0.2s ease;
	will-change: transform, opacity, width;
	opacity: 1;
}

.wm-hamburger__bars {
	position: relative;
}

.wm-hamburger__bars::before {
	content: "";
	position: absolute;
	top: -7px;
	left: 0;
	opacity: 1;
}

.wm-hamburger__bars::after {
	content: "";
	position: absolute;
	top: 7px;
	left: 0;
	opacity: 1;
}

/* Hover animation - lines expand and contract in sequence */
.wm-hamburger:hover .wm-hamburger__bars::before {
	width: 28px;
	transition: width 0.3s ease;
}

.wm-hamburger:hover .wm-hamburger__bars {
	width: 20px;
	transition: width 0.3s ease 0.1s;
}

.wm-hamburger:hover .wm-hamburger__bars::after {
	width: 28px;
	transition: width 0.3s ease 0.2s;
}

/* Open state - aria-expanded="true" - transforms to X */
.wm-hamburger[aria-expanded="true"],
button.wm-hamburger[aria-expanded="true"] {
	background: transparent !important;
}

/* Hide the middle bar by making it transparent (not opacity) */
.wm-hamburger[aria-expanded="true"] .wm-hamburger__bars,
button.wm-hamburger[aria-expanded="true"] .wm-hamburger__bars {
	background: transparent !important;
	width: 24px;
}

.wm-hamburger[aria-expanded="true"] .wm-hamburger__bars::before,
button.wm-hamburger[aria-expanded="true"] .wm-hamburger__bars::before {
	width: 24px !important;
	top: 0 !important;
	background: #fff !important;
	transform: rotate(45deg) !important;
}

.wm-hamburger[aria-expanded="true"] .wm-hamburger__bars::after,
button.wm-hamburger[aria-expanded="true"] .wm-hamburger__bars::after {
	width: 24px !important;
	top: 0 !important;
	background: #fff !important;
	transform: rotate(-45deg) !important;
}

/* Desktop: always show hamburger beside CTA */
@media (min-width: 1025px) {
	.wm-header__right {
		gap: 20px;
		padding-right: 10px !important;
	}
}

/* Tablet and mobile adjustments */
@media (max-width: 1024px) {

	/* WM HEADER FIXES: Hide desktop nav on mobile, show via hamburger */
	.wm-header__nav {
		display: none !important;
	}

	/* WM HEADER FIXES: Balanced flex layout with equal spacing */
	.wm-header,
	.wm-header-inner,
	.wm-header__bar {
		display: flex !important;
		justify-content: space-between !important;
		align-items: center !important;
		width: 100% !important;
		height: 70px !important;
		padding: 0 !important;
		/* Remove default padding, add specific padding below */
	}

	/* WM HEADER FIXES: Logo with left spacing (16px - matches BeFound) */
	.wm-header__left {
		flex: 0 0 auto !important;
		min-width: 0;
		justify-content: flex-start !important;
		padding-left: 40px !important;
		margin: 0 !important;
		align-self: center !important;
	}

	.wm-header__left .wm-logo {
		margin: 0 !important;
		padding: 0 !important;
		align-self: center !important;
	}

	.wm-header__left img {
		height: 35px;
		width: auto;
		margin: 0 !important;
		display: block;
	}

	/* WM HEADER FIXES: Right side with equal spacing (16px - matches BeFound) */
	.wm-header__right {
		flex: 0 0 auto !important;
		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;
		gap: 14px !important;
		/* Space between button and hamburger */
		padding-right: 16px !important;
		margin: 0 !important;
	}

	/* WM HEADER FIXES: Larger Schedule button for better balance */
	.wm-cta,
	.schedule-btn {
		font-size: 0.9rem !important;
		padding: 10px 22px !important;
		border-radius: 9999px !important;
		white-space: nowrap !important;
		margin: 0 !important;
	}

	/* Hamburger sizing */
	.wm-hamburger {
		width: 40px;
		height: 40px;
		margin: 0 !important;
	}
}

/* === CRITICAL MOBILE HEADER OVERRIDE - MAXIMUM SPECIFICITY === */
@media (max-width: 1024px) {

	/* Nuclear option: Target exact HTML structure */
	header.wm-header[data-sticky] {
		display: flex !important;
		padding: 0 !important;
	}

	header.wm-header[data-sticky] .wm-header-inner.wm-header__bar,
	header.wm-header .wm-header-inner.wm-header__bar {
		display: flex !important;
		flex-direction: row !important;
		justify-content: space-between !important;
		align-items: center !important;
		width: 100% !important;
		padding: 0 !important;
		margin: 0 !important;
		height: 70px !important;
	}

	header.wm-header[data-sticky] .wm-header-inner.wm-header__bar .wm-header__left,
	header.wm-header .wm-header-inner.wm-header__bar .wm-header__left {
		flex: 0 0 auto !important;
		padding-left: 30px !important;
		margin: 0 !important;
		order: 1 !important;
	}

	header.wm-header[data-sticky] .wm-header-inner.wm-header__bar .wm-header__left a.wm-logo,
	header.wm-header .wm-header-inner.wm-header__bar .wm-header__left a.wm-logo {
		margin: 0 !important;
		padding: 0 !important;
	}

	header.wm-header[data-sticky] .wm-header-inner.wm-header__bar .wm-header__left a.wm-logo img,
	header.wm-header .wm-header-inner.wm-header__bar .wm-header__left a.wm-logo img {
		height: 32px !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	header.wm-header[data-sticky] .wm-header-inner.wm-header__bar .wm-header__right,
	header.wm-header .wm-header-inner.wm-header__bar .wm-header__right {
		flex: 0 0 auto !important;
		padding: 0 16px 0 0 !important;
		margin: 0 0 0 auto !important;
		order: 3 !important;
		display: flex !important;
		align-items: center !important;
		gap: 10px !important;
		flex-shrink: 0 !important;
	}

	header.wm-header[data-sticky] .wm-header-inner.wm-header__bar .wm-header__right a.wm-cta,
	header.wm-header .wm-header-inner.wm-header__bar .wm-header__right a.wm-cta {
		font-size: 0.8rem !important;
		padding: 8px 16px !important;
		border-radius: 9999px !important;
		margin: 0 !important;
		white-space: nowrap !important;
	}

	header.wm-header[data-sticky] .wm-header-inner.wm-header__bar .wm-header__right button.wm-hamburger,
	header.wm-header .wm-header-inner.wm-header__bar .wm-header__right button.wm-hamburger {
		width: 36px !important;
		height: 36px !important;
		margin: 0 !important;
		flex-shrink: 0 !important;
	}
}

@media (max-width: 768px) {

	/* Adjust spacing for smaller screens */
	.wm-header__left {
		padding-left: 30px !important;
	}

	.wm-header__right {
		padding-right: 24px !important;
		gap: 12px !important;
	}

	.wm-header__left img {
		height: 22px;
	}

	.wm-cta,
	.schedule-btn {
		font-size: 0.85rem !important;
		padding: 9px 18px !important;
	}

	.wm-hamburger {
		width: 36px;
		height: 36px;
	}
}

@media (max-width: 480px) {

	/* Tighter spacing on smallest screens */
	.wm-header__left {
		padding-left: 30px !important;
	}

	.wm-header__right {
		padding-right: 16px !important;
		gap: 10px !important;
	}

	.wm-header__left img {
		height: 20px;
	}

	.wm-cta,
	.schedule-btn {
		font-size: 0.8rem !important;
		padding: 8px 16px !important;
	}

	.wm-hamburger {
		width: 34px;
		height: 34px;
	}
}

/* === Mobile Navigation Overlay (BeFound-style) === */
/* WM HEADER FIXES BASED ON BEFOUND HTML: Overlay sits below header */
.wm-mobile-nav {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	background: rgba(0, 0, 0, 0.99);
	z-index: 9998;
	/* Below header (9999) */
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: opacity 0.4s ease-in-out,
		transform 0.4s ease-in-out,
		visibility 0s linear 0.4s;
	overflow-y: auto;
	/* Scroll if content overflows, never hard-clip */
}

/* Fade in overlay when menu opens */
.wm-mobile-nav.open,
body.menu-open .wm-mobile-nav {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity 0.4s ease-in-out,
		transform 0.4s ease-in-out;
}

/* Scroll-lock: prevent background page from scrolling while hamburger is open.
   The .wm-mobile-nav itself uses overflow-y: auto so its own content
   can still scroll if it exceeds the viewport height. */
body.menu-open,
html.menu-open {
	overflow: hidden;
}

/* Desktop overlay - BeFounded reference layout:
   flex row, space-between: nav links FAR LEFT, info panel FAR RIGHT */
@media (min-width: 1025px) {
	.wm-mobile-nav__container {
		max-width: none !important;
		width: 100% !important;
		/* Top padding: push content down from header, but keep it scrollable */
		padding: 0 5% !important;
		padding-top: 30vh !important;
		margin: 0 !important;
		min-height: 100vh;
		height: auto;
		overflow-y: auto;
		display: flex !important;
		flex-direction: row !important;
		/* flex-start so tall content extends downward (not off-screen below center) */
		align-items: flex-start !important;
		justify-content: space-between !important;
		box-sizing: border-box !important;
	}

	/* The grid becomes a full-width flex row spreading nav left, info right */
	.wm-mobile-nav__grid {
		display: flex !important;
		flex-direction: row !important;
		justify-content: space-between !important;
		align-items: center !important;
		width: 100% !important;
		gap: 0 !important;
		/* 13vw side padding: pushes both columns ~30% closer to center */
		padding: 0 15vw !important;
		max-width: none !important;
		box-sizing: border-box !important;
	}

	/* Left column - Primary nav links, flush left */
	.wm-mobile-nav__links {
		display: flex !important;
		flex-direction: column;
		gap: 20px;
		border-top: none !important;
		padding: 0 !important;
		margin: 0 !important;
		align-items: flex-start;
		flex: 0 0 auto;
	}

	.wm-mobile-nav__links a {
		font-size: clamp(1.5rem, 3vw, 2.5rem) !important;
		font-weight: 600;
		line-height: 1.15;
		letter-spacing: -0.02em;
	}

	/* Right column - Info container, flush right */
	.wm-mobile-nav__info {
		display: flex !important;
		flex-direction: column;
		gap: 24px;
		align-items: flex-start;
		padding: 0 !important;
		flex: 0 0 auto;
		max-width: 350px;
	}

	/* Brand block */
	.wm-mobile-nav__brand {
		border-top: none;
		padding: 0;
	}

	.wm-mobile-nav__brand h3 {
		font-size: 1.5rem;
		font-weight: 700;
		margin-bottom: 16px;
		color: #fff;
	}

	.wm-mobile-nav__brand p {
		font-size: 1rem;
		color: #A1A3A5;
		margin-bottom: 8px;
	}

	.wm-mobile-nav__contact {
		display: flex;
		flex-direction: column;
		gap: 4px;
		margin-top: 12px;
	}

	/* Services list */
	.wm-mobile-nav__services {
		border-top: none;
		padding: 0;
	}

	.wm-mobile-nav__services h4 {
		font-size: 1rem;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.1em;
		color: #A1A3A5;
		margin-bottom: 20px;
	}

	.wm-mobile-nav__services ul {
		display: flex !important;
		flex-direction: column;
		gap: 12px;
	}

	.wm-mobile-nav__services li {
		font-size: 1.125rem;
		color: #A1A3A5;
		list-style: none;
		display: block !important;
	}

	/* Social icons */
	.wm-mobile-nav__socials {
		display: flex;
		gap: 24px;
		margin-top: 16px;
	}

	.wm-mobile-nav__socials a {
		color: #A1A3A5;
		transition: all 0.3s ease, transform 0.3s ease;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.wm-mobile-nav__socials a:hover {
		color: #1760FF;
		transform: translateY(-4px);
	}
}

/* Container for overlay content */
/* Mobile layout - vertical stack */
.wm-mobile-nav__container {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 110px 48px 60px 48px;
	min-height: 100vh;
	height: auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 40px;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	position: relative;
	z-index: 9998;
	box-sizing: border-box;
}

/* Close button - hidden, hamburger handles all toggle */
.wm-mobile-nav__close {
	display: none !important;
}

/* Grid wrapper for mobile - single column stack */
.wm-mobile-nav__grid {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding-left: 48px;
	padding-right: 24px;
}

/* Mobile Nav Header - Logo, CTA, Close Button */
/* WHEELERSMEDIA HAMBURGER FIX #2: Hide duplicate logo in overlay */
.wm-mobile-nav__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 30px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	gap: 16px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: 20px 40px;
	background: rgba(0, 0, 0, 0.9);
	z-index: 9999;
	/* WHEELERSMEDIA HAMBURGER FIX #2: Keep header content above overlay */
	display: none !important;
	/* WHEELERSMEDIA HAMBURGER FIX #2: Hide entire overlay header bar */
}

/* WHEELERSMEDIA HAMBURGER FIX #2: Hide duplicate logo completely */
.wm-mobile-nav__logo {
	display: none !important;
	/* No logo in overlay - only main header logo shows */
}

.wm-mobile-nav__logo img {
	display: none !important;
}

.wm-mobile-nav__cta {
	background: transparent;
	border: 2px solid #fff;
	color: #fff;
	padding: 10px 20px;
	border-radius: 9999px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	white-space: nowrap;
	flex: 0 0 auto;
}

.wm-mobile-nav__cta:hover {
	background: #1760FF;
	border-color: #1760FF;
}

/* Mobile Nav Links - Main Navigation */
.wm-mobile-nav__links {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 0;
	text-align: left;
}

.wm-mobile-nav__links a {
	color: #fff;
	font-size: 1.25rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease, transform 0.3s ease;
	display: inline-block;
	letter-spacing: -0.02em;
}

/* Default brands mobile nav hover - blue */
.wm-mobile-nav__links a:hover {
	color: #1760FF;
	transform: translateX(10px);
}

/* Academy mobile nav hover override - orange */
body[data-site="academy"] .wm-mobile-nav__links a:hover,
body[data-site="academy"] .wm-mobile-nav__links a:focus {
	color: #FF7300 !important;
}

/* Careers mobile nav hover override - green */
body[data-site="careers"] .wm-mobile-nav__links a:hover,
body[data-site="careers"] .wm-mobile-nav__links a:focus {
	color: #00C76F !important;
}

/* Mobile nav services section accent colors */
/* Academy services links - orange */
body[data-site="academy"] .wm-mobile-nav__services a:hover,
body[data-site="academy"] .wm-mobile-nav__services a:focus {
	color: #FF7300 !important;
}

/* Careers services links - green */
body[data-site="careers"] .wm-mobile-nav__services a:hover,
body[data-site="careers"] .wm-mobile-nav__services a:focus {
	color: #00C76F !important;
}

/* Info section wrapper */
.wm-mobile-nav__info {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* Brand block */
.wm-mobile-nav__brand {
	padding: 24px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wm-mobile-nav__brand h3 {
	color: #fff;
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 12px;
}

.wm-mobile-nav__brand p {
	color: #A1A3A5;
	font-size: 0.9rem;
	margin-bottom: 6px;
}

.wm-mobile-nav__contact {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 8px;
}

.wm-mobile-nav__contact span {
	color: #A1A3A5;
	font-size: 0.9rem;
}

/* Services list */
.wm-mobile-nav__services {
	padding: 24px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wm-mobile-nav__services h4 {
	color: #A1A3A5;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 16px;
}

.wm-mobile-nav__services ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex !important;
	flex-direction: column;
	gap: 10px;
}

.wm-mobile-nav__services li {
	font-size: 1rem;
	display: block !important;
}

.wm-mobile-nav__services li a {
	color: #A1A3A5;
	text-decoration: none;
	transition: all 0.3s ease, transform 0.3s ease;
	display: block !important;
	white-space: nowrap;
}

.wm-mobile-nav__services li a:hover {
	color: #1760FF;
	transform: translateX(5px);
}

/* Social icons */
.wm-mobile-nav__socials {
	display: flex;
	gap: 20px;
	padding-top: 16px;
}

.wm-mobile-nav__socials a {
	color: #A1A3A5;
	transition: all 0.3s ease, transform 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wm-mobile-nav__socials a:hover {
	transform: translateY(-4px);
}

.wm-mobile-nav__socials img {
	width: 28px;
	height: 28px;
	filter: brightness(0) invert(1);
	transition: none;
}

.wm-mobile-nav__socials a:hover img {
	filter: brightness(0) saturate(100%) invert(36%) sepia(99%) saturate(3045%) hue-rotate(208deg) brightness(101%) contrast(101%);
}

/* Site-specific hover colors for social icons in hamburger */
body[data-site="academy"] .wm-mobile-nav__socials a:hover {
	color: #FF7300 !important;
}

body[data-site="academy"] .wm-mobile-nav__socials a:hover img {
	/* approximate filter for #FF7300 */
	filter: brightness(0) saturate(100%) invert(54%) sepia(86%) saturate(2442%) hue-rotate(1deg) brightness(103%) contrast(103%) !important;
}

body[data-site="careers"] .wm-mobile-nav__socials a:hover {
	color: #00C76F !important;
}

body[data-site="careers"] .wm-mobile-nav__socials a:hover img {
	/* approximate filter for #00C76F */
	filter: brightness(0) saturate(100%) invert(62%) sepia(58%) saturate(537%) hue-rotate(100deg) brightness(95%) contrast(101%) !important;
}

/* Brands: blue hover on hamburger social icons */
body.wheelers-brands .wm-mobile-nav__socials a:hover img {
	filter: brightness(0) saturate(100%) invert(24%) sepia(90%) saturate(2000%) hue-rotate(213deg) brightness(100%) contrast(107%) !important;
}

/* Brands: footer social icons — blue hover */
body.wheelers-brands .footer-social a img,
.footer-social a img {
	filter: brightness(0) invert(1);
	transition: none;
}

body.wheelers-brands .footer-social a:hover img {
	filter: brightness(0) saturate(100%) invert(24%) sepia(90%) saturate(2000%) hue-rotate(213deg) brightness(100%) contrast(107%);
}

body.wheelers-brands .footer-social a {
	transition: transform 0.2s ease;
}

body.wheelers-brands .footer-social a:hover {
	transform: translateY(-3px);
}

/* === END Mobile Navigation Overlay === */

/* Responsive adjustments for smaller mobile */
/* WM HEADER FIXES: Mobile padding accounts for fixed header above overlay */
@media (max-width: 768px) {
	.wm-mobile-nav__container {
		padding: 100px 40px 30px 48px;
		/* WM FIX: Extra top clearance for fixed header */
		gap: 32px;
	}

	.wm-mobile-nav__links a {
		font-size: 1.25rem;
	}
}

@media (max-width: 480px) {
	.wm-mobile-nav__container {
		padding: 90px 32px 24px 48px;
		/* WM FIX: Extra top clearance for fixed header */
		gap: 28px;
	}

	.wm-mobile-nav__links a {
		font-size: 1.25rem;
	}
}

@media (max-width:1024px) {
	.site-footer .footer-container {
		flex-direction: column;
		align-items: flex-start;
		gap: 40px;
		padding: 0 20px;
	}

	.site-footer .footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding-left: 20px;
		padding-right: 20px;
	}
}

/* Strong override: ensure Latest Work and related accent elements are blue on brands pages */
body.wheelers-brands .latest-work__eyebrow,
body.wheelers-brands .latest-work__cta,
body.wheelers-brands .latest-work__all-link {
	color: var(--wm-blue) !important;
}

body.wheelers-brands .latest-work__all-link {
	border-bottom-color: var(--wm-blue) !important;
}

/* Utility: extra large container for luxury/feature pages */
.container-xl {
	max-width: 1600px;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(1.5rem, 8vw, 10rem);
	padding-right: clamp(1.5rem, 8vw, 10rem);
}

/* Luxury Real Estate Section Styles (merged for global use) */
.lux-hero {
	position: relative;
	min-height: 70vh;
	width: 100vw;
	background: #000;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lux-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	opacity: 0;
	transition: opacity 1.2s cubic-bezier(.6, .2, .2, 1);
}

.lux-hero__video.in-view {
	opacity: 1;
}

.lux-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.85) 100%);
	z-index: 1;
}

.lux-hero__content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: #fff;
	max-width: 700px;
	margin: 0 auto;
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 1s cubic-bezier(.6, .2, .2, 1), transform 1s cubic-bezier(.6, .2, .2, 1);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
}

.lux-hero__content.in-view {
	opacity: 1;
	transform: none;
}

.lux-hero__title {
	font-size: clamp(2.5rem, 7vw, 4.5rem);
	font-weight: 700;
	margin-bottom: 1.2rem;
}

.lux-hero__subtitle {
	color: #A1A3A5;
	font-size: 1.25rem;
	font-weight: 400;
}

.lux-hero__gradient {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 100vw;
	height: 100%;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.95) 100%);
	z-index: 1;
	pointer-events: none;
}

/* Wheelers Media / Academy / Careers logo image utility
	 Used to replace plain-text brand names in headers/footers/loaders. */
.wm-logo {
	height: 28px;
	width: auto;
	display: block;
}

header .wm-logo {
	height: 28px;
}

footer .wm-logo {
	height: 36px;
	opacity: 0.85;
	transition: opacity .3s ease;
}

footer .wm-logo:hover {
	opacity: 1;
}

.loader .wm-logo {
	height: 48px;
	animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* --- Full-bleed header without changing scroll behavior (brands) --- */
.wm-header .container,
.wm-header .header-inner,
.wm-header .wrapper,
.wm-header .wm-container,
.wm-header [class*="container"],
.wm-header [class*="inner"] {
	max-width: none !important;
	margin: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	width: 100% !important;
}

/* New bar that spans the entire viewport */
.wm-header__bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	min-height: 64px;
	padding-inline: 0;
	width: 100%;
}

/* Left/center/right regions */
.wm-header__left {
	justify-self: start;
}

.wm-header__nav {
	justify-self: center;
}

.wm-header__right {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 12px;
}

/* Reset absolute positioning for grid items inside the bar */
.wm-header__bar .wm-logo,
.wm-header__bar .wm-nav,
.wm-header__bar .wm-cta,
.wm-header__bar .wm-menu-toggle {
	position: static !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
}

/* Edge hugging */
.wm-header__left>* {
	margin-left: 0 !important;
}

.wm-header__right>* {
	margin-right: 0 !important;
}

.wm-header__nav {
	white-space: nowrap;
}

/* Responsive: keep hamburger logic; keep CTA visible on mobile */
@media (max-width: 1024px) {
	.wm-header__bar {
		grid-template-columns: auto 1fr !important;
		justify-content: space-between !important;
		display: flex !important;
		padding: 0 !important;
		/* Padding handled by child elements */
	}

	.wm-header__left {
		justify-self: start !important;
		padding-left: 30px !important;
		/* BeFound spacing */
		margin-left: 0 !important;
	}

	.wm-header__right {
		justify-self: end !important;
		margin-left: auto !important;
		padding-right: 16px !important;
		/* BeFound spacing */
	}

	/* Make CTA bigger on mobile */
	.wm-cta {
		padding: 8px 16px !important;
		font-size: 0.8rem !important;
	}
}

@media (max-width: 768px) {
	.wm-header__bar {
		grid-template-columns: auto 1fr !important;
		display: flex !important;
		justify-content: space-between !important;
		padding: 0 !important;
		/* Padding handled by child elements */
	}

	.wm-header__nav {
		display: none;
	}

	.wm-cta {
		display: inline-block !important;
		padding: 8px 16px !important;
		font-size: 0.8rem !important;
	}

	.wm-header__left {
		justify-self: start !important;
		padding-left: 30px !important;
		/* BeFound spacing */
		margin-left: 0 !important;
	}

	.wm-header__right {
		justify-self: end !important;
		margin-left: auto !important;
		padding-right: 16px !important;
		/* BeFound spacing */
		gap: 10px !important;
	}
}

.lux-partners {
	background: #181A1B;
	padding: 4rem 0;
	text-align: center;
}

.lux-partners__heading {
	color: #fff;
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 2.2rem;
}

.lux-partners__logos {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2.5rem;
	flex-wrap: wrap;
	max-width: 1200px;
	margin: 0 auto;
}

.lux-partners__logo {
	width: 120px;
	opacity: 0.6;
	filter: grayscale(1);
	transition: opacity .2s, filter .2s;
}

.lux-partners__logo:hover {
	opacity: 1;
	filter: grayscale(0);
}

/* --- Normalize header height and vertical alignment (brands) --- */
.wm-header {
	height: 80px;
	/* match original header height */
	display: flex;
	align-items: center;
}

.wm-header__bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	/* vertical centering */
	height: 100%;
	padding-block: 0;
	/* removes extra vertical padding */
}

/* Restore original logo size and vertical centering */
.wm-header__left img,
.wm-header__left svg {
	height: auto !important;
	max-height: 48px;
	/* original approximate size */
	width: auto;
	display: block;
	align-self: center;
}

/* Ensure nav is centered vertically */
.wm-header__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

/* Fix nav link line-height for perfect vertical balance */
.wm-header__nav a {
	line-height: 1;
	display: inline-flex;
	align-items: center;
	padding-block: 0;
	/* prevents uneven top/bottom gaps */
}

/* Right section with even centering; keep room for future hamburger */
.wm-header__right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	padding-right: clamp(16px, 2vw, 40px);
	height: 100%;
}

/* CTA button stays vertically aligned */
.wm-header__right a,
.wm-header__right button {
	align-self: center;
}

/* Consistent header height for tablet/mobile */
@media (max-width: 1024px) {
	.wm-header {
		height: 70px;
	}

	/* keep existing nav visibility; grid collapses at 768px as already defined */
}

/* === Brands header refinements: vertical centering + right spacing === */
/* Vertically center logo and tweak right spacing */
.wm-header__bar {
	align-items: center;
	/* ensures perfect vertical centering */
}

.wm-header__left,
.wm-header__left a,
.wm-header__left img,
.wm-header__left svg {
	display: flex;
	align-items: center;
	height: 100%;
}

/* Slight inset for CTA button to leave space for hamburger */
.wm-header__right {
	padding-right: clamp(16px, 2vw, 40px);
	display: flex;
	align-items: center;
	gap: 12px;
	/* future space for hamburger icon */
}

/* Keep button vertically centered */
.wm-header__right button,
.wm-header__right a {
	align-self: center;
}

.lux-story,
.lux-feature,
.lux-feature--reverse {
	background: #000;
	padding: 8rem 0;
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	align-items: center;
	justify-content: center;
	min-height: 500px;
}

.lux-feature--reverse {
	flex-direction: row-reverse;
}

.lux-story__col,
.lux-feature__col {
	flex: 1 1 340px;
	min-width: 320px;
	max-width: 55%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.lux-story__eyebrow,
.lux-feature__eyebrow {
	color: #1760FF;
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 1.2rem;
}

.lux-story__title,
.lux-feature__title {
	color: #fff;
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.lux-story__desc,
.lux-feature__desc {
	color: #A1A3A5;
	font-size: 1.15rem;
	margin-bottom: 2.2rem;
}

.lux-story__cta,
.lux-feature__cta {
	display: inline-block;
	background: #1760FF;
	color: #fff;
	border-radius: 9999px;
	padding: 1rem 2.5rem;
	font-size: 1.125rem;
	font-weight: 600;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
	transition: background .2s, color .2s, transform .2s;
	text-decoration: none;
	margin-top: 1rem;
}

.lux-story__cta:hover,
.lux-feature__cta:hover {
	background: #fff;
	color: #1760FF;
	transform: translateY(-2px);
}

.lux-story__media,
.lux-feature__media {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
	aspect-ratio: 16/9;
	background: #181A1B;
	width: 100%;
	min-height: 320px;
	transition: box-shadow .2s;
}

.lux-story__media video,
.lux-story__media img,
.lux-feature__media video,
.lux-feature__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s cubic-bezier(.6, .2, .2, 1);
}

.lux-story__media:hover video,
.lux-story__media:hover img,
.lux-feature__media:hover video,
.lux-feature__media:hover img {
	transform: scale(1.03);
}

.lux-feature__list {
	list-style: none;
	padding: 0;
	margin-bottom: 1.7rem;
}

.lux-feature__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.7em;
	color: #fff;
	font-size: 1rem;
	margin-bottom: 0.7em;
}

.lux-feature__list svg {
	color: #1760FF;
	min-width: 1.2em;
	min-height: 1.2em;
	margin-top: 0.1em;
}

.lux-gallery {
	background: #000;
	padding: 6rem 0 8rem 0;
}

.lux-gallery__title {
	color: #fff;
	font-size: 2.2rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 3rem;
}

.lux-gallery__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
	max-width: 1400px;
	margin: 0 auto;
}

.lux-gallery__item {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	background: #181A1B;
	aspect-ratio: 4/3;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
	cursor: pointer;
	transition: box-shadow .2s, transform .2s;
}

.lux-gallery__item:hover {
	box-shadow: 0 8px 32px rgba(23, 96, 255, 0.18);
	transform: scale(1.03);
}

.lux-gallery__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s cubic-bezier(.6, .2, .2, 1);
}

.lux-gallery__item:hover .lux-gallery__img {
	transform: scale(1.06);
}

.lux-gallery__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 60%, rgba(0, 0, 0, 0.55) 100%);
	opacity: 0;
	transition: opacity .3s;
	z-index: 2;
}

.lux-gallery__item:hover .lux-gallery__overlay {
	opacity: 1;
}

.lux-gallery__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 1.2rem;
	color: #fff;
	font-size: 1.05rem;
	text-align: center;
	z-index: 3;
	opacity: 0;
	transition: opacity .3s;
}

.lux-gallery__item:hover .lux-gallery__caption {
	opacity: 1;
}

/* Gallery thumbnails: use accent color for hover border instead of hardcoded orange */
.gallery-thumb {
	border: 2px solid transparent;
	transition: border-color .18s ease, transform .18s ease;
}

.gallery-thumb:hover {
	border-color: var(--wm-accent) !important;
	transform: translateY(-2px);
}

.lux-cta {
	background: linear-gradient(180deg, #121C2D 0%, #000 100%);
	padding: 120px 0;
	text-align: center;
}

.lux-cta__title {
	color: #fff;
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 700;
	margin-bottom: 1.2rem;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.lux-cta__desc {
	color: #A1A3A5;
	font-size: 1.2rem;
	margin-bottom: 2.5rem;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.lux-cta__btn {
	display: inline-block;
	background: #1760FF;
	color: #fff;
	border-radius: 9999px;
	padding: 1rem 2.5rem;
	font-size: 1.125rem;
	font-weight: 600;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
	transition: background .2s, color .2s, transform .2s;
	text-decoration: none;
}

.lux-cta__btn:hover {
	background: #fff;
	color: #1760FF;
	transform: translateY(-2px);
}

@media (max-width: 1200px) {
	.container-xl {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

@media (max-width: 1024px) {

	.lux-story,
	.lux-feature,
	.lux-feature--reverse {
		flex-direction: column;
		padding: 4rem 0;
		gap: 2rem;
		min-height: unset;
	}

	.lux-story__col,
	.lux-feature__col {
		max-width: 100%;
	}

	.lux-story__media,
	.lux-feature__media {
		min-height: 220px;
	}
}

@media (max-width: 768px) {
	.container-xl {
		padding-left: 2rem;
		padding-right: 2rem;
	}

	.lux-hero__title {
		font-size: 2rem;
	}

	.lux-gallery__grid {
		gap: 0.7rem;
	}

	.lux-gallery__title {
		font-size: 1.3rem;
	}

	.lux-cta__title {
		font-size: 2rem;
	}
}

/* Footer: pure black background, white text, section-based link hover colors */
.site-footer {
	width: 100%;
	background: #000 !important;
	color: #FFFFFF;
	padding: 3rem 0 0 0;
	margin-top: 4rem;
}

.site-footer .footer-link {
	color: #A1A3A5;
	transition: color 0.3s;
}

.site-footer .footer-link:hover {
	color: #1760FF;
}

body.section-careers .site-footer .footer-link:hover {
	color: var(--wm-green);
}

body.section-academy .site-footer .footer-link:hover {
	color: #FF7300;
}

body.section-brands .site-footer .footer-link:hover {
	color: #1760FF;
}

.site-footer .footer-column {
	margin-bottom: 2rem;
}

.site-footer .footer-column h3 {
	color: #fff;
}

.site-footer .footer-column ul {
	list-style: none;
	padding: 0;
}

.site-footer .footer-column li {
	margin-bottom: 0.5rem;
}

.site-footer .footer-column:last-child {
	margin-bottom: 0;
}

.site-footer .border-t {
	border-top: 1px solid #222;
}

.site-footer .text-gray-400 {
	color: #A1A3A5;
}

.site-footer .text-gray-500 {
	color: #A1A3A5;
}

/* Homepage / Index: consistent button and tile logic per request */
:root {
	--wm-blue: #1760FF;
	--wm-orange: #FF7300;
	--wm-green: #00C76F;
}

/* ============================
	 GLOBAL HOMEPAGE BUTTON STYLE (homepage-only)
	 Scoped under body.wheelers-home so internal pages are unaffected
	 ============================ */
body.wheelers-home .index-button,
body.wheelers-home .tile button,
body.wheelers-home button.home-btn {
	background: transparent;
	border: 2px solid #FFFFFF;
	color: #FFFFFF;
	border-radius: 6px;
	font-weight: 600;
	letter-spacing: 0.5px;
	padding: 0.8rem 2rem;
	transition: all 0.3s ease;
	cursor: pointer;
	text-transform: uppercase;
}

body.wheelers-home .index-button:hover,
body.wheelers-home .tile button:hover,
body.wheelers-home button.home-btn:hover {
	border-color: #FFFFFF;
	color: #FFFFFF;
}

/* Scoped hover colors by tile */
body.wheelers-home .tile-careers .index-button:hover,
body.wheelers-home .tile-careers button:hover {
	background-color: #00C76F !important;
}

body.wheelers-home .tile-brands .index-button:hover,
body.wheelers-home .tile-brands button:hover {
	background-color: #1760FF !important;
}

body.wheelers-home .tile-academy .index-button:hover,
body.wheelers-home .tile-academy button:hover {
	background-color: #FF7300 !important;
}

/* Button reset to remove conflicts */
body.wheelers-home .tile-careers .index-button,
body.wheelers-home .tile-brands .index-button,
body.wheelers-home .tile-academy .index-button {
	box-shadow: none !important;
	background: transparent !important;
}

body.wheelers-home .tile-careers .index-button:focus,
body.wheelers-home .tile-brands .index-button:focus,
body.wheelers-home .tile-academy .index-button:focus {
	outline: none !important;
}

/* Optional visual enhancement */
body.wheelers-home .index-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 18px rgba(255, 255, 255, 0.10);
}

/* Generic home button styles (apply across index page) */
.home-button,
.index-button,
button,
.btn {
	background: transparent;
	color: #FFFFFF;
	border: 1.5px solid #FFFFFF;
	border-radius: 6px;
	font-weight: 600;
	letter-spacing: 0.5px;
	padding: 0.9rem 2rem;
	transition: all 0.3s ease;
	cursor: pointer;
}

.home-button:hover,
.index-button:hover,
button:hover,
.btn:hover {
	color: #FFFFFF;
	border-color: #FFFFFF;
}

/* Specific hover backgrounds by scoped body class */
body.wheelers-careers .home-button:hover,
body.wheelers-careers button:hover,
body.wheelers-careers .btn:hover {
	background-color: var(--wm-green);
}

body.wheelers-brands .home-button:hover,
body.wheelers-brands button:hover,
body.wheelers-brands .btn:hover {
	background-color: var(--wm-blue);
}

body.wheelers-academy .home-button:hover,
body.wheelers-academy button:hover,
body.wheelers-academy .btn:hover {
	background-color: var(--wm-orange);
}

body[data-site="careers"] .wm-header .wm-header__right .wm-cta:hover,
body[data-site="careers"] .wm-header .wm-header__right .wm-cta:focus {
	background-color: #00C76F !important;
	border-color: #00C76F !important;
	color: #fff !important;
}

/* Tile hover + accent glow */
.tile {
	transition: all 0.3s ease;
}

.tile:hover {
	transform: translateY(-6px);
	box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
}

.tile-careers:hover {
	box-shadow: 0 0 40px rgba(0, 199, 111, 0.35);
}

.tile-brands:hover {
	box-shadow: 0 0 40px rgba(23, 96, 255, 0.35);
}

.tile-academy:hover {
	box-shadow: 0 0 40px rgba(255, 115, 0, 0.35);
}

/* Loader color scoping for careers */
.wheelers-careers .loader span,
.wheelers-careers .preload-logo,
.wheelers-careers .loading-text,
body.wheelers-careers .loading-logo,
body.wheelers-careers .loading-logo .accent {
	color: var(--wm-green) !important;
	text-shadow: 0 0 12px rgba(0, 199, 111, 0.5);
}

/* Dedicated loader glow classes so JavaScript can toggle them per-branch */
.loading-logo.glow-careers {
	text-shadow: 0 0 20px var(--wm-green), 0 0 40px color-mix(in srgb, var(--wm-green) 60%, transparent);
}

.loading-logo.glow-brands {
	text-shadow: 0 0 20px var(--wm-blue), 0 0 40px color-mix(in srgb, var(--wm-blue) 60%, transparent);
}

.loading-logo.glow-academy {
	text-shadow: 0 0 20px var(--wm-orange), 0 0 40px color-mix(in srgb, var(--wm-orange) 60%, transparent);
}

/* Image-specific glows (applied to <img class="wm-logo">) */
.wm-logo.glow-careers {
	filter: drop-shadow(0 0 16px rgba(0, 199, 111, 0.6));
	transition: filter .25s ease, transform .25s ease;
}

.wm-logo.glow-brands {
	filter: drop-shadow(0 0 16px rgba(23, 96, 255, 0.6));
	transition: filter .25s ease, transform .25s ease;
}

.wm-logo.glow-academy {
	filter: drop-shadow(0 0 16px rgba(255, 115, 0, 0.6));
	transition: filter .25s ease, transform .25s ease;
}

/* ==============================================
   PREMIUM CSS ANIMATED LOADER
   Page-arrival loader: visible immediately, fades
   out when the page finishes loading. Also used
   for navigation transitions (.active class).
   ============================================== */

/* Keyframe: logo slow pulse */
@keyframes wm-logo-pulse {
    0%,  100% { opacity: 0.85; transform: scale(1);    filter: brightness(1); }
    50%        { opacity: 1;    transform: scale(1.04); filter: brightness(1.15); }
}

/* Keyframe: individual dot bounce */
@keyframes wm-dot-bounce {
    0%, 80%, 100% { transform: translateY(0);    opacity: 0.4; }
    40%           { transform: translateY(-10px); opacity: 1;   }
}

/* Full-screen overlay */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: #000000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Starts visible on page load */
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Fade-out triggered by JS when page is ready */
.loading-overlay.wm-loader-fadeout {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Arriving from portal video: suppress loader before first paint.
   html.portal-mode is set by wm-loader.js running in <head>,
   so this rule applies before the browser renders #loadingOverlay. */
html.portal-mode #loadingOverlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Navigation transition (overlay appears when leaving a page) */
.loading-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Logo + dots wrapper */
.loading-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    opacity: 1;
    transform: scale(1);
}

/* Logo image: subtle slow pulse */
.loading-logo .wm-logo {
    width: clamp(120px, 20vw, 180px);
    height: auto;
    animation: wm-logo-pulse 2.4s ease-in-out infinite;
    will-change: transform, opacity;
}

/* Three-dot bouncing indicator */
.wm-loader-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wm-loader-dots span {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--loader-dot-color, #1760FF);
    animation: wm-dot-bounce 1.2s ease-in-out infinite;
    will-change: transform, opacity;
}

.wm-loader-dots span:nth-child(1) { animation-delay: 0s; }
.wm-loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.wm-loader-dots span:nth-child(3) { animation-delay: 0.4s; }

/* Division colour overrides on the overlay itself */
.loading-overlay.div-brands  { --loader-dot-color: #1760FF; }
.loading-overlay.div-careers { --loader-dot-color: #00C97B; }
.loading-overlay.div-academy { --loader-dot-color: #FF6B00; }

/* Legacy glow classes kept for backward-compat with brands-loader.js */
.loading-logo.loader         { opacity: 1; transform: scale(1); }
.loading-logo.glow-academy   { filter: drop-shadow(0 0 14px #FF6B00); }
.loading-logo.glow-careers   { filter: drop-shadow(0 0 14px #00C97B); }
.loading-logo.glow-brands    { filter: drop-shadow(0 0 14px #1760FF); }

/* Utility: ensure index panels use tile classes for consistent glows */
/* Panels get .tile class applied in markup for consistent tile hover effects */

/* =============================================
   HOMEPAGE: force-disable overlays and pseudo-layers
   Scoped under `body.wheelers-home .tiles-container` so
   other pages/components keep their intended overlays.
   This neutralizes unexpected dark bands and top gaps
   observed on the index panels.
   ============================================= */
body.wheelers-home .tiles-container,
body.wheelers-home .tiles-container .panel {
	background-blend-mode: normal !important;
	filter: none !important;
}

/* Remove any pseudo-element overlays inside the tiles container */
body.wheelers-home .tiles-container *::before,
body.wheelers-home .tiles-container *::after {
	display: none !important;
	background: none !important;
	box-shadow: none !important;
	opacity: 1 !important;
	z-index: auto !important;
	pointer-events: none !important;
}

/* Hide common overlay elements if they accidentally appear in the tiles area */
body.wheelers-home .tiles-container .lux-gallery__overlay,
body.wheelers-home .tiles-container .lux-hero__scrim,
body.wheelers-home .tiles-container .lux-hero__gradient,
body.wheelers-home .tiles-container .industries__card::before,
body.wheelers-home .tiles-container .latest-work__card::before {
	display: none !important;
}

body.wheelers-home .tiles-container {
	height: 100dvh !important;
	align-items: stretch !important;
}

body.wheelers-home .tiles-container .panel {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin: 0 !important;
}

body.wheelers-home .tiles-container .panel>.max-w-md {
	justify-content: center !important;
	margin: 0 !important;
}

/* =============================
   DEBUG: opt-in visual outlines for tiles
   Enable by adding `?debug=tiles` to the URL (index.html will add the class .debug-tiles)
   This is temporary — used to identify overlays / unexpected pseudo-elements.
   ============================= */
body.debug-tiles .tiles-container * {
	outline: 1px dashed rgba(255, 255, 255, 0.12) !important;
	background-clip: padding-box !important;
}

body.debug-tiles .tiles-container>.panel {
	outline-color: rgba(0, 200, 111, 0.9) !important;
}

body.debug-tiles .tiles-container>.panel:nth-child(1) {
	background: linear-gradient(180deg, rgba(0, 199, 111, 0.06), transparent) !important;
}

body.debug-tiles .tiles-container>.panel:nth-child(2) {
	background: linear-gradient(180deg, rgba(23, 96, 255, 0.06), transparent) !important;
}

body.debug-tiles .tiles-container>.panel:nth-child(3) {
	background: linear-gradient(180deg, rgba(255, 115, 0, 0.06), transparent) !important;
}

/* Elevate debug visuals above the glow but below the loading overlay */
body.debug-tiles #cursor-glow {
	opacity: 0.12 !important;
}


/* =============================
	 Wheelers Media Brands Footer (wm-footer)
	 BeFound-style layout and proportions
	 ============================= */
.wm-footer {
	background: #000;
	color: #fff;
	padding: 80px 60px 40px;
	font-family: 'neue-haas-grotesk-display', sans-serif;
	width: 100%;
	position: relative;
}

.wm-footer .footer-container {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 80px;
	max-width: 1600px;
	margin: 0 auto;
	align-items: flex-start;
}

.wm-footer .footer-column {
	min-width: 0;
}

.wm-footer .footer-about {
	max-width: 500px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.wm-footer .footer-about img {
	width: 350px;
	max-width: 100%;
	height: auto;
	margin-bottom: 20px;
	display: block;
}

.wm-footer .footer-about p {
	font-size: 0.875rem;
	line-height: 1.6;
	color: #fff;
	margin: 0;
	font-weight: 300;
}

.wm-footer .footer-column h4 {
	font-family: 'neue-haas-grotesk-display', sans-serif;
	font-size: 1rem;
	margin-bottom: 20px;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #fff;
}

.wm-footer .footer-column ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.wm-footer .footer-column ul li {
	margin-bottom: 12px;
}

.wm-footer .footer-column ul li a {
	color: #9CA3AF;
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 0.875rem;
	font-weight: 300;
	display: inline-block;
}

.wm-footer .footer-column ul li a:hover {
	color: #1760FF;
}

.wm-footer .footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	max-width: 1600px;
	margin: 60px auto 0;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.875rem;
	color: #fff;
	gap: 20px;
}

.wm-footer .footer-bottom-left {
	margin: 0;
	font-weight: 300;
}

.wm-footer .footer-bottom-center {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.wm-footer .footer-bottom-center a {
	color: #fff;
	text-decoration: none;
	transition: all 0.3s ease;
	font-weight: 300;
}

.wm-footer .footer-bottom-center a:hover {
	color: #1760FF;
}

.wm-footer .footer-social {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-right: 20px;
}

.wm-footer .footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease, filter 0.3s ease;
}

.wm-footer .footer-social a:hover {
	transform: translateY(-3px);
}

.wm-footer .footer-social a img {
	width: 24px;
	height: 24px;
	display: block;
	filter: brightness(0) invert(1);
	transition: filter 0.3s ease;
}

.wm-footer .footer-social a:hover img {
	filter: brightness(0) saturate(100%) invert(36%) sepia(99%) saturate(3045%) hue-rotate(208deg) brightness(101%) contrast(101%);
}

body.wheelers-academy .wm-footer .footer-social a img {
	filter: brightness(0) invert(1);
}

body.wheelers-academy .wm-footer .footer-social a:hover img {
	filter: brightness(0) saturate(100%) invert(53%) sepia(82%) saturate(2533%) hue-rotate(358deg) brightness(103%) contrast(102%);
}

body.wheelers-careers .wm-footer .footer-column ul li a:hover {
	color: var(--wm-accent, #00C76F);
}

body.wheelers-careers .wm-footer .footer-bottom-center a:hover {
	color: var(--wm-accent, #00C76F);
}

body.wheelers-careers .wm-footer .footer-social a:hover img {
	filter: brightness(0) saturate(100%) invert(61%) sepia(72%) saturate(707%) hue-rotate(101deg) brightness(98%) contrast(101%);
}

body.wheelers-academy .wm-footer .footer-column ul li a:hover {
	color: #FF7300;
}

body.wheelers-academy .wm-footer .footer-bottom-center a:hover {
	color: #FF7300;
}

/* Fix: Footer logo sizes — careers and academy logos use explicit width + height:auto to prevent stretching */
body.wheelers-careers .wm-footer .footer-about img,
body.wheelers-academy .wm-footer .footer-about img {
	width: 240px !important;
	max-width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
	margin-bottom: 20px !important;
	display: block !important;
}

/* Responsive */
@media (max-width: 1024px) {
	.wm-footer {
		padding: 60px 40px 30px;
	}

	.wm-footer .footer-container {
		grid-template-columns: 1fr 1fr;
		gap: 60px;
	}

	.wm-footer .footer-about {
		grid-column: 1 / -1;
		max-width: 100%;
	}

	.wm-footer .footer-bottom {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 16px;
		margin-top: 40px;
		padding-top: 20px;
	}

	.wm-footer .footer-bottom-center {
		position: static;
		transform: none;
		left: auto;
	}

	.wm-footer .footer-social {
		margin-right: 0;
		justify-content: center;
	}
}

@media (max-width: 768px) {
	.wm-footer {
		padding: 50px 20px 25px;
	}

	.wm-footer .footer-container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 20px;
		text-align: left;
	}

	.wm-footer .footer-about {
		grid-column: 1 / -1;
		align-items: flex-start;
		text-align: left;
	}

	.wm-footer .footer-about img {
		margin-left: 0;
		margin-right: 0;
	}

	.wm-footer .footer-column {
		text-align: left;
	}

	.wm-footer .footer-column ul {
		text-align: left;
	}

	.wm-footer .footer-bottom {
		text-align: center;
		align-items: center;
		margin-top: 30px;
	}

	.wm-footer .footer-social {
		justify-content: center;
	}
}

/* ════════════════════════════════════════════════════════════════════
   PREMIUM RESPONSIVE ARCHITECTURE SYSTEM
   Scoped to brands / careers / academy pages only.
   Root landing page (body.wheelers-home) is excluded.
   ════════════════════════════════════════════════════════════════════ */

/* ═══ 1. FLUID TYPOGRAPHY ═══
   All headings scale smoothly between viewport sizes.
   Page-level inline styles or scoped <style> blocks
   will still take precedence where needed.            */

body:not(.wheelers-home) h1 {
	font-size: clamp(2rem, 5vw, 4rem);
	line-height: 1.1;
}

body:not(.wheelers-home) h2 {
	font-size: clamp(1.6rem, 4vw, 3rem);
	line-height: 1.15;
}

body:not(.wheelers-home) h3 {
	font-size: clamp(1.25rem, 3vw, 2rem);
	line-height: 1.2;
}

/* Paragraph / body text baseline */
body:not(.wheelers-home) p {
	line-height: 1.65;
}

/* ═══ 2. AUTO-STACKING GRIDS ═══
   Cards auto-flow from multi-column on desktop to
   single-column on mobile with no manual breakpoints.
   min(320px, 100%) prevents overflow on tiny screens. */

body:not(.wheelers-home) .wm-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 1.5rem;
}

/* Common card grid patterns across site */
body:not(.wheelers-home) .cs-vault__grid {
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

body:not(.wheelers-home) .cs-cards__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	gap: 2rem;
}

body:not(.wheelers-home) .team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 2rem;
}

body:not(.wheelers-home) .booking-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: 1.5rem;
}

/* ═══ 3. CONTAINERS — Max-Width & Dynamic Padding ═══
   Ensures content never touches screen edges on mobile
   and stays centered on ultra-wide monitors.           */

body:not(.wheelers-home) .wm-container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: max(20px, 5vw);
	padding-right: max(20px, 5vw);
}

/* Align existing container patterns */
body:not(.wheelers-home) .cs-container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: max(20px, 5vw);
	padding-right: max(20px, 5vw);
}

/* Tailwind max-w-7xl pattern used across pages */
body:not(.wheelers-home) .max-w-7xl {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: max(20px, 4vw);
	padding-right: max(20px, 4vw);
}

/* ═══ 4. TABLET OVERRIDES (1024px) ═══ */
@media (max-width: 1024px) {

	/* Stack all named 2-column grids */
	body:not(.wheelers-home) .cs-flagship__grid,
	body:not(.wheelers-home) .vw-grid,
	body:not(.wheelers-home) .spotlight-grid,
	body:not(.wheelers-home) .conv-grid {
		grid-template-columns: 1fr !important;
		gap: 2.5rem !important;
	}

	/* Reduce section padding at tablet */
	body:not(.wheelers-home) section {
		padding-top: clamp(3rem, 8vw, 6rem);
		padding-bottom: clamp(3rem, 8vw, 6rem);
	}
}

/* ═══ 5. MOBILE OVERRIDES (768px) ═══ */
@media (max-width: 768px) {

	/* Stack all multi-column flex containers */
	body:not(.wheelers-home) .section-feature .max-w-7xl {
		grid-template-columns: 1fr !important;
	}

	/* Pricing / card grids: force single column */
	body:not(.wheelers-home) .grid.md\:grid-cols-3,
	body:not(.wheelers-home) .grid.md\:grid-cols-2 {
		grid-template-columns: 1fr !important;
	}

	/* Reduce massive desktop padding */
	body:not(.wheelers-home) section {
		padding-top: clamp(2.5rem, 6vw, 4rem);
		padding-bottom: clamp(2.5rem, 6vw, 4rem);
	}

	/* Full-width CTA buttons for thumb-friendly tap targets */
	body:not(.wheelers-home) .btn-blue,
	body:not(.wheelers-home) .btn-cta-band,
	body:not(.wheelers-home) .btn-white,
	body:not(.wheelers-home) .lux-cta__btn,
	body:not(.wheelers-home) .lux-story__cta,
	body:not(.wheelers-home) .lux-feature__cta {
		width: 100%;
		max-width: 420px;
		text-align: center;
		box-sizing: border-box;
		margin-left: auto;
		margin-right: auto;
		display: block;
	}

	/* Tighten container padding on small screens */
	body:not(.wheelers-home) .wm-container,
	body:not(.wheelers-home) .cs-container,
	body:not(.wheelers-home) .max-w-7xl {
		padding-left: 20px;
		padding-right: 20px;
	}

	/* Hero sections: reduce top padding (header is fixed) */
	body:not(.wheelers-home) .cs-hero,
	body:not(.wheelers-home) .auto-hero,
	body:not(.wheelers-home) .corp-hero,
	body:not(.wheelers-home) .lux-hero {
		padding-top: 7rem;
		padding-bottom: 3rem;
	}

	/* Feature text columns: full width */
	body:not(.wheelers-home) .cs-flagship__grid>div,
	body:not(.wheelers-home) .section-feature .max-w-7xl>div {
		max-width: 100%;
	}

	/* Stat rows: wrap if too tight */
	body:not(.wheelers-home) .cs-stats {
		flex-wrap: wrap;
	}

	body:not(.wheelers-home) .cs-stat {
		flex: 1 1 120px;
		min-width: 100px;
	}
}