/* Project page template, layout 1A (brief "Project page 1A", 3 Nov 2026): dark, Jost (the site already loads 300–700). */
.ef-p { --bg: #0b0b0b; --ink: #f2f1ed; --muted: #8a8a86; --line: #2a2a2a; --side: 80px; background: var(--bg); color: var(--ink); width: 100vw; margin-left: calc(50% - 50vw); font: 400 16px/1.6 Jost, sans-serif; }
.ef-p h1, .ef-p h2 { color: inherit; margin: 0; }
.ef-p p { margin: 0; }
.ef-p a { color: inherit; }
.ef-p dl, .ef-p dd { margin: 0; }

/* hero: still, H1, Production · Director */
.ef-p-hero { position: relative; height: clamp(420px, 50vw, 80vh); display: flex; align-items: flex-end; justify-content: center; padding: 0 var(--side) 56px; overflow: hidden; }
.ef-p-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.ef-p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .2) 55%, #0b0b0b); }
.ef-p-hero-text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; text-align: center; }
.ef-p h1 { font: 700 clamp(48px, 9.2vw, 110px)/1 Jost, sans-serif; letter-spacing: -.01em; color: #fff; text-wrap: balance; overflow-wrap: anywhere; }
.ef-p-sub { font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }

/* content column */
.ef-p-body { max-width: 1200px; margin: 0 auto; padding: 0 var(--side) 88px; display: flex; flex-direction: column; gap: 56px; }

/* video: poster + play, iframe on click (assets/project.js) */
.ef-p-video { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.ef-p-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.ef-p-play { all: unset; position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; box-sizing: border-box; border: 1.5px solid #fff; border-radius: 50%; background: rgba(0, 0, 0, .25); cursor: pointer; transition: background-color .2s, transform .2s; }
.ef-p-play::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -11px 0 0 -6px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.ef-p-play:hover { background: rgba(0, 0, 0, .45); transform: scale(1.04); }
.ef-p-play:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.ef-p-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* intro */
.ef-p-intro { max-width: 720px; margin: 0 auto; text-align: center; font-size: 18px; font-weight: 300; line-height: 1.65; color: rgba(242, 241, 237, .85); text-wrap: pretty; }
.ef-p-intro p + p { margin-top: 1em !important; }

/* credits */
.ef-p-credits-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.ef-p-credits h2 { font: 600 13px/1.2 Jost, sans-serif; letter-spacing: .28em; text-transform: uppercase; }
.ef-p-loc { font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.ef-p-loc a { color: var(--ink); text-decoration: none; border-bottom: 1px solid #5a5a56; padding-bottom: 3px; transition: color .2s; }
.ef-p-loc a:hover { color: var(--muted); }
.ef-p-key { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 24px; margin-top: 56px !important; }
.ef-p-key dt { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.ef-p-key dd { margin-top: 8px; font-size: 18px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.ef-p-crew { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.ef-p-crew dl { display: grid; gap: 14px; align-content: start; }
.ef-p-crew div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; font-size: 14px; font-weight: 300; line-height: 1.4; }
.ef-p-crew dt { color: var(--muted); }
.ef-p-crew dd { color: var(--ink); overflow-wrap: anywhere; }

/* behind the scenes + previous / next: unchanged, only the colours of the dark page */
.ef-p-stills { max-width: 1200px; margin: 0 auto; padding: 0 var(--side) 80px; }
.ef-p-stills h2 { font: 600 13px/1 Jost, sans-serif; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.ef-p-stills ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.ef-p-stills li { margin: 0; padding: 0; }
.ef-p-stills li::before { display: none; }
.ef-p-stills a { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #111; }
.ef-p-stills img { width: 100%; height: 100%; object-fit: cover; max-width: none; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.ef-p-stills a:hover img { transform: scale(1.03); }
.ef-p-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; max-width: 1200px; margin: 0 auto; padding: 40px var(--side) 70px; border-top: 1px solid var(--line); }
.ef-p-nav a { text-decoration: none; font: 600 20px/1.2 Jost, sans-serif; color: var(--ink); }
.ef-p-nav a span { display: block; margin-bottom: 6px; font: 600 11px/1 Jost, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ef-p-next { text-align: right; }
.ef-p-all { font-size: 13px !important; letter-spacing: .2em; text-transform: uppercase; color: var(--muted) !important; }
.ef-p-nav a:hover { color: #fff !important; }

@media (max-width: 1199px) {
	.ef-p { --side: 48px; }
	.ef-p-key { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
}
@media (max-width: 767px) {
	.ef-p { --side: 24px; }
	.ef-p-hero { padding-bottom: 32px; }
	.ef-p-body { gap: 40px; }
	.ef-p-intro { font-size: 16px; }
	.ef-p-credits-head { flex-direction: column; align-items: flex-start; }
	.ef-p-key { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px !important; }
	.ef-p-crew { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
	.ef-p-stills ul { grid-template-columns: 1fr; }
	.ef-p-nav { grid-template-columns: 1fr 1fr; }
	.ef-p-all { grid-column: 1 / -1; grid-row: 2; text-align: center; }
	.ef-p-nav a { font-size: 17px; }
}
@media (max-width: 400px) {
	.ef-p-crew div { grid-template-columns: 110px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.ef-p-play, .ef-p-stills img { transition: none; }
}
