/* Exceptions only (docs/engineering.md 11.5). An empty file is not loaded. */

/* Footer to the owner's reference layout: brand, services, company and contact in four
   columns, gold icons on the contact lines. The outlined brand wordmark stays above the
   copyright bar. */
@media (min-width: 1025px) {
	.lsb-footer__top {
		grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
	}
}
.lsb-footer--rich .lsb-footer__phone,
.lsb-footer--rich .lsb-footer__address {
	position: relative;
	padding-left: 30px;
}
.lsb-footer--rich .lsb-footer__phone::before,
.lsb-footer--rich .lsb-footer__address::before {
	content: "";
	position: absolute;
	top: 0.3em;
	left: 0;
	width: 18px;
	height: 18px;
	background: var(--lsb-accent);
	mask: var(--lsb-obsidian-icon) center / contain no-repeat;
}
.lsb-footer--rich .lsb-footer__phone {
	font-size: 1.35rem;
}
.lsb-footer--rich .lsb-footer__phone::before {
	top: 0.2em;
	--lsb-obsidian-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E");
}
.lsb-footer--rich .lsb-footer__address::before {
	--lsb-obsidian-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
}

/* Wide wordmark logo (about 6:1): size by height so the menu button keeps its room. */
.lsb-header__brand .custom-logo {
	max-height: 44px;
}
@media (max-width: 1024px) {
	.lsb-header__brand .custom-logo {
		max-width: min(200px, 52vw);
		max-height: 34px;
	}
}
.lsb-footer--rich .custom-logo {
	width: 260px;
}

/* Three columns until the service pages are published and the Services column appears. */
@media (min-width: 1025px) {
	.lsb-footer__top:not(:has(> :nth-child(4))) {
		grid-template-columns: 1.4fr 1fr 1.3fr;
	}
}

/* Headings: one family (Barlow Condensed), all uppercase. The two heading lines share one
   size; the first line keeps the brand gold. */
.lsb-heading__kick,
.lsb-heading__sub {
	font-family: var(--lsb-font-heading);
	font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.02;
	text-transform: uppercase;
}
.lsb-heading__title {
	gap: 0.04em;
}
.lsb-cta .lsb-heading__sub,
.lsb-cta .lsb-heading__title .lsb-heading__kick:only-child {
	font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem);
}
:is(.lsb-feature__title, .lsb-goal__title, .lsb-trust__title, .lsb-steps__title, .lsb-tile__title, .lsb-area__title, .lsb-insight__title, .lsb-faq__q, .lsb-leadform__title) {
	font-family: var(--lsb-font-heading);
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

/* Gold CTA strip: white heading, white outline button. */
.lsb-cta--strip .lsb-heading__kick,
.lsb-cta--strip .lsb-heading__sub {
	color: #fff;
}
.lsb-cta--strip .lsb-btn--outline {
	border-color: #fff;
	color: #fff;
}
.lsb-cta--strip .lsb-btn--outline:hover {
	background: #fff;
	color: var(--lsb-primary);
}

/* Service area towns: a map pin instead of the tick. */
.lsb-areas-pins li::before {
	top: 0.12em;
	width: 1.15em;
	height: 1.15em;
	border-radius: 0;
	background: var(--lsb-primary);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lsb-areas-pins li::after {
	content: none;
}

/* Trustindex reviews: hold space while the widget loads (no layout shift). */
.lsb-obsidian-reviews {
	min-height: 320px;
}

/* Temporary quote form (shortcode lsb_obsidian_temp_form) until the CRM form is connected. */
.lsb-obsidian-form {
	display: grid;
	gap: 14px;
}
.lsb-obsidian-form__row {
	display: grid;
	gap: 14px;
}
@media (min-width: 560px) {
	.lsb-obsidian-form__row {
		grid-template-columns: 1fr 1fr;
	}
}
.lsb-obsidian-form label {
	display: grid;
	gap: 6px;
	color: var(--lsb-text);
	font-size: 0.875rem;
	font-weight: 600;
}
.lsb-obsidian-form :is(input, select, textarea) {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--lsb-border);
	border-radius: 0;
	background: var(--lsb-base);
	color: var(--lsb-text);
	font: inherit;
	font-weight: 400;
}
.lsb-obsidian-form :is(input, select, textarea):focus {
	border-color: var(--lsb-primary);
	outline: 2px solid color-mix(in srgb, var(--lsb-primary) 30%, transparent);
}
.lsb-obsidian-form .lsb-btn {
	justify-self: start;
	border: 0;
	cursor: pointer;
}
.lsb-obsidian-form__hp {
	position: absolute;
	left: -9999px;
}
.lsb-obsidian-form__done {
	margin: 0;
	color: var(--lsb-success);
	font-weight: 600;
}
.lsb-prefooter .lsb-leadform__card .lsb-leadform__title {
	color: var(--lsb-text);
}

/* Hero title on phones: larger than the compact default (about 44px at 375px wide). */
@media (max-width: 640px) {
	.lsb-hero--compact .lsb-hero__title-kick,
	.lsb-hero--compact .lsb-hero__title-accent {
		font-size: clamp(2.5rem, 1rem + 7.5vw, 3rem);
		line-height: 0.98;
	}
}

/* Dark photo band: a heading without a gold first line stays white. */
.lsb-cta--band .lsb-heading__sub {
	color: #fff;
}

/* A heading with only the gold line keeps the gold on light sections (white stays for dark ones). */
:is(.lsb-tone-base, .lsb-tone-alt) .lsb-heading__title .lsb-heading__kick:only-child {
	color: var(--lsb-primary);
}

/* Process timeline on desktop: up to four steps in one row; five or more in rows of three, with a
   short last row stretched to the full width. Six-card goal grids show two rows of three. */
@media (min-width: 1025px) {
	.lsb-steps--timeline:has(> :nth-child(5)) {
		grid-template-columns: repeat(6, 1fr);
		row-gap: 36px;
	}
	.lsb-steps--timeline:has(> :nth-child(5)) > * {
		grid-column: span 2;
	}
	.lsb-steps--timeline:has(> :nth-child(5)) > :nth-child(3n+1):nth-last-child(2),
	.lsb-steps--timeline:has(> :nth-child(5)) > :nth-child(3n+1):nth-last-child(2) + * {
		grid-column: span 3;
	}
	.lsb-steps--timeline:has(> :nth-child(5)) > :nth-child(3n+1):last-child {
		grid-column: span 6;
	}
	.lsb-cards--goal:has(> :nth-child(6):last-child) {
		grid-template-columns: repeat(3, 1fr);
	}
}
