/* ==========================================================================
   Apollo Custom Manufacturing
   Homepage, in page order
   ========================================================================== */

/* --- 1. Hero ----------------------------------------------------------- */

div#videoPlaceholder {
	width: 100vw;
	position: relative;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	height: calc(100vh - var(--header-h));
	min-height: 34rem;
	max-height: 48rem;
	overflow: hidden;
	background-color: var(--navy-deep);
}

div#videoPlayback {
	position: absolute;
	inset: 0;
}

div#videoPlayback video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

div#videoPlayback div#videoOverlay {
	position: absolute;
	inset: 0;
	z-index: 10;
	background: linear-gradient(
		90deg,
		rgba(17, 18, 37, 0.92) 0%,
		rgba(17, 18, 37, 0.72) 45%,
		rgba(17, 18, 37, 0.35) 100%
	);
}

div#centerVideoMsg {
	position: absolute;
	z-index: 20;
	top: 50%;
	left: 50%;
	transform: translateY(-50%);
	width: 100%;
	max-width: var(--shell);
	margin-left: calc(var(--shell) / -2);
	padding-inline: var(--gutter);
	text-align: right;
	color: var(--white);
}

div#centerVideoMsg span.vmEyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 0.9rem;
}

div#centerVideoMsg h1 {
	color: var(--white);
	margin-bottom: 1.5rem;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

div#centerVideoMsg p {
	max-width: 34rem;
	margin-left: auto;
	color: #dcdde8;
	font-size: 1.02rem;
}

div#centerVideoMsg div.vmButtonGroup {
	display: flex;
	gap: 1rem;
	justify-content: flex-end;
	margin-top: 1.75rem;
}

@media (max-width: 78rem) {
	div#centerVideoMsg {
		left: 0;
		margin-left: 0;
	}
}

@media (max-width: 59.9rem) {
	div#videoPlaceholder {
		height: auto;
		min-height: 0;
		max-height: none;
		padding-block: 4.5rem;
	}

	div#centerVideoMsg {
		position: relative;
		top: auto;
		transform: none;
		text-align: center;
	}

	div#centerVideoMsg p {
		margin-inline: auto;
	}

	div#centerVideoMsg div.vmButtonGroup {
		justify-content: center;
		flex-wrap: wrap;
	}
}

/* --- 2. Trust bar ------------------------------------------------------ */

div.trustBar {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: 100vw;
	position: relative;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	border-bottom: 1px solid var(--line);
	background-color: var(--white);
}

div.trustBar div.tbItem {
	text-align: center;
	padding: 1.75rem 1rem;
	border-right: 1px solid var(--line);
}

div.trustBar div.tbItem:last-child {
	border-right: 0;
}

div.trustBar span.tbNumber {
	display: block;
	font-family: var(--font-display);
	font-size: 1.9rem;
	font-weight: 700;
	line-height: 1;
	color: var(--navy);
}

div.trustBar span.tbNumber.tbSmall {
	font-size: 1.25rem;
	padding-block: 0.3rem;
}

div.trustBar span.tbLabel {
	display: block;
	margin-top: 0.45rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

@media (max-width: 59.9rem) {
	div.trustBar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	div.trustBar div.tbItem:nth-child(-n + 2) {
		border-bottom: 1px solid var(--line);
	}

	div.trustBar div.tbItem:nth-child(even) {
		border-right: 0;
	}
}

/* --- 3. Quality / Experience / Innovation ------------------------------ */

div.afterVideoWrapper {
	width: 100vw;
	position: relative;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	background-color: var(--navy-deep);
	color: var(--white);
	padding: 4.5rem var(--gutter);
}

div.afterVideo {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.5rem;
	max-width: var(--shell);
	margin-inline: auto;
	text-align: center;
}

div.afterVideo div.fiBlock header {
	font-size: 2rem;
	color: var(--gold);
	margin-bottom: 0.75rem;
}

div.afterVideo div.fiBlock h2 {
	color: var(--white);
	font-size: 1.15rem;
	letter-spacing: 0.04em;
	margin-bottom: 0.75rem;
}

div.afterVideo div.fiBlock p {
	color: #b8bacc;
	font-size: 0.92rem;
	line-height: 1.7;
}

div.afterVideo div.fiBlock a {
	color: var(--gold);
	text-decoration: underline;
}

div.afterVideoTageline {
	max-width: 46rem;
	margin: 3.5rem auto 0;
	padding-top: 2.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	text-align: center;
}

body#body_home div.afterVideoTageline h2 {
	color: var(--gold);
	margin-bottom: 0.6rem;
}

div.afterVideoTageline p {
	color: #b8bacc;
	font-size: 0.95rem;
}

@media (max-width: 59.9rem) {
	div.afterVideo {
		grid-template-columns: 1fr;
		gap: 2.25rem;
	}

	div.afterVideoWrapper {
		padding-block: 3rem;
	}
}

