/**
 * Homestead homepage hero.
 */

.homestead-hero {
	--homestead-hero-radius: var(--homestead-radius, 4px);
	--homestead-hero-shadow: 0 18px 40px rgba(49, 49, 49, 0.16);
	--homestead-olive: var(--wp--preset--color--olive, #87a370);
	--homestead-light: var(--wp--preset--color--light, #ebe992);
	--homestead-yellow: var(--wp--preset--color--yellow, #f4db27);
	--homestead-orange: var(--wp--preset--color--orange, #f4872c);
	/* Darker orange for AA contrast on white / with white text. */
	--homestead-orange-cta: var(--homestead-cta-bg);
	--homestead-sky: var(--wp--preset--color--sky, #8bc7e3);
	--homestead-ocean: var(--wp--preset--color--ocean, #038aaa);
	--homestead-content-width: 1440px;
	--homestead-hero-pad-y: clamp(2.5rem, 5vw, 4.5rem);
	/* Fan rises into section top padding; copy stays put via negative margin on visual. */
	--homestead-fan-rise: clamp(1.75rem, 3.25vw, 2.75rem);
	/* Extra stage height so fan card tops clear overflow. */
	--homestead-collage-extra: 2rem;
	--homestead-collage-inset: clamp(1.25rem, 2.5vw, 2.25rem);

	position: relative;
	isolation: isolate;
	overflow: hidden;
	background-color: var(--wp--preset--color--base, #f5f1e8);
	padding-block: var(--homestead-hero-pad-y);
}

@media (min-width: 601px) {
	:root {
		--homestead-hero-badge-gap: clamp(1.25rem, 2.5vw, 2rem);
	}

	.homestead-hero {
		padding-top: calc(
			var(--homestead-hero-pad-y) + var(--homestead-logo-badge-overhang, 0px) + var(--homestead-hero-badge-gap)
		);
	}
}

.homestead-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: url("../images/hero-upper-background-bw.webp");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	opacity: 0.15;
	pointer-events: none;
}

.homestead-front.prairie-light-main {
	padding-block: 0;
}

.homestead-hero__decor {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.homestead-hero__halftone {
	position: absolute;
	left: -4%;
	bottom: -8%;
	width: min(34rem, 48vw);
	height: min(22rem, 36vw);
	background-image: radial-gradient(circle, rgba(244, 219, 39, 0.35) 1.4px, transparent 1.6px);
	background-size: 12px 12px;
	opacity: 0.55;
	transform: rotate(-8deg);
	mask-image: radial-gradient(ellipse at center, #000 0%, transparent 72%);
}

.homestead-hero__lines {
	position: absolute;
	width: min(28rem, 42vw);
	height: min(22rem, 34vw);
	background: repeating-linear-gradient(
		-32deg,
		rgba(139, 199, 227, 0.28) 0 2px,
		transparent 2px 14px
	);
	opacity: 0.7;
	mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
}

.homestead-hero__lines--top-right {
	right: -6%;
	top: -4%;
}

.homestead-hero__lines--bottom-left {
	left: -6%;
	bottom: -4%;
}

.homestead-hero__wave {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: clamp(8rem, 18vw, 14rem);
	display: block;
	pointer-events: none;
	z-index: 0;
}

.homestead-hero__wave path {
	fill: #d2edfa;
}

.homestead-hero__divider {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	margin: 0;
}

.homestead-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	/*
	 * Left column sizes to the copy (max 36rem) instead of an equal fr track.
	 * That reclaimable dead space between the lede and the collage goes to the fan.
	 */
	grid-template-columns: minmax(0, 36rem) minmax(0, 1fr);
	gap: clamp(1rem, 2vw, 1.5rem);
	align-items: start;
	width: 100%;
	max-width: var(--homestead-content-width);
	margin-inline: auto;
	padding-inline: clamp(1rem, 2.5vw, 2rem);
	box-sizing: border-box;
}

.homestead-hero__trust-marquee {
	position: relative;
	z-index: 2;
	margin: clamp(2rem, 4vw, 3rem) 0 0;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.homestead-hero__trust-track {
	display: flex;
	width: max-content;
	animation: homestead-hero-trust-marquee 36s linear infinite;
}

.homestead-hero__trust-list {
	display: flex;
	align-items: stretch;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	margin: 0;
	padding: 0 clamp(1rem, 2.5vw, 2rem);
	list-style: none;
}

.homestead-hero__trust-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	padding: 0.75rem 1.15rem;
	border: 1px solid var(--homestead-warm-linen, #e7ded1);
	border-radius: 0;
	background-color: rgb(255 255 255 / 72%);
	box-shadow: 0 8px 20px rgb(49 49 49 / 8%);
	box-sizing: border-box;
	color: var(--wp--preset--color--heading, #1a1a1a);
	white-space: nowrap;
}

.homestead-hero__trust-icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: clamp(2.75rem, 3.8vw, 3.5rem);
	height: clamp(2.75rem, 3.8vw, 3.5rem);
	line-height: 0;
}

.homestead-hero__trust-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

/* Line SVGs read a touch small next to the Oklahoma state mark. */
.homestead-hero__trust-icon img[src*=".svg"] {
	width: 88%;
	height: 88%;
}

.homestead-hero__trust-copy {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.15rem;
	min-width: 0;
}

.homestead-hero__trust-heading {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1rem, 1.25vw, 1.125rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.01em;
}

.homestead-hero__trust-subheading {
	font-family: var(--wp--preset--font-family--body);
	font-size: clamp(0.75rem, 0.95vw, 0.875rem);
	font-weight: 300;
	line-height: 1.25;
	letter-spacing: 0.01em;
	color: var(--homestead-stone-dark, #6f7566);
}

.homestead-hero__trust-item--badge {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.15rem;
}

.homestead-hero__trust-badge {
	display: block;
	width: auto;
	/* ~2/3 of footer Chahta max-width (280px) and height (45px / 2.8125rem). */
	max-width: min(187px, 28vw);
	height: 1.875rem;
	object-fit: contain;
	object-position: center;
}

.homestead-hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.35rem;
	max-width: 36rem;
	animation: homestead-hero-rise 0.8s ease both;
}

.homestead-hero__title {
	margin: 0;
	color: var(--wp--preset--color--heading, #000000);
	font-family: var(--wp--preset--font-family--heading);
	/* Sized so "Stick Everywhere." fits in the ~36rem copy column. */
	font-size: clamp(2.4rem, 4.4vw, 4.55rem);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.02em;
}

.homestead-hero__title-line {
	display: block;
	white-space: nowrap;
}

.homestead-hero__lede {
	margin: 0;
	max-width: 34rem;
	color: var(--wp--preset--color--body, #313131);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--homestead-body-size, 1rem);
	font-weight: 400;
	line-height: var(--homestead-body-line, 1.6);
}

.homestead-hero__goats-sticker {
	margin: 0.35rem 0 0;
	max-width: 9.5rem;
	line-height: 0;
}

.homestead-hero__goats-sticker img {
	display: block;
	width: 100%;
	height: auto;
	transform: rotate(-12deg);
	transform-origin: center center;
}

.homestead-hero__visual {
	position: relative;
	/* Claim section top padding for fan headroom; title/copy keep their flow position. */
	margin-top: calc(-1 * var(--homestead-fan-rise));
	padding-top: var(--homestead-collage-inset);
	animation: homestead-hero-rise 0.9s ease 0.08s both;
	/* Slot geometry — tuned to match the former three-card fan footprint. */
	--hero-slot-duration: 0.25s;
	--hero-slot-ease: cubic-bezier(0.25, 0.8, 0.25, 1);
	--hero-card-w: min(32%, 13.75rem);
	--hero-card-top: calc(2.75rem + 3.5rem);
}

.homestead-hero__collage {
	display: block;
	position: relative;
	height: calc(
		clamp(27rem, 46vw, 32rem) + var(--homestead-fan-rise) + var(--homestead-collage-extra)
	);
	overflow: hidden;
	touch-action: pan-y;
}

.homestead-hero__carousel {
	display: none;
	position: relative;
}

.homestead-hero__card {
	position: absolute;
	left: 50%;
	top: var(--hero-card-top);
	width: var(--hero-card-w);
	aspect-ratio: 3 / 5.2;
	transform-origin: center center;
	pointer-events: none;
}

.homestead-hero__visual.is-gallery-enhanced.is-gallery-ready .homestead-hero__card {
	transition:
		transform var(--hero-slot-duration) var(--hero-slot-ease),
		opacity var(--hero-slot-duration) var(--hero-slot-ease);
}

.homestead-hero__visual.is-gallery-enhanced .homestead-hero__card[data-slot="center"] {
	pointer-events: auto;
}

.homestead-hero__card[data-slot="off-left"] {
	z-index: 0;
	opacity: 0;
	transform: translate3d(calc(-50% - 132%), 14%, 0) rotate(-24deg) scale(0.55);
}

.homestead-hero__card[data-slot="far-left"] {
	z-index: 1;
	opacity: 0.42;
	transform: translate3d(calc(-50% - 88%), 8%, 0) rotate(-18deg) scale(0.72);
}

.homestead-hero__card[data-slot="left"] {
	z-index: 2;
	opacity: 1;
	transform: translate3d(calc(-50% - 52%), 4%, 0) rotate(-12deg) scale(0.92);
}

.homestead-hero__card[data-slot="center"] {
	z-index: 5;
	opacity: 1;
	transform: translate3d(-50%, 0, 0) rotate(6deg) scale(1.06);
}

.homestead-hero__card[data-slot="right"] {
	z-index: 2;
	opacity: 1;
	transform: translate3d(calc(-50% + 52%), 5%, 0) rotate(14deg) scale(0.92);
}

.homestead-hero__card[data-slot="far-right"] {
	z-index: 1;
	opacity: 0.42;
	transform: translate3d(calc(-50% + 88%), 9%, 0) rotate(20deg) scale(0.72);
}

.homestead-hero__card[data-slot="off-right"] {
	z-index: 0;
	opacity: 0;
	transform: translate3d(calc(-50% + 132%), 14%, 0) rotate(24deg) scale(0.55);
}

.homestead-hero__frame-link {
	display: block;
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: inherit;
	border-radius: var(--homestead-hero-radius);
	cursor: zoom-in;
}

.homestead-hero__frame-link:focus-visible {
	outline: 3px solid var(--homestead-ocean);
	outline-offset: 4px;
}

.homestead-hero__frame {
	position: relative;
	z-index: 1;
	margin: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border: 8px solid #ffffff;
	border-radius: var(--homestead-hero-radius);
	background-color: #f3f3f3;
	box-shadow: var(--homestead-hero-shadow);
	line-height: 0;
	box-sizing: border-box;
}

.homestead-hero__frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.homestead-hero__frame img.is-broken {
	opacity: 0;
}

.homestead-hero__carousel-viewport {
	overflow-x: auto;
	overflow-y: visible;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.homestead-hero__carousel-viewport::-webkit-scrollbar {
	display: none;
}

.homestead-hero__carousel-viewport:focus-visible {
	outline: 2px solid var(--homestead-stone, #8e9188);
	outline-offset: 4px;
}

.homestead-hero__carousel-track {
	--homestead-carousel-gap: 5px;
	--homestead-carousel-visible: 4.5;

	display: flex;
	gap: var(--homestead-carousel-gap);
	padding-block: 0.25rem 0.5rem;
}

.homestead-hero__carousel-slide {
	flex: 0 0 calc(
		(100% - (var(--homestead-carousel-gap) * (var(--homestead-carousel-visible) - 1))) /
			var(--homestead-carousel-visible)
	);
	scroll-snap-align: start;
	align-self: flex-start;
}

.homestead-hero__frame-link--carousel {
	display: block;
	height: auto;
	border-radius: 0;
	cursor: zoom-in;
}

.homestead-hero__frame.homestead-hero__frame--carousel {
	width: 100%;
	height: auto;
	/* Tied to --homestead-carousel-visible so wider slides keep the same strip height. */
	aspect-ratio: 11 / 31.2;
	border: 0;
	border-radius: 0;
	background-color: #d9d9d9;
	box-shadow: 0 10px 24px rgb(49 49 49 / 14%);
	overflow: hidden;
}

.homestead-hero__frame.homestead-hero__frame--carousel img {
	border-radius: 0;
}

.homestead-hero__carousel-label {
	position: absolute;
	inset: auto 0 0;
	z-index: 2;
	margin: 0;
	padding: 1.75rem 0.55rem 0.55rem;
	background: linear-gradient(180deg, rgb(0 0 0 / 0%) 0%, rgb(0 0 0 / 68%) 100%);
	pointer-events: none;
}

.homestead-hero__carousel-label-text {
	display: block;
	color: #ffffff;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(0.72rem, 0.95vw, 0.88rem);
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	text-shadow: 0 1px 2px rgb(0 0 0 / 35%);
}

.homestead-hero__carousel-nav {
	position: absolute;
	z-index: 8;
	top: 48%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	margin: 0;
	padding: 0;
	border: 1px solid var(--homestead-warm-linen, #e7ded1);
	border-radius: var(--homestead-hero-radius);
	background-color: rgb(255 255 255 / 92%);
	color: var(--wp--preset--color--heading, #1a1a1a);
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--homestead-hero-shadow);
	transform: translateY(-50%);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.homestead-hero__carousel-nav--prev {
	left: -1.75rem;
}

.homestead-hero__carousel-nav--next {
	right: -1.75rem;
}

.homestead-hero__carousel-nav:hover,
.homestead-hero__carousel-nav:focus-visible {
	background-color: #ffffff;
	transform: translateY(-50%) scale(1.04);
}

.homestead-hero__carousel-nav:focus-visible {
	outline: 2px solid var(--homestead-stone, #8e9188);
	outline-offset: 3px;
}

.homestead-hero__gallery-controls {
	display: contents;
}

@media (min-width: 961px) {
	.homestead-hero__inner {
		overflow: visible;
	}

	.homestead-hero__visual {
		margin-top: 0;
		padding-top: 0;
		overflow: visible;
	}

	.homestead-hero__carousel {
		display: block;
		overflow: visible;
	}

	.homestead-hero__collage,
	.homestead-hero__gallery-controls,
	.homestead-hero__gallery-nav {
		display: none !important;
	}
}

.homestead-hero__gallery-nav {
	position: absolute;
	z-index: 8;
	top: 48%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	margin: 0;
	padding: 0;
	border: 1px solid var(--homestead-warm-linen, #e7ded1);
	border-radius: var(--homestead-hero-radius);
	background-color: rgb(255 255 255 / 92%);
	color: var(--wp--preset--color--heading, #1a1a1a);
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--homestead-hero-shadow);
	transform: translateY(-50%);
	transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.homestead-hero__gallery-nav[hidden] {
	display: none;
}

.homestead-hero__gallery-nav--prev {
	left: 0.35rem;
}

.homestead-hero__gallery-nav--next {
	right: 0.35rem;
}

.homestead-hero__gallery-nav:hover,
.homestead-hero__gallery-nav:focus-visible {
	background-color: #ffffff;
	transform: translateY(-50%) scale(1.05);
}

.homestead-hero__gallery-nav:focus-visible {
	outline: 2px solid var(--homestead-stone, #8e9188);
	outline-offset: 3px;
}

.homestead-hero__gallery-nav:active {
	transform: translateY(-50%) scale(0.98);
}

.homestead-hero__gallery-nav:disabled {
	opacity: 0.45;
	cursor: default;
}

.homestead-hero__lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: grid;
	place-items: center;
	padding: clamp(1rem, 4vw, 2.5rem);
	box-sizing: border-box;
}

.homestead-hero__lightbox[hidden] {
	display: none;
}

.homestead-hero__lightbox-backdrop {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.82);
	cursor: pointer;
}

.homestead-hero__lightbox-figure {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0;
	max-width: min(100%, 1200px);
	max-height: min(100%, calc(100vh - 4rem));
	max-height: min(100%, calc(100dvh - 4rem));
	line-height: 1.2;
	text-align: center;
}

.homestead-hero__lightbox-img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100vh - 8rem);
	max-height: calc(100dvh - 8rem);
	margin-inline: auto;
	border-radius: 0.5rem;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
	object-fit: contain;
}

.homestead-hero__lightbox-caption {
	margin: 0.75rem 0 0;
	color: #ffffff;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem;
	line-height: 1.4;
}

.homestead-hero__lightbox-caption[hidden] {
	display: none;
}

.homestead-hero__lightbox-close,
.homestead-hero__lightbox-nav {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background-color: rgba(255, 255, 255, 0.14);
	color: #ffffff;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.homestead-hero__lightbox-close:hover,
.homestead-hero__lightbox-nav:hover,
.homestead-hero__lightbox-close:focus-visible,
.homestead-hero__lightbox-nav:focus-visible {
	background-color: rgba(255, 255, 255, 0.28);
}

.homestead-hero__lightbox-close:focus-visible,
.homestead-hero__lightbox-nav:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 3px;
}

.homestead-hero__lightbox-close {
	top: clamp(0.75rem, 3vw, 1.5rem);
	right: clamp(0.75rem, 3vw, 1.5rem);
	width: 2.75rem;
	height: 2.75rem;
	font-size: 2rem;
	line-height: 1;
}

.homestead-hero__lightbox-nav {
	top: 50%;
	width: 3rem;
	height: 3rem;
	font-size: 1.5rem;
	line-height: 1;
	transform: translateY(-50%);
}

.homestead-hero__lightbox-nav:hover,
.homestead-hero__lightbox-nav:focus-visible {
	transform: translateY(-50%) scale(1.05);
}

.homestead-hero__lightbox-nav--prev {
	left: clamp(0.5rem, 2vw, 1.25rem);
}

.homestead-hero__lightbox-nav--next {
	right: clamp(0.5rem, 2vw, 1.25rem);
}

body.homestead-hero-gallery-open {
	overflow: hidden;
}

@keyframes homestead-hero-trust-marquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

@keyframes homestead-hero-rise {
	from {
		opacity: 0;
		transform: translateY(1.1rem);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1100px) {
	.homestead-hero__visual {
		--hero-card-w: min(34%, 12.75rem);
		--hero-card-top: calc(2.1rem + 3.25rem);
	}
}

@media (max-width: 960px) {
	.homestead-hero__inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.homestead-hero__copy {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 1.35rem;
		max-width: none;
		width: 100%;
	}

	.homestead-hero__title,
	.homestead-hero__lede {
		max-width: none;
	}

	.homestead-hero__title {
		font-size: clamp(3.456rem, 6.336vw, 6.552rem);
	}

	.homestead-hero__visual {
		max-width: none;
		margin-inline: 0;
		width: 100%;
		padding-inline: 2.75rem;
		box-sizing: border-box;
		--hero-card-w: min(28%, 14.5rem);
		--hero-card-top: calc(1.75rem + 2.25rem);
		/* Stage only needs to clear the fan bottoms — avoid dead space above the trust bar. */
		--homestead-collage-extra: 0.75rem;
	}

	.homestead-hero__collage {
		height: calc(
			clamp(23rem, 50vw, 29rem) + var(--homestead-fan-rise) + var(--homestead-collage-extra)
		);
	}

	.homestead-hero__trust-marquee {
		margin-top: clamp(1rem, 2.25vw, 1.5rem);
	}

	/* Tablet: larger five-card fan filling space toward the arrows. */
	.homestead-hero__card[data-slot="far-left"] {
		z-index: 1;
		opacity: 0.92;
		transform: translate3d(calc(-50% - 98%), 6%, 0) rotate(-14deg) scale(0.86);
	}

	.homestead-hero__card[data-slot="far-right"] {
		z-index: 1;
		opacity: 0.92;
		transform: translate3d(calc(-50% + 98%), 7%, 0) rotate(16deg) scale(0.86);
	}

	.homestead-hero__card[data-slot="left"] {
		transform: translate3d(calc(-50% - 50%), 2.5%, 0) rotate(-10deg) scale(0.94);
	}

	.homestead-hero__card[data-slot="right"] {
		transform: translate3d(calc(-50% + 50%), 3.5%, 0) rotate(12deg) scale(0.94);
	}

	.homestead-hero__card[data-slot="center"] {
		transform: translate3d(-50%, 0, 0) rotate(5deg) scale(1.08);
	}

	.homestead-hero__gallery-nav--prev {
		left: 0.15rem;
	}

	.homestead-hero__gallery-nav--next {
		right: 0.15rem;
	}

	.homestead-hero__fan-label .homestead-hero__carousel-label-text {
		font-size: clamp(0.72rem, 1.5vw, 0.9rem);
	}
}

@media (min-width: 601px) and (max-width: 960px) {
	.homestead-hero__copy {
		display: grid;
		grid-template-columns: 3fr 1fr;
		align-items: center;
		column-gap: 1.25rem;
		row-gap: 1.35rem;
	}

	.homestead-hero__title,
	.homestead-hero__lede {
		grid-column: 1;
	}

	.homestead-hero__goats-sticker {
		grid-column: 2;
		grid-row: 1 / span 2;
		justify-self: end;
		align-self: center;
		margin: 0;
		max-width: min(100%, 11rem);
		width: 100%;
	}
}

@media (max-width: 600px) {
	.homestead-hero {
		padding-block: 2rem;
		--homestead-fan-rise: 1.25rem;
	}

	.homestead-hero__copy {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 1.35rem;
	}

	.homestead-hero__goats-sticker {
		display: none;
	}

	.homestead-hero__title {
		font-size: clamp(2.795rem, 11.05vw, 3.575rem);
	}

	.homestead-hero__title-line {
		white-space: normal;
	}

	.homestead-hero__visual {
		padding-inline: 0;
		--hero-card-w: min(32%, 9.25rem);
		--hero-card-top: calc(1.05rem + 1.15rem);
	}

	.homestead-hero__collage {
		height: calc(clamp(15.75rem, 56vw, 18.5rem) + var(--homestead-fan-rise));
		overflow: visible;
	}

	.homestead-hero__card[data-slot="far-left"] {
		transform: translate3d(calc(-50% - 108%), 6%, 0) rotate(-14deg) scale(0.86);
	}

	.homestead-hero__card[data-slot="far-right"] {
		transform: translate3d(calc(-50% + 108%), 7%, 0) rotate(16deg) scale(0.86);
	}

	.homestead-hero__gallery-controls {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0.85rem;
		margin-top: 0.35rem;
	}

	.homestead-hero__trust-marquee {
		margin-top: 3rem;
	}

	.homestead-hero__gallery-nav {
		position: static;
		top: auto;
		left: auto;
		right: auto;
		transform: none;
	}

	.homestead-hero__gallery-nav:hover,
	.homestead-hero__gallery-nav:focus-visible {
		transform: scale(1.05);
	}

	.homestead-hero__gallery-nav:active {
		transform: scale(0.98);
	}

	.homestead-hero__frame {
		border-width: 6px;
	}

	.homestead-hero__lightbox-nav {
		width: 2.75rem;
		height: 2.75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.homestead-hero__copy,
	.homestead-hero__social,
	.homestead-hero__visual {
		animation: none;
	}

	.homestead-hero__visual {
		--hero-slot-duration: 0.01ms;
	}

	.homestead-hero__visual.is-gallery-enhanced.is-gallery-ready .homestead-hero__card {
		transition: none;
	}

	.homestead-hero__trust-track {
		animation: none;
	}

	.homestead-hero__goats-sticker img {
		transform: none;
	}

	.homestead-hero__gallery-nav,
	.homestead-hero__carousel-nav,
	.homestead-hero__lightbox-close,
	.homestead-hero__lightbox-nav {
		transition: none;
	}
}
