/* =========================================================================
   Boyle Built — Hero

   Full-bleed background image + dark overlay + centered content column.
   One semantic component; layout responds via CSS only across the three
   agreed breakpoints (0–600 / 601–1024 / 1025+). Uses tokens from
   base.css; overlay rgba values are component-specific per Figma and are
   not tokenized.
   ========================================================================= */

.hero {
	position: relative;
	display: flex;
	overflow: hidden;
	width: 100%;
}

.hero__media {
	position: absolute;
	inset: 0;
}

.hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero__overlay {
	position: absolute;
	inset: 0;
}

.hero__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
}

.hero__text-group {
	display: flex;
	flex-direction: column;
}

.hero__heading {
	color: var(--color-text-light);
	font-family: var(--font-display);
	font-weight: 500;
}

.hero__accent {
	background-color: var(--color-gold);
	height: 3px;
}

.hero__subtext {
	margin: 0;
	color: var(--color-text-muted-lt1);
	font-family: var(--font-body);
	font-weight: 400;
}

.hero__buttons {
	display: flex;
}

.hero__button {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-button);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 11px;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

.hero__button:focus-visible {
	outline: 2px solid var(--color-text-light);
	outline-offset: 2px;
}

.hero__button--primary {
	background-color: var(--color-primary-green);
	color: var(--color-text-light);
}

.hero__button--secondary {
	background-color: transparent;
	color: var(--color-text-light);
	border: 1.5px solid var(--color-text-light);
}

/* -------------------------------------------------------------------------
   Mobile (0–600px)
   ------------------------------------------------------------------------- */

.hero {
	height: 428px;
}

.hero__overlay {
	background-color: rgba(13, 20, 15, 0.6);
}

.hero__content {
	padding: 56px 16px;
	gap: 24px;
}

.hero__text-group {
	gap: 12px;
}

.hero__heading {
	font-size: 36px;
	line-height: 1.15;
}

.hero__accent {
	width: 40px;
}

.hero__subtext {
	font-size: 14px;
	line-height: 1.6;
}

.hero__buttons {
	flex-direction: column;
	gap: 12px;
	width: 100%;
}

.hero__button {
	width: 100%;
	padding: 14px 24px;
}

/* -------------------------------------------------------------------------
   Tablet (601–1024px)
   ------------------------------------------------------------------------- */

@media (min-width: 601px) {
	.hero {
		height: 485px;
	}

	.hero__overlay {
		background-color: rgba(13, 20, 15, 0.5);
	}

	.hero__content {
		padding: 80px;
		gap: 32px;
	}

	.hero__text-group {
		gap: 16px;
	}

	.hero__heading {
		font-size: 48px;
		line-height: 1.15;
	}

	.hero__accent {
		width: 48px;
	}

	.hero__subtext {
		max-width: 520px;
		font-size: 15px;
		line-height: 1.65;
	}

	.hero__buttons {
		flex-direction: row;
		align-items: center;
		gap: 16px;
		width: auto;
	}

	.hero__button {
		width: auto;
		padding: 14px 24px;
	}
}

/* -------------------------------------------------------------------------
   Desktop (1025px+)
   ------------------------------------------------------------------------- */

@media (min-width: 1025px) {
	.hero {
		height: 680px;
	}

	.hero__overlay {
		background-color: rgba(13, 20, 15, 0.45);
	}

	.hero__content {
		padding: 100px 560px 80px 80px;
		gap: 24px;
	}

	.hero__text-group {
		gap: 16px;
	}

	.hero__heading {
		font-size: 58px;
		line-height: 1.1;
	}

	.hero__accent {
		width: 48px;
	}

	.hero__subtext {
		max-width: 520px;
		font-size: 15px;
		line-height: 1.65;
	}

	.hero__button {
		padding: 14px 32px;
	}
}
