.nh-hero {
	padding: 95px 0 0;
	overflow-x: clip;
}

.nh-hero__inner {
	max-width: var(--nh-container);
	margin: 0 auto;
	padding: 0 var(--nh-gutter);
	text-align: center;
}

.nh-hero__title {
	margin: 0;
	font-family: var(--nh-serif);
	font-weight: 400;
	font-size: 78px;
	line-height: 76px;
	letter-spacing: -5px;
	color: var(--nh-fg);
}

.nh-hero__title-line {
	display: block;
	clip-path: inset(-0.35em -0.35em);
}

.nh-hero__title-inner {
	display: inline-block;
	width: 100%;
	will-change: transform;
}

.nh-hero__subtitle {
	max-width: 920px;
	margin: 41px auto 0;
	font-size: 26px;
	line-height: 1.1;
	letter-spacing: -0.8px;
}

.nh-hero__cta {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 201px;
	height: 50px;
	margin-top: 41px;
	padding: 0 32px;
	background: var(--nh-cta-bg);
	border: 0;
	color: var(--nh-cta-fg);
	cursor: pointer;
	font-family: var(--nh-serif);
	font-style: italic;
	font-size: 20px;
	line-height: 1.2;
	text-decoration: none;
	border-radius: var(--nh-radius);
	transform-origin: center;
	transition: transform .25s cubic-bezier(0.22, 1, 0.36, 1), background-color .25s ease;
}

.nh-hero__cta,
.nh-hero__cta:link,
.nh-hero__cta:visited,
.nh-hero__cta:hover,
.nh-hero__cta:focus,
.nh-hero__cta:focus-visible,
.nh-hero__cta:active,
.nh-hero__cta *,
.nh-hero__cta:link *,
.nh-hero__cta:visited *,
.nh-hero__cta:hover *,
.nh-hero__cta:focus *,
.nh-hero__cta:focus-visible *,
.nh-hero__cta:active * {
	color: var(--nh-cta-fg, #fff) !important;
}

.nh-hero__cta:hover,
.nh-hero__cta:focus-visible {
	background: var(--nh-cta-bg, #000) !important;
	background-color: var(--nh-cta-bg, #000) !important;
	border-color: var(--nh-cta-bg, #000) !important;
	color: var(--nh-cta-fg, #fff) !important;
	transform: scale(1.05);
}

.nh-hero__media {
	--nh-hero-media-bleed: 8px;
	position: relative;
	margin: 60px 0 0;
	border-radius: var(--nh-radius);
	overflow: hidden;
	contain: paint;
	aspect-ratio: 1140 / 414;
	background: transparent;
}

.nh-hero__media img,
.nh-hero__video,
.nh-hero__image {
	position: absolute;
	inset: calc(var(--nh-hero-media-bleed) * -1);
	width: calc(100% + (var(--nh-hero-media-bleed) * 2));
	height: calc(100% + (var(--nh-hero-media-bleed) * 2));
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: var(--nh-hero-image-position, center);
	display: block;
	transform: scale(1.2);
	will-change: transform;
}

/*
 * Centered heroes deliberately zoom their media for the parallax effect. When
 * the source image matches the frame ratio, object-position alone has no crop
 * to move; using the same focal point as the transform origin keeps the chosen
 * subject position effective during that zoom as well.
 */
.newhome:not(.nh-hero--split) .nh-hero__media img,
.newhome:not(.nh-hero--split) .nh-hero__video,
.newhome:not(.nh-hero--split) .nh-hero__image {
	transform-origin: var(--nh-hero-image-position, center);
}

.nh-hero__media--placeholder {
	background: linear-gradient(135deg, #d2bdae 0%, #b89c89 100%);
}

@keyframes nh-hero-media-ready {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.newhome.nh-anim .nh-hero__media {
	opacity: 0;
	animation: none;
}

.newhome.nh-anim .nh-hero__media.nh-parallax-preparing {
	opacity: 0;
	animation: none;
}

.newhome.nh-anim .nh-hero__media.nh-parallax-ready {
	animation: nh-hero-media-ready 1100ms cubic-bezier(.22, .61, .36, 1) 80ms both;
}

@media (prefers-reduced-motion: reduce) {
	.newhome.nh-anim .nh-hero__media,
	.newhome.nh-anim .nh-hero__media.nh-parallax-ready {
		opacity: 1;
		filter: none;
		animation: none;
	}
}

.nh-hero--split .nh-hero {
	padding: 64px 0 0;
}

.nh-hero--split .nh-hero__inner {
	max-width: var(--nh-container);
	margin: 0 auto;
	padding: 0 var(--nh-gutter);
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	grid-template-areas: "content media";
	column-gap: 36px;
	align-items: stretch;
	min-height: 0;
	text-align: left;
}

.nh-hero--split .nh-hero__content {
	grid-area: content;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	padding-top: 62px;
	min-width: 0;
}

.nh-hero--split .nh-hero__title {
	text-align: left;
	font-size: 64px;
	line-height: 1;
	letter-spacing: -4px;
	margin: 0;
}

.nh-hero--split .nh-hero__title-line {
	display: block;
	white-space: nowrap;
}

.nh-hero--split .nh-hero__subtitle {
	text-align: left;
	max-width: 460px;
	margin: 28px 0 0;
	font-size: 20px;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.nh-hero--split .nh-hero__cta {
	margin: 28px 0 0;
}

.nh-hero--split .nh-hero__media {
	grid-area: media;
	width: 100%;
	max-width: 480px;
	margin: 44px 0 0;
	justify-self: end;
	align-self: stretch;
	height: calc(100% - 44px);
	min-height: 569px;
	aspect-ratio: 523 / 529;
	background: transparent;
	border-radius: var(--nh-radius);
	overflow: hidden;
}

.nh-hero--split .nh-hero__image,
.nh-hero--split .nh-hero__video,
.nh-hero--split .nh-hero__media img,
.nh-hero--split .nh-hero__media video {
	transform: none;
	object-fit: cover;
}

@media (min-width: 901px) {
	.nh-hero--split .nh-hero {
		padding: 16px 0 0;
	}
}

@media (max-width: 900px) {
	.nh-hero__media {
		--nh-hero-media-bleed: 0px;
	}

	.nh-hero {
		padding-top: 60px;
	}

	.nh-hero__title {
		font-size: 56px;
		line-height: 1.05;
		letter-spacing: -4.5px;
	}

	.nh-hero__subtitle {
		font-size: 20px;
		margin-top: 28px;
	}

	.nh-hero__cta {
		margin-top: 28px;
	}

	.nh-hero__media {
		margin-top: 40px;
	}

	.nh-hero__image,
	.nh-hero__video,
	.nh-hero__media img,
	.nh-hero__media video {
		object-position: var(--nh-hero-image-position-mobile, var(--nh-hero-image-position, center));
	}

	.newhome:not(.nh-hero--split) .nh-hero__media img,
	.newhome:not(.nh-hero--split) .nh-hero__video,
	.newhome:not(.nh-hero--split) .nh-hero__image {
		transform-origin: var(--nh-hero-image-position-mobile, var(--nh-hero-image-position, center));
	}

	.newhome:not(.nh-hero--split) .nh-hero__media--image {
		aspect-ratio: var(--nh-hero-image-ratio, 552 / 334);
	}

	.nh-hero--split .nh-hero__inner {
		min-height: 0;
		grid-template-columns: 1fr;
		grid-template-areas:
			"content"
			"media";
		row-gap: 0;
		justify-items: center;
		text-align: center;
	}

	.nh-hero--split .nh-hero__content {
		align-items: center;
		justify-content: flex-start;
		padding-top: 24px;
	}

	.nh-hero--split .nh-hero__title {
		text-align: center;
		font-size: 56px;
		line-height: 1.05;
		letter-spacing: -4.5px;
	}

	.nh-hero--split .nh-hero__title-line {
		white-space: normal;
	}

	.nh-hero--split .nh-hero__subtitle {
		font-size: 20px;
		text-align: center;
		margin-inline: auto;
	}

	.nh-hero--split .nh-hero__cta {
		margin-top: 28px;
	}

	.nh-hero--split .nh-hero__media {
		max-width: none;
		margin: 51px auto 0;
		height: auto;
		min-height: 0;
		justify-self: center;
		aspect-ratio: 552 / 334;
	}

}

@media (max-width: 600px) {
	.nh-hero {
		padding-top: 75px;
	}

	.nh-hero.is-visible {
		padding-top: 75px;
	}

	.nh-hero__inner {
		padding: 0 22px;
	}

	.nh-hero__title {
		font-size: 32px;
		line-height: 1.1;
		letter-spacing: -3px;
	}

	.nh-hero--mobile-title-inline .nh-hero__title-line {
		display: inline;
		clip-path: none;
	}

	.nh-hero--mobile-title-inline .nh-hero__title-inner {
		display: inline;
		width: auto;
	}

	.nh-hero--mobile-title-inline .nh-hero__title br {
		display: none;
	}

	.nh-hero__subtitle {
		font-size: 16px;
		line-height: 1.2;
		letter-spacing: -1.5px;
		margin-top: 24px;
		max-width: 276px;
	}

	.nh-hero__cta {
		margin-top: 32px;
		min-width: 200px;
		height: 46px;
		font-size: 18px;
	}

	.nh-hero__media {
		--nh-hero-media-bleed: 12px;
		margin-top: 51px;
		aspect-ratio: 276 / 167;
	}

	.newhome:not(.nh-hero--split) .nh-hero__media--image {
		aspect-ratio: 276 / 167;
	}

	.nh-hero--split .nh-hero__title {
		font-size: 40px;
		letter-spacing: -3px;
	}

	.nh-hero--split .nh-hero__subtitle {
		font-size: 16px;
		letter-spacing: -1.5px;
	}
}
