/* Hoyer Painting: 2026 charcoal & linen brand on top of Twenty Twenty-Five */

:root {
	--hp-black: #141413;
	--hp-charcoal: #1F1F1E;
	--hp-graphite: #3A3936;
	--hp-stone: #6E6B65;
	--hp-taupe: #9A968E;
	--hp-greige: #C9C5BC;
	--hp-line: #DAD7D0;
	--hp-fog: #ECEAE5;
	--hp-linen: #F6F5F2;
	--hp-on-dark: #D9D6CF;
	--hp-serif: var(--wp--preset--font-family--hoyer-display);
	--hp-sans: var(--wp--preset--font-family--hoyer-body);
	--hp-wide: 1180px;
}

body { overflow-x: hidden; }
.wp-site-blocks { padding: 0; }
main.wp-block-group { margin-top: 0 !important; }

/* Small caps label used across the site */
.hp-eyebrow,
.hp-topbar,
.hp-nav,
.hp-caption,
.hp-review cite,
.hp-contact-list strong,
.hp-form label,
.hp-footer-copy {
	font-family: var(--hp-sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* ---------- Wordmark ---------- */
.hp-wordmark-wrap { margin: 0; }
/* Doubled class beats core's `.wp-block-site-logo a { line-height: 0 }` */
.hp-wordmark-wrap .hp-wordmark {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	color: inherit;
	text-decoration: none !important;
	line-height: 1;
}
.hp-wordmark-name {
	font-family: var(--hp-serif);
	font-size: 2.1rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.hp-wordmark-sub {
	display: flex;
	align-items: center;
	gap: 0.7em;
	margin-top: 0.35em;
	font-family: var(--hp-sans);
	font-size: 0.56rem;
	font-weight: 500;
	letter-spacing: 0.42em;
	text-transform: uppercase;
	/* letter-spacing trails the last letter; pull it back so the rules stay even */
	margin-right: -0.42em;
}
.hp-wordmark-sub::before,
.hp-wordmark-sub::after {
	content: "";
	width: 1.6em;
	height: 1px;
	background: currentColor;
	opacity: 0.8;
}
.hp-wordmark-tagline {
	margin: 18px 0 0 !important;
	max-width: 24ch;
	font-family: var(--hp-sans);
	font-size: 0.7rem !important;
	letter-spacing: 0.2em;
	line-height: 1.8;
	text-transform: uppercase;
	color: var(--hp-taupe);
}

/* ---------- Header (top bar + sticky bar) ---------- */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
}
.admin-bar header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }

.hp-topbar {
	padding: 7px 24px;
	background: var(--hp-black);
	color: var(--hp-taupe);
	font-size: 0.68rem;
}
.hp-topbar p { margin: 0; }
.hp-topbar a { color: var(--hp-linen); font-weight: 500; text-decoration: none; }
.hp-topbar > .alignwide { gap: 4px 24px; }

.hp-header {
	padding: 14px 24px;
	background: var(--hp-charcoal);
	color: var(--hp-linen);
	border-bottom: 1px solid #2E2D2B;
}
.hp-header > .alignwide { gap: 12px 40px; align-items: center; }
.hp-nav { font-size: 0.72rem; font-weight: 500; gap: 4px 34px; }
.hp-nav a { color: var(--hp-on-dark); text-decoration: none; }
.hp-nav a:hover { color: #FFFFFF; }
.hp-nav .wp-block-navigation__responsive-container-open { color: var(--hp-linen); }
.hp-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--hp-charcoal) !important; }
.hp-nav .is-menu-open a,
.hp-nav .is-menu-open .wp-block-navigation__responsive-container-close { color: var(--hp-linen) !important; }
.hp-header .wp-block-button__link {
	padding: 0.95em 1.6em;
	border: 1px solid var(--hp-greige);
	background: transparent;
	color: var(--hp-linen);
	font-size: 0.7rem;
}
.hp-header .wp-block-button__link:hover { background: var(--hp-linen); color: var(--hp-charcoal); }

/* Anchor jumps land below the sticky header */
:where(.hp-section, .hp-hero)[id] { scroll-margin-top: 130px; }

/* ---------- Shared section pieces ---------- */
.hp-section { padding: 104px 24px; }
.hp-section.is-mist { background: var(--hp-fog); }
.hp-section > * { max-width: var(--hp-wide); margin-left: auto !important; margin-right: auto !important; }

.hp-eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 14px;
	font-size: 0.7rem;
	font-weight: 500;
	color: var(--hp-stone);
}
.hp-eyebrow::before {
	content: "";
	width: 32px;
	height: 1px;
	background: currentColor;
}
.hp-section h2 {
	margin: 0 0 48px;
	font-size: clamp(2.2rem, 3.8vw, 3rem);
	font-weight: 500;
	line-height: 1.1;
}
.hp-muted { color: var(--hp-stone); }

/* ---------- Hero ---------- */
/* The photo is the Group block's own background image (set in the editor);
   this layer darkens it so the headline stays readable. */
.hp-hero {
	position: relative;
	padding: 120px 24px 128px;
	overflow: hidden;
	background-color: var(--hp-charcoal);
	color: var(--hp-linen);
}
.hp-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(20, 20, 19, 0.94) 0%, rgba(20, 20, 19, 0.82) 42%, rgba(20, 20, 19, 0.35) 100%);
	pointer-events: none;
}
.hp-hero > .wp-block-columns { position: relative; max-width: var(--hp-wide); margin: 0 auto; gap: 48px; }
.hp-hero .wp-block-column:first-child { flex-basis: 62% !important; }
.hp-hero-art { display: none !important; }
.hp-hero .hp-eyebrow { color: var(--hp-greige); }
.hp-hero h1 {
	margin: 0 0 24px;
	font-size: clamp(2.6rem, 5.4vw, 4.4rem);
	font-weight: 400;
	line-height: 1.04;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--hp-linen);
}
.hp-hero h1 em { font-style: italic; text-transform: none; color: var(--hp-greige); }
.hp-lead { max-width: 46ch; font-size: 1.05rem; font-weight: 300; color: var(--hp-on-dark); }
.hp-hero .wp-block-buttons { gap: 14px; margin-top: 36px; }
.hp-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--hp-linen); color: var(--hp-charcoal); }
.hp-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: #FFFFFF; }
.hp-hero .is-style-outline .wp-block-button__link {
	border: 1px solid var(--hp-greige);
	background: transparent;
	color: var(--hp-linen);
}
.hp-hero .is-style-outline .wp-block-button__link:hover { background: rgba(246, 245, 242, 0.1); }

.hp-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 0;
	margin: 44px 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hp-greige);
}
.hp-checks li { padding: 0 18px; border-left: 1px solid rgba(201, 197, 188, 0.4); }
.hp-checks li:first-child { padding-left: 0; border-left: 0; }

/* ---------- Cards ---------- */
.hp-cards { gap: 28px; }
.hp-card {
	overflow: hidden;
	border: 1px solid var(--hp-line);
	background: #FFFFFF;
}
.hp-card .wp-block-image { margin: 0; overflow: hidden; }
.hp-card .wp-block-image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	filter: saturate(0.85);
	transition: transform 0.6s ease;
}
.hp-card:hover .wp-block-image img { transform: scale(1.03); }
.hp-card > :not(.wp-block-image) { margin-left: 28px; margin-right: 28px; }
.hp-card h3 { margin-top: 26px; margin-bottom: 8px; font-size: 1.65rem; }
.hp-card p { color: var(--hp-stone); font-size: 0.98rem; }
.hp-card p:last-child { margin-bottom: 28px; }
.hp-card p:last-child a {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 3px;
}
.hp-card p:last-child a::after { content: " \2192"; }

/* ---------- Before & after ---------- */
.hp-ba { gap: 4px; overflow: hidden; }
.hp-ph {
	display: flex;
	align-items: flex-end;
	aspect-ratio: 3 / 4;
	padding: 12px;
	background-color: var(--hp-fog);
	font-weight: 600;
	font-size: 0.85rem;
	color: var(--hp-charcoal);
}
.hp-ph.is-after { background-color: var(--hp-greige); }
.hp-ph p { margin: 0; }
.hp-ba-img { position: relative; margin: 0; }
.hp-ba-img img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.hp-ba-img::after {
	position: absolute;
	left: 10px;
	bottom: 10px;
	padding: 5px 10px;
	background: rgba(246, 245, 242, 0.94);
	font-family: var(--hp-sans);
	font-weight: 600;
	font-size: 0.6rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--hp-charcoal);
}
.hp-ba-img.is-before::after { content: "Before"; }
.hp-ba-img.is-after::after { content: "After"; background: var(--hp-charcoal); color: var(--hp-linen); }
.hp-caption { margin-top: 14px; font-size: 0.72rem; font-weight: 600; color: var(--hp-charcoal); }
.hp-work-more { margin-top: 3rem; }
.hp-work-img { margin: 0; overflow: hidden; }
.hp-work-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Why Hoyer ---------- */
.hp-why { gap: 20px; }
.hp-why-card { padding: 28px; border: 1px solid var(--hp-line); background: var(--hp-linen); }
.hp-why-card::before {
	content: "";
	display: block;
	width: 28px;
	height: 1px;
	margin-bottom: 18px;
	background: var(--hp-charcoal);
}
.hp-why-card h3 { margin: 0 0 6px; font-size: 1.45rem; }
.hp-why-card p { margin: 0; font-size: 0.95rem; color: var(--hp-stone); }

/* ---------- Reviews ---------- */
.hp-review {
	margin: 0;
	padding: 44px 40px;
	border: 0;
	background: var(--hp-charcoal);
	color: var(--hp-linen);
}
.hp-review::before {
	content: "\201C";
	display: block;
	height: 0.55em;
	font-family: var(--hp-serif);
	font-size: 5rem;
	line-height: 1;
	color: var(--hp-taupe);
}
.hp-review p {
	font-family: var(--hp-serif);
	font-size: 1.9rem;
	font-style: italic;
	font-weight: 400;
	line-height: 1.3;
}
.hp-review cite { font-size: 0.68rem; font-style: normal; font-weight: 500; color: var(--hp-taupe); }
.hp-review-invite {
	padding: 40px;
	border: 1px solid var(--hp-line);
	color: var(--hp-stone);
}
.hp-review-invite h3 { margin-top: 0; font-size: 1.6rem; color: var(--hp-charcoal); }

/* ---------- How it works ---------- */
.hp-steps { gap: 28px; }
.hp-step { padding: 32px; border: 1px solid var(--hp-line); background: var(--hp-linen); }
.hp-step-num {
	margin: 0;
	font-family: var(--hp-serif);
	font-size: 3.2rem;
	font-weight: 300;
	line-height: 1;
	color: var(--hp-taupe);
}
.hp-step-num::before { content: "0"; }
.hp-step h3 { margin: 14px 0 6px; font-size: 1.5rem; }
.hp-step p:last-child { margin: 0; font-size: 0.95rem; color: var(--hp-stone); }

/* ---------- Contact + form ---------- */
.hp-contact-list { margin-top: 32px; }
.hp-contact-list p { margin: 0 0 20px; }
.hp-contact-list strong { display: block; margin-bottom: 2px; font-size: 0.65rem; font-weight: 600; color: var(--hp-stone); }
.hp-contact-list a { text-decoration: none; border-bottom: 1px solid var(--hp-greige); }

.hp-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	padding: 40px;
	border: 1px solid var(--hp-line);
	background: #FFFFFF;
}
.hp-form label { display: grid; gap: 8px; font-weight: 600; font-size: 0.65rem; color: var(--hp-stone); }
.hp-form .is-wide { grid-column: 1 / -1; }
.hp-form p { margin: 0; }
.hp-form input,
.hp-form select,
.hp-form textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--hp-line);
	border-radius: 0;
	background: var(--hp-linen);
	font: inherit;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--hp-charcoal);
}
.hp-form textarea { min-height: 130px; }
.hp-form input:focus,
.hp-form select:focus,
.hp-form textarea:focus { outline: 2px solid var(--hp-charcoal); outline-offset: 0; border-color: var(--hp-charcoal); }
.hp-form button { border: 0; cursor: pointer; }
.hp-form-hint { font-size: 0.9rem; color: var(--hp-stone); }
.hp-field-hp { position: absolute !important; left: -9999px; }
.hp-form-notice { padding: 14px 18px; border-left: 3px solid; font-weight: 500; }
.hp-form-notice.is-success { background: #E9EFE7; color: #2F4A2B; }
.hp-form-notice.is-error { background: #F5E6E3; color: #7A2A1E; }
@media (max-width: 600px) {
	.hp-form { grid-template-columns: 1fr; padding: 24px; }
}

/* ---------- Footer ---------- */
.hp-footer { padding: 72px 24px 0; background: var(--hp-charcoal); color: var(--hp-on-dark); }
.hp-footer > * { max-width: var(--hp-wide); margin-left: auto !important; margin-right: auto !important; }
.hp-footer a { color: var(--hp-on-dark); text-decoration: none; }
.hp-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.hp-footer .hp-wordmark { color: var(--hp-linen); }
.hp-footer .hp-wordmark:hover { text-decoration: none; }
.hp-footer .hp-wordmark-name { font-size: 2.6rem; }
.hp-footer .hp-wordmark-sub { font-size: 0.66rem; }
/* The tagline replaces the "Residential & commercial painting" line under the old logo */
.hp-footer .hp-wordmark-wrap + p { display: none; }
.hp-footer p { margin: 0 0 8px; font-size: 0.95rem; }
.hp-footer .hp-footer-phone a { font-family: var(--hp-serif); font-size: 1.6rem; color: var(--hp-linen); }
.hp-footer-copy {
	margin-top: 56px !important;
	padding: 20px 0 28px;
	border-top: 1px solid #34332F;
	text-align: center;
	font-size: 0.62rem !important;
	color: var(--hp-taupe);
}

/* ---------- Staging flag (only printed on the staging copy) ---------- */
.hp-staging-flag {
	position: fixed;
	right: 12px;
	bottom: 12px;
	z-index: 1000;
	padding: 6px 12px;
	background: #B3261E;
	color: #FFFFFF;
	font: 600 0.7rem/1.2 var(--hp-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	pointer-events: none;
}

/* ---------- Small screens ---------- */
@media (max-width: 781px) {
	.hp-hero { padding: 80px 20px 88px; }
	.hp-hero::before { background: linear-gradient(180deg, rgba(20, 20, 19, 0.88) 0%, rgba(20, 20, 19, 0.92) 100%); }
	.hp-section { padding: 72px 20px; }
	.hp-wordmark-name { font-size: 1.7rem; }
	/* Keep the sticky bar to one row: the hero already carries the estimate button */
	.hp-topbar p:first-child,
	.hp-header .wp-block-buttons { display: none; }
	.hp-topbar > .alignwide { justify-content: center; }
	.hp-header > .alignwide { flex-wrap: nowrap; }
	.hp-checks li { padding: 0 12px; }
	.hp-review { padding: 32px 24px; }
}
