/* Horse-Fly static one-page — 50/50 split sections */

:root {
	--color-cream: #faf6ee;
	--color-forest: #1a2e1a;
	--color-buttercup: #e8b923;
	--color-bite: #c45c3e;
	--color-meadow: #3d6b4f;
	--color-sage: #5a6b5a;
	--color-warm-white: #fff9ef;
	--color-meadow-tint: #e8f0e4;
	--color-warm-tint: #f5ebe0;

	--font-heading: "Bitter", Georgia, serif;
	--font-body: "Source Sans 3", system-ui, sans-serif;

	--radius: 1rem;
	--radius-lg: 1.5rem;
	--shadow: 0 12px 40px rgb(26 46 26 / 12%);
	--nav-height: 3.75rem;
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--content-max: 90rem;
	--section-min: calc(100dvh - var(--nav-height));

	--text-sm: clamp(0.95rem, 1.5vw, 1.05rem);
	--text-base: clamp(1.05rem, 1.8vw, 1.2rem);
	--text-lg: clamp(1.2rem, 2.2vw, 1.45rem);
	--text-xl: clamp(1.75rem, 4vw, 2.5rem);
	--text-2xl: clamp(2.2rem, 6vw, 3.5rem);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: 1.65;
	color: var(--color-forest);
	background: var(--color-cream);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--color-meadow);
}

a:hover {
	color: var(--color-bite);
}

h1,
h2 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 0.75rem;
}

p {
	margin: 0 0 1rem;
}

.hero,
.section {
	scroll-margin-top: calc(var(--nav-height) + 0.5rem);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 300;
	padding: 0.75rem 1rem;
	background: var(--color-buttercup);
	color: var(--color-forest);
	font-weight: 700;
	text-decoration: none;
}

.skip-link:focus {
	left: var(--gutter);
	top: 0.5rem;
}

/* ——— Header ——— */

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 200;
	background: rgb(250 246 238 / 96%);
	backdrop-filter: blur(10px);
	border-bottom: 2px solid var(--color-buttercup);
	box-shadow: 0 4px 20px rgb(26 46 26 / 8%);
}

.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	min-height: var(--nav-height);
	padding: 0.65rem var(--gutter);
	max-width: var(--content-max);
	margin-inline: auto;
}

.site-header__brand {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 1.15rem;
	color: var(--color-forest);
	text-decoration: none;
	letter-spacing: -0.02em;
}

.site-header__brand span {
	color: var(--color-meadow);
}

.site-header__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 2px solid var(--color-forest);
	border-radius: var(--radius);
	background: transparent;
	cursor: pointer;
}

.site-header__toggle-bar {
	display: block;
	width: 1.25rem;
	height: 2px;
	margin: 0 auto;
	background: var(--color-forest);
	border-radius: 1px;
	transition: transform 0.2s, opacity 0.2s;
}

.site-header.is-open .site-header__toggle-bar:nth-child(2) {
	opacity: 0;
}

.site-header.is-open .site-header__toggle-bar:nth-child(3) {
	transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .site-header__toggle-bar:nth-child(4) {
	transform: translateY(-7px) rotate(-45deg);
}

.site-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__list a {
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--color-forest);
	padding: 0.35rem 0;
	border-bottom: 2px solid transparent;
	transition: border-color 0.2s, color 0.2s;
}

.site-nav__list a:hover,
.site-nav__list a:focus {
	color: var(--color-meadow);
	border-bottom-color: var(--color-buttercup);
}

@media (max-width: 768px) {
	.site-header__toggle {
		display: flex;
	}

	.site-nav {
		display: none;
		flex: 1 1 100%;
	}

	.site-header.is-open .site-nav {
		display: block;
	}

	.site-nav__list {
		flex-direction: column;
		padding-bottom: 0.5rem;
	}
}

/* ——— Layout ——— */

main {
	padding-top: var(--nav-height);
}

.wrap {
	width: 100%;
	max-width: var(--content-max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section > .wrap {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: var(--section-min);
	padding-block: clamp(2rem, 5vw, 3.5rem);
}

.wrap--screen {
	min-height: var(--section-min);
}

/* ——— Hero ——— */

.hero {
	display: grid;
	align-items: center;
	min-height: var(--section-min);
	color: #fff;
	background:
		linear-gradient(
			105deg,
			rgb(26 46 26 / 92%) 0%,
			rgb(26 46 26 / 78%) 42%,
			rgb(26 46 26 / 55%) 100%
		),
		url("/assets/images/hero-bg-horsefly.jpg") center / cover no-repeat;
}

.hero__inner {
	display: grid;
	gap: 2rem;
	align-items: center;
	padding: 2rem var(--gutter) 3rem;
	max-width: var(--content-max);
	margin-inline: auto;
	width: 100%;
}

@media (min-width: 52rem) {
	.hero__inner {
		grid-template-columns: 1fr minmax(14rem, 20rem);
		gap: clamp(2rem, 5vw, 4rem);
	}
}

.hero__eyebrow {
	margin: 0 0 0.75rem;
	font-size: var(--text-sm);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-buttercup);
}

.hero h1 {
	font-size: var(--text-2xl);
	max-width: 16ch;
	text-shadow: 0 2px 24px rgb(0 0 0 / 35%);
}

.hero__lead {
	font-size: var(--text-lg);
	max-width: 36rem;
	margin-bottom: 1rem;
	text-shadow: 0 1px 12px rgb(0 0 0 / 30%);
}

.hero__where {
	margin: 0 0 1.5rem;
	font-size: var(--text-lg);
	font-weight: 600;
}

.hero__where strong {
	color: var(--color-buttercup);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.hero__product {
	justify-self: center;
	width: min(100%, 20rem);
}

.hero__label {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: 0 20px 50px rgb(0 0 0 / 35%);
}

.btn--hero {
	padding: 1rem 1.75rem;
	font-size: var(--text-lg);
}

@media (max-width: 51.99rem) {
	.hero__inner {
		text-align: center;
	}

	.hero h1,
	.hero__lead {
		margin-inline: auto;
	}

	.hero__product {
		order: -1;
	}
}

/* ——— Sections ——— */

.section {
	min-height: var(--section-min);
}

.section--cream {
	background: var(--color-cream);
}

.section--meadow {
	background: linear-gradient(165deg, var(--color-meadow-tint) 0%, var(--color-cream) 55%);
}

.section--warm {
	background: var(--color-warm-tint);
}

.section--buy {
	background: linear-gradient(165deg, var(--color-meadow-tint) 0%, var(--color-cream) 50%);
}

.section--contact {
	background: var(--color-forest);
	color: var(--color-cream);
	padding-bottom: clamp(3rem, 8vw, 5rem);
}

.section--contact > .wrap {
	max-width: var(--content-max);
}

.section--contact h2 {
	color: var(--color-buttercup);
}

.section--contact .section__intro {
	color: rgb(250 246 238 / 85%);
	max-width: none;
}

.section--contact .contact-form {
	width: 100%;
	max-width: none;
}

.section__label {
	margin: 0 0 0.5rem;
	font-size: var(--text-xl);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--color-meadow);
}

.section--contact .section__label {
	color: var(--color-buttercup);
}

.section__title,
.section h2 {
	font-size: var(--text-lg);
}

.section__intro {
	font-size: var(--text-lg);
	max-width: 40rem;
	color: var(--color-sage);
}

.section__footnote {
	font-size: var(--text-base);
	color: var(--color-sage);
	margin-top: 1rem;
}

/* ——— 50/50 split (matches hero) ——— */

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: stretch;
	width: 100%;
}

.split__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 36rem;
}

.split__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	min-height: clamp(14rem, 42vh, 28rem);
}

.split__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.split--image-left .split__media {
	order: -1;
}

.split--text-only {
	grid-template-columns: 1fr;
	margin-inline: auto;
	text-align: center;
}

.split--text-only .split__content {
	max-width: none;
	margin-inline: auto;
	width: 100%;
}

.split--text-only .list-columns {
	text-align: left;
}

/* Outdoor life — use full wrap width */
#outdoor .split--text-only {
	width: 100%;
	max-width: none;
}

#outdoor .outdoor-intro {
	font-size: var(--text-lg);
	color: var(--color-sage);
	max-width: none;
	width: 100%;
	margin: 0 0 1.25rem;
}

#outdoor .list-columns {
	width: fit-content;
	max-width: 100%;
	margin-inline: auto;
	gap: clamp(1.5rem, 4vw, 4rem);
	text-align: left;
}

.split__media--product {
	background: var(--color-cream);
}

.split__media--product img {
	object-fit: contain;
	object-position: center;
	padding: 1rem;
	box-sizing: border-box;
}

@media (max-width: 768px) {
	.split {
		grid-template-columns: 1fr;
	}

	.split--image-left .split__media,
	.split--image-right .split__media {
		order: -1;
	}

	.split--text-only {
		text-align: left;
	}
}

.split__content ul {
	margin: 0.75rem 0 1rem;
	padding-left: 1.35rem;
}

.split__content ul li {
	margin-bottom: 0.35rem;
}

/* ——— Outdoor lists ——— */

.list-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(1rem, 3vw, 2.5rem);
	margin-top: 0.5rem;
	text-align: left;
}

.list-columns p {
	margin-top: 0;
}

.list-columns ul {
	margin: 0.5rem 0 0;
	padding-left: 1.25rem;
}

@media (max-width: 600px) {
	.list-columns {
		grid-template-columns: 1fr;
	}
}

/* ——— Timing ——— */

.timing-lead {
	font-size: var(--text-lg);
	margin-bottom: 1.25rem;
}

.timing-lead strong {
	color: var(--color-bite);
}

.timing-detail {
	font-size: var(--text-base);
	color: var(--color-sage);
	max-width: 36rem;
}

/* ——— Steps ——— */

.steps-list {
	font-size: var(--text-lg);
	line-height: 1.5;
	margin: 1rem 0 0;
	padding-left: 1.35rem;
}

.steps-list li {
	margin-bottom: 0.85rem;
}

.steps-note {
	font-weight: 400;
	color: var(--color-sage);
}

/* ——— Buttons ——— */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.5rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: var(--text-base);
	font-family: inherit;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

.btn--primary {
	background: var(--color-buttercup);
	color: var(--color-forest);
	border-color: var(--color-forest);
}

.btn--amazon {
	background: #ff9900;
	color: #111;
	border-color: #e88b00;
}

.btn--amazon::before {
	content: "→ ";
}

/* ——— Contact form ——— */

.form-field {
	margin: 0 0 1rem;
}

.form-field--hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-field label {
	display: block;
	font-weight: 600;
	font-size: var(--text-sm);
}

.form-field input,
.form-field textarea {
	width: 100%;
	margin-top: 0.35rem;
	padding: 0.75rem 1rem;
	font-family: inherit;
	font-size: var(--text-base);
	color: var(--color-forest);
	background: #fff;
	border: 2px solid var(--color-buttercup);
	border-radius: var(--radius);
}

.form-field textarea {
	min-height: 8rem;
	resize: vertical;
}

.form-actions {
	margin: 0.5rem 0 0;
}

.form-alert {
	padding: 0.85rem 1rem;
	margin-bottom: 1rem;
	border-radius: var(--radius);
	font-weight: 600;
}

.form-alert--success {
	background: rgb(232 240 228);
	color: var(--color-forest);
	border: 2px solid var(--color-meadow);
}

.form-alert--error {
	background: rgb(255 235 230);
	color: var(--color-bite);
	border: 2px solid var(--color-bite);
}

/* ——— Footer ——— */

.site-footer {
	padding: 1.75rem var(--gutter);
	text-align: center;
	font-size: var(--text-sm);
	color: var(--color-sage);
	background: var(--color-cream);
	border-top: 1px solid rgb(26 46 26 / 12%);
}

.site-footer p {
	margin: 0;
}

.site-footer a {
	font-weight: 600;
	text-decoration: underline;
}

.site-footer a:hover {
	text-decoration: none;
}
