@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,600;1,9..40,400&display=swap");

body.lotworks-map-panel {
	margin: 0;
	padding: 0;
	background: #f7f5f2;
	color: #1a1a1a;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

body.single-map_lot {
	background: #f7f5f2;
}

body.single-map_lot .lwp-panel {
	max-width: 56rem;
	margin: 2rem auto 3.5rem;
	background: transparent;
}

/* LotWorks map embed (single lot pages) */
body.single-map_lot .lwp-iframe-container {
	position: relative;
	height: 100vh;
	max-height: 1080px;
}

body.single-map_lot .lwp-iframe-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Make the bottom contact block white on lot pages only */
body.single-map_lot .lwp-contact-cta {
	background: #fff;
}

.lwp-hero {
	background: #f7f5f2;
}

body.single-map_lot .lwp-hero--overlay {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	position: relative;
	min-height: 520px;
}

.lwp-hero__media {
	position: absolute;
	inset: 0;
	display: block;
}

.lwp-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: saturate(0.85) brightness(0.45) blur(1px);
	transform: scale(1.02);
}

.lwp-hero__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: 2.5rem 1.25rem;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.72) 0%,
		rgba(0, 0, 0, 0.34) 45%,
		rgba(0, 0, 0, 0.0) 75%
	);
}

.lwp-hero__open {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #fff;
	text-decoration: none;
	backdrop-filter: blur(6px);
}

.lwp-hero__open:hover {
	background: rgba(0, 0, 0, 0.6);
}

.lwp-hero__open:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.lwp-hero__open-icon {
	display: block;
}

.lwp-hero__inner {
	max-width: 72rem;
	margin: 0 auto;
	width: 100%;
	position: relative;
}

.lwp-hero__title,
.lwp-hero__eyebrow {
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.lwp-hero__title {
	margin-bottom: 1.4rem !important;
}

.lwp-hero__stats {
	max-width: 54rem;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 10px;
	backdrop-filter: blur(10px);
	overflow: hidden;
}

.lwp-hero__kpis {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	max-width: none;
	padding: 1rem 1.1rem;
}

.lwp-kpi {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0.25rem 0.75rem;
}

.lwp-kpi + .lwp-kpi {
	border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.lwp-kpi__label {
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.78);
	margin-bottom: 0.25rem;
}

.lwp-kpi__value {
	font-size: 1.7rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.03em;
}

/* Hero logo removed; now rendered on the in-body image. */
.lwp-hero__logo,
.lwp-hero__logo-img {
	display: none;
}

@media (max-width: 860px) {
	.lwp-hero__kpis {
		grid-template-columns: 1fr;
	}
	.lwp-kpi + .lwp-kpi {
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.22);
		padding-top: 0.75rem;
		margin-top: 0.75rem;
	}
	body.single-map_lot .lwp-hero--overlay {
		min-height: 420px;
	}
	.lwp-hero__logo-img {
		width: 190px;
	}
}

@media (max-width: 640px) {
	/* Mobile KPIs: one row, hide build pocket */
	body.single-map_lot .lwp-kpi--build-pocket {
		display: none;
	}

	body.single-map_lot .lwp-hero__kpis {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: end;
	}

	body.single-map_lot .lwp-kpi + .lwp-kpi {
		border-top: 0;
		margin-top: 0;
		padding-top: 0;
		border-left: 1px solid rgba(255, 255, 255, 0.22);
	}

	body.single-map_lot .lwp-hero__overlay {
		padding: 1.75rem 1rem;
	}

	body.single-map_lot .lwp-hero__eyebrow {
		font-size: 1.25rem !important;
		line-height: 1.1;
	}

	body.single-map_lot .lwp-hero__title {
		font-size: 2.75rem !important;
		line-height: 1.0;
	}

	body.single-map_lot .lwp-hero__logo {
		display: none;
	}

	/* Compact stats bar on mobile */
	body.single-map_lot .lwp-hero__kpis {
		padding: 0.75rem 0.85rem;
		gap: 0.5rem;
	}

	body.single-map_lot .lwp-kpi {
		padding: 0.15rem 0.35rem;
	}

	body.single-map_lot .lwp-kpi__label {
		font-size: 0.68rem;
		margin-bottom: 0.15rem;
		letter-spacing: 0.1em;
	}

	body.single-map_lot .lwp-kpi__value {
		font-size: 1.15rem;
		line-height: 1.15;
	}

	body.single-map_lot .lwp-kpi + .lwp-kpi {
		padding-top: 0.6rem;
		margin-top: 0.6rem;
	}
}

body.single-map_lot .lwp-panel__figure--single {
	margin-top: 1.25rem;
	margin-bottom: 1.5rem;
}

body.single-map_lot .lwp-panel__figure--single {
	position: relative;
}

body.single-map_lot .lwp-panel__logo {
	position: absolute;
	left: auto !important;
	right: 2rem !important;
	bottom: 2rem !important;
	margin: 0;
	z-index: 2;
	pointer-events: none;
}

body.single-map_lot .lwp-panel__logo-img {
	display: block;
	width: min(220px, calc(100% - 4rem));
	height: auto;
	filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
}

@media (max-width: 640px) {
	body.single-map_lot .lwp-panel__logo-img {
		width: min(170px, calc(100% - 4rem));
	}
}

@media (min-width: 1024px) {
	body.single-map_lot .lwp-hero--overlay {
		min-height: 750px;
	}
}

.lwp-panel {
	box-sizing: border-box;
	max-width: 100%;
	padding: 1rem 1.1rem 1.5rem;
}

.lwp-panel__title {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.lwp-panel__figure {
	margin: 0 0 0.35rem;
}

.lwp-panel__panorama {
	display: block;
	overflow: hidden;
	border-radius: 4px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.lwp-panel__panorama:focus-visible {
	outline: 2px solid #1a1a1a;
	outline-offset: 2px;
}

.lwp-panel__panorama-img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

.lwp-panel__panorama-hint {
	margin: 0.35rem 0 0;
	font-size: 0.75rem;
	color: #666;
}

.lwp-panel__open-full {
	margin: 0 0 1rem;
	font-size: 0.8125rem;
}

.lwp-panel__open-full a {
	color: #1a1a1a;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.lwp-panel__description {
	margin-bottom: 1rem;
}

.lwp-panel__description > *:first-child {
	margin-top: 0;
}

.lwp-panel__description > *:last-child {
	margin-bottom: 0;
}

.lwp-panel__description--import {
	font-size: 0.9375rem;
	line-height: 1.55;
	color: #333;
}

.lwp-panel__description--import p {
	margin: 0 0 0.75rem;
}

.lwp-panel__description--import p:last-child {
	margin-bottom: 0;
}

.lwp-panel__meta {
	margin: 0 0 1rem;
	display: grid;
	gap: 0.5rem 1rem;
}

.lwp-panel__row {
	display: grid;
	grid-template-columns: 7rem 1fr;
	gap: 0.5rem;
	align-items: baseline;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	padding-bottom: 0.45rem;
}

.lwp-panel__row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.lwp-panel__meta dt {
	margin: 0;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #666;
}

.lwp-panel__meta dd {
	margin: 0;
	font-size: 0.9rem;
}

.lwp-panel__notice {
	margin: 0 0 1rem;
	padding: 0.65rem 0.75rem;
	background: #fff9e6;
	border-radius: 4px;
	font-size: 0.8125rem;
	color: #5c4a00;
}

.lwp-panel__cta {
	margin: 0 0 0.75rem;
}

.lwp-panel__btn {
	display: inline-block;
	padding: 0.55rem 1.1rem;
	background: #1a1a1a;
	color: #fff !important;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 600;
	border-radius: 4px;
}

.lwp-panel__btn:hover {
	opacity: 0.92;
}

.lwp-panel__spec {
	margin: 0;
	font-size: 0.875rem;
}

.lwp-panel__link {
	color: #1a1a1a;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Vimeo lot plan video (replaces panorama when set) */
.lwp-video-embed,
.lwp-panel__video-embed,
.lwp-hero__video-embed {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
	background: #1a1a1a;
	border-radius: 4px;
}

.lwp-video-embed > div,
.lwp-panel__video-embed > div,
.lwp-hero__video-embed > div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.lwp-video-embed iframe,
.lwp-video-embed object,
.lwp-video-embed embed,
.lwp-panel__video-embed iframe,
.lwp-panel__video-embed object,
.lwp-panel__video-embed embed,
.lwp-hero__video-embed iframe,
.lwp-hero__video-embed object,
.lwp-hero__video-embed embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.lwp-panel__figure--video {
	position: relative;
	margin: 0 0 1rem;
}

.lwp-panel__video-expand {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	text-decoration: none;
	transition: background 0.15s ease;
}

.lwp-panel__video-expand:hover,
.lwp-panel__video-expand:focus-visible {
	background: rgba(0, 0, 0, 0.85);
	color: #fff;
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.lwp-panel__video-expand-icon {
	display: block;
}

.lwp-panel__figure--video .lwp-video-embed,
.lwp-panel__figure--video .lwp-panel__video-embed {
	border-radius: 4px;
}

body.single-map_lot .lwp-panel__figure--video {
	margin-top: 1.25rem;
	margin-bottom: 1.5rem;
}

/* Hero: video fills background slot (replaces panorama image) */
.lwp-hero__media--video {
	position: absolute;
	inset: 0;
	display: block;
}

.lwp-hero__media--video .lwp-hero__video-embed {
	padding-bottom: 0;
	height: 100%;
	border-radius: 0;
	filter: brightness(0.55);
}

.lwp-hero__media--video .lwp-hero__video-embed > div,
.lwp-hero__media--video .lwp-hero__video-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
