/* ==========================================================================
   KBT Land & Tree Service
   Every page section is core blocks. A section's outer Group carries a
   kbt-<section> class for its layout; cards, pills, lists and buttons are
   block styles (inc/block-styles.php), drawn here as .is-style-kbt-*.
   ========================================================================== */

:root {
	--kbt-forest: var(--wp--preset--color--primary);
	--kbt-night: var(--wp--preset--color--secondary);
	--kbt-gold: var(--wp--preset--color--gold);
	--kbt-gold-deep: var(--wp--preset--color--gold-deep);
	--kbt-brown: var(--wp--preset--color--brown);
	--kbt-ink: var(--wp--preset--color--contrast);
	--kbt-body: var(--wp--preset--color--body);
	--kbt-muted: var(--wp--preset--color--muted);
	--kbt-white: var(--wp--preset--color--base);
	--kbt-line: var(--wp--preset--color--border);
	--kbt-ease: var(--wp--custom--motion--ease);
}

/* Icons -------------------------------------------------------------------- */

/*
 * An inline icon is a mask over currentColor, so one SVG serves every color
 * and the icon follows the text it sits beside.
 */
.kbt-topbar__license::before,
.kbt-topbar__phone a::before,
.kbt-footer__line p::before,
.is-style-kbt-pill::before,
.is-style-kbt-pill-gold::before,
.is-style-kbt-pill-light::before,
.is-style-kbt-pill-outline::before,
.is-style-kbt-checks li::before,
.is-style-kbt-check-list li::before,
.is-style-kbt-services li::before,
.kbt-step__foot::before,
.kbt-note::before,
.wp-block-button a[href^="tel:"]::after {
	content: "";
	display: inline-block;
	flex: none;
	width: 1em;
	height: 1em;
	background-color: currentColor;
	-webkit-mask: var(--kbt-icon) center / contain no-repeat;
	mask: var(--kbt-icon) center / contain no-repeat;
}

/* Frame -------------------------------------------------------------------- */

.kbt-container {
	width: 100%;
	max-width: calc(var(--wp--style--global--wide-size) + 2 * var(--wp--preset--spacing--20));
	margin-inline: auto;
	padding-inline: var(--wp--preset--spacing--20);
}

.entry__content > .alignfull {
	margin-block: 0;
}

/* :where() keeps these at one class, so a section's own padding rule wins. */
:where(.entry__content, .is-root-container) > section.alignfull {
	padding-block: var(--wp--preset--spacing--60);
}

.entry__content h2 {
	text-wrap: balance;
}

/* Default page template (the legal pages): the crumbs and title line up with
   the text column, headings sit at the About page's size, and the text ends
   with room before the footer. */
.entry:not(.entry--full-width) > .entry__breadcrumbs .fwf-container,
.entry:not(.entry--full-width) > .entry__header.fwf-container {
	max-width: calc(var(--wp--style--global--content-size) + 2 * var(--wp--preset--spacing--20));
}

.entry:not(.entry--full-width) > .entry__content {
	padding-block-end: var(--wp--preset--spacing--60);
}

.entry:not(.entry--full-width) > .entry__content h2 {
	margin-block-start: var(--wp--preset--spacing--40);
	font-size: var(--wp--preset--font-size--section);
	line-height: 1.2;
}

.entry:not(.entry--full-width) > .entry__content h3 {
	font-size: var(--wp--preset--font-size--lead);
}

/* Header ------------------------------------------------------------------- */

.site-header {
	background: var(--wp--preset--color--cream);
	border-block-end: 0;
}

.kbt-topbar {
	background: var(--kbt-forest);
	color: color-mix(in srgb, var(--kbt-white) 82%, transparent);
	font-size: var(--wp--preset--font-size--x-small);
}

.kbt-topbar .kbt-topbar__inner {
	align-items: center;
	min-height: var(--wp--custom--size--bar);
	gap: var(--wp--custom--space--tight) var(--wp--preset--spacing--30);
}

.kbt-topbar .kbt-topbar__group {
	gap: var(--wp--custom--space--base);
	align-items: center;
}

.kbt-topbar p {
	margin: 0;
}

.kbt-topbar__license {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--custom--space--tight);
}

.kbt-topbar__license::before {
	width: var(--wp--custom--space--tight);
	height: var(--wp--custom--space--tight);
	border-radius: 50%;
	background: var(--wp--preset--color--mint-deep);
	-webkit-mask: none;
	mask: none;
}

.kbt-topbar__heritage {
	padding-inline-start: var(--wp--custom--space--base);
	border-inline-start: 1px solid color-mix(in srgb, var(--kbt-white) 35%, transparent);
}

.kbt-topbar__label {
	color: var(--kbt-gold-deep);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.kbt-topbar__phone a {
	--kbt-icon: url(../icons/white/phone.svg);
	display: inline-flex;
	align-items: center;
	gap: var(--wp--custom--space--tight);
	color: var(--kbt-white);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 800;
	text-decoration: none;
}

.kbt-header .kbt-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: var(--wp--preset--spacing--30);
	min-height: var(--wp--custom--header-height);
}

.kbt-header .kbt-header__logo {
	grid-column: 2;
	justify-self: center;
}

.kbt-header .kbt-header__logo img {
	width: var(--wp--custom--size--logo);
	height: auto;
}

.kbt-header nav.kbt-nav--left {
	grid-column: 1;
	grid-row: 1;
	justify-self: stretch;
}

.kbt-header nav.kbt-nav--right {
	grid-column: 3;
	grid-row: 1;
	justify-self: start;
}

.kbt-header .kbt-nav--left .wp-block-navigation__container {
	justify-content: space-between;
	width: 100%;
}

/* The desktop menus either side of the logo. The phone menu (.kbt-nav--mobile)
   opens the navigation-overlay part, styled under Mobile menu below. */
.kbt-header .kbt-nav:not(.kbt-nav--mobile) .wp-block-navigation__container {
	gap: var(--wp--preset--spacing--30);
}

.kbt-header .kbt-nav:not(.kbt-nav--mobile) .wp-block-navigation-item__content {
	color: var(--kbt-ink);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.kbt-header .kbt-nav:not(.kbt-nav--mobile) .wp-block-navigation-item__content:hover,
.kbt-header .kbt-nav:not(.kbt-nav--mobile) .current-menu-item > .wp-block-navigation-item__content {
	color: var(--kbt-brown);
}

.kbt-header .kbt-nav:not(.kbt-nav--mobile) .wp-block-navigation__submenu-container {
	padding: var(--wp--custom--space--tight);
	border: 1px solid var(--kbt-line);
	border-radius: var(--wp--custom--radius--md);
	box-shadow: var(--wp--preset--shadow--md);
}

.kbt-header .kbt-nav:not(.kbt-nav--mobile) .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: var(--wp--custom--space--tight) var(--wp--custom--space--snug);
	font-size: var(--wp--preset--font-size--medium);
}

/* Dropdowns open a little below their link, and always to the right of it:
   core flips them leftward in a right-justified menu, five classes deep. The
   bridge keeps the hover across the gap. */
.kbt-header nav.kbt-nav.wp-block-navigation:not(.kbt-nav--mobile) .has-child > .wp-block-navigation__submenu-container {
	top: calc(100% + var(--wp--custom--space--snug));
	left: 0;
	right: auto;
}

.kbt-header nav.kbt-nav.wp-block-navigation:not(.kbt-nav--mobile) .has-child > .wp-block-navigation__submenu-container::before {
	content: "";
	position: absolute;
	inset: calc(-1 * var(--wp--custom--space--snug) - 1px) 0 auto;
	height: var(--wp--custom--space--snug);
}

/* The dropdown chevron, in the link's color. */
.kbt-header .kbt-nav:not(.kbt-nav--mobile) .wp-block-navigation__submenu-icon {
	margin-inline-start: var(--wp--custom--space--hair);
	color: currentColor;
}

.kbt-header .kbt-header__cta {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
}

.kbt-header .kbt-header__cta .wp-block-button__link {
	padding: var(--wp--custom--space--base) var(--wp--preset--spacing--30);
	font-size: var(--wp--preset--font-size--large);
	box-shadow: var(--wp--preset--shadow--md);
}

.kbt-header nav.kbt-nav--mobile {
	display: none;
}

/* Compact on scroll (assets/js/header.js). The topbar folds away and the bar,
   logo and CTA shrink; grid rows animate the fold without a fixed height. */
.kbt-topbar {
	display: grid;
	grid-template-rows: 1fr;
	transition: grid-template-rows 0.25s ease;
}

.kbt-topbar > .kbt-topbar__inner {
	overflow: hidden;
}

.kbt-header .kbt-header__inner,
.kbt-header .kbt-header__logo img,
.kbt-header .kbt-header__cta .wp-block-button__link {
	transition: min-height 0.25s ease, width 0.25s ease, padding 0.25s ease, font-size 0.25s ease;
}

.site-header.kbt-compact .kbt-topbar {
	grid-template-rows: 0fr;
}

.site-header.kbt-compact .kbt-topbar .kbt-topbar__inner {
	min-height: 0;
	padding-block: 0;
}

.site-header.kbt-compact .kbt-header .kbt-header__inner {
	min-height: calc(var(--wp--custom--header-height) * 0.5);
}

.site-header.kbt-compact .kbt-header .kbt-header__logo img {
	width: calc(var(--wp--custom--size--logo) * 0.55);
}

.site-header.kbt-compact .kbt-header .kbt-header__cta .wp-block-button__link {
	padding: var(--wp--custom--space--tight) var(--wp--custom--space--base);
	font-size: var(--wp--preset--font-size--medium);
}

/* Seven items with their chevrons, the logo and the button need about
   1,400px. Below that the nav, the gaps round the logo and the button tighten;
   below 1,320px the menu button takes over, or Contact runs under Free
   Estimate. */
@media (min-width: 1320px) and (max-width: 1439px) {
	.kbt-header .kbt-header__inner {
		column-gap: var(--wp--custom--space--base);
	}

	.kbt-header nav.kbt-nav--right .wp-block-navigation__container {
		gap: var(--wp--preset--spacing--20);
	}

	.kbt-header .kbt-header__cta .wp-block-button__link {
		padding-inline: var(--wp--custom--space--base);
		font-size: var(--wp--preset--font-size--medium);
	}
}

@media (max-width: 1319px) {
	.kbt-header .kbt-header__inner {
		grid-template-columns: auto 1fr auto auto;
		min-height: calc(var(--wp--custom--header-height) * 0.63);
	}

	.kbt-header nav.kbt-nav--left,
	.kbt-header nav.kbt-nav--right {
		display: none;
	}

	.kbt-header .kbt-header__logo {
		grid-column: 1;
		justify-self: start;
	}

	.kbt-header .kbt-header__logo img {
		width: calc(var(--wp--custom--size--logo) * 0.62);
	}

	.kbt-header .kbt-header__cta {
		grid-column: 3;
	}

	.kbt-header nav.kbt-nav--mobile {
		display: flex;
		grid-column: 4;
		grid-row: 1;
	}

	.kbt-header nav.kbt-nav--mobile .wp-block-navigation__responsive-container-open {
		display: flex;
	}

	.site-header.kbt-compact .kbt-header .kbt-header__inner {
		min-height: calc(var(--wp--custom--header-height) * 0.42);
	}

	.site-header.kbt-compact .kbt-header .kbt-header__logo img {
		width: calc(var(--wp--custom--size--logo) * 0.45);
	}
}

@media (max-width: 640px) {
	.kbt-topbar__heritage,
	.kbt-topbar__label {
		display: none;
	}

	.kbt-topbar .kbt-topbar__inner {
		justify-content: center;
		padding-block: var(--wp--custom--space--tight);
	}

	.kbt-header .kbt-header__cta {
		display: none;
	}
}

/* Mobile menu (parts/navigation-overlay.html) ------------------------------ */

/* An accordion: the seven sections as rows, each with a toggle that shows its
   pages (assets/js/header.js adds the toggles). Without the script every
   section's pages stay listed open, as the parent shows them. */
.kbt-header .kbt-nav--mobile .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--cream);
}

.kbt-header .fwf-nav-overlay {
	gap: 0;
	padding-block-end: var(--wp--preset--spacing--30);
	background: var(--wp--preset--color--cream);
}

.kbt-header .fwf-nav-overlay .fwf-nav-overlay__bar {
	min-height: 0;
	padding-block: var(--wp--custom--space--snug);
}

.kbt-header .fwf-nav-overlay .kbt-overlay__logo img {
	width: 7rem;
	height: auto;
}

.kbt-header .fwf-nav-overlay .fwf-nav-overlay__menu {
	margin-block: var(--wp--custom--space--tight) var(--wp--preset--spacing--30);
}

.kbt-header .fwf-nav-overlay .fwf-nav-overlay__menu .wp-block-navigation__container > .wp-block-navigation-item {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	border-block-end: 1px solid var(--kbt-line);
}

.kbt-header .fwf-nav-overlay .fwf-nav-overlay__menu .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	padding-block: var(--wp--custom--space--base);
	border: 0;
	color: var(--kbt-ink);
	font-family: var(--wp--preset--font-family--slab);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 700;
	line-height: 1.2;
}

.kbt-header .fwf-nav-overlay .fwf-nav-overlay__menu .wp-block-navigation-item__content:hover,
.kbt-header .fwf-nav-overlay .fwf-nav-overlay__menu .current-menu-item > .wp-block-navigation-item__content {
	color: var(--kbt-forest);
}

.kbt-overlay__toggle {
	display: grid;
	place-items: center;
	width: var(--wp--custom--size--control);
	height: var(--wp--custom--size--control);
	padding: 0;
	border: 1px solid var(--kbt-line);
	border-radius: 50%;
	background: var(--kbt-white);
	color: var(--kbt-forest);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.kbt-overlay__toggle::before {
	content: "";
	width: 1rem;
	height: 1rem;
	background-color: currentColor;
	-webkit-mask: url(../icons/white/chevron-right.svg) center / contain no-repeat;
	mask: url(../icons/white/chevron-right.svg) center / contain no-repeat;
	rotate: 90deg;
	transition: rotate 0.3s var(--kbt-ease);
}

.kbt-overlay__toggle[aria-expanded="true"] {
	border-color: var(--kbt-forest);
	background: var(--kbt-forest);
	color: var(--kbt-white);
}

.kbt-overlay__toggle[aria-expanded="true"]::before {
	rotate: -90deg;
}

.kbt-overlay__toggle:focus-visible {
	outline: 2px solid var(--kbt-forest);
	outline-offset: 2px;
}

.kbt-header .fwf-nav-overlay .fwf-nav-overlay__menu .wp-block-navigation__submenu-container {
	grid-column: 1 / -1;
	margin-block-end: var(--wp--custom--space--snug);
	padding: var(--wp--custom--space--tight) 0 var(--wp--custom--space--tight) var(--wp--custom--space--base);
	border-inline-start: 2px solid var(--kbt-gold);
}

/* Collapsed until its toggle opens it; the script sets data-kbt-accordion. */
.kbt-header .fwf-nav-overlay[data-kbt-accordion] .fwf-nav-overlay__menu .has-child:not(.kbt-is-open) > .wp-block-navigation__submenu-container {
	display: none;
}

.kbt-header .fwf-nav-overlay .fwf-nav-overlay__menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: var(--wp--custom--space--tight) 0;
	border: 0;
	color: var(--kbt-body);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 500;
}

.kbt-header .fwf-nav-overlay .fwf-nav-overlay__menu .wp-block-navigation__submenu-icon {
	display: none;
}

/* Call and estimate, side by side at the foot of the menu. */
.kbt-header .fwf-nav-overlay .kbt-overlay__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--wp--custom--space--snug);
	margin-block-start: auto;
}

.kbt-header .fwf-nav-overlay .kbt-overlay__actions > * {
	margin: 0;
}

.kbt-header .fwf-nav-overlay .kbt-overlay__call a,
.kbt-header .fwf-nav-overlay .fwf-nav-overlay__cta .wp-block-button__link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--wp--custom--space--tight);
	width: 100%;
	min-height: var(--wp--custom--size--control-lg);
	padding: var(--wp--custom--space--snug);
	border-radius: var(--wp--custom--radius--sm);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

.kbt-header .fwf-nav-overlay .kbt-overlay__call a {
	--kbt-icon: url(../icons/white/phone.svg);
	border: 2px solid var(--kbt-forest);
	color: var(--kbt-forest);
}

.kbt-header .fwf-nav-overlay .kbt-overlay__call a::before {
	content: "";
	width: 1em;
	height: 1em;
	background-color: currentColor;
	-webkit-mask: var(--kbt-icon) center / contain no-repeat;
	mask: var(--kbt-icon) center / contain no-repeat;
}

.kbt-header .fwf-nav-overlay .fwf-nav-overlay__cta,
.kbt-header .fwf-nav-overlay .fwf-nav-overlay__cta .wp-block-button {
	width: 100%;
}

@media (prefers-reduced-motion: reduce) {
	.kbt-overlay__toggle,
	.kbt-overlay__toggle::before {
		transition: none;
	}
}

/* Buttons ------------------------------------------------------------------ */

/* An inline-block link sits on the text baseline, leaving a descender gap
   below it that an inline-flex (call) link does not: side by side, the two
   were 3px out of line. */
.wp-block-button > .wp-block-button__link {
	vertical-align: top;
}

.wp-block-button a[href^="tel:"] {
	--kbt-icon: url(../icons/white/phone.svg);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--wp--custom--space--tight);
}

/* The parent's hover sheen owns a button's ::before, so the phone icon is drawn
   on ::after and ordered in front of the label. */
.wp-block-button a[href^="tel:"]::after {
	order: -1;
}

/* Hover: on top of the parent's lift and sheen, a higher lift, a deeper shadow
   and a ringing phone; a press settles it. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.wp-block-button[class*="is-style-kbt-"] .wp-block-button__link:hover {
		translate: 0 -3px;
		box-shadow: var(--wp--preset--shadow--lg);
	}

	.wp-block-button a[href^="tel:"]:hover::after {
		animation: kbt-ring 0.6s ease;
	}
}

.wp-block-button[class*="is-style-kbt-"] .wp-block-button__link:active {
	scale: 0.98;
}

@keyframes kbt-ring {
	20%, 60% { rotate: -14deg; }
	40%, 80% { rotate: 12deg; }
}

.wp-block-button.is-style-kbt-green .wp-block-button__link {
	background: var(--wp--preset--color--green);
	color: var(--kbt-white);
	font-weight: 800;
	box-shadow: var(--wp--preset--shadow--md);
}

.wp-block-button.is-style-kbt-green .wp-block-button__link:hover {
	background: var(--wp--preset--color--green-deep);
}

.wp-block-button.is-style-kbt-gold .wp-block-button__link {
	background: var(--kbt-gold);
	color: var(--kbt-night);
	font-weight: 800;
}

.wp-block-button.is-style-kbt-gold .wp-block-button__link:hover {
	background: var(--kbt-gold-deep);
	color: var(--kbt-night);
}

.wp-block-button.is-style-kbt-outline-light .wp-block-button__link {
	background: color-mix(in srgb, var(--kbt-white) 6%, transparent);
	color: var(--kbt-white);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--kbt-white) 55%, transparent);
}

.wp-block-button.is-style-kbt-outline-light .wp-block-button__link:hover {
	background: color-mix(in srgb, var(--kbt-white) 16%, transparent);
}

.wp-block-button.is-style-kbt-outline-dark .wp-block-button__link {
	background: transparent;
	color: var(--kbt-forest);
	box-shadow: inset 0 0 0 2px var(--kbt-forest);
}

.wp-block-button.is-style-kbt-outline-dark .wp-block-button__link:hover {
	background: var(--kbt-forest);
	color: var(--kbt-white);
}

/* Labels: eyebrows, pills, tags ------------------------------------------- */

.is-style-kbt-eyebrow,
.is-style-kbt-eyebrow-line {
	margin-block-end: var(--wp--custom--space--snug);
	color: var(--kbt-brown);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 800;
	letter-spacing: var(--wp--custom--tracking--eyebrow);
	text-transform: uppercase;
}

.is-style-kbt-eyebrow-line {
	display: flex;
	align-items: center;
	gap: var(--wp--custom--space--snug);
}

.is-style-kbt-eyebrow-line::before {
	content: "";
	width: var(--wp--custom--size--rule);
	height: 2px;
	background: currentColor;
}

.is-style-kbt-pill,
.is-style-kbt-pill-gold,
.is-style-kbt-pill-light,
.is-style-kbt-pill-outline {
	display: flex;
	align-items: center;
	gap: var(--wp--custom--space--tight);
	width: fit-content;
	padding: var(--wp--custom--space--hair) var(--wp--custom--space--base);
	border-radius: var(--wp--custom--radius--pill);
	line-height: 1.6;
}

.is-style-kbt-pill {
	--kbt-icon: url(../icons/white/tree-pine.svg);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--mint-deep) 45%, transparent);
	background: color-mix(in srgb, var(--kbt-night) 55%, transparent);
	color: var(--wp--preset--color--mint);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.is-style-kbt-pill-gold,
.is-style-kbt-pill-light,
.is-style-kbt-pill-outline {
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 800;
	letter-spacing: var(--wp--custom--tracking--eyebrow);
	text-transform: uppercase;
}

.is-style-kbt-pill-gold {
	--kbt-icon: url(../icons/white/tree-pine.svg);
	border: 1px solid color-mix(in srgb, var(--kbt-gold) 40%, transparent);
	background: var(--wp--preset--color--pill-dark);
	color: var(--kbt-gold);
}

.kbt-heritage .is-style-kbt-pill-gold::before {
	display: none;
}

.is-style-kbt-pill-light {
	--kbt-icon: url(../icons/white/workflow.svg);
	background: var(--wp--preset--color--pill-light);
	color: var(--kbt-brown);
}

.is-style-kbt-pill-outline {
	--kbt-icon: url(../icons/white/badge-check.svg);
	border: 1px solid color-mix(in srgb, var(--kbt-white) 30%, transparent);
	border-radius: var(--wp--custom--radius--xs);
	background: color-mix(in srgb, var(--kbt-white) 8%, transparent);
	color: var(--kbt-white);
}

.is-style-kbt-pill-outline::before {
	color: var(--kbt-gold);
}

.is-style-kbt-tag {
	display: inline-block;
	margin: 0;
	padding: var(--wp--custom--space--hair) var(--wp--custom--space--tight);
	border-radius: var(--wp--custom--radius--xs);
	background: color-mix(in srgb, var(--wp--preset--color--bark) 85%, transparent);
	color: var(--kbt-white);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.kbt-lead {
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.55;
}

/* Lists -------------------------------------------------------------------- */

.is-style-kbt-checks,
.is-style-kbt-check-list,
.is-style-kbt-services,
.is-style-kbt-chips {
	margin: 0;
	padding: 0;
	list-style: none;
}

.is-style-kbt-checks {
	--kbt-icon: url(../icons/white/check.svg);
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--custom--space--tight) var(--wp--preset--spacing--30);
	font-size: var(--wp--preset--font-size--small);
}

.is-style-kbt-checks li {
	display: flex;
	align-items: center;
	gap: var(--wp--custom--space--tight);
}

.is-style-kbt-checks li::before {
	color: var(--wp--preset--color--mint-deep);
}

.is-style-kbt-check-list {
	--kbt-icon: url(../icons/white/circle-check.svg);
	display: grid;
	gap: var(--wp--custom--space--snug);
	color: var(--kbt-ink);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
}

.is-style-kbt-check-list li {
	display: flex;
	align-items: center;
	gap: var(--wp--custom--space--snug);
}

.is-style-kbt-check-list li::before {
	color: var(--wp--preset--color--green);
}

.is-style-kbt-chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--custom--space--hair);
}

.is-style-kbt-chips li {
	padding: var(--wp--custom--space--hair) var(--wp--custom--space--snug);
	border-radius: var(--wp--custom--radius--xs);
	background: var(--wp--preset--color--pill-light);
	color: var(--kbt-ink);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
}

/* Green is the hover, not a highlight: a linked chip fills the whole pill. */
.is-style-kbt-chips li:has(a),
.kbt-areas .is-style-kbt-chips li:has(a) {
	padding: 0;
}

.is-style-kbt-chips a {
	display: block;
	border-radius: inherit;
	color: inherit;
	text-decoration: none;
}

.is-style-kbt-chips li:has(a) a {
	padding: var(--wp--custom--space--hair) var(--wp--custom--space--snug);
}

.kbt-areas .is-style-kbt-chips li:has(a) a {
	padding: var(--wp--custom--space--tight) var(--wp--custom--space--base);
}

.is-style-kbt-chips li {
	transition: background-color 0.2s ease, color 0.2s ease, translate 0.2s ease;
}

.is-style-kbt-chips li:hover,
.is-style-kbt-chips li:focus-within {
	background: var(--kbt-forest);
	color: var(--kbt-white);
}

.is-style-kbt-chips li:is(:hover, :focus-within) a {
	color: var(--kbt-white);
}

@media (prefers-reduced-motion: no-preference) {
	.is-style-kbt-chips li:has(a):hover {
		translate: 0 -2px;
	}
}

.is-style-kbt-chips strong {
	font-weight: inherit;
}

/* Images as icons ---------------------------------------------------------- */

/*
 * :root lifts these to three classes, matching the parent's
 * `.entry__content .wp-block-columns .wp-block-image`, which sets every image
 * in a column to full width; this sheet loads after it.
 */

:root .wp-block-image[class*="is-style-kbt-icon"],
:root .wp-block-image.is-style-kbt-avatar {
	width: auto;
	margin: 0;
	flex: none;
}

:root .wp-block-image.is-style-kbt-icon img {
	width: var(--wp--custom--size--icon-lg);
	height: var(--wp--custom--size--icon-lg);
}

:root .wp-block-image.is-style-kbt-icon-tile,
:root .wp-block-image.is-style-kbt-icon-tile-light,
:root .wp-block-image.is-style-kbt-icon-tile-dark {
	display: grid;
	place-items: center;
	width: var(--wp--custom--size--tile);
	height: var(--wp--custom--size--tile);
	border-radius: var(--wp--custom--radius--md);
}

:root .wp-block-image.is-style-kbt-icon-tile {
	background: var(--kbt-forest);
}

:root .wp-block-image.is-style-kbt-icon-tile-light {
	background: var(--wp--preset--color--pill-light);
}

:root .wp-block-image.is-style-kbt-icon-tile-dark {
	width: var(--wp--custom--size--tile-lg);
	height: var(--wp--custom--size--tile-lg);
	border: 1px solid color-mix(in srgb, var(--kbt-gold) 35%, transparent);
	background: color-mix(in srgb, var(--kbt-gold) 18%, transparent);
}

:root .wp-block-image[class*="is-style-kbt-icon-tile"] img {
	width: var(--wp--custom--size--icon-lg);
	height: var(--wp--custom--size--icon-lg);
}

:root .wp-block-image.is-style-kbt-icon-mark {
	/* The rules either side are backgrounds, not ::before/::after: the editor
	   draws its hover and selection outline on a block's ::after, which pulled
	   the right-hand rule out of the row and pushed the mark aside. */
	--kbt-mark-rule: calc(50% - var(--wp--custom--size--mark) / 2 - var(--wp--preset--spacing--30));
	--kbt-mark-line: color-mix(in srgb, var(--kbt-gold) 35%, transparent);
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: none !important;
	background:
		linear-gradient(var(--kbt-mark-line), var(--kbt-mark-line)) left center / var(--kbt-mark-rule) 1px no-repeat,
		linear-gradient(var(--kbt-mark-line), var(--kbt-mark-line)) right center / var(--kbt-mark-rule) 1px no-repeat;
}

:root .wp-block-image.is-style-kbt-icon-mark img {
	width: var(--wp--custom--size--mark);
	height: var(--wp--custom--size--mark);
}

:root .wp-block-image.is-style-kbt-avatar {
	display: grid;
	place-items: center;
	width: var(--wp--custom--size--avatar);
	height: var(--wp--custom--size--avatar);
	border: 1px solid var(--kbt-line);
	border-radius: 50%;
	background: var(--wp--preset--color--paper);
}

:root .wp-block-image.is-style-kbt-avatar img {
	width: 45%;
	height: 45%;
}

/* Cards -------------------------------------------------------------------- */

.is-style-kbt-card,
.is-style-kbt-card-soft {
	border: 1px solid var(--kbt-line);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--kbt-white);
	box-shadow: var(--wp--preset--shadow--sm);
}

.is-style-kbt-card-soft {
	background: var(--wp--preset--color--offwhite);
}

.is-style-kbt-card > *,
.is-style-kbt-card-soft > * {
	margin-block: 0;
}

.is-style-kbt-card h3,
.is-style-kbt-card-soft h3 {
	color: var(--kbt-forest);
}

.is-style-kbt-card-dark {
	height: 100%;
	padding: var(--wp--preset--spacing--30);
	border: 1px solid color-mix(in srgb, var(--kbt-gold) 18%, transparent);
	border-radius: var(--wp--custom--radius--lg);
	background: color-mix(in srgb, var(--wp--preset--color--bark) 45%, transparent);
	color: color-mix(in srgb, var(--kbt-white) 82%, transparent);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.85;
}

.is-style-kbt-card-dark h3 {
	margin-block: var(--wp--preset--spacing--20) var(--wp--custom--space--snug);
	color: var(--kbt-white);
}

.is-style-kbt-card-dark p {
	margin: 0;
}

.is-style-kbt-panel {
	padding: var(--wp--preset--spacing--30);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--kbt-night);
	color: color-mix(in srgb, var(--kbt-white) 78%, transparent);
	font-size: var(--wp--preset--font-size--small);
	box-shadow: var(--wp--preset--shadow--lg);
}

.is-style-kbt-panel h3 {
	margin: 0 0 var(--wp--custom--space--tight);
	color: var(--kbt-white);
}

.is-style-kbt-panel .wp-block-button,
.is-style-kbt-panel .wp-block-button__link {
	width: 100%;
}

.is-style-kbt-panel .wp-block-button__link {
	font-size: var(--wp--preset--font-size--lead);
}

.kbt-panel__note {
	margin-block-start: var(--wp--custom--space--base);
	color: color-mix(in srgb, var(--kbt-white) 60%, transparent);
	font-size: var(--wp--preset--font-size--x-small);
}

.is-style-kbt-callout {
	padding: var(--wp--preset--spacing--30);
	border-inline-start: 4px solid var(--kbt-gold-deep);
	border-radius: var(--wp--custom--radius--xs);
	background: var(--kbt-white);
	font-size: var(--wp--preset--font-size--small);
	box-shadow: var(--wp--preset--shadow--md);
}

.is-style-kbt-callout > * {
	margin-block: 0;
}

.is-style-kbt-callout > * + * {
	margin-block-start: var(--wp--custom--space--snug);
}

.kbt-callout__quote {
	color: var(--kbt-forest);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 800;
	line-height: 1.3;
}

.is-style-kbt-owner {
	align-items: center !important;
	gap: var(--wp--custom--space--tight);
	padding: var(--wp--preset--spacing--20) var(--wp--custom--space--tight);
	border: 2px dashed color-mix(in srgb, var(--kbt-brown) 35%, transparent);
	border-radius: var(--wp--custom--radius--md);
	background: color-mix(in srgb, var(--kbt-brown) 14%, var(--wp--preset--color--cream));
	text-align: center;
}

.is-style-kbt-owner p {
	margin: 0;
}

.kbt-owner__name {
	margin-block-start: var(--wp--custom--space--tight) !important;
	color: var(--kbt-forest);
	font-weight: 800;
}

.kbt-owner__role {
	color: var(--kbt-body);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.kbt-card__body {
	padding: var(--wp--preset--spacing--20);
}

.kbt-card__body > * {
	margin-block: 0;
}

.kbt-card__body > * + * {
	margin-block-start: var(--wp--custom--space--tight);
}

.kbt-card__place {
	color: var(--kbt-brown);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.kbt-card__text {
	color: var(--kbt-body);
	font-size: var(--wp--preset--font-size--small);
}

.kbt-card__link a {
	color: var(--kbt-brown);
	font-weight: 800;
	text-decoration: none;
}

.kbt-card__link a:hover {
	color: var(--kbt-forest);
}

/* Photo cards: an image flush to the card's top edge. */
.is-style-kbt-card > .wp-block-image,
.is-style-kbt-card-soft > .wp-block-image {
	overflow: hidden;
	margin: 0;
	border-radius: var(--wp--custom--radius--lg) var(--wp--custom--radius--lg) 0 0;
}

.is-style-kbt-card > .wp-block-image img,
.is-style-kbt-card-soft > .wp-block-image img {
	display: block;
	width: 100%;
}

.is-style-kbt-photo-card {
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--preset--shadow--lg);
}

/* Form card and Gravity Forms --------------------------------------------- */

.is-style-kbt-form-card {
	padding: var(--wp--preset--spacing--30);
	border-radius: var(--wp--custom--radius--xl);
	background: var(--kbt-white);
	color: var(--kbt-body);
	box-shadow: var(--wp--preset--shadow--lg);
}

.is-style-kbt-form-card > * {
	margin-block: 0;
}

.is-style-kbt-form-card > * + * {
	margin-block-start: var(--wp--custom--space--base);
}

.kbt-form-card__head {
	align-items: center;
	padding-block-end: var(--wp--custom--space--base);
	border-block-end: 1px solid var(--wp--preset--color--line);
}

.kbt-form-card__head p,
.kbt-form-card__head h2 {
	margin: 0;
}

.kbt-form-card__eyebrow {
	color: var(--kbt-ink);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.is-style-kbt-form-card h2.kbt-form-card__title {
	color: var(--kbt-forest);
	font-size: var(--wp--preset--font-size--x-large);
	letter-spacing: -0.01em;
}

.kbt-form-card__badge {
	display: grid;
	place-items: center;
	width: var(--wp--custom--size--tile);
	height: var(--wp--custom--size--tile);
	border-radius: 50%;
	background: color-mix(in srgb, var(--wp--preset--color--mint) 30%, var(--kbt-white));
	color: var(--kbt-forest);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 800;
}

.kbt-form-card__intro {
	font-size: var(--wp--preset--font-size--small);
}

.kbt-form-card__note {
	color: var(--kbt-muted);
	font-size: var(--wp--preset--font-size--x-small);
	text-align: center;
}

.kbt-form-card__note strong {
	color: var(--kbt-ink);
}

.is-style-kbt-form-card .gform_wrapper.gform-theme {
	--gf-ctrl-border-color: var(--wp--preset--color--input);
	--gf-ctrl-radius: var(--wp--custom--radius--sm);
	--gf-ctrl-label-color-primary: var(--kbt-ink);
	--gf-ctrl-btn-bg-color-primary: var(--wp--preset--color--green);
	--gf-ctrl-btn-bg-color-hover-primary: var(--wp--preset--color--green-deep);
	--gf-color-primary: var(--wp--preset--color--green);
	--gf-form-gap-y: var(--wp--custom--space--base);
	--gf-ctrl-font-family: var(--wp--preset--font-family--body);
	--gf-ctrl-label-font-family-primary: var(--wp--preset--font-family--body);
	--gf-ctrl-btn-font-family: var(--wp--preset--font-family--body);
}

.is-style-kbt-form-card .gform_wrapper .gfield_label,
.is-style-kbt-form-card .gform_wrapper .gform-field-label {
	color: var(--kbt-ink);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.kbt-estimate .is-style-kbt-form-card .gform_wrapper .gfield_label,
.kbt-estimate .is-style-kbt-form-card .gform_wrapper .gform-field-label {
	color: var(--kbt-brown);
}

.is-style-kbt-form-card .gform_wrapper input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.is-style-kbt-form-card .gform_wrapper select {
	min-height: var(--wp--custom--size--control);
	border-color: var(--wp--preset--color--input);
	font-size: var(--wp--preset--font-size--small);
}

.is-style-kbt-form-card .gform_wrapper .gform_footer {
	margin-block-start: var(--wp--custom--space--base);
	padding: 0;
}

/* Orbital's footer button rule runs six classes deep; this is seven. */
.is-style-kbt-form-card .gform-theme.gform-theme--framework.gform_wrapper .gform_footer .gform_button.button {
	--gf-local-width: 100%;
	width: 100%;
	min-height: var(--wp--custom--size--control-lg);
	border-radius: var(--wp--custom--radius--sm);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 800;
}

.is-style-kbt-form-card .gform-theme.gform-theme--framework.gform_wrapper .gform_footer .gform_button.button::after {
	content: " →";
}

/* The comp marks no field as required; the inputs still say so to assistive tech. */
.is-style-kbt-form-card .gform_wrapper .gfield_required_text {
	display: none;
}

.kbt-hero .is-style-kbt-form-card .gform-theme.gform-theme--framework.gform_wrapper .gform_footer .gform_button.button {
	font-size: var(--wp--preset--font-size--small);
}

/* Hero --------------------------------------------------------------------- */

.wp-block-cover.is-style-kbt-hero {
	position: relative;
	/* Clip sideways only: the photo's settle-zoom stays inside, the edge below still shows. */
	overflow: visible;
	overflow-x: clip;
	padding-block: var(--wp--preset--spacing--60);
	color: var(--kbt-white);
}

/* The tree-line edge: a row of soft bumps in the next section's cream. On
   ::before, because the editor draws its hover and selection outline on a
   block's ::after and would drag the edge to the top of the hero. */
.wp-block-cover.is-style-kbt-hero::before {
	content: "";
	position: absolute;
	inset: auto 0 -1px;
	/* Above the cover's scrim, which comes later in the markup. */
	z-index: 2;
	height: var(--wp--custom--size--edge);
	/* --kbt-edge: the color of whatever follows the hero. */
	background:
		radial-gradient(circle at 50% 100%, var(--kbt-edge, var(--wp--preset--color--cream)) 62%, transparent 64%) 0 100% / 2.25rem 100% repeat-x,
		radial-gradient(circle at 50% 100%, var(--kbt-edge, var(--wp--preset--color--cream)) 62%, transparent 64%) 1.1rem 100% / 1.6rem 70% repeat-x;
}

.is-style-kbt-hero h1 {
	margin-block: var(--wp--preset--spacing--20);
	color: var(--kbt-white);
	letter-spacing: -0.03em;
}

.is-style-kbt-hero .kbt-lead {
	color: color-mix(in srgb, var(--kbt-white) 90%, transparent);
}

/* Home: a larger headline with room between its two lines, and a shorter lead. */
.kbt-hero .kbt-hero__title {
	font-size: var(--wp--preset--font-size--hero);
	line-height: 1.1;
}

.kbt-hero .kbt-hero__copy > .kbt-lead {
	max-width: var(--wp--custom--size--hero-lead);
}

.kbt-hero .kbt-hero__copy > .wp-block-buttons {
	margin-block: var(--wp--preset--spacing--30);
}

.kbt-hero .wp-block-button__link {
	min-width: var(--wp--custom--size--button);
	justify-content: center;
}

.is-style-kbt-hero .is-style-kbt-checks {
	color: color-mix(in srgb, var(--kbt-white) 85%, transparent);
}

.kbt-hero .wp-block-columns {
	gap: 6%;
	justify-content: space-between;
}

/* Page hero (About). */
.wp-block-cover.kbt-page-hero {
	padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60);
}

.kbt-page-hero__copy > * {
	margin-block: 0;
}

.kbt-page-hero__copy > * + * {
	margin-block-start: var(--wp--preset--spacing--20);
}

.kbt-crumbs {
	color: color-mix(in srgb, var(--kbt-white) 80%, transparent);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.kbt-crumbs a {
	color: var(--kbt-white);
	text-decoration: none;
}

.kbt-page-hero__subtitle {
	color: color-mix(in srgb, var(--kbt-white) 88%, transparent);
	font-size: var(--wp--preset--font-size--x-large);
}

.kbt-page-hero .kbt-page-hero__facts {
	width: fit-content;
	padding-block-start: var(--wp--preset--spacing--20);
	border-block-start: 1px solid color-mix(in srgb, var(--kbt-white) 22%, transparent);
	font-size: var(--wp--preset--font-size--medium);
}

.kbt-page-hero .kbt-page-hero__facts li::before {
	color: var(--kbt-gold);
}

.kbt-page-hero__facts li:nth-child(1) { --kbt-icon: url(../icons/white/handshake.svg); }
.kbt-page-hero__facts li:nth-child(2) { --kbt-icon: url(../icons/white/shield.svg); }
.kbt-page-hero__facts li:nth-child(3) { --kbt-icon: url(../icons/white/tractor.svg); }
/* Contact's third fact is the storm line, not the equipment. */
.kbt-page-hero:has(+ .kbt-contact) .kbt-page-hero__facts li:nth-child(3) { --kbt-icon: url(../icons/white/clock.svg); }

/* Trust badges ------------------------------------------------------------- */

:where(.entry__content, .is-root-container) > .kbt-badges.alignfull {
	padding-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
}

.kbt-badges__grid {
	gap: var(--wp--preset--spacing--20);
}

.kbt-badge {
	align-items: flex-start !important;
	gap: var(--wp--custom--space--base);
	padding: var(--wp--preset--spacing--20);
}

.kbt-badge__body {
	gap: var(--wp--custom--space--hair);
}

.kbt-badge__body > * {
	margin: 0;
}

.is-style-kbt-card-soft h3.kbt-badge__title {
	color: var(--kbt-ink);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
	line-height: 1.35;
}

.kbt-badge__text {
	color: var(--kbt-body);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.6;
}

/* Capability ---------------------------------------------------------------- */

.kbt-capability .wp-block-columns {
	gap: var(--wp--preset--spacing--50);
	justify-content: space-between;
}

.kbt-capability__copy > h2 {
	margin-block: 0 var(--wp--preset--spacing--30);
}

.kbt-features {
	gap: var(--wp--preset--spacing--20);
	margin-block: var(--wp--preset--spacing--30);
}

.kbt-feature {
	padding: var(--wp--preset--spacing--20);
}

.kbt-feature > * + * {
	margin-block-start: var(--wp--custom--space--tight);
}

.kbt-feature h3 {
	margin-block-start: var(--wp--custom--space--snug);
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.35;
}

.kbt-feature p {
	color: var(--kbt-body);
	font-size: var(--wp--preset--font-size--small);
}

.wp-block-cover.kbt-featured {
	align-items: flex-end;
	padding: var(--wp--preset--spacing--20);
}

.kbt-featured p {
	margin: 0;
}

.kbt-featured__title {
	margin-block: var(--wp--custom--space--tight) var(--wp--custom--space--hair) !important;
	color: var(--kbt-white);
	font-family: var(--wp--preset--font-family--slab);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 700;
	line-height: 1.25;
}

.kbt-featured__text {
	color: color-mix(in srgb, var(--kbt-white) 88%, transparent);
	font-size: var(--wp--preset--font-size--small);
}

.kbt-minis {
	gap: var(--wp--preset--spacing--20);
	margin-block-start: var(--wp--preset--spacing--20);
}

.kbt-mini .kbt-mini__body {
	padding: var(--wp--custom--space--snug) var(--wp--custom--space--base) var(--wp--custom--space--base);
}

.kbt-mini p {
	margin: 0;
}

.kbt-mini__title {
	color: var(--kbt-brown);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 800;
}

.kbt-mini__place {
	color: var(--kbt-body);
	font-size: var(--wp--preset--font-size--x-small);
}

/* Heritage ------------------------------------------------------------------ */

.is-style-kbt-texture,
.is-style-kbt-texture-dark {
	background-color: var(--kbt-forest);
	background-position: center;
	background-size: cover;
	color: color-mix(in srgb, var(--kbt-white) 85%, transparent);
}

.is-style-kbt-texture {
	background-image: linear-gradient(color-mix(in srgb, var(--kbt-forest) 55%, transparent), color-mix(in srgb, var(--kbt-forest) 55%, transparent)), url(../img/texture-forest.jpg);
}

.is-style-kbt-texture-dark {
	background-image: linear-gradient(color-mix(in srgb, var(--kbt-night) 45%, transparent), color-mix(in srgb, var(--kbt-night) 45%, transparent)), url(../img/texture-tree-line.jpg);
}

.is-style-kbt-texture h2,
.is-style-kbt-texture-dark h2 {
	color: var(--kbt-white);
}

:where(.entry__content, .is-root-container) > .kbt-heritage.alignfull {
	position: relative;
	z-index: 2;
	padding-block: var(--wp--preset--spacing--50);
}

.kbt-heritage > h2 {
	margin-block-start: var(--wp--custom--space--base);
}

.kbt-heritage > .kbt-lead {
	max-width: var(--wp--custom--measure--lead);
}

.kbt-heritage .kbt-heritage__stage {
	gap: var(--wp--preset--spacing--30);
	margin-block-start: var(--wp--preset--spacing--40);
}

.kbt-heritage__figure-col {
	position: relative;
	align-self: stretch !important;
}

:root .kbt-heritage .kbt-heritage__figure {
	position: absolute;
	top: calc(var(--wp--custom--space--tight) - var(--wp--preset--spacing--40));
	right: 0;
	left: 0;
	z-index: 3;
	width: fit-content;
	margin: 0 auto;
}

:root .kbt-heritage .kbt-heritage__figure img {
	width: auto;
	max-width: none;
	height: var(--wp--custom--figure--height);
}

.is-style-kbt-bar {
	position: relative;
	z-index: 1;
	align-items: center !important;
	gap: var(--wp--preset--spacing--20);
	margin-block-start: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	border: 1px solid color-mix(in srgb, var(--kbt-gold) 25%, transparent);
	border-radius: var(--wp--custom--radius--lg);
	background: color-mix(in srgb, var(--kbt-night) 94%, transparent);
}

.is-style-kbt-bar > .wp-block-group {
	flex: 1;
	gap: 0;
}

.is-style-kbt-bar p {
	margin: 0;
}

.kbt-bar__title {
	color: var(--kbt-white);
	font-family: var(--wp--preset--font-family--slab);
	font-size: var(--wp--preset--font-size--lead);
	font-weight: 700;
}

.kbt-bar__text {
	font-size: var(--wp--preset--font-size--small);
}

@media (max-width: 781px) {
	:root .kbt-heritage .kbt-heritage__figure {
		position: static;
		text-align: center;
	}

	:root .kbt-heritage .kbt-heritage__figure img {
		height: calc(var(--wp--custom--figure--height) * 0.6);
	}

	.kbt-heritage__figure-col {
		order: -1;
	}
}

/* Heritage tree ------------------------------------------------------------ */

/* The tree stands on the stage's floor, just above the bar, however tall the
   cards beside it make the stage. */
:root .kbt-heritage .kbt-heritage__figure:has(.kbt-tree) {
	bottom: 0;
}

.kbt-tree {
	display: block;
	width: auto;
	height: 100%;
	overflow: visible;
	fill: none;
	stroke: var(--kbt-white);
	stroke-width: 1.5;
	stroke-linecap: butt;
	stroke-linejoin: miter;
}

@media (max-width: 781px) {
	.kbt-heritage__figure .kbt-tree {
		height: calc(var(--wp--custom--figure--height) * 0.45);
		margin-inline: auto;
	}
}

/* Process ------------------------------------------------------------------- */

.kbt-process h2.is-style-kbt-slab,
h2.is-style-kbt-slab {
	margin-block: var(--wp--custom--space--base) var(--wp--custom--space--snug);
	font-family: var(--wp--preset--font-family--slab);
	font-size: var(--wp--preset--font-size--slab-large);
	font-weight: 800;
	letter-spacing: -0.01em;
}

.kbt-process > .kbt-lead {
	color: var(--kbt-body);
}

.wp-block-columns.is-style-kbt-steps {
	gap: var(--wp--preset--spacing--30);
	margin-block-start: var(--wp--preset--spacing--50);
	counter-reset: kbt-step;
}

.is-style-kbt-steps .kbt-step {
	height: 100%;
	padding: var(--wp--preset--spacing--30);
	border-radius: var(--wp--custom--radius--xl);
}

.is-style-kbt-steps .kbt-step::before {
	content: counter(kbt-step);
	counter-increment: kbt-step;
	display: grid;
	place-items: center;
	width: var(--wp--custom--size--step);
	height: var(--wp--custom--size--step);
	margin-block-end: var(--wp--preset--spacing--20);
	border-radius: 50%;
	background: var(--wp--preset--color--bark);
	color: var(--kbt-gold);
	font-family: var(--wp--preset--font-family--slab);
	font-size: var(--wp--preset--font-size--lead);
	font-weight: 800;
}

.is-style-kbt-steps > .wp-block-column:nth-child(even) .kbt-step::before {
	background: var(--kbt-forest);
}

.kbt-step {
	display: flex;
	flex-direction: column;
}

.kbt-step h3 {
	margin-block-end: var(--wp--custom--space--base);
}

.kbt-step p {
	color: var(--kbt-body);
	line-height: 1.7;
}

.kbt-step .kbt-step__foot {
	--kbt-icon: url(../icons/white/map-pin.svg);
	display: flex;
	align-items: center;
	gap: var(--wp--custom--space--tight);
	margin-block-start: auto;
	padding-block-start: var(--wp--custom--space--base);
	border-block-start: 1px solid var(--kbt-line);
	color: var(--kbt-brown);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
}

.is-style-kbt-steps > .wp-block-column:nth-child(2) .kbt-step__foot {
	--kbt-icon: url(../icons/white/file-text.svg);
	color: var(--kbt-forest);
}

.is-style-kbt-steps > .wp-block-column:nth-child(3) .kbt-step__foot {
	--kbt-icon: url(../icons/white/badge-check.svg);
}

.kbt-step > p:not(.kbt-step__foot) {
	margin-block-end: var(--wp--preset--spacing--20);
}

/* Projects ------------------------------------------------------------------ */

.kbt-projects__head {
	margin-block-end: var(--wp--preset--spacing--40);
}

.kbt-projects__head h2 {
	margin-block-start: 0;
}

.kbt-projects__intro {
	color: var(--kbt-body);
	font-size: var(--wp--preset--font-size--large);
}

.kbt-projects__grid,
.kbt-equipment__cards {
	gap: var(--wp--preset--spacing--20);
}

.kbt-project {
	overflow: hidden;
}

.kbt-project h3 {
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.35;
}

/* Reviews ------------------------------------------------------------------- */

.kbt-stars {
	margin-block-end: 0;
	color: var(--kbt-gold-deep);
	font-size: var(--wp--preset--font-size--large);
	letter-spacing: 0.15em;
}

.kbt-reviews > h2 {
	margin-block-start: var(--wp--custom--space--snug);
}

.kbt-reviews > .kbt-lead {
	max-width: var(--wp--custom--measure--text);
	color: var(--kbt-body);
}

.kbt-reviews__grid {
	gap: var(--wp--preset--spacing--30);
	margin-block-start: var(--wp--preset--spacing--40);
}

.wp-block-quote.is-style-kbt-review {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: var(--wp--preset--spacing--30);
	border: 1px solid var(--kbt-line);
	border-radius: var(--wp--custom--radius--xl);
	background: var(--kbt-white);
	box-shadow: var(--wp--preset--shadow--sm);
}

.wp-block-quote.is-style-kbt-review::before {
	content: "★★★★★";
	margin-block-end: var(--wp--custom--space--base);
	color: var(--wp--preset--color--amber);
	letter-spacing: 0.08em;
}

.wp-block-quote.is-style-kbt-review p {
	margin: 0;
	color: var(--kbt-ink);
	font-style: italic;
	line-height: 1.75;
}

.wp-block-quote.is-style-kbt-review cite {
	margin-block-start: auto;
	padding-block-start: var(--wp--preset--spacing--20);
	border-block-start: 1px solid var(--kbt-line);
	color: var(--kbt-body);
	font-size: var(--wp--preset--font-size--x-small);
	font-style: normal;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.wp-block-quote.is-style-kbt-review p:first-of-type::before {
	content: "\201C";
}

.wp-block-quote.is-style-kbt-review p:last-of-type::after {
	content: "\201D";
}

.wp-block-quote.is-style-kbt-review p:last-of-type {
	margin-block-end: var(--wp--preset--spacing--30);
}

.wp-block-quote.is-style-kbt-review cite strong {
	display: inline-block;
	margin-block-end: var(--wp--custom--space--hair);
	color: var(--kbt-forest);
	font-family: var(--wp--preset--font-family--slab);
	font-size: var(--wp--preset--font-size--large);
	letter-spacing: 0;
	text-transform: none;
}

/* Estimate ------------------------------------------------------------------ */

:where(.entry__content, .is-root-container) > .kbt-estimate.alignfull {
	/* flow-root stops the truck's negative margin collapsing through the section. */
	display: flow-root;
	position: relative;
	z-index: 2;
	/* Sideways only: the truck starts off the right edge, and still rides below. */
	overflow-x: clip;
	padding-block-end: 0;
}

.is-style-kbt-frame {
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40) var(--wp--preset--spacing--60);
	border: 1px solid color-mix(in srgb, var(--kbt-gold) 45%, transparent);
	border-radius: var(--wp--custom--radius--xxl);
}

.is-style-kbt-frame .wp-block-columns {
	gap: var(--wp--preset--spacing--50);
	justify-content: space-between;
}

.kbt-estimate__copy h2 {
	margin-block: var(--wp--preset--spacing--20);
	font-size: var(--wp--preset--font-size--slab-large);
}

.kbt-estimate .kbt-lead {
	color: color-mix(in srgb, var(--kbt-white) 88%, transparent);
}

.kbt-estimate__call {
	margin-block-start: var(--wp--preset--spacing--30);
}

.kbt-estimate__call .wp-block-button__link {
	font-size: var(--wp--preset--font-size--large);
}

.kbt-note {
	--kbt-icon: url(../icons/white/asterisk.svg);
	display: flex;
	align-items: center;
	gap: var(--wp--custom--space--hair);
	color: var(--kbt-white);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.kbt-note::before {
	color: var(--kbt-gold);
}

.kbt-estimate .kbt-form-card__title {
	font-size: var(--wp--preset--font-size--x-large);
}

.kbt-estimate .wp-block-image.kbt-estimate__truck {
	position: relative;
	z-index: 3;
	width: var(--wp--custom--truck--width);
	max-width: 90%;
	margin-block: calc(-1 * var(--wp--custom--truck--lift)) calc(-1 * var(--wp--custom--truck--drop)) !important;
	pointer-events: none;
}

.kbt-estimate__truck img {
	display: block;
	width: 100%;
	height: auto;
}

/* Story (About) ------------------------------------------------------------- */

.kbt-story h2,
.kbt-equipment h2,
.kbt-coverage h2 {
	font-size: var(--wp--preset--font-size--section);
	line-height: 1.2;
}

.kbt-story h3,
.kbt-equipment h3,
.kbt-coverage h3,
.kbt-estimate h2.kbt-form-card__title {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	letter-spacing: -0.01em;
}

.kbt-story .wp-block-columns {
	gap: var(--wp--preset--spacing--50);
	justify-content: space-between;
}

.kbt-story__main > h2 {
	margin-block: 0 var(--wp--preset--spacing--30);
}

.kbt-story__main > .is-style-kbt-eyebrow-line:not(:first-child) {
	margin-block-start: var(--wp--preset--spacing--50);
}

/* :where() so the eyebrow and callout styles keep their own colors. */
:where(.kbt-story__main) p {
	color: var(--kbt-ink);
	line-height: 1.9;
}

:where(.kbt-story__main) .kbt-lead {
	line-height: 1.75;
}

.kbt-values {
	gap: var(--wp--preset--spacing--20);
	margin-block-start: var(--wp--preset--spacing--30);
}

.kbt-value {
	align-items: flex-start !important;
	gap: var(--wp--custom--space--base);
	padding: var(--wp--preset--spacing--20);
	box-shadow: var(--wp--preset--shadow--md);
}

.kbt-value > .wp-block-group {
	gap: var(--wp--custom--space--tight);
}

.kbt-value > .wp-block-group > * {
	margin: 0;
}

.kbt-story .kbt-value__title,
.kbt-value__title {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.5;
}

.kbt-story .kbt-value__text {
	color: var(--kbt-body);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.65;
}

.kbt-story__main .is-style-kbt-callout {
	margin-block-start: var(--wp--preset--spacing--30);
}

.kbt-story__aside > * + * {
	margin-block-start: var(--wp--preset--spacing--30);
}

.kbt-owners {
	padding: var(--wp--preset--spacing--20);
	box-shadow: var(--wp--preset--shadow--md);
	font-size: var(--wp--preset--font-size--small);
}

.kbt-owners > * + * {
	margin-block-start: var(--wp--preset--spacing--20);
}

.kbt-owners .kbt-owners__title {
	margin: calc(-1 * var(--wp--preset--spacing--20)) calc(-1 * var(--wp--preset--spacing--20)) 0;
	padding: var(--wp--custom--space--base) var(--wp--preset--spacing--20);
	border-block-end: 1px solid var(--kbt-line);
	border-radius: var(--wp--custom--radius--lg) var(--wp--custom--radius--lg) 0 0;
	background: var(--wp--preset--color--offwhite);
	font-size: var(--wp--preset--font-size--large);
}

.kbt-owners__grid {
	gap: var(--wp--custom--space--base);
}

.kbt-owners > p {
	color: var(--kbt-body);
}

/* Stacked, the owners card leads the section; the rest of the sidebar follows
   the story. The sidebar column dissolves so its cards can be ordered apart. */
@media (max-width: 781px) {
	.kbt-story .wp-block-columns {
		flex-direction: column;
		gap: 0;
	}

	.kbt-story .kbt-story__aside {
		display: contents;
	}

	.kbt-story .kbt-owners {
		order: -1;
		margin-block: 0 var(--wp--preset--spacing--50);
	}

	.kbt-story .kbt-owners + * {
		margin-block-start: var(--wp--preset--spacing--50);
	}
}

.kbt-rooted {
	overflow: hidden;
	box-shadow: var(--wp--preset--shadow--md);
}

.kbt-rooted .kbt-card__body p {
	color: var(--kbt-body);
	font-size: var(--wp--preset--font-size--small);
}

.kbt-rooted .is-style-kbt-chips {
	margin-block-start: var(--wp--custom--space--snug);
}

/* Equipment (About) --------------------------------------------------------- */

/* Full container width, so it lines up with the heading; the text keeps a measure. */
.kbt-equipment__intro {
	padding-inline-end: max(0px, min(100%, var(--wp--style--global--wide-size)) - var(--wp--custom--measure--wide));
}

.wp-block-columns.kbt-services {
	gap: 0;
	overflow: hidden;
	margin-block: var(--wp--preset--spacing--40);
	border: 1px solid var(--kbt-line);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--wp--preset--color--offwhite);
	box-shadow: var(--wp--preset--shadow--md);
}

.kbt-services__col {
	display: flex;
	flex-direction: column;
}

.kbt-services__col + .kbt-services__col {
	border-inline-start: 1px solid var(--kbt-line);
}

.kbt-services__head {
	align-items: center !important;
	gap: var(--wp--custom--space--snug);
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	background: var(--kbt-forest);
}

.kbt-services__head h3 {
	margin: 0;
	color: var(--kbt-white);
	font-size: var(--wp--preset--font-size--x-large);
}

.is-style-kbt-services {
	--kbt-icon: url(../icons/white/circle-check.svg);
	margin: 0;
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
}

.is-style-kbt-services li {
	position: relative;
	padding-block: var(--wp--custom--space--base);
	padding-inline-start: calc(var(--wp--custom--size--icon) + var(--wp--custom--space--snug));
	color: var(--kbt-body);
	font-size: var(--wp--preset--font-size--small);
}

.is-style-kbt-services li + li {
	border-block-start: 1px dashed var(--kbt-line);
}

.is-style-kbt-services li::before {
	position: absolute;
	top: calc(var(--wp--custom--space--base) + var(--wp--custom--space--hair));
	left: 0;
	width: var(--wp--custom--size--icon);
	height: var(--wp--custom--size--icon);
	color: var(--wp--preset--color--green);
}

.is-style-kbt-services strong {
	color: var(--kbt-ink);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
}

.kbt-services + .kbt-equipment__cards {
	max-width: calc(var(--wp--style--global--wide-size) * 0.9) !important;
}

.kbt-equipment .kbt-project {
	box-shadow: var(--wp--preset--shadow--md);
}

.kbt-equipment .kbt-project .kbt-card__body > .kbt-card__text {
	margin-block-end: var(--wp--custom--space--snug);
}

/* Coverage (About) ---------------------------------------------------------- */

.kbt-coverage .wp-block-columns {
	gap: var(--wp--preset--spacing--50);
	justify-content: space-between;
}

.kbt-coverage h2 {
	margin-block: 0 var(--wp--preset--spacing--20);
}

.kbt-coverage .kbt-lead {
	font-size: var(--wp--preset--font-size--large);
}

.kbt-areas {
	padding: var(--wp--preset--spacing--30);
}

.kbt-areas .kbt-value__title {
	margin-block-end: var(--wp--custom--space--base);
}

.kbt-areas .is-style-kbt-chips li {
	padding: var(--wp--custom--space--tight) var(--wp--custom--space--base);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
}

.kbt-coverage__ask {
	margin-block: var(--wp--preset--spacing--30) var(--wp--preset--spacing--20);
	color: var(--kbt-forest);
	font-size: var(--wp--preset--font-size--large);
}

.wp-block-cover.kbt-dispatch {
	padding: var(--wp--preset--spacing--20);
}

.kbt-dispatch__caption {
	padding: var(--wp--preset--spacing--20);
	border-radius: var(--wp--custom--radius--md);
	background: color-mix(in srgb, var(--kbt-night) 88%, transparent);
	color: color-mix(in srgb, var(--kbt-white) 78%, transparent);
	font-size: var(--wp--preset--font-size--small);
}

.kbt-dispatch__caption > * {
	margin: 0;
}

.kbt-dispatch__caption h3 {
	margin-block-end: var(--wp--custom--space--tight);
	color: var(--kbt-white);
	font-size: var(--wp--preset--font-size--large);
}

/* Blog ---------------------------------------------------------------------- */

/* Three posts to a row (the parent's auto-fill fits four at full width). */
.wp-block-post-template.post-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
	.wp-block-post-template.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.wp-block-post-template.post-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* A post's header is a cover of its featured image (templates/single.html),
   like the page heroes; the parent's photo below it, and the band's overlap
   for that photo, are gone. A post without an image keeps the band's green. */
.single-post .wp-block-cover.kbt-post-hero {
	min-height: 440px;
	padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60);
	background-color: var(--kbt-forest);
}

.single-post .kbt-post-hero .wp-block-cover__inner-container {
	width: 100%;
}

/* The post sits on the page's paper, not cream. */
.single-post .wp-block-cover.kbt-post-hero {
	--kbt-edge: var(--wp--preset--color--paper);
}

.single-post .kbt-post-hero .fwf-page-band__eyebrow,
.single-post .kbt-post-hero .fwf-page-band__eyebrow a {
	color: var(--kbt-gold);
}

.single-post .entry {
	padding-block-start: var(--wp--preset--spacing--50);
}

/* Previous / Next cards on a post (inc/templates.php). Two equal cards; the
   next one mirrors the previous, photo on the outside edge. */
.single-post .entry__footer .post-navigation {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch !important;
	gap: var(--wp--preset--spacing--30);
}

.single-post .kbt-post-nav--next {
	grid-column: 2;
}

.single-post .post-navigation .kbt-post-nav__card {
	display: flex;
	align-items: stretch;
	height: 100%;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--kbt-line);
	border-radius: var(--wp--custom--radius--lg);
	background: var(--kbt-white);
	box-shadow: var(--wp--preset--shadow--sm);
	color: var(--kbt-ink);
	text-align: start;
	text-decoration: none;
	transition: border-color 0.25s ease, box-shadow 0.35s var(--kbt-ease), translate 0.35s var(--kbt-ease);
}

.single-post .kbt-post-nav--next .kbt-post-nav__card {
	flex-direction: row-reverse;
	text-align: end;
}

.single-post .post-navigation .kbt-post-nav__card:hover {
	border-color: color-mix(in srgb, var(--kbt-forest) 35%, var(--kbt-line));
	box-shadow: var(--wp--preset--shadow--md);
}

.kbt-post-nav__media {
	flex: 0 0 38%;
	overflow: hidden;
}

.kbt-post-nav__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 10rem;
	object-fit: cover;
	transition: scale 0.6s var(--kbt-ease);
}

.kbt-post-nav__card:hover .kbt-post-nav__image {
	scale: 1.05;
}

.kbt-post-nav__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	gap: var(--wp--custom--space--tight);
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
}

.kbt-post-nav__label {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--custom--space--tight);
	color: var(--kbt-brown);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 800;
	letter-spacing: var(--wp--custom--tracking--eyebrow);
	text-transform: uppercase;
}

.kbt-post-nav--next .kbt-post-nav__label {
	flex-direction: row-reverse;
	align-self: flex-end;
}

.kbt-post-nav__label::before {
	content: "";
	width: 1em;
	height: 1em;
	background-color: currentColor;
	-webkit-mask: url(../icons/white/chevron-left.svg) center / contain no-repeat;
	mask: url(../icons/white/chevron-left.svg) center / contain no-repeat;
	transition: translate 0.3s var(--kbt-ease);
}

.kbt-post-nav--next .kbt-post-nav__label::before {
	-webkit-mask-image: url(../icons/white/chevron-right.svg);
	mask-image: url(../icons/white/chevron-right.svg);
}

.kbt-post-nav__title {
	color: var(--kbt-forest);
	font-family: var(--wp--preset--font-family--slab);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 700;
	line-height: 1.25;
}

.kbt-post-nav__date {
	color: var(--kbt-muted);
	font-size: var(--wp--preset--font-size--small);
}

@media (prefers-reduced-motion: no-preference) {
	.single-post .post-navigation .kbt-post-nav__card:hover {
		translate: 0 -3px;
	}

	.kbt-post-nav--previous .kbt-post-nav__card:hover .kbt-post-nav__label::before {
		translate: -3px 0;
	}

	.kbt-post-nav--next .kbt-post-nav__card:hover .kbt-post-nav__label::before {
		translate: 3px 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kbt-post-nav__image {
		transition: none;
	}

	.kbt-post-nav__card:hover .kbt-post-nav__image {
		scale: none;
	}
}

@media (max-width: 781px) {
	.single-post .entry__footer .post-navigation {
		grid-template-columns: minmax(0, 1fr);
	}

	.single-post .kbt-post-nav--next {
		grid-column: auto;
	}

	/* Stacked, both cards read the same way: photo first, text from the left. */
	.single-post .kbt-post-nav--next .kbt-post-nav__card {
		flex-direction: row;
		text-align: start;
	}

	.kbt-post-nav--next .kbt-post-nav__label {
		align-self: flex-start;
	}
}

@media (max-width: 480px) {
	.single-post .post-navigation .kbt-post-nav__card,
	.single-post .kbt-post-nav--next .kbt-post-nav__card {
		flex-direction: column;
	}

	.kbt-post-nav__media {
		flex-basis: auto;
		aspect-ratio: 16 / 9;
	}
}

/* Footer -------------------------------------------------------------------- */

.site-footer {
	padding: 0;
	background: none;
}

.kbt-footer {
	background: var(--wp--preset--color--footer);
	color: var(--wp--preset--color--footer-text);
}

body:has(.kbt-estimate__truck) .kbt-footer {
	padding-block-start: calc(var(--wp--custom--truck--drop) - var(--wp--preset--spacing--30));
}

.kbt-footer .kbt-footer__top {
	display: grid;
	grid-template-columns: 1.5fr repeat(4, 1fr);
	gap: var(--wp--preset--spacing--30);
	padding-block: var(--wp--preset--spacing--40);
}

.kbt-footer__logo {
	margin: 0 0 var(--wp--preset--spacing--20);
}

.kbt-footer__logo img {
	width: var(--wp--custom--size--footer-logo);
	height: auto;
}

.kbt-footer__description {
	max-width: var(--wp--custom--measure--narrow);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.6;
}

.kbt-footer .kbt-footer__line {
	margin-block-start: var(--wp--custom--space--tight);
}

.kbt-footer__line p {
	display: flex;
	align-items: center;
	gap: var(--wp--custom--space--tight);
	margin: 0;
	color: var(--kbt-white);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.kbt-footer__line p::before {
	color: var(--kbt-gold-deep);
}

.kbt-footer__line--license { --kbt-icon: url(../icons/white/badge-check.svg); }
.kbt-footer__line--phone { --kbt-icon: url(../icons/white/phone.svg); }

.kbt-footer__line a {
	color: inherit;
	text-decoration: none;
}

.kbt-footer .kbt-footer__title {
	margin: 0 0 var(--wp--custom--space--base);
	color: var(--kbt-white);
	font-family: var(--wp--preset--font-family--slab);
	font-size: var(--wp--preset--font-size--lead);
	font-weight: 700;
	line-height: 1.3;
}

.kbt-footer .kbt-footer__menu .wp-block-navigation__container {
	gap: var(--wp--custom--space--tight);
}

.kbt-footer .kbt-footer__menu .wp-block-navigation-item__content {
	color: var(--wp--preset--color--footer-text);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.4;
	text-decoration: none;
}

.kbt-footer .kbt-footer__menu .wp-block-navigation-item__content:hover {
	color: var(--kbt-white);
}

.kbt-footer__bottom {
	background: var(--wp--preset--color--footer-deep);
	font-size: var(--wp--preset--font-size--x-small);
}

.kbt-footer .kbt-footer__bottom-inner {
	align-items: center;
	gap: var(--wp--custom--space--tight) var(--wp--preset--spacing--30);
	padding-block: var(--wp--preset--spacing--20);
}

.kbt-footer__bottom p {
	margin: 0;
}

.kbt-footer .kbt-footer__legal .wp-block-navigation__container {
	gap: var(--wp--custom--space--base);
}

.kbt-footer .kbt-footer__legal .wp-block-navigation-item__content {
	color: var(--wp--preset--color--footer-text);
	font-size: var(--wp--preset--font-size--x-small);
	text-decoration: none;
}

.kbt-footer .kbt-footer__legal .wp-block-navigation-item__content:hover {
	color: var(--kbt-white);
}

@media (max-width: 960px) {
	.kbt-footer .kbt-footer__top {
		grid-template-columns: repeat(2, 1fr);
	}

	.kbt-footer__brand {
		grid-column: 1 / -1;
	}
}

/* Phones keep the menus two to a row, tighter, so the footer stays short. */
@media (max-width: 560px) {
	.kbt-footer .kbt-footer__top {
		gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--20);
		padding-block: var(--wp--preset--spacing--30);
	}

	.kbt-footer .kbt-footer__title {
		margin-block-end: var(--wp--custom--space--tight);
		font-size: var(--wp--preset--font-size--medium);
	}

	.kbt-footer .kbt-footer__menu .wp-block-navigation__container {
		gap: var(--wp--custom--space--hair);
	}

	.kbt-footer .kbt-footer__menu .wp-block-navigation-item__content {
		font-size: var(--wp--preset--font-size--x-small);
	}

	.kbt-footer .kbt-footer__bottom-inner {
		justify-content: center;
		text-align: center;
	}
}

/* Responsive grids ----------------------------------------------------------- */

@media (max-width: 1100px) {
	.kbt-badges__grid,
	.kbt-projects__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.kbt-reviews__grid,
	.kbt-equipment__cards {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--wp--custom--measure--narrow)), 1fr)) !important;
	}
}

@media (max-width: 781px) {
	:where(.entry__content, .is-root-container) > section.alignfull {
		padding-block: var(--wp--preset--spacing--50);
	}

	.kbt-badges__grid,
	.kbt-projects__grid,
	.kbt-features,
	.kbt-values,
	.kbt-owners__grid,
	.kbt-minis {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.kbt-services__col + .kbt-services__col {
		border-inline-start: 0;
	}

	.is-style-kbt-bar {
		flex-direction: column;
		align-items: flex-start !important;
	}

	.is-style-kbt-frame {
		padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--20) var(--wp--preset--spacing--50);
	}

	/* Stacked, the form card sits where the truck would ride up; it starts below. */
	.kbt-estimate .wp-block-image.kbt-estimate__truck {
		margin-block: calc(-1 * var(--wp--preset--spacing--30)) calc(-1 * var(--wp--preset--spacing--50)) !important;
	}

	body:has(.kbt-estimate__truck) .kbt-footer {
		padding-block-start: var(--wp--preset--spacing--50);
	}

	.is-style-kbt-form-card .gform-theme.gform-theme--framework.gform_wrapper .gform_footer .gform_button.button {
		font-size: var(--wp--preset--font-size--medium);
	}

	.wp-block-cover.is-style-kbt-hero {
		min-height: 0 !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kbt-topbar,
	.kbt-header .kbt-header__inner,
	.kbt-header .kbt-header__logo img,
	.kbt-header .kbt-header__cta .wp-block-button__link {
		transition: none;
	}
}

/* The hero crop suits the form beside it. Stacked, that crop misses the worker. */
@media (max-width: 781px) {
	.kbt-hero .wp-block-cover__image-background {
		object-position: 76% 50% !important;
	}
}
