/* =========================================================
   X-PERI-MENTAL HOME PAGE
   File: /site/css/home.css
   Purpose:
   - homepage hero section
   - uses uploaded hero chilli image as background
   ========================================================= */

:root {
	--xpm-black: #080808;
	--xpm-cream: #f4e3c5;
	--xpm-cream-light: #fff0d6;
	--xpm-red: #c51610;
	--xpm-red-bright: #f12b18;
	--xpm-orange: #ff7a18;
	--xpm-text-dark: #111111;
	--xpm-muted: #6f604f;
}

/* Remove old CMS heading spacing on homepage module */
.xpm-home,
.xpm-home * {
	box-sizing: border-box;
}

.xpm-home {
	width: 100%;
	margin: 0;
	padding: 0;
	font-family: "Arial", "Helvetica", sans-serif;
	color: var(--xpm-text-dark);
	background: var(--xpm-cream);
	overflow: hidden;
}

/* HERO */

.xpm-hero {
	position: relative;
	min-height: 620px;
	background-color: #080808;
	background-image:
		linear-gradient(
			90deg,
			rgba(0, 0, 0, 0.96) 0%,
			rgba(0, 0, 0, 0.86) 28%,
			rgba(0, 0, 0, 0.42) 52%,
			rgba(0, 0, 0, 0.10) 100%
		),
		url("../images/nav/hero.png");
	background-repeat: no-repeat;
	background-position: center right;
	background-size: cover;
	display: flex;
	align-items: center;
	padding: 90px 56px 86px;
}

/* rough bottom blend into cream page */
.xpm-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 92px;
	background:
		linear-gradient(
			180deg,
			rgba(244, 227, 197, 0) 0%,
			rgba(244, 227, 197, 0.22) 38%,
			rgba(244, 227, 197, 0.88) 76%,
			var(--xpm-cream) 100%
		);
	pointer-events: none;
}

.xpm-hero__inner {
	position: relative;
	z-index: 2;
	width: min(680px, 100%);
}

.xpm-kicker {
	margin: 0 0 18px;
	color: var(--xpm-orange);
	font-family: Impact, "Arial Black", sans-serif;
	font-size: 18px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.xpm-hero h1 {
	margin: 0;
	color: #f8ead2;
	font-family: Impact, "Arial Black", sans-serif;
	font-size: clamp(62px, 8vw, 118px);
	font-weight: 900;
	line-height: 0.88;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	text-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.xpm-hero h1 span {
	display: block;
	color: var(--xpm-red-bright);
}

.xpm-hero__line {
	width: 180px;
	height: 8px;
	margin: 26px 0 26px;
	background: linear-gradient(90deg, var(--xpm-red), var(--xpm-orange));
	transform: skewX(-20deg);
}

.xpm-hero__tagline {
	max-width: 560px;
	margin: 0 0 34px;
	color: #fff4df;
	font-family: Impact, "Arial Black", sans-serif;
	font-size: clamp(25px, 3vw, 42px);
	line-height: 1.08;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.xpm-hero__tagline strong {
	color: var(--xpm-red-bright);
	font-weight: inherit;
}

.xpm-hero__copy {
	max-width: 520px;
	margin: 0 0 34px;
	color: rgba(255, 244, 223, 0.88);
	font-size: 18px;
	line-height: 1.55;
}

.xpm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.xpm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 0 28px;
	border: 2px solid transparent;
	font-family: Impact, "Arial Black", sans-serif;
	font-size: 18px;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.xpm-btn:hover {
	transform: translateY(-2px);
}

.xpm-btn--primary {
	background: var(--xpm-red);
	color: #fff4df !important;
	box-shadow: 0 10px 26px rgba(197, 22, 16, 0.32);
}

.xpm-btn--primary:hover {
	background: var(--xpm-red-bright);
	color: #fff !important;
}

.xpm-btn--secondary {
	background: rgba(0, 0, 0, 0.35);
	border-color: #fff4df;
	color: #fff4df !important;
}

.xpm-btn--secondary:hover {
	background: #fff4df;
	color: #111 !important;
}

/* INTRO STRIP */

.xpm-intro-strip {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: #080808;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.xpm-intro-item {
	padding: 24px 24px;
	background: #0e0e0e;
	color: #f7ead4;
}

.xpm-intro-item strong {
	display: block;
	margin-bottom: 6px;
	color: var(--xpm-orange);
	font-family: Impact, "Arial Black", sans-serif;
	font-size: 18px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.xpm-intro-item span {
	display: block;
	color: rgba(247, 234, 212, 0.76);
	font-size: 14px;
	line-height: 1.4;
}

/* RESPONSIVE */

@media (max-width: 900px) {
	.xpm-hero {
		min-height: 620px;
		padding: 72px 28px 76px;
		background-position: 65% center;
	}

	.xpm-intro-strip {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.xpm-hero {
		min-height: 640px;
		padding: 58px 20px 72px;
		background-image:
			linear-gradient(
				180deg,
				rgba(0, 0, 0, 0.94) 0%,
				rgba(0, 0, 0, 0.78) 48%,
				rgba(0, 0, 0, 0.52) 100%
			),
			url("../images/nav/hero.png");
		background-position: center right;
	}

	.xpm-hero__copy {
		font-size: 16px;
	}

	.xpm-btn {
		width: 100%;
	}

	.xpm-intro-strip {
		grid-template-columns: 1fr;
	}
}

/* =========================================================
   DESIGN MODE PROTECTION
   The hero must not overlap or compete with the ERP/nav layer
   ========================================================= */

.xpm-home {
	position: relative;
	z-index: 1;
}

.xpm-hero {
	position: relative;
	z-index: 1;
	margin-top: 0 !important;
}

/* =========================================================
   HOME HERO NAV COMPATIBILITY
   File: /site/css/home.css
   Purpose:
   - prevent hero from visually fighting the fixed nav/admin area
   ========================================================= */

.xpm-home {
	position: relative;
	z-index: 1;
}

.xpm-hero {
	position: relative;
	z-index: 1;
	margin-top: 0 !important;
}