@font-face {
	font-family: "Red Hat Display";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("./fonts/RedHatDisplay-Regular.woff2") format("woff2");
}

@font-face {
	font-family: "Red Hat Display";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("./fonts/RedHatDisplay-Bold.woff2") format("woff2");
}

@font-face {
	font-family: "Oxygen";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("./fonts/Oxygen-Regular.woff2") format("woff2");
}

@font-face {
	font-family: "Oxygen";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("./fonts/Oxygen-Bold.woff2") format("woff2");
}

.samesville-hero {
	--samesville-green: #afd135;
	--samesville-green-dark: #5eb041;
	--samesville-ink: #0b0d0a;
	--samesville-white: #ffffff;
}

.samesville-hero,
.samesville-hero *,
.samesville-hero *::before,
.samesville-hero *::after {
	box-sizing: border-box;
}

body.samesville-hero-prototype {
	margin: 0;
	background: #0b0d0a;
	color: #ffffff;
	font-family: "Oxygen", Arial, sans-serif;
}

.samesville-hero button,
.samesville-hero a {
	font: inherit;
}

.samesville-campaign-header,
.samesville-campaign-header .logo,
.samesville-campaign-header .btn {
	transition: padding 180ms ease, max-height 180ms ease, min-height 180ms ease, font-size 180ms ease, box-shadow 180ms ease;
}

.samesville-hero {
	--reveal: 0%;
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	width: 100%;
	height: min(100svh, 47rem);
	min-height: 33rem;
	overflow: hidden;
	background: var(--samesville-ink);
	color: var(--samesville-white);
	font-family: "Oxygen", Arial, sans-serif;
}

.samesville-hero__visual,
.samesville-hero__image,
.samesville-hero__scrim,
.samesville-hero__grain {
	position: absolute;
	inset: 0;
}

.samesville-hero__visual {
	z-index: 0;
	overflow: hidden;
	cursor: ew-resize;
	touch-action: pan-y;
	user-select: none;
}

.samesville-hero__image {
	background-image: url("../img/campaigns/samesville/background-image-samesville.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	transform: scale(1.008);
}

.samesville-hero__image--mono {
	filter: grayscale(1) contrast(1.12) brightness(0.72);
}

.samesville-hero__image--color {
	clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
	filter: saturate(1.07) contrast(1.02);
	will-change: clip-path;
}

.samesville-hero__scrim {
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.78) 24%, rgba(0, 0, 0, 0.34) 47%, transparent 69%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 35%, rgba(0, 0, 0, 0.12));
	pointer-events: none;
}

.samesville-hero__grain {
	z-index: 2;
	opacity: 0.12;
	background-image:
		radial-gradient(circle at 17% 31%, rgba(255, 255, 255, 0.5) 0 0.045rem, transparent 0.055rem),
		radial-gradient(circle at 73% 61%, rgba(0, 0, 0, 0.5) 0 0.04rem, transparent 0.05rem);
	background-size: 0.28rem 0.3rem, 0.33rem 0.31rem;
	mix-blend-mode: soft-light;
	pointer-events: none;
}

.samesville-hero__content {
	position: relative;
	z-index: 3;
	width: min(44rem, 48vw);
	margin-left: clamp(2rem, 7.2vw, 8rem);
	padding: 3rem 0;
	text-shadow: 0 0.15rem 1.5rem rgba(0, 0, 0, 0.48);
}

.samesville-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.25rem;
	color: rgba(255, 255, 255, 0.78);
	font-size: clamp(0.68rem, 0.75vw, 0.8rem);
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.samesville-hero__eyebrow > span {
	display: block;
	width: 2.25rem;
	height: 0.14rem;
	border-radius: 999px;
	background: var(--samesville-green);
	box-shadow: 0 0 1rem rgba(175, 209, 53, 0.65);
}

.samesville-hero .samesville-hero__title {
	margin: 0;
	color: var(--samesville-white);
	font-family: "Red Hat Display", Arial, sans-serif;
	font-size: clamp(3rem, 4.45vw, 5.2rem);
	font-weight: 700;
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.samesville-hero__title > span {
	display: block;
	color: inherit;
}

.samesville-hero__title > span + span {
	margin-top: 0.07em;
}

.samesville-hero__title strong {
	color: var(--samesville-green);
	font-weight: inherit;
	text-shadow: 0 0 1.7rem rgba(102, 172, 47, 0.22);
}

.samesville-hero__copy {
	max-width: 35rem;
	margin: 1.7rem 0 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: clamp(1rem, 1.2vw, 1.18rem);
	line-height: 1.52;
}

.samesville-hero__copy strong {
	color: var(--samesville-white);
	font-weight: 700;
}

.samesville-hero__actions {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin-top: 2.25rem;
}

.samesville-hero__address-checker {
	width: min(100%, 34rem);
	margin-top: 2rem;
	text-shadow: none;
}

.samesville-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	min-width: 13.25rem;
	min-height: 3.3rem;
	padding: 0.75rem 1.5rem;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(100deg, var(--samesville-green-dark), #6cbd3b);
	box-shadow: 0 0.65rem 1.6rem rgba(0, 0, 0, 0.24);
	color: var(--samesville-white);
	font-family: "Red Hat Display", Arial, sans-serif;
	font-size: 1.06rem;
	font-weight: 700;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.samesville-hero__cta span {
	font-size: 1.3em;
	line-height: 1;
	transition: transform 180ms ease;
}

.samesville-hero__cta:hover {
	background: linear-gradient(100deg, #67bc45, #7bc947);
	box-shadow: 0 0.8rem 1.9rem rgba(0, 0, 0, 0.3);
	transform: translateY(-0.12rem);
}

.samesville-hero__cta:hover span {
	transform: translateX(0.22rem);
}

.samesville-hero__reveal-control {
	position: absolute;
	z-index: 5;
	top: 0;
	bottom: 0;
	left: clamp(1.75rem, var(--reveal), calc(100% - 1.75rem));
	width: 3.5rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--samesville-white);
	cursor: ew-resize;
	transform: translateX(-50%);
}

.samesville-hero__reveal-line {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 0.12rem;
	background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.74) 18%, rgba(255, 255, 255, 0.9) 82%, transparent);
	box-shadow: 0 0 1.25rem rgba(255, 255, 255, 0.28);
	transform: translateX(-50%);
}

.samesville-hero__reveal-handle {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.23rem;
	width: 3.25rem;
	height: 3.25rem;
	border: 0.12rem solid rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	background: rgba(9, 12, 8, 0.7);
	box-shadow: 0 0.45rem 1.4rem rgba(0, 0, 0, 0.35), inset 0 0 0 0.16rem rgba(175, 209, 53, 0.22);
	font-size: 0.8rem;
	font-weight: 700;
	backdrop-filter: blur(0.45rem);
	transform: translate(-50%, -50%);
	transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.samesville-hero__reveal-control:hover .samesville-hero__reveal-handle,
.samesville-hero__reveal-control:focus-visible .samesville-hero__reveal-handle {
	border-color: var(--samesville-green);
	background: rgba(9, 12, 8, 0.86);
	transform: translate(-50%, -50%) scale(1.08);
}

.samesville-hero__eyebrow,
.samesville-hero__title,
.samesville-hero__copy,
.samesville-hero__actions,
.samesville-hero__address-checker {
	opacity: 0;
	transform: translateY(1.15rem);
}

.samesville-hero.is-ready .samesville-hero__eyebrow,
.samesville-hero.is-ready .samesville-hero__title,
.samesville-hero.is-ready .samesville-hero__copy,
.samesville-hero.is-ready .samesville-hero__actions,
.samesville-hero.is-ready .samesville-hero__address-checker {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.samesville-hero.is-ready .samesville-hero__title {
	transition-delay: 90ms;
}

.samesville-hero.is-ready .samesville-hero__copy {
	transition-delay: 180ms;
}

.samesville-hero.is-ready .samesville-hero__actions {
	transition-delay: 270ms;
}

.samesville-hero.is-ready .samesville-hero__address-checker {
	transition-delay: 270ms;
}

.samesville-hero__cta:focus-visible,
.samesville-hero__reveal-control:focus-visible {
	outline: 0.2rem solid var(--samesville-green);
	outline-offset: 0.25rem;
}

@media (max-width: 74.99rem) {
	.samesville-hero__content {
		width: min(40rem, 52vw);
		margin-left: clamp(2rem, 5vw, 4.5rem);
	}

	.samesville-hero__title {
		font-size: clamp(2.75rem, 4.35vw, 4.25rem);
	}
}

@media (max-width: 47.99rem) {
	body.experience-next .samesville-pricing-carousel.next-pattern-carousel--pricing {
		--next-carousel-mobile-side-peek: 0rem;
		--next-carousel-mobile-shadow-pad: 0rem;
		--next-carousel-mobile-end-pad: 0rem;
		width: auto;
		margin-right: -15px;
		margin-left: -15px;
	}

	/* Keep touch snapping and the carousel's offset-based navigation aligned. */
	body.experience-next .samesville-pricing-carousel .next-pattern-carousel__viewport {
		padding-right: 0;
		padding-left: 0;
		scroll-padding-inline-start: 0;
		scroll-padding-inline-end: 0;
	}

	body.experience-next .samesville-pricing-carousel.next-pattern-carousel--pricing .next-pattern-carousel__slide {
		box-sizing: border-box;
		flex-basis: 100%;
		padding-right: calc(var(--next-space-4) * 2);
		padding-left: calc(var(--next-space-4) * 2);
	}

	body.experience-next .samesville-pricing-carousel .next-pattern-carousel__track::after {
		display: none;
	}

	.samesville-hero {
		display: flex;
		flex-direction: column;
		height: auto;
		min-height: 0;
		overflow: hidden;
	}

	.samesville-hero__visual {
		position: relative;
		order: 2;
		width: 100%;
		height: clamp(17rem, 42svh, 22rem);
		flex: 0 0 auto;
	}

	.samesville-hero__image {
		background-image: url("../img/campaigns/samesville/mobile-samesville-back.jpg");
		background-position: 78% center;
	}

	.samesville-hero__scrim {
		background:
			linear-gradient(180deg, var(--samesville-ink) 0%, rgba(11, 13, 10, 0.88) 5%, transparent 22%),
			linear-gradient(90deg, rgba(0, 0, 0, 0.08), transparent 52%);
	}

	.samesville-hero__content {
		display: contents;
	}

	.samesville-hero__intro {
		position: relative;
		z-index: 3;
		order: 1;
		padding: 1.5rem 1.35rem 0.75rem;
		background: var(--samesville-ink);
		text-shadow: 0 0.1rem 1rem rgba(0, 0, 0, 0.5);
	}

	.samesville-hero__eyebrow {
		margin-bottom: 0.9rem;
		font-size: 0.64rem;
	}

	.samesville-hero__title {
		max-width: 33rem;
		font-size: clamp(2.45rem, 11.8vw, 4rem);
		line-height: 0.98;
	}

	.samesville-hero__intro .samesville-hero__copy {
		max-width: 36rem;
		margin-top: 1.4rem;
		font-size: clamp(0.93rem, 4vw, 1.05rem);
		line-height: 1.48;
	}

	.samesville-hero__actions {
		align-items: stretch;
		gap: 0.7rem;
		margin-top: 1.5rem;
	}

	.samesville-hero__address-checker {
		position: relative;
		z-index: 3;
		order: 3;
		width: 100%;
		margin: 0;
		padding: 1rem 1.35rem 1.35rem;
		background: var(--samesville-ink);
	}

	.samesville-hero__cta {
		min-width: 0;
		min-height: 3.2rem;
		padding-inline: 1.25rem;
	}

	.samesville-hero__reveal-handle {
		top: 47%;
		width: 3rem;
		height: 3rem;
	}

	.samesville-split-cta {
		display: flex;
		width: 100%;
		justify-content: center;
	}

	.samesville-campaign-header {
		padding-top: 0.75rem !important;
		padding-bottom: 0.75rem !important;
	}

	.samesville-campaign-header .logo {
		width: auto;
		max-height: 3.25rem;
	}

	.samesville-campaign-header .btn {
		min-height: 3rem;
		padding: 0.65rem 1.2rem;
		font-size: 0.95rem;
	}

	.samesville-campaign-header.is-compact {
		padding-top: 0.4rem !important;
		padding-bottom: 0.4rem !important;
		box-shadow: 0 0.45rem 1.2rem rgba(22, 35, 16, 0.12);
	}

	.samesville-campaign-header.is-compact .logo {
		height: 2.7rem !important;
		max-height: 2.7rem;
	}

	.samesville-campaign-header.is-compact .btn {
		height: auto !important;
		min-height: 2.9rem !important;
		padding: 0.55rem 1.05rem !important;
		font-size: 0.95rem;
	}
}

@media (max-width: 31.24rem) {
	.samesville-hero__visual {
		height: clamp(16rem, 40svh, 20rem);
	}

	.samesville-hero__intro {
		padding-top: 1.25rem;
	}

	.samesville-hero__actions {
		flex-direction: column;
	}
}

@media (max-height: 42rem) and (min-width: 48rem) {
	.samesville-hero__content {
		padding-block: 1.5rem;
	}

	.samesville-hero__eyebrow {
		margin-bottom: 0.75rem;
	}

	.samesville-hero__copy {
		margin-top: 1rem;
		font-size: 0.98rem;
	}

	.samesville-hero__actions {
		margin-top: 1.35rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.samesville-hero,
	.samesville-hero *,
	.samesville-hero *::before,
	.samesville-hero *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

.samesville-reviews #bf-revz-widget-12345678999151831751343 {
	width: 100%;
	overflow: hidden;
	border: 1px solid rgba(22, 35, 16, 0.08);
	border-radius: var(--next-radius-md, 1rem);
	background: #f8f9fa;
	box-shadow: var(--next-shadow-sm, 0 0.625rem 1.5rem rgba(22, 35, 16, 0.08));
}

.samesville-reviews #bf-revz-widget-12345678999151831751343 iframe {
	display: block !important;
	width: 100% !important;
	height: 420px !important;
	max-width: none !important;
	margin: 0 !important;
}
