/* Single Development page
-------------------------------------------------- */

.site-main--development-single {
	padding: 0;
	background: var(--color-bg);
}

.dev-single-eyebrow {
	margin: 0 0 1.15rem;
	font-family: var(--font-sans);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-accent);
	line-height: 1.3;
}

/* Breadcrumbs
-------------------------------------------------- */

.dev-single-breadcrumbs {
	padding: 0.85rem 0 0.35rem;
}

.dev-single-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--font-sans);
	font-size: 0.78rem;
	color: #9a948c;
}

.dev-single-breadcrumbs__list li {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.dev-single-breadcrumbs__list li:not(:last-child)::after {
	content: ">";
	color: #b7b1a8;
	font-weight: 400;
}

.dev-single-breadcrumbs__list a {
	color: #9a948c;
	text-decoration: none;
}

.dev-single-breadcrumbs__list a:hover,
.dev-single-breadcrumbs__list a:focus-visible {
	color: var(--color-text);
}

.dev-single-breadcrumbs__list [aria-current="page"] span {
	color: #4a4742;
	font-weight: 500;
}

/* Hero
-------------------------------------------------- */

.dev-single-hero {
	background: var(--color-bg);
	overflow: hidden;
}

.dev-single-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
	align-items: stretch;
	min-height: clamp(26rem, 42vw, 34rem);
}

.dev-single-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(1.5rem, 3vw, 2.75rem) clamp(1.25rem, 3vw, 3rem) clamp(2rem, 3.5vw, 3rem) var(--page-gutter, clamp(1.15rem, 4vw, 3.5rem));
	max-width: 38rem;
}

.dev-single-hero__location {
	margin: 0 0 0.85rem;
	font-family: var(--font-sans);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-accent);
}

.dev-single-hero__title {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(2.35rem, 4.2vw, 3.6rem);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.025em;
	color: var(--color-text);
}

.dev-single-hero__rule {
	display: block;
	width: 2.75rem;
	height: 1px;
	margin: 1.1rem 0 1.15rem;
	background: var(--color-accent);
	opacity: 0.85;
}

.dev-single-hero__excerpt {
	margin: 0 0 1.55rem;
	max-width: 32rem;
	color: var(--color-muted);
	font-size: 0.98rem;
	line-height: 1.7;
}

.dev-single-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 1.1rem 0;
	margin: 0 0 1.75rem;
	padding: 0.15rem 0;
}

.dev-single-hero__meta-item {
	padding: 0 1.35rem;
	border-left: 1px solid var(--color-border);
}

.dev-single-hero__meta-item:first-child {
	padding-left: 0;
	border-left: 0;
}

.dev-single-hero__meta-label {
	margin: 0 0 0.3rem;
	font-family: var(--font-sans);
	font-size: 0.62rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.dev-single-hero__meta-value {
	margin: 0;
	font-family: var(--font-serif);
	font-size: 1.35rem;
	line-height: 1.15;
	color: var(--color-text);
}

.dev-single-availability {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-family: var(--font-sans);
	font-size: 0.62rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #5d6558;
}

.dev-single-availability__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #64845f;
	flex-shrink: 0;
}

.dev-single-availability--sold_out {
	color: #7d5a55;
}

.dev-single-availability--sold_out .dev-single-availability__dot {
	background: #a65a52;
}

.dev-single-availability--coming_soon {
	color: #7a6a52;
}

.dev-single-availability--coming_soon .dev-single-availability__dot {
	background: #b28b54;
}

.dev-single-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 0.85rem;
}

.dev-single-hero__media {
	position: relative;
	min-height: 100%;
	overflow: hidden;
	background: #e7e1d6;
}

.dev-single-hero__media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		var(--color-bg) 0%,
		color-mix(in srgb, var(--color-bg) 72%, transparent) 14%,
		transparent 34%
	);
}

.dev-single-hero__image {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* Overview / highlights / gallery
-------------------------------------------------- */

.dev-single-overview-section {
	padding: clamp(2.5rem, 4.5vw, 3.75rem) 0;
}

.dev-single-overview-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.75rem, 3vw, 2.75rem);
	align-items: start;
}

.dev-single-overview__content {
	font-size: 0.95rem;
	line-height: 1.75;
	color: #4f4b45;
}

.dev-single-overview__content p {
	margin: 0 0 1rem;
}

.dev-single-overview__content p:last-child {
	margin-bottom: 0;
}

.dev-single-highlights__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.7rem;
}

.dev-single-highlights__item {
	display: grid;
	grid-template-columns: 0.95rem minmax(0, 1fr);
	gap: 0.65rem;
	align-items: start;
}

.dev-single-highlights__icon {
	width: 0.95rem;
	height: 0.95rem;
	margin-top: 0.15rem;
	color: var(--color-accent);
}

.dev-single-highlights__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.dev-single-highlights__text {
	font-size: 0.9rem;
	line-height: 1.4;
	color: #3f3c37;
}

.dev-single-gallery__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.55rem;
	margin-bottom: 0.95rem;
}

.dev-single-gallery__item {
	display: block;
	padding: 0;
	border: 0;
	background: #e7e1d6;
	cursor: pointer;
	aspect-ratio: 1.15 / 1;
	overflow: hidden;
}

.dev-single-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s ease;
}

.dev-single-gallery__item:hover img,
.dev-single-gallery__item:focus-visible img {
	transform: scale(1.04);
}

.dev-single-gallery__cta {
	width: 100%;
}

/* Location — full-bleed map background
-------------------------------------------------- */

.dev-single-location {
	--dev-map-cream: #f6f3ed;
	--dev-map-marker: #9a7657;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: clamp(32rem, 48vw, 40rem);
	background: var(--dev-map-cream);
}

.dev-single-location__backdrop {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: #e4ddd2;
	pointer-events: none;
	overflow: hidden;
}

.dev-single-location__map-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% center;
	filter: contrast(1.05) brightness(1.02) saturate(0.9);
}

.dev-single-location.has-custom-map .dev-single-location__map-img {
	filter: grayscale(0.12) sepia(0.08) contrast(1.01) brightness(1.02) saturate(0.88);
}

.dev-single-location__fade {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		var(--dev-map-cream) 0%,
		rgba(246, 243, 237, 0.97) 24%,
		rgba(246, 243, 237, 0.78) 38%,
		rgba(246, 243, 237, 0.28) 52%,
		rgba(246, 243, 237, 0.05) 64%,
		rgba(246, 243, 237, 0) 74%
	);
}

.dev-single-location__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 28rem) minmax(0, 1fr);
	align-items: center;
	min-height: inherit;
	padding-top: clamp(2.5rem, 4vw, 3.5rem);
	padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.dev-single-location__copy {
	max-width: 26rem;
	padding-right: 1rem;
}

.dev-single-location__heading {
	margin: 0 0 1rem;
	font-family: var(--font-serif);
	font-size: clamp(1.85rem, 2.8vw, 2.45rem);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--color-text);
}

.dev-single-location__text {
	font-size: 0.95rem;
	line-height: 1.7;
	color: #4f4b45;
	margin-bottom: 1.55rem;
}

.dev-single-location__text p {
	margin: 0 0 0.9rem;
}

.dev-single-location__text p:last-child {
	margin-bottom: 0;
}

.dev-single-travel {
	display: grid;
	gap: 0.9rem;
	margin: 0;
	padding: 0;
	list-style: none;
	max-width: 24rem;
}

.dev-single-travel__item {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.7rem;
}

.dev-single-travel__icon {
	width: 16px;
	height: 16px;
	color: var(--color-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.dev-single-travel__icon svg {
	display: block;
	width: 16px;
	height: 16px;
}

.dev-single-travel__label {
	font-size: 0.9rem;
	color: var(--color-text);
	line-height: 1.35;
}

.dev-single-travel__time {
	font-size: 0.84rem;
	color: var(--color-muted);
	white-space: nowrap;
	letter-spacing: 0.02em;
	justify-self: end;
}

.dev-single-location__marker {
	position: absolute;
	left: 68%;
	top: 48%;
	transform: translate(-50%, -50%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
	text-align: center;
	pointer-events: none;
}

.dev-single-location__marker-pin {
	position: relative;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--dev-map-marker);
	box-shadow:
		0 0 0 5px color-mix(in srgb, var(--dev-map-marker) 22%, transparent),
		0 8px 18px rgba(0, 0, 0, 0.12);
}

.dev-single-location__marker-pin::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 100%;
	width: 1px;
	height: 18px;
	background: color-mix(in srgb, var(--dev-map-marker) 70%, transparent);
	transform: translateX(-50%);
}

.dev-single-location__marker-label {
	margin-top: 0.85rem;
	max-width: 12rem;
	font-family: var(--font-sans);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #3f3830;
	line-height: 1.35;
	padding: 0.4rem 0.55rem;
	background: color-mix(in srgb, var(--dev-map-cream) 88%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
}

/* Available homes
-------------------------------------------------- */

.dev-single-homes {
	padding: clamp(2.5rem, 4.5vw, 3.75rem) 0;
}

.dev-single-homes__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.35rem;
}

.dev-single-homes__header .dev-single-eyebrow {
	margin-bottom: 0;
}

.dev-single-homes__view-all {
	font-family: var(--font-sans);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-decoration: none;
	color: var(--color-accent);
	white-space: nowrap;
}

.dev-single-homes__view-all:hover,
.dev-single-homes__view-all:focus-visible {
	color: var(--color-text);
}

.dev-single-homes__sold-note,
.dev-single-homes__empty-text {
	margin: 0 0 1.25rem;
	color: var(--color-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

.dev-single-homes__empty-title {
	margin: 0 0 0.45rem;
	font-family: var(--font-serif);
	font-size: 1.55rem;
	font-weight: 400;
}

.dev-single-homes__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.15rem;
}

.dev-prop-card {
	border: 1px solid var(--color-border);
	background: #fbf9f5;
}

.dev-prop-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
	height: 100%;
}

.dev-prop-card__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #e7e1d6;
}

.dev-prop-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s ease;
}

.dev-prop-card:hover .dev-prop-card__media img {
	transform: scale(1.03);
}

.dev-prop-card__body {
	padding: 0.95rem 0.95rem 1.1rem;
}

.dev-prop-card__status {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0 0 0.55rem;
	font-family: var(--font-sans);
	font-size: 0.62rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #5d6558;
}

.dev-prop-card__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #64845f;
}

.dev-prop-card__status--reserved {
	color: #7a6a52;
}

.dev-prop-card__status--reserved .dev-prop-card__dot {
	background: #b28b54;
}

.dev-prop-card__status--coming-soon {
	color: #6f6a63;
}

.dev-prop-card__status--coming-soon .dev-prop-card__dot {
	background: #9a948c;
}

.dev-prop-card__status--sold {
	color: #7d5a55;
}

.dev-prop-card__status--sold .dev-prop-card__dot {
	background: #a65a52;
}

.dev-prop-card__title {
	margin: 0 0 0.35rem;
	font-family: var(--font-serif);
	font-size: 1.15rem;
	font-weight: 400;
	line-height: 1.25;
}

.dev-prop-card__summary {
	margin: 0 0 0.65rem;
	font-size: 0.84rem;
	color: var(--color-muted);
	line-height: 1.4;
}

.dev-prop-card__price {
	margin: 0 0 0.7rem;
	font-family: var(--font-serif);
	font-size: 1.2rem;
	line-height: 1.2;
}

.dev-prop-card__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.65rem;
	margin: 0;
	font-size: 0.78rem;
	color: #8a847c;
}

.dev-prop-card__specs span:not(:last-child)::after {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	margin-left: 0.65rem;
	border-radius: 50%;
	background: #c5bfb5;
	vertical-align: middle;
}

/* Register interest
-------------------------------------------------- */

.dev-single-register {
	background: #efe9e0;
	padding: clamp(1.85rem, 3.5vw, 2.6rem) 0;
}

.dev-single-register__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2rem;
}

.dev-single-register__title {
	margin: 0 0 0.4rem;
	font-family: var(--font-serif);
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	font-weight: 400;
	line-height: 1.25;
}

.dev-single-register__text {
	margin: 0;
	max-width: 34rem;
	color: var(--color-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

/* Lightbox
-------------------------------------------------- */

.dev-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	background: rgba(24, 24, 23, 0.86);
}

.dev-lightbox.is-open {
	display: flex;
}

.dev-lightbox__inner {
	position: relative;
	max-width: min(92vw, 68rem);
	max-height: 88vh;
}

.dev-lightbox__image {
	display: block;
	max-width: 100%;
	max-height: 88vh;
	object-fit: contain;
	background: #111;
}

.dev-lightbox__close,
.dev-lightbox__nav {
	position: absolute;
	border: 0;
	background: rgba(246, 243, 237, 0.92);
	color: var(--color-text);
	cursor: pointer;
	font-family: var(--font-sans);
}

.dev-lightbox__close {
	top: -0.35rem;
	right: -0.35rem;
	width: 2.4rem;
	height: 2.4rem;
	font-size: 1.2rem;
	line-height: 1;
}

.dev-lightbox__nav {
	top: 50%;
	transform: translateY(-50%);
	width: 2.5rem;
	height: 2.5rem;
	font-size: 1.1rem;
}

.dev-lightbox__prev {
	left: -0.35rem;
}

.dev-lightbox__next {
	right: -0.35rem;
}

.dev-lightbox__close:focus-visible,
.dev-lightbox__nav:focus-visible,
.dev-single-gallery__item:focus-visible,
.dev-single-gallery__cta:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

body.dev-lightbox-open {
	overflow: hidden;
}

/* Responsive
-------------------------------------------------- */

@media (max-width: 1100px) {
	.dev-single-homes__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dev-single-overview-grid {
		grid-template-columns: 1fr 1fr;
	}

	.dev-single-gallery {
		grid-column: 1 / -1;
	}
}

@media (max-width: 900px) {
	.dev-single-hero__inner {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.dev-single-hero__copy {
		max-width: none;
		padding: 1.5rem var(--page-gutter, 1.15rem) 1.35rem;
	}

	.dev-single-hero__media {
		min-height: 14rem;
		height: 46vw;
		max-height: 22rem;
	}

	.dev-single-hero__media::before {
		background: linear-gradient(180deg, var(--color-bg) 0%, transparent 28%);
	}

	.dev-single-location {
		min-height: 0;
	}

	.dev-single-location__fade {
		background: linear-gradient(
			90deg,
			var(--dev-map-cream) 0%,
			rgba(246, 243, 237, 0.96) 34%,
			rgba(246, 243, 237, 0.55) 55%,
			rgba(246, 243, 237, 0.12) 72%,
			rgba(246, 243, 237, 0) 100%
		);
	}

	.dev-single-location__inner {
		grid-template-columns: 1fr;
		padding-top: 2.25rem;
		padding-bottom: 2.25rem;
	}

	.dev-single-location__marker {
		left: 70%;
	}

	.dev-single-register__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 700px) {
	.dev-single-overview-grid {
		grid-template-columns: 1fr;
	}

	.dev-single-hero__meta {
		flex-direction: column;
		gap: 0.95rem;
	}

	.dev-single-hero__meta-item {
		padding: 0;
		border-left: 0;
	}

	.dev-single-homes__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.55rem;
	}

	.dev-single-homes__grid {
		grid-template-columns: 1fr;
	}

	.dev-single-location {
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.dev-single-location__backdrop {
		position: relative;
		order: 2;
		min-height: 14rem;
		height: 42vw;
		max-height: 18rem;
	}

	.dev-single-location__map-img {
		object-position: center;
	}

	.dev-single-location__fade {
		display: none;
	}

	.dev-single-location__inner {
		order: 1;
		padding-top: 2rem;
		padding-bottom: 1.75rem;
		min-height: 0;
		background: var(--dev-map-cream);
	}

	.dev-single-location__marker {
		left: 50%;
		top: 46%;
	}

	.dev-lightbox__prev {
		left: 0.35rem;
	}

	.dev-lightbox__next {
		right: 0.35rem;
	}
}
