/* [ef_home] – vertical homepage prototype. Dark, like Work; Jost headings, Inter text. */
.ef-h { --ink: #fff; --muted: #a8aaad; --line: rgba(255, 255, 255, .16); background: #000; color: var(--ink); width: 100vw; margin-left: calc(50% - 50vw); font: 400 17px/1.6 Inter, sans-serif; }
.ef-h section { padding: 110px max(24px, calc((100vw - 1500px) / 2 + 24px)); }
.ef-h h1, .ef-h h2, .ef-h h3 { color: #fff; margin: 0; letter-spacing: 0; }
.ef-h h2 { font: 600 clamp(30px, 3.4vw, 48px)/1.1 Jost, sans-serif; }
.ef-h h3 { font: 600 19px/1.3 Jost, sans-serif; letter-spacing: .02em; }
.ef-h p { margin: 0; }
.ef-h a { color: inherit; }
.ef-h-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 44px; }
.ef-h-head a, .ef-h-link { font: 600 14px/1 Jost, sans-serif; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.ef-h-head a:hover, .ef-h-link:hover { color: #fff; }

/* hero */
.ef-h .ef-h-hero { position: relative; min-height: calc(100vh - 138px); min-height: calc(100svh - 138px); /* 50 px brand bar + 88 px header */ display: flex; align-items: flex-end; padding-top: 0; padding-bottom: 72px; overflow: hidden; }
.ef-h-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ef-h-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.1) 100%); }
.ef-h-hero-text { position: relative; z-index: 1; max-width: 900px; }
.ef-h-eyebrow { font: 500 13px/1.4 Jost, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #cfcfcf; } /* 25 Oct: was bottom right */
.ef-h-hero h1 { margin-top: 14px; font: 600 42px/1.05 Jost, sans-serif; letter-spacing: .01em; color: #fff; } /* <br> after "SERVICE"; wraps naturally only where a row does not fit */
.ef-h-hero .hero-sub { display: block; margin-top: 12px; font: 400 20px/1.3 Jost, sans-serif; letter-spacing: 0; text-transform: none; color: #e2e2e2; }
.ef-h-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px !important; }
.ef-h-btn { display: inline-flex; align-items: center; box-sizing: border-box; height: 46px; padding: 0 28px; background: #fff; border: 1.5px solid transparent; color: #111 !important; text-decoration: none; font: 600 13px/1 Jost, sans-serif; letter-spacing: .2em; text-transform: uppercase; transition: background .2s, color .2s; }
.ef-h-btn:hover { background: #d9d9d9; }
.ef-h-btn.is-ghost { background: transparent; border-color: #fff; color: #fff !important; }
.ef-h-btn.is-ghost:hover { background: #fff; color: #111 !important; }

/* what we do */
.ef-h-kicker { font: 600 13px/1 Jost, sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px !important; }
.ef-h-statement { max-width: 1100px; font: 400 clamp(22px, 2.3vw, 34px)/1.4 Inter, sans-serif; color: #f2f2f2; }
.ef-h-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; list-style: none; margin: 70px 0 0; padding: 40px 0 0; border-top: 1px solid var(--line); }
.ef-h-facts li { margin: 0; padding: 0; }
.ef-h-facts li::before { display: none; }
.ef-h-facts strong { display: block; font: 600 clamp(44px, 4.4vw, 64px)/1 Jost, sans-serif; color: #fff; }
.ef-h-facts span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* selected work: two big columns */
.ef-h-work { border-top: 1px solid var(--line); }
.ef-w-home { max-width: none; padding: 0; margin: 0; }
/* "One shoot, several countries" in Where we shoot, under the countries (1 Nov 2026) */
.ef-h-multi { margin: 36px 0 0; }
.ef-h-multi h3 { font-size: 22px; }
.ef-h .ef-h-multi p { margin-top: 12px !important; color: #d6d6d6; }
.ef-h-multi ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.ef-h-multi li { margin: 0; padding: 0; color: var(--muted); }
.ef-h-multi li::before { display: none; } /* the dash now follows the name (ef_home_multi) */
.ef-h-multi strong { color: #fff; font-weight: 600; }
/* project names link to the project page */
.ef-h-multi a.ef-h-proj { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.ef-h-multi a.ef-h-proj:hover, .ef-h-multi a.ef-h-proj:focus-visible { text-decoration-color: #fff; }
.ef-w-home .ef-w-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 28px; }

/* Entity Content preview: text left, three tall (9:16) tiles right; phones = a sideways row */
.ef-h .ef-h-ec { display: grid; grid-template-columns: 4fr 8fr; gap: 60px; align-items: center; border-top: 1px solid var(--line); }
.ef-h-ec-text p { margin-top: 20px !important; color: #d6d6d6; }
.ef-h-ec-text p:last-child { margin-top: 30px !important; }
.ef-h-ec-works { max-width: none; min-width: 0; padding: 0; margin: 0; }
.ef-h-ec-works .ef-w-grid { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 20px; max-width: calc((100% + 20px) * var(--n, 3) / 3 - 20px); margin-left: auto; }
.ef-h-ec-works .ef-w-media { aspect-ratio: 9 / 16; }
.ef-h-ec-works .ef-w-title { font-size: 18px; }
.ef-h-ec-works .ef-w-credits { font-size: 14px; }

/* services */
.ef-h-services { border-top: 1px solid var(--line); }
.ef-h-svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 30px; list-style: none; margin: 0; padding: 0; }
.ef-h-svc li { margin: 0; padding: 26px 0 0; border-top: 2px solid #fff; }
.ef-h-svc li::before { display: none; }
.ef-h-svc p { margin-top: 12px !important; color: var(--muted); font-size: 15px; }

/* where we shoot */
.ef-h .ef-h-where { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: center; border-top: 1px solid var(--line); }
.ef-h-where-text p { margin-top: 20px !important; color: #d6d6d6; }
.ef-h-countries { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 26px 0 0; padding: 0; }
.ef-h-countries li { margin: 0; font: 600 13px/1 Jost, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.ef-h-countries a { display: block; padding: 8px 14px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, background-color .2s, color .2s; }
.ef-h-countries a:hover, .ef-h-countries a:focus-visible { border-color: #fff; background: #fff; color: #000; }
.ef-h-countries li::before { display: none; }
.ef-h-map { width: 100%; height: auto; display: block; }

/* clients (placeholder until logos arrive) */
.ef-h-clients { border-top: 1px solid var(--line); }
.ef-h-placeholder { padding: 46px; border: 1px dashed var(--line); text-align: center; color: var(--muted); }
.ef-h-marquee { overflow: hidden; margin: 0 calc(-1 * max(24px, calc((100vw - 1500px) / 2 + 24px))); -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
.ef-h-track { display: flex; width: max-content; animation: ef-marquee var(--ef-marquee, 80s) linear infinite; }
.ef-h-marquee:hover .ef-h-track { animation-play-state: paused; }
@keyframes ef-marquee { to { transform: translateX(-50%); } }
.ef-h-logos { display: flex; flex: none; align-items: center; gap: 72px; list-style: none; margin: 0; padding: 0 72px 0 0; }
.ef-h-logos li { margin: 0; padding: 0; flex: none; }
.ef-h-logos li::before { display: none; }
.ef-h-logos img { display: block; height: 40px; width: auto; max-width: 190px; object-fit: contain; opacity: .78; transition: opacity .2s; }
.ef-h-logos img:hover { opacity: 1; }
@media (max-width: 900px) { .ef-h-logos { gap: 44px; padding-right: 44px; } .ef-h-logos img { height: 30px; max-width: 140px; } }
@media (prefers-reduced-motion: reduce) {
	.ef-h-marquee { margin: 0; -webkit-mask-image: none; mask-image: none; }
	.ef-h-track { animation: none; width: auto; }
	.ef-h-logos { flex-wrap: wrap; gap: 36px 64px; padding: 0; }
	.ef-h-logos[aria-hidden] { display: none; }
}

/* contact */
.ef-h-contact { border-top: 1px solid var(--line); }
.ef-h-offices { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 40px; }
.ef-h-offices p { margin-top: 14px !important; color: #d6d6d6; }
.ef-h-offices a { text-decoration: none; }
.ef-h-offices a:hover { text-decoration: underline; }

@media (max-width: 900px) {
	.ef-h section { padding-top: 76px; padding-bottom: 76px; }
	.ef-h .ef-h-hero { min-height: calc(100svh - 136px); } /* 50 + 86 */
	.ef-h .ef-h-where { grid-template-columns: 1fr; gap: 36px; }
	.ef-h .ef-h-ec { grid-template-columns: minmax(0, 1fr); gap: 36px; } /* minmax: the sideways row must not widen the page */
	.ef-h-ec-works .ef-w-grid { max-width: none; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 24px; gap: 14px; margin: 0 -24px; padding: 0 24px; scrollbar-width: none; }
	.ef-h-ec-works .ef-w-grid::-webkit-scrollbar { display: none; }
	.ef-h-ec-works .ef-w-card { flex: 0 0 min(62vw, 300px); scroll-snap-align: start; }
	.ef-h-facts { grid-template-columns: 1fr; gap: 26px; margin-top: 50px; }
	.ef-w-home .ef-w-grid { grid-template-columns: 1fr; }
	.ef-h-offices { grid-template-columns: 1fr; }
	.ef-h-head { margin-bottom: 30px; }
}
@media (max-width: 767px) {
	.ef-h .ef-h-hero { padding: 0 24px 48px; }
	.ef-h-eyebrow { font-size: 11px; }
	.ef-h-hero h1 { font-size: 30px; }
	.ef-h-hero .hero-sub { font-size: 16px; }
	.ef-h-btn { height: 44px; font-size: 12px; }
}
@media (max-width: 639px) { .ef-h .ef-h-hero { min-height: calc(100svh - 132px); } } /* phones: 46 px brand bar + 86 px header */
@media (prefers-reduced-motion: reduce) { .ef-h-hero-video { display: none; } .ef-h .ef-h-hero { background: #000 var(--ef-hero-poster, none) center / cover no-repeat; } } /* still poster instead of the reel (iPhone "Reduce Motion"); without the image it was a black screen */
