/* ==========================================================================
   Home hero
   ========================================================================== */

.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 100vh;
	min-height: 100svh;
	padding-top: calc(var(--header-h) + var(--space-6));
	color: var(--ace-ivory);
	background: var(--ace-navy-deep);
	overflow: hidden;
	isolation: isolate;
}

.hero__media {
	position: absolute;
	inset: -4% 0;
	z-index: -2;
	will-change: transform;
}

.hero__img,
.hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__img {
	animation: hero-settle 2400ms var(--ease-premium) both;
}

@keyframes hero-settle {
	from { transform: scale(1.08); }
	to { transform: scale(1); }
}

.hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(8, 18, 38, 0.55) 0%, rgba(8, 18, 38, 0) 22%),
		linear-gradient(0deg, rgba(8, 18, 38, 0.85) 0%, rgba(8, 18, 38, 0) 55%),
		var(--overlay);
}

/* Vertical monogram on the right edge ------------------------------------ */
.hero__monogram {
	position: absolute;
	top: var(--header-h);
	right: 0;
	bottom: 0;
	z-index: -1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
	font-family: var(--font-display);
	font-weight: 300;
	font-size: calc((100svh - var(--header-h)) / 3.15);
	line-height: 0.86;
	color: rgba(246, 243, 236, 0.92);
	transform: translateX(0.22em);
	pointer-events: none;
	user-select: none;
}

.hero__monogram span {
	display: block;
}

.hero__monogram span:nth-child(2) {
	font-style: italic;
	color: transparent;
	-webkit-text-stroke: 1px rgba(246, 243, 236, 0.75);
}

/* Content ---------------------------------------------------------------- */
.hero__content {
	position: relative;
	padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
}

.hero__eyebrow {
	margin-bottom: var(--space-4);
	color: var(--text-inverse-muted);
}

.hero__title {
	max-width: 13ch;
	font-size: var(--fs-hero);
	font-weight: 300;
	line-height: 1.02;
	letter-spacing: -0.03em;
}

.hero__text {
	max-width: 46ch;
	margin-top: var(--space-5);
	font-size: var(--fs-lead);
	line-height: 1.6;
	color: var(--text-inverse-muted);
}

.hero__actions {
	margin-top: var(--space-5);
}

/* Bottom meta row -------------------------------------------------------- */
.hero__meta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-5);
	padding-block: var(--space-4);
}

.hero__meta::before {
	content: "";
	position: absolute;
	top: 0;
	left: var(--gutter);
	right: var(--gutter);
	height: 1px;
	background: var(--border-inverse);
}

.hero__services {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) clamp(1.5rem, 3.5vw, 3.5rem);
	font-size: var(--fs-xs);
	letter-spacing: 0.04em;
	color: var(--text-inverse-muted);
}

.hero__services a:hover {
	color: var(--ace-ivory);
}

.hero__service-num {
	margin-right: 0.5rem;
	font-family: var(--font-display);
	font-style: italic;
	color: var(--ace-gold-soft);
}

.hero__scroll {
	display: inline-flex;
	align-items: center;
	gap: var(--space-3);
	font-size: var(--fs-xs);
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--text-inverse-muted);
}

.hero__scroll-line {
	position: relative;
	width: 56px;
	height: 1px;
	background: var(--border-inverse);
	overflow: hidden;
}

.hero__scroll-line::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--ace-ivory);
	animation: hero-scroll 2400ms var(--ease-premium) infinite;
}

@keyframes hero-scroll {
	0% { transform: translateX(-100%); }
	60%,
	100% { transform: translateX(100%); }
}
