/* =============================================================
   Webster Land Services — Design System (Yellow + Black + Red rule)
   -----------------------------------------------------------
   Caterpillar yellow is the dominant accent (buttons, links,
   eyebrows, icons, hovers). Red is reserved for the short pill-
   style rule bars under headings — see `--wls-color-rule`. Default
   backgrounds are dark.
   ============================================================= */

/* ----- Design Tokens ----- */
:root {
	/* Brand
	   Caterpillar yellow is the dominant accent (buttons, links, eyebrows,
	   icons, hovers). A small red is reserved for the short pill-style
	   rule bars under headings (`--wls-color-rule`). Don't mix the two:
	   if something feels like a CTA / accent, use primary; if it's a
	   64×4px divider, use rule. */
	--wls-color-primary: #FFCB11;		/* CAT yellow — accent, buttons, links */
	--wls-color-primary-dark: #E6B800;	/* hover / pressed */
	--wls-color-primary-soft: rgba(255, 203, 17, 0.14);	/* tint */

	/* Red is only used for the short "pill" rule bars under headings. */
	--wls-color-rule: #C2182B;
	--wls-color-rule-dark: #8E1020;

	/* Legacy aliases — keep so older selectors still resolve */
	--wls-color-red: var(--wls-color-rule);
	--wls-color-red-dark: var(--wls-color-rule-dark);

	/* Surface scale — darker by default per design feedback */
	--wls-color-ink: #0a0a0a;		/* page bg / dark sections */
	--wls-color-ink-2: #161616;		/* lifted dark surface */
	--wls-color-ink-3: #1f1f1f;		/* dark card surface */
	--wls-color-muted: #a1a1aa;		/* zinc-400 — body text on dark */
	--wls-color-muted-2: #71717a;		/* zinc-500 — secondary on dark */
	--wls-color-line: #2a2a2a;		/* dark divider */
	--wls-color-line-2: #3f3f3f;		/* dark divider lifted */

	/* Light surfaces — used sparingly for content-heavy sections */
	--wls-color-surface: #fafaf9;		/* warm off-white (stone-50) */
	--wls-color-surface-alt: #f5f5f4;	/* stone-100 */
	--wls-color-line-light: #e7e5e4;	/* stone-200 */

	--wls-font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

	--wls-container-max: 1200px;
	--wls-container-pad: clamp(1rem, 2vw, 1.5rem);
	--wls-nav-height: 120px;

	--wls-shadow-hard: 4px 4px 0 0 rgba(0,0,0,1);
	--wls-shadow-hard-sm: 3px 3px 0 0 rgba(0,0,0,1);

	--wls-tracking-wide: 0.05em;
	--wls-tracking-wider: 0.1em;
	--wls-tracking-widest: 0.15em;

	--wls-radius: 8px;
}

/* ----- Base & Resets ----- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--wls-font-sans);
	color: #f5f5f4;
	background: var(--wls-color-ink);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #fafaf9; text-decoration: none; }
a:hover { color: var(--wls-color-primary); }

h1, h2, h3, h4, h5, h6 {
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	margin: 0 0 1rem;
	color: #fafaf9;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin: 0 0 1rem; }

/* ----- Container ----- */
.wls-container {
	width: 100%;
	max-width: var(--wls-container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--wls-container-pad);
	padding-right: var(--wls-container-pad);
}

/* ----- Mega Navigation -----
   Solid dark, no thick yellow accent border (Justin: the yellow
   border was too stark; Plateau-style solid dark header). A subtle
   1px line separates the nav from page content. */
.wls-mega-nav {
	background: var(--wls-color-ink-3);
	border-bottom: 1px solid var(--wls-color-line);
	position: sticky;
	top: 0;
	z-index: 100;
}

.wls-mega-nav__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 0.75rem;
	padding-bottom: 0;
	position: relative;
}

.wls-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-weight: 900;
	font-size: 1.25rem;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wider);
}

.wls-logo img {
	height: 100px;
	width: auto;
}

.wls-nav-menu {
	display: flex;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0 0 0.75rem 0;
	align-items: center;
}

.wls-nav-menu > li {
	display: flex;
	align-items: center;
}

.wls-nav-menu a {
	color: #fff;
	font-weight: 600;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wide);
	transition: color 0.2s ease;
}

.wls-nav-menu a:hover {
	color: var(--wls-color-primary);
}

/* Yellow CTA button in nav (replaces "Home" link) */
.wls-nav-cta a {
	background: var(--wls-color-primary);
	color: var(--wls-color-ink) !important;
	padding: 0.5rem 1.25rem;
	border-radius: var(--wls-radius);
	font-weight: 700;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wider);
	transition: background 0.18s ease;
}
.wls-nav-cta a:hover {
	background: var(--wls-color-primary-dark);
	color: var(--wls-color-ink) !important;
}

/* Mega dropdown */
.wls-mega-dropdown {
	position: static;
}

/* Hover bridge: the panel anchors to the bottom of the (tall, logo-on-top)
   nav, so there's a gap below the Services link created by .wls-nav-menu's
   bottom padding. Extend the trigger's hover area down to the panel so moving
   the cursor from the link into the panel never drops the :hover state. The
   negative margin cancels the padding for layout, so nothing shifts. */
.wls-mega-dropdown {
	padding-bottom: 1.5rem;
	margin-bottom: -1.5rem;
}

.wls-mega-dropdown__panel {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: var(--wls-color-ink-2);
	border-top: 2px solid var(--wls-color-primary);
	padding: 2rem;
	width: min(720px, 90vw);
	box-shadow: 0 12px 32px rgba(0,0,0,.5);
	z-index: 100;
}

.wls-mega-dropdown:hover .wls-mega-dropdown__panel,
.wls-mega-dropdown:focus-within .wls-mega-dropdown__panel {
	display: grid;
	/* 2 columns: equestrian collapsed under residential per feedback */
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
}

/* Column heading: same treatment for an h4 or a checkbox-driven
   <label class="wls-mega-summary"> (used so the column can collapse on
   mobile). On desktop the label is just visual — the toggle does
   nothing because we keep the list visible at all times. */
.wls-mega-column h4,
.wls-mega-column > .wls-mega-summary {
	color: var(--wls-color-primary);
	font-size: 0.875rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wider);
	margin: 0 0 1rem;
	display: block;
}

/* The accordion toggle is visually hidden but still focusable. */
.wls-mega-toggle {
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	border: 0; clip: rect(0 0 0 0);
	overflow: hidden;
}

.wls-mega-column ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wls-mega-column li {
	margin-bottom: 0.5rem;
}

.wls-mega-column a {
	color: #a1a1aa;
	font-size: 0.8125rem;
	text-transform: none;
	letter-spacing: 0;
}

.wls-mega-column a:hover {
	color: #fff;
}

/* ----- Mobile hamburger (CSS-only) -----
   Uses the classic hidden-checkbox + label pattern so we don't need
   any JS. Markup is the same as desktop, with two extra siblings
   (input + label) inside `.wls-mega-nav__inner`, placed AFTER the
   logo and BEFORE `.wls-nav-menu` so the `~` sibling selectors below
   can wire up the toggle. Both are hidden at desktop widths. */
.wls-nav-toggle {
	/* visually hidden but still focusable */
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	border: 0; clip: rect(0 0 0 0);
	overflow: hidden;
}
.wls-nav-burger { display: none; }

/* ----- Buttons -----
   Solid red on dark, white text. Outline variant uses white border
   on dark surfaces. Dropped the brutalist hard-shadow that was
   clipping inside the hero (Row 4 cut-off fix). */
.wp-block-button__link,
.wls-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.875rem 1.75rem;
	font-weight: 700;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wider);
	background: var(--wls-color-primary);
	color: var(--wls-color-ink);
	border: 2px solid var(--wls-color-primary);
	border-radius: var(--wls-radius);
	cursor: pointer;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.wp-block-button__link:hover,
.wls-btn:hover {
	background: var(--wls-color-primary-dark);
	border-color: var(--wls-color-primary-dark);
	color: var(--wls-color-ink);
}

/* Outline button variant — white border on dark surfaces */
.is-style-outline .wp-block-button__link,
.wls-btn--outline {
	background: transparent;
	color: #fff;
	border: 2px solid #fff;
}

.is-style-outline .wp-block-button__link:hover,
.wls-btn--outline:hover {
	background: var(--wls-color-primary);
	border-color: var(--wls-color-primary);
	color: var(--wls-color-ink);
}

/* Dark-bg primary alias — same as default now (kept for backwards compatibility) */
.wls-btn--on-dark {
	background: var(--wls-color-primary);
	color: var(--wls-color-ink);
	border-color: var(--wls-color-primary);
}

.wls-btn--on-dark:hover {
	background: var(--wls-color-primary-dark);
	border-color: var(--wls-color-primary-dark);
	color: var(--wls-color-ink);
}

/* ----- Hero Section -----
   `overflow:hidden` moved onto the bg layer instead of the section
   so button focus rings / outlines don't get clipped (Row 4 fix).
   Default overlay deepened to 0.65 for the moodier feel. */
.wls-hero {
	position: relative;
	min-height: 80vh;
	display: flex;
	align-items: center;
	background: var(--wls-color-ink);
}

.wls-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.wls-hero__bg img,
.wls-hero__bg video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wls-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10,10,10,0.40) 0%, rgba(10,10,10,0.60) 100%);
}

.wls-hero__inner {
	position: relative;
	z-index: 1;
	/* Horizontal inset matches the mockup's roomy left gutter. The shorthand
	   here previously zeroed the .wls-container side padding, pushing the copy
	   flush to the edge. */
	padding: 4rem clamp(1.5rem, 6vw, 5rem);
}

/* Hero eyebrow is a solid yellow pill with dark text so it stays
   readable over any hero photo. (Justin's Row 26 feedback + screenshot.) */
.wls-hero__eyebrow {
	display: inline-block;
	background: var(--wls-color-primary);
	color: var(--wls-color-ink);
	font-weight: 800;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-widest);
	margin-bottom: 1.25rem;
	padding: 0.55rem 1.1rem;
	border: none;
	border-radius: var(--wls-radius);
}

.wls-hero__headline {
	color: #fff;
	font-size: clamp(2.5rem, 6vw, 5rem);
	line-height: 1;
	margin-bottom: 1.5rem;
	max-width: 800px;
}

.wls-hero__subhead {
	color: #DEDEE3;
	font-size: 1.125rem;
	max-width: 600px;
	margin-bottom: 2rem;
}

.wls-hero__ctas {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	align-items: center;
	/* min-width:0 lets buttons shrink rather than overflow when the */
	/* viewport is mid-narrow (Row 4 — button cut-off fix). */
	min-width: 0;
}

.wls-hero__ctas .wls-btn,
.wls-hero__ctas .wp-block-button {
	flex: 0 1 auto;
	min-width: 0;
}

@media (max-width: 540px) {
	.wls-hero__ctas { width: 100%; }
	.wls-hero__ctas .wls-btn,
	.wls-hero__ctas .wp-block-button { width: 100%; }
	.wls-hero__ctas .wls-btn { display: flex; }
}

/* Interior hero */
.wls-hero--interior {
	min-height: 50vh;
}

.wls-hero--interior .wls-hero__headline {
	font-size: clamp(2rem, 4vw, 3.5rem);
}

/* ----- Pill / Rule ----- */
.wls-pill {
	display: inline-block;
	padding: 0.3rem 0.75rem;
	background: var(--wls-color-primary);
	color: var(--wls-color-ink);
	font-weight: 700;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wider);
}

/* Pill rules — the short bar under section headings. This is the ONE
   place we use red; everywhere else (CTAs, eyebrows, accents, icons)
   is caterpillar yellow. */
.wls-rule {
	width: 64px;
	height: 4px;
	background: var(--wls-color-rule);
	margin: 1rem 0;
}

.wls-rule--center {
	margin-left: auto;
	margin-right: auto;
}

.wls-rule--full {
	width: 100%;
	height: 2px;
	background: var(--wls-color-rule);
}

/* ----- Value Banner ----- */
.wls-value-banner {
	background: var(--wls-color-red);
	border-top: 4px solid var(--wls-color-ink);
	border-bottom: 4px solid var(--wls-color-ink);
}

.wls-value-banner__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	padding: 2rem 0;
}

@media (min-width: 768px) {
	.wls-value-banner__grid { grid-template-columns: repeat(4, 1fr); }
}

.wls-value-banner__item {
	text-align: center;
	padding: 1rem;
	border-right: 2px solid var(--wls-color-ink);
}

.wls-value-banner__item:last-child {
	border-right: none;
}

.wls-value-banner__icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 0.75rem;
	background: transparent;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: none;
}

.wls-value-banner__icon svg {
	width: 36px;
	height: 36px;
	stroke: #fff;
	stroke-width: 2;
	fill: none;
}

.wls-value-banner__title {
	font-weight: 900;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wider);
	color: #fff;
	margin-bottom: 0.25rem;
}

.wls-value-banner__sub {
	font-size: 0.8125rem;
	color: rgba(255,255,255,0.85);
	font-weight: 600;
}

/* ----- Sections -----
   Defaults to dark (the page background). `--alt` is a lifted dark
   surface; `--light` is the rare off-white section used when content
   needs maximum legibility (form, FAQ). */
.wls-section {
	padding: 5rem 0;
	color: #f5f5f4;
}

.wls-section--ink {
	background: var(--wls-color-ink);
	color: #f5f5f4;
}

.wls-section--alt {
	background: var(--wls-color-ink-2);
	color: #f5f5f4;
}

.wls-section--light {
	background: var(--wls-color-surface-alt);
	color: var(--wls-color-ink);
}
.wls-section--light h2,
.wls-section--light h3,
.wls-section--light h4 {
	color: var(--wls-color-ink);
}

.wls-section--accent {
	background: var(--wls-color-primary);
	color: var(--wls-color-ink);
}
.wls-section--accent h2 { color: var(--wls-color-ink); }

.wls-card-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.wls-card-grid--2 { grid-template-columns: repeat(2, 1fr); }
	.wls-card-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.wls-card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.wls-card {
	background: var(--wls-color-ink-3);
	border: 1px solid var(--wls-color-line);
	border-radius: var(--wls-radius);
	padding: 2rem;
	transition: border-color 0.2s ease, transform 0.2s ease;
	color: #f5f5f4;
}

.wls-card:hover {
	border-color: var(--wls-color-primary);
	transform: translateY(-3px);
}

/* Light-section card variant */
.wls-section--light .wls-card {
	background: #fff;
	border-color: var(--wls-color-line-light);
	color: var(--wls-color-ink);
}

/* Card icons - bare icon, no background box */
.wls-card--commercial::before,
.wls-card--residential::before,
.wls-card--equestrian::before,
.wls-card--ontime::before,
.wls-card--safety::before,
.wls-card--talk::before,
.wls-card--crews::before,
.wls-card--reliable::before,
.wls-card--quality::before {
	content: "";
	display: block;
	width: 48px;
	height: 48px;
	background-color: transparent;
	background-size: 48px 48px;
	background-position: center;
	background-repeat: no-repeat;
	border: none;
	margin-bottom: 1.5rem;
	box-shadow: none;
}

/* Building icon for commercial */
.wls-card--commercial::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z'/><path d='M6 12H4a2 2 0 0 0-2 2v8h4'/><path d='M18 9h2a2 2 0 0 1 2 2v11h-4'/><path d='M10 6h4'/><path d='M10 10h4'/><path d='M10 14h4'/><path d='M10 18h4'/></svg>");
}

/* Home icon for residential */
.wls-card--residential::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/><polyline points='9 22 9 12 15 12 15 22'/></svg>");
}

/* Horse icon for equestrian */
.wls-card--equestrian::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M16 7.5a2.5 2.5 0 0 1-5 0 2.5 2.5 0 1 1 5 0Z'/><path d='M9 20l.8-4.4C8.9 14 7.5 12 6 11c-1 2-1 5-1 5'/><path d='M15 20l-.8-4.4c1.1-1.6 2.5-3.6 4-4.6 1 2 1 5 1 5'/><path d='M12 10c-1.5 0-3 .5-4 2'/><path d='M12 10c1.5 0 3 .5 4 2'/><path d='M6 11c-1 0-2 1-2 2'/><path d='M18 11c1 0 2 1 2 2'/></svg>");
}

/* Clock icon for ontime */
.wls-card--ontime::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polyline points='12 6 12 12 16 14'/></svg>");
}

/* Shield icon for safety */
.wls-card--safety::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/><polyline points='9 12 11 14 15 10'/></svg>");
}

/* Chat icon for talk */
.wls-card--talk::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/></svg>");
}

/* Wrench icon for crews */
.wls-card--crews::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94z'/></svg>");
}

.wls-card__title {
	font-size: 1.125rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wide);
	margin-bottom: 0.75rem;
	color: #fff;
}
.wls-section--light .wls-card__title { color: var(--wls-color-ink); }

.wls-card__body {
	color: var(--wls-color-muted);
	font-weight: 500;
	line-height: 1.65;
	margin-bottom: 1.25rem;
}
.wls-section--light .wls-card__body { color: #52525b; }

.wls-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wide);
	color: var(--wls-color-primary);
}

.wls-card__link::after {
	content: "→";
	transition: transform 0.2s ease;
}

.wls-card__link:hover::after {
	transform: translateX(4px);
}

/* ----- Services Grid ----- */
.wls-services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

@media (min-width: 768px) {
	.wls-services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
	.wls-services-grid { grid-template-columns: repeat(4, 1fr); }
}

.wls-services-grid__item {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	background: var(--wls-color-ink-2);
	border: 1px solid var(--wls-color-line);
	color: #fff;
	font-weight: 700;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wide);
	text-align: center;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.wls-services-grid__item:hover {
	background: var(--wls-color-primary);
	border-color: var(--wls-color-primary);
	color: var(--wls-color-ink);
}

/* ----- Media Split ----- */
.wls-media-split {
	display: grid;
	gap: 3rem;
	grid-template-columns: 1fr;
	align-items: center;
}

@media (min-width: 768px) {
	.wls-media-split { grid-template-columns: 1fr 1fr; }
}

.wls-media-split--reverse .wls-media-split__media {
	order: -1;
}

.wls-media-split__media-wrap {
	position: relative;
	border: 1px solid var(--wls-color-line);
	overflow: hidden;
}
.wls-section--light .wls-media-split__media-wrap {
	border-color: var(--wls-color-line-light);
}

.wls-media-split__media-wrap img {
	width: 100%;
	height: auto;
	display: block;
}

.wls-media-split__badge {
	position: absolute;
	bottom: 0;
	left: 0;
	background: var(--wls-color-primary);
	padding: 1rem 1.5rem;
	color: var(--wls-color-ink);
}

.wls-media-split__badge strong {
	display: block;
	font-size: 2rem;
	font-weight: 900;
	line-height: 1;
	color: var(--wls-color-ink);
}

.wls-media-split__badge span {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wider);
	color: var(--wls-color-ink);
}

/* Check list with red ticks */
.wls-check-list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
}

.wls-check-list li {
	position: relative;
	padding-left: 2rem;
	margin-bottom: 0.75rem;
	font-weight: 500;
	color: #d4d4d8;
}
.wls-section--light .wls-check-list li { color: #3f3f46; }

.wls-check-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wls-color-primary);
	font-weight: 900;
	font-size: 1rem;
}

/* ----- Featured Strip ----- */
.wls-featured-strip {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(3, 1fr);
}

.wls-featured-strip a {
	display: block;
	border: 1px solid var(--wls-color-line);
	overflow: hidden;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.wls-featured-strip a:hover {
	border-color: var(--wls-color-primary);
	transform: translateY(-2px);
}

.wls-featured-strip img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.wls-featured-strip a:hover img {
	transform: scale(1.05);
}

/* ----- Stats Banner ----- */
.wls-stats {
	padding: 3rem 1.5rem;
	background: var(--wls-color-red);
	border-top: 4px solid var(--wls-color-ink);
	border-bottom: 4px solid var(--wls-color-ink);
}

.wls-stats--dark {
	background: var(--wls-color-ink);
	border-color: var(--wls-color-primary);
}

.wls-stats--dark .wls-stats__num {
	color: var(--wls-color-primary);
}

.wls-stats--dark .wls-stats__label {
	color: #fff;
}

.wls-stats__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	padding: 3rem 0;
	text-align: center;
}

@media (min-width: 768px) {
	.wls-stats__grid { grid-template-columns: repeat(4, 1fr); }
}

.wls-stats__icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 1rem;
	background: transparent;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: none;
}

.wls-stats__icon svg {
	width: 36px;
	height: 36px;
	stroke: #fff;
	stroke-width: 2;
	fill: none;
}

.wls-stats__num {
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 900;
	line-height: 1;
	color: #fff;
	margin-bottom: 0.5rem;
}

.wls-stats__label {
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wider);
	color: rgba(255,255,255,0.85);
}

/* ----- Project Grid / Gallery ----- */
.wls-gallery__filter {
	background: var(--wls-color-surface-alt);
	border-bottom: 2px solid var(--wls-color-line);
	padding: 1rem 0;
	position: sticky;
	top: var(--wls-nav-height);
	z-index: 50;
}

.wls-gallery__filter-bar {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	justify-content: center;
}

.wls-gallery__filter-bar button {
	padding: 0.5rem 1rem;
	background: transparent;
	border: 2px solid var(--wls-color-line);
	font-weight: 600;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wide);
	cursor: pointer;
	transition: all 0.2s ease;
}

.wls-gallery__filter-bar button:hover,
.wls-gallery__filter-bar button.is-active {
	background: var(--wls-color-primary);
	border-color: var(--wls-color-ink);
	color: var(--wls-color-ink);
}

.wls-project-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.wls-project-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.wls-project-grid { grid-template-columns: repeat(3, 1fr); }
}

.wls-project-card {
	background: var(--wls-color-ink-3);
	border: 1px solid var(--wls-color-line);
	overflow: hidden;
	transition: border-color 0.2s ease, transform 0.2s ease;
	color: #f5f5f4;
}
.wls-section--light .wls-project-card {
	background: #fff;
	border-color: var(--wls-color-line-light);
	color: var(--wls-color-ink);
}

.wls-project-card:hover {
	border-color: var(--wls-color-primary);
	transform: translateY(-2px);
}

.wls-project-card__media {
	position: relative;
}

.wls-project-card__media img {
	width: 100%;
	height: 240px;
	object-fit: cover;
}

.wls-project-card__cat {
	position: absolute;
	bottom: 1rem;
	left: 1rem;
	padding: 0.3rem 0.75rem;
	background: var(--wls-color-primary);
	color: var(--wls-color-ink);
	font-weight: 700;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wider);
}

.wls-project-card__body {
	padding: 1.5rem;
}

.wls-project-card__loc {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wider);
	color: var(--wls-color-primary);
	margin-bottom: 0.5rem;
}

.wls-project-card__title {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}

.wls-project-card__desc {
	color: var(--wls-color-muted);
	font-size: 0.9375rem;
	margin: 0;
}

/* ----- Contact Form ----- */
.wls-contact-grid {
	display: grid;
	gap: 3rem;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.wls-contact-grid { grid-template-columns: 2fr 1fr; }
}

.wls-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.wls-form__row {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.wls-form__row--2 { grid-template-columns: 1fr 1fr; }
}

.wls-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.wls-form__field label {
	font-weight: 700;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wider);
	color: #fafaf9;
}
.wls-section--light .wls-form__field label { color: var(--wls-color-ink); }

.wls-form__field input,
.wls-form__field textarea,
.wls-form__field select {
	padding: 0.875rem 1rem;
	border: 1px solid var(--wls-color-line);
	background: var(--wls-color-ink-2);
	color: #fafaf9;
	font-family: inherit;
	font-size: 1rem;
	transition: border-color 0.2s ease, background 0.2s ease;
}
.wls-section--light .wls-form__field input,
.wls-section--light .wls-form__field textarea,
.wls-section--light .wls-form__field select {
	background: #fff;
	color: var(--wls-color-ink);
	border-color: var(--wls-color-line-light);
}

.wls-form__field input::placeholder,
.wls-form__field textarea::placeholder { color: #71717a; }

.wls-form__field input:focus,
.wls-form__field textarea:focus,
.wls-form__field select:focus {
	outline: none;
	border-color: var(--wls-color-primary);
}

.wls-form__field textarea {
	min-height: 150px;
	resize: vertical;
}

/* ----- Fluent Forms integration -----
   Maps Fluent Forms' markup (.fluentform / .ff-el-*) onto the WLS design
   system so any Fluent Form dropped inside a .wls-section matches the site.
   Base = dark-section treatment; .wls-section--light flips fields to white.
   !important is used to beat Fluent Forms' bundled public stylesheet. */
.wls-section .fluentform .ff-el-group { margin-bottom: 1.25rem; }

.wls-section .fluentform .ff-el-input--label label {
	font-weight: 700;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wider);
	color: #fafaf9;
	margin-bottom: 0.5rem;
}
.wls-section--light .fluentform .ff-el-input--label label { color: var(--wls-color-ink); }

.wls-section .fluentform input.ff-el-form-control,
.wls-section .fluentform select.ff-el-form-control,
.wls-section .fluentform textarea.ff-el-form-control {
	width: 100%;
	padding: 0.875rem 1rem !important;
	height: auto !important;
	border: 1px solid var(--wls-color-line) !important;
	border-radius: 0 !important;
	background: var(--wls-color-ink-2) !important;
	color: #fafaf9 !important;
	font-family: inherit;
	font-size: 1rem;
	box-shadow: none !important;
	transition: border-color 0.2s ease, background 0.2s ease;
}
.wls-section--light .fluentform input.ff-el-form-control,
.wls-section--light .fluentform select.ff-el-form-control,
.wls-section--light .fluentform textarea.ff-el-form-control {
	background: #fff !important;
	color: var(--wls-color-ink) !important;
	border-color: var(--wls-color-line-light) !important;
}

.wls-section .fluentform .ff-el-form-control::placeholder { color: #71717a; }

.wls-section .fluentform input.ff-el-form-control:focus,
.wls-section .fluentform select.ff-el-form-control:focus,
.wls-section .fluentform textarea.ff-el-form-control:focus {
	outline: none;
	border-color: var(--wls-color-primary) !important;
	box-shadow: none !important;
}

.wls-section .fluentform textarea.ff-el-form-control { min-height: 150px; resize: vertical; }

/* Submit button — mirror .wls-btn */
.wls-section .fluentform .ff-btn-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.875rem 1.75rem !important;
	font-weight: 700;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wider);
	background: var(--wls-color-primary) !important;
	color: var(--wls-color-ink) !important;
	border: 2px solid var(--wls-color-primary) !important;
	border-radius: var(--wls-radius) !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.wls-section .fluentform .ff-btn-submit:hover {
	background: var(--wls-color-primary-dark) !important;
	border-color: var(--wls-color-primary-dark) !important;
	color: var(--wls-color-ink) !important;
}

/* ----- FAQ (native core/details accordion) ----- */
/* Styles target the native Details block (core/details) so editors can add,
   remove, and edit Q&A inline with no markup. Each FAQ item is one
   <details class="wp-block-details">; the list wrapper is a group with
   class wls-faq__list. */
.wls-faq__list {
	margin: 2.5rem auto 0;
	border-top: 1px solid var(--wls-color-line);
	max-width: 820px;
}

.wls-faq .wp-block-details {
	border-bottom: 1px solid var(--wls-color-line);
	background: var(--wls-color-ink-2);
	transition: background 0.2s ease;
}
.wls-section--light .wls-faq__list { border-top-color: var(--wls-color-line-light); }
.wls-section--light .wls-faq .wp-block-details {
	border-bottom-color: var(--wls-color-line-light);
	background: #fff;
}

.wls-faq .wp-block-details[open] { background: var(--wls-color-ink-3); }
.wls-section--light .wls-faq .wp-block-details[open] { background: var(--wls-color-surface-alt); }

.wls-faq .wp-block-details summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
	padding: 1.5rem 1.25rem;
	font-family: var(--wls-font-sans);
	font-size: 1.0625rem;
	font-weight: 800;
	color: #fafaf9;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wider);
	line-height: 1.3;
	transition: color 0.2s ease;
}
.wls-section--light .wls-faq .wp-block-details summary { color: var(--wls-color-ink); }

.wls-faq .wp-block-details summary:hover {
	border-left: 4px solid var(--wls-color-rule);
}

.wls-faq .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wls-faq .wp-block-details summary::after {
	content: "";
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	background: transparent;
	border: 1px solid var(--wls-color-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'><line x1='12' y1='5' x2='12' y2='19'/><line x1='5' y1='12' x2='19' y2='12'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
	transition: transform 0.25s ease, background-color 0.2s ease;
}

.wls-faq .wp-block-details[open] summary::after {
	background-color: var(--wls-color-primary);
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='3' stroke-linecap='round'><line x1='5' y1='12' x2='19' y2='12'/></svg>");
	transform: rotate(180deg);
}

.wls-faq .wp-block-details > :not(summary) {
	padding: 0 1.25rem 1.5rem;
	color: var(--wls-color-muted);
	font-size: 1rem;
	line-height: 1.65;
	animation: wls-faq-slide 0.25s ease;
}

.wls-faq .wp-block-details p {
	margin: 0;
	max-width: 70ch;
}

@keyframes wls-faq-slide {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ----- CTA Strip ----- */
.wls-cta {
	text-align: center;
}

.wls-cta__body {
	max-width: 600px;
	margin: 0 auto;
}

.wls-cta__buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 2rem;
}

/* ----- Safety Module (New) ----- */
.wls-safety {
	background: var(--wls-color-ink);
	color: #fff;
}

.wls-safety__grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
	.wls-safety__grid { grid-template-columns: repeat(4, 1fr); }
}

.wls-safety__item {
	text-align: center;
	padding: 2rem;
	background: var(--wls-color-ink-2);
	border: 2px solid var(--wls-color-primary);
}

.wls-safety__icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 1rem;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 40px 40px;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: none;
}

/* Inline-SVG fallback (used inside the editor). On the front end the icons
   are painted via the background-image modifiers below, because content-block
   KSES strips inline <svg> on save. */
.wls-safety__icon svg {
	width: 40px;
	height: 40px;
	stroke: var(--wls-color-primary);
	stroke-width: 2;
	fill: none;
}

.wls-safety__icon--incidents {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFCB11' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/><polyline points='9 12 11 14 15 10'/></svg>");
}

.wls-safety__icon--osha {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFCB11' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M12 6v6l4 2'/></svg>");
}

.wls-safety__icon--years {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFCB11' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/><polyline points='9 15 11 17 15 13'/></svg>");
}

.wls-safety__icon--emr {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFCB11' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/></svg>");
}

.wls-safety__num {
	font-size: 2.5rem;
	font-weight: 900;
	color: var(--wls-color-primary);
	margin-bottom: 0.5rem;
}

.wls-safety__label {
	font-weight: 700;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wider);
}

/* Safety item icons via ::before, so the grid can be authored with native
   core/columns blocks (which preview in the editor) instead of a core/html
   block. Add a modifier class to each column: wls-safety__item--{name}. */
.wls-safety__item::before {
	content: "";
	display: block;
	width: 48px;
	height: 48px;
	margin: 0 auto 1rem;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 40px 40px;
}
.wls-safety__item--incidents::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFCB11' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/><polyline points='9 12 11 14 15 10'/></svg>");
}
.wls-safety__item--osha::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFCB11' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M12 6v6l4 2'/></svg>");
}
.wls-safety__item--years::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFCB11' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/><polyline points='9 15 11 17 15 13'/></svg>");
}
.wls-safety__item--emr::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFCB11' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/></svg>");
}

/* ----- Photo Card -----
   Single card; grid replaced by `.wls-photo-carousel` (see below). */

.wls-photo-card {
	position: relative;
	overflow: hidden;
	border-radius: var(--wls-radius);
	aspect-ratio: 3 / 4;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	cursor: pointer;
}

.wls-photo-card__img {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.wls-photo-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.wls-photo-card:hover .wls-photo-card__img img {
	transform: scale(1.08);
}

.wls-photo-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10,10,10,0.25) 0%, rgba(10,10,10,0.85) 100%);
	z-index: 1;
	transition: background 0.4s ease;
}

.wls-photo-card:hover .wls-photo-card__overlay {
	background: linear-gradient(180deg, rgba(10,10,10,0.10) 0%, rgba(255,203,17,0.75) 100%);
}

.wls-photo-card__content {
	position: relative;
	z-index: 2;
	padding: 1.5rem;
	align-self: end;
	width: 100%;
	text-align: left;
}

.wls-photo-card__title {
	color: #fff;
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wider);
	line-height: 1.15;
	margin: 0;
}

.wls-photo-card__rule {
	width: 40px;
	height: 3px;
	background: var(--wls-color-primary);
	margin: 0.75rem 0 0;
	opacity: 1;
	transform-origin: left;
	transition: width 0.3s ease;
}

.wls-photo-card:hover .wls-photo-card__rule { width: 64px; }

.wls-photo-card__desc {
	color: #d4d4d8;
	font-size: 0.8125rem;
	line-height: 1.55;
	margin: 0.75rem 0 0;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.35s ease, opacity 0.35s ease 0.1s, color 0.35s ease;
}

.wls-photo-card:hover .wls-photo-card__desc {
	max-height: 100px;
	opacity: 1;
}

/* On hover the overlay turns yellow; switch the title + description to
   the dark ink color so they're readable against the yellow tint. */
.wls-photo-card__title { transition: color 0.35s ease; }
.wls-photo-card__rule { transition: width 0.3s ease, background 0.35s ease; }
.wls-photo-card:hover .wls-photo-card__title { color: var(--wls-color-ink); }
.wls-photo-card:hover .wls-photo-card__desc  { color: #18181b; }
.wls-photo-card:hover .wls-photo-card__rule  { background: var(--wls-color-ink); }

/* ----- Footer ----- */
.wls-footer {
	background: var(--wls-color-ink);
	color: #a1a1aa;
	padding: 4rem 0 0;
}

.wls-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 3rem;
}

@media (max-width: 767px) {
	.wls-footer__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

.wls-footer__brand {
	padding-right: 2rem;
}

.wls-footer__logo {
	width: 160px;
	height: auto;
	margin-bottom: 1rem;
}

.wls-footer__brand p {
	font-size: 0.875rem;
	line-height: 1.6;
	color: #a1a1aa;
	margin: 0;
}

.wls-footer__col h4 {
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wider);
	margin: 0 0 1rem;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: var(--wls-color-primary);
}

.wls-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wls-footer__col li {
	margin-bottom: 0.4rem;
}

.wls-footer__col a {
	color: #a1a1aa;
	font-size: 0.8125rem;
	transition: color 0.2s ease;
}

.wls-footer__col a:hover {
	color: #fff;
}

.wls-footer__contact {
	margin-top: 1.5rem;
}

.wls-footer__contact p {
	font-size: 0.8125rem;
	margin: 0 0 0.4rem;
	color: #a1a1aa;
}

.wls-footer__bottom {
	margin-top: 3rem;
	border-top: 1px solid #27272a;
	padding: 1.25rem 0;
}

.wls-footer__bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.wls-footer__bottom p {
	margin: 0;
	font-size: 0.75rem;
	color: #52525b;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wide);
}

/* ----- Utility Classes ----- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-yellow { color: var(--wls-color-primary); }
.bg-yellow { background-color: var(--wls-color-primary); }
.border-yellow { border-color: var(--wls-color-primary); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ----- Animation for stats ----- */
@keyframes countUp {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.wls-stats__num.is-animated {
	animation: countUp 0.6s ease forwards;
}

/* =============================================================
   NEW COMPONENTS (post v2 feedback round)
   ============================================================= */

/* ----- Business Statement (Row 10) -----
   Two-column band: oversized statement headline on the left,
   supporting paragraph on the right. Inspired by garrettex.com's
   "We treat your project like our own" block. */
.wls-statement {
	background: var(--wls-color-ink-2);
	padding: clamp(3rem, 6vw, 6rem) 0;
	border-top: 1px solid var(--wls-color-line);
	border-bottom: 1px solid var(--wls-color-line);
}
.wls-statement__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: center;
}
@media (min-width: 900px) {
	.wls-statement__grid { grid-template-columns: 1.4fr 1fr; gap: 4rem; }
}
.wls-statement__heading {
	font-size: clamp(1.875rem, 4vw, 3rem);
	line-height: 1.05;
	margin: 0;
	color: #fff;
	letter-spacing: -0.01em;
}
.wls-statement__heading .wls-accent { color: var(--wls-color-primary); }
.wls-statement__body {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--wls-color-muted);
	max-width: 38ch;
	margin: 0;
}

/* Light-section variant of statement */
.wls-statement--light {
	background: var(--wls-color-surface-alt);
	border-color: var(--wls-color-line-light);
}
.wls-statement--light .wls-statement__heading { color: var(--wls-color-ink); }
.wls-statement--light .wls-statement__body { color: #52525b; }

/* ----- Photo Carousel (replaces wls-photo-grid) -----
   Wraps a row of `.wls-photo-card` in a Splide carousel with
   infinite loop. The card itself is unchanged; this just supplies
   the track styles, arrow buttons, and pagination dots theming.
   Splide markup convention:
     <div class="splide wls-photo-carousel" data-wls-carousel>
       <div class="splide__track">
         <ul class="splide__list">
           <li class="splide__slide"><div class="wls-photo-card">...</div></li>
         </ul>
       </div>
     </div>
*/
.wls-photo-carousel {
	position: relative;
	padding: 0 3rem;
	width: 100%;
	overflow: hidden;
}
@media (max-width: 600px) {
	.wls-photo-carousel { padding: 0 1.5rem; }
}
.wls-photo-carousel .splide__slide {
	height: auto;
}
.wls-photo-carousel .splide__slide .wls-photo-card {
	height: 100%;
	min-height: 0;
}
/* Arrows: dark squares with gold border that sit outside the track */
.wls-photo-carousel .splide__arrow {
	width: 44px;
	height: 44px;
	background: rgba(10,10,10,0.6);
	border: 1px solid var(--wls-color-primary);
	border-radius: var(--wls-radius);
	opacity: 1;
	transition: background 0.18s ease, border-color 0.18s ease;
}
.wls-photo-carousel .splide__arrow svg {
	fill: #fafaf9;
	width: 18px;
	height: 18px;
}
.wls-photo-carousel .splide__arrow:hover:not(:disabled) {
	background: var(--wls-color-primary);
	border-color: var(--wls-color-primary);
}
.wls-photo-carousel .splide__arrow:hover:not(:disabled) svg { fill: var(--wls-color-ink); }
.wls-photo-carousel .splide__arrow--prev { left: 0; }
.wls-photo-carousel .splide__arrow--next { right: 0; }
/* Pagination dots */
.wls-photo-carousel .splide__pagination {
	bottom: -2.5rem;
	gap: 0.5rem;
}
.wls-photo-carousel .splide__pagination__page {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--wls-color-line-2);
	opacity: 1;
	transition: background 0.18s ease;
}
.wls-photo-carousel .splide__pagination__page.is-active {
	background: var(--wls-color-primary);
	transform: none;
}

/* ----- Service Carousels Stack (Row 12) -----
   Homepage-only widget. Container with a top heading + N
   subsections, each subsection has a label + photo-carousel. */
.wls-service-carousels {
	padding: 5rem 0;
}

/* Side-by-side layout for Commercial + Residential on desktop */
.wls-service-carousels__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}
/* Side-by-side only on full desktop. Below 1201px the panes are too
   narrow to hold a 2-up card carousel without cramming, so we drop
   straight to a single stacked (full-width) column — there is no
   workable tablet two-up layout. */
@media (min-width: 1201px) {
	.wls-service-carousels__grid {
		grid-template-columns: 1fr 1fr;
		gap: 0.5rem;
	}
}

/* Cards inside the side-by-side carousels: taller portrait tiles with
   clear photos and a gradient that darkens only toward the bottom. */
.wls-service-carousels .wls-photo-card {
	aspect-ratio: 2 / 3;
}
.wls-service-carousels .wls-photo-card__overlay {
	background: linear-gradient(180deg, rgba(10,10,10,0) 45%, rgba(10,10,10,0.85) 100%);
}
.wls-service-carousels .wls-photo-card:hover .wls-photo-card__overlay {
	background: linear-gradient(180deg, rgba(10,10,10,0) 15%, rgba(255,203,17,0.95) 100%);
}
.wls-service-carousels .wls-photo-card__content {
	padding: 1.5rem;
}
.wls-service-carousels .wls-photo-card__title {
	font-size: 1.125rem;
	font-weight: 800;
	line-height: 1.15;
}
.wls-service-carousels .wls-photo-card__rule {
	width: 36px;
	height: 3px;
	margin-top: 0.625rem;
}
.wls-service-carousels .wls-photo-card:hover .wls-photo-card__rule {
	width: 52px;
}
.wls-service-carousels .wls-photo-card__desc {
	margin-top: 0.625rem;
	font-size: 0.8125rem;
	line-height: 1.4;
}

/* Each audience block (Commercial, Residential, ...) is a single
   pane: the service image is a full-bleed background with a gradient
   that darkens toward the bottom, with the intro heading and the
   photo-card carousel layered on top. */
.wls-service-block {
	position: relative;
	margin-bottom: 0;
	width: 100%;
	min-width: 0;
	overflow: hidden;
	border-radius: var(--wls-radius);
}
.wls-service-block__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.wls-service-block::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(10,10,10,0.30) 0%, rgba(10,10,10,0.45) 38%, rgba(10,10,10,0.92) 100%);
}
.wls-service-block__body {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	padding: 2.5rem 1.5rem;
}
.wls-service-block__intro {
	text-align: center;
	margin-bottom: 2rem;
	padding-top: 2rem;
}
.wls-service-block__desc {
	color: #e5e5e5;
	font-size: 0.9375rem;
	max-width: 40ch;
	margin: 0.75rem auto 0;
}

.wls-service-block__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--wls-color-line);
	flex-wrap: wrap;
}
.wls-service-block__label {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--wls-color-primary);
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-widest);
	margin: 0;
}
.wls-service-block__title {
	font-size: clamp(1.5rem, 2.5vw, 2.25rem);
	margin: 0.25rem 0 0;
	color: #fff;
}
.wls-service-block__cta {
	font-weight: 700;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: var(--wls-tracking-wider);
	color: var(--wls-color-primary);
	white-space: nowrap;
}
.wls-service-block__cta::after {
	content: " \2192";
	transition: margin-left 0.18s ease;
	display: inline-block;
}
.wls-service-block__cta:hover::after { margin-left: 4px; }

/* ----- Home Quote (Row 6) -----
   Form lives on the home page so the hero CTA can anchor-scroll
   directly to it. Two-col: form on the left, contact info on the
   right. Light section so form fields get the white treatment. */
.wls-home-quote {
	scroll-margin-top: calc(var(--wls-nav-height) + 1rem);
}
.wls-home-quote__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: start;
}
@media (min-width: 900px) {
	.wls-home-quote__grid { grid-template-columns: 1.6fr 1fr; gap: 4rem; }
}
.wls-home-quote__intro {
	margin-bottom: 2rem;
}
.wls-home-quote__lead {
	max-width: 56ch;
	margin: 1rem auto 2.5rem;
}
.wls-home-quote__aside {
	background: var(--wls-color-ink-3);
	color: #f5f5f4;
	padding: 2rem;
	border: 1px solid var(--wls-color-line);
}
.wls-section--light .wls-home-quote__aside {
	background: #fff;
	color: var(--wls-color-ink);
	border-color: var(--wls-color-line-light);
}
.wls-home-quote__aside h3 {
	margin: 0 0 1rem;
	color: inherit;
}
.wls-home-quote__aside p { color: inherit; opacity: 0.8; }

/* ----- Accent helper ----- */
.wls-accent { color: var(--wls-color-primary); }

/* ----- Responsive ----- */
@media (max-width: 767px) {
	.wls-hero__ctas { flex-direction: column; }
	.wls-hero__ctas .wp-block-button { width: 100%; }

	/* Mobile nav: revert to row (logo left, burger right) */
	.wls-mega-nav__inner {
		flex-direction: row;
		justify-content: space-between;
		padding-top: 0;
		height: 64px;
	}
	.wls-logo img { height: 48px; }

	/* Show the hamburger */
	.wls-nav-burger {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 36px;
		height: 36px;
		padding: 6px;
		cursor: pointer;
		background: transparent;
		border: 0;
		z-index: 101;
	}
	.wls-nav-burger span {
		display: block;
		height: 3px;
		width: 100%;
		background: var(--wls-color-primary);
		transition: transform 0.25s ease, opacity 0.2s ease;
		transform-origin: center;
	}

	/* Mobile menu panel — reuses the existing .wls-nav-menu list. */
	.wls-nav-menu {
		display: flex;
		flex-direction: column;
		gap: 0;
		position: fixed;
		top: 64px;
		left: 0;
		right: 0;
		bottom: 0;
		background: var(--wls-color-ink);
		padding: 1.25rem 1.5rem 2rem;
		transform: translateX(100%);
		transition: transform 0.3s ease;
		overflow-y: auto;
		z-index: 99;
	}
	.wls-nav-menu li {
		padding: 0.75rem 0;
		border-bottom: 1px solid var(--wls-color-line);
	}
	.wls-nav-menu > li > a {
		font-size: 1rem;
		display: block;
	}

	/* Slide the panel in when the (sibling) checkbox is checked. */
	.wls-nav-toggle:checked ~ .wls-nav-menu {
		transform: translateX(0);
	}

	/* Burger → X animation. */
	.wls-nav-toggle:checked ~ .wls-nav-burger span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}
	.wls-nav-toggle:checked ~ .wls-nav-burger span:nth-child(2) {
		opacity: 0;
	}
	.wls-nav-toggle:checked ~ .wls-nav-burger span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	/* Top-level nav menu reverts to a column on mobile, so we don't want
	   the desktop stretch behavior. */
	.wls-nav-menu > li {
		display: block;
	}

	/* Mega dropdown — always inline inside the mobile menu so users can
	   tap any service directly. Don't rely on hover/focus on touch. */
	.wls-mega-dropdown__panel {
		display: grid !important;
		position: static;
		transform: none;
		width: 100%;
		grid-template-columns: 1fr !important;
		border-top: none;
		box-shadow: none;
		background: transparent;
		padding: 0.75rem 0 0.25rem !important;
		gap: 0 !important;
	}
	/* Override the desktop hover/focus rule that forces 2 columns +
	   2rem gap, which was causing the empty-space reflow when a link
	   was hovered/tapped. */
	.wls-mega-dropdown:hover .wls-mega-dropdown__panel,
	.wls-mega-dropdown:focus-within .wls-mega-dropdown__panel {
		grid-template-columns: 1fr !important;
		gap: 0 !important;
	}

	/* Accordion behavior: each column collapses by default; the
	   <input class="wls-mega-toggle"> sibling drives state. */
	.wls-mega-column {
		border-bottom: 1px solid var(--wls-color-line);
	}
	.wls-mega-column > .wls-mega-summary {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0.85rem 0;
		margin: 0;
		cursor: pointer;
		user-select: none;
	}
	.wls-mega-column > .wls-mega-summary::after {
		content: "+";
		color: var(--wls-color-primary);
		font-size: 1.4rem;
		line-height: 1;
		font-weight: 400;
	}
	.wls-mega-toggle:checked ~ .wls-mega-summary::after { content: "−"; }

	.wls-mega-column > ul {
		display: none;
		padding: 0 0 0.75rem 0.25rem;
	}
	.wls-mega-toggle:checked ~ ul { display: block; }

	.wls-footer__bottom-inner {
		justify-content: center;
		text-align: center;
	}
}
