/**
 * Lee Hollenbeck Photo — matches react/ design system
 */

:root {
	--lhp-background: #fcfcfd;
	--lhp-foreground: #1a2332;
	--lhp-card: #ffffff;
	--lhp-primary: #3f5b8f;
	--lhp-primary-foreground: #fafbfc;
	--lhp-secondary: #f2f4f7;
	--lhp-muted: #f5f6f8;
	--lhp-muted-foreground: #6b7280;
	--lhp-accent: #dce8f5;
	--lhp-accent-foreground: #2d4666;
	--lhp-border: #e5e8ed;
	--lhp-radius: 0.25rem;
	--lhp-max: 72rem;
	--lhp-font-heading: "Cormorant Garamond", Georgia, serif;
	--lhp-font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body {
	background: var(--lhp-background) !important;
	color: var(--lhp-foreground) !important;
	font-family: var(--lhp-font-sans);
	-webkit-font-smoothing: antialiased;
}

.lhp-site-main,
.wp-site-blocks > main {
	margin-top: 0 !important;
}

/* Header */
.lhp-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid color-mix(in srgb, var(--lhp-border) 70%, transparent);
	background: color-mix(in srgb, var(--lhp-background) 85%, transparent);
	backdrop-filter: blur(12px);
}

.lhp-header__inner {
	max-width: var(--lhp-max);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 4rem;
	padding: 0 1.25rem;
}

@media (min-width: 768px) {
	.lhp-header__inner {
		height: 5rem;
		padding: 0 2rem;
	}
}

.lhp-brand {
	display: flex;
	flex-direction: column;
	line-height: 1;
	text-decoration: none;
	color: inherit;
}

.lhp-brand__name {
	font-family: var(--lhp-font-heading);
	font-size: 1.25rem;
	font-weight: 500;
	letter-spacing: -0.02em;
}

@media (min-width: 768px) {
	.lhp-brand__name {
		font-size: 1.5rem;
	}
}

.lhp-brand__tag {
	font-size: 0.62rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.32em;
	color: var(--lhp-muted-foreground);
	margin-top: 0.15rem;
}

.lhp-nav {
	display: none;
	align-items: center;
	gap: 2rem;
}

@media (min-width: 768px) {
	.lhp-nav {
		display: flex;
	}
}

.lhp-nav a {
	font-size: 0.875rem;
	letter-spacing: 0.025em;
	color: var(--lhp-muted-foreground);
	text-decoration: none;
	transition: color 0.2s;
}

.lhp-nav a:hover,
.lhp-nav a.is-active {
	color: var(--lhp-foreground);
}

.lhp-btn-primary {
	display: none;
	align-items: center;
	gap: 0.5rem;
	border-radius: var(--lhp-radius);
	background: var(--lhp-primary);
	color: var(--lhp-primary-foreground);
	padding: 0.625rem 1.25rem;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	transition: opacity 0.2s;
}

.lhp-btn-primary:hover {
	opacity: 0.9;
	color: var(--lhp-primary-foreground);
}

@media (min-width: 768px) {
	.lhp-btn-primary {
		display: inline-flex;
	}
}

.lhp-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: none;
	background: transparent;
	color: var(--lhp-foreground);
	cursor: pointer;
	border-radius: var(--lhp-radius);
}

@media (min-width: 768px) {
	.lhp-menu-toggle {
		display: none;
	}
}

.lhp-mobile-nav {
	display: none;
	border-top: 1px solid var(--lhp-border);
	background: var(--lhp-background);
}

.lhp-mobile-nav.is-open {
	display: block;
}

.lhp-mobile-nav__inner {
	max-width: var(--lhp-max);
	margin: 0 auto;
	padding: 1rem 1.25rem;
}

.lhp-mobile-nav a {
	display: block;
	padding: 0.75rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--lhp-border) 60%, transparent);
	color: var(--lhp-muted-foreground);
	text-decoration: none;
	font-size: 1rem;
}

.lhp-mobile-nav a.is-active {
	color: var(--lhp-foreground);
}

.lhp-mobile-nav .lhp-btn-primary {
	display: flex;
	justify-content: center;
	margin-top: 1rem;
	width: 100%;
	color: var(--lhp-primary-foreground);
}

.lhp-mobile-nav .lhp-btn-primary:hover,
.lhp-mobile-nav .lhp-btn-primary:focus {
	color: var(--lhp-primary-foreground);
}

/* Typography */
.lhp-heading {
	font-family: var(--lhp-font-heading);
	font-weight: 300;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.lhp-eyebrow {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--lhp-primary);
}

.lhp-eyebrow-muted {
	color: var(--lhp-muted-foreground);
	font-weight: 600;
}

.lhp-text-muted {
	color: var(--lhp-muted-foreground);
}

.lhp-container {
	max-width: var(--lhp-max);
	margin: 0 auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

@media (min-width: 1024px) {
	.lhp-container {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

/* Hero */
.lhp-hero {
	overflow: hidden;
}

.lhp-hero__grid {
	display: grid;
	gap: 2.5rem;
	align-items: center;
	padding: 4rem 0;
}

@media (min-width: 1024px) {
	.lhp-hero__grid {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
		padding: 6rem 0;
	}
}

.lhp-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border: 1px solid var(--lhp-border);
	background: var(--lhp-card);
	border-radius: var(--lhp-radius);
	padding: 0.375rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--lhp-muted-foreground);
}

.lhp-hero h1 {
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	margin-top: 1.5rem;
}

.lhp-hero__tagline {
	margin-top: 1rem;
	max-width: 34rem;
	font-family: var(--lhp-font-heading);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 300;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--lhp-foreground);
}

.lhp-hero__lead {
	margin-top: 1.25rem;
	max-width: 28rem;
	font-size: 1rem;
	line-height: 1.625;
	color: var(--lhp-muted-foreground);
}

.lhp-hero__actions {
	margin-top: 2rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.lhp-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: var(--lhp-radius);
	padding: 0.75rem 1.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	transition: opacity 0.2s, border-color 0.2s, color 0.2s;
}

.lhp-btn--solid {
	background: var(--lhp-primary);
	color: var(--lhp-primary-foreground);
}

.lhp-btn--solid:hover {
	opacity: 0.9;
	color: var(--lhp-primary-foreground);
}

.lhp-btn--outline {
	border: 1px solid var(--lhp-border);
	color: var(--lhp-foreground);
}

.lhp-btn--outline:hover {
	border-color: var(--lhp-primary);
	color: var(--lhp-primary);
}

.lhp-hero__image {
	overflow: hidden;
	border-radius: var(--lhp-radius);
	background: var(--lhp-muted);
}

.lhp-hero__image img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	display: block;
}

/* Photo banner */
.lhp-photo-banner {
	border-top: 1px solid var(--lhp-border);
	border-bottom: 1px solid var(--lhp-border);
	background: var(--lhp-card);
}

.lhp-photo-banner__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 640px) {
	.lhp-photo-banner__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (min-width: 1024px) {
	.lhp-photo-banner__grid {
		grid-template-columns: repeat(6, 1fr);
	}
}

.lhp-photo-banner__item {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--lhp-muted);
}

.lhp-photo-banner__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.lhp-photo-banner__item:hover img {
	transform: scale(1.05);
}

.lhp-photo-banner__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--lhp-primary) 0%, transparent);
	transition: background 0.3s;
	pointer-events: none;
}

.lhp-photo-banner__item:hover::after {
	background: color-mix(in srgb, var(--lhp-primary) 10%, transparent);
}

/* Specialties */
.lhp-section {
	padding: 4rem 0;
}

@media (min-width: 768px) {
	.lhp-section {
		padding: 6rem 0;
	}
}

.lhp-section-header {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

@media (min-width: 768px) {
	.lhp-section-header {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
	}
}

.lhp-section-header h2 {
	font-size: clamp(1.875rem, 3vw, 2.25rem);
	margin-top: 0.75rem;
}

.lhp-cards {
	margin-top: 2.5rem;
	display: grid;
	gap: 1.5rem;
}

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

.lhp-card-link {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--lhp-border);
	border-radius: var(--lhp-radius);
	background: var(--lhp-card);
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s;
}

.lhp-card-link:hover {
	border-color: var(--lhp-primary);
}

.lhp-card-link__img {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--lhp-muted);
}

.lhp-card-link__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.lhp-card-link:hover .lhp-card-link__img img {
	transform: scale(1.05);
}

.lhp-card-link__body {
	padding: 1.25rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.lhp-card-link__title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.lhp-card-link__title {
	font-family: var(--lhp-font-heading);
	font-size: 1.25rem;
	font-weight: 500;
	margin: 0;
}

.lhp-card-link__arrow {
	color: var(--lhp-muted-foreground);
	transition: color 0.2s;
}

.lhp-card-link:hover .lhp-card-link__arrow {
	color: var(--lhp-primary);
}

.lhp-card-link__blurb {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.625;
	color: var(--lhp-muted-foreground);
}

/* Service + insurance band */
.lhp-band {
	border-top: 1px solid var(--lhp-border);
	border-bottom: 1px solid var(--lhp-border);
	background: var(--lhp-card);
}

.lhp-band .lhp-container {
	padding-top: 4rem;
	padding-bottom: 4rem;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

@media (min-width: 768px) {
	.lhp-band .lhp-container {
		padding-top: 5rem;
		padding-bottom: 5rem;
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

.lhp-band__grid {
	display: grid;
	gap: 2rem;
	padding: 0;
}

@media (min-width: 768px) {
	.lhp-band__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.lhp-info-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
	border: 1px solid var(--lhp-border);
	border-radius: var(--lhp-radius);
	background: var(--lhp-background);
	padding: 1.5rem;
}

.lhp-info-row {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.lhp-info-row svg {
	flex-shrink: 0;
	margin-top: 0.125rem;
	color: var(--lhp-primary);
}

.lhp-info-row h3 {
	font-size: 1rem;
	font-weight: 500;
	margin: 0;
}

.lhp-info-row p {
	margin: 0.25rem 0 0;
	font-size: 0.875rem;
	line-height: 1.625;
	color: var(--lhp-muted-foreground);
}

.lhp-divider {
	border: none;
	border-top: 1px solid var(--lhp-border);
	margin: 0;
}

.lhp-accent-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border: 1px solid var(--lhp-border);
	background: color-mix(in srgb, var(--lhp-accent) 40%, transparent);
	border-radius: var(--lhp-radius);
	padding: 0.375rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--lhp-accent-foreground);
}

/* CTA */
.lhp-cta {
	padding: 5rem 0;
	text-align: center;
}

.lhp-cta h2 {
	font-size: clamp(1.875rem, 4vw, 3rem);
	max-width: 42rem;
	margin: 0 auto;
}

.lhp-cta p {
	margin: 1rem auto 0;
	max-width: 28rem;
	font-size: 0.875rem;
	line-height: 1.625;
	color: var(--lhp-muted-foreground);
}

.lhp-cta .lhp-btn {
	margin-top: 2rem;
	padding: 0.875rem 1.75rem;
}

/* Page hero (portfolio / contact) */
.lhp-page-hero {
	border-bottom: 1px solid var(--lhp-border);
	background: var(--lhp-card);
}

.lhp-page-hero__inner {
	padding: 3.5rem 0;
}

@media (min-width: 768px) {
	.lhp-page-hero__inner {
		padding: 5rem 0;
	}
}

.lhp-page-hero h1 {
	font-size: clamp(2.25rem, 4vw, 3rem);
	margin-top: 0.75rem;
}

.lhp-page-hero__desc {
	margin-top: 1rem;
	max-width: 36rem;
	font-size: 0.875rem;
	line-height: 1.625;
	color: var(--lhp-muted-foreground);
}

/* Portfolio CTA bar */
.lhp-portfolio-cta {
	border-top: 1px solid var(--lhp-border);
	background: var(--lhp-card);
}

.lhp-portfolio-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	padding: 3rem 0;
}

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

.lhp-portfolio-cta h2 {
	font-family: var(--lhp-font-heading);
	font-size: 1.5rem;
	font-weight: 300;
	margin: 0;
}

/* Contact layout */
.lhp-contact-grid {
	display: grid;
	gap: 2rem;
	padding: 3rem 0;
}

@media (min-width: 1024px) {
	.lhp-contact-grid {
		grid-template-columns: 3fr 2fr;
		padding: 4rem 0;
	}
}

.lhp-contact-card {
	border: 1px solid var(--lhp-border);
	border-radius: var(--lhp-radius);
	background: var(--lhp-card);
	padding: 1.5rem;
}

.lhp-contact-card h2 {
	font-family: var(--lhp-font-heading);
	font-size: 1.25rem;
	font-weight: 500;
	margin: 0;
}

.lhp-contact-list {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
}

.lhp-contact-list li {
	margin-bottom: 1rem;
}

.lhp-contact-list a {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: color-mix(in srgb, var(--lhp-foreground) 90%, transparent);
	text-decoration: none;
	font-size: 0.875rem;
	transition: color 0.2s;
}

.lhp-contact-list a:hover {
	color: var(--lhp-primary);
}

.lhp-contact-list svg {
	color: var(--lhp-primary);
	flex-shrink: 0;
}

.lhp-contact-list .label {
	display: block;
	font-size: 0.75rem;
	color: var(--lhp-muted-foreground);
}

.lhp-social-row {
	display: flex;
	gap: 0.75rem;
	margin-top: 0.75rem;
}

.lhp-social-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border: 1px solid var(--lhp-border);
	border-radius: var(--lhp-radius);
	color: color-mix(in srgb, var(--lhp-foreground) 70%, transparent);
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s;
}

.lhp-social-btn:hover {
	border-color: var(--lhp-primary);
	color: var(--lhp-primary);
}

.lhp-social-btn svg {
	width: 1rem;
	height: 1rem;
}

.lhp-insurance-note {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	border: 1px solid var(--lhp-border);
	border-radius: var(--lhp-radius);
	background: color-mix(in srgb, var(--lhp-accent) 30%, transparent);
	padding: 1.25rem;
	font-size: 0.875rem;
	line-height: 1.625;
	color: var(--lhp-accent-foreground);
}

.lhp-insurance-note svg {
	flex-shrink: 0;
	margin-top: 0.125rem;
	color: var(--lhp-primary);
}

/* Service map */
.lhp-map-section {
	border-top: 1px solid var(--lhp-border);
	background: var(--lhp-card);
}

.lhp-map-section .lhp-container {
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

@media (min-width: 768px) {
	.lhp-map-section .lhp-container {
		padding-top: 5rem;
		padding-bottom: 5rem;
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

.lhp-map-grid {
	display: grid;
	gap: 2rem;
	padding: 0;
}

@media (min-width: 768px) {
	.lhp-map-grid {
		grid-template-columns: 1fr 1fr;
		align-items: stretch;
	}
}

#lhp-service-map {
	height: 20rem;
	width: 100%;
	border: 1px solid var(--lhp-border);
	border-radius: var(--lhp-radius);
	background: var(--lhp-muted);
	overflow: hidden;
}

@media (min-width: 768px) {
	#lhp-service-map {
		min-height: 26.25rem;
		height: 100%;
	}
}

/* Footer */
.lhp-footer {
	border-top: 1px solid var(--lhp-border);
	background: var(--lhp-card);
}

.lhp-footer__inner {
	padding-top: 2.5rem;
	padding-bottom: 2rem;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.lhp-footer__grid {
	display: grid;
	gap: 1rem;
}

.lhp-footer__panel {
	border: 1px solid var(--lhp-border);
	border-radius: calc(var(--lhp-radius) * 1.5);
	background: color-mix(in srgb, var(--lhp-background) 78%, var(--lhp-card));
	padding: 1.25rem;
}

.lhp-footer__panel--brand {
	background: linear-gradient(180deg, var(--lhp-card), color-mix(in srgb, var(--lhp-accent) 18%, var(--lhp-card)));
}

@media (min-width: 768px) {
	.lhp-footer__inner {
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
		padding-left: 2rem;
		padding-right: 2rem;
	}

	.lhp-footer__grid {
		grid-template-columns: 5fr 3fr 4fr;
		gap: 2.5rem;
	}

	.lhp-footer__panel {
		border: 0;
		background: transparent;
		padding: 0;
	}

	.lhp-footer__panel--brand {
		background: transparent;
	}
}

.lhp-footer__brand {
	font-family: var(--lhp-font-heading);
	font-size: 1.5rem;
	font-weight: 500;
	margin: 0;
}

.lhp-footer__desc {
	margin-top: 0.75rem;
	max-width: 24rem;
	font-size: 0.875rem;
	line-height: 1.625;
	color: var(--lhp-muted-foreground);
}

.lhp-footer__links {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
}

.lhp-footer__links--nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.625rem 1rem;
}

.lhp-footer__links li {
	margin-bottom: 0;
}

.lhp-footer__links a {
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--lhp-foreground) 80%, transparent);
	text-decoration: none;
	transition: color 0.2s;
}

.lhp-footer__links a:hover {
	color: var(--lhp-foreground);
}

.lhp-footer__links--contact {
	display: grid;
	gap: 0.65rem;
}

.lhp-footer__links--contact li,
.lhp-footer__links--contact a {
	overflow-wrap: anywhere;
	line-height: 1.55;
}

.lhp-footer .lhp-social-row {
	margin-top: 1rem;
}

.lhp-footer .lhp-social-btn {
	background: var(--lhp-card);
}

.lhp-footer__bottom {
	margin-top: 1rem;
	padding: 1.25rem;
	border-top: 1px solid var(--lhp-border);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	font-size: 0.75rem;
	color: var(--lhp-muted-foreground);
	border: 1px solid var(--lhp-border);
	border-radius: calc(var(--lhp-radius) * 1.5);
	background: var(--lhp-background);
}

@media (min-width: 768px) {
	.lhp-footer__bottom {
		margin-top: 3rem;
		padding: 1.5rem 0 0;
		border-left: 0;
		border-right: 0;
		border-bottom: 0;
		border-radius: 0;
		background: transparent;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}

	.lhp-footer__links--nav {
		display: block;
	}

	.lhp-footer__links li {
		margin-bottom: 0.625rem;
	}
}

/* WPForms styling */
.lhp-form-wrap .wpforms-container {
	margin: 0 !important;
}

.lhp-form-wrap .wpforms-form {
	border: 1px solid var(--lhp-border);
	border-radius: var(--lhp-radius);
	background: var(--lhp-card);
	padding: 1.5rem;
}

@media (min-width: 768px) {
	.lhp-form-wrap .wpforms-form {
		padding: 2rem;
	}
}

.lhp-form-wrap .wpforms-field-label {
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	color: var(--lhp-foreground) !important;
	margin-bottom: 0.375rem !important;
}

.lhp-form-wrap input[type="text"],
.lhp-form-wrap input[type="email"],
.lhp-form-wrap input[type="tel"],
.lhp-form-wrap select,
.lhp-form-wrap textarea {
	width: 100% !important;
	border: 1px solid var(--lhp-border) !important;
	border-radius: var(--lhp-radius) !important;
	background: var(--lhp-background) !important;
	padding: 0.625rem 0.875rem !important;
	font-size: 0.875rem !important;
	color: var(--lhp-foreground) !important;
	box-shadow: none !important;
}

.lhp-form-wrap input:focus,
.lhp-form-wrap select:focus,
.lhp-form-wrap textarea:focus {
	border-color: var(--lhp-primary) !important;
	outline: 2px solid color-mix(in srgb, var(--lhp-primary) 30%, transparent) !important;
}

.lhp-form-wrap .wpforms-submit-container button[type="submit"] {
	background: var(--lhp-primary) !important;
	color: var(--lhp-primary-foreground) !important;
	border: none !important;
	border-radius: var(--lhp-radius) !important;
	padding: 0.75rem 1.5rem !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	height: auto !important;
}

.lhp-form-wrap .wpforms-submit-container button[type="submit"]:hover {
	opacity: 0.9;
}

/* Portfolio gallery — template-matching grid + custom lightbox */
.lhp-gallery-wrap {
	padding: 3rem 0;
}

@media (min-width: 768px) {
	.lhp-gallery-wrap {
		padding: 4rem 0;
	}
}

.lhp-gallery-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

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

@media (min-width: 1024px) {
	.lhp-gallery-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.lhp-gallery-item {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	padding: 0;
	border: 0;
	border-radius: var(--lhp-radius);
	overflow: hidden;
	background: var(--lhp-muted);
	cursor: zoom-in;
}

.lhp-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s, filter 0.5s;
}

.lhp-gallery-item:hover img {
	transform: scale(1.03);
	filter: brightness(0.95);
}

.lhp-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	background: color-mix(in srgb, var(--lhp-foreground) 92%, transparent);
	padding: 1rem;
}

.lhp-lightbox.is-open {
	display: flex;
}

.lhp-lightbox__image {
	max-width: min(100%, 76rem);
	max-height: 85vh;
	object-fit: contain;
	border-radius: var(--lhp-radius);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.lhp-lightbox__button {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 0;
	border-radius: var(--lhp-radius);
	background: transparent;
	color: color-mix(in srgb, var(--lhp-background) 90%, transparent);
	cursor: pointer;
	transition: color 0.2s, background 0.2s;
}

.lhp-lightbox__button:hover {
	color: var(--lhp-background);
	background: rgba(255, 255, 255, 0.08);
}

.lhp-lightbox__close {
	top: 1rem;
	right: 1rem;
}

.lhp-lightbox__prev {
	left: 1rem;
}

.lhp-lightbox__next {
	right: 1rem;
}

.lhp-lightbox__button svg {
	width: 1.75rem;
	height: 1.75rem;
}

body.lhp-lightbox-open {
	overflow: hidden;
}

/* Hide default page titles on custom templates */
.lhp-site-main .wp-block-post-title,
.lhp-site-main > .entry-header,
main.lhp-site-main > .wp-block-group > .wp-block-post-title {
	display: none !important;
}

/* Suppress empty block theme template parts */
.wp-site-blocks > header.wp-block-template-part,
.wp-site-blocks > footer.wp-block-template-part {
	display: none !important;
}
