/* ==========================================================================
   Capgras Pictures — main stylesheet
   1  Tokens & base            9  Sections & type
   2  FX layers               10  Media
   3  Header bar              11  Marquee & ribbon
   4  Menu                    12  About / Films / Soon / Founders
   5  Gate                    13  Vision atlas
   6  Film (scroll sequence)  14  Contact & form
   7  Cues & HUD              15  Next chapter & footer
   8  Rail                    16  Entry, journal, 404, teaser
                              17  Text effects · 18 States · 19 Responsive
   ========================================================================== */

/* 1 — Tokens & base ------------------------------------------------------- */
:root {
	--bg: #070606;
	--bg-2: #0d0b0a;
	--ink: #ece5d8;
	--ink-2: rgba(236, 229, 216, .68);
	--ink-3: rgba(236, 229, 216, .4);
	--ink-4: rgba(236, 229, 216, .16);
	--line: rgba(236, 229, 216, .12);
	--line-2: rgba(236, 229, 216, .26);
	--ember: #f0923f;
	--ember-2: #ffb86f;
	--blood: #c0161f;
	--cold: #8fb3cc;

	--serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
	--sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--mono: 'Courier Prime', 'Courier New', Courier, monospace;

	--pad: clamp(20px, 5.2vw, 96px);
	--gap: clamp(20px, 3vw, 52px);
	--max: 1720px;
	--bar-h: 78px;

	--d-xxl: clamp(3.2rem, 10.5vw, 13.5rem);
	--d-xl: clamp(2.8rem, 7.8vw, 9.6rem);
	--d-lg: clamp(2.3rem, 5.6vw, 6.8rem);
	--d-md: clamp(1.9rem, 3.9vw, 4.4rem);
	--lead: clamp(1.28rem, 1.95vw, 1.95rem);
	--body: clamp(1rem, 1.02vw, 1.1rem);
	--micro: clamp(.66rem, .72vw, .76rem);

	--ease: cubic-bezier(.16, .8, .14, 1);
	--ease-io: cubic-bezier(.76, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
	background: var(--bg);
	color: var(--ink);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
	margin: 0;
	background: transparent;
	font: 300 var(--body)/1.72 var(--sans);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body.is-gated, body.is-locked { overflow: hidden; }

::selection { background: var(--ember); color: #140b05; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; }
blockquote { margin: 0; }
:focus-visible { outline: 1px solid var(--ember); outline-offset: 4px; }

.sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}
.skip {
	position: fixed; left: 16px; top: -60px; z-index: 200;
	padding: 12px 18px; background: var(--ink); color: var(--bg);
	font: 400 var(--micro) var(--mono); letter-spacing: .2em; text-transform: uppercase;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* 2 — FX layers ------------------------------------------------------------ */
.gl { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; pointer-events: none; }
.gl--back { z-index: -1; }
.gl--front { z-index: 100; }

.cover {
	position: fixed; inset: 0; z-index: 110;
	background: #030202;
	opacity: 0; pointer-events: none;
	transition: opacity .9s var(--ease);
}
.js .cover { opacity: 1; animation: cg-failsafe 0s 7s forwards; }
.js .cover.is-js { animation: none; }
.js .cover.is-off { opacity: 0; }
@keyframes cg-failsafe { to { opacity: 0; visibility: hidden; } }

.fx-grain {
	position: fixed; left: -50%; top: -50%; width: 200%; height: 200%;
	z-index: 105; pointer-events: none;
	background: url(../img/grain.png) repeat;
	background-size: 220px;
	opacity: .075;
	animation: cg-grain .9s steps(6) infinite;
}
.cg-grain-heavy .fx-grain { opacity: .13; }
.cg-grain-off .fx-grain { display: none; }
@keyframes cg-grain {
	0% { transform: translate3d(0, 0, 0); }
	17% { transform: translate3d(-7%, 4%, 0); }
	33% { transform: translate3d(5%, -6%, 0); }
	50% { transform: translate3d(-3%, 8%, 0); }
	67% { transform: translate3d(8%, 2%, 0); }
	83% { transform: translate3d(-6%, -3%, 0); }
	100% { transform: translate3d(0, 0, 0); }
}

.fx-vignette {
	position: fixed; inset: 0; z-index: 55; pointer-events: none;
	background: radial-gradient(ellipse 120% 100% at 50% 50%, transparent 55%, rgba(0, 0, 0, .5) 100%);
}

/* Custom cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 130; pointer-events: none; opacity: 0; transition: opacity .4s; mix-blend-mode: difference; }
.has-cursor .cursor.is-active { opacity: 1; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; will-change: transform; }
.cursor__dot::before { content: ''; position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); }
.cursor__ring::before {
	content: ''; position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .55);
	transition: transform .55s var(--ease), border-color .3s, background-color .3s;
}
.cursor.is-hover .cursor__ring::before { transform: scale(1.8); border-color: #fff; }
.cursor.has-label .cursor__ring::before { transform: scale(2.7); background: rgba(255, 255, 255, .08); border-color: #fff; }
.cursor.is-down .cursor__ring::before { transform: scale(.7); }
.cursor.is-text .cursor__ring::before { transform: scale(.3); }
.cursor.is-text .cursor__dot::before { transform: scale(.5, 3.4); }
.cursor.is-light .cursor__ring::before { transform: scale(4.4); border-color: rgba(255, 210, 160, .35); }
.cursor__label {
	position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
	font: 400 9px/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: #fff;
	white-space: nowrap; opacity: 0; transition: opacity .3s;
}
.cursor.has-label .cursor__label { opacity: 1; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor [data-cursor] { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: text; }

/* 3 — Header bar ------------------------------------------------------------ */
.bar {
	position: fixed; left: 0; right: 0; top: 0; z-index: 85;
	height: var(--bar-h);
	display: flex; align-items: center; justify-content: space-between;
	padding: 0 var(--pad);
	color: #fff; mix-blend-mode: difference;
	pointer-events: none;
	transition: transform .7s var(--ease), opacity .6s;
}
.bar > * { pointer-events: auto; }
.bar.is-hidden { transform: translateY(-110%); }
body.is-gated .bar, body.is-gated .rail { opacity: 0; pointer-events: none; }
.admin-bar .bar { top: 32px; }
@media (max-width: 782px) { .admin-bar .bar { top: 46px; } }

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__emblem { width: 34px; height: 34px; }
.brand__logo { width: auto; height: 34px; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__main { font: 500 15px/1 var(--serif); letter-spacing: .36em; }
.brand__sub { font: 400 8.5px/1 var(--mono); letter-spacing: .56em; margin-top: 6px; opacity: .7; }

.bar__tools { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }

.sound { display: inline-flex; align-items: center; gap: 10px; font: 400 10px/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; }
.sound__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.sound__bars i { width: 2px; height: 3px; background: currentColor; transition: height .3s; }
.sound[aria-pressed="true"] .sound__bars i { animation: cg-eq 1.1s ease-in-out infinite; }
.sound__bars i:nth-child(2) { animation-delay: -.3s !important; }
.sound__bars i:nth-child(3) { animation-delay: -.7s !important; }
.sound__bars i:nth-child(4) { animation-delay: -.15s !important; }
.sound__bars i:nth-child(5) { animation-delay: -.5s !important; }
@keyframes cg-eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }
.sound__label { opacity: .8; }

.menu-btn { display: inline-flex; align-items: center; gap: 14px; font: 400 11px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; }
.menu-btn__label { position: relative; display: inline-grid; }
.menu-btn__open, .menu-btn__close { grid-area: 1 / 1; transition: opacity .3s, transform .5s var(--ease); }
.menu-btn__close { opacity: 0; transform: translateY(8px); }
.is-menu-open .menu-btn__open { opacity: 0; transform: translateY(-8px); }
.is-menu-open .menu-btn__close { opacity: 1; transform: none; }
.menu-btn__icon { position: relative; width: 26px; height: 10px; }
.menu-btn__icon i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .6s var(--ease), top .6s var(--ease); }
.menu-btn__icon i:first-child { top: 1px; }
.menu-btn__icon i:last-child { top: 8px; right: 7px; }
.menu-btn:hover .menu-btn__icon i:last-child { right: 0; }
.is-menu-open .menu-btn__icon i:first-child { top: 5px; transform: rotate(22deg); }
.is-menu-open .menu-btn__icon i:last-child { top: 5px; right: 0; transform: rotate(-22deg); }

/* 4 — Menu ------------------------------------------------------------------- */
.menu {
	position: fixed; inset: 0; z-index: 80;
	background: rgba(5, 4, 4, .97);
	opacity: 0; visibility: hidden;
	transition: opacity .7s var(--ease), visibility 0s .7s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .7s var(--ease); }
.menu__media { position: absolute; inset: 0; overflow: hidden; }
.menu__img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	opacity: 0; transform: scale(1.14);
	filter: blur(14px) saturate(.6) brightness(.45);
	transition: opacity 1s var(--ease), transform 1.8s var(--ease), filter 1s var(--ease);
}
.menu__img.is-on { opacity: .62; transform: scale(1.02); filter: blur(0) saturate(.9) brightness(.45); }
.menu__fog { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 60%, transparent 20%, rgba(5, 4, 4, .85) 80%); }
.menu__inner {
	position: relative; min-height: 100%;
	display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
	padding: calc(var(--bar-h) + 7vh) var(--pad) 34px;
	overflow-y: auto; height: 100%;
}
.menu__eyebrow { font: 400 var(--micro) var(--mono); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); }
.menu__eyebrow .kicker__n { color: var(--blood); }
.menu__list { list-style: none; margin: 3vh 0 0; padding: 0; }
.menu__item { overflow: hidden; }
.menu__link {
	display: inline-flex; align-items: flex-start; gap: clamp(14px, 2vw, 34px);
	padding: .04em 0;
	font: 300 clamp(2.5rem, 7.2vw, 7.4rem)/1.02 var(--serif);
	text-transform: uppercase; letter-spacing: .01em;
	color: var(--ink-3);
	transition: color .5s var(--ease), transform .7s var(--ease);
}
.menu__link:hover, .menu__link:focus-visible, .menu__link.is-current { color: var(--ink); }
.menu__link:hover { transform: translateX(1.2vw); }
.menu__list:hover .menu__link:not(:hover) { color: var(--ink-4); }
.menu__n { font: 400 var(--micro)/1 var(--mono); letter-spacing: .2em; color: var(--ember); margin-top: 1.4em; }
.menu.is-open .menu__item .menu__link { animation: cg-rise 1.1s var(--ease) both; animation-delay: calc(.12s + var(--i) * .07s); }
@keyframes cg-rise { from { opacity: 0; transform: translateY(70%); filter: blur(10px); } }
.menu__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; }
.menu__col { display: grid; gap: 12px; }
.menu__col--end { justify-items: end; text-align: right; }
.menu__mail { display: grid; gap: 4px; font: 300 1.15rem/1.2 var(--serif); }
.menu__mail a:hover, .menu__home:hover { color: var(--ember-2); }
.socials { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; margin: 0; padding: 0; font: 400 var(--micro) var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.socials a:hover { color: var(--ember-2); }

/* 5 — Gate -------------------------------------------------------------------- */
.gate {
	position: fixed; inset: 0; z-index: 90;
	display: none; align-items: center; justify-content: center;
	background: #030202; text-align: center;
	transition: opacity 1.2s var(--ease);
}
.js .gate { display: flex; }
.js.cg-entered .gate { display: none; }
.js:not(.cg-ready) .gate { animation: cg-failsafe 0s 9s forwards; }
.gate.is-gl { background: transparent; }
.gate.is-leaving { opacity: 0; pointer-events: none; }
.gate__inner { position: relative; display: grid; justify-items: center; padding: 0 var(--pad); }
.gate__mark { position: relative; width: clamp(104px, 15vmin, 172px); aspect-ratio: 1; margin-bottom: 5vh; color: var(--ink); }
.gate__mark::before {
	content: ''; position: absolute; left: 50%; top: 52%; width: 280%; aspect-ratio: 1;
	transform: translate(-50%, -50%) scale(.6);
	background: radial-gradient(circle, rgba(255, 170, 90, .22), rgba(240, 120, 50, .06) 35%, transparent 62%);
	opacity: 0; pointer-events: none;
	transition: opacity 2s var(--ease), transform 2.4s var(--ease);
}
.gate.is-ready .gate__mark::before { opacity: 1; transform: translate(-50%, -50%) scale(1); animation: cg-breathe 5s ease-in-out 3s infinite; }
.gate.is-leaving .gate__mark::before { transform: translate(-50%, -50%) scale(3.2); opacity: 1; transition-duration: 1.4s; }
@keyframes cg-breathe { 50% { transform: translate(-50%, -50%) scale(1.12); } }
.gate__logo { width: 100%; height: 100%; object-fit: contain; }
.gate__brand {
	font: 400 clamp(1.5rem, 4.1vw, 3.5rem)/1 var(--serif);
	letter-spacing: .44em; margin-right: -.44em;
	text-transform: uppercase;
}
.gate__tag {
	margin-top: 2.6vh;
	font: 400 var(--micro)/1 var(--mono); letter-spacing: .4em; margin-right: -.4em;
	color: var(--ink-2); text-transform: uppercase;
	opacity: 0; transition: opacity 1.4s var(--ease) 1.4s;
}
.gate.is-ready .gate__tag { opacity: 1; }
.gate__action { margin-top: 7.5vh; min-height: 120px; display: grid; justify-items: center; align-content: start; gap: 22px; }
.gate__load { display: grid; justify-items: center; gap: 14px; color: var(--ink-3); transition: opacity .6s; }
.gate__bar { display: block; width: 180px; height: 1px; background: var(--line); overflow: hidden; }
.gate__bar i { display: block; height: 100%; background: var(--ember); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .4s linear; }
.gate__enter {
	display: none; align-items: center; gap: 18px;
	padding: 19px 36px 19px 44px;
	border: 1px solid var(--line-2); border-radius: 100px;
	font: 400 clamp(.82rem, 1vw, .95rem)/1 var(--mono); letter-spacing: .52em; text-transform: uppercase;
	transition: border-color .5s, box-shadow .6s, color .4s, background-color .5s;
}
.gate__arrow { transition: transform .5s var(--ease); }
.gate__enter:hover, .gate__enter:focus-visible {
	border-color: var(--ember); color: var(--ember-2);
	box-shadow: 0 0 60px rgba(240, 146, 63, .18), inset 0 0 30px rgba(240, 146, 63, .12);
}
.gate__enter:hover .gate__arrow { transform: translateX(8px); }
.gate.is-armed .gate__load { display: none; }
.gate.is-armed .gate__enter { display: inline-flex; animation: cg-fade-up 1s var(--ease) both; }
.gate__sound { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-3); opacity: 0; transition: opacity .8s, color .3s; }
.gate.is-armed .gate__sound { opacity: 1; }
.gate__sound:hover { color: var(--ink); }
.gate__sound-dot { width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; }
.gate__sound[aria-pressed="true"] .gate__sound-dot { background: var(--ember); border-color: var(--ember); box-shadow: 0 0 10px var(--ember); }
.gate__sound-off, .gate__sound[aria-pressed="false"] .gate__sound-on { display: none; }
.gate__sound[aria-pressed="false"] .gate__sound-off { display: inline; }
.gate__meta {
	position: absolute; left: var(--pad); right: var(--pad); bottom: calc(26px + env(safe-area-inset-bottom));
	display: flex; justify-content: space-between; gap: 20px; color: var(--ink-3);
	opacity: 0; transition: opacity 1.5s 1.8s;
}
.gate.is-ready .gate__meta { opacity: 1; }
@keyframes cg-fade-up { from { opacity: 0; transform: translateY(14px); } }

/* Emblem */
.emblem { overflow: visible; }
.emblem__disc { fill: currentColor; }
.emblem__echo {
	fill: var(--blood); opacity: 0;
	transform-box: fill-box; transform-origin: 50% 50%;
	transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.emblem__ring { fill: none; stroke: currentColor; stroke-width: 1.1; opacity: 0; }

.emblem--gate .emblem__disc { opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; transform: scale(.92); }
.emblem--gate .emblem__ring { opacity: .5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.gate.is-ready .emblem--gate .emblem__ring { animation: cg-draw 2.4s var(--ease) .1s forwards, cg-fade-out 1.1s var(--ease) 1.5s forwards; }
.gate.is-ready .emblem--gate .emblem__disc { animation: cg-mark-in 1.7s var(--ease) 1.1s forwards; }
.gate.is-leaving .emblem--gate .emblem__disc { filter: drop-shadow(0 0 16px rgba(255, 180, 107, .5)); }
.no-js .emblem--gate .emblem__disc { opacity: 1; transform: none; }
@keyframes cg-draw { to { stroke-dashoffset: 0; } }
@keyframes cg-mark-in { to { opacity: 1; transform: scale(1); } }
@keyframes cg-fade-out { to { opacity: 0; } }
.bar__home:hover .emblem__echo { opacity: .5; transform: translate(2.5px, -2px); }

/* 6 — Film (scroll sequence) ---------------------------------------------- */
.film { position: relative; height: var(--film-h, 820vh); }
.film--hero { --film-h: 230vh; }
.film__stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.film__plane { position: absolute; inset: 0; }
.film__poster, .film__poster img { width: 100%; height: 100%; object-fit: cover; }
.film.is-gl .film__poster { visibility: hidden; }
.film__stage::after {
	content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
	background:
		linear-gradient(to top, rgba(4, 3, 3, .72) 0%, rgba(4, 3, 3, 0) 42%),
		linear-gradient(to bottom, rgba(4, 3, 3, .45) 0%, rgba(4, 3, 3, 0) 22%);
}
.film__bars span {
	position: absolute; left: 0; right: 0; z-index: 2;
	height: var(--letterbox, 12.5vh); background: #000;
	transform: scaleY(var(--bars, 1));
	transition: none;
}
.film__bars span:first-child { top: 0; transform-origin: top; }
.film__bars span:last-child { bottom: 0; transform-origin: bottom; }
.film__frame { position: absolute; inset: calc(var(--bar-h) + 8px) calc(var(--pad) * .55) calc(58px + env(safe-area-inset-bottom)); z-index: 3; pointer-events: none; opacity: .5; }
.film__frame i { position: absolute; width: 22px; height: 22px; border: 0 solid var(--ink-2); }
.film__frame i:nth-child(1) { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.film__frame i:nth-child(2) { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.film__frame i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.film__frame i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }

.film__hint {
	position: absolute; left: 50%; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 4;
	transform: translateX(-50%);
	display: grid; justify-items: center; gap: 14px;
	color: var(--ink-2); transition: opacity .6s;
}
.film__hint.is-off { opacity: 0; }
.film__hint-line { width: 1px; height: 54px; background: linear-gradient(var(--ink), transparent); transform-origin: top; animation: cg-drip 2.2s var(--ease) infinite; }
@keyframes cg-drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* 7 — Cues & HUD ------------------------------------------------------------- */
.hud {
	position: absolute; left: calc(var(--pad) * .55); right: calc(var(--pad) * .55); bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 4;
	display: flex; justify-content: space-between; align-items: center; gap: 20px;
	font: 400 10px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2);
	pointer-events: none;
}
.hud__rec { display: inline-flex; align-items: center; gap: 8px; }
.hud__rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--blood); box-shadow: 0 0 10px var(--blood); animation: cg-blink 1.4s steps(2, jump-none) infinite; }
@keyframes cg-blink { 50% { opacity: .15; } }
.hud__shot { flex: 1; text-align: center; }
.hud__tc { font-variant-numeric: tabular-nums; }

.cue {
	position: absolute; inset: 0; z-index: 3;
	display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
	padding: calc(var(--bar-h) + 6vh) var(--pad) 15vh;
	pointer-events: none; opacity: 0; visibility: hidden;
	text-shadow: 0 0 50px rgba(0, 0, 0, .55);
}
.cue.is-on { visibility: visible; }
.cue .cue { position: relative; inset: auto; padding: 0; display: block; }
.cue--hero { justify-content: flex-end; padding-bottom: 17vh; }
.cue__kicker { color: var(--ink-2); margin-bottom: 3.2vh; }
.cue__kicker, .cue__sub { font: 400 var(--micro)/1.5 var(--mono); letter-spacing: .26em; text-transform: uppercase; }
.cue__sub { color: var(--ember-2); margin-top: 3vh; }
.cue__title { font-size: var(--d-xl); max-width: 14ch; }
.cue--page .kicker { margin-bottom: 3.4vh; }
.cue__lede { font: 300 italic var(--d-md)/1.06 var(--serif); max-width: 15ch; }
.cue--stack { gap: .35em; justify-content: flex-end; padding-bottom: 17vh; }
.cue__line { font: 300 clamp(1.6rem, 2.9vw, 3.3rem)/1.12 var(--serif); max-width: min(36vw, 17ch); }
.cue__line:nth-child(3) { font-style: italic; color: var(--ember-2); }
.cue--flash { align-items: center; text-align: center; padding-bottom: 6vh; }
.cue__flash {
	font-size: var(--d-xxl); letter-spacing: .03em; white-space: nowrap;
	color: color-mix(in srgb, var(--ink), #0c0704 calc(var(--flash, 0) * 100%));
	text-shadow: none;
}
.cue--side { justify-content: flex-end; padding-bottom: 19vh; }
.cue--right { align-items: flex-end; text-align: right; }
.cue__big { font: 300 var(--d-lg)/.98 var(--serif); max-width: 11ch; }
.cue--right .cue__big { font-style: italic; }
.cue--ident { align-items: center; text-align: center; padding-bottom: 10vh; }
.ident { display: grid; justify-items: center; gap: 3vh; }
.emblem--ident { width: clamp(70px, 9vmin, 110px); color: var(--ink); }
.ident__brand { font-size: clamp(1.8rem, 4.8vw, 4.6rem); letter-spacing: .4em; margin-right: -.4em; }
.ident__tag { color: var(--ink-2); letter-spacing: .4em; margin-right: -.4em; }

/* 8 — Rail -------------------------------------------------------------------- */
.rail {
	position: fixed; left: calc(var(--pad) * .38); top: 50%; z-index: 50;
	display: flex; flex-direction: column; gap: 16px;
	transform: translateY(-50%);
	opacity: 0; transition: opacity .8s var(--ease);
	mix-blend-mode: difference; color: #fff;
}
.rail.is-on { opacity: 1; }
.rail__link { display: inline-flex; align-items: center; gap: 12px; font: 400 10px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; opacity: .45; transition: opacity .4s; }
.rail__link:hover, .rail__link[aria-current="true"] { opacity: 1; }
.rail__n { position: relative; }
.rail__link[aria-current="true"] .rail__n::before { content: ''; position: absolute; left: -12px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #fff; }
.rail__t { opacity: 0; transform: translateX(-6px); transition: opacity .4s, transform .5s var(--ease); white-space: nowrap; }
.rail:hover .rail__t, .rail__link:focus-visible .rail__t { opacity: 1; transform: none; }
.rail__track { position: absolute; left: -12px; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .15); }
.rail__track i { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: #fff; transform-origin: top; transform: scaleY(var(--rp, 0)); }

/* 9 — Sections & type ------------------------------------------------------- */
.sec { position: relative; padding: clamp(110px, 20vh, 250px) 0; }
.sec--tight { padding: clamp(40px, 8vh, 110px) 0; }
.display { font-family: var(--serif); font-weight: 300; text-transform: uppercase; line-height: .9; letter-spacing: .004em; }
.display--xl { font-size: var(--d-xl); }
.display--lg { font-size: var(--d-lg); }
.ln { display: block; }
.lead { font: 300 var(--lead)/1.38 var(--serif); color: var(--ink); }
.lead p + p { margin-top: .8em; }
.micro { font: 400 var(--micro)/1.55 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.micro--dim { color: var(--ink-3); }

.kicker {
	display: flex; align-items: center; gap: 14px;
	margin: 0 0 clamp(26px, 5vh, 58px);
	font: 400 var(--micro)/1 var(--mono); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2);
}
.kicker__n { color: var(--ember); font-variant-numeric: tabular-nums; }
.kicker__line { width: 64px; height: 1px; background: currentColor; opacity: .5; transform-origin: left; transition: transform 1.4s var(--ease) .2s; }
.js .kicker[data-rv] .kicker__line { transform: scaleX(0); }
.js .kicker[data-rv].is-in .kicker__line { transform: none; }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(50px, 9vh, 120px); }
.split__aside { grid-column: 1 / span 4; padding-top: .6em; }
.split__main { grid-column: 5 / span 7; }

.cols3, .cols2 { display: grid; gap: var(--gap); margin-top: clamp(70px, 12vh, 140px); color: var(--ink-2); }
.cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1180px; margin-left: auto; }
.cols3 p, .cols2 p { max-width: 46ch; }
.cols3 p::first-letter, .cols2 p:first-child::first-letter { font: 400 3.2em/.8 var(--serif); float: left; margin: .08em .1em 0 0; color: var(--ink); }

/* 10 — Media ------------------------------------------------------------------- */
.media { position: relative; margin: clamp(80px, 14vh, 170px) 0 0; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--wide { height: min(96vh, 60vw); }
.media__cap { position: absolute; left: var(--pad); bottom: -2.6em; color: var(--ink-3); }
.js .media.is-gl img, .js .media.is-gl picture { opacity: 0; }
.js .media:not(.is-gl) img { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--ease); }
.js .media.is-in:not(.is-gl) img, .no-gl .media img { clip-path: inset(0 0 0 0); }

/* 11 — Marquee & ribbon ------------------------------------------------------ */
.marquee, .ribbon { position: relative; overflow: hidden; white-space: nowrap; user-select: none; }
.marquee { padding: clamp(24px, 5vh, 60px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee__track { display: inline-flex; align-items: center; gap: .5em; will-change: transform; }
.marquee__item { font: 300 clamp(3rem, 9vw, 10rem)/1 var(--serif); text-transform: uppercase; letter-spacing: .01em; }
.marquee__item--o { color: transparent; -webkit-text-stroke: 1px rgba(236, 229, 216, .55); font-style: italic; }
.marquee__star { font-size: clamp(1.4rem, 3vw, 3rem); color: var(--ember); margin: 0 .3em; }
.ribbon { margin-top: clamp(80px, 13vh, 150px); padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ribbon__item { font: 400 clamp(.8rem, 1.1vw, 1rem)/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); }
.ribbon__dot { font-size: 6px; color: var(--blood); margin: 0 2.2em; vertical-align: middle; }

/* 12 — About / Films / Soon / Founders ------------------------------------ */
.keyline { display: grid; margin-top: clamp(110px, 18vh, 220px); font-size: var(--d-xl); line-height: .95; text-align: center; }
.keyline__ln--it { font-style: italic; color: var(--ember-2); }

.feature { position: relative; height: 112vh; margin-top: clamp(90px, 15vh, 180px); }
.feature__poster { position: absolute; inset: 0; display: block; }
.feature .media { height: 100%; margin: 0; }
.feature__over { position: absolute; left: var(--pad); right: var(--pad); bottom: 12vh; z-index: 2; pointer-events: none; }
.feature__label { color: var(--ember); margin-bottom: 2vh; }
.feature__title {
	font: 300 clamp(3.6rem, 15.5vw, 19rem)/.82 var(--serif);
	letter-spacing: .07em; margin-left: -.04em; text-transform: uppercase;
	text-shadow: 0 0 80px rgba(0, 0, 0, .6);
}
.feature__chapter { margin-top: 2.6vh; letter-spacing: .32em; color: var(--ink); }
.feature__genre { margin-top: 1vh; font: italic 300 var(--lead)/1.3 var(--serif); color: var(--ink-2); }
.feature__hint { position: absolute; right: var(--pad); top: 6vh; color: var(--ink-3); z-index: 2; pointer-events: none; }

.dossier-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(80px, 13vh, 150px); align-items: start; }
.logline { grid-column: 1 / span 6; font: 400 clamp(1.05rem, 1.45vw, 1.42rem)/1.75 var(--mono); color: var(--ink); }
.logline__ln { min-height: 1.75em; }
.logline__ln + .logline__ln { margin-top: .4em; }
.logline__ln.is-typing::after { content: '\258C'; margin-left: .1em; color: var(--ember); animation: cg-blink .7s steps(2, jump-none) infinite; }
.synopsis { grid-column: 8 / span 5; display: grid; gap: 28px; justify-items: start; }
.synopsis__text { font: 300 italic var(--lead)/1.42 var(--serif); }
.synopsis__credit { color: var(--ember-2); }

.btn {
	display: inline-flex; align-items: center; gap: 16px;
	padding: 18px 30px;
	border: 1px solid var(--line-2); border-radius: 100px;
	font: 400 var(--micro)/1 var(--mono); letter-spacing: .28em; text-transform: uppercase;
	transition: border-color .4s, background-color .4s, color .4s;
}
.btn:hover, .btn:focus-visible { border-color: var(--ember-2); background: var(--ember-2); color: #130a04; }
.btn__arrow { transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(6px); }
.btn--ghost:hover .btn__arrow { transform: translateX(-6px); }

.soon { position: relative; margin-top: clamp(110px, 18vh, 210px); padding: clamp(110px, 18vh, 210px) 0; overflow: hidden; border-top: 1px solid var(--line); }
.soon__inner { position: relative; z-index: 1; }
.soon__title { font-size: var(--d-lg); }
.soon__sub { margin-top: 3vh; color: var(--ink-2); font-style: italic; }
.soon__files { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: 9vh 0; }
.file {
	position: relative; aspect-ratio: 3 / 4; overflow: hidden;
	display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
	padding: clamp(18px, 2vw, 28px);
	border: 1px solid var(--line); background: rgba(236, 229, 216, .015);
}
.file__static { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .14; image-rendering: pixelated; }
.file__n { color: var(--ember); position: relative; }
.file__t { position: relative; font: 300 clamp(1.6rem, 2.6vw, 2.6rem)/1 var(--serif); }
.redact { background: var(--ink); color: transparent; letter-spacing: -.1em; padding: 0 .1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.file__s { color: var(--ink-3); position: relative; }
.soon__label { font: 400 clamp(1.3rem, 3vw, 2.7rem)/1 var(--mono); letter-spacing: .42em; color: var(--ember); }
.soon__dark {
	position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background: radial-gradient(circle var(--torch, 240px) at var(--tx, 50%) var(--ty, 45%), rgba(3, 2, 2, 0) 0%, rgba(3, 2, 2, .32) 48%, rgba(3, 2, 2, .965) 100%);
	transition: opacity 1.4s var(--ease);
}
.no-js .soon__dark, .soon.is-lit .soon__dark, .reduced .soon__dark { opacity: 0; }

.dossiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 5vw, 100px); margin-top: clamp(80px, 13vh, 150px); }
.dossier:nth-child(2) { margin-top: clamp(0px, 14vh, 180px); }
.dossier__plate {
	position: relative; aspect-ratio: 4 / 5; overflow: hidden;
	display: grid; place-items: center;
	border: 1px solid var(--line);
	background: radial-gradient(ellipse at 50% 38%, rgba(240, 146, 63, .09), transparent 60%), linear-gradient(#0e0c0b, #070606);
}
.dossier__mono { position: relative; font: 300 clamp(6rem, 15vw, 14rem)/1 var(--serif); letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px rgba(236, 229, 216, .4); }
.dossier__mono-echo { position: absolute; left: 0; top: 0; -webkit-text-stroke: 1px rgba(192, 22, 31, .7); transform: translate(5px, -4px); opacity: .7; transition: transform .8s var(--ease), opacity .6s; }
.dossier:hover .dossier__mono-echo { transform: translate(16px, -9px); opacity: 1; }
.dossier__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(.82); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.dossier__img--echo { mix-blend-mode: screen; opacity: 0; filter: grayscale(1) sepia(1) hue-rotate(-50deg) saturate(6) brightness(.5); transform: translate(10px, -6px); }
.dossier:hover .dossier__img { filter: grayscale(.2) contrast(1.05) brightness(.9); }
.dossier:hover .dossier__img--echo { opacity: .55; }
.dossier__file { position: absolute; left: 18px; top: 16px; color: var(--ink-3); z-index: 2; }
.dossier__scan { position: absolute; left: 0; right: 0; top: -30%; height: 30%; background: linear-gradient(to bottom, transparent, rgba(240, 146, 63, .07), transparent); animation: cg-scan 6s linear infinite; z-index: 1; }
@keyframes cg-scan { to { transform: translateY(440%); } }
.dossier__head { margin-top: 30px; }
.dossier__name { font-size: var(--d-md); }
.dossier__role { color: var(--ember); margin-top: 12px; }
.dossier__bio { margin-top: 26px; color: var(--ink-2); max-width: 54ch; }
.dossier__bio p + p { margin-top: 1em; }

.objective { margin-top: clamp(120px, 22vh, 260px); }
.objective__intro { color: var(--ink-2); }
.objective__quote { margin-top: 4vh; font-size: clamp(2rem, 4.5vw, 5.3rem); line-height: 1.04; text-transform: none; max-width: 22ch; }

/* 13 — Vision atlas ----------------------------------------------------------- */
.atlas { position: relative; height: 340vh; margin-top: clamp(80px, 14vh, 170px); }
.atlas__stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.media--atlas { position: absolute; inset: 0; margin: 0; height: 100%; }
.atlas__thread { position: absolute; inset: 0; width: 100%; height: 100%; transform: scale(var(--z, 1)); transform-origin: 50% 50%; pointer-events: none; z-index: 1; overflow: visible; }
.atlas__seg { stroke: #d9202c; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--s, 0)); filter: drop-shadow(0 0 5px rgba(217, 32, 44, .75)); }
.atlas__pin circle { fill: #e02531; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.2); transition: opacity .4s, transform .7s var(--ease); }
.atlas__pin .atlas__pulse { fill: none; stroke: #e02531; stroke-width: 2; }
.atlas__pin.is-on circle { opacity: 1; transform: none; }
.atlas__pin.is-on .atlas__pulse { animation: cg-pulse 2.4s var(--ease) infinite; }
@keyframes cg-pulse { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.8); } }
.atlas__words { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; }
.atlas__word { grid-area: 1 / 1; font-size: var(--d-xxl); opacity: 0; text-shadow: 0 0 70px rgba(0, 0, 0, .75); will-change: opacity, transform, filter; }
.atlas__caption { position: absolute; left: var(--pad); right: var(--pad); bottom: calc(10vh + env(safe-area-inset-bottom)); z-index: 2; text-align: center; color: var(--ink); opacity: 0; text-shadow: 0 0 20px #000; }
.atlas .film__frame { z-index: 3; }
.manifesto { margin-top: clamp(120px, 22vh, 260px); font-size: clamp(2.1rem, 5.2vw, 6.2rem); line-height: 1.02; text-transform: none; max-width: 21ch; }

/* 14 — Contact & form ---------------------------------------------------------- */
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(60px, 10vh, 130px); align-items: start; }
.contact__info { grid-column: 1 / span 5; }
.contact__form { grid-column: 7 / span 6; }
.contact__lead { margin-top: 1.6em; font-weight: 400; color: var(--ink); max-width: 44ch; }
.contact__company { margin-top: clamp(40px, 7vh, 80px); padding-top: 26px; border-top: 1px solid var(--line); }
.contact__name { font-size: clamp(1.5rem, 2.5vw, 2.5rem); letter-spacing: .1em; margin-bottom: 8px; }
.contact__mails { list-style: none; margin: 42px 0 0; padding: 0; display: grid; gap: 26px; }
.contact__mail .micro { display: block; margin-bottom: 8px; }
.contact__addr {
	font: 300 clamp(1.3rem, 2.2vw, 2.25rem)/1.12 var(--serif);
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size .7s var(--ease), color .4s; overflow-wrap: anywhere;
}
.contact__addr:hover, .contact__addr:focus-visible { background-size: 100% 1px; color: var(--ember-2); }
.contact__tag { margin-top: clamp(80px, 14vh, 160px); color: var(--ink-3); text-align: center; letter-spacing: .4em; }

.enquiry { position: relative; display: grid; gap: 26px; padding: clamp(26px, 3.2vw, 48px); border: 1px solid var(--line); background: rgba(12, 10, 9, .6); }
.enquiry::before { content: ''; position: absolute; left: -1px; top: -1px; width: 28px; height: 28px; border-left: 1px solid var(--ember); border-top: 1px solid var(--ember); }
.enquiry__title { color: var(--ember); }
.enquiry__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { position: relative; }
.field input, .field textarea {
	width: 100%; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
	background: transparent; color: var(--ink);
	font: 300 1.12rem/1.4 var(--sans);
	padding: 28px 0 10px; outline: none;
	transition: border-color .4s;
	-webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field label {
	position: absolute; left: 0; top: 28px; pointer-events: none;
	font: 400 var(--micro)/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3);
	transform-origin: left; transition: transform .45s var(--ease), color .3s;
}
.field input:focus, .field textarea:focus { border-color: var(--ember); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-24px) scale(.9); color: var(--ember); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--ink); transition: background-color 99999s; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; padding: 0; border: 0; min-width: 0; }
.chips legend { width: 100%; padding: 0; margin-bottom: 14px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
	display: inline-block; padding: 10px 16px;
	border: 1px solid var(--line-2); border-radius: 100px;
	font: 400 .68rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
	cursor: pointer; transition: background-color .35s, color .35s, border-color .35s;
}
.chip span:hover { border-color: var(--ink-2); color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #0b0908; }
.chip input:focus-visible + span { outline: 1px solid var(--ember); outline-offset: 3px; }
.btn--send { justify-self: start; margin-top: 8px; }
.btn--send[disabled] { opacity: .5; pointer-events: none; }
.enquiry__status { min-height: 1.5em; color: var(--ink-2); }
.enquiry__status.is-ok { color: #a9dca4; }
.enquiry__status.is-err { color: #ff9a85; }
.contact__form--plugin input, .contact__form--plugin textarea, .contact__form--plugin select {
	width: 100%; background: transparent; color: var(--ink); border: 1px solid var(--line-2); padding: 12px; font: inherit;
}

/* 15 — Next chapter & footer ------------------------------------------------ */
.next__link { position: relative; display: block; height: 90vh; min-height: 520px; overflow: hidden; }
.next__media { position: absolute; inset: 0; margin: 0; height: 100%; }
.next__copy { position: absolute; left: var(--pad); right: var(--pad); bottom: 11vh; z-index: 2; display: grid; gap: 24px; justify-items: start; text-shadow: 0 0 60px rgba(0, 0, 0, .6); }
.next__copy .kicker { margin: 0; }
.next__title { font-size: var(--d-xl); max-width: 14ch; transition: transform 1s var(--ease); }
.next__link:hover .next__title { transform: translateX(1.4vw); }
.next__label { color: var(--ember-2); }

.foot { position: relative; padding: clamp(100px, 17vh, 200px) 0 28px; border-top: 1px solid var(--line); overflow: hidden; }
.foot__top { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--gap); flex-wrap: wrap; }
.foot__tag { font-size: var(--d-md); line-height: .95; max-width: 11ch; }
.foot__up { display: inline-flex; align-items: center; gap: 14px; font: 400 var(--micro)/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); transition: color .3s; }
.foot__up:hover { color: var(--ember-2); }
.foot__arrow { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; transition: transform .6s var(--ease), border-color .3s; }
.foot__up:hover .foot__arrow { transform: translateY(-6px); border-color: var(--ember-2); }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(70px, 11vh, 130px); }
.foot__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; font: 300 1.15rem/1.3 var(--serif); color: var(--ink-2); }
.foot__list a { transition: color .3s; }
.foot__list a:hover { color: var(--ember-2); }
.foot__mark { margin-top: clamp(60px, 10vh, 120px); text-align: center; pointer-events: none; }
.foot__word {
	display: inline-block;
	font: 300 21.8vw/.78 var(--serif); letter-spacing: -.005em; text-transform: uppercase; white-space: nowrap;
	color: transparent; -webkit-text-stroke: 1px rgba(236, 229, 216, .2);
	background: linear-gradient(to top, rgba(236, 229, 216, .92) var(--fill, 0%), transparent var(--fill, 0%));
	-webkit-background-clip: text; background-clip: text;
}
.foot__base { display: flex; justify-content: space-between; align-items: center; gap: 16px 30px; flex-wrap: wrap; margin-top: 34px; color: var(--ink-3); }
.foot__legal { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.foot__legal a:hover { color: var(--ink); }

/* 16 — Entry, journal, 404, teaser --------------------------------------------- */
.entry__head { padding-top: calc(var(--bar-h) + 17vh); padding-bottom: 9vh; }
.entry .media--wide { margin: 0 0 12vh; }
.prose { max-width: 70ch; margin: 0 auto; padding-bottom: 14vh; color: var(--ink-2); font-size: 1.1rem; line-height: 1.82; }
.prose > * + * { margin-top: 1.3em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.1; margin-top: 2em; }
.prose h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.prose h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.prose a { color: var(--ember-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose blockquote { padding-left: 1.4em; border-left: 1px solid var(--ember); font: italic 300 1.55rem/1.4 var(--serif); color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose img { height: auto; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption, .wp-element-caption { font: 400 var(--micro) var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: .8em; }
.prose code, .prose pre { font-family: var(--mono); font-size: .92em; }
.prose pre { padding: 1.2em; border: 1px solid var(--line); overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: .7em; border-bottom: 1px solid var(--line); text-align: left; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.prose .alignwide { max-width: min(1200px, 92vw); margin-left: 50%; transform: translateX(-50%); width: 100vw; }
.prose .alignfull { width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.prose .alignleft { float: left; margin: .4em 1.6em 1em 0; }
.prose .alignright { float: right; margin: .4em 0 1em 1.6em; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose .wp-block-button__link { border-radius: 100px; background: var(--ink); color: var(--bg); text-decoration: none; font: 400 var(--micro) var(--mono); letter-spacing: .24em; text-transform: uppercase; padding: 16px 26px; }
.entry__tags { margin-top: 3em; color: var(--ink-3); }
.entry__nav { display: flex; justify-content: space-between; gap: 20px; max-width: 70ch; margin: 0 auto 14vh; color: var(--ink-2); }
.entry__nav a:hover { color: var(--ember-2); }
.pager { margin-top: 6vh; display: flex; gap: 14px; }
.pager .page-numbers { padding: 8px 12px; border: 1px solid var(--line); }
.pager .page-numbers.current { background: var(--ink); color: var(--bg); }

.journal { padding-top: calc(var(--bar-h) + 16vh); }
.journal__list { list-style: none; margin: 10vh 0 0; padding: 0; border-top: 1px solid var(--line); }
.journal__link { display: grid; grid-template-columns: minmax(120px, 180px) 1fr; gap: 12px 40px; padding: 40px 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease); }
.journal__link:hover { padding-left: 1.4vw; }
.journal__date { color: var(--ember); padding-top: .9em; }
.journal__title { font-size: clamp(1.8rem, 3.8vw, 3.8rem); line-height: 1; }
.journal__excerpt { grid-column: 2; color: var(--ink-2); max-width: 62ch; }

.search { display: flex; gap: 20px; align-items: flex-end; max-width: 640px; margin-top: 6vh; }
.search .field { flex: 1; }

.comments { max-width: 70ch; margin: 0 auto; padding-bottom: 14vh; color: var(--ink-2); }
.comments__title { color: var(--ember); margin-bottom: 2em; }
.comments__list { list-style: none; padding: 0; }
.comments .comment-body { padding: 24px 0; border-bottom: 1px solid var(--line); }
.comments input, .comments textarea { width: 100%; background: transparent; color: var(--ink); border: 1px solid var(--line-2); padding: 12px; font: inherit; }
.comments .submit { margin-top: 16px; background: transparent; }

.void { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; padding-bottom: 13vh; }
.void__media { position: absolute; inset: 0; margin: 0; height: 100%; }
.void__copy { position: relative; z-index: 2; display: grid; gap: 4vh; justify-items: start; }
.void__code { font-size: clamp(6rem, 24vw, 24rem); line-height: .78; color: transparent; -webkit-text-stroke: 1px rgba(236, 229, 216, .45); }
.void .lead { max-width: 30ch; color: var(--ink-2); }

.teaser { width: min(1280px, 94vw); padding: 0; border: 1px solid var(--line-2); background: #000; color: var(--ink); overflow: visible; }
.teaser::backdrop { background: rgba(2, 2, 2, .9); }
.teaser__frame { aspect-ratio: 16 / 9; }
.teaser__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.teaser__close { position: absolute; right: 0; top: -38px; color: var(--ink-2); }
.teaser__close:hover { color: var(--ink); }

.case__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.case__meta { grid-column: 1 / span 4; display: grid; gap: 22px; margin: 0; }
.case__meta dd { margin: 6px 0 0; font: 300 1.4rem/1.25 var(--serif); color: var(--ink); }
.logline--xl { grid-column: 6 / span 7; font-size: clamp(1.2rem, 2vw, 2rem); }
.media--case { height: 104vh; }
.case__synopsis { margin-top: clamp(110px, 18vh, 220px); }
.synopsis__big { font-size: clamp(2rem, 4.6vw, 5.4rem); line-height: 1.05; text-transform: none; max-width: 22ch; }
.case__actions { display: flex; flex-wrap: wrap; gap: 20px 26px; align-items: center; margin-top: 7vh; }

/* 17 — Text effects ----------------------------------------------------------- */
.ch { display: inline-block; white-space: pre; }
.wd { display: inline-block; white-space: nowrap; }

/* Scroll-linked smoke letters (film cues): --v comes from the cue (0 → 1). */
[data-smoke] .ch {
	--t: clamp(0, calc(var(--v, 1) * 1.7 - var(--o, 0) * .7), 1);
	opacity: var(--t);
	filter: blur(calc((1 - var(--t)) * 16px));
	transform:
		translate3d(calc((1 - var(--t)) * (var(--r, .5) - .5) * 90px), calc((1 - var(--t)) * -26px), 0)
		rotate(calc((1 - var(--t)) * (var(--r, .5) - .5) * 40deg))
		scale(calc(1 + (1 - var(--t)) * .35));
}
.cue.is-full [data-smoke]:not([data-cue]) .ch, .cue.is-full[data-smoke] .ch { filter: none; transform: none; opacity: 1; }

/* Time-based smoke reveal (sections). */
.js [data-smoke-in] .ch {
	opacity: 0;
	filter: blur(14px);
	transform: translate3d(calc((var(--r, .5) - .5) * 60px), -18px, 0) scale(1.3);
	transition: opacity 1.2s var(--ease), filter 1.5s var(--ease), transform 1.6s var(--ease);
	transition-delay: calc(var(--o, 0) * 900ms + var(--d, 0ms));
}
.js [data-smoke-in].is-in .ch { opacity: 1; filter: blur(0); transform: none; }
.js [data-smoke-in].is-done .ch { filter: none; transition: none; }

/* Words lit by scroll. */
.js [data-words] .wd { opacity: calc(.13 + .87 * clamp(0, calc((var(--p, 0) * 1.3 - var(--o, 0)) * 6), 1)); }
[data-words] .wd.is-key { color: var(--ember-2); font-style: italic; }

/* Glitch: two chromatic ghost copies. */
[data-glitch] { position: relative; }
span[data-glitch], a[data-glitch] { display: inline-block; }
.glx {
	position: absolute; left: 0; top: 0; width: 100%; height: 100%;
	padding: inherit; pointer-events: none; opacity: 0; white-space: inherit;
	-webkit-text-stroke: 0; font-style: inherit;
}
.is-glitching > .glx { opacity: .9; }
.is-glitching > .glx--a { color: #ff2436; transform: translate3d(var(--gx1, -4px), 0, 0); clip-path: inset(var(--gt1, 20%) 0 var(--gb1, 50%) 0); mix-blend-mode: screen; }
.is-glitching > .glx--b { color: #3fd9ff; transform: translate3d(var(--gx2, 4px), 0, 0); clip-path: inset(var(--gt2, 60%) 0 var(--gb2, 12%) 0); mix-blend-mode: screen; }
.is-glitching { animation: cg-jolt .22s steps(2, jump-none) 1; }
@keyframes cg-jolt { 50% { transform: translate3d(-2px, 0, 0) skewX(-6deg); } }
.is-glitching .ch, .is-glitching .wd { filter: none !important; }
.marquee__item--o .glx, .foot__word .glx, .void__code .glx { -webkit-text-stroke: 1px currentColor; color: transparent !important; }

/* Reveals. */
.js [data-rv], .js [data-rv-group] > .rv {
	opacity: 0; transform: translate3d(0, 30px, 0); filter: blur(6px);
	transition: opacity 1.3s var(--ease), transform 1.5s var(--ease), filter 1.3s var(--ease);
	transition-delay: var(--d, 0ms);
}
.js [data-rv].is-in, .js [data-rv-group].is-in > .rv { opacity: 1; transform: none; filter: none; }
.js .kicker[data-rv] { filter: none; }

/* 18 — States ------------------------------------------------------------------- */
.reduced .fx-grain { animation: none; }
.reduced [data-smoke] .ch, .reduced [data-smoke-in] .ch { filter: none !important; transform: none !important; }
.reduced .dossier__scan, .reduced .film__hint-line { animation: none; }

.no-js .film { height: auto; }
.no-js .film__stage { position: relative; height: auto; min-height: 100vh; overflow: visible; }
.no-js .film__plane { position: sticky; top: 0; height: 100vh; margin-bottom: -100vh; }
.no-js .cue { position: relative; opacity: 1; visibility: visible; min-height: 80vh; }
.no-js .film__bars, .no-js .hud, .no-js .film__hint, .no-js .film__frame { display: none; }
.no-js .atlas { height: auto; }
.no-js .atlas__stage { position: relative; height: 80vh; }
.no-js .atlas__word { position: relative; opacity: 1; font-size: var(--d-md); }
.no-js .atlas__words { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: .2em .5em; }
.no-js .atlas__caption { opacity: 1; }
.no-js .atlas__pin circle { opacity: 1; transform: none; }
.no-js .atlas__seg { stroke-dashoffset: 0; }

/* 19 — Responsive ----------------------------------------------------------- */
@media (max-width: 1100px) {
	.rail { display: none; }
}
@media (max-width: 900px) {
	:root { --bar-h: 66px; }
	.film { --film-h: 700vh; }
	.film--hero { --film-h: 200vh; }
	.brand__main { font-size: 13px; letter-spacing: .3em; }
	.brand__emblem { width: 30px; height: 30px; }
	.sound__label { display: none; }
	.split, .dossier-grid, .contact__grid, .case__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
	.split__aside, .split__main, .logline, .synopsis, .contact__info, .contact__form, .case__meta, .logline--xl { grid-column: 1 / -1; }
	.split__aside { padding-top: 0; }
	.cols3, .cols2 { grid-template-columns: minmax(0, 1fr); }
	.dossiers { grid-template-columns: minmax(0, 1fr); }
	.dossier:nth-child(2) { margin-top: 40px; }
	.soon__files { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.file { aspect-ratio: 2 / 3; padding: 12px; }
	.file__t { font-size: 1.1rem; }
	.file__s { display: none; }
	.foot__cols { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.feature { height: 88vh; }
	.media--wide { height: 70vh; }
	.media--case { height: 80vh; }
	.hud__shot { display: none; }
	.cue { padding-bottom: 20vh; }
	.cue--hero { padding-bottom: 22vh; }
	.cue__line:nth-child(2), .cue__line:nth-child(3) { padding-left: 0; }
	.cue__flash { white-space: normal; font-size: clamp(2.8rem, 15vw, 6rem); }
	.journal__link { grid-template-columns: minmax(0, 1fr); }
	.journal__excerpt { grid-column: 1; }
	.menu__foot { flex-direction: column; align-items: flex-start; }
	.menu__col--end { justify-items: start; text-align: left; }
	.gate__meta span:nth-child(2) { display: none; }
	.atlas { height: 280vh; }
	.cols3 p::first-letter, .cols2 p:first-child::first-letter { font-size: 2.6em; }
}
@media (max-width: 560px) {
	.brand__word { display: none; }
	.gate__brand { letter-spacing: .28em; margin-right: -.28em; }
	.gate__meta { display: none; }
	.feature__title { letter-spacing: .03em; }
	.btn { padding: 16px 22px; }
}
@media (hover: none) {
	.feature__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
	.fx-grain { animation: none; }
}
