/* ============================================================
   Echo Fast Transportation — main stylesheet
   Organised top-to-bottom: base → primitives → chrome → sections.
   Tokens come from tokens.css. NEVER reference raw brand hex/px here.
   ============================================================ */

/* ============== RESET & BASE ============== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: var(--lh-relaxed);
	color: var(--text-body);
	background: var(--surface-page);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip; /* prevent any rogue overflow without breaking sticky */
}
img, svg, video { display: block; max-width: 100%; height: auto; }
/* SVGs control their own fill/stroke via attributes — don't override globally. */
a {
	color: var(--text-strong);
	text-decoration: none;
	transition: color var(--dur-fast) var(--ease-out);
}
a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ============== UTILITY ============== */
.ef-container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--container-pad);
}
.ef-icon { width: 1em; height: 1em; flex-shrink: 0; }
.ef-icon--accent { color: var(--accent); }

.ef-eyebrow {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: var(--fs-eyebrow);
	font-weight: var(--fw-semibold);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: var(--accent);
}
.ef-eyebrow--on-dark { color: var(--ef-red-400); }

.ef-skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--surface-black); color: var(--text-on-dark);
	padding: var(--space-3) var(--space-5);
	font-family: var(--font-mono); font-size: var(--fs-xs);
	letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
	z-index: 9999;
}
.ef-skip-link:focus { left: 0; outline: 2px solid var(--accent); }

/* ============== BUTTONS ============== */
.ef-btn {
	display: inline-flex; align-items: center; justify-content: center;
	gap: var(--space-2);
	font-family: var(--font-body);
	font-weight: var(--fw-semibold);
	font-size: var(--fs-sm);
	line-height: 1;
	padding: 12px 20px;
	border-radius: var(--radius-sm);
	border: 1px solid transparent;
	transition: background var(--dur-fast) var(--ease-out),
				color var(--dur-fast) var(--ease-out),
				transform var(--dur-fast) var(--ease-out),
				box-shadow var(--dur-base) var(--ease-out);
	white-space: nowrap;
}
.ef-btn .ef-icon { width: 16px; height: 16px; }
.ef-btn--sm { padding: 9px 14px; font-size: var(--fs-xs); }
.ef-btn--lg { padding: 16px 26px; font-size: var(--fs-body); }
.ef-btn--lg .ef-icon { width: 18px; height: 18px; }

.ef-btn--primary {
	background: var(--accent); color: var(--ef-paper);
	box-shadow: var(--shadow-sm);
}
.ef-btn--primary:hover {
	background: var(--accent-hover);
	color: var(--ef-paper);
	transform: translateY(-1px);
	box-shadow: var(--shadow-red);
}

.ef-btn--ghost-on-dark {
	color: var(--ef-paper);
	border-color: var(--ef-ink-600);
	background: transparent;
}
.ef-btn--ghost-on-dark:hover {
	border-color: var(--ef-paper);
	color: var(--ef-paper);
	background: rgba(247,246,243,0.04);
}

.ef-btn--ghost-on-light {
	color: var(--text-strong);
	border-color: var(--border-strong);
	background: transparent;
}
.ef-btn--ghost-on-light:hover {
	border-color: var(--text-strong);
	color: var(--text-strong);
	background: rgba(12,14,16,0.04);
}

/* ============== BADGES ============== */
.ef-badge {
	display: inline-flex; align-items: center;
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	font-weight: var(--fw-semibold);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	padding: 6px 11px;
	border-radius: var(--radius-xs);
	border: 1px solid transparent;
}
.ef-badge--dark {
	color: var(--text-on-dark-muted);
	border-color: var(--ef-ink-600);
	background: rgba(247,246,243,0.02);
}

/* ============== WORDMARK LOCKUP (same SVG approach as brand guide) ============== */
.ef-lockup {
	--lockup-h: 36px;
	display: inline-flex;
	align-items: center;
	gap: calc(var(--lockup-h) * 0.28);
	color: inherit;
	text-decoration: none;
}
.ef-lockup--lg { --lockup-h: 64px; }
.ef-lockup--md { --lockup-h: 44px; }
.ef-lockup--sm { --lockup-h: 36px; }
.ef-lockup--xs { --lockup-h: 28px; }
.ef-lockup__mark {
	height: var(--lockup-h);
	width: auto;
	display: block;
	flex-shrink: 0;
}
.ef-lockup__wordmark {
	height: var(--lockup-h);
	width: auto;
	display: block;
}
.ef-lockup__a { font: 900 64px/1 var(--font-display); letter-spacing: -0.015em; }
.ef-lockup__b { font: 500 18px/1 var(--font-mono); }
.ef-lockup__wordmark--light  .ef-lockup__a { fill: var(--accent); }
.ef-lockup__wordmark--light  .ef-lockup__b { fill: var(--ef-ink-900); }
.ef-lockup__wordmark--dark   .ef-lockup__a { fill: var(--accent); }
.ef-lockup__wordmark--dark   .ef-lockup__b { fill: var(--ef-paper); }
.ef-lockup__wordmark--accent .ef-lockup__a { fill: var(--ef-white); }
.ef-lockup__wordmark--accent .ef-lockup__b { fill: var(--ef-ink-900); }

/* ============== TOP BAR ============== */
.ef-topbar {
	background: var(--ef-ink-900);
	color: var(--text-on-dark-muted);
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: var(--ls-wide);
}
.ef-topbar__inner {
	width: 100%;
	padding: 0 clamp(20px, 3vw, 40px);
	height: 40px;
	display: flex; align-items: center; justify-content: space-between;
	gap: var(--space-5);
}
.ef-topbar__left, .ef-topbar__right {
	display: flex; align-items: center; gap: var(--space-5);
}
.ef-topbar__item {
	display: inline-flex; align-items: center; gap: 7px;
	color: var(--text-on-dark-muted);
}
.ef-topbar__item .ef-icon { width: 14px; height: 14px; }
.ef-topbar__item--muted { color: var(--ef-grey-300); }
.ef-topbar__item--strong { color: var(--ef-paper); font-weight: var(--fw-semibold); }
.ef-topbar__item:hover { color: var(--accent); }
.ef-topbar__social { display: inline-flex; align-items: center; gap: 10px; padding-right: 4px; margin-right: 6px; border-right: 1px solid var(--ef-ink-600); }
.ef-topbar__social a { display: inline-grid; place-items: center; color: var(--text-on-dark-muted); transition: color var(--dur-fast) var(--ease-out); }
.ef-topbar__social a svg { width: 14px; height: 14px; display: block; }
.ef-topbar__social a:hover { color: var(--ef-paper); }
@media (max-width: 860px) {
	.ef-topbar { display: none; }
}

/* ============== STICKY NAV ============== */
.ef-nav {
	position: sticky; top: 0; z-index: 50;
	background: var(--ef-white);
	border-bottom: 1px solid var(--border-subtle);
	transition: background var(--dur-base) var(--ease-out),
				box-shadow var(--dur-base) var(--ease-out),
				border-color var(--dur-base) var(--ease-out);
}
.ef-nav[data-solid="true"] {
	background: rgba(247,246,243,0.94);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: var(--shadow-sm);
}
.ef-nav__inner {
	width: 100%;
	padding: 0 clamp(20px, 3vw, 40px);
	height: 76px;
	display: flex; align-items: center; justify-content: space-between;
}
.ef-nav__primary {
	display: flex; align-items: center; gap: 4px;
}
.ef-nav__list {
	list-style: none; margin: 0; padding: 0;
	display: flex; align-items: center; gap: 4px;
}
.ef-nav__list a, .ef-nav__list li > a {
	display: inline-block;
	font-family: var(--font-body);
	font-size: var(--fs-sm);
	font-weight: var(--fw-semibold);
	color: var(--text-strong);
	padding: 9px 14px;
	border-radius: var(--radius-sm);
}
.ef-nav__list a:hover, .ef-nav__list .current-menu-item > a {
	color: var(--accent);
}
.ef-nav__cta { margin-left: 12px; }

.ef-nav__toggle {
	display: none;
	width: 44px; height: 44px;
	background: transparent; border: 1px solid var(--border-subtle);
	border-radius: var(--radius-sm);
	padding: 0;
	flex-direction: column; align-items: center; justify-content: center;
	gap: 5px;
}
.ef-nav__bar {
	display: block; width: 20px; height: 2px;
	background: var(--text-strong);
	transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.ef-nav__toggle[aria-expanded="true"] .ef-nav__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ef-nav__toggle[aria-expanded="true"] .ef-nav__bar:nth-child(2) { opacity: 0; }
.ef-nav__toggle[aria-expanded="true"] .ef-nav__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 960px) {
	.ef-nav__inner { height: 64px; }
	.ef-nav__primary { display: none; }
	.ef-nav__toggle { display: inline-flex; }
}

/* Body scroll-lock when menu open */
body.ef-menu-open { overflow: hidden; }

/* ============== MOBILE MENU — full-screen drawer ============== */
.ef-mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: var(--ef-ink-900);
	color: var(--ef-paper);
	transform: translateX(100%);
	transition: transform 0.5s var(--ease-in-out);
	overflow-y: auto;
	overscroll-behavior: contain;
}
.ef-mobile-menu[aria-hidden="false"] {
	transform: translateX(0);
}
.ef-mobile-menu__inner {
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	padding: clamp(20px, 4vw, 32px);
}
.ef-mobile-menu__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: clamp(32px, 6vh, 56px);
}
.ef-mobile-menu__close {
	width: 44px; height: 44px;
	background: transparent;
	border: 1px solid var(--ef-ink-600);
	border-radius: var(--radius-sm);
	color: var(--ef-paper);
	display: grid; place-items: center;
	cursor: pointer;
	transition: background var(--dur-fast) var(--ease-out);
}
.ef-mobile-menu__close:hover { background: var(--ef-ink-700); }
.ef-mobile-menu__close .ef-icon { width: 22px; height: 22px; }

/* Editorial nav links */
.ef-mobile-menu__nav { flex: 1; }
.ef-mobile-menu__nav ol {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ef-mobile-menu__nav li {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 18px 0;
	border-top: 1px solid var(--ef-ink-700);
}
.ef-mobile-menu__nav li:last-child { border-bottom: 1px solid var(--ef-ink-700); }
.ef-mobile-menu__num {
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	color: var(--accent);
	font-weight: var(--fw-semibold);
	letter-spacing: var(--ls-eyebrow);
}
.ef-mobile-menu__nav a {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: clamp(2rem, 8vw, 3rem);
	line-height: 1;
	letter-spacing: var(--ls-tighter);
	color: var(--ef-paper);
	text-decoration: none;
	transition: color var(--dur-fast) var(--ease-out);
}
.ef-mobile-menu__nav a:hover,
.ef-mobile-menu__nav a:focus-visible { color: var(--accent); }

/* Foot — CTA + direct contact */
.ef-mobile-menu__foot {
	padding-top: clamp(28px, 5vh, 48px);
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.ef-mobile-menu__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: var(--text-on-dark-muted);
}
.ef-mobile-menu__contact a {
	color: var(--ef-paper);
	text-decoration: none;
	transition: color var(--dur-fast) var(--ease-out);
}
.ef-mobile-menu__contact a:hover { color: var(--accent); }
.ef-mobile-menu__social { display: flex; gap: 10px; margin-top: 4px; }
.ef-mobile-menu__social a {
	width: 40px; height: 40px;
	border: 1px solid var(--ef-ink-600);
	border-radius: var(--radius-sm);
	display: grid; place-items: center;
	color: var(--text-on-dark-muted);
	transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.ef-mobile-menu__social a svg { width: 18px; height: 18px; display: block; }
.ef-mobile-menu__social a:hover { color: var(--ef-paper); border-color: var(--accent); background: rgba(238,64,53,0.08); }

@media (prefers-reduced-motion: reduce) {
	.ef-mobile-menu { transition: none; }
}

/* ============== HERO ============== */
.ef-hero {
	position: relative;
	background: var(--ef-ink-900);
	color: var(--ef-paper);
	overflow: hidden;
}
.ef-hero__bg {
	position: absolute; inset: 0;
	background: radial-gradient(120% 90% at 88% 5%, rgba(238,64,53,0.18), transparent 58%);
	pointer-events: none;
}
.ef-hero__streak {
	position: absolute; top: 0; bottom: 0; left: 63%;
	width: 2px;
	background: repeating-linear-gradient(var(--ef-ink-700) 0 22px, transparent 22px 44px);
	opacity: 0.55;
	transform: skewX(-12deg);
	pointer-events: none;
}
.ef-hero__inner {
	position: relative;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: clamp(48px, 6vh, 80px) var(--container-pad);
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(40px, 6vw, 72px);
	align-items: center;
	/* Fits in one viewport on desktop:
	   100svh − topbar(40) − nav(76) = ~ (100svh − 116px) */
	min-height: calc(100svh - 116px);
}
.ef-hero__col { min-width: 0; }
.ef-hero__title {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 4.4vw, 4.25rem);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: var(--ls-tighter);
	margin: 20px 0 0;
	text-wrap: balance;
	color: var(--ef-paper);
}
.ef-hero__title-accent { color: var(--accent); }
.ef-hero__lede {
	font-size: var(--fs-lead);
	line-height: var(--lh-relaxed);
	color: var(--text-on-dark-muted);
	max-width: 470px;
	margin: 22px 0 0;
	text-wrap: pretty;
}
.ef-hero__actions {
	display: flex;
	gap: 14px;
	margin-top: 32px;
	flex-wrap: wrap;
}

.ef-hero__visual {
	position: relative;
}
.ef-hero__frame {
	position: relative;
	border-radius: var(--radius-xl);
	overflow: hidden;
	border: 1px solid var(--ef-ink-600);
	aspect-ratio: 4 / 5; /* standard portrait */
	max-height: calc(100svh - 200px);
	box-shadow: var(--shadow-lg);
	background: var(--ef-ink-800);
}
.ef-hero__frame img {
	width: 100%; height: 100%;
	object-fit: cover;
}
.ef-hero__frame-stripe {
	position: absolute; top: 0; left: 0;
	height: 5px; width: 100%;
	background: var(--accent);
	z-index: 2;
}
.ef-hero__placeholder {
	width: 100%; height: 100%;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: var(--space-4);
	color: var(--ef-grey-500);
	text-align: center;
	padding: var(--space-7);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	letter-spacing: var(--ls-wide);
}
.ef-hero__placeholder svg { width: 64px; height: 64px; }

.ef-hero__pill {
	position: absolute;
	bottom: -22px; left: -24px;
	background: var(--ef-white);
	color: var(--text-strong);
	border-radius: var(--radius-lg);
	padding: 15px 20px;
	box-shadow: var(--shadow-lg);
	display: flex; align-items: center; gap: 13px;
	z-index: 3;
}
.ef-hero__pill-icon {
	position: relative;
	width: 40px; height: 40px;
	border-radius: var(--radius-md);
	background: var(--ef-red-50);
	color: var(--accent);
	display: grid; place-items: center;
}
.ef-hero__pill-icon svg { width: 20px; height: 20px; }
.ef-hero__ping {
	position: absolute; inset: 9px;
	border-radius: 50%;
	border: 2px solid var(--accent);
	animation: ef-ping 1.8s var(--ease-out) infinite;
}
.ef-hero__pill-text { display: flex; flex-direction: column; }
.ef-hero__pill-text strong {
	font-family: var(--font-display);
	font-weight: var(--fw-extra);
	font-size: 15px;
	line-height: 1.1;
}
.ef-hero__pill-text small {
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-top: 3px;
}
@keyframes ef-ping {
	0%   { transform: scale(1);   opacity: 0.85; }
	80%  { transform: scale(1.9); opacity: 0;    }
	100% { transform: scale(1.9); opacity: 0;    }
}
@media (prefers-reduced-motion: reduce) {
	.ef-hero__ping { animation: none; }
}

@media (max-width: 960px) {
	.ef-hero__inner {
		grid-template-columns: 1fr;
		gap: 48px;
		padding: 64px var(--container-pad) 88px;
		min-height: 0;
	}
	.ef-hero__streak { display: none; }
	.ef-hero__visual { max-width: 420px; margin: 0 auto; width: 100%; }
	.ef-hero__frame { aspect-ratio: 16 / 11; } /* less tall on mobile */
}

/* ----- HERO · BLEED variant (full-bleed photo + editorial type) ----- */
:root { --ef-chrome-h: 116px; } /* top bar 40 + nav 76 */

.ef-hero--bleed {
	position: relative;
	background: var(--ef-ink-900);
	color: var(--ef-paper);
	overflow: hidden;
	height: calc(100svh - var(--ef-chrome-h));
	min-height: 560px; /* floor so it doesn't feel cramped on tiny laptops */
	padding: 0;
}
.ef-hero--bleed .ef-hero__bg,
.ef-hero--bleed .ef-hero__streak { display: none; } /* unused on bleed */

.ef-hero__media {
	position: absolute; inset: 0;
	z-index: 0;
}
.ef-hero__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: center;
}
.ef-hero__media-overlay {
	position: absolute; inset: 0;
	/* Only a bottom fade so the section eases into the stats band —
	   upper photo is untouched, no left-column horizontal scrim. */
	background: linear-gradient(180deg,
		transparent 0%,
		transparent 55%,
		rgba(12,14,16,0.45) 82%,
		rgba(12,14,16,0.88) 100%);
}

.ef-hero__bleed-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: clamp(28px, 4vh, 56px) clamp(20px, 3vw, 40px);
	height: 100%;
	display: grid;
	/* title (1fr) → rule (auto) → foot (auto) */
	grid-template-rows: 1fr auto auto;
	gap: clamp(14px, 2vh, 24px);
}

.ef-hero__bleed-title {
	align-self: end;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(2.25rem, 5vw, 4.75rem);
	line-height: 1.1;
	letter-spacing: -0.025em;
	margin: 0;
	color: var(--ef-paper);
	text-wrap: balance;
	/* Dark halo — same treatment as services slide titles so paper type
	   stays crisp over the untouched photo (including the bright sky). */
	text-shadow:
		0 0 2px rgba(0,0,0,0.7),
		0 2px 6px rgba(0,0,0,0.6),
		0 4px 24px rgba(0,0,0,0.45);
}
.ef-hero__bleed-line {
	display: block;
}
.ef-hero__bleed-line--italic {
	color: var(--accent);
	font-weight: 700;
}

/* Editorial data strip — horizontal ticker of brand context */
.ef-hero__bleed-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0 14px;
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	font-weight: var(--fw-medium);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: rgba(247,246,243,0.9);
}
.ef-hero__bleed-meta-item--accent { color: var(--accent); font-weight: var(--fw-semibold); }
.ef-hero__bleed-meta-sep {
	width: 4px; height: 4px;
	border-radius: 50%;
	background: rgba(247,246,243,0.35);
	flex-shrink: 0;
}

.ef-hero__bleed-rule {
	height: 1px;
	background: linear-gradient(90deg,
		rgba(247,246,243,0.30) 0%,
		rgba(247,246,243,0.18) 50%,
		rgba(247,246,243,0.05) 100%);
}

.ef-hero__bleed-foot {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: end;
}
.ef-hero__bleed-leftcol {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 25px;
	align-self: end;
}

/* Editorial scroll cue — tiny section index + vertical track + animated dot */
.ef-hero__bleed-scroll {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	font-weight: var(--fw-semibold);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: rgba(247,246,243,0.9);
	text-decoration: none;
	transition: color var(--dur-fast) var(--ease-out);
}
.ef-hero__bleed-scroll:hover { color: var(--ef-paper); }
.ef-hero__bleed-scroll-num { color: var(--accent); font-weight: var(--fw-semibold); }
.ef-hero__bleed-scroll-track {
	position: relative;
	display: inline-block;
	width: 1px;
	height: 32px;
	background: rgba(247,246,243,0.2);
	overflow: hidden;
}
.ef-hero__bleed-scroll-dot {
	position: absolute;
	left: -2px;
	top: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--accent);
	animation: ef-track 1.8s var(--ease-in-out) infinite;
}
@keyframes ef-track {
	0%   { top: 0;   opacity: 0; }
	30%  { opacity: 1; }
	70%  { opacity: 1; }
	100% { top: 27px; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.ef-hero__bleed-scroll-dot { animation: none; top: 13px; opacity: 1; }
}

.ef-hero__bleed-action {
	justify-self: end;
	max-width: 440px;
	text-align: left;
}
.ef-hero__bleed-lede {
	font-size: clamp(1.1rem, 1.4vw, 1.375rem);
	line-height: var(--lh-normal);
	color: rgba(247,246,243,0.92);
	margin: 0 0 16px;
	text-wrap: pretty;
}
.ef-hero__bleed-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

@media (max-height: 760px) {
	/* Compact for shorter laptops */
	.ef-hero__bleed-title { font-size: clamp(2.25rem, 5.6vw, 4.5rem); }
	.ef-hero__bleed-lede { font-size: 1.05rem; margin-bottom: 12px; }
}

@media (max-width: 860px) {
	.ef-hero--bleed { height: auto; min-height: calc(100svh - var(--ef-chrome-h)); }
	.ef-hero__bleed-inner { height: auto; min-height: calc(100svh - var(--ef-chrome-h)); }
	.ef-hero__bleed-foot {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.ef-hero__bleed-action { justify-self: start; max-width: 100%; }
	.ef-hero__title { font-weight: 500; }
	.ef-hero__bleed-title { font-size: 2rem; font-weight: 500; } /* ~32px */
	.ef-hero__bleed-buttons { width: 100%; }
	.ef-hero__bleed-buttons .ef-btn { width: 100%; justify-content: center; }
	/* Scroll cue is desktop-only — phone users don't need it */
	.ef-hero__bleed-scroll { display: none; }
}
@media (max-width: 480px) {
	.ef-hero__bleed-title { font-size: 1.75rem; } /* 28px on tiny phones */
	.ef-hero__bleed-meta { gap: 0 10px; }
	.ef-hero__bleed-meta-item { font-size: 10px; }
}

/* ----- HERO · LIGHT variant ----- */
.ef-hero--light { background: var(--surface-page); color: var(--text-strong); }
.ef-hero--light .ef-hero__title { color: var(--text-strong); }
.ef-hero--light .ef-hero__lede { color: var(--text-body); }
.ef-hero__bg--light {
	background: radial-gradient(120% 90% at 88% 5%, rgba(238,64,53,0.10), transparent 58%);
}
.ef-hero__streak--light {
	background: repeating-linear-gradient(var(--ef-grey-200) 0 22px, transparent 22px 44px);
	opacity: 0.7;
}
.ef-hero__frame--light {
	border: 1px solid var(--border-subtle);
	background: var(--ef-grey-100);
}
.ef-hero__placeholder--light { color: var(--ef-grey-400); }

/* ============== FOOTER ============== */
.ef-footer {
	background: var(--surface-page);
	color: var(--text-body);
	border-top: 1px solid var(--border-subtle);
}
.ef-footer__inner {
	width: 100%;
	padding: 72px clamp(20px, 3vw, 40px) 40px;
}

/* 4-col main grid: Brand · Pages · Reach us · Address */
.ef-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 0.8fr 1fr 0.9fr;
	gap: 48px;
}
.ef-footer__desc {
	margin-top: 20px;
	max-width: 300px;
	font-size: var(--fs-sm);
	line-height: var(--lh-relaxed);
}
.ef-footer__tagline {
	margin-top: 20px;
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	letter-spacing: var(--ls-wide);
	color: var(--accent);
}
.ef-footer__h {
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	font-weight: var(--fw-semibold);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-strong);
	margin: 0 0 18px;
}
.ef-footer__links {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-direction: column; gap: 11px;
}
.ef-footer__links a {
	color: var(--text-body);
	font-size: var(--fs-sm);
}
.ef-footer__links a:hover { color: var(--accent); }
.ef-footer__contact {
	display: flex; flex-direction: column; gap: 14px;
}
.ef-footer__row {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: var(--text-body);
	text-decoration: none;
	transition: color var(--dur-fast) var(--ease-out);
}
a.ef-footer__row:hover { color: var(--text-strong); }
a.ef-footer__row:hover .ef-footer__row-value { color: var(--accent); }
.ef-footer__row-label {
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	font-weight: var(--fw-medium);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: var(--text-muted);
}
.ef-footer__row-value {
	font-size: var(--fs-sm);
	font-weight: var(--fw-medium);
	color: var(--text-strong);
	transition: color var(--dur-fast) var(--ease-out);
}

/* Address block */
.ef-footer__address {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: var(--fs-sm);
	line-height: var(--lh-relaxed);
	color: var(--text-body);
}
.ef-footer__address .ef-icon {
	width: 18px; height: 18px;
	margin-top: 2px;
	flex-shrink: 0;
}
.ef-footer__address address {
	font-style: normal;
	color: var(--text-strong);
}

.ef-footer__social {
	display: flex; gap: 10px; margin-top: 4px;
}
.ef-footer__social a {
	width: 36px; height: 36px;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-sm);
	display: grid; place-items: center;
	color: var(--text-muted);
}
.ef-footer__social .ef-icon { width: 16px; height: 16px; }
.ef-footer__social a:hover { color: var(--accent); border-color: var(--accent); background: rgba(238,64,53,0.06); }

.ef-footer__legal {
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--border-subtle);
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	letter-spacing: var(--ls-wide);
	color: var(--text-muted);
}
.ef-footer__legal-link {
	color: inherit;
	transition: color var(--dur-fast) var(--ease-out);
}
.ef-footer__legal-link:hover { color: var(--accent); }

@media (max-width: 1100px) {
	.ef-footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
	.ef-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
	.ef-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
	.ef-footer__legal { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 560px) {
	.ef-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.ef-footer__inner { padding-top: 56px; padding-bottom: 32px; }
}

/* ============== WHATSAPP FAB ============== */
.ef-whatsapp-fab {
	position: fixed;
	bottom: 22px; right: 22px;
	width: 60px; height: 60px;
	border-radius: 50%;
	background: #25D366;
	color: var(--ef-paper);
	display: grid; place-items: center;
	box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0,0,0,0.18);
	z-index: 90;
	transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.ef-whatsapp-fab::before {
	/* Slow pulse ring — draws the eye */
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: #25D366;
	opacity: 0.5;
	z-index: -1;
	animation: ef-wa-pulse 2.4s var(--ease-out) infinite;
}
.ef-whatsapp-fab svg { width: 30px; height: 30px; }
.ef-whatsapp-fab:hover {
	color: var(--ef-paper);
	transform: translateY(-2px) scale(1.06);
	box-shadow: 0 16px 40px -8px rgba(37, 211, 102, 0.7), 0 6px 16px rgba(0,0,0,0.22);
}
@keyframes ef-wa-pulse {
	0%   { transform: scale(1);   opacity: 0.45; }
	70%  { transform: scale(1.5); opacity: 0; }
	100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.ef-whatsapp-fab::before { animation: none; }
}
@media (max-width: 560px) {
	.ef-whatsapp-fab {
		bottom: max(18px, env(safe-area-inset-bottom));
		right: 16px;
		width: 54px; height: 54px;
	}
	.ef-whatsapp-fab svg { width: 26px; height: 26px; }
}
/* Hide the FAB while the mobile menu is open so it doesn't sit on top of nav */
body.ef-menu-open .ef-whatsapp-fab { display: none; }

/* ============== REVEAL (scroll-triggered fade-rise) ============== */
[data-reveal] {
	opacity: 0;
	transform: translateY(var(--reveal-y));
	transition: opacity var(--dur-slow) var(--ease-out),
				transform var(--dur-slow) var(--ease-out);
	will-change: opacity, transform;
}
[data-reveal].is-revealed {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	[data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============== MAIN ============== */
.ef-main { display: block; }
.ef-main:focus { outline: none; }

/* ============== PAGE HERO (about, services, contact pages) ============== */
.ef-page-hero {
	background: var(--surface-page);
	padding: clamp(80px, 12vh, 160px) 0 0;
	position: relative;
}
.ef-page-hero__head { max-width: 800px; }
.ef-page-hero__head .ef-eyebrow { display: inline-block; margin-bottom: 10px; }
.ef-page-hero__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(2.25rem, 4.5vw, 4.5rem);
	line-height: 1.12;
	letter-spacing: var(--ls-tighter);
	color: var(--text-strong);
	margin: 0 0 24px;
	text-wrap: balance;
}
.ef-page-hero__intro {
	font-size: var(--fs-lead);
	line-height: var(--lh-relaxed);
	color: var(--text-body);
	margin: 0;
	max-width: 64ch;
}
@media (max-width: 720px) {
	.ef-page-hero { padding: clamp(56px, 10vh, 100px) 0 0; }
	.ef-page-hero__title { font-size: clamp(2rem, 8vw, 2.75rem); font-weight: 500; margin-bottom: 16px; }
	.ef-page-hero__intro { font-size: var(--fs-body); }
}

/* ============== STORY (2-col image + copy) ============== */
.ef-story {
	background: var(--surface-page);
	padding: var(--section-y) 0;
	border-top: 1px solid var(--border-subtle);
}
.ef-story__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 5vw, 80px);
	align-items: center;
}
.ef-story__media {
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 4 / 5; /* standard portrait */
	background: var(--ef-grey-100);
	box-shadow: var(--shadow-md);
}
.ef-story__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
.ef-story__placeholder {
	width: 100%; height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--space-4);
	color: var(--ef-grey-400);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	letter-spacing: var(--ls-wide);
	text-align: center;
	padding: var(--space-7);
}
.ef-story__copy { max-width: 540px; }
.ef-story__copy .ef-eyebrow { display: inline-block; margin-bottom: 10px; }
.ef-story__title {
	font-family: var(--font-display);
	font-weight: var(--fw-extra);
	font-size: clamp(1.875rem, 3vw, 2.75rem);
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-tighter);
	color: var(--text-strong);
	margin: 0 0 20px;
	text-wrap: balance;
}
.ef-story__lede {
	font-size: var(--fs-lead);
	line-height: var(--lh-relaxed);
	color: var(--text-strong);
	margin: 0 0 18px;
}
.ef-story__body {
	font-size: var(--fs-body);
	line-height: var(--lh-relaxed);
	color: var(--text-body);
	margin: 0 0 14px;
}
.ef-story__body:last-child { margin-bottom: 0; }
@media (max-width: 960px) {
	.ef-story__grid { grid-template-columns: 1fr; gap: 36px; }
	.ef-story__media { aspect-ratio: 16 / 9; }
}

/* ============== VALUES (4 cards, same hover pattern as Why-Us) ============== */
.ef-values {
	background: var(--surface-page);
	padding: var(--section-y) 0;
}
.ef-values__head {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	column-gap: clamp(40px, 6vw, 80px);
	row-gap: 4px;
	align-items: end;
	margin-bottom: clamp(40px, 5vh, 64px);
}
.ef-values .ef-eyebrow {
	grid-column: 1 / -1;
	margin-bottom: 10px;
}
.ef-values__title {
	font-family: var(--font-display);
	font-weight: var(--fw-extra);
	font-size: clamp(1.875rem, 3vw, 2.75rem);
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-tighter);
	color: var(--text-strong);
	margin: 0;
	text-wrap: balance;
}
.ef-values__intro {
	font-size: var(--fs-body);
	line-height: var(--lh-relaxed);
	color: var(--text-body);
	margin: 0;
	max-width: 42ch;
	justify-self: end;
}
.ef-values__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

/* Value card — same structure as why-us card */
.ef-value-card {
	position: relative;
	overflow: hidden;
	background: var(--surface-card);
	border: none;
	padding: 8px;
	min-height: clamp(280px, 32vh, 360px);
	display: flex;
	flex-direction: column;
}
.ef-value-card::before {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 0;
	background: var(--accent);
	transition: height 0.5s var(--ease-out);
	z-index: 0;
}
.ef-value-card:hover::before { height: 100%; }
.ef-value-card > * { position: relative; z-index: 1; }

.ef-value-card__num {
	font-family: var(--font-mono);
	font-size: var(--fs-sm);
	font-weight: var(--fw-semibold);
	color: var(--text-muted);
	letter-spacing: var(--ls-wide);
	transition: color 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.ef-value-card:hover .ef-value-card__num { color: var(--ef-paper); transform: translateY(4px); }

.ef-value-card__icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: clamp(20px, 3vh, 36px) 0 0;
	color: var(--accent);
	transition: color 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.ef-value-card:hover .ef-value-card__icon { color: var(--ef-paper); transform: translateY(-8px); }
.ef-value-card__icon .ef-icon { width: 64px; height: 64px; stroke-width: 1.4; }

.ef-value-card__title {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 1.25rem;
	line-height: 1.3;
	letter-spacing: var(--ls-tight);
	color: var(--text-strong);
	margin: auto 0 12px;
	min-height: 2.6em;
	display: flex;
	align-items: flex-end;
	transition: color 0.4s var(--ease-out);
	text-wrap: balance;
}
.ef-value-card__desc {
	font-size: var(--fs-sm);
	line-height: var(--lh-normal);
	color: var(--text-body);
	margin: 0;
	min-height: 4.5em;
	transition: color 0.4s var(--ease-out);
}
.ef-value-card:hover .ef-value-card__title { color: var(--ef-paper); }
.ef-value-card:hover .ef-value-card__desc { color: var(--ef-paper); opacity: 0.92; }

@media (max-width: 1100px) {
	.ef-values__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
	.ef-values__head { grid-template-columns: 1fr; row-gap: 6px; align-items: start; }
	.ef-values__intro { justify-self: start; }
}
@media (max-width: 560px) {
	.ef-values__grid { grid-template-columns: 1fr; gap: 12px; }
	.ef-value-card {
		min-height: 0;
		padding: 24px 24px 28px;
	}
	.ef-value-card__icon { margin: 16px 0 24px; }
	.ef-value-card__title { min-height: 0; }
	.ef-value-card__desc { min-height: 0; }
}

/* ============== SECTION HEAD ============== */
.ef-shead { display: block; }
.ef-shead--center { margin-left: auto; margin-right: auto; text-align: center; }
.ef-shead__title {
	font-family: var(--font-display);
	font-weight: var(--fw-extra);
	font-size: var(--fs-h2);
	line-height: var(--lh-snug);
	letter-spacing: var(--ls-tight);
	color: var(--text-strong);
	margin: 14px 0 0;
	text-wrap: balance;
}
.ef-shead--dark .ef-shead__title { color: var(--ef-paper); }
.ef-shead__intro {
	margin: 18px 0 0;
	font-size: var(--fs-lead);
	line-height: var(--lh-relaxed);
	color: var(--text-body);
	max-width: 56ch;
	text-wrap: pretty;
}
.ef-shead--center .ef-shead__intro { margin-left: auto; margin-right: auto; }
.ef-shead--dark .ef-shead__intro { color: var(--text-on-dark-muted); }

/* ============== ICON BOX (small accent square) ============== */
.ef-iconbox {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 46px; height: 46px;
	border-radius: var(--radius-md);
	background: var(--ef-red-50);
	color: var(--accent);
	flex-shrink: 0;
}
.ef-iconbox__ping {
	position: absolute;
	inset: 11px;
	border-radius: 50%;
	border: 2px solid var(--accent);
	animation: ef-ping 1.8s var(--ease-out) infinite;
}
@media (prefers-reduced-motion: reduce) { .ef-iconbox__ping { animation: none; } }

/* ============== STATS BAND ============== */
.ef-stats {
	background: var(--surface-page);
	color: var(--text-strong);
	position: relative;
	overflow: hidden;
	border-top: 1px solid var(--border-subtle);
	border-bottom: 1px solid var(--border-subtle);
}
.ef-stats__bg {
	position: absolute; inset: 0;
	background: radial-gradient(80% 120% at 0% 0%, rgba(238,64,53,0.06), transparent 55%);
	pointer-events: none;
}
.ef-stats__inner {
	position: relative;
	padding-top: var(--section-y-tight);
	padding-bottom: var(--section-y-tight);
}
.ef-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}
.ef-stat {
	padding-left: 32px;
	border-left: 1px solid var(--border-subtle);
}
.ef-stat:first-child {
	padding-left: 0;
	border-left: none;
}
.ef-stat__value {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: var(--fs-stat);
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--text-strong);
	display: flex; align-items: baseline; gap: 2px;
	/* Tabular figures keep the columns of digits aligned */
	font-variant-numeric: tabular-nums lining-nums;
}
.ef-stat__suffix {
	color: var(--accent);
	font-size: 0.6em;
	font-weight: var(--fw-semibold);
	margin-left: 2px;
}
.ef-stat__label {
	margin-top: 10px;
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	font-weight: var(--fw-medium);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: var(--text-muted);
}
@media (max-width: 860px) {
	.ef-stats__grid { grid-template-columns: repeat(2, 1fr); column-gap: 0; row-gap: 32px; }
	.ef-stat {
		padding-left: 20px;
		border-left: 1px solid var(--border-subtle);
	}
	.ef-stat:nth-child(odd) { padding-left: 0; border-left: none; }
	.ef-stat__value { font-size: clamp(2.25rem, 8vw, 3rem); }
}
@media (max-width: 480px) {
	.ef-stats__grid { gap: 26px 18px; }
}

/* ============== ABOUT (text left + image right, single viewport) ============== */
.ef-about {
	min-height: calc(100svh - var(--ef-chrome-h, 116px));
	padding: clamp(64px, 8vh, 112px) 0;
	display: flex;
	align-items: center;
}
.ef-about__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 5vw, 80px);
	align-items: center;
	width: 100%;
}

/* Media column */
.ef-about__media {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 4 / 5; /* standard portrait */
	max-height: calc(100svh - 200px);
	background: var(--ef-grey-100);
	box-shadow: var(--shadow-md);
}
.ef-about__media-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1.05);
	transition: transform 1.2s var(--ease-out);
	will-change: transform;
}
.ef-about__media-img.is-revealed { transform: scale(1); }
.ef-about__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--space-4);
	width: 100%; height: 100%;
	color: var(--ef-grey-400);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	letter-spacing: var(--ls-wide);
	text-align: center;
	padding: var(--space-7);
}

/* Editorial map-pin marker — small fact bottom-left of image */
.ef-about__media-marker {
	position: absolute;
	left: 24px; bottom: 24px;
	display: inline-flex; align-items: center;
	background: var(--surface-card);
	padding: 10px 14px;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-sm);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	font-weight: var(--fw-semibold);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: var(--text-strong);
	z-index: 2;
}
.ef-about__media-marker::before {
	content: "";
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--accent);
	margin-right: 10px;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

/* Copy column */
.ef-about__copy { max-width: 520px; }
.ef-about__eyebrow { margin-bottom: 10px; display: inline-block; }
.ef-about__title {
	font-family: var(--font-display);
	font-weight: var(--fw-extra);
	font-size: clamp(1.875rem, 3vw, 2.75rem);
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-tighter);
	color: var(--text-strong);
	margin: 0 0 22px;
	text-wrap: balance;
}
.ef-about__lede {
	font-size: var(--fs-lead);
	line-height: var(--lh-relaxed);
	color: var(--text-body);
	margin: 0 0 32px;
}
.ef-about__actions { display: flex; }

@media (max-width: 960px) {
	.ef-about {
		min-height: 0;
		padding: 64px 0 80px;
	}
	.ef-about__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.ef-about__media { aspect-ratio: 16 / 9; max-height: none; } /* standard landscape on mobile */
	/* Disable sticky pin on mobile — feels weird at portrait sizes */
	.ef-scroll-pin > .ef-stats { position: relative; }
}

/* ============== SERVICES — intro header + sticky stack of full-bleed slides ============== */
.ef-services-section {
	background: var(--surface-page);
	padding: var(--section-y) 0 var(--section-y-tight);
}
.ef-services__head {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	column-gap: clamp(40px, 6vw, 80px);
	row-gap: 4px;
	align-items: end;
}
.ef-services-section .ef-eyebrow {
	grid-column: 1 / -1;
	margin-bottom: 10px;
}
.ef-services__title {
	font-family: var(--font-display);
	font-weight: var(--fw-extra);
	font-size: clamp(1.875rem, 3vw, 2.75rem);
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-tighter);
	color: var(--text-strong);
	margin: 0;
	text-wrap: balance;
}
.ef-services__intro {
	font-size: var(--fs-body);
	line-height: var(--lh-relaxed);
	color: var(--text-body);
	margin: 0;
	max-width: 42ch;
	justify-self: end;
}
@media (max-width: 960px) {
	.ef-services__head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
	.ef-services__intro { justify-self: start; }
}


.ef-services-stack {
	position: relative;
}
.ef-services-stack > .ef-service-bleed {
	position: sticky;
	top: var(--ef-nav-h);
	height: calc(100svh - var(--ef-nav-h));
	min-height: 540px;
}
.ef-services-stack > .ef-service-bleed:nth-child(1) { z-index: 11; }
.ef-services-stack > .ef-service-bleed:nth-child(2) { z-index: 12; }
.ef-services-stack > .ef-service-bleed:nth-child(3) { z-index: 13; }
.ef-services-stack > .ef-service-bleed:nth-child(4) { z-index: 14; }

.ef-service-bleed {
	position: relative;
	color: var(--ef-paper);
	overflow: hidden;
	background: var(--ef-coal);
}
.ef-service-bleed__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.ef-service-bleed__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: center;
}
.ef-service-bleed__overlay {
	display: none; /* Client prefers no scrim — photos show through fully. Text uses shadow instead. */
}
.ef-service-bleed__placeholder {
	width: 100%; height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--space-4);
	color: var(--ef-grey-700);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	letter-spacing: var(--ls-wide);
	text-align: center;
}

.ef-service-bleed__inner {
	position: relative;
	z-index: 1;
	height: 100%;
	max-width: var(--container-max); /* constrain content like every other section */
	margin: 0 auto;
	padding: clamp(32px, 4.5vh, 64px) var(--container-pad);
	display: grid;
	grid-template-rows: auto 1fr auto;
	gap: 24px;
}

/* Top-left: mono index + category */
.ef-service-bleed__top {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	font-weight: var(--fw-medium);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: var(--text-on-dark-muted);
}
.ef-service-bleed__index { color: var(--accent); font-weight: var(--fw-semibold); }
.ef-service-bleed__sep {
	width: 4px; height: 4px;
	border-radius: 50%;
	background: rgba(247,246,243,0.35);
}
.ef-service-bleed__cat { color: var(--ef-paper); }

/* Foot: split heading-left, desc-right. Raised noticeably from bottom edge. */
.ef-service-bleed__foot {
	grid-row: 3;
	align-self: end;
	padding-bottom: clamp(140px, 22vh, 240px);
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(32px, 5vw, 80px);
	align-items: end;
}
.ef-service-bleed__title {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: clamp(2rem, 4.6vw, 4rem);
	line-height: 1.02;
	letter-spacing: var(--ls-tight);
	color: var(--ef-paper);
	margin: 0;
	text-wrap: balance;
	text-shadow:
		0 0 2px rgba(0,0,0,0.7),
		0 2px 6px rgba(0,0,0,0.6),
		0 4px 24px rgba(0,0,0,0.45);
}
.ef-service-bleed__desc {
	font-size: var(--fs-lead);
	line-height: var(--lh-relaxed);
	color: var(--ef-paper);
	margin: 0 0 6px;
	max-width: 48ch;
	text-wrap: pretty;
	text-shadow: 0 1px 2px rgba(0,0,0,0.55), 0 0 24px rgba(0,0,0,0.35);
	background: linear-gradient(rgba(12,14,16,0.35), rgba(12,14,16,0.35));
	padding: 14px 18px;
	border-radius: var(--radius-md);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

/* Mobile — sticky stack stays active (CSS sticky is fine on mobile), just shorter slides */
@media (max-width: 860px) {
	.ef-services-stack > .ef-service-bleed {
		/* sticky stays — only height shrinks */
		height: calc(78svh - var(--ef-nav-h));
		min-height: 480px;
	}
	.ef-service-bleed__inner {
		padding: clamp(24px, 6vw, 36px) clamp(20px, 5vw, 32px);
	}
	.ef-service-bleed__foot {
		grid-template-columns: 1fr;
		gap: 14px;
		padding-bottom: clamp(40px, 8vh, 80px);
	}
	.ef-service-bleed__title { font-size: clamp(1.75rem, 7vw, 2.75rem); }
	.ef-service-bleed__desc { font-size: var(--fs-sm); }
}

/* ============== PROCESS — pinned body, head scrolls away first, scroll advances active step ============== */
.ef-process {
	background: var(--surface-page);
	padding: var(--section-y) 0;
	position: relative;
	/* Scroll-room for the pinned body. 50vh per transition feels snappier
	   than a full viewport per step. Tune if too fast / too slow. */
	padding-bottom: calc((var(--total, 5) - 1) * 70vh);
}

/* Head — editorial split: title left, intro right */
.ef-process__head {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	column-gap: clamp(40px, 6vw, 80px);
	row-gap: 4px; /* tight between eyebrow row and title row */
	align-items: end;
	margin-bottom: clamp(40px, 5vh, 64px);
}
.ef-process .ef-eyebrow {
	grid-column: 1 / -1;
	margin-bottom: 10px;
}
.ef-process__title {
	font-family: var(--font-display);
	font-weight: var(--fw-extra);
	font-size: clamp(1.875rem, 3vw, 2.75rem);
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-tighter);
	color: var(--text-strong);
	margin: 0;
	text-wrap: balance;
}
.ef-process__intro {
	font-size: var(--fs-body);
	line-height: var(--lh-relaxed);
	color: var(--text-body);
	margin: 0;
	max-width: 42ch;
	justify-self: end;
}

/* Body — pin is JS-driven (CSS sticky was unreliable here).
   JS toggles .is-pinned (position: fixed) and .is-passed (position: absolute bottom). */
.ef-process__body {
	position: relative;
	height: calc(100vh - var(--ef-nav-h, 76px));
	max-width: var(--container-max);
	margin: 0 auto;
	padding: clamp(20px, 3vh, 40px) var(--container-pad);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(48px, 6vw, 96px);
	align-items: stretch;
	box-sizing: border-box;
}
.ef-process__body.is-pinned {
	position: fixed;
	top: var(--ef-nav-h, 76px);
	left: 0;
	right: 0;
}
.ef-process__body.is-passed {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

/* Steps column — distributed evenly within body height */
.ef-process__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
/* Background track (full grey) */
.ef-process__steps::before {
	content: "";
	position: absolute;
	left: 19px;
	top: 20px;
	bottom: 20px;
	width: 2px;
	background: var(--border-subtle);
}
/* Filled portion (red, driven by --active / --total custom props) */
.ef-process__steps::after {
	content: "";
	position: absolute;
	left: 19px;
	top: 20px;
	width: 2px;
	height: calc((var(--active, 1) - 1) / (var(--total, 5) - 1) * (100% - 40px));
	background: var(--accent);
	transition: height 0.5s var(--ease-out);
}

.ef-process__step {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	padding: 0;
}

.ef-process__num {
	flex-shrink: 0;
	width: 40px; height: 40px;
	border-radius: var(--radius-xs);
	background: var(--ef-grey-100);
	color: var(--text-muted);
	font-family: var(--font-mono);
	font-size: var(--fs-sm);
	font-weight: var(--fw-semibold);
	display: grid; place-items: center;
	transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
	position: relative;
	z-index: 1;
}
.ef-process__step.is-active .ef-process__num {
	background: var(--accent);
	color: var(--ef-paper);
}

.ef-process__step-body { flex: 1; min-width: 0; padding-top: 4px; }
.ef-process__step-title {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: clamp(1.125rem, 1.6vw, 1.5rem);
	line-height: 1.2;
	letter-spacing: var(--ls-tight);
	color: var(--text-muted);
	margin: 0 0 6px;
	transition: color var(--dur-base) var(--ease-out);
}
.ef-process__step.is-active .ef-process__step-title { color: var(--text-strong); }

.ef-process__step-desc {
	font-size: var(--fs-sm);
	line-height: var(--lh-normal);
	color: var(--text-body);
	margin: 0;
	opacity: 0.55;
	transition: opacity var(--dur-base) var(--ease-out);
}
.ef-process__step.is-active .ef-process__step-desc { opacity: 1; }

/* Media column — fills the pinned body's right column */
.ef-process__media {
	position: relative;
	height: 100%;
}
.ef-process__media-frame {
	position: relative;
	height: 100%;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--ef-grey-100);
	box-shadow: var(--shadow-md);
}
/* Mobile-only horizontal progress bar — hidden on desktop */
.ef-process__media-bar { display: none; }
/* Slides stack in the frame. Later steps have higher z-index. Default state:
   each slide sits BELOW the frame (translateY 100%). As step advances, the
   matching slide translates UP into view, covering the slide(s) underneath
   — same cover-from-below motion as the services sticky-stack. */
.ef-process__media-slide {
	position: absolute;
	inset: 0;
	transform: translateY(100%);
	transition: transform 0.7s var(--ease-out);
	pointer-events: none;
	will-change: transform;
}
.ef-process__media-slide.is-in { transform: translateY(0); }

.ef-process__media-slide[data-step-img="1"] { z-index: 1; transform: translateY(0); } /* step 1 always visible at base */
.ef-process__media-slide[data-step-img="2"] { z-index: 2; }
.ef-process__media-slide[data-step-img="3"] { z-index: 3; }
.ef-process__media-slide[data-step-img="4"] { z-index: 4; }
.ef-process__media-slide[data-step-img="5"] { z-index: 5; }
.ef-process__media-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ef-process__media-label {
	position: absolute;
	left: 20px; bottom: 20px;
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
	background: rgba(12,14,16,0.62);
	color: var(--ef-paper);
	padding: 12px 16px;
	border-radius: var(--radius-sm);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.ef-process__media-num { color: var(--accent); font-weight: var(--fw-semibold); }
.ef-process__media-name { font-weight: var(--fw-medium); }

/* Mobile — image sticks at top, steps scroll under. NO vertical line
   (it would peek above the sticky image). Horizontal progress bar on
   the image instead. */
@media (max-width: 860px) {
	.ef-process { padding-bottom: var(--section-y); }
	.ef-process__head {
		grid-template-columns: 1fr;
		gap: 18px;
		align-items: start;
	}
	.ef-process__intro { justify-self: start; }

	.ef-process__body {
		position: static;
		height: auto;
		padding: 0 var(--container-pad);
		grid-template-columns: 1fr;
		gap: 0; /* kill the gap — it's where step content peeks under the sticky image */
	}
	.ef-process__media {
		order: -1;
		position: sticky;
		top: var(--ef-nav-h);
		z-index: 40;
		height: auto;
		/* Extend image strip vertically with section bg so it covers the
		   former-gap area too. Step content scrolls fully behind it. */
		background: var(--surface-page);
		padding-bottom: 28px;
	}
	.ef-process__media-frame {
		height: auto;
		aspect-ratio: 16 / 9;
		max-height: 38svh;
		position: relative;
		z-index: 1;
	}

	/* Horizontal progress bar — bottom of sticky image, replaces vertical line */
	.ef-process__media-bar {
		display: block;
		position: absolute;
		left: 0; right: 0; bottom: 0;
		height: 3px;
		background: rgba(247,246,243,0.18);
		z-index: 3;
	}
	.ef-process__media-bar-fill {
		display: block;
		height: 100%;
		width: calc((var(--active, 1)) / var(--total, 5) * 100%);
		background: var(--accent);
		transition: width 0.5s var(--ease-out);
	}

	/* Steps — restore individual padding (no flex-distribute), KEEP vertical line */
	.ef-process__steps { height: auto; display: block; }
	.ef-process__steps::before,
	.ef-process__steps::after {
		top: 18px;
		left: 17px;
	}
	.ef-process__steps::before { bottom: 18px; }
	.ef-process__steps::after  { height: calc((var(--active, 1) - 1) / (var(--total, 5) - 1) * (100% - 36px)); }

	.ef-process__step { padding: 22px 0; gap: 16px; }
	.ef-process__num { width: 36px; height: 36px; font-size: var(--fs-xs); }
	.ef-process__step-title { font-size: 1.25rem; }
	.ef-process__step-desc { font-size: var(--fs-sm); }
}

/* ============== CERTIFICATIONS — auto-scrolling logo marquee ============== */
.ef-certs {
	background: var(--surface-page);
	padding: var(--section-y-tight) 0;
	border-top: 1px solid var(--border-subtle);
	border-bottom: 1px solid var(--border-subtle);
	overflow: hidden;
}
.ef-certs__layout {
	display: grid;
	grid-template-columns: minmax(260px, 0.9fr) 1.6fr;
	align-items: center;
	gap: clamp(24px, 4vw, 56px);
}
.ef-certs__layout .ef-certs__marquee {
	margin-right: calc(50% - 50vw);
}
.ef-certs__head { display: block; }
.ef-certs__head .ef-eyebrow { display: inline-block; margin-bottom: 10px; }
.ef-certs__title {
	font-family: var(--font-display);
	font-size: clamp(1.625rem, 2.4vw, 2.25rem);
	font-weight: var(--fw-extra);
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-tighter);
	color: var(--text-strong);
	margin: 0;
	max-width: 18ch;
	text-wrap: balance;
}
@media (max-width: 860px) {
	.ef-certs__layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.ef-certs__layout .ef-certs__marquee {
		margin: 0 calc(50% - 50vw);
	}
}

/* Marquee: outer mask fades the edges, inner track scrolls infinitely */
.ef-certs__marquee {
	position: relative;
	width: 100%;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ef-certs__track {
	display: flex;
	width: max-content;
	animation: ef-certs-scroll 42s linear infinite;
}
.ef-certs__marquee:hover .ef-certs__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
	.ef-certs__track { animation: none; }
}
@keyframes ef-certs-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); } /* half because we render the set twice */
}

/* Individual cert — big acronym, small full-name below, vertical divider after */
.ef-cert {
	flex-shrink: 0;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 0 clamp(32px, 5vw, 72px);
	position: relative;
	color: var(--text-muted);
	transition: color var(--dur-base) var(--ease-out);
}
/* Divider line after each item (except acts as a separator) */
.ef-cert::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 28px;
	background: var(--border-strong);
}
.ef-cert:hover { color: var(--text-strong); }
.ef-cert__name {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 2vw, 1.875rem);
	font-weight: var(--fw-bold);
	letter-spacing: var(--ls-tight);
	color: var(--text-strong);
	line-height: 1;
	white-space: nowrap;
}
.ef-cert__full {
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	color: var(--text-muted);
	white-space: nowrap;
}

/* ============== WHY US — 4 cards, hover sweeps accent + micro-parallax ============== */
.ef-why {
	background: var(--surface-page);
	padding: var(--section-y) 0;
}

/* Split header — matches Process pattern */
.ef-why__head {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	column-gap: clamp(40px, 6vw, 80px);
	row-gap: 4px;
	align-items: end;
	margin-bottom: clamp(40px, 5vh, 64px);
}
.ef-why .ef-eyebrow {
	grid-column: 1 / -1;
	margin-bottom: 10px;
}
.ef-why__title-head {
	font-family: var(--font-display);
	font-weight: var(--fw-extra);
	font-size: clamp(1.875rem, 3vw, 2.75rem);
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-tighter);
	color: var(--text-strong);
	margin: 0;
	text-wrap: balance;
}
.ef-why__intro {
	font-size: var(--fs-body);
	line-height: var(--lh-relaxed);
	color: var(--text-body);
	margin: 0;
	max-width: 42ch;
	justify-self: end;
}

/* 4-card grid */
.ef-why__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

/* Card — editorial: lots of breathing room, no border, icon floats centered,
   title+desc anchor at the bottom. Sweep-fill on hover, micro-parallax inside. */
.ef-why__card {
	position: relative;
	overflow: hidden;
	background: var(--surface-card);
	border: none;
	padding: 8px;
	min-height: clamp(280px, 32vh, 360px);
	display: flex;
	flex-direction: column;
}
/* The accent fill — rises from bottom on hover */
.ef-why__card::before {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 0;
	background: var(--accent);
	transition: height 0.5s var(--ease-out);
	z-index: 0;
}
.ef-why__card:hover::before { height: 100%; }

/* Lift card contents above the fill */
.ef-why__card > * { position: relative; z-index: 1; }

/* Number — top-left, drops down on hover (counter-direction parallax) */
.ef-why__num {
	font-family: var(--font-mono);
	font-size: var(--fs-sm);
	font-weight: var(--fw-semibold);
	color: var(--text-muted);
	letter-spacing: var(--ls-wide);
	transition: color 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.ef-why__card:hover .ef-why__num {
	color: var(--ef-paper);
	transform: translateY(4px);
}

/* Icon — anchored at top (just under the number). flex space sits between icon and title+desc. */
.ef-why__icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: clamp(20px, 3vh, 36px) 0 0;
	color: var(--accent);
	transition: color 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.ef-why__card:hover .ef-why__icon {
	color: var(--ef-paper);
	transform: translateY(-8px);
}
.ef-why__icon .ef-icon {
	width: 64px;
	height: 64px;
	stroke-width: 1.4;
}

/* Title + description — anchored at bottom of card.
   Title BLOCK has min-height = 2 lines so 1-line vs 2-line titles all occupy
   the same vertical space. Title text bottom-aligns within that block, so
   single-line titles sit just above the description (consistent baseline). */
.ef-why__card-title {
	font-family: var(--font-display);
	font-weight: var(--fw-bold);
	font-size: 1.25rem;
	line-height: 1.3;
	letter-spacing: var(--ls-tight);
	color: var(--text-strong);
	margin: auto 0 12px;
	min-height: 2.6em;
	display: flex;
	align-items: flex-end;
	transition: color 0.4s var(--ease-out);
	text-wrap: balance;
}
.ef-why__card-desc {
	font-size: var(--fs-sm);
	line-height: var(--lh-normal);
	color: var(--text-body);
	margin: 0;
	min-height: 4.5em; /* 3-line lock so all desc bottom-edges align */
	transition: color 0.4s var(--ease-out);
}
.ef-why__card:hover .ef-why__card-title { color: var(--ef-paper); }
.ef-why__card:hover .ef-why__card-desc {
	color: var(--ef-paper);
	opacity: 0.92;
}

/* Responsive */
@media (max-width: 1100px) {
	.ef-why__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
	.ef-why__head { grid-template-columns: 1fr; row-gap: 6px; align-items: start; }
	.ef-why__intro { justify-self: start; }
}
@media (max-width: 560px) {
	.ef-why__grid { grid-template-columns: 1fr; gap: 12px; }
	.ef-why__card {
		min-height: 0; /* phone: no forced height — let content drive */
		padding: 24px 24px 28px;
	}
	.ef-why__icon { margin: 16px 0 24px; }
	.ef-why__card-desc { min-height: 0; } /* lift the desktop alignment lock on phone */
	.ef-why__card-title { min-height: 0; }
}

/* ============== CTA BAND ============== */
.ef-cta {
	background: var(--accent);
	color: var(--ef-paper);
}
.ef-cta__inner {
	padding-top: var(--section-y-tight);
	padding-bottom: var(--section-y-tight);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}
@media (max-width: 720px) {
	.ef-cta__inner { gap: 20px; }
	.ef-cta__actions { width: 100%; flex-direction: column; gap: 10px; }
	.ef-cta__actions .ef-btn { width: 100%; justify-content: center; }
}
.ef-cta__title {
	font-family: var(--font-display);
	font-size: var(--fs-h2);
	font-weight: var(--fw-black);
	line-height: 1.05;
	letter-spacing: var(--ls-tight);
	margin: 0;
	text-wrap: balance;
	color: var(--ef-paper);
}
.ef-cta__lede {
	font-size: var(--fs-lead);
	margin: 14px 0 0;
	color: rgba(247,246,243,0.92);
	max-width: 60ch;
}
.ef-cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.ef-btn--dark {
	background: var(--ef-ink-900);
	color: var(--ef-paper);
	border-color: var(--ef-ink-900);
}
.ef-btn--dark:hover {
	background: var(--ef-ink-800);
	color: var(--ef-paper);
	transform: translateY(-1px);
}
.ef-btn--outline-on-accent {
	background: transparent;
	color: var(--ef-paper);
	border-color: rgba(247,246,243,0.5);
}
.ef-btn--outline-on-accent:hover {
	color: var(--ef-paper);
	border-color: var(--ef-paper);
	background: rgba(247,246,243,0.06);
}

/* ============== CONTACT — heading + (info+map LEFT, form RIGHT dominant) ============== */
.ef-contact {
	background: var(--surface-page); /* match About/Process/Certs — consistent warm off-white */
	padding: var(--section-y) 0;
	overflow: hidden; /* contain any iframe / form child that wants to be wider than viewport */
}

/* Header — just eyebrow + title. Nothing else. */
.ef-contact__head {
	margin-bottom: clamp(40px, 5vh, 64px);
	max-width: 720px;
}
.ef-contact__head .ef-eyebrow {
	display: inline-block;
	margin-bottom: 10px;
}
.ef-contact__title {
	font-family: var(--font-display);
	font-weight: var(--fw-extra);
	font-size: clamp(1.875rem, 3vw, 2.75rem);
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-tighter);
	color: var(--text-strong);
	margin: 0;
	text-wrap: balance;
}

/* Two-col body: form left (dominant), info right (smaller).
   Use `order` to flip without changing DOM. Stretch heights to match. */
.ef-contact__grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: clamp(40px, 5vw, 72px);
	align-items: stretch;
	min-width: 0; /* allow shrinking inside parent */
}
.ef-contact__info     { order: 2; min-width: 0; }
.ef-contact__formwrap { order: 1; min-width: 0; }

/* Info column — flex so map can grow to fill leftover vertical space */
.ef-contact__info {
	display: flex;
	flex-direction: column;
}
.ef-contact__list {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	flex-shrink: 0;
}
.ef-contact__row {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 20px;
	align-items: baseline;
	padding: 14px 0;
	border-bottom: 1px solid var(--border-subtle);
}
.ef-contact__row:last-child { border-bottom: none; }
.ef-contact__label {
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	font-weight: var(--fw-medium);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: var(--text-muted);
}
.ef-contact__value {
	font-size: var(--fs-body);
	font-weight: var(--fw-medium);
	color: var(--text-strong);
	line-height: var(--lh-normal);
	text-decoration: none;
	overflow-wrap: anywhere; /* long email/address won't push the column */
	min-width: 0;
	transition: color var(--dur-fast) var(--ease-out);
}
a.ef-contact__value:hover { color: var(--accent); }

/* Map — fills the remaining height of the info column so left col matches form height */
.ef-contact__map {
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
	border: 1px solid var(--border-subtle);
	background: var(--ef-grey-100);
	flex: 1; /* grow to fill remaining column height */
	min-height: 280px;
}
.ef-contact__map iframe {
	width: 100%;
	max-width: 100%;
	height: 100%;
	border: 0;
	display: block;
	filter: grayscale(0.4) contrast(0.95);
}

/* ----- Quote form card ----- */
.ef-quote-card {
	background: var(--surface-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-md);
	padding: 28px 32px;
	position: relative;
	overflow: hidden;
	min-width: 0; /* allow card to shrink below children's intrinsic widths */
}
.ef-contact__formwrap { min-width: 0; } /* same — prevent grid blowout */
.ef-quote-card__stripe {
	position: absolute; top: 0; left: 0;
	height: 4px; width: 100%;
	background: var(--accent);
}
.ef-quote-card__head {
	margin-bottom: 20px;
}
.ef-quote-card__title {
	font-family: var(--font-display);
	font-size: var(--fs-h4);
	font-weight: var(--fw-extra);
	color: var(--text-strong);
	letter-spacing: var(--ls-tight);
	margin: 0;
}
.ef-quote-card__sub {
	margin: 6px 0 0;
	font-size: var(--fs-sm);
	color: var(--text-muted);
}
.ef-badge--success {
	background: rgba(31, 157, 87, 0.1);
	color: var(--ef-success);
	border-color: rgba(31, 157, 87, 0.25);
}

/* form fields — compact */
.ef-form__row { margin-bottom: 12px; }
.ef-form__row--2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.ef-field { display: block; }
.ef-field__label {
	display: block;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: var(--fw-medium);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 6px;
}
.ef-field__label em {
	color: var(--accent);
	font-style: normal;
}
.ef-input {
	width: 100%;
	max-width: 100%;
	min-width: 0; /* prevent input from stretching beyond container */
	box-sizing: border-box;
	font-family: var(--font-body);
	font-size: 16px; /* prevent iOS auto-zoom on focus */
	color: var(--text-strong);
	background: var(--surface-card);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	padding: 10px 13px;
	outline: none;
	transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.ef-field { min-width: 0; }
.ef-input:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--focus-ring);
}
.ef-input.is-invalid {
	border-color: var(--ef-red-500);
	background: var(--ef-red-50);
}
.ef-input.is-invalid:focus {
	box-shadow: 0 0 0 3px var(--focus-ring);
}
.ef-field { position: relative; }
.ef-field__error {
	display: block;
	min-height: 0;
	margin-top: 6px;
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	color: var(--ef-red-700);
	letter-spacing: 0;
	text-transform: none;
}
.ef-field__error:empty { display: none; }
.ef-textarea { resize: vertical; min-height: 80px; line-height: var(--lh-normal); }
.ef-select {
	max-width: 100%;
	text-overflow: ellipsis;
	overflow: hidden;
	appearance: none; padding-right: 40px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237c838d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
	background-repeat: no-repeat; background-position: right 15px center;
}
.ef-btn--full { width: 100%; }
.ef-honeypot {
	position: absolute;
	left: -9999px; width: 1px; height: 1px; overflow: hidden;
}
.ef-formmsg {
	padding: 12px 14px;
	border-radius: var(--radius-sm);
	margin-bottom: 18px;
	font-size: var(--fs-sm);
}
.ef-formmsg--error {
	background: var(--ef-red-50);
	color: var(--ef-red-700);
	border: 1px solid var(--ef-red-200);
}
.ef-quote-form__small {
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	color: var(--text-muted);
	text-align: center;
	margin: 16px 0 0;
	letter-spacing: 0.02em;
}

/* success state */
.ef-quote-card__success { padding: 40px 0; text-align: center; }
.ef-quote-card__success-icon {
	display: inline-grid; place-items: center;
	width: 64px; height: 64px;
	border-radius: 50%;
	background: var(--ef-red-50);
	color: var(--accent);
	margin-bottom: 18px;
}
.ef-quote-card__success h4 {
	font-family: var(--font-display);
	font-size: var(--fs-h4);
	font-weight: var(--fw-extra);
	color: var(--text-strong);
	margin: 0 0 8px;
}
.ef-quote-card__success p { color: var(--text-body); margin: 0; }

@media (max-width: 960px) {
	.ef-contact__grid { grid-template-columns: 1fr; gap: 40px; }
	.ef-contact__map { min-height: 280px; aspect-ratio: 16 / 9; flex: 0 0 auto; }
	.ef-quote-card { padding: 24px; }
}
@media (max-width: 560px) {
	.ef-form__row--2 { grid-template-columns: 1fr; }
	.ef-contact__row { grid-template-columns: 80px 1fr; gap: 12px; padding: 12px 0; }
	.ef-quote-card { padding: 18px; border-radius: var(--radius-lg); }
}

/* ============== SERVICES PAGE — detailed rows ============== */
.ef-services-detail {
	background: var(--surface-page);
	padding: var(--section-y) 0;
	border-top: 1px solid var(--border-subtle);
}
.ef-service-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 5vw, 80px);
	align-items: center;
	padding: clamp(48px, 7vh, 96px) 0;
	border-bottom: 1px solid var(--border-subtle);
}
.ef-service-row:last-child { border-bottom: 0; padding-bottom: 0; }
.ef-service-row:first-child { padding-top: 0; }
.ef-service-row--flip .ef-service-row__media { order: 2; }
.ef-service-row--flip .ef-service-row__copy  { order: 1; }
.ef-service-row__media {
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--ef-grey-100);
	box-shadow: var(--shadow-md);
}
.ef-service-row__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
.ef-service-row__placeholder {
	width: 100%; height: 100%;
	display: flex; flex-direction: column;
	align-items: center; justify-content: center;
	gap: var(--space-4);
	color: var(--ef-grey-400);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	letter-spacing: var(--ls-wide);
	text-align: center;
	padding: var(--space-7);
}
.ef-service-row__copy { max-width: 540px; }
.ef-service-row__meta {
	display: inline-flex; align-items: center; gap: 12px;
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 16px;
}
.ef-service-row__num { color: var(--accent); font-weight: var(--fw-semibold); }
.ef-service-row__sep {
	width: 24px; height: 1px;
	background: var(--border-subtle);
	display: inline-block;
}
.ef-service-row__icon {
	color: var(--accent);
	margin-bottom: 18px;
}
.ef-service-row__title {
	font-family: var(--font-display);
	font-weight: var(--fw-extra);
	font-size: clamp(1.625rem, 2.6vw, 2.25rem);
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-tighter);
	color: var(--text-strong);
	margin: 0 0 16px;
	text-wrap: balance;
}
.ef-service-row__desc {
	font-size: var(--fs-lead);
	line-height: var(--lh-relaxed);
	color: var(--text-body);
	margin: 0 0 24px;
}
.ef-service-row__list {
	list-style: none;
	padding: 0; margin: 0;
	display: flex; flex-direction: column;
	gap: 12px;
	border-top: 1px solid var(--border-subtle);
	padding-top: 20px;
}
.ef-service-row__list li {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 12px;
	align-items: start;
	font-size: var(--fs-body);
	line-height: var(--lh-snug);
	color: var(--text-body);
}
.ef-service-row__list li .ef-icon {
	color: var(--accent);
	margin-top: 2px;
}
@media (max-width: 960px) {
	.ef-service-row { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
	.ef-service-row__media { aspect-ratio: 16 / 9; order: 1 !important; }
	.ef-service-row__copy  { order: 2 !important; }
}

/* ============== SERVICES PAGE — lane table ============== */
.ef-lanes {
	background: var(--surface-page-alt, var(--ef-paper-elevated));
	padding: var(--section-y) 0;
	border-top: 1px solid var(--border-subtle);
}
.ef-lanes__head {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	column-gap: clamp(40px, 6vw, 80px);
	row-gap: 4px;
	align-items: end;
	margin-bottom: clamp(40px, 5vh, 64px);
}
.ef-lanes .ef-eyebrow {
	grid-column: 1 / -1;
	margin-bottom: 10px;
}
.ef-lanes__title {
	font-family: var(--font-display);
	font-weight: var(--fw-extra);
	font-size: clamp(1.875rem, 3vw, 2.75rem);
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-tighter);
	color: var(--text-strong);
	margin: 0;
	text-wrap: balance;
}
.ef-lanes__intro {
	font-size: var(--fs-body);
	line-height: var(--lh-relaxed);
	color: var(--text-body);
	margin: 0;
}
.ef-lanes__table {
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	background: var(--surface-card);
	overflow: hidden;
}
.ef-lanes__row {
	display: grid;
	grid-template-columns: 1.2fr 1.4fr 0.8fr 0.8fr;
	gap: clamp(16px, 2vw, 32px);
	align-items: center;
	padding: 18px clamp(20px, 2.5vw, 32px);
	border-bottom: 1px solid var(--border-subtle);
	font-size: var(--fs-body);
	color: var(--text-body);
	transition: background var(--dur-fast) var(--ease-out);
}
.ef-lanes__row:last-child { border-bottom: 0; }
.ef-lanes__row:hover { background: rgba(238,64,53,0.04); }
.ef-lanes__row--head {
	background: var(--surface-page);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: var(--text-muted);
	padding-top: 14px; padding-bottom: 14px;
}
.ef-lanes__row--head:hover { background: var(--surface-page); }
.ef-lanes__from { color: var(--text-strong); font-weight: var(--fw-semibold); }
.ef-lanes__to {
	display: inline-flex; align-items: center; gap: 10px;
	color: var(--text-strong); font-weight: var(--fw-semibold);
}
.ef-lanes__to .ef-icon { color: var(--accent); flex: 0 0 auto; }
.ef-lanes__freq, .ef-lanes__transit {
	font-family: var(--font-mono);
	font-size: var(--fs-sm);
	letter-spacing: var(--ls-wide);
	color: var(--text-muted);
}
@media (max-width: 860px) {
	.ef-lanes__head { grid-template-columns: 1fr; }
	.ef-lanes__row--head { display: none; }
	.ef-lanes__row {
		grid-template-columns: 1fr 1fr;
		row-gap: 6px;
		padding: 18px 18px;
	}
	.ef-lanes__from { grid-column: 1 / -1; }
	.ef-lanes__to   { grid-column: 1 / -1; padding-bottom: 6px; border-bottom: 1px dashed var(--border-subtle); }
	.ef-lanes__freq::before    { content: "Frequency · "; color: var(--text-muted); }
	.ef-lanes__transit::before { content: "Transit · ";   color: var(--text-muted); }
}

/* ============== CONTACT PAGE — channel cards ============== */
.ef-channels {
	background: var(--surface-page);
	padding: var(--section-y) 0;
	border-top: 1px solid var(--border-subtle);
}
.ef-channels__head {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	column-gap: clamp(40px, 6vw, 80px);
	row-gap: 4px;
	align-items: end;
	margin-bottom: clamp(40px, 5vh, 64px);
}
.ef-channels .ef-eyebrow {
	grid-column: 1 / -1;
	margin-bottom: 10px;
}
.ef-channels__title {
	font-family: var(--font-display);
	font-weight: var(--fw-extra);
	font-size: clamp(1.875rem, 3vw, 2.75rem);
	line-height: 1.12;
	letter-spacing: var(--ls-tighter);
	color: var(--text-strong);
	margin: 0;
	text-wrap: balance;
}
.ef-channels__intro {
	font-size: var(--fs-body);
	line-height: var(--lh-relaxed);
	color: var(--text-body);
	margin: 0;
}
.ef-channels__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2vw, 24px);
}
.ef-channel {
	position: relative;
	background: var(--surface-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	padding: clamp(24px, 3vw, 36px);
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.ef-channel:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}
.ef-channel__top {
	display: inline-flex; align-items: center; gap: 12px;
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: var(--text-muted);
}
.ef-channel__num { color: var(--accent); font-weight: var(--fw-semibold); }
.ef-channel__icon { color: var(--accent); }
.ef-channel__title {
	font-family: var(--font-display);
	font-size: clamp(1.125rem, 1.6vw, 1.375rem);
	font-weight: var(--fw-semibold);
	line-height: 1.25;
	letter-spacing: var(--ls-tight);
	color: var(--text-strong);
	margin: 0;
}
.ef-channel__desc {
	font-size: var(--fs-body);
	line-height: var(--lh-relaxed);
	color: var(--text-body);
	margin: 0 0 4px;
}
.ef-channel__lines {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--border-subtle);
	display: flex; flex-direction: column;
	gap: 10px;
}
.ef-channel__line {
	display: inline-flex; align-items: center; gap: 10px;
	color: var(--text-strong);
	font-size: var(--fs-sm);
	font-weight: var(--fw-medium);
	text-decoration: none;
	transition: color var(--dur-fast) var(--ease-out);
	overflow-wrap: anywhere;
}
.ef-channel__line .ef-icon { color: var(--text-muted); flex: 0 0 auto; }
.ef-channel__line:hover { color: var(--accent); }
.ef-channel__line:hover .ef-icon { color: var(--accent); }
@media (max-width: 960px) {
	.ef-channels__head { grid-template-columns: 1fr; }
	.ef-channels__grid { grid-template-columns: 1fr; }
}

/* ============== FLEET — equipment types (3 cards, dark band) ============== */
.ef-fleet {
	background: var(--ef-ink-900);
	color: var(--ef-paper);
	padding: var(--section-y) 0;
	border-top: 1px solid var(--ef-ink-600);
	border-bottom: 1px solid var(--ef-ink-600);
	position: relative;
	overflow: hidden;
}
.ef-fleet::before {
	content: "";
	position: absolute; inset: 0;
	background: radial-gradient(60% 70% at 85% 0%, rgba(238,64,53,0.10), transparent 60%);
	pointer-events: none;
}
.ef-fleet__head {
	position: relative;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	column-gap: clamp(40px, 6vw, 80px);
	row-gap: 4px;
	align-items: end;
	margin-bottom: clamp(40px, 5vh, 64px);
}
.ef-fleet .ef-eyebrow {
	grid-column: 1 / -1;
	margin-bottom: 10px;
	color: var(--accent);
}
.ef-fleet__title {
	font-family: var(--font-display);
	font-weight: var(--fw-extra);
	font-size: clamp(1.875rem, 3vw, 2.75rem);
	line-height: 1.12;
	letter-spacing: var(--ls-tighter);
	color: var(--ef-paper);
	margin: 0;
	text-wrap: balance;
}
.ef-fleet__intro {
	font-size: var(--fs-body);
	line-height: var(--lh-relaxed);
	color: var(--text-on-dark-muted);
	margin: 0;
}
.ef-fleet__grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2vw, 24px);
}
.ef-fleet-card {
	background: rgba(255,255,255,0.02);
	border: 1px solid var(--ef-ink-600);
	border-radius: var(--radius-lg);
	padding: clamp(20px, 2.4vw, 28px);
	display: flex;
	flex-direction: column;
	transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.ef-fleet-card:hover {
	border-color: var(--accent);
	background: rgba(238,64,53,0.04);
	transform: translateY(-2px);
}
.ef-fleet-card__media {
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-md);
	background: rgba(0,0,0,0.25);
	display: grid;
	place-items: center;
	margin-bottom: 20px;
}
.ef-fleet-card__media img {
	width: 100%; height: 100%;
	object-fit: contain;
	display: block;
	padding: 12px;
}
.ef-fleet-card__placeholder {
	display: flex; flex-direction: column;
	align-items: center; justify-content: center;
	gap: 12px;
	color: var(--ef-grey-400);
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	letter-spacing: var(--ls-wide);
	text-align: center;
	padding: 20px;
}
.ef-fleet-card__num {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: var(--fs-xs);
	letter-spacing: var(--ls-eyebrow);
	color: var(--accent);
	font-weight: var(--fw-semibold);
	margin-bottom: 8px;
}
.ef-fleet-card__name {
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 1.8vw, 1.5rem);
	font-weight: var(--fw-semibold);
	line-height: 1.2;
	letter-spacing: var(--ls-tight);
	color: var(--ef-paper);
	margin: 0 0 10px;
}
.ef-fleet-card__desc {
	font-size: var(--fs-body);
	line-height: var(--lh-relaxed);
	color: var(--text-on-dark-muted);
	margin: 0;
}
@media (max-width: 960px) {
	.ef-fleet__head { grid-template-columns: 1fr; }
	.ef-fleet__grid { grid-template-columns: 1fr; gap: 16px; }
	.ef-fleet-card__media { aspect-ratio: 21 / 9; }
}

/* ============== LEGAL (privacy / terms) — editorial single column ============== */
.ef-legal {
	background: var(--surface-page);
	padding: var(--section-y) 0;
	border-top: 1px solid var(--border-subtle);
}
.ef-legal__content {
	max-width: 720px;
	font-size: var(--fs-body);
	line-height: var(--lh-relaxed);
	color: var(--text-body);
}
.ef-legal__content h2 {
	font-family: var(--font-display);
	font-weight: var(--fw-extra);
	font-size: clamp(1.25rem, 1.8vw, 1.5rem);
	line-height: 1.25;
	letter-spacing: var(--ls-tight);
	color: var(--text-strong);
	margin: 40px 0 12px;
	text-wrap: balance;
}
.ef-legal__content h2:first-child { margin-top: 0; }
.ef-legal__content h3 {
	font-family: var(--font-display);
	font-weight: var(--fw-semibold);
	font-size: 1.125rem;
	color: var(--text-strong);
	margin: 24px 0 8px;
}
.ef-legal__content p { margin: 0 0 16px; }
.ef-legal__content ul, .ef-legal__content ol { padding-left: 22px; margin: 0 0 16px; }
.ef-legal__content li { margin-bottom: 6px; }
.ef-legal__content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.ef-legal__content a:hover { color: var(--ef-red-700); }
.ef-legal__content strong { color: var(--text-strong); font-weight: var(--fw-semibold); }

/* ============== CONTACT PAGE — dedicated map section ============== */
.ef-mapblock {
	background: var(--surface-page);
	padding: var(--section-y) 0;
	border-top: 1px solid var(--border-subtle);
}
.ef-mapblock__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: clamp(20px, 3vw, 40px);
	margin-bottom: clamp(28px, 4vh, 40px);
}
.ef-mapblock__head .ef-eyebrow { display: inline-block; margin-bottom: 10px; }
.ef-mapblock__title {
	font-family: var(--font-display);
	font-weight: var(--fw-extra);
	font-size: clamp(1.625rem, 2.4vw, 2.25rem);
	line-height: 1.15;
	letter-spacing: var(--ls-tighter);
	color: var(--text-strong);
	margin: 0 0 8px;
	text-wrap: balance;
}
.ef-mapblock__addr {
	font-family: var(--font-mono);
	font-size: var(--fs-sm);
	letter-spacing: var(--ls-wide);
	color: var(--text-muted);
	margin: 0;
}
.ef-mapblock__cta { flex: 0 0 auto; }
.ef-mapblock__frame {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--border-subtle);
	background: var(--ef-grey-100);
	aspect-ratio: 21 / 9;
	max-height: clamp(360px, 55vh, 520px);
}
.ef-mapblock__frame iframe {
	width: 100%; height: 100%;
	border: 0;
	display: block;
	filter: grayscale(0.4) contrast(0.95);
}
@media (max-width: 720px) {
	.ef-mapblock__head { flex-direction: column; align-items: start; gap: 16px; }
	.ef-mapblock__frame { aspect-ratio: 4 / 3; }
}
