.city-why-here {
	position: relative;
	padding: clamp(6rem, 10vw, 10rem) 0;
	overflow: clip;
	background: #f1f2f4;
	color: #1f2933;
}

.city-why-here::before {
	position: absolute;
	top: 0;
	right: 0;
	width: min(40vw, 44rem);
	height: 100%;
	background:
		linear-gradient(rgba(31, 41, 51, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(31, 41, 51, 0.035) 1px, transparent 1px);
	background-size: 4rem 4rem;
	content: "";
	-webkit-mask-image: linear-gradient(90deg, transparent, #000);
	mask-image: linear-gradient(90deg, transparent, #000);
	pointer-events: none;
}

.city-why-here__shell {
	position: relative;
	z-index: 1;
	width: min(calc(100% - (2 * var(--ldh-gutter))), 1560px);
	margin-inline: auto;
}

.city-why-here__header {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.85fr);
	gap: clamp(2rem, 5vw, 6rem);
	align-items: end;
	margin-bottom: clamp(4rem, 7vw, 7rem);
}

.city-why-here__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin: 0 0 1.25rem;
	color: #8e6d36;
	font-size: 0.64rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.city-why-here__eyebrow::before {
	width: 2.5rem;
	height: 1px;
	background: currentColor;
	content: "";
}

.city-why-here__heading h2 {
	max-width: 14ch;
	margin: 0;
	font-family: var(--ldh-serif);
	font-size: clamp(2.6rem, 4.4vw, 5rem);
	font-weight: 400;
	letter-spacing: -0.062em;
	line-height: 0.94;
	text-wrap: balance;
}

.city-why-here__lede {
	max-width: 39rem;
	margin-bottom: 0.35rem;
	padding-left: 1.5rem;
	border-left: 1px solid rgba(142, 109, 54, 0.45);
	color: rgba(31, 41, 51, 0.68);
	font-size: clamp(0.97rem, 0.92rem + 0.16vw, 1.08rem);
	line-height: 1.8;
}

.city-why-here__lede > :first-child,
.city-why-here__item-content > div > :first-child {
	margin-top: 0;
}

.city-why-here__lede > :last-child,
.city-why-here__item-content > div > :last-child {
	margin-bottom: 0;
}

.city-why-here__body {
	display: grid;
	grid-template-columns: minmax(22rem, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(3rem, 7vw, 8rem);
	align-items: start;
}

.city-why-here__visual {
	position: sticky;
	top: 7.5rem;
	min-height: clamp(34rem, 54vw, 48rem);
	margin: 0;
	overflow: hidden;
	background: #0a1521;
}

.city-why-here__image {
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: cover;
	object-position: center;
	filter: saturate(0.82) contrast(1.04) brightness(0.94);
	transform: scale(1.015);
	transition: filter 900ms ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.city-why-here__visual:hover .city-why-here__image {
	filter: saturate(0.96) contrast(1.02) brightness(0.98);
	transform: scale(1.035);
}

.city-why-here__frame {
	position: absolute;
	inset: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.24);
	pointer-events: none;
}

.city-why-here__items {
	display: grid;
}

.city-why-here__item {
	position: relative;
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 1fr);
	gap: clamp(1.5rem, 3vw, 3rem);
	padding: clamp(2rem, 3.5vw, 3rem) 0;
	border-top: 1px solid rgba(31, 41, 51, 0.16);
}

.city-why-here__item:last-child {
	border-bottom: 1px solid rgba(31, 41, 51, 0.16);
}

.city-why-here__item::before {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(166, 132, 74, 0.09), transparent 72%);
	content: "";
	opacity: 0;
	transform: translateX(-1rem);
	transition: opacity 450ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
}

.city-why-here__item:hover::before {
	opacity: 1;
	transform: translateX(0);
}

.city-why-here__item-index,
.city-why-here__item-content {
	position: relative;
	z-index: 1;
}

.city-why-here__item-index {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	padding-top: 0.25rem;
	color: #9a773e;
	font-family: var(--ldh-serif);
	font-size: 0.92rem;
}

.city-why-here__item-index i {
	width: 1.6rem;
	height: 1px;
	margin-top: 0.55rem;
	background: rgba(142, 109, 54, 0.42);
	transition: width 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.city-why-here__item:hover .city-why-here__item-index i {
	width: 2.4rem;
}

.city-why-here__item-content h3 {
	margin: 0 0 1rem;
	color: #26323c;
	font-family: var(--ldh-serif);
	font-size: clamp(1.8rem, 2.7vw, 2.7rem);
	font-weight: 400;
	letter-spacing: -0.045em;
	line-height: 1;
}

.city-why-here__item-content > div {
	color: rgba(31, 41, 51, 0.66);
	font-size: 0.92rem;
	line-height: 1.75;
}

@media (max-width: 820px) {
	.city-why-here__header,
	.city-why-here__body {
		grid-template-columns: 1fr;
	}

	.city-why-here__header {
		gap: 1.5rem;
	}

	.city-why-here__visual {
		position: relative;
		top: auto;
		min-height: min(112vw, 42rem);
	}
}

@media (max-width: 560px) {
	.city-why-here {
		padding: 5.5rem 0;
	}

	.city-why-here__shell {
		width: min(calc(100% - 2.5rem), 40rem);
	}

	.city-why-here__heading h2 {
		font-size: clamp(2.2rem, 10.2vw, 3.35rem);
	}

	.city-why-here__lede {
		padding-left: 1rem;
		font-size: 0.94rem;
	}

	.city-why-here__visual {
		min-height: 115vw;
	}

	.city-why-here__item {
		grid-template-columns: 3.5rem minmax(0, 1fr);
		gap: 0.75rem;
	}

	.city-why-here__item-index i {
		display: none;
	}

	.city-why-here__item-content h3 {
		font-size: 1.9rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.city-why-here__image,
	.city-why-here__item::before,
	.city-why-here__item-index i {
		transition: none;
	}
}
