/* Shared key-visual hero (blog, projects) */

.lh-kv-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 100vh;
	min-height: 100dvh;
	overflow: hidden;
	background: #24367d;
}

.lh-kv-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.lh-kv-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lh-kv-hero__media::after {
	content: '';
	position: absolute;
	inset: 0 0 5.6rem;
	box-shadow: inset 0 0 0 1px #24367d;
	pointer-events: none;
}

.lh-kv-hero__mark {
	position: absolute;
	top: calc(var(--header-h) + 2.25rem);
	right: calc((100% - var(--container-wide)) / 2);
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	white-space: nowrap;
	transform: rotate(90deg);
	transform-origin: top right;
	pointer-events: none;
}

.lh-kv-hero__mark-rule {
	display: block;
	width: 1.25px;
	height: 1.75rem;
	flex-shrink: 0;
	background: #24367d;
}

.lh-kv-hero__mark-text {
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #fff;
	-webkit-text-stroke: 1.25px #24367d;
	paint-order: stroke fill;
}

.lh-kv-hero .lh-hero-scroll {
	position: absolute;
	left: calc((100% - var(--container-wide)) / 2);
	bottom: calc(5.6rem + 1.1rem);
	z-index: 4;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #fff;
	-webkit-text-stroke: 1.25px #24367d;
	paint-order: stroke fill;
}

.lh-kv-crumb a {
	color: inherit;
}

.lh-kv-crumb a:hover,
.lh-kv-crumb a:focus-visible {
	color: #fff;
}

.lh-kv-hero .lh-hero-band {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	height: 5.6rem;
	overflow: hidden;
	background: #24367d;
	color: #fff;
}

.lh-kv-hero .lh-hero-band__ticker {
	height: 100%;
	display: flex;
	align-items: center;
	overflow: hidden;
	white-space: nowrap;
}

.lh-kv-hero .lh-hero-band__track {
	display: flex;
	align-items: center;
	width: max-content;
}

.lh-kv-hero .lh-hero-band__welcome {
	margin: 0;
	font-size: 80px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #fff;
}

.lh-kv-hero .lh-hero-band__dot {
	display: inline-block;
	width: 1em;
	height: 1em;
	margin: 0 1.6em;
	flex-shrink: 0;
	border-radius: 50%;
	background: #fff;
}

.lh-kv-panel {
	position: relative;
	z-index: 2;
	padding: 0 0 5rem;
	background: #fff;
	color: #24367d;
}

.lh-kv-panel::before {
	content: '';
	display: block;
	height: 6rem;
	background-image: url('../img/who-footer-pattern.png');
	background-repeat: repeat-x;
	background-position: center top;
	background-size: auto 100%;
}

.lh-kv-panel__inner {
	width: var(--container-wide);
	margin-inline: auto;
	padding-top: clamp(2.5rem, 5vw, 4rem);
}

@media (max-width: 960px) {
	.lh-kv-hero__media::after {
		inset: 0 0 3.75rem;
	}

	.lh-kv-hero .lh-hero-band {
		height: 3.75rem;
	}

	.lh-kv-hero .lh-hero-band__welcome {
		font-size: 1.75rem;
	}

	.lh-kv-hero__mark {
		top: calc(var(--header-h) + 1.25rem);
		right: 1.25rem;
	}

	.lh-kv-hero__mark-text {
		font-size: 0.85rem;
	}

	.lh-kv-hero .lh-hero-scroll {
		bottom: calc(3.75rem + 0.85rem);
		font-size: 0.85rem;
	}
}
