/* ==========================================================================
   Taraneh — candlelight, stage light, contact sheets.
   Palette from "Before Dawn": soot black, bone, candle flame; red pen from her sketches.
   Logical properties throughout so /fa/ (rtl) mirrors without extra rules.
   ========================================================================== */

/* Fonts (self-hosted, subset by script) ----------------------------------- */
@font-face { font-family: "Instrument Serif"; src: url(../fonts/instrument-serif-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; src: url(../fonts/instrument-serif-400-ext.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; src: url(../fonts/instrument-serif-400i.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/plex-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+25B6-25B8, U+FEFF; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/plex-mono-400-ext.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Yekan Bakh"; src: url(../fonts/yekan-bakh-300.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Yekan Bakh"; src: url(../fonts/yekan-bakh-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Yekan Bakh"; src: url(../fonts/yekan-bakh-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Yekan Bakh"; src: url(../fonts/yekan-bakh-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }


:root {
	--ink: #0a0908;
	--ink-2: #12100e;
	--ink-3: #1b1815;
	--bone: #ece5d9;
	--bone-2: rgba(236, 229, 217, .66);
	--bone-3: rgba(236, 229, 217, .4);
	--line: rgba(236, 229, 217, .14);
	--flame: #f2a64f;
	--ember: #c66a2c;
	--pen: #e0372e;

	--serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
	--mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
	--fa: "Yekan Bakh", Tahoma, sans-serif;

	--gutter: clamp(16px, 4vw, 56px);
	--ease: cubic-bezier(.2, .7, .1, 1);
	--snap: cubic-bezier(.75, 0, .95, .45);
	--label-size: 11px;
	--label-track: .16em;
	color-scheme: dark;
}

html[lang="fa"] {
	--serif: "Yekan Bakh", Tahoma, sans-serif;
	--mono: "Yekan Bakh", Tahoma, sans-serif;
	--label-size: 13px;
	--label-track: 0;
}

/* Base ------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ink);
	color: var(--bone);
	font: 400 18px/1.5 var(--serif);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
html[lang="fa"] body { font-family: var(--fa); font-weight: 400; line-height: 1.9; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--flame); outline-offset: 4px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--flame); color: var(--ink); }

.skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 300; padding: 10px 14px; background: var(--bone); color: var(--ink); font: 12px var(--mono); }
.skip:focus { top: 8px; }

.eyebrow, .k {
	font: 400 var(--label-size)/1.4 var(--mono);
	letter-spacing: var(--label-track);
	text-transform: uppercase;
	color: var(--bone-3);
}
html[lang="fa"] .eyebrow, html[lang="fa"] .k { text-transform: none; }

.main { position: relative; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 360ms ease both ty-fade-out; }
::view-transition-new(root) { animation: 520ms ease 120ms both ty-fade-in; }
@keyframes ty-fade-out { to { opacity: 0; } }
@keyframes ty-fade-in { from { opacity: 0; } }

/* Film grain --------------------------------------------------------------------- */
.grain {
	position: fixed;
	inset: -8%;
	z-index: 200;
	pointer-events: none;
	opacity: .085;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
	0% { transform: translate3d(0, 0, 0); } 20% { transform: translate3d(-3%, 2%, 0); } 40% { transform: translate3d(2%, -4%, 0); }
	60% { transform: translate3d(-4%, -1%, 0); } 80% { transform: translate3d(3%, 3%, 0); } 100% { transform: translate3d(0, 0, 0); }
}

/* Top bar ----------------------------------------------------------------------------- */
.bar {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 18px var(--gutter);
	font: 400 var(--label-size)/1 var(--mono);
	letter-spacing: var(--label-track);
	text-transform: uppercase;
	color: var(--bone);
}
.bar::before {
	content: "";
	position: absolute;
	inset: 0 0 -38px;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(var(--ink) 30%, rgba(10, 9, 8, .82) 60%, transparent);
	opacity: 0;
	transition: opacity .5s;
}
.is-scrolled .bar::before { opacity: 1; }
html[lang="fa"] .bar { text-transform: none; }
.bar__name { display: flex; gap: 12px; align-items: baseline; white-space: nowrap; }
.bar__name-alt { font: 400 15px/1 var(--fa); letter-spacing: 0; text-transform: none; color: var(--bone-2); }
.bar__nav { display: flex; align-items: center; gap: 28px; margin-inline-start: auto; }
.nav { display: flex; gap: 22px; }
.nav a, .langs a { position: relative; padding-block: 6px; color: var(--bone-2); transition: color .3s; }
.nav a:hover, .nav a[aria-current], .langs a:hover, .langs a[aria-current] { color: var(--bone); }
.nav a[aria-current]::before {
	content: "";
	position: absolute;
	inset-inline-start: -11px;
	top: 50%;
	width: 5px;
	height: 5px;
	margin-top: -2.5px;
	border-radius: 50%;
	background: currentColor;
}
.langs { display: flex; gap: 2px; }
.langs li + li::before { content: "/"; color: var(--bone-3); padding-inline: 6px; }
.langs a[lang="fa"] { font-family: var(--fa); letter-spacing: 0; }
.bar__tc { font-variant-numeric: tabular-nums; color: var(--bone-3); min-width: 11ch; text-align: end; }
.bar__menu { display: none; text-transform: inherit; letter-spacing: inherit; }
.bar__menu-close { display: none; }

@media (max-width: 860px) {
	.bar { gap: 16px; }
	.bar__tc { display: none; }
	.bar__menu { display: block; margin-inline-start: auto; }
	.bar__nav {
		position: fixed;
		inset: 0;
		z-index: -1;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 40px;
		padding: 0 var(--gutter);
		background: var(--ink);
		opacity: 0;
		visibility: hidden;
		transition: opacity .4s, visibility 0s .4s;
	}
	.nav { flex-direction: column; gap: 6px; }
	.nav a { font: 400 clamp(44px, 13vw, 72px)/1.1 var(--serif); letter-spacing: 0; text-transform: none; }
	html[lang="fa"] .nav a { font-weight: 300; }
	.nav a[aria-current]::before { display: none; }
	.nav a[aria-current] { font-style: italic; color: var(--flame); }
	.menu-open .bar__nav { opacity: 1; visibility: visible; transition: opacity .4s; }
	.menu-open .bar__menu-open { display: none; }
	.menu-open .bar__menu-close { display: inline; }
	.menu-open { overflow: hidden; }
}

/* Slate (section headers) ---------------------------------------------------------------- */
.slate {
	display: flex;
	align-items: stretch;
	border-block: 1px solid var(--line);
	margin-block-end: clamp(36px, 6vw, 88px);
	font: 400 var(--label-size)/1 var(--mono);
	letter-spacing: var(--label-track);
	text-transform: uppercase;
	color: var(--bone-2);
}
html[lang="fa"] .slate { text-transform: none; }
.slate::before {
	content: "";
	flex: 0 0 42px;
	background: repeating-linear-gradient(-55deg, var(--bone-2) 0 6px, transparent 6px 12px);
	opacity: .55;
	margin-inline-end: 18px;
}
html[dir="rtl"] .slate::before { background: repeating-linear-gradient(55deg, var(--bone-2) 0 6px, transparent 6px 12px); }
.slate__cell { padding: 14px 0; padding-inline-end: 18px; margin-inline-end: 18px; border-inline-end: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.slate__k { color: var(--bone-3); }
.slate__title { margin: 0; align-self: center; font: inherit; color: var(--bone); }

/* Arrow link ------------------------------------------------------------------------------- */
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-block-start: 36px;
	font: 400 var(--label-size)/1 var(--mono);
	letter-spacing: var(--label-track);
	text-transform: uppercase;
	color: var(--bone);
}
html[lang="fa"] .link-arrow { text-transform: none; }
.link-arrow::after {
	content: "";
	width: 42px;
	height: 1px;
	background: currentColor;
	transition: width .5s var(--ease);
}
.link-arrow:hover { color: var(--flame); }
.link-arrow:hover::after { width: 84px; }

/* Reveal on scroll --------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   HERO — one lit scene. A portrait and the name set together in the dark; the name
   is a fine outline until the candle passes and fills it, and the face appears.
   Layers (back → front): portrait, solid name, darkness, warm halo, outline name, text, fade.
   ========================================================================== */
.hero {
	--pw: min(40vw, 58svh);           /* portrait width */
	--pt: 12svh;                      /* portrait top */
	position: relative;
	min-height: 100svh;
	overflow: hidden;
	isolation: isolate;
	display: grid;
	grid-template-rows: 1fr auto;
	padding: 0 var(--gutter);
}
.hero__portrait {
	position: absolute;
	z-index: 0;
	left: 50%;
	top: var(--pt);
	width: var(--pw);
	aspect-ratio: 4 / 5;
	margin: 0;
	transform: translateX(-50%);
	/* feathered edges: the face dissolves into the dark instead of reading as a pasted rectangle */
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(transparent, #000 10%, #000 80%, transparent);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(transparent, #000 10%, #000 80%, transparent);
	mask-composite: intersect;
}
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 30%; filter: contrast(1.06) saturate(.9); }

.hero__name {
	position: absolute;
	inset: 0;
	z-index: 1;
	margin: 0;
	pointer-events: none;
	font: 400 clamp(72px, 14.5vw, 300px)/.82 var(--serif);
	letter-spacing: -.025em;
	color: var(--bone);
}
.hero__name--line {
	z-index: 4;
	color: transparent;
	-webkit-text-stroke: 1px rgba(236, 229, 217, .36);
}
.hero__w { position: absolute; white-space: nowrap; }
.hero__w--1 { top: calc(var(--pt) + 5svh); inset-inline-start: var(--gutter); }
.hero__w--2 { bottom: 15svh; inset-inline-end: var(--gutter); font-style: italic; }
html[lang="fa"] .hero__name { font-family: var(--fa); font-weight: 300; line-height: 1.25; letter-spacing: 0; font-size: clamp(64px, 12.5vw, 250px); }
html[lang="fa"] .hero .hero__w--2 { font-style: normal; bottom: 12svh; }
html[lang="fa"] .hero .hero__w--1 { top: var(--pt); }
html[lang="fa"] .hero__name--line { -webkit-text-stroke-width: 1.2px; }

/* The light. One very large darkness layer with a soft hole in its centre, moved and
   scaled with transforms only, so following the pointer never repaints anything. */
.hero__dark {
	--R: 26vmax;
	position: absolute;
	z-index: 2;
	left: 0;
	top: 0;
	width: 260vmax;
	height: 260vmax;
	margin: -130vmax 0 0 -130vmax;
	pointer-events: none;
	background: radial-gradient(circle var(--R) at 50% 50%, transparent 0, rgba(10, 9, 8, .05) 20%, rgba(10, 9, 8, .55) 52%, rgba(10, 9, 8, .94) 82%, var(--ink) 100%);
	transform: translate3d(50vw, 40svh, 0);
	will-change: transform;
}
.hero__halo {
	position: absolute;
	z-index: 3;
	left: 0;
	top: 0;
	width: 40vmax;
	height: 40vmax;
	margin: -20vmax 0 0 -20vmax;
	pointer-events: none;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(242, 166, 79, .12), rgba(242, 166, 79, .035) 55%, transparent);
	transform: translate3d(50vw, 40svh, 0);
	will-change: transform;
}
.hero__fade { position: absolute; inset: 0; z-index: 6; background: var(--ink); opacity: 0; pointer-events: none; will-change: opacity; }
/* Ignition: the scene opens black and the candle catches. Pure CSS, so the hero shows even if JS fails. */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 7;
	background: var(--ink);
	pointer-events: none;
	opacity: 0;
}
.js .hero::before { animation: ty-ignite 1.8s cubic-bezier(.45, 0, .2, 1) .15s both; }
@keyframes ty-ignite { 0% { opacity: 1; } 35% { opacity: .82; } 100% { opacity: 0; } }

.hero__alt {
	position: absolute;
	z-index: 5;
	top: calc(var(--pt) - .3em);
	inset-inline-start: var(--gutter);
	margin: 0;
	font: 300 clamp(20px, 1.9vw, 30px)/1.6 var(--fa);
	color: var(--flame);
}
.hero__alt[lang="en"] { font: 400 12px/1 "Plex Mono", monospace; letter-spacing: .24em; text-transform: uppercase; color: var(--flame); top: calc(var(--pt) - 1.6em); }
.hero__roles {
	position: relative;
	z-index: 5;
	grid-row: 2;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-block: 18px 26px;
	border-block-start: 1px solid var(--line);
	font: 400 var(--label-size)/1.4 var(--mono);
	letter-spacing: var(--label-track);
	text-transform: uppercase;
	color: var(--bone-2);
}
html[lang="fa"] .hero__roles { text-transform: none; }
.hero__hint {
	position: absolute;
	z-index: 5;
	left: 50%;
	top: calc(var(--pt) + var(--pw) * 1.25 + 16px);
	margin: 0;
	transform: translateX(-50%);
	white-space: nowrap;
	font: 400 var(--label-size)/1 var(--mono);
	letter-spacing: var(--label-track);
	text-transform: uppercase;
	color: var(--bone-3);
	transition: opacity 1s;
}
.js .hero__hint { animation: ty-fade-in 1.2s ease 2s both; }
html[lang="fa"] .hero__hint { text-transform: none; }
.hero__hint::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-end: 10px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 14px 3px rgba(242, 166, 79, .55); animation: flicker 2.6s infinite; vertical-align: 0; }
.hero.is-touched .hero__hint { opacity: 0; }
@keyframes flicker { 0%, 100% { opacity: 1; } 45% { opacity: .7; } 50% { opacity: .95; } 72% { opacity: .55; } }

@media (max-width: 860px) {
	.hero { --pw: 78vw; --pt: 19svh; }
	.hero__dark { --R: 30vmax; }
	.hero__name { font-size: clamp(64px, 21vw, 150px); }
	/* both words hug the portrait's bottom edge: the first overlaps it, the second sits just under */
	.hero .hero__w--1, html[lang="fa"] .hero .hero__w--1 { top: calc(var(--pt) + var(--pw) * 1.25 - .5em); bottom: auto; }
	.hero .hero__w--2, html[lang="fa"] .hero .hero__w--2 { top: calc(var(--pt) + var(--pw) * 1.25 + .36em); bottom: auto; }
	html[lang="fa"] .hero .hero__w--1 { top: calc(var(--pt) + var(--pw) * 1.25 - .62em); }
	html[lang="fa"] .hero .hero__w--2 { top: calc(var(--pt) + var(--pw) * 1.25 + .5em); }
	html[lang="fa"] .hero__name { font-size: clamp(56px, 19vw, 130px); }
	.hero__alt { top: calc(var(--pt) - 1.9em); }
	.hero__hint { display: none; }
	.hero__roles { flex-direction: column; gap: 4px; }
}

/* ==========================================================================
   STATEMENT — words light up as you read down.
   ========================================================================== */
.statement { padding: clamp(110px, 22vh, 240px) var(--gutter) clamp(90px, 16vh, 180px); }
.statement__text {
	max-width: 19em;
	font: 400 clamp(30px, 4.3vw, 72px)/1.1 var(--serif);
	letter-spacing: -.01em;
}
html[lang="fa"] .statement__text { font-weight: 300; line-height: 1.6; font-size: clamp(26px, 3.4vw, 54px); max-width: 22em; }
.statement__text .w { opacity: .14; transition: opacity .6s ease, color .6s ease, text-shadow .6s ease; }
.statement__text .w.on { opacity: 1; }
.statement__text .w.front { color: var(--flame); text-shadow: 0 0 22px rgba(242, 166, 79, .45); }

/* ==========================================================================
   FILM | THEATER — the circle from her sketch, split down the middle.
   ========================================================================== */
.worlds { padding: clamp(60px, 10vh, 120px) var(--gutter); }
/* Each half is a full-size layer; the film layer is a sliding window over the theater layer
   (outer box translates, inner box counter-translates), so the wipe is pure transform. */
.orb {
	--d: 1;
	position: relative;
	width: min(86vw, 80svh, 840px);
	aspect-ratio: 1;
	margin-inline: auto;
	border-radius: 50%;
	overflow: hidden;
	isolation: isolate;
	background: var(--ink-2);
	box-shadow: 0 0 0 1px var(--line), 0 0 140px 10px rgba(242, 166, 79, .04);
	-webkit-mask-image: -webkit-radial-gradient(white, black);
}
html[dir="rtl"] .orb { --d: -1; }
.orb__half { position: absolute; inset: 0; display: block; overflow: hidden; outline-offset: -8px; }
.orb__half--film { z-index: 2; }
.orb__inner { position: absolute; inset: 0; }
.orb__half--film, .orb__inner, .orb__cap, .orb__seam { transition: transform 1.15s var(--ease); will-change: transform; }
.orb__half--film { transform: translate3d(calc(-50% * var(--d)), 0, 0); }
.orb__half--film .orb__inner { transform: translate3d(calc(50% * var(--d)), 0, 0); }
.orb__img {
	position: absolute;
	top: 0;
	width: 67%;
	height: 100%;
	object-fit: cover;
	--b: .55;
	filter: grayscale(1) brightness(var(--b)) contrast(1.08);
	transition: filter 1.15s var(--ease);
	will-change: filter;
}
.orb__half--film .orb__img { --b: .95; }
.orb__half--theater .orb__img { height: 118%; object-position: 50% 20%; } /* pushes the agency credit line below the circle */
.orb__half--film .orb__img { inset-inline-start: 0; }
.orb__half--theater .orb__img { inset-inline-end: 0; }
.orb__cap { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; pointer-events: none; }
.orb__half--film .orb__cap { transform: translate3d(calc(-25% * var(--d)), 0, 0); }
.orb__half--theater .orb__cap { transform: translate3d(calc(25% * var(--d)), 0, 0); }
.orb__label { font: italic 400 clamp(34px, 5.6vw, 88px)/1 var(--serif); text-shadow: 0 2px 30px rgba(0, 0, 0, .6); }
html[lang="fa"] .orb__label { font-style: normal; font-weight: 300; }
.orb__count { font: 400 var(--label-size)/1 var(--mono); letter-spacing: .2em; color: var(--bone-2); }
.orb__seam {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	background: linear-gradient(90deg, transparent calc(50% - .5px), var(--bone-2) calc(50% - .5px), var(--bone-2) calc(50% + .5px), transparent calc(50% + .5px));
	-webkit-mask-image: linear-gradient(transparent, #000 28%, #000 72%, transparent);
	mask-image: linear-gradient(transparent, #000 28%, #000 72%, transparent);
}
/* film lit */
.orb:has(.orb__half--film:hover) .orb__half--film, .orb:has(.orb__half--film:focus-visible) .orb__half--film { transform: translate3d(calc(-33% * var(--d)), 0, 0); }
.orb:has(.orb__half--film:hover) .orb__half--film .orb__inner, .orb:has(.orb__half--film:focus-visible) .orb__half--film .orb__inner { transform: translate3d(calc(33% * var(--d)), 0, 0); }
.orb:has(.orb__half--film:hover) .orb__half--film .orb__cap, .orb:has(.orb__half--film:focus-visible) .orb__half--film .orb__cap { transform: translate3d(calc(-16.5% * var(--d)), 0, 0); }
.orb:has(.orb__half--film:hover) .orb__half--theater .orb__cap, .orb:has(.orb__half--film:focus-visible) .orb__half--theater .orb__cap { transform: translate3d(calc(33.5% * var(--d)), 0, 0); }
.orb:has(.orb__half--film:hover) .orb__seam, .orb:has(.orb__half--film:focus-visible) .orb__seam { transform: translate3d(calc(17% * var(--d)), 0, 0); }
/* theater lit */
.orb:has(.orb__half--theater:hover) .orb__half--film, .orb:has(.orb__half--theater:focus-visible) .orb__half--film { transform: translate3d(calc(-67% * var(--d)), 0, 0); }
.orb:has(.orb__half--theater:hover) .orb__half--film .orb__inner, .orb:has(.orb__half--theater:focus-visible) .orb__half--film .orb__inner { transform: translate3d(calc(67% * var(--d)), 0, 0); }
.orb:has(.orb__half--theater:hover) .orb__half--film .orb__cap, .orb:has(.orb__half--theater:focus-visible) .orb__half--film .orb__cap { transform: translate3d(calc(-33.5% * var(--d)), 0, 0); }
.orb:has(.orb__half--theater:hover) .orb__half--theater .orb__cap, .orb:has(.orb__half--theater:focus-visible) .orb__half--theater .orb__cap { transform: translate3d(calc(16.5% * var(--d)), 0, 0); }
.orb:has(.orb__half--theater:hover) .orb__seam, .orb:has(.orb__half--theater:focus-visible) .orb__seam { transform: translate3d(calc(-17% * var(--d)), 0, 0); }
/* exposure */
.orb__half:hover .orb__img, .orb__half:focus-visible .orb__img { filter: grayscale(0) brightness(1) contrast(1); }
.orb:has(.orb__half:hover) .orb__half:not(:hover) .orb__img { filter: grayscale(1) brightness(calc(var(--b) * .5)) contrast(1.08); }

/* ==========================================================================
   FEATURE — Before Dawn, letterboxed; the bars open when it enters.
   ========================================================================== */
.feature { padding: clamp(60px, 10vh, 120px) var(--gutter); }
.feature__frame { position: relative; aspect-ratio: 2.39 / 1; overflow: hidden; background: #000; }
.feature__frame::before, .feature__frame::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	z-index: 2;
	height: 50.5%;
	background: var(--ink);
	transition: transform 1.6s var(--ease) .15s;
}
.feature__frame::before { top: 0; transform-origin: top; }
.feature__frame::after { bottom: 0; transform-origin: bottom; }
.feature__frame.is-in::before, .feature__frame.is-in::after { transform: scaleY(0); }
.js .feature__frame[data-reveal] { opacity: 1; transform: none; }
html:not(.js) .feature__frame::before, html:not(.js) .feature__frame::after { display: none; }
.feature__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__title { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; text-align: center; gap: 10px; padding: 16px; background: radial-gradient(ellipse at center, rgba(10, 9, 8, .35), transparent 70%); }
.feature__title h2 { font: 400 clamp(46px, 9vw, 168px)/.9 var(--serif); letter-spacing: -.02em; text-shadow: 0 0 60px rgba(0, 0, 0, .7); }
html[lang="fa"] .feature__title h2 { font-weight: 300; line-height: 1.3; }
.feature__alt { font: 400 clamp(18px, 2vw, 30px)/1.4 var(--fa); color: var(--flame); }
.feature__alt[lang="en"] { font-family: var(--serif); font-style: italic; }
html[lang="fa"] .feature__alt[lang="en"] { font-family: "Instrument Serif", serif; }
.feature__meta { display: flex; flex-wrap: wrap; gap: 10px 40px; justify-content: center; margin-block: 30px 10px; font: 400 15px/1.4 var(--mono); color: var(--bone); }
.feature__meta .k { margin-inline-end: 8px; }
.feature__actions { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.feature__actions .link-arrow { margin: 0; }

.btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 16px 26px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font: 400 var(--label-size)/1 var(--mono);
	letter-spacing: var(--label-track);
	text-transform: uppercase;
	transition: border-color .4s, background .4s, color .4s;
}
html[lang="fa"] .btn { text-transform: none; }
.btn:hover { border-color: var(--flame); color: var(--flame); }
.btn__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 12px 2px rgba(242, 166, 79, .6); animation: flicker 2.6s infinite; }

/* Laurels ------------------------------------------------------------------------- */
.laurels { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 34px; margin-block: 40px; }
.laurel-item { display: inline-flex; align-items: center; gap: 6px; color: var(--flame); }
.laurel { width: 26px; height: 64px; flex: none; opacity: .9; }
.laurel--r { transform: scaleX(-1); }
html[dir="rtl"] .laurel--l { transform: scaleX(-1); }
html[dir="rtl"] .laurel--r { transform: none; }
.laurel-item__body { display: grid; justify-items: center; text-align: center; gap: 2px; max-width: 15ch; font: 400 9.5px/1.25 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-2); }
html[lang="fa"] .laurel-item__body { font-size: 12px; letter-spacing: 0; text-transform: none; }
.laurel-item__status { font-size: 11px; color: var(--bone); }
html[lang="fa"] .laurel-item__status { font-size: 13px; font-weight: 500; }
.laurel-item--winner .laurel-item__status { color: var(--flame); }
.laurel-item__note { color: var(--bone); }
.laurel-item__year { color: var(--bone-3); }

/* ==========================================================================
   INDEX — every work in one list; a lit preview follows the pointer.
   ========================================================================== */
.index { position: relative; padding: clamp(60px, 10vh, 120px) var(--gutter); }
.index__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 30%); gap: clamp(30px, 5vw, 96px); align-items: start; }
.index__head, .index__link {
	display: grid;
	grid-template-columns: 3ch 6ch minmax(0, 1fr) minmax(0, .62fr);
	gap: 22px;
	align-items: baseline;
}
.index__head { padding-block-end: 12px; font: 400 var(--label-size)/1 var(--mono); letter-spacing: var(--label-track); text-transform: uppercase; color: var(--bone-3); }
html[lang="fa"] .index__head { text-transform: none; }
.index__row { position: relative; border-block-start: 1px solid var(--line); }
.index__row:last-child { border-block-end: 1px solid var(--line); }
/* a flame hairline runs along the active row */
.index__row::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: -1px;
	height: 1px;
	background: linear-gradient(90deg, var(--flame), rgba(242, 166, 79, .15));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .9s var(--ease);
	pointer-events: none;
}
html[dir="rtl"] .index__row::after { transform-origin: right; background: linear-gradient(270deg, var(--flame), rgba(242, 166, 79, .15)); }
.index__row:has(.index__link:hover)::after, .index__row:has(.index__link:focus-visible)::after { transform: scaleX(1); }
.index__link { padding-block: 20px; transition: opacity .55s ease; }
.index__list:has(.index__link:hover) .index__link:not(:hover) { opacity: .32; }
.index__n, .index__year, .index__role { font: 400 12px/1.4 var(--mono); letter-spacing: .06em; color: var(--bone-2); font-variant-numeric: tabular-nums; }
html[lang="fa"] .index__n, html[lang="fa"] .index__year, html[lang="fa"] .index__role { font-size: 14px; letter-spacing: 0; }
.index__disc { display: block; margin-block-start: 4px; color: var(--bone-3); }
.index__title { position: relative; font: 400 clamp(24px, 2.6vw, 42px)/1.05 var(--serif); }
html[lang="fa"] .index__title { font-weight: 300; line-height: 1.5; }
/* the candle: a small flame dot lights beside the hovered title */
.index__title::before {
	content: "";
	position: absolute;
	inset-inline-start: -15px;
	top: 50%;
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-radius: 50%;
	background: var(--flame);
	box-shadow: 0 0 12px 3px rgba(242, 166, 79, .5);
	transform: scale(0);
	transition: transform .5s var(--ease);
}
.index__link:hover .index__title::before, .index__link:focus-visible .index__title::before { transform: scale(1); }

/* viewfinder: a still frame beside the list that crossfades to the hovered work */
.index__view { position: sticky; top: 15vh; }
.index__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.index__frame img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transform: scale(1.06);
	transition: opacity .9s ease, transform 2.2s var(--ease);
	will-change: opacity, transform;
}
.index__frame img.is-on { opacity: 1; transform: scale(1); }
.index__frame::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: radial-gradient(ellipse 75% 70% at 50% 42%, transparent 40%, rgba(10, 9, 8, .78) 100%);
}
.index__frame::before {
	content: "";
	position: absolute;
	inset: 14px;
	z-index: 2;
	pointer-events: none;
	--c: rgba(236, 229, 217, .55);
	background:
		linear-gradient(var(--c), var(--c)) left top / 18px 1px no-repeat,
		linear-gradient(var(--c), var(--c)) left top / 1px 18px no-repeat,
		linear-gradient(var(--c), var(--c)) right top / 18px 1px no-repeat,
		linear-gradient(var(--c), var(--c)) right top / 1px 18px no-repeat,
		linear-gradient(var(--c), var(--c)) left bottom / 18px 1px no-repeat,
		linear-gradient(var(--c), var(--c)) left bottom / 1px 18px no-repeat,
		linear-gradient(var(--c), var(--c)) right bottom / 18px 1px no-repeat,
		linear-gradient(var(--c), var(--c)) right bottom / 1px 18px no-repeat;
}
.index__cap { display: flex; justify-content: space-between; gap: 16px; margin-block-start: 14px; font: 400 11px/1.4 var(--mono); letter-spacing: .08em; color: var(--bone-2); }
.index__cap [data-vf-meta] { color: var(--bone-3); text-align: end; }
html[lang="fa"] .index__cap { font-size: 13px; letter-spacing: 0; }
.index__cap span { transition: opacity .4s ease; }
.index__cap.is-swapping span { opacity: 0; }

@media (max-width: 1000px) {
	.index__wrap { grid-template-columns: 1fr; }
	.index__view { display: none; }
}
@media (max-width: 860px) {
	.index__head { display: none; }
	.index__link { grid-template-columns: 6ch 1fr; gap: 4px 14px; }
	.index__n { display: none; }
	.index__role { grid-column: 2; }
	.index__title::before { display: none; }
}

/* ==========================================================================
   CONTACT SHEET — frames, edge numbers, red grease-pencil marks.
   ========================================================================== */
.sheet-home, .card-home, .fests { padding: clamp(60px, 10vh, 120px) var(--gutter); }
.sheet { padding: clamp(14px, 2.4vw, 34px); background: #060505; border: 1px solid var(--line); }
.sheet__frames { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(44%, 200px), 1fr)); gap: 22px clamp(10px, 1.4vw, 20px); }
.frame { position: relative; transition: opacity .6s ease; }
.sheet__frames:has(.frame__a:hover) .frame:not(:hover) { opacity: .55; }
.frame__a { position: relative; display: block; }
.frame__edge { display: flex; justify-content: space-between; padding-block-end: 7px; font: 400 9px/1 "Plex Mono", monospace; letter-spacing: .22em; color: var(--ember); direction: ltr; transition: color .5s ease; }
.frame__a:hover .frame__edge, .frame__a:focus-visible .frame__edge { color: var(--flame); }
.frame__pic { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-3); }
/* under-exposed until looked at, then it develops */
.frame__pic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.74) contrast(1.04); transition: filter 1.1s var(--ease); will-change: filter; }
.frame__a:hover .frame__pic img, .frame__a:focus-visible .frame__pic img { filter: grayscale(0) brightness(1) contrast(1); }
.frame--doc .frame__pic { background: #000; }
.frame--doc .frame__pic img { object-fit: contain; filter: grayscale(.5) brightness(.75); }
.frame__credit { display: block; margin-block-start: 8px; font: 400 9.5px/1.4 var(--mono); letter-spacing: .06em; color: var(--bone-3); }
html[lang="fa"] .frame__credit { font-size: 12px; letter-spacing: 0; }

/* ==========================================================================
   CASTING CARD — her "personality" sheet, as a clapperboard that claps.
   ========================================================================== */
.clapper { max-width: 820px; margin-inline: auto; }
.clapper__sticks { position: relative; height: 92px; }
.clapper__stick {
	position: absolute;
	inset-inline: 0;
	height: 42px;
	background: repeating-linear-gradient(-55deg, var(--bone) 0 34px, #111 34px 68px);
	border: 1px solid var(--bone-2);
	transform-origin: 0 100%;
}
.clapper__stick--bottom { bottom: 0; }
.clapper__stick--top { bottom: 46px; transform: rotate(-13deg); transition: transform .32s var(--snap); }
html[dir="rtl"] .clapper__stick { background: repeating-linear-gradient(55deg, var(--bone) 0 34px, #111 34px 68px); transform-origin: 100% 100%; }
html[dir="rtl"] .clapper__stick--top { transform: rotate(13deg); }
.clapper.is-clapped .clapper__stick--top { transform: rotate(0deg) translateY(4px); }
.clapper__board { border: 1px solid var(--bone-2); border-top: 0; background: #0e0c0b; }
.clapper__prod { padding: 18px 24px; border-block-end: 1px solid var(--line); font: italic 400 clamp(26px, 3vw, 40px)/1 var(--serif); }
html[lang="fa"] .clapper__prod { font-style: normal; font-weight: 300; line-height: 1.5; }
.clapper__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.clapper__cell { padding: 18px 24px; border-block-end: 1px solid var(--line); }
.clapper__cell:nth-child(odd) { border-inline-end: 1px solid var(--line); }
.clapper__cell dt { font: 400 10px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--bone-3); margin-block-end: 10px; }
html[lang="fa"] .clapper__cell dt { font-size: 12px; letter-spacing: 0; }
.clapper__cell dd { font: 400 clamp(22px, 2.4vw, 32px)/1.1 var(--serif); }
html[lang="fa"] .clapper__cell dd { font-weight: 300; line-height: 1.5; }
.clapper__foot { display: flex; gap: 14px; flex-wrap: wrap; padding: 16px 24px; font: 400 12px/1.4 var(--mono); letter-spacing: .08em; color: var(--bone-2); }
.clapper__foot span { color: var(--bone-3); text-transform: uppercase; }
.clapper__foot a:hover { color: var(--flame); }
@media (max-width: 560px) {
	.clapper__grid { grid-template-columns: 1fr; }
	.clapper__cell:nth-child(odd) { border-inline-end: 0; }
	.clapper__stick { background-size: auto; }
}

/* Festival list ---------------------------------------------------------------------- */
.fest__row {
	display: grid;
	grid-template-columns: 6ch minmax(0, 24ch) minmax(0, 1fr) auto;
	gap: 22px;
	align-items: baseline;
	padding-block: 16px;
	border-block-start: 1px solid var(--line);
}
.fest__row:last-child { border-block-end: 1px solid var(--line); }
.fest__year, .fest__status, .fest__work { font: 400 12px/1.4 var(--mono); letter-spacing: .06em; color: var(--bone-2); }
html[lang="fa"] .fest__year, html[lang="fa"] .fest__status, html[lang="fa"] .fest__work { font-size: 14px; letter-spacing: 0; }
.fest__status { text-transform: uppercase; }
html[lang="fa"] .fest__status { text-transform: none; }
.fest__row--winner .fest__status, .fest__row--honourable-mention .fest__status { color: var(--flame); }
.fest__name { font: 400 clamp(20px, 1.9vw, 28px)/1.2 var(--serif); }
html[lang="fa"] .fest__name { font-family: "Instrument Serif", var(--fa); }
.fest__work:hover { color: var(--flame); }
@media (max-width: 700px) {
	.fest__row { grid-template-columns: 6ch 1fr; gap: 4px 14px; }
	.fest__name, .fest__work { grid-column: 2; }
}

/* Contact ---------------------------------------------------------------------------- */
.contact { padding: clamp(80px, 14vh, 160px) var(--gutter) clamp(60px, 10vh, 120px); }
.contact__lede { font: 400 var(--label-size)/1.4 var(--mono); letter-spacing: var(--label-track); text-transform: uppercase; color: var(--bone-2); margin-block-end: 18px; }
html[lang="fa"] .contact__lede { text-transform: none; }
.contact__email {
	display: inline-block;
	font: 400 clamp(34px, 7.6vw, 136px)/1 "Instrument Serif", serif;
	letter-spacing: -.02em;
	overflow-wrap: anywhere;
	background: linear-gradient(var(--flame), var(--flame)) 0 100% / 0 1px no-repeat;
	transition: background-size .8s var(--ease), color .4s;
	direction: ltr;
	padding-block-end: 6px;
}
.contact__email:hover { color: var(--flame); background-size: 100% 1px; }
.contact__links { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-block-start: 44px; font: 400 var(--label-size)/1 var(--mono); letter-spacing: var(--label-track); text-transform: uppercase; }
.contact__links a { color: var(--bone-2); transition: color .3s; }
.contact__links a:hover { color: var(--flame); }

/* Footer ------------------------------------------------------------------------------ */
.foot { padding: 40px var(--gutter) 30px; border-block-start: 1px solid var(--line); font: 400 var(--label-size)/1.5 var(--mono); letter-spacing: var(--label-track); text-transform: uppercase; color: var(--bone-2); }
html[lang="fa"] .foot { text-transform: none; }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; }
.foot__name { color: var(--bone); margin-inline-end: auto; }
.foot__links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot__links a:hover { color: var(--flame); }
.foot__fine { margin-block-start: 26px; color: var(--bone-3); font-size: 10px; }

/* ==========================================================================
   ARCHIVES — /film/, /theater/, /works/ …
   ========================================================================== */
.archive, .pictures, .plain { padding: clamp(120px, 20vh, 200px) var(--gutter) clamp(60px, 10vh, 120px); }
.archive__head { margin-block-end: clamp(50px, 9vh, 110px); }
.archive__title { margin-block: 14px 26px; font: 400 clamp(64px, 13vw, 230px)/.85 var(--serif); letter-spacing: -.03em; }
html[lang="fa"] .archive__title { font-weight: 300; line-height: 1.3; letter-spacing: 0; }
.archive__filters { display: flex; flex-wrap: wrap; gap: 10px 26px; font: 400 var(--label-size)/1 var(--mono); letter-spacing: var(--label-track); text-transform: uppercase; }
html[lang="fa"] .archive__filters { text-transform: none; }
.archive__filters a { color: var(--bone-3); padding-block: 6px; border-block-end: 1px solid transparent; transition: color .3s, border-color .3s; }
.archive__filters a:hover, .archive__filters a[aria-current] { color: var(--bone); border-color: var(--flame); }

.reels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 7vw, 110px) clamp(20px, 5vw, 80px); }
.reels__item:nth-child(even) { margin-block-start: clamp(0px, 16vh, 220px); }
.reels__a { display: block; }
.reels__pic { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-3); }
.reels__item { transition: opacity .6s ease; }
.reels:has(.reels__a:hover) .reels__item:not(:hover) { opacity: .5; }
.reels__pic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.9) brightness(.62); transition: filter 1.2s var(--ease); will-change: filter; }
.reels__a:hover .reels__pic img, .reels__a:focus-visible .reels__pic img { filter: grayscale(0) brightness(1); }
.reels__meta { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 16px; align-items: baseline; padding-block-start: 16px; }
.reels__n, .reels__year, .reels__role { font: 400 11px/1.4 var(--mono); letter-spacing: .1em; color: var(--bone-3); }
html[lang="fa"] .reels__n, html[lang="fa"] .reels__year, html[lang="fa"] .reels__role { font-size: 13px; letter-spacing: 0; }
.reels__title {
	justify-self: start;
	font: 400 clamp(24px, 2.6vw, 40px)/1.15 var(--serif);
	background: linear-gradient(var(--flame), var(--flame)) 0 100% / 0 1px no-repeat;
	transition: background-size .9s var(--ease);
}
html[dir="rtl"] .reels__title { background-position: 100% 100%; }
html[lang="fa"] .reels__title { font-weight: 300; line-height: 1.5; }
.reels__a:hover .reels__title, .reels__a:focus-visible .reels__title { background-size: 100% 1px; }
.reels__role { grid-column: 2 / 4; color: var(--bone-2); }
@media (max-width: 700px) {
	.reels { grid-template-columns: 1fr; }
	.reels__item:nth-child(even) { margin-block-start: 0; }
}
.empty { font: italic 400 28px/1.3 var(--serif); color: var(--bone-2); }

.pictures__group { margin-block-end: clamp(70px, 12vh, 140px); }
.pictures__meta { margin-block: -40px 22px; font: 400 12px/1.4 var(--mono); letter-spacing: .06em; color: var(--bone-2); }
.pictures__meta a { color: var(--bone); border-block-end: 1px solid var(--flame); }

.journal__item a { display: grid; grid-template-columns: 12ch 1fr; gap: 6px 24px; padding-block: 24px; border-block-start: 1px solid var(--line); }
.journal__item time { font: 400 12px/1.6 var(--mono); color: var(--bone-3); }
.journal__title { font: 400 clamp(26px, 3vw, 44px)/1.1 var(--serif); }
.journal__ex { grid-column: 2; color: var(--bone-2); }
.journal__item a:hover .journal__title { color: var(--flame); }

/* ==========================================================================
   SINGLE WORK
   ========================================================================== */
.work { padding: clamp(110px, 18vh, 180px) var(--gutter) 0; }
.work__head { margin-block-end: clamp(40px, 7vh, 90px); }
.work__back { display: inline-flex; align-items: center; gap: 10px; font: 400 var(--label-size)/1 var(--mono); letter-spacing: var(--label-track); text-transform: uppercase; color: var(--bone-2); }
.work__back::before { content: "←"; }
html[dir="rtl"] .work__back::before { content: "→"; }
.work__back:hover { color: var(--flame); }
.work__title { margin-block: 20px 8px; font: 400 clamp(56px, 10.5vw, 190px)/.88 var(--serif); letter-spacing: -.03em; }
html[lang="fa"] .work__title { font-weight: 300; line-height: 1.35; letter-spacing: 0; }
.work__alt { font: 400 clamp(22px, 2.6vw, 40px)/1.5 var(--fa); color: var(--flame); }
.work__alt[lang="en"] { font-family: "Instrument Serif", serif; font-style: italic; }
.work__facts { display: flex; flex-wrap: wrap; gap: 18px 48px; margin-block-start: 34px; padding-block-start: 18px; border-block-start: 1px solid var(--line); }
.work__facts dt { font: 400 10px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--bone-3); margin-block-end: 8px; }
html[lang="fa"] .work__facts dt { font-size: 12px; letter-spacing: 0; }
.work__facts dd { font: 400 15px/1.4 var(--mono); }
html[lang="fa"] .work__facts dd { font-size: 16px; }

.work__cover { position: relative; margin-block-end: clamp(50px, 9vh, 110px); }
.work--wide .work__cover img { width: 100%; max-height: 86svh; object-fit: cover; }
.work--tall .work__cover { max-width: min(560px, 100%); margin-inline: auto; }
.work__cover figcaption, .reel figcaption { margin-block-start: 10px; font: 400 10px/1.4 var(--mono); letter-spacing: .08em; color: var(--bone-3); }
[data-light-soft] { position: relative; overflow: hidden; }
html:not(.js) [data-light-soft]::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(10, 9, 8, .7) 100%);
}
.soft-light {
	position: absolute;
	left: 0;
	top: 0;
	width: 240vmax;
	height: 240vmax;
	margin: -120vmax 0 0 -120vmax;
	pointer-events: none;
	background: radial-gradient(circle 40vmax at 50% 50%, transparent 0, rgba(10, 9, 8, .18) 40%, rgba(10, 9, 8, .72) 100%);
	will-change: transform;
}

.work__body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); margin-block-end: clamp(60px, 10vh, 120px); }
@media (max-width: 860px) { .work__body { grid-template-columns: 1fr; } }
.prose { max-width: 36em; font-size: clamp(20px, 1.6vw, 25px); line-height: 1.45; }
html[lang="fa"] .prose { font-size: clamp(17px, 1.3vw, 20px); line-height: 2.1; font-weight: 300; }
.prose p + p { margin-block-start: 1em; }
.prose a { border-block-end: 1px solid var(--flame); }
.prose em, .prose i { color: var(--bone); }
.eyebrow + .credits { margin-block-start: 16px; }
.credits > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; padding-block: 11px; border-block-start: 1px solid var(--line); }
.credits dt { font: 400 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--bone-3); }
html[lang="fa"] .credits dt { font-size: 13px; letter-spacing: 0; text-transform: none; }
.credits dd { font-size: 19px; line-height: 1.3; }
.work__links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-block-start: 22px; font: 400 12px/1.4 var(--mono); letter-spacing: .06em; }
.work__links a { color: var(--bone); background: linear-gradient(var(--flame), var(--flame)) 0 100% / 100% 1px no-repeat; padding-block-end: 3px; transition: color .3s; }
.work__links a:hover { color: var(--flame); }
.contact__links .handle { unicode-bidi: isolate; }
.contact__links .handle { text-transform: none; letter-spacing: .04em; color: var(--bone); }

.work__videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 30px; margin-block-end: clamp(60px, 10vh, 120px); }
.reel video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.work__laurels, .work__gallery { margin-block-end: clamp(70px, 12vh, 140px); }
.laurels--wrap { justify-content: flex-start; margin-block: 0 50px; }

.next-scene { border-block-start: 1px solid var(--line); }
.next-scene a { display: block; padding-block: clamp(50px, 10vh, 120px); }
.next-scene__title {
	display: inline-block;
	margin-block-start: 14px;
	font: 400 clamp(46px, 8vw, 140px)/1.05 var(--serif);
	letter-spacing: -.02em;
	color: var(--bone-2);
	background: linear-gradient(var(--flame), var(--flame)) 0 100% / 0 1px no-repeat;
	transition: color .6s ease, background-size 1s var(--ease);
}
html[dir="rtl"] .next-scene__title { background-position: 100% 100%; }
html[lang="fa"] .next-scene__title { font-weight: 300; line-height: 1.4; }
.next-scene a:hover .next-scene__title, .next-scene a:focus-visible .next-scene__title { color: var(--bone); background-size: 100% 1px; }

/* ==========================================================================
   PROFILE
   ========================================================================== */
.profile { padding: clamp(120px, 20vh, 200px) var(--gutter) 0; }
.profile__name { margin-block: 14px 12px; font: 400 clamp(64px, 13vw, 230px)/.85 var(--serif); letter-spacing: -.03em; }
html[lang="fa"] .profile__name { font-weight: 300; line-height: 1.3; letter-spacing: 0; }
.profile__roles { font: 400 var(--label-size)/1.4 var(--mono); letter-spacing: var(--label-track); text-transform: uppercase; color: var(--bone-2); }
html[lang="fa"] .profile__roles { text-transform: none; }
.profile__portrait { margin-block: clamp(50px, 9vh, 100px); }
.profile__portrait img { width: 100%; max-height: 78svh; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.profile__bio { margin-block-end: clamp(80px, 14vh, 160px); margin-inline-start: auto; font-size: clamp(22px, 2vw, 32px); }
html[lang="fa"] .profile__bio { font-size: clamp(18px, 1.5vw, 23px); }
.profile__card, .profile__training, .profile__fests { margin-block-end: clamp(80px, 14vh, 160px); }

.contact-page { padding-block-start: clamp(60px, 10vh, 120px); }
.contact-page__card { padding: 0 var(--gutter) clamp(80px, 12vh, 140px); }
.contact-page__text { padding: 0 var(--gutter) 60px; }

.plain__cover { margin-block-end: 60px; }
.plain__cover img { width: 100%; max-height: 80svh; object-fit: cover; }

/* 404 ---------------------------------------------------------------------------------- */
.lost { position: relative; min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 18px; padding: var(--gutter); overflow: hidden; }
.lost .hero__dark { --R: 40vmax; opacity: .92; }
.lost > :not(.hero__dark):not(.hero__halo) { position: relative; z-index: 4; }
.lost__title { font: italic 400 clamp(48px, 9vw, 150px)/.95 var(--serif); }
html[lang="fa"] .lost__title { font-style: normal; font-weight: 300; line-height: 1.4; }
.lost__sub { color: var(--bone-2); max-width: 30em; }

/* Screening room (video + zoom dialog) -------------------------------------------------- */
.screen { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 4, 4, .97); color: var(--bone); }
.screen::backdrop { background: #000; }
.screen[open] { display: grid; place-items: center; animation: ty-fade-in .5s ease; }
.screen__stage { width: min(92vw, calc(88dvh * 16 / 9)); }
.screen__stage video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.screen__stage img { width: auto; max-width: 92vw; max-height: 84dvh; margin-inline: auto; object-fit: contain; }
.screen__stage figcaption { margin-block-start: 12px; text-align: center; font: 400 11px/1.4 var(--mono); letter-spacing: .08em; color: var(--bone-3); }
.screen__close { position: fixed; top: 18px; inset-inline-end: var(--gutter); z-index: 2; font: 400 var(--label-size)/1 var(--mono); letter-spacing: var(--label-track); text-transform: uppercase; color: var(--bone-2); padding: 10px 0; }
.screen__close:hover { color: var(--flame); }

/* Motion preferences ----------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.grain { animation: none; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.statement__text .w { opacity: 1; }
	.clapper__stick--top { transform: none; }
	.feature__frame::before, .feature__frame::after { display: none; }
}

@media print {
	.grain, .bar, .hero__dark, .hero::after, .screen { display: none !important; }
	body { background: #fff; color: #000; }
}

@media (max-width: 700px) {
	.feature__frame { aspect-ratio: 16 / 10; }
	.feature__title h2 { font-size: clamp(40px, 13vw, 72px); }
}
