/*
 * Homepage hero — full-bleed dark banner.
 * Mirrors the reference hero in website_reference/homepage_6.html: the photo
 * sits at 50% opacity in luminosity blend behind a left-to-right scrim, so the
 * copy keeps contrast regardless of what the photo is.
 *
 * @package log-core
 */

.hp-hero {
	position: relative;
	min-height: 75vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--ink-900);
}

.hp-hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hp-hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .5;
	mix-blend-mode: luminosity;
}

.hp-hero-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right,
			var(--ink-900) 0%,
			rgba(10, 10, 10, .4) 50%,
			transparent 100%);
}

.hp-hero-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 80px 80px;
}

.hp-hero-copy {
	max-width: 672px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.hp-hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold-400);
}

.hp-hero-kicker .icon {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
}

.hp-hero h1 {
	font-family: var(--display);
	font-size: clamp(40px, 6vw, 64px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.02em;
	color: #fff;
	margin: 0;
}

.hp-hero h1 em {
	font-style: italic;
	font-weight: 300;
}

.hp-hero-lede {
	font-size: 18px;
	line-height: 28px;
	color: rgba(255, 255, 255, .8);
	max-width: 512px;
	margin: 0;
}

.hp-hero-actions {
	display: flex;
	gap: 16px;
	padding-top: 16px;
	flex-wrap: wrap;
}

/* Scroll hint — a label over a hairline that pulses. */
.hp-hero-scroll {
	position: absolute;
	bottom: 32px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	opacity: .6;
	z-index: 1;
}

.hp-hero-scroll span {
	font-family: var(--mono);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
}

.hp-hero-scroll i {
	display: block;
	width: 1px;
	height: 32px;
	background: rgba(255, 255, 255, .4);
	animation: hp-scroll-pulse 2s ease-in-out infinite;
}

@keyframes hp-scroll-pulse {

	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: .3;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hp-hero-scroll i {
		animation: none;
	}
}

@media (max-width: 1024px) {
	.hp-hero-inner {
		padding: 72px 40px;
	}
}

@media (max-width: 767px) {
	.hp-hero {
		min-height: 0;
	}

	.hp-hero-inner {
		padding: 64px 24px;
	}

	.hp-hero-lede {
		font-size: 16px;
		line-height: 26px;
	}

	.hp-hero-actions .hp-btn {
		width: 100%;
		justify-content: center;
	}

	/* The hint overlaps the stacked buttons once the hero shrinks. */
	.hp-hero-scroll {
		display: none;
	}
}
