/*
 * Get MEP Plans theme — hero.css
 * Homepage hero section: headline + lede left, floor plan SVG right.
 * Below: trust strip with locked numbers (24HR, 4 disciplines, 50+ states).
 */

.mep-hero {
	padding: 64px 0 96px;
	position: relative;
}

/* Hero meta strip — sits above the headline */
.mep-hero-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: var(--f-mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-mute);
	padding-bottom: 18px;
	margin-bottom: 56px;
	border-bottom: 1px solid var(--rule);
}

.mep-hero-meta .left,
.mep-hero-meta .right {
	display: flex;
	gap: 32px;
	align-items: center;
}

.mep-hero-meta b {
	color: var(--ink);
	font-weight: 500;
	margin-left: 6px;
}

.mep-hero-meta .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
	display: inline-block;
	margin-right: 8px;
	animation: mep-pulse 2.4s ease-in-out infinite;
}

@keyframes mep-pulse {
	0%, 100% { opacity: 0.4; transform: scale(0.9); }
	50%      { opacity: 1;   transform: scale(1.15); }
}

/* Hero grid — copy left, plan right */
.mep-hero-grid {
	display: grid;
	grid-template-columns: 1fr 0.92fr;
	gap: 80px;
	align-items: start;
}

.mep-hero-copy {
	position: relative;
}

/* Hero headline — Fraunces display, italic em accent */
.mep-hero-copy h1.mep-headline {
	font-family: var(--f-display);
	font-weight: 380;
	font-size: clamp(44px, 6vw, 88px);
	line-height: 0.97;
	letter-spacing: -0.025em;
	color: var(--ink);
	margin-bottom: 36px;
	font-variation-settings: "opsz" 144, "SOFT" 25;
}

.mep-hero-copy h1.mep-headline em {
	font-style: italic;
	font-weight: 300;
	color: var(--accent);
	font-variation-settings: "opsz" 144, "SOFT" 50;
}

.mep-hero-copy .mep-lede {
	font-family: var(--f-body);
	font-weight: 400;
	font-size: 19px;
	line-height: 1.55;
	color: var(--ink-soft);
	max-width: 54ch;
	margin-bottom: 40px;
}

.mep-hero-copy .mep-lede strong {
	color: var(--ink);
	font-weight: 500;
}

/* CTA row */
.mep-cta-row {
	display: flex;
	gap: 14px;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 56px;
}

.mep-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 16px 26px;
	font-family: var(--f-body);
	font-size: 14.5px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
	cursor: pointer;
	border: none;
	line-height: 1;
}

.mep-btn-primary {
	background: var(--ink);
	color: var(--paper);
}

.mep-btn-primary:hover {
	background: var(--accent);
	color: var(--paper);
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(138, 26, 26, 0.25);
}

.mep-btn-primary .arr {
	font-family: var(--f-mono);
	transition: transform 0.25s ease;
}

.mep-btn-primary:hover .arr {
	transform: translateX(4px);
}

.mep-btn-ghost {
	color: var(--ink);
	background: transparent;
	padding: 16px 6px;
	border-bottom: 1px solid var(--ink);
	border-radius: 0;
}

.mep-btn-ghost:hover {
	color: var(--accent);
	border-bottom-color: var(--accent);
	padding-left: 14px;
}

/* Trust strip — three large numbers below the CTA row */
.mep-trust-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border-top: 1px solid var(--rule);
	padding-top: 32px;
}

.mep-trust-item {
	padding-right: 24px;
	border-right: 1px solid var(--rule);
}

.mep-trust-item:last-child {
	border-right: 0;
}

.mep-trust-item .num {
	font-family: var(--f-display);
	font-weight: 400;
	font-size: 38px;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--ink);
	font-variation-settings: "opsz" 144, "SOFT" 25;
	margin-bottom: 6px;
}

.mep-trust-item .num sup {
	font-size: 14px;
	font-family: var(--f-mono);
	color: var(--accent);
	font-weight: 500;
	vertical-align: top;
	margin-left: 3px;
	letter-spacing: 0.05em;
}

.mep-trust-item .lbl {
	font-family: var(--f-mono);
	font-size: 10.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-mute);
	line-height: 1.4;
}

/* Hero plan — the floor plan SVG container */
.mep-hero-plan {
	position: relative;
}

.mep-plan-frame {
	position: relative;
	aspect-ratio: 1 / 1.05;
	background: var(--paper-bright);
	border: 1.5px solid var(--ink);
	overflow: hidden;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.5) inset,
		0 30px 60px -20px rgba(17, 32, 44, 0.28),
		0 8px 20px -8px rgba(17, 32, 44, 0.18);
}

.mep-plan-frame .sheet-code-corner {
	position: absolute;
	top: 14px;
	left: 14px;
	font-family: var(--f-mono);
	font-size: 10.5px;
	letter-spacing: 0.2em;
	color: var(--ink-mute);
	text-transform: uppercase;
	z-index: 3;
}

.mep-plan-frame .sheet-code-corner b {
	color: var(--ink);
	font-weight: 600;
	margin-left: 6px;
}

.mep-plan-frame .scale-text {
	position: absolute;
	top: 14px;
	right: 14px;
	font-family: var(--f-mono);
	font-size: 10.5px;
	letter-spacing: 0.2em;
	color: var(--ink-mute);
	text-transform: uppercase;
	z-index: 3;
}

.mep-plan-svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.mep-north-arrow {
	position: absolute;
	bottom: 18px;
	right: 18px;
	width: 44px;
	height: 44px;
	z-index: 3;
}

/* Caption strip below plan */
.mep-plan-caption {
	margin-top: 14px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding-top: 14px;
	border-top: 1px solid var(--rule-2);
	gap: 20px;
}

.mep-plan-caption .left {
	font-family: var(--f-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-mute);
	line-height: 1.5;
}

.mep-plan-caption .left b {
	display: block;
	font-family: var(--f-display);
	font-weight: 380;
	font-size: 18px;
	line-height: 1.2;
	letter-spacing: -0.005em;
	color: var(--ink);
	text-transform: none;
	margin-bottom: 3px;
	font-variation-settings: "opsz" 144;
}

.mep-plan-caption .right {
	font-family: var(--f-mono);
	font-size: 10.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-mute);
	text-align: right;
	line-height: 1.6;
}

.mep-plan-caption .right span {
	display: block;
	color: var(--ink);
	font-weight: 600;
}

/* Entrance animations */
@keyframes mep-rise {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: translateY(0); }
}

.mep-hero-meta { animation: mep-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: 0.05s; }
.mep-eyebrow   { animation: mep-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: 0.15s; }
.mep-headline  { animation: mep-rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: 0.25s; }
.mep-lede      { animation: mep-rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: 0.4s; }
.mep-cta-row   { animation: mep-rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: 0.55s; }
.mep-trust-strip { animation: mep-rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: 0.7s; }
.mep-hero-plan { animation: mep-rise 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: 0.45s; }

@media (max-width: 980px) {
	.mep-hero {
		padding: 32px 0 48px;
	}

	.mep-hero-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding-bottom: 14px;
		margin-bottom: 32px;
	}

	.mep-hero-meta .left,
	.mep-hero-meta .right {
		gap: 18px;
		flex-wrap: wrap;
	}

	.mep-hero-grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.mep-trust-strip {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.mep-trust-item {
		padding-right: 0;
		border-right: 0;
		border-bottom: 1px solid var(--rule);
		padding-bottom: 18px;
	}

	.mep-trust-item:last-child {
		border-bottom: 0;
		padding-bottom: 0;
	}
}
