/* Homepage-only presentation. Product facts and media still come from WooCommerce. */
.home-hero :focus-visible {
	outline-color: var(--mos-brand-logo);
}

.storefront-notices {
	border-bottom: 1px solid var(--mos-line);
	background: var(--mos-paper);
}

.storefront-ticker {
	position: relative;
	overflow: hidden;
	background: var(--mos-ink);
	color: var(--mos-white);
	font-size: 0.86rem;
	font-weight: 780;
	letter-spacing: 0.025em;
	white-space: nowrap;
}

.storefront-ticker__track {
	display: flex;
	width: max-content;
	animation: mos-storefront-ticker 32s linear infinite;
}

.storefront-ticker__track span {
	padding: 0.72rem 3rem;
}

.storefront-ticker:hover .storefront-ticker__track,
.storefront-ticker:focus-within .storefront-ticker__track,
.storefront-ticker.is-paused .storefront-ticker__track {
	animation-play-state: paused;
}

.storefront-ticker__toggle {
	position: absolute;
	top: 50%;
	right: max(0.5rem, var(--mos-gutter));
	padding: 0.3rem 0.55rem;
	transform: translateY(-50%);
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: var(--mos-radius-sm);
	background: var(--mos-ink);
	color: var(--mos-white);
	font: inherit;
	font-size: 0.72rem;
	font-weight: 760;
}

.storefront-ticker__toggle:hover,
.storefront-ticker__toggle:focus-visible {
	border-color: var(--mos-white);
	background: var(--mos-brand-dark);
}

.storefront-notice-detail {
	padding-top: 0.7rem;
	padding-bottom: 0.7rem;
	text-align: center;
}

.storefront-notice-detail p {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 700;
}

.storefront-notice-detail a {
	margin-left: 0.35rem;
}

@keyframes mos-storefront-ticker {
	to {
		transform: translateX(-50%);
	}
}

.home-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--mos-ink);
	color: var(--mos-white);
}

.home-hero::before,
.home-hero::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	content: "";
	pointer-events: none;
}

.home-hero::before {
	background:
		linear-gradient(90deg, rgba(7, 11, 8, 0.48) 0%, rgba(7, 11, 8, 0.27) 40%, rgba(7, 11, 8, 0.03) 72%, rgba(7, 11, 8, 0) 100%),
		linear-gradient(0deg, rgba(7, 11, 8, 0.08), rgba(7, 11, 8, 0));
}

.home-hero::after {
	background: linear-gradient(135deg, transparent 60%, rgba(14, 141, 63, 0.035) 60%, rgba(14, 141, 63, 0.012) 76%, transparent 76%);
}

.home-hero__background,
.home-hero__background picture,
.home-hero__background img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.home-hero__background {
	z-index: 0;
	overflow: hidden;
	background: var(--mos-ink-soft);
}

.home-hero__background img {
	max-width: none;
	filter: saturate(1.22) brightness(1.13);
	object-fit: cover;
	object-position: center 48%;
}

.home-hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	min-height: clamp(34rem, 72svh, 46rem);
	align-items: center;
	padding-top: clamp(3.25rem, 7vw, 6.25rem);
	padding-bottom: clamp(3.25rem, 7vw, 6.25rem);
}

.home-hero__copy {
	width: min(100%, 46rem);
}

.home-hero h1 {
	max-width: 12ch;
	color: var(--mos-white);
	font-size: clamp(3rem, 5.8vw, 5.5rem);
	text-shadow: 0 0.08em 0.24em rgba(0, 0, 0, 0.82), 0 0 1.2rem rgba(0, 0, 0, 0.5);
}

.home-hero .eyebrow {
	color: #8ee1aa;
	text-shadow: 0 0.08em 0.45em rgba(0, 0, 0, 0.85);
}

.home-hero__summary {
	max-width: 39rem;
	color: #e3e8e4;
	font-size: clamp(1.05rem, 1.7vw, 1.25rem);
	line-height: 1.6;
	text-shadow: 0 0.08em 0.32em rgba(0, 0, 0, 0.95), 0 0 0.8rem rgba(0, 0, 0, 0.72);
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2.15rem;
}

.home-hero .button--outline {
	border-color: rgba(255, 255, 255, 0.82);
	background: rgba(7, 11, 8, 0.46);
	color: var(--mos-white);
}

.home-hero .button--outline:hover {
	border-color: var(--mos-white);
	background: var(--mos-white);
	color: var(--mos-ink);
}

.home-hero__featured {
	display: inline-grid;
	gap: 0.15rem;
	margin-top: 1.3rem;
	padding: 0.72rem 1rem;
	border-left: 0.25rem solid #54cc7d;
	background: rgba(7, 11, 8, 0.7);
	color: var(--mos-white);
	text-decoration: none;
	transition: background var(--mos-transition), border-color var(--mos-transition);
}

.home-hero__featured:hover {
	border-color: var(--mos-white);
	background: rgba(10, 115, 51, 0.92);
	color: var(--mos-white);
}

.home-hero__featured span {
	color: #c9d4cc;
	font-size: 0.72rem;
	font-weight: 760;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.home-hero__featured strong {
	font-size: 1.05rem;
}

.performance-rail {
	background: var(--mos-ink);
	color: var(--mos-white);
}

.performance-rail__inner {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.performance-rail__inner > div {
	display: grid;
	align-content: center;
	min-height: 7.6rem;
	padding: 1.3rem clamp(1rem, 2vw, 1.75rem);
	border-right: 1px solid var(--mos-line-dark);
}

.performance-rail__inner > div:first-child {
	border-left: 1px solid var(--mos-line-dark);
}

.performance-rail strong {
	font-size: clamp(1.45rem, 3vw, 2rem);
	letter-spacing: -0.04em;
	line-height: 1;
}

.performance-rail span {
	margin-top: 0.45rem;
	color: #b9c3bb;
	font-size: 0.78rem;
	line-height: 1.35;
}

.performance-rail__basis {
	grid-column: 1 / -1;
	margin: 0;
	padding: 0.65rem clamp(1rem, 2vw, 1.75rem) 0.8rem;
	border-top: 1px solid var(--mos-line-dark);
	color: #b9c3bb;
	font-size: 0.72rem;
	line-height: 1.45;
}

.performance-rail__basis strong {
	color: var(--mos-white);
	font-size: inherit;
	letter-spacing: normal;
}

.home-section {
	padding: var(--mos-section) 0;
}

.home-section--surface {
	background: var(--mos-surface);
}

.home-editorial {
	overflow: hidden;
}

.home-proof {
	padding: var(--mos-section) 0;
	background: var(--mos-ink-soft);
	color: var(--mos-white);
}

.home-proof .eyebrow {
	color: #a8daba;
}

.home-proof__inner {
	display: grid;
	grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
	gap: clamp(2.5rem, 7vw, 7rem);
}

.home-proof h2 {
	max-width: 10ch;
	margin-bottom: 0;
	color: var(--mos-white);
}

.home-proof__points {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: start;
}

.home-proof__points > div {
	display: grid;
	gap: 0.55rem;
	padding-left: 1rem;
	border-left: 0.2rem solid var(--mos-brand-logo);
}

.home-proof__points strong {
	font-size: 1.05rem;
}

.home-proof__points span {
	color: #bdc6bf;
	font-size: 0.9rem;
	line-height: 1.55;
}

@media (max-width: 64rem) {
	.home-hero::before {
		background:
			linear-gradient(90deg, rgba(7, 11, 8, 0.5) 0%, rgba(7, 11, 8, 0.28) 48%, rgba(7, 11, 8, 0.05) 82%, rgba(7, 11, 8, 0.01) 100%),
			linear-gradient(0deg, rgba(7, 11, 8, 0.1), rgba(7, 11, 8, 0));
	}

	.performance-rail__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.performance-rail__inner > div:nth-child(2) {
		border-right: 1px solid var(--mos-line-dark);
	}

	.performance-rail__inner > div:nth-child(n + 3) {
		border-top: 1px solid var(--mos-line-dark);
	}

	.home-proof__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 44rem) {
	.home-hero {
		min-height: 0;
	}

	.home-hero::after {
		display: none;
	}

	.home-hero::before {
		background:
			linear-gradient(90deg, rgba(7, 11, 8, 0.46) 0%, rgba(7, 11, 8, 0.2) 100%),
			linear-gradient(0deg, rgba(7, 11, 8, 0.1) 0%, rgba(7, 11, 8, 0.01) 55%, rgba(7, 11, 8, 0.04) 100%);
	}

	.home-hero__inner {
		min-height: clamp(34rem, calc(100svh - 8rem), 42rem);
		padding-top: 2.75rem;
		padding-bottom: 2.75rem;
	}

	.home-hero__background img {
		object-position: center 50%;
	}

	.home-hero h1 {
		max-width: 10ch;
		font-size: clamp(2.55rem, 13vw, 3.75rem);
	}

	.home-hero__summary {
		font-size: 1rem;
		line-height: 1.52;
	}

	.home-hero__actions {
		margin-top: 1.55rem;
	}

	.home-hero__featured {
		margin-top: 1rem;
	}

	.performance-rail__inner > div {
		min-height: 6.75rem;
		padding: 1rem;
	}

	.performance-rail strong {
		font-size: 1.5rem;
	}

	.home-proof__points {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.storefront-ticker {
		white-space: normal;
		text-align: center;
	}

	.storefront-ticker__track {
		display: block;
		width: auto;
		animation: none;
	}

	.storefront-ticker__track span[aria-hidden="true"] {
		display: none;
	}

	.storefront-ticker__toggle {
		display: none;
	}
}
