.egp-area-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(28px, 3.5vw, 48px);
}

.egp-area-card {
	min-width: 0;
}

.egp-area-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	border-radius: var(--egp-radius-card);
	background: var(--egp-ivory);
}

.egp-area-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}

.egp-area-card:hover .egp-area-card__image,
.egp-area-card:focus-within .egp-area-card__image {
	transform: scale(1.035);
}

.egp-area-card__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	background: linear-gradient(145deg, var(--egp-ivory), var(--egp-stone));
	color: var(--egp-bronze);
}

.egp-area-card__placeholder span {
	font-family: var(--egp-display-font);
	font-size: clamp(3.5rem, 8vw, 7rem);
	font-weight: 500;
}

.egp-area-card__body {
	padding: 22px 2px 0;
}

.egp-area-card__title {
	margin-bottom: 12px !important;
	font-size: clamp(1.8rem, 2.7vw, 2.3rem) !important;
}

.egp-area-card__title a {
	color: inherit;
	text-decoration: none;
}

.egp-area-card__intro {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 18px;
	color: var(--egp-slate);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.egp-area-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.egp-area-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.egp-area-breadcrumbs li + li::before {
	content: "→";
	color: var(--egp-bronze);
}

.egp-area-breadcrumbs a,
.egp-area-breadcrumbs span {
	color: inherit;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .05em;
	text-decoration: none;
}

.egp-property-detail__location .egp-area-breadcrumbs,
.egp-property-detail__location ol {
	display: flex;
}

.egp-property-detail__location a {
	color: var(--egp-slate);
}

.egp-area-profile__hero {
	position: relative;
	display: grid;
	min-height: clamp(480px, 68vh, 720px);
	align-items: end;
	overflow: hidden;
	background: var(--egp-navy);
	color: rgba(255, 255, 255, .78);
}

.egp-area-profile__backdrop {
	position: absolute;
	inset: 0;
}

.egp-area-profile__backdrop::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(3, 18, 41, .76), rgba(3, 18, 41, .28));
	content: "";
}

.egp-area-profile__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.egp-area-profile__hero-content {
	position: relative;
	z-index: 1;
	padding-block: clamp(5rem, 10vw, 9rem);
}

.egp-area-profile__hero-content h1 {
	max-width: 850px;
	margin-bottom: 20px;
	color: var(--egp-white);
	font-size: var(--egp-display);
}

.egp-area-profile__intro {
	max-width: 680px;
	margin: 28px 0 0;
	font-size: 1.15rem;
}

.egp-area-profile__overview {
	max-width: 820px;
}

.egp-area-profile__overview--solo {
	display: block;
}

.egp-area-profile__overview--solo .egp-area-profile__overview-copy {
	max-width: 820px;
}

.egp-area-profile__overview .egp-prose {
	font-family: var(--egp-display-font);
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	line-height: 1.45;
}

.egp-area-profile__editorial,
.egp-area-profile__properties:nth-of-type(even),
.egp-area-profile__related {
	background: var(--egp-ivory);
}

.egp-area-editorial-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(48px, 7vw, 96px) clamp(42px, 8vw, 112px);
}

.egp-area-editorial {
	padding-top: 22px;
	border-top: 2px solid var(--egp-bronze);
}

.egp-area-editorial .egp-prose {
	color: var(--egp-slate);
}

.egp-area-profile__agents {
	background: var(--egp-navy);
	color: rgba(255, 255, 255, .72);
}

.egp-area-profile__agents h2,
.egp-area-profile__agents .egp-agent-card__name,
.egp-area-profile__agents .egp-agent-card__actions a {
	color: var(--egp-white);
}

.egp-area-profile__agents .egp-agent-card__role,
.egp-area-profile__agents .egp-agent-card__summary {
	color: rgba(255, 255, 255, .68);
}

.egp-area-profile__agents .egp-agent-card__actions {
	border-color: rgba(255, 255, 255, .2);
}

.egp-agent-area-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.egp-agent-area-links a {
	display: inline-flex;
	padding: 7px 10px;
	border: 1px solid var(--egp-stone);
	border-radius: 4px;
	color: var(--egp-navy);
	font-size: .78rem;
	font-weight: 600;
	text-decoration: none;
}

@media (max-width: 980px) {
	.egp-area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.egp-area-editorial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
	.egp-area-grid { grid-template-columns: 1fr; gap: 48px; }
	.egp-area-profile__hero { min-height: 520px; }
	.egp-area-profile__backdrop::after { background: rgba(3, 18, 41, .58); }
	.egp-area-profile__hero-content { padding-block: 5rem 3.5rem; }
	.egp-area-breadcrumbs ol { gap: 5px; }
}

/* Build 04: Area KPI, map alignment and nearby-community refinements. */
.egp-area-profile__statistics { display: flex; flex-wrap: wrap; gap: 24px 42px; margin: 34px 0 0; padding: 0; list-style: none; }
.egp-area-profile__statistics li { display: flex; min-width: 150px; align-items: center; gap: 13px; color: var(--egp-white); }
.egp-area-profile__statistics i { color: var(--egp-bronze); font-size: 1.55rem; }
.egp-area-profile__statistics span { display: flex; flex-direction: column; }
.egp-area-profile__statistics strong { color: var(--egp-white); font-size: 1.2rem; line-height: 1.15; }
.egp-area-profile__statistics small { max-width: 155px; color: rgba(255,255,255,.72); font-size: .72rem; line-height: 1.35; }
.egp-area-profile__properties { overflow: hidden; }
.egp-area-profile__properties .egp-property-card__body { padding: 16px 16px 14px; }
.egp-area-profile__properties .egp-property-card__title { font-size: .98rem !important; }
.egp-area-map { grid-template-columns: minmax(250px, .7fr) minmax(0, 1.55fr) minmax(250px, .7fr); align-items: stretch; }
.egp-area-map__copy,
.egp-area-map__key { display: flex; min-height: 360px; flex-direction: column; justify-content: center; }
.egp-area-map__key { padding: 30px; border: 1px solid var(--egp-stone); background: var(--egp-ivory); }
.egp-area-profile__related .egp-area-grid { gap: 16px; }
.egp-area-profile__related .egp-area-card { overflow: hidden; border: 1px solid var(--egp-stone); border-radius: 5px; background: var(--egp-white); box-shadow: 0 6px 18px rgba(5,25,58,.05); }
.egp-area-profile__related .egp-area-card__media { aspect-ratio: 3.5 / 1; border-radius: 0; }
.egp-area-profile__related .egp-area-card__body { position: relative; padding: 12px 44px 12px 14px; }
.egp-area-profile__related .egp-area-card__body::after { position: absolute; top: 50%; right: 15px; color: var(--egp-navy); content: "→"; transform: translateY(-50%); }
.egp-area-profile__related .egp-area-card .egp-eyebrow,
.egp-area-profile__related .egp-area-card__intro,
.egp-area-profile__related .egp-area-card .egp-text-link { display: none; }
.egp-area-profile__related .egp-area-card__title { margin: 0 !important; font-family: var(--egp-ui-font) !important; font-size: .92rem !important; font-weight: 600 !important; }
.egp-area-profile__related .egp-area-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1100px) {
	.egp-area-map { grid-template-columns: 1fr 1.5fr; }
	.egp-area-map__key { grid-column: 1 / -1; min-height: auto; }
	.egp-area-profile__related .egp-area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
	.egp-area-profile__statistics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.egp-area-profile__statistics li { min-width: 0; }
	.egp-area-map { grid-template-columns: 1fr; }
	.egp-area-profile__related .egp-area-grid { grid-template-columns: 1fr; }
}

/* Area detail — destination-led editorial refinement. */
.egp-area-profile__hero {
	min-height: clamp(560px, 65vh, 740px);
	background:
		linear-gradient(115deg, rgba(3, 18, 41, .96), rgba(5, 25, 58, .78)),
		linear-gradient(145deg, var(--egp-navy), var(--egp-navy-deep));
}

.egp-area-profile__backdrop::after {
	background: linear-gradient(90deg, rgba(3, 18, 41, .84) 0%, rgba(3, 18, 41, .52) 46%, rgba(3, 18, 41, .18) 100%);
}

.egp-area-profile__hero-content {
	display: flex;
	min-height: inherit;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding-block: clamp(70px, 9vw, 130px);
}

.egp-area-profile__breadcrumbs {
	margin-bottom: 28px;
	color: rgba(255, 255, 255, .72);
}

.egp-area-profile__hero-content h1 {
	max-width: 760px;
	margin-bottom: 18px;
	font-size: clamp(4rem, 7vw, 6.5rem);
}

.egp-area-profile__intro {
	max-width: 620px;
	margin-top: 4px;
	color: rgba(255, 255, 255, .88);
	font-size: clamp(1.1rem, 1.6vw, 1.35rem);
	line-height: 1.55;
}

.egp-area-profile__nav {
	position: sticky;
	top: 0;
}

.egp-area-profile__overview-section {
	background: var(--egp-paper, #fbfaf8);
}

.egp-area-profile__overview {
	display: grid;
	max-width: none;
	grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr);
	gap: clamp(60px, 10vw, 150px);
	align-items: center;
}

.egp-area-profile__overview-copy h2 {
	max-width: 720px;
	margin-bottom: 28px;
}

.egp-area-profile__overview-copy .egp-prose {
	max-width: 720px;
	color: var(--egp-slate);
	font-family: var(--egp-ui-font);
	font-size: 1rem;
	line-height: 1.75;
}

.egp-area-profile__overview-copy .egp-btn {
	margin-top: 32px;
}

.egp-area-profile__statement {
	position: relative;
	padding: 22px 0 22px 34px;
	border-left: 1px solid var(--egp-stone);
}

.egp-area-profile__statement > span {
	display: block;
	height: 38px;
	color: var(--egp-bronze);
	font-family: var(--egp-display-font);
	font-size: 4.5rem;
	line-height: .9;
}

.egp-area-profile__statement p {
	margin: 8px 0 24px;
	color: var(--egp-bronze);
	font-family: var(--egp-display-font);
	font-size: clamp(1.65rem, 2.6vw, 2.35rem);
	font-style: italic;
	line-height: 1.2;
}

.egp-area-profile__statement i {
	display: block;
	width: 42px;
	height: 2px;
	margin-bottom: 18px;
	background: var(--egp-bronze);
}

.egp-area-profile__statement small {
	color: var(--egp-slate);
	font-size: .75rem;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.egp-section-heading--split {
	display: flex;
	max-width: none;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}

.egp-section-heading--split h2 {
	margin-bottom: 0;
}

.egp-area-profile__properties {
	background: var(--egp-white);
}

.egp-area-profile__properties:nth-child(even) {
	background: var(--egp-ivory);
}

.egp-area-profile__properties .egp-property-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(18px, 2.2vw, 30px);
}

.egp-area-profile__properties .egp-property-card__title {
	font-size: clamp(1.35rem, 1.8vw, 1.7rem) !important;
}

.egp-area-profile__properties .egp-property-card__body {
	padding-top: 16px;
}

.egp-area-profile__lifestyle {
	background: linear-gradient(125deg, var(--egp-navy), var(--egp-navy-deep));
	color: rgba(255, 255, 255, .72);
}

.egp-area-lifestyle {
	display: grid;
	grid-template-columns: minmax(280px, .75fr) minmax(0, 1.65fr);
	gap: clamp(60px, 9vw, 132px);
	align-items: start;
}

.egp-area-lifestyle h2 {
	color: var(--egp-white);
}

.egp-area-lifestyle__intro .egp-prose {
	color: rgba(255, 255, 255, .72);
}

.egp-area-lifestyle__chapters {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: rgba(255, 255, 255, .14);
}

.egp-area-lifestyle__chapters section {
	min-height: 240px;
	padding: clamp(26px, 3vw, 42px);
	background: rgba(255, 255, 255, .055);
}

.egp-area-lifestyle__chapters .egp-prose {
	color: rgba(255, 255, 255, .72);
	font-size: .9rem;
}

.egp-area-profile__editorial {
	background: var(--egp-ivory);
}

.egp-area-editorial-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.egp-area-editorial {
	padding-top: 30px;
	border-top-width: 1px;
}

.egp-area-editorial h2 {
	margin-bottom: 22px;
	font-size: clamp(1.8rem, 2.5vw, 2.35rem);
}

.egp-area-profile__related {
	background: var(--egp-white);
}

@media (max-width: 1100px) {
	.egp-area-profile__properties .egp-property-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.egp-area-lifestyle {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 980px) {
	.egp-area-profile__overview {
		grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
		gap: 52px;
	}

	.egp-area-lifestyle__chapters {
		grid-template-columns: 1fr;
	}

	.egp-area-lifestyle__chapters section {
		min-height: 0;
	}
}

@media (max-width: 680px) {
	.egp-area-profile__hero {
		min-height: 600px;
	}

	.egp-area-profile__hero-content {
		padding-block: 72px 54px;
	}

	.egp-area-profile__hero-content h1 {
		font-size: clamp(3.4rem, 18vw, 5rem);
	}

	.egp-area-profile__backdrop::after {
		background: linear-gradient(0deg, rgba(3, 18, 41, .88), rgba(3, 18, 41, .4));
	}

	.egp-area-profile__overview {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.egp-area-profile__statement {
		padding: 26px 0 0;
		border-top: 1px solid var(--egp-stone);
		border-left: 0;
	}

	.egp-section-heading--split {
		align-items: flex-start;
		flex-direction: column;
	}

	.egp-area-profile__properties .egp-property-grid,
	.egp-area-editorial-grid {
		grid-template-columns: 1fr;
	}
}

/* Supporting photography and Area map. */
.egp-area-profile__overview--image {
	grid-template-columns: minmax(0, 1.05fr) minmax(260px, .9fr) minmax(250px, .65fr);
	gap: clamp(34px, 5vw, 72px);
}

.egp-area-profile__overview-image {
	overflow: hidden;
	min-height: 440px;
	margin: 0;
	border-radius: var(--egp-radius-card);
	background: var(--egp-stone);
}

.egp-area-profile__overview-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 440px;
	object-fit: cover;
}

.egp-area-lifestyle__chapters section.egp-area-lifestyle__chapter--image {
	position: relative;
	overflow: hidden;
	min-height: 390px;
	padding: 0;
	background: var(--egp-navy-deep);
}

.egp-area-lifestyle__chapter--image figure,
.egp-area-lifestyle__chapter--image figure::after {
	position: absolute;
	inset: 0;
	margin: 0;
}

.egp-area-lifestyle__chapter--image figure::after {
	background: linear-gradient(0deg, rgba(3, 18, 41, .94), rgba(3, 18, 41, .12) 72%);
	content: "";
}

.egp-area-lifestyle__chapter--image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.egp-area-lifestyle__chapter--image > div {
	position: absolute;
	z-index: 1;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 28px;
}

.egp-area-lifestyle__icon {
	display: inline-grid;
	width: 36px;
	height: 36px;
	margin-bottom: 12px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .45);
	border-radius: 50%;
	color: var(--egp-gold-light, #c99a60);
	font-size: .95rem;
}

.egp-area-lifestyle__chapter--image .egp-area-lifestyle__icon {
	background: rgba(3, 18, 41, .42);
	backdrop-filter: blur(6px);
}

.egp-area-lifestyle__chapter--image .egp-prose {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.egp-area-profile__map {
	background: var(--egp-white);
}

.egp-area-map {
	display: grid;
	grid-template-columns: minmax(240px, .7fr) minmax(0, 1.45fr) minmax(220px, .55fr);
	gap: clamp(28px, 4vw, 58px);
	align-items: center;
}

.egp-area-map__copy h2 {
	margin-bottom: 22px;
}

.egp-area-map__copy > p:not(.egp-eyebrow) {
	color: var(--egp-slate);
}

.egp-area-map__copy .egp-btn {
	margin-top: 18px;
}

.egp-area-map__key {
	padding-left: 28px;
	border-left: 1px solid var(--egp-stone);
}

.egp-area-map__key h3 {
	font-size: 1.65rem;
}

.egp-area-map__key ul {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.egp-area-map__key li {
	display: flex;
	gap: 10px;
	align-items: center;
	color: var(--egp-slate);
	font-size: .84rem;
}

.egp-area-map__key li i {
	width: 22px;
	color: var(--egp-bronze);
	font-size: 1rem;
	text-align: center;
}

@media (max-width: 1100px) {
	.egp-area-profile__overview--image {
		grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
	}

	.egp-area-profile__overview--image .egp-area-profile__statement {
		grid-column: 1 / -1;
		max-width: 680px;
	}

	.egp-area-map {
		grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
	}

	.egp-area-map__key {
		grid-column: 1 / -1;
		padding: 26px 0 0;
		border-top: 1px solid var(--egp-stone);
		border-left: 0;
	}

	.egp-area-map__key ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.egp-area-profile__overview--image,
	.egp-area-map {
		grid-template-columns: 1fr;
	}

	.egp-area-profile__overview--image .egp-area-profile__statement {
		grid-column: auto;
	}

	.egp-area-profile__overview-image,
	.egp-area-profile__overview-image img {
		min-height: 320px;
	}

	.egp-area-lifestyle__chapters section.egp-area-lifestyle__chapter--image {
		min-height: 360px;
	}

	.egp-area-map__key {
		grid-column: auto;
	}

	.egp-area-map__key ul {
		grid-template-columns: 1fr;
	}
}

/* Keep Build 04 Area proportions authoritative after legacy map rules. */
.egp-area-profile__properties .egp-property-card__title { font-size: .98rem !important; }
.egp-area-map { grid-template-columns: minmax(250px, .7fr) minmax(0, 1.55fr) minmax(250px, .7fr); align-items: stretch; }
.egp-area-map__copy,
.egp-area-map__key { display: flex; min-height: 360px; flex-direction: column; justify-content: center; }
.egp-area-map__key { padding: 30px; border: 1px solid var(--egp-stone); background: var(--egp-ivory); }

@media (max-width: 1100px) {
	.egp-area-map { grid-template-columns: 1fr 1.5fr; }
	.egp-area-map__key { grid-column: 1 / -1; min-height: auto; padding: 30px; border: 1px solid var(--egp-stone); }
}

@media (max-width: 680px) {
	.egp-area-map { grid-template-columns: 1fr; }
	.egp-area-map__key { grid-column: auto; }
}

/* Build 04.1: compact area sections and local-team presentation. */
.egp-area-profile__hero {
	min-height: 590px;
}

.egp-area-profile__hero-content {
	padding-block: 68px;
}

.egp-area-profile__statistics {
	margin-top: 26px;
}

.egp-area-profile__overview {
	gap: clamp(38px, 6vw, 86px);
}

.egp-area-profile__overview-copy h2,
.egp-area-map__copy h2 {
	margin-bottom: 18px;
}

.egp-area-profile__overview-copy .egp-btn {
	margin-top: 22px;
}

.egp-area-lifestyle {
	gap: clamp(40px, 6vw, 84px);
}

.egp-area-lifestyle__chapters section,
.egp-area-lifestyle__chapters section.egp-area-lifestyle__chapter--image {
	min-height: 320px;
}

.egp-area-profile__agents {
	padding-block: 42px;
}

.egp-area-profile__agents .egp-section-heading {
	margin-bottom: 22px;
}

.egp-area-profile__agents .egp-section-heading h2 {
	font-size: clamp(1.9rem, 3vw, 2.55rem);
}

.egp-area-profile__agents .egp-agent-grid {
	grid-template-columns: repeat(auto-fit, minmax(280px, 440px));
	gap: 24px;
}

.egp-area-profile__agents .egp-agent-card {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	align-items: center;
	gap: 22px;
}

.egp-area-profile__agents .egp-agent-card__media {
	width: 112px;
	height: 138px;
	aspect-ratio: auto;
}

.egp-area-profile__agents .egp-agent-card__body {
	padding: 0;
}

.egp-area-profile__agents .egp-agent-card__name {
	font-size: 1.45rem !important;
}

.egp-area-profile__agents .egp-agent-card__summary {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.egp-area-profile__agents .egp-agent-card__actions {
	margin-top: 12px;
	padding-top: 10px;
}

.egp-area-profile__map .egp-area-map__copy,
.egp-area-profile__map .egp-area-map__key {
	min-height: 320px;
}

@media (max-width: 680px) {
	.egp-area-profile__hero {
		min-height: 540px;
	}

	.egp-area-profile__hero-content {
		padding-block: 56px 42px;
	}

	.egp-area-profile__agents {
		padding-block: 34px;
	}

	.egp-area-profile__agents .egp-agent-card {
		grid-template-columns: 92px minmax(0, 1fr);
		gap: 16px;
	}

	.egp-area-profile__agents .egp-agent-card__media {
		width: 92px;
		height: 112px;
	}

	.egp-area-lifestyle__chapters section,
	.egp-area-lifestyle__chapters section.egp-area-lifestyle__chapter--image {
		min-height: 280px;
	}
}
