/*
 * Get MEP Plans theme — info-pages.css
 * Shared styling for the content-heavy marketing pages:
 *   Services index · Process (How Ordering Works) · About.
 * Purpose: break the single-column "wall of prose" monotony with alternating
 * bands, card grids, big-number stats, and split checklists — all in the
 * existing drawing-sheet aesthetic. Loaded only on those three templates.
 */

/* ---- Buttons (base lives in hero.css, homepage-only; re-declared here so
       the hero CTAs on these templates match the rest of the site) ---- */
.mep-info-page .mep-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 26px;
	font-family: var(--f-body);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: 2px;
	line-height: 1;
}
.mep-info-page .mep-btn-primary { background: var(--accent); color: var(--paper-text); border-color: var(--accent); }
.mep-info-page .mep-btn-primary:hover { background: var(--ink); border-color: var(--ink); }
.mep-info-page .mep-btn-primary .arr { font-family: var(--f-mono); transition: transform .25s ease; }
.mep-info-page .mep-btn-primary:hover .arr { transform: translateX(4px); }
.mep-info-page .mep-btn-ghost { color: var(--ink); background: transparent; border: 1px solid var(--ink); border-radius: 2px; padding: 15px 24px; }
.mep-info-page .mep-btn-ghost:hover { background: var(--paper-deep); }
.mep-info-page .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ---- Section rhythm: alternating full-bleed bands ---- */
.mep-band { padding: 60px 0; }
.mep-band--tint { background: var(--paper-bright); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.mep-band--deep { background: var(--paper-deep); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.mep-band .section-label { margin-bottom: 22px; }
.mep-band > .mep-container > h2,
.mep-band-h2 {
	font-family: var(--f-display);
	font-weight: 380;
	font-size: clamp(24px, 2.6vw, 32px);
	letter-spacing: -0.015em;
	line-height: 1.15;
	color: var(--ink);
	margin: 0 0 8px;
}

/* ---- Narrative prose ---- */
.mep-prose { max-width: 760px; }
.mep-prose p { font-family: var(--f-body); font-size: 17px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 18px; }
.mep-prose p:last-child { margin-bottom: 0; }
.mep-prose strong { color: var(--ink); font-weight: 600; }
.mep-lede-lg {
	font-family: var(--f-display);
	font-weight: 380;
	font-size: clamp(21px, 2.3vw, 28px);
	line-height: 1.4;
	color: var(--ink);
	max-width: 900px;
	margin: 0 0 10px;
}

/* ---- Card grid (the workhorse) ---- */
.mep-cardgrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
	gap: 1px;
	background: var(--rule);
	border: 1px solid var(--rule);
	margin-top: 28px;
}
.mep-card { background: var(--paper); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.mep-band--tint .mep-cardgrid .mep-card { background: var(--paper-bright); }
.mep-band--deep .mep-cardgrid .mep-card { background: var(--paper-deep); }
.mep-card .eyebrow { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.mep-card h3 { font-family: var(--f-display); font-weight: 400; font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
.mep-card p { font-family: var(--f-body); font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.mep-card .card-link { margin-top: auto; padding-top: 6px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); text-decoration: none; }
.mep-card .card-link::after { content: " →"; }
a.mep-card { text-decoration: none; transition: background .2s ease; }
a.mep-card:hover { background: var(--paper-bright); }
.mep-band--tint a.mep-card:hover { background: var(--paper); }

/* ---- Big-number stat band ---- */
.mep-statband { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); margin-top: 28px; }
.mep-stat { padding: 32px 24px; border-right: 1px solid var(--rule); }
.mep-stat:last-child { border-right: 0; }
.mep-stat .num { font-family: var(--f-display); font-weight: 380; font-size: clamp(34px, 4vw, 46px); line-height: 1; color: var(--accent); letter-spacing: -0.02em; }
.mep-stat .label { font-family: var(--f-mono); font-size: 11px; line-height: 1.55; letter-spacing: .04em; color: var(--ink-soft); margin-top: 12px; }

/* ---- Split checklist (built-for / not / who-we-serve) ---- */
.mep-splitlist { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 24px; }
.mep-splitlist .col h3 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); font-weight: 600; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.mep-splitlist ul { list-style: none; padding: 0; margin: 0; }
.mep-splitlist li { font-family: var(--f-body); font-size: 15px; line-height: 1.5; color: var(--ink-soft); padding: 9px 0 9px 24px; position: relative; }
.mep-splitlist .yes li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.mep-splitlist .no li::before { content: "✕"; position: absolute; left: 0; color: var(--ink-mute); }

/* ---- Pull-quote / highlight callout ---- */
.mep-callout {
	border-left: 3px solid var(--accent);
	padding: 6px 0 6px 24px;
	max-width: 860px;
	font-family: var(--f-display);
	font-weight: 380;
	font-size: clamp(19px, 2vw, 24px);
	line-height: 1.4;
	color: var(--ink);
}
.mep-callout strong { color: var(--accent); font-weight: 600; }

/* ---- Inline tag list (who-we-serve) ---- */
.mep-taglist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; max-width: 900px; }
.mep-taglist span {
	font-family: var(--f-mono);
	font-size: 11.5px;
	letter-spacing: .02em;
	color: var(--ink-soft);
	background: var(--paper-bright);
	border: 1px solid var(--rule);
	border-radius: 2px;
	padding: 7px 12px;
}
.mep-band--tint .mep-taglist span { background: var(--paper); }

/* ---- Lede under hero ---- */
.mep-info-page .mep-service-hero .lede { max-width: 760px; }

/* ---- Hero with a faint redacted drawing-sheet backdrop ----
   The sheet bleeds in from the right at low opacity and is masked so it fades
   into the paper before it reaches the headline. Set via --hero-sheet inline. */
.mep-info-hero { position: relative; overflow: hidden; }
.mep-info-hero::after {
	content: "";
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 56%;
	background: var(--hero-sheet) no-repeat center right;
	background-size: cover;
	opacity: 0.11;
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 58%);
	mask-image: linear-gradient(to right, transparent 0%, #000 58%);
	pointer-events: none;
	z-index: 0;
}
.mep-info-hero .mep-container { position: relative; z-index: 1; }
.mep-info-hero .meta-strip,
.mep-info-hero h1,
.mep-info-hero .lede,
.mep-info-hero .cta-row { max-width: 660px; }
@media (max-width: 720px) {
	.mep-info-hero::after { width: 100%; opacity: 0.06; }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
	.mep-statband { grid-template-columns: repeat(2, 1fr); }
	.mep-stat:nth-child(2n) { border-right: 0; }
	.mep-stat:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
	.mep-splitlist { grid-template-columns: 1fr; gap: 28px; }
	.mep-band { padding: 48px 0; }
}
@media (max-width: 560px) {
	.mep-statband { grid-template-columns: 1fr; }
	.mep-stat { border-right: 0; border-bottom: 1px solid var(--rule); }
	.mep-stat:last-child { border-bottom: 0; }
}
