/* ─── Home ─────────────────────────────────────────────── */
/* Full-bleed brand hero. Accent/display type is freestyle here — see design-system.mdc. */


/* ─── Hero ─────────────────────────────────────────────── */

.home-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr) minmax(0, 0.76fr);
	align-items: center;
	gap: 1.5em 2em;
	padding: 5em var(--shell-pad) 5em;
	min-height: 78vh;
	background: var(--color-ink-1);
	overflow: hidden;
	isolation: isolate;
	box-sizing: border-box;
}

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

.home-hero::after {
	content: "";
	position: absolute;
	left: var(--shell-pad);
	right: var(--shell-pad);
	bottom: 3.5em;
	height: 1px;
	background: var(--color-rule);
	z-index: 0;
}


/* Text block */

.hero-text {
	position: relative;
	z-index: 3;
	grid-column: 1;
}

.hero-eyebrow {
	display: inline-block;
	padding: 0.65em 0.9em;
	margin: 0 0 1.75em 0;
	border: 1px solid var(--color-paper-quiet);
	font-family: var(--font-display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: var(--track-eyebrow);
	text-transform: uppercase;
	color: var(--color-paper);
	background: rgba(0, 0, 0, 0.45);
	line-height: 1;
}

.hero-heading {
	margin: 0 0 0.85em 0;
	font-family: var(--font-display);
	font-size: clamp(3.5rem, 9vw, 7.5rem);
	font-weight: 500;
	line-height: 0.95;
	letter-spacing: var(--track-display);
}

.hero-heading-line {
	display: block;
}

.hero-heading-line--accent {
	color: var(--color-brand);
}

.hero-lede {
	font-size: var(--fs-4);
	line-height: 1.55;
	color: var(--color-paper-mute);
	margin: 0 0 2em 0;
	max-width: 38ch;
}

.hero-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65em;
	margin: 0;
}


/* Visual stage */

.hero-stage {
	position: relative;
	grid-column: 2;
	align-self: stretch;
	min-height: 540px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-stripes {
	position: absolute;
	inset: 8% 6% 4% 8%;
	background: repeating-linear-gradient(
		-45deg,
		var(--color-brand) 0,
		var(--color-brand) 6px,
		transparent 6px,
		transparent 22px
	);
	opacity: 0.5;
	z-index: 1;
	mask-image: radial-gradient(ellipse at center, #000 60%, transparent 95%);
	-webkit-mask-image: radial-gradient(ellipse at center, #000 60%, transparent 95%);
	pointer-events: none;
}

.hero-glyph {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: var(--font-display);
	font-size: clamp(180px, 28vw, 440px);
	font-weight: 900;
	letter-spacing: -0.06em;
	color: transparent;
	-webkit-text-stroke: 2.5px var(--color-brand);
	opacity: 0.92;
	line-height: 0.85;
	z-index: 2;
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}

.hero-subject {
	position: relative;
	z-index: 3;
	margin: 0;
	height: 100%;
	max-height: 720px;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translateX(20%);
}

.hero-subject img {
	height: 100%;
	max-height: 720px;
	width: auto;
	max-width: 100%;
	display: block;
	object-fit: contain;
	filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

.hero-box-overlay {
	z-index: 4;
	display: block;
	width: 50%;
	background-color: var(--color-brand);
	height: 200px;
	mix-blend-mode: overlay;
	position: absolute;
	right: var(--shell-pad);
	bottom: 25%;
}

/* Service list */

.hero-services {
	position: relative;
	z-index: 3;
	opacity: 0.1;
	grid-column: 3;
	list-style: none;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}

.hero-services li {
	font-family: var(--font-display);
	font-size: clamp(30px, 1.05vw, 50px);
	font-weight: 200;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.1;
	color: var(--color-paper);
}


/* Tactical perimeter */

.hero-mark {
	position: absolute;
	font-family: var(--font-mono);
	font-size: 18px;
	font-weight: 400;
	color: var(--color-paper-low);
	z-index: 4;
	pointer-events: none;
	user-select: none;
	line-height: 1;
}

.hero-mark--tl { top: 1.4em; left: 1.4em; }
.hero-mark--tr { top: 1.4em; right: 1.4em; }
.hero-mark--bl { bottom: 1.4em; left: 1.4em; }
.hero-mark--br { bottom: 1.4em; right: 1.4em; }

.hero-coords {
	position: absolute;
	right: 0.7em;
	top: 50%;
	transform: translateY(-50%);
	writing-mode: vertical-rl;
	font-family: var(--font-mono);
	font-size: 15px;
	letter-spacing: var(--track-mono);
	color: var(--color-brand);
	margin: 0;
	z-index: 4;
	pointer-events: none;
}

.hero-microdata {
	position: absolute;
	bottom: 1.6em;
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: var(--track-mono);
	text-transform: uppercase;
	color: var(--color-paper-low);
	margin: 0;
	z-index: 4;
	pointer-events: none;
}

.hero-microdata--bl { left: 4.5em; }

.hero-microdata--br {
	right: 4.5em;
	color: var(--color-brand-mute);
}


/* ─── Timetable (home embed) ───────────────────────────── */

.home-timetable {
	margin-top: 5em;
}

.home-timetable .timetable-intro--home h2 {
	font-family: var(--font-display);
	font-size: var(--fs-2);
}


/* ─── Responsive ───────────────────────────────────────── */

@media screen and (max-width: 1100px) {

	.home-hero {
		grid-template-columns: 1fr;
		gap: 2em;
		min-height: 0;
		padding: 3.5em var(--shell-pad);
	}

	.hero-text {
		grid-column: 1;
		max-width: none;
	}

	.hero-stage {
		grid-column: 1;
		aspect-ratio: 4 / 3;
		min-height: 0;
		align-self: auto;
	}

	.hero-glyph {
		font-size: clamp(160px, 38vw, 360px);
	}

	.hero-services {
		grid-column: 1;
		text-align: left;
		columns: 2;
		column-gap: 2em;
	}

	.hero-services li {
		line-height: 1.5;
		break-inside: avoid;
	}

	.hero-coords {
		display: none;
	}

	.hero-microdata--br {
		right: 4.5em;
	}

}


@media screen and (max-width: 650px) {

	.home-hero {
		padding: 2.5em var(--shell-pad) 3.5em;
		gap: 1.5em;
	}

	.home-hero::after {
		display: none;
	}

	.hero-eyebrow {
		margin-bottom: 1.25em;
	}

	.hero-heading {
		margin-bottom: 0.6em;
	}

	.hero-lede {
		margin-bottom: 1.5em;
	}

	.hero-cta-row {
		flex-direction: column;
		align-items: stretch;
	}

	.hero-cta-row .btn {
		width: 100%;
	}

	.hero-stage {
		aspect-ratio: 5 / 6;
	}

	.hero-stripes {
		inset: 6% 4% 3% 4%;
	}

	.hero-glyph {
		font-size: clamp(140px, 50vw, 280px);
		-webkit-text-stroke-width: 1.5px;
	}

	.hero-services {
		columns: 1;
	}

	.hero-services li {
		line-height: 1.55;
	}

	.hero-mark {
		font-size: 14px;
	}

	.hero-mark--tl { top: 0.85em; left: 0.85em; }
	.hero-mark--tr { top: 0.85em; right: 0.85em; }
	.hero-mark--bl,
	.hero-mark--br {
		display: none;
	}

	.hero-microdata {
		display: none;
	}

}
