/* Kearleys Exteriors — premium exterior contractor theme */
:root {
	--charcoal: #111111;
	--black-soft: #171717;
	--copper: #b87345;
	--copper-light: #d28a55;
	--stone: #f1eee8;
	--text-light: #f8f5ef;
	--text-muted: #c9c1b8;
	--font-serif: "Cormorant Garamond", "Times New Roman", serif;
	--font-sans: Inter, system-ui, sans-serif;
	--header-h: 5.25rem;
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text-muted);
	background: var(--charcoal);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--copper-light);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

a:hover {
	color: var(--copper);
}

.ke-inner {
	width: min(112rem, calc(100% - 2rem));
	margin-inline: auto;
}

@media (min-width: 768px) {
	.ke-inner {
		width: min(112rem, calc(100% - 4rem));
	}
}

/* Utilities */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ke-skip-link {
	position: absolute;
	left: 1rem;
	top: -100px;
	z-index: 100000;
	padding: 0.75rem 1.25rem;
	background: var(--copper);
	color: var(--charcoal);
	font-weight: 600;
	border-radius: 2px;
	transition: top 0.2s var(--ease);
}

.ke-skip-link:focus {
	top: 1rem;
	outline: 2px solid var(--text-light);
	outline-offset: 2px;
}

/* Typography */
h1,
h2,
h3,
.ke-h1,
.ke-h2,
.ke-h3 {
	font-family: var(--font-serif);
	font-weight: 600;
	color: var(--text-light);
	line-height: 1.15;
	margin: 0 0 0.75rem;
}

.ke-h1 {
	font-size: clamp(2.25rem, 5vw, 3.75rem);
}

.ke-h2 {
	font-size: clamp(1.85rem, 3.5vw, 2.75rem);
}

.ke-h3 {
	font-size: clamp(1.35rem, 2vw, 1.65rem);
}

.ke-kicker {
	font-size: 0.72rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--copper);
	font-weight: 600;
	margin-bottom: 0.65rem;
	display: block;
	font-family: var(--font-sans);
}

.ke-lead {
	font-size: 1.05rem;
	max-width: 42rem;
	color: var(--text-muted);
}

.ke-lead--on-dark {
	color: var(--text-muted);
}

.ke-lead--on-light {
	color: #4a4540;
}

/* Buttons */
.ke-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.6rem;
	font-family: var(--font-sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 2px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.ke-btn:focus-visible {
	outline: 2px solid var(--copper-light);
	outline-offset: 3px;
}

.ke-btn--primary {
	background: var(--copper);
	color: var(--charcoal);
	border-color: var(--copper);
}

.ke-btn--primary:hover {
	background: var(--copper-light);
	border-color: var(--copper-light);
	color: var(--charcoal);
}

.ke-btn--outline {
	background: transparent;
	color: var(--copper-light);
	border-color: var(--copper);
}

.ke-btn--outline:hover {
	background: rgba(184, 115, 69, 0.12);
	color: var(--text-light);
}

.ke-btn--ghost {
	background: transparent;
	color: var(--text-light);
	border-color: rgba(248, 245, 239, 0.35);
}

.ke-btn--ghost:hover {
	border-color: var(--copper);
	color: var(--copper-light);
}

.ke-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 1.5rem;
}

/* Header */
.ke-header {
	position: sticky;
	top: 0;
	z-index: 900;
	overflow: visible;
	background: rgba(17, 17, 17, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(184, 115, 69, 0.18);
}

.ke-header.is-scrolled {
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.ke-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	height: var(--header-h);
	min-height: var(--header-h);
}

.ke-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	text-decoration: none;
	color: inherit;
}

.ke-logo:hover {
	color: inherit;
}

.ke-logo__img {
	max-height: 4rem;
	width: auto;
	filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5));
}

.ke-logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
}

.ke-logo__line1 {
	font-family: var(--font-serif);
	font-size: 2.7rem;
	font-weight: 600;
	color: var(--copper);
	letter-spacing: 0.02em;
	text-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.ke-logo__line2 {
	font-family: var(--font-sans);
	font-size: 1.44rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--text-light);
	margin-top: 0.15rem;
}

.ke-logo__tag {
	font-size: 1.24rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--text-muted);
	margin-top: 0.35rem;
}

@media (max-width: 959px) {
	.ke-logo__img {
		max-height: clamp(2.5rem, 14vw, 4rem);
	}

	.ke-logo__line1 {
		font-size: clamp(1.65rem, 7vw, 2.7rem);
	}

	.ke-logo__line2 {
		font-size: clamp(0.62rem, 2.8vw, 1.44rem);
	}

	.ke-logo__tag {
		font-size: clamp(0.52rem, 2.4vw, 1.24rem);
	}
}

.ke-nav-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid rgba(184, 115, 69, 0.45);
	background: transparent;
	border-radius: 2px;
	cursor: pointer;
	margin-left: auto;
}

.ke-nav-toggle__bars {
	width: 1.35rem;
	height: 2px;
	background: var(--copper);
	box-shadow: 0 -7px 0 var(--copper), 0 7px 0 var(--copper);
	position: relative;
}

@media (min-width: 960px) {
	.ke-nav-toggle {
		display: none;
	}
}

.ke-nav {
	display: none;
	flex-direction: column;
	align-items: stretch;
	gap: 1rem;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	padding: 1rem 1rem 1.5rem;
	background: var(--black-soft);
	border-bottom: 1px solid rgba(184, 115, 69, 0.2);
}

.ke-nav.is-open {
	display: flex;
}

@media (min-width: 960px) {
	.ke-nav {
		display: flex !important;
		position: static;
		flex-direction: row;
		align-items: center;
		padding: 0;
		background: transparent;
		border: 0;
		gap: 0.25rem;
		flex: 1;
		justify-content: flex-end;
	}
}

.ke-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

@media (min-width: 960px) {
	.ke-nav__list {
		flex-direction: row;
		align-items: center;
		gap: 0.15rem;
		margin-right: 1rem;
	}
}

.ke-nav__list > li > a,
.ke-nav__sub-toggle {
	display: block;
	padding: 0.65rem 0.85rem;
	color: var(--text-light);
	text-decoration: none;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	border: 0;
	background: transparent;
	width: 100%;
	text-align: left;
	cursor: pointer;
	font-family: var(--font-sans);
}

@media (min-width: 960px) {
	.ke-nav__list > li > a,
	.ke-nav__sub-toggle {
		width: auto;
		text-align: center;
	}
}

.ke-nav__list > li > a:hover,
.ke-nav__sub-toggle:hover {
	color: var(--copper-light);
}

.ke-nav__item--has-sub {
	position: relative;
}

.ke-nav__sub {
	list-style: none;
	margin: 0;
	padding: 0 0 0 0.75rem;
	display: none;
}

.ke-nav__sub a {
	display: block;
	padding: 0.45rem 0.85rem;
	color: var(--text-muted);
	text-decoration: none;
	font-size: 0.85rem;
}

.ke-nav__sub a:hover {
	color: var(--copper-light);
}

@media (max-width: 959px) {
	.ke-nav__sub.is-open {
		display: block;
	}
}

@media (min-width: 960px) {
	.ke-nav__sub {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 15rem;
		padding: 0.5rem 0;
		background: var(--black-soft);
		border: 1px solid rgba(184, 115, 69, 0.25);
		box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
		display: none;
		z-index: 50;
	}

	.ke-nav__item--has-sub:hover .ke-nav__sub,
	.ke-nav__item--has-sub:focus-within .ke-nav__sub {
		display: block;
	}

	.ke-nav__sub a {
		padding: 0.55rem 1rem;
		font-size: 0.8rem;
	}
}

.ke-nav__cta {
	text-align: center;
	margin-top: 0.5rem;
}

@media (min-width: 960px) {
	.ke-nav__cta {
		margin-top: 0;
		margin-left: 0.25rem;
	}
}

/* Hero */
.ke-hero {
	position: relative;
	min-height: min(92vh, 52rem);
	display: grid;
	align-items: stretch;
	background: var(--charcoal);
}

.ke-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.ke-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
}

@media (max-width: 639px) {
	.ke-hero__media img {
		object-position: 62% 20%;
	}
}

.ke-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		105deg,
		rgba(17, 17, 17, 0.92) 0%,
		rgba(17, 17, 17, 0.55) 42%,
		rgba(17, 17, 17, 0.35) 100%
	);
	z-index: 1;
}

.ke-hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 2rem;
	align-items: center;
	padding-block: clamp(3rem, 8vw, 6rem);
	width: min(112rem, calc(100% - 2rem));
	margin-inline: auto;
}

@media (min-width: 960px) {
	.ke-hero__grid:not(.ke-hero__grid--simple) {
		grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.95fr);
		width: min(112rem, calc(100% - 4rem));
		gap: 3rem;
	}
}

.ke-hero__grid--simple {
	grid-template-columns: 1fr;
}

.ke-hero__grid--simple .ke-hero__copy {
	max-width: 46rem;
}

@media (min-width: 960px) {
	.ke-hero__grid--simple {
		width: min(112rem, calc(100% - 4rem));
	}
}

.ke-hero__copy .ke-kicker {
	color: var(--copper-light);
}

.ke-hero__location-line {
	margin-top: 1.25rem;
	margin-bottom: 0;
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--copper-light);
	font-weight: 600;
	font-family: var(--font-sans);
}

.ke-hero__services-line {
	margin-top: 0.65rem;
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--copper);
	font-weight: 600;
}

.ke-hero__panel {
	background: rgba(23, 23, 23, 0.82);
	border: 1px solid rgba(184, 115, 69, 0.35);
	border-radius: 4px;
	padding: 1.5rem;
	backdrop-filter: blur(8px);
}

.ke-hero__panel .ke-lead-form__title {
	font-size: 1.35rem;
	margin-bottom: 1rem;
	color: var(--text-light);
	font-family: var(--font-serif);
}

/* Trust bar */
.ke-trust-bar {
	background: var(--black-soft);
	padding-block: 2rem;
	border-top: 1px solid rgba(184, 115, 69, 0.15);
	border-bottom: 1px solid rgba(184, 115, 69, 0.15);
}

.ke-trust-bar__grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.ke-trust-bar__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.ke-trust-bar__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 1rem;
	}
}

@media (min-width: 900px) and (max-width: 1099px) {
	.ke-trust-bar__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.ke-trust-bar__item {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
}

.ke-trust-bar__icon {
	flex-shrink: 0;
	color: var(--copper);
	margin-top: 0.15rem;
}

.ke-trust-bar__item p {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.45;
	color: var(--text-muted);
}

.ke-trust-bar__item strong {
	color: var(--text-light);
	display: block;
	font-size: 0.82rem;
	letter-spacing: 0.03em;
	text-transform: none;
	margin-bottom: 0.15rem;
}

/* Sections */
.ke-section {
	padding-block: clamp(3.5rem, 8vw, 5.5rem);
}

.ke-section--stone {
	background: var(--stone);
	color: #3d3935;
}

.ke-section--stone .ke-h2,
.ke-section--stone .ke-h3 {
	color: var(--charcoal);
}

.ke-section--dark {
	background: var(--charcoal);
}

.ke-section--lead {
	background: var(--black-soft);
	border-top: 1px solid rgba(184, 115, 69, 0.18);
}

.ke-lead-form-section {
	max-width: 44rem;
	margin-inline: auto;
}

.ke-home-gutters .ke-h2 {
	margin-bottom: 1rem;
}

.ke-home-gutters__lead {
	max-width: 46rem;
	margin-bottom: 2rem;
}

.ke-home-regional .ke-h2 {
	margin-bottom: 1rem;
	max-width: 18rem;
	text-wrap: balance;
}

.ke-home-regional .ke-lead {
	max-width: 48rem;
	margin-bottom: 1.5rem;
}

.ke-lead-form__intro {
	margin: 0 0 1.5rem;
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--text-muted);
	max-width: 36rem;
}

.ke-section--lead .ke-lead-form__title {
	font-size: clamp(1.75rem, 3.25vw, 2.35rem);
}

.ke-split {
	display: grid;
	gap: 2.5rem;
	align-items: start;
}

@media (min-width: 900px) {
	.ke-split {
		grid-template-columns: 1fr 1fr;
		gap: 3.5rem;
		align-items: center;
	}
}

/* Gutter cards */
.ke-card-grid {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 640px) {
	.ke-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.ke-gutter-card {
	display: flex;
	flex-direction: column;
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid rgba(184, 115, 69, 0.12);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
	background: #161616;
}

.ke-gutter-card__media {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #1c1c1c;
}

.ke-gutter-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 25%;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ke-gutter-card:hover .ke-gutter-card__media img {
	transform: scale(1.04);
}

.ke-gutter-card__body {
	padding: 1.35rem 1.25rem 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	border-top: 1px solid rgba(184, 115, 69, 0.1);
}

.ke-gutter-card__title {
	font-size: 1.12rem;
	letter-spacing: 0.01em;
	text-transform: none;
	color: var(--copper-light);
	font-weight: 600;
	margin: 0;
	font-family: var(--font-serif);
	line-height: 1.25;
}

.ke-gutter-card__body p {
	margin: 0;
	font-size: 0.94rem;
	color: #c0b8b0;
	line-height: 1.6;
}

.ke-finishes-note {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(17, 17, 17, 0.1);
	font-size: 0.85rem;
	color: #5c564e;
}

.ke-finishes-note svg {
	flex-shrink: 0;
	color: var(--copper);
	margin-top: 0.2rem;
}

/* Gallery mosaic */
.ke-mosaic {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-rows: 13rem;
}

@media (min-width: 700px) {
	.ke-mosaic {
		grid-template-columns: 1.45fr 1fr;
		grid-template-rows: minmax(14rem, 1fr) minmax(11rem, 1fr) minmax(11rem, 1fr);
		grid-auto-rows: unset;
	}
}

.ke-mosaic__cell {
	position: relative;
	overflow: hidden;
	border-radius: 3px;
	border: 1px solid rgba(184, 115, 69, 0.15);
	background: #1a1a1a;
}

.ke-mosaic__cell img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.ke-mosaic__cell:hover img {
	transform: scale(1.05);
}

@media (min-width: 700px) {
	.ke-mosaic__cell--hero {
		grid-column: 1 / 2;
		grid-row: 1 / 3;
		min-height: 28rem;
	}

	.ke-mosaic__cell--hero img {
		object-position: 55% 35%;
	}

	.ke-mosaic__cell--machine {
		grid-column: 2 / 3;
		grid-row: 1 / 2;
	}

	.ke-mosaic__cell--machine img {
		object-position: center 10%;
	}

	.ke-mosaic__cell--a {
		grid-column: 2 / 3;
		grid-row: 2 / 3;
	}

	.ke-mosaic__cell--b {
		grid-column: 1 / 2;
		grid-row: 3 / 4;
	}

	.ke-mosaic__cell--c {
		grid-column: 2 / 3;
		grid-row: 3 / 4;
	}
}

.ke-check-list {
	list-style: none;
	padding: 0;
	margin: 1.25rem 0 0;
}

.ke-check-list li {
	position: relative;
	padding-left: 1.65rem;
	margin-bottom: 0.65rem;
	color: var(--text-muted);
	font-size: 0.98rem;
}

.ke-check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45rem;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 1px;
	background: var(--copper);
	box-shadow: 0 0 0 2px rgba(184, 115, 69, 0.25);
}

.ke-section--stone .ke-check-list li {
	color: #4a4540;
}

.ke-section--stone .ke-check-list li::before {
	background: var(--copper);
	box-shadow: 0 0 0 2px rgba(184, 115, 69, 0.2);
}

.ke-check-list--two-col {
	column-count: 1;
}

@media (min-width: 560px) {
	.ke-check-list--two-col {
		column-count: 2;
		column-gap: 2.5rem;
	}
}

.ke-check-list--two-col li {
	break-inside: avoid;
}

.ke-underdeck-ideal .ke-h2 {
	margin-bottom: 1.25rem;
	max-width: 36rem;
}

.ke-underdeck-ideal .ke-check-list {
	max-width: 36rem;
}

/* Forms */
.ke-lead-form__title {
	margin-top: 0;
}

.ke-form__grid {
	display: grid;
	gap: 1rem;
}

@media (min-width: 560px) {
	.ke-form__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.ke-form__field--full {
	grid-column: 1 / -1;
}

.ke-form__field label {
	display: block;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 0.35rem;
}

.ke-section--stone .ke-form__field label {
	color: #5c564e;
}

.ke-req {
	color: var(--copper-light);
}

.ke-form input[type="text"],
.ke-form input[type="tel"],
.ke-form input[type="email"],
.ke-form select,
.ke-form textarea {
	width: 100%;
	padding: 0.75rem 0.85rem;
	border-radius: 2px;
	border: 1px solid rgba(248, 245, 239, 0.15);
	background: rgba(17, 17, 17, 0.55);
	color: var(--text-light);
	font-family: var(--font-sans);
	font-size: 1rem;
}

.ke-section--stone .ke-form input,
.ke-section--stone .ke-form select,
.ke-section--stone .ke-form textarea {
	background: #fff;
	border-color: rgba(17, 17, 17, 0.15);
	color: var(--charcoal);
}

.ke-form textarea {
	resize: vertical;
	min-height: 6rem;
}

.ke-form__hint {
	display: block;
	font-size: 0.78rem;
	margin-top: 0.35rem;
	opacity: 0.85;
}

.ke-form__submit {
	margin-top: 1rem;
	margin-bottom: 0;
}

.ke-form-notice {
	padding: 0.85rem 1rem;
	border-radius: 2px;
	margin-bottom: 1rem;
	font-size: 0.92rem;
}

.ke-form-notice--success {
	background: rgba(80, 160, 110, 0.2);
	color: #b8e6c8;
	border: 1px solid rgba(80, 160, 110, 0.45);
}

.ke-form-notice--error {
	background: rgba(200, 90, 90, 0.18);
	color: #f0c4c4;
	border: 1px solid rgba(200, 90, 90, 0.45);
}

/* Page shell */
.ke-page-hero {
	padding-block: clamp(2.5rem, 6vw, 4rem);
	background: linear-gradient(180deg, var(--black-soft) 0%, var(--charcoal) 100%);
	border-bottom: 1px solid rgba(184, 115, 69, 0.15);
}

.ke-page-hero__inner {
	max-width: 48rem;
}

.ke-page-body {
	padding-block: clamp(2.5rem, 6vw, 4rem);
}

.ke-content-block {
	max-width: 42rem;
}

.ke-content-block h2 {
	font-family: var(--font-serif);
	font-size: 1.65rem;
	color: var(--text-light);
	margin: 2rem 0 0.75rem;
}

.ke-content-block h2:first-child {
	margin-top: 0;
}

.ke-content-block p {
	margin: 0 0 1rem;
}

.ke-content-block--on-light p {
	color: #4a4540;
	line-height: 1.75;
}

.ke-content-block--on-light p:last-child {
	margin-bottom: 0;
}

/* About page */
.ke-about-intro .ke-content-block {
	margin-bottom: 2.5rem;
}

.ke-about-craft-row {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

@media (min-width: 700px) {
	.ke-about-craft-row {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.25rem;
	}
}

.ke-about-craft-row__item {
	margin: 0;
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid rgba(17, 17, 17, 0.1);
	background: #e8e4dc;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

.ke-about-craft-row__item img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.ke-about-apart__heading {
	text-align: center;
	max-width: 40rem;
	margin-inline: auto;
	margin-bottom: 2.5rem;
}

.ke-about-apart-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.ke-about-apart-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.ke-about-apart-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.ke-about-card {
	display: flex;
	flex-direction: column;
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid rgba(184, 115, 69, 0.22);
	background: var(--black-soft);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.ke-about-card__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #222;
}

.ke-about-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ke-about-card__body {
	padding: 1.35rem 1.25rem 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.ke-about-card__title {
	font-family: var(--font-serif);
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--copper-light);
	margin: 0;
	line-height: 1.25;
}

.ke-about-card__body p {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--text-muted);
}

.ke-about-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1.25rem;
	padding-block: 0.25rem;
}

.ke-about-cta__label {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(1.5rem, 2.5vw, 1.85rem);
	font-weight: 600;
	color: var(--charcoal);
}

/* Services page */
.ke-services-intro {
	margin: 0 auto;
	max-width: 46rem;
	font-size: 1.08rem;
	line-height: 1.75;
	color: #4a4540;
	text-align: center;
}

.ke-related-links {
	margin: 1rem auto 0;
	max-width: 46rem;
	text-align: center;
	font-size: 1.08rem;
	line-height: 1.75;
	color: #4a4540;
}

.ke-related-links a {
	color: var(--charcoal);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: rgba(184, 115, 69, 0.55);
	text-underline-offset: 0.15em;
}

.ke-related-links a:hover {
	color: #2a2622;
	text-decoration-color: var(--copper);
}

.ke-related-links--after-categories {
	margin-top: 1.5rem;
	max-width: none;
}

.ke-services-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.ke-services-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.ke-services-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.ke-service-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid rgba(184, 115, 69, 0.22);
	background: var(--black-soft);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.ke-service-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #222;
}

.ke-service-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ke-service-card__body {
	padding: 1.35rem 1.35rem 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.ke-service-card__title {
	font-family: var(--font-serif);
	font-size: 1.28rem;
	font-weight: 600;
	color: var(--text-light);
	margin: 0;
	line-height: 1.2;
}

.ke-service-card__text {
	margin: 0;
	flex: 1;
	font-size: 0.94rem;
	line-height: 1.6;
	color: var(--text-muted);
}

.ke-service-card__actions {
	margin-top: 1.25rem;
	padding-top: 0.15rem;
}

.ke-services-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1.25rem;
	padding-block: 0.25rem;
}

.ke-services-cta__label {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(1.5rem, 2.5vw, 1.85rem);
	font-weight: 600;
	color: var(--charcoal);
}

/* Seamless gutters SEO landing */
.ke-landing-intro {
	margin: 0 auto;
	max-width: 48rem;
	font-size: 1.08rem;
	line-height: 1.75;
	color: #4a4540;
	text-align: center;
}

.ke-landing-intro--stack {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
}

.ke-landing-intro--stack p {
	margin: 0;
	font-size: 1.08rem;
	line-height: 1.75;
	color: #4a4540;
	text-align: center;
}

.ke-landing-split {
	display: grid;
	gap: 2rem;
	align-items: center;
	margin-bottom: clamp(2.75rem, 5vw, 4rem);
	padding-bottom: clamp(2.75rem, 5vw, 4rem);
	border-bottom: 1px solid rgba(184, 115, 69, 0.15);
}

.ke-landing-split:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

@media (min-width: 900px) {
	.ke-landing-split {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 3rem;
	}
}

.ke-landing-split__title {
	color: var(--text-light);
	margin: 0 0 0.75rem;
	font-size: clamp(1.35rem, 2.2vw, 1.65rem);
}

.ke-landing-split__copy {
	margin: 0;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text-muted);
}

.ke-landing-split__media {
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid rgba(184, 115, 69, 0.25);
	background: #222;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.ke-landing-split__media img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

@media (min-width: 900px) {
	.ke-landing-split__text {
		order: 1;
	}

	.ke-landing-split__media {
		order: 2;
	}

	.ke-landing-split--flip .ke-landing-split__text {
		order: 2;
	}

	.ke-landing-split--flip .ke-landing-split__media {
		order: 1;
	}
}

.ke-gutter-landing-cta__inner,
.ke-landing-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1.25rem;
	padding-block: 0.25rem;
}

.ke-gutter-landing-cta__label,
.ke-landing-cta__label {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 600;
	color: var(--charcoal);
	max-width: 28rem;
	line-height: 1.35;
}

.ke-faq__inner {
	max-width: 44rem;
	margin-inline: auto;
}

.ke-faq__title {
	text-align: center;
	margin-bottom: 2rem;
}

.ke-faq__list {
	margin: 0;
	padding: 0;
}

.ke-faq__item {
	margin: 0;
	padding: 1.35rem 0;
	border-bottom: 1px solid rgba(184, 115, 69, 0.18);
}

.ke-faq__item:first-child {
	padding-top: 0;
}

.ke-faq__item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.ke-faq__question {
	margin: 0 0 0.65rem;
	font-family: var(--font-sans);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text-light);
	line-height: 1.45;
}

.ke-faq__answer {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--text-muted);
}

.ke-inline-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

/* CTA strip */
.ke-cta-strip {
	background: var(--black-soft);
	padding-block: 2.5rem;
	border-top: 1px solid rgba(184, 115, 69, 0.2);
}

.ke-cta-strip__inner {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	align-items: flex-start;
}

@media (min-width: 768px) {
	.ke-cta-strip__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.ke-cta-strip__text {
	margin: 0;
	font-family: var(--font-serif);
	font-size: 1.35rem;
	color: var(--text-light);
	max-width: 28rem;
}

.ke-cta-strip__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* Contact layout */
.ke-contact-layout {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 900px) {
	.ke-contact-layout {
		grid-template-columns: 1fr 1.05fr;
		align-items: start;
	}
}

.ke-contact-card {
	background: var(--black-soft);
	border: 1px solid rgba(184, 115, 69, 0.22);
	border-radius: 4px;
	padding: 1.75rem;
}

.ke-contact-card h2 {
	font-family: var(--font-serif);
	font-size: 1.5rem;
	color: var(--text-light);
	margin: 0 0 1rem;
}

.ke-contact-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ke-contact-links li {
	margin-bottom: 0.65rem;
}

.ke-contact-links a {
	color: var(--copper-light);
	font-weight: 600;
	text-decoration: none;
}

.ke-contact-links a:hover {
	text-decoration: underline;
}

.ke-contact-page-intro {
	margin: 0 auto;
	max-width: 44rem;
	font-size: 1.08rem;
	line-height: 1.75;
	color: #4a4540;
	text-align: center;
}

.ke-contact-card--info .ke-contact-info__name {
	font-family: var(--font-serif);
	font-size: 1.65rem;
	font-weight: 600;
	color: var(--copper-light);
	margin: 0 0 1.15rem;
	line-height: 1.2;
}

.ke-contact-info__line {
	margin: 0 0 0.85rem;
	font-size: 0.98rem;
	line-height: 1.6;
	color: var(--text-muted);
}

.ke-contact-info__contact {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.ke-contact-info__contact-link {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	color: var(--text-light);
	text-decoration: none;
	font-size: 1rem;
	font-weight: 500;
	transition: color 0.2s;
}

.ke-contact-info__contact-link:hover {
	color: var(--copper-light);
}

.ke-contact-info__contact-icon {
	font-size: 0.9rem;
	flex-shrink: 0;
}

.ke-contact-info__links {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 0;
}

.ke-contact-info__links li {
	margin-bottom: 0.55rem;
}

.ke-contact-info__links a {
	color: var(--copper-light);
	font-weight: 600;
	text-decoration: none;
	font-size: 0.9rem;
}

.ke-contact-info__links a:hover {
	text-decoration: underline;
}

.ke-contact-trust {
	margin: 3rem auto 0;
	padding-top: 2rem;
	max-width: 38rem;
	border-top: 1px solid rgba(184, 115, 69, 0.2);
	text-align: center;
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--text-muted);
	font-style: italic;
	text-wrap: balance;
}

/* Projects grid */
.ke-projects-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
	.ke-projects-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.ke-project-thumb {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 4px;
	border: 1px solid rgba(184, 115, 69, 0.2);
	background: #222;
}

.ke-project-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Project gallery — masonry (columns) */
.ke-gallery-categories-heading {
	font-family: var(--font-serif);
	font-size: clamp(1.35rem, 2.5vw, 1.65rem);
	font-weight: 600;
	color: var(--charcoal);
	margin: 0 0 1.25rem;
}

.ke-gallery-categories-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.ke-gallery-categories-list li {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--copper);
	padding: 0.5rem 0.95rem;
	border: 1px solid rgba(184, 115, 69, 0.4);
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.55);
}

.ke-gallery-masonry {
	column-count: 1;
	column-gap: 1.25rem;
}

@media (min-width: 768px) {
	.ke-gallery-masonry {
		column-count: 2;
		column-gap: 1.35rem;
	}
}

@media (min-width: 1200px) {
	.ke-gallery-masonry {
		column-count: 3;
		column-gap: 1.5rem;
	}
}

.ke-gallery-card {
	display: inline-block;
	width: 100%;
	vertical-align: top;
	margin-bottom: 1.25rem;
	break-inside: avoid;
	page-break-inside: avoid;
	-webkit-column-break-inside: avoid;
	background: var(--black-soft);
	border: 1px solid rgba(184, 115, 69, 0.22);
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.ke-gallery-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #222;
}

.ke-gallery-card__media--tall {
	aspect-ratio: 3 / 4;
}

.ke-gallery-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ke-gallery-card__meta {
	padding: 1.1rem 1.15rem 1.25rem;
}

.ke-gallery-card__category {
	display: block;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--copper);
	margin-bottom: 0.45rem;
	font-family: var(--font-sans);
}

.ke-gallery-card__title {
	font-family: var(--font-serif);
	font-size: 1.08rem;
	font-weight: 600;
	color: var(--text-light);
	margin: 0 0 0.35rem;
	line-height: 1.3;
}

.ke-gallery-card__title a {
	color: inherit;
	text-decoration: none;
}

.ke-gallery-card__title a:hover {
	color: var(--copper-light);
}

.ke-gallery-card__location {
	margin: 0;
	font-size: 0.82rem;
	color: var(--text-muted);
	letter-spacing: 0.02em;
}

/* Service areas */
.ke-service-areas-overview .ke-landing-intro {
	margin-bottom: 2.5rem;
}

.ke-service-areas-block {
	margin-bottom: 2.25rem;
}

.ke-service-areas-block:last-of-type {
	margin-bottom: 1.75rem;
}

.ke-service-areas-block__title {
	font-family: var(--font-serif);
	font-size: clamp(1.35rem, 2.5vw, 1.65rem);
	font-weight: 600;
	color: var(--charcoal);
	margin: 0 0 1rem;
}

.ke-service-areas-counties {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
	max-width: 28rem;
}

@media (min-width: 560px) {
	.ke-service-areas-counties {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 36rem;
	}
}

.ke-service-areas-counties li {
	font-size: 1rem;
	font-weight: 600;
	color: #3d3935;
	padding: 0.65rem 1rem;
	border-left: 3px solid var(--copper);
	background: rgba(255, 255, 255, 0.55);
	border-radius: 0 2px 2px 0;
}

.ke-service-areas-communities {
	max-width: 40rem;
}

.ke-service-areas-travel {
	margin: 0;
	padding: 1.25rem 1.35rem;
	font-size: 1.02rem;
	line-height: 1.65;
	color: #4a4540;
	background: rgba(184, 115, 69, 0.1);
	border: 1px solid rgba(184, 115, 69, 0.28);
	border-radius: 4px;
	max-width: 48rem;
}

.ke-service-areas-seo__inner {
	max-width: 46rem;
	margin-inline: auto;
}

.ke-location-seo-block {
	padding: 2rem 0;
	border-bottom: 1px solid rgba(184, 115, 69, 0.18);
}

.ke-location-seo-block:first-child {
	padding-top: 0;
}

.ke-location-seo-block:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.ke-location-seo-block__title {
	font-family: var(--font-serif);
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 600;
	color: var(--text-light);
	margin: 0 0 0.85rem;
	line-height: 1.2;
}

.ke-location-seo-block__copy {
	margin: 0;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text-muted);
}

/* Footer */
.ke-footer {
	background: #0a0a0a;
	padding-block: 3rem 1rem;
	border-top: 1px solid rgba(184, 115, 69, 0.2);
}

.ke-footer__inner {
	display: grid;
	gap: 2rem;
}

@media (min-width: 768px) {
	.ke-footer__inner {
		grid-template-columns: 1.2fr 2fr auto;
		align-items: start;
	}
}

.ke-footer__name {
	font-family: var(--font-serif);
	font-size: 1.35rem;
	color: var(--copper);
	margin: 0 0 0.5rem;
}

.ke-footer__tag {
	margin: 0;
	font-size: 0.92rem;
	color: var(--text-muted);
	max-width: 22rem;
}

.ke-footer__cols {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 480px) {
	.ke-footer__cols {
		grid-template-columns: repeat(2, 1fr);
	}
}

.ke-footer__label {
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--copper);
	font-weight: 700;
	margin: 0 0 0.35rem;
}

.ke-footer__meta {
	margin: 0;
	font-size: 0.85rem;
	color: var(--text-muted);
	line-height: 1.5;
}

.ke-footer__cta-wrap {
	display: flex;
	align-items: flex-start;
}

.ke-footer__legal {
	font-size: 0.78rem;
	color: rgba(201, 193, 184, 0.45);
	text-align: center;
	padding-top: 2rem;
	margin-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Mobile-friendly CTA rows */
@media (max-width: 959px) {
	.ke-btn-row {
		flex-direction: column;
		align-items: stretch;
	}

	.ke-btn-row > .ke-btn {
		width: 100%;
		justify-content: center;
		text-align: center;
	}

	/* Hero: sticky bar already shows Request Estimate full-width */
	.ke-btn--hide-when-mobile-sticky {
		display: none !important;
	}

	/* Hero: remaining CTA (e.g. View Projects) — natural button width, centered */
	.ke-hero .ke-btn-row {
		align-items: center;
	}

	.ke-hero .ke-btn-row > .ke-btn {
		width: auto;
		max-width: 100%;
		align-self: center;
	}
}

/* Gallery / service cards — hover polish */
.ke-gallery-card {
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ke-gallery-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 22px 56px rgba(0, 0, 0, 0.45);
	border-color: rgba(184, 115, 69, 0.45);
}

.ke-service-card {
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ke-service-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 22px 56px rgba(0, 0, 0, 0.42);
	border-color: rgba(184, 115, 69, 0.45);
}

.ke-gutter-card {
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ke-gutter-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
	border-color: rgba(184, 115, 69, 0.35);
}

/* Lead form inline validation */
.ke-form__field--error input,
.ke-form__field--error select,
.ke-form__field--error textarea {
	border-color: rgba(220, 120, 120, 0.85) !important;
	box-shadow: 0 0 0 1px rgba(220, 120, 120, 0.35);
}

.ke-section--stone .ke-form__field--error input,
.ke-section--stone .ke-form__field--error select,
.ke-section--stone .ke-form__field--error textarea {
	border-color: rgba(180, 70, 70, 0.85) !important;
}

.ke-form__inline-error {
	margin: 0.35rem 0 0;
	font-size: 0.82rem;
	color: #f0b4b4;
	line-height: 1.35;
}

.ke-section--stone .ke-form__inline-error {
	color: #a03838;
}

/* Footer internal links */
.ke-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1.15rem;
	margin-top: 1.25rem;
}

.ke-footer__nav a {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-muted);
	text-decoration: none;
}

.ke-footer__nav a:hover {
	color: var(--copper-light);
}

/* Homepage: more gutter / service cards on wide screens */
@media (min-width: 960px) {
	.ke-home-gutters .ke-card-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Single project hero with featured image */
.ke-page-hero--has-bg {
	position: relative;
	overflow: hidden;
	min-height: clamp(14rem, 38vw, 22rem);
	padding-block: clamp(2rem, 5vw, 3.5rem);
}

.ke-page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.ke-page-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ke-page-hero__bg-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		105deg,
		rgba(17, 17, 17, 0.92) 0%,
		rgba(17, 17, 17, 0.65) 45%,
		rgba(17, 17, 17, 0.45) 100%
	);
	z-index: 1;
}

.ke-page-hero--has-bg .ke-page-hero__inner {
	position: relative;
	z-index: 2;
}

.ke-single-project__terms {
	margin: 0.35rem 0 0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--copper-light);
}

.ke-gallery-empty {
	text-align: center;
	max-width: 36rem;
	margin: 0 auto 1rem;
	color: var(--text-muted);
	line-height: 1.6;
}

.ke-gallery-empty-cta {
	text-align: center;
	margin: 0;
}

.ke-entry-content {
	font-size: 1.05rem;
	line-height: 1.75;
	color: #3a3632;
}

.ke-entry-content > *:first-child {
	margin-top: 0;
}

.ke-single-project__actions {
	margin-top: 2rem;
}

/* Mobile sticky lead bar */
.ke-mobile-sticky {
	display: none;
}

@media (max-width: 959px) {
	body.ke-has-mobile-sticky {
		padding-bottom: 4.35rem;
	}

	.ke-mobile-sticky {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.5rem;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 950;
		padding: 0.5rem 0.65rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
		background: rgba(17, 17, 17, 0.96);
		border-top: 1px solid rgba(184, 115, 69, 0.35);
		box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
	}

	.ke-mobile-sticky--estimate-only {
		grid-template-columns: 1fr;
	}

	.ke-mobile-sticky__btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 2.85rem;
		padding: 0 0.75rem;
		font-size: 0.72rem;
		font-weight: 700;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		text-decoration: none;
		border-radius: 2px;
		border: 1px solid rgba(184, 115, 69, 0.55);
		text-align: center;
	}

	.ke-mobile-sticky__btn--call {
		background: transparent;
		color: var(--copper-light);
	}

	.ke-mobile-sticky__btn--call:hover {
		background: rgba(184, 115, 69, 0.12);
		color: var(--text-light);
	}

	.ke-mobile-sticky__btn--estimate {
		background: linear-gradient(180deg, var(--copper-light), var(--copper));
		color: #121212;
		border-color: transparent;
		font-weight: 800;
	}

	.ke-mobile-sticky__btn--estimate:hover {
		filter: brightness(1.06);
		color: #0b0b0b;
	}
}

/* ── Header phone ────────────────────────────────────────── */
.ke-header__phone {
	display: none;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--copper-light);
	text-decoration: none;
	white-space: nowrap;
	margin-left: auto;
	padding: 0.25rem 0.5rem;
	border: 1px solid rgba(184, 115, 69, 0.3);
	border-radius: 2px;
	transition: color 0.18s, border-color 0.18s;
}

.ke-header__phone:hover {
	color: var(--text-light);
	border-color: rgba(184, 115, 69, 0.6);
}

@media (min-width: 960px) {
	.ke-header__phone {
		display: inline-flex;
		align-items: center;
	}
}

/* ── Footer contact links ─────────────────────────────────── */
.ke-footer__contact-link {
	color: var(--text-muted);
	text-decoration: none;
	transition: color 0.18s;
}

.ke-footer__contact-link:hover {
	color: var(--copper-light);
}

/* Footer cols: allow 3 cols on wider screens */
@media (min-width: 720px) {
	.ke-footer__cols {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ── Homepage polish ─────────────────────────────────────── */

/* Mobile: tighter section padding so content breathes without excess space */
@media (max-width: 639px) {
	.ke-section {
		padding-block: clamp(2.5rem, 8vw, 3.5rem);
	}

	/* Single-column card grid — reduce gap on narrow screens */
	.ke-card-grid {
		gap: 0.85rem;
	}

	/* Taller mosaic cells on mobile so images aren't thumbnail-sized */
	.ke-mosaic {
		grid-auto-rows: 14rem;
		gap: 0.4rem;
	}

	/* Give the gutter card body a bit less horizontal padding */
	.ke-gutter-card__body {
		padding: 1.1rem 1rem 1.25rem;
	}

	/* Section intro text: slightly smaller on mobile so it doesn't dominate */
	.ke-home-gutters__lead,
	.ke-home-regional .ke-lead {
		font-size: 0.98rem;
	}
}

/* Tablet (640–899): 2-col cards, reasonable mosaic height */
@media (min-width: 640px) and (max-width: 899px) {
	.ke-mosaic {
		grid-auto-rows: 15rem;
	}
}

/* Large screens: cap card grid at 3 columns so cards aren't too wide */
@media (min-width: 1100px) {
	.ke-card-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Honeypot spam field — visually hidden, accessible to bots */
.ke-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.ke-testimonials__heading {
	text-align: center;
	margin-bottom: 2.5rem;
}

.ke-testimonials__grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}

@media (min-width: 720px) {
	.ke-testimonials__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.ke-testimonial-card {
	margin: 0;
	padding: 1.75rem;
	background: var(--black-soft);
	border: 1px solid rgba(184, 115, 69, 0.2);
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.ke-testimonial-card__quote {
	margin: 0;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--text-muted);
	font-style: italic;
	flex: 1;
}

.ke-testimonial-card__quote::before {
	content: '\201C';
	color: var(--copper);
	font-size: 1.4em;
	line-height: 0;
	vertical-align: -0.25em;
	margin-right: 0.15em;
}

.ke-testimonial-card__footer {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	border-top: 1px solid rgba(184, 115, 69, 0.15);
	padding-top: 0.85rem;
}

.ke-testimonial-card__name {
	font-style: normal;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--text-light);
	letter-spacing: 0.03em;
}

.ke-testimonial-card__meta {
	font-size: 0.8rem;
	color: var(--copper-light);
	opacity: 0.8;
}

/* Compact variant for contact page */
.ke-contact-testimonials {
	display: grid;
	gap: 1rem;
	margin: 2rem 0 1.5rem;
}

@media (min-width: 720px) {
	.ke-contact-testimonials {
		grid-template-columns: repeat(2, 1fr);
	}
}

.ke-testimonial-card--compact {
	padding: 1.25rem 1.5rem;
}

.ke-testimonial-card--compact .ke-testimonial-card__quote {
	font-size: 0.93rem;
}

/* ==========================================================================
   Contractor Dashboard
   ========================================================================== */

.ke-dashboard {
	min-height: 70vh;
	background: var(--charcoal);
}

/* ── Login box ── */
.ke-dashboard__login-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 80vh;
	padding: 2rem 1rem;
}

.ke-dashboard__login-box {
	width: 100%;
	max-width: 420px;
	background: var(--black-soft);
	border: 1px solid rgba(184, 115, 69, 0.25);
	border-radius: 6px;
	padding: 2.5rem 2rem;
	text-align: center;
}

.ke-dashboard__login-logo {
	margin-bottom: 1.5rem;
}

.ke-dashboard__login-logo img {
	max-height: 72px;
	width: auto;
}

.ke-dashboard__login-title {
	font-family: var(--font-serif);
	font-size: 1.5rem;
	color: var(--text-light);
	margin: 0 0 0.5rem;
}

.ke-dashboard__login-sub {
	color: var(--text-muted);
	font-size: 0.93rem;
	margin: 0 0 1.75rem;
}

/* WordPress login form inside the box */
.ke-dashboard__login-box #loginform {
	text-align: left;
}

.ke-dashboard__login-box .login-username,
.ke-dashboard__login-box .login-password {
	margin-bottom: 1rem;
}

.ke-dashboard__login-box label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-muted);
	margin-bottom: 0.35rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ke-dashboard__login-box input[type="text"],
.ke-dashboard__login-box input[type="password"] {
	width: 100%;
	background: var(--charcoal);
	border: 1px solid rgba(184, 115, 69, 0.3);
	border-radius: 4px;
	padding: 0.75rem 1rem;
	color: var(--text-light);
	font-size: 1rem;
	outline: none;
	transition: border-color 0.2s;
	box-sizing: border-box;
}

.ke-dashboard__login-box input[type="text"]:focus,
.ke-dashboard__login-box input[type="password"]:focus {
	border-color: var(--copper);
}

.ke-dashboard__login-box input[type="submit"] {
	width: 100%;
	background: var(--copper);
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 0.85rem 1rem;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	margin-top: 0.5rem;
	letter-spacing: 0.04em;
	transition: background 0.2s;
}

.ke-dashboard__login-box input[type="submit"]:hover {
	background: var(--copper-light);
}

.ke-dashboard__login-box .login-remember {
	display: none;
}

/* ── Dashboard header bar ── */
.ke-dashboard__header {
	background: var(--black-soft);
	border-bottom: 1px solid rgba(184, 115, 69, 0.2);
	padding: 0.9rem 0;
}

.ke-dashboard__header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.ke-dashboard__welcome {
	font-size: 0.95rem;
	color: var(--text-muted);
}

.ke-dashboard__welcome strong {
	color: var(--text-light);
}

.ke-dashboard__logout {
	font-size: 0.85rem;
	color: var(--copper-light);
	text-decoration: none;
	border: 1px solid rgba(184, 115, 69, 0.35);
	padding: 0.3rem 0.8rem;
	border-radius: 3px;
	transition: background 0.2s, color 0.2s;
}

.ke-dashboard__logout:hover {
	background: var(--copper);
	color: #fff;
	border-color: transparent;
}

/* ── Dashboard body ── */
.ke-dashboard__body {
	padding-top: 2rem;
	padding-bottom: 4rem;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

/* ── Dashboard cards ── */
.ke-dashboard-card {
	background: var(--black-soft);
	border: 1px solid rgba(184, 115, 69, 0.2);
	border-radius: 6px;
	padding: 2rem;
}

.ke-dashboard-card__title {
	font-family: var(--font-serif);
	font-size: 1.35rem;
	color: var(--text-light);
	margin: 0 0 0.4rem;
}

.ke-dashboard-card__sub {
	color: var(--text-muted);
	font-size: 0.9rem;
	margin: 0 0 1.75rem;
}

/* ── Project form ── */
.ke-project-form__grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr;
}

@media (min-width: 600px) {
	.ke-project-form__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.ke-project-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.ke-project-form__field--full {
	grid-column: 1 / -1;
}

.ke-project-form__field label {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.ke-project-form__field input[type="text"],
.ke-project-form__field input[type="month"],
.ke-project-form__field textarea {
	background: var(--charcoal);
	border: 1px solid rgba(184, 115, 69, 0.28);
	border-radius: 4px;
	padding: 0.75rem 1rem;
	color: var(--text-light);
	font-size: 1rem;
	font-family: var(--font-sans);
	outline: none;
	transition: border-color 0.2s;
	width: 100%;
	box-sizing: border-box;
}

.ke-project-form__field input:focus,
.ke-project-form__field textarea:focus {
	border-color: var(--copper);
}

.ke-project-form__field textarea {
	resize: vertical;
	min-height: 100px;
}

/* Checkboxes */
.ke-project-form__checkboxes {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1rem;
	margin-top: 0.25rem;
}

.ke-project-form__checkbox {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	cursor: pointer;
	font-size: 0.9rem;
	color: var(--text-muted);
}

.ke-project-form__checkbox input[type="checkbox"] {
	width: 1rem;
	height: 1rem;
	accent-color: var(--copper);
	cursor: pointer;
}

.ke-project-form__checkbox:has(input:checked) span {
	color: var(--text-light);
}

/* Photo drop zone */
.ke-photo-drop {
	position: relative;
	border: 2px dashed rgba(184, 115, 69, 0.35);
	border-radius: 6px;
	min-height: 120px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: border-color 0.2s;
	overflow: hidden;
}

.ke-photo-drop:has(.ke-photo-drop__input:focus) {
	border-color: var(--copper);
}

.ke-photo-drop__input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	width: 100%;
	height: 100%;
}

.ke-photo-drop__label {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	padding: 2rem 1rem;
	pointer-events: none;
}

.ke-photo-drop__icon {
	font-size: 2rem;
}

.ke-photo-drop__text {
	color: var(--text-light);
	font-weight: 600;
	font-size: 0.95rem;
}

.ke-photo-drop__hint {
	color: var(--text-muted);
	font-size: 0.8rem;
}

.ke-photo-drop__previews {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0.75rem;
	width: 100%;
	box-sizing: border-box;
}

.ke-photo-preview {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid rgba(184, 115, 69, 0.25);
}

/* Submit row */
.ke-project-form__actions {
	margin-top: 1.5rem;
}

.ke-project-submit__spinner {
	display: inline-block;
	width: 1em;
	height: 1em;
	border: 2px solid rgba(255,255,255,0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: ke-spin 0.7s linear infinite;
	vertical-align: middle;
	margin-left: 0.5em;
}

.ke-project-submit__spinner[hidden] {
	display: none !important;
}

@keyframes ke-spin {
	to { transform: rotate(360deg); }
}

/* Form messages */
.ke-project-form__msg {
	margin-top: 1rem;
	padding: 0.85rem 1rem;
	border-radius: 4px;
	font-size: 0.95rem;
	font-weight: 500;
}

.ke-project-form__msg--ok {
	background: rgba(80, 160, 80, 0.15);
	border: 1px solid rgba(80, 160, 80, 0.4);
	color: #8fd98f;
}

.ke-project-form__msg--err {
	background: rgba(180, 60, 60, 0.15);
	border: 1px solid rgba(180, 60, 60, 0.35);
	color: #e89090;
}

/* ── Projects list ── */
.ke-projects-list__loading,
.ke-projects-list__empty {
	color: var(--text-muted);
	font-size: 0.93rem;
}

.ke-projects-list__ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.ke-projects-list__item {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	background: var(--charcoal);
	border: 1px solid rgba(184, 115, 69, 0.15);
	border-radius: 4px;
	padding: 0.75rem 1rem;
}

.ke-projects-list__thumb {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 3px;
	flex-shrink: 0;
}

.ke-projects-list__info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.ke-projects-list__title {
	color: var(--text-light);
	font-size: 0.95rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ke-projects-list__meta {
	color: var(--text-muted);
	font-size: 0.8rem;
}

/* Status badges */
.ke-status-badge {
	flex-shrink: 0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.25em 0.65em;
	border-radius: 3px;
}

.ke-status-badge--publish {
	background: rgba(80, 160, 80, 0.2);
	color: #8fd98f;
	border: 1px solid rgba(80, 160, 80, 0.35);
}

.ke-status-badge--pending {
	background: rgba(184, 115, 69, 0.2);
	color: var(--copper-light);
	border: 1px solid rgba(184, 115, 69, 0.35);
}

.ke-status-badge--draft {
	background: rgba(255, 255, 255, 0.07);
	color: var(--text-muted);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   Public review form (/share-your-experience/)
   ========================================================================== */

.ke-review-wrap {
	max-width: 640px;
}

.ke-review-intro {
	color: var(--text-muted);
	font-size: 0.97rem;
	line-height: 1.65;
	margin: 0 0 2rem;
}

.ke-review-form__grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr;
}

@media (min-width: 560px) {
	.ke-review-form__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.ke-review-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.ke-review-form__field--full {
	grid-column: 1 / -1;
}

.ke-review-form__field label {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.ke-review-form__field input[type="text"],
.ke-review-form__field input[type="email"],
.ke-review-form__field select,
.ke-review-form__field textarea {
	background: var(--black-soft);
	border: 1px solid rgba(184, 115, 69, 0.28);
	border-radius: 4px;
	padding: 0.75rem 1rem;
	color: var(--text-light);
	font-size: 1rem;
	font-family: var(--font-sans);
	outline: none;
	transition: border-color 0.2s;
	width: 100%;
	box-sizing: border-box;
}

.ke-review-form__field select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b87345' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.5rem;
	cursor: pointer;
}

.ke-review-form__field input:focus,
.ke-review-form__field select:focus,
.ke-review-form__field textarea:focus {
	border-color: var(--copper);
}

.ke-review-form__field select option {
	background: var(--charcoal);
	color: var(--text-light);
}

.ke-review-form__field textarea {
	resize: vertical;
	min-height: 130px;
}

.ke-review-form__actions {
	margin-top: 1.5rem;
}

.ke-review-submit__spinner[hidden] {
	display: none !important;
}

.ke-review-submit__spinner {
	display: inline-block;
	width: 1em;
	height: 1em;
	border: 2px solid rgba(255,255,255,0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: ke-spin 0.7s linear infinite;
	vertical-align: middle;
	margin-left: 0.5em;
}

/* Success state */
.ke-review-success {
	text-align: center;
	padding: 3rem 1rem;
}

.ke-review-success__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: rgba(80, 160, 80, 0.15);
	border: 2px solid rgba(80, 160, 80, 0.4);
	color: #8fd98f;
	font-size: 1.5rem;
	margin-bottom: 1.25rem;
}

.ke-review-success__title {
	font-family: var(--font-serif);
	font-size: 2rem;
	color: var(--text-light);
	margin: 0 0 0.75rem;
}

.ke-review-success__body {
	color: var(--text-muted);
	font-size: 1rem;
	line-height: 1.7;
	max-width: 36rem;
	margin: 0 auto;
}

/* Review request form in dashboard — email input type */
.ke-review-request-form input[type="email"] {
	background: var(--charcoal);
	border: 1px solid rgba(184, 115, 69, 0.28);
	border-radius: 4px;
	padding: 0.75rem 1rem;
	color: var(--text-light);
	font-size: 1rem;
	font-family: var(--font-sans);
	outline: none;
	transition: border-color 0.2s;
	width: 100%;
	box-sizing: border-box;
}

.ke-review-request-form input[type="email"]:focus {
	border-color: var(--copper);
}
