/* =========================================================
   ANNU — landing page
   Palette taken from the poster: night ink, coral-red title,
   gold heartbeat line, blossom pink, Galilee sky.
   ========================================================= */
:root {
  --ink: #0a0b0d;
  --ink-2: #111215;
  --ink-3: #191a1f;
  --line: rgba(255, 255, 255, .09);
  --text: #f4f1ec;
  --muted: #a9a49c;
  --red: #e4544b;
  --red-2: #c93d35;
  --gold: #f6d58e;
  --blossom: #f2b9c6;
  --sky: #a9c6db;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --f-body: "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-display: "Karantina", "Heebo", "Arial Narrow", sans-serif;
  color-scheme: dark;
}
.lang-ar { --f-body: "Noto Kufi Arabic", "Heebo", system-ui, sans-serif; --f-display: "Lalezar", "Noto Kufi Arabic", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 17px/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.lang-ar body, body.lang-ar { font-size: 16px; line-height: 1.95; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 999; background: var(--red); padding: 8px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.center { text-align: center; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- buttons */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: var(--h); padding-inline: 1.5em; border: 0; border-radius: 999px;
  font-weight: 700; font-size: 1rem; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, opacity .2s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:active { transform: scale(.97); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(228, 84, 75, .7); }
.btn-red:hover { background: #ee6158; box-shadow: 0 14px 36px -10px rgba(228, 84, 75, .85); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.btn-lg { --h: 58px; font-size: 1.08rem; padding-inline: 1.8em; }
.btn-sm { --h: 40px; font-size: .92rem; padding-inline: 1.1em; }
.btn-block { width: 100%; }
.btn .price { font-style: normal; font-weight: 500; opacity: .9; padding-inline-start: .7em; margin-inline-start: .1em; border-inline-start: 1px solid rgba(255,255,255,.35); }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .22); }
.icon-btn svg { width: 19px; height: 19px; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; margin-top: 10px; }

/* ---------- header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px;
  display: flex; align-items: center; gap: 28px; padding-inline: var(--gutter);
  background: linear-gradient(to bottom, rgba(10,11,13,.85), rgba(10,11,13,0));
  transition: background .35s, height .35s, box-shadow .35s;
}
.top.solid { background: rgba(10, 11, 13, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); height: 62px; box-shadow: 0 1px 0 var(--line); }
.brand { font: 700 34px/1 var(--f-display); color: var(--red); text-decoration: none; letter-spacing: .04em; }
.lang-ar .brand { font-size: 28px; letter-spacing: 0; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-size: .95rem; color: #ddd; transition: color .2s; }
.nav a:hover { color: #fff; }
.top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.langs { display: flex; background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px; }
.langs a { min-width: 38px; height: 34px; display: grid; place-items: center; padding: 0 10px; border-radius: 999px; font-size: .85rem; font-weight: 700; text-decoration: none; color: #cfcac2; transition: background .2s, color .2s; }
.langs a.on { background: #fff; color: #111; }
.langs a:not(.on):hover { color: #fff; background: rgba(255,255,255,.1); }

/* ---------- hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: 0; will-change: transform, opacity; }
.hero-content { z-index: 2; }
.hero-backdrop { display: none; }
.hero-video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); filter: saturate(1.05) contrast(1.04); }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--ink) 0%, rgba(10,11,13,.75) 22%, rgba(10,11,13,0) 55%),
    linear-gradient(to right, rgba(10,11,13,.85) 0%, rgba(10,11,13,.35) 45%, rgba(10,11,13,0) 70%),
    radial-gradient(ellipse at 70% 40%, rgba(0,0,0,0) 30%, rgba(0,0,0,.35) 100%);
}
[dir="rtl"] .hero-shade {
  background:
    linear-gradient(to top, var(--ink) 0%, rgba(10,11,13,.75) 22%, rgba(10,11,13,0) 55%),
    linear-gradient(to left, rgba(10,11,13,.85) 0%, rgba(10,11,13,.35) 45%, rgba(10,11,13,0) 70%),
    radial-gradient(ellipse at 30% 40%, rgba(0,0,0,0) 30%, rgba(0,0,0,.35) 100%);
}
.grain {
  position: absolute; inset: -50%; opacity: .14; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%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:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

.hero-content {
  position: absolute; inset-inline-start: var(--gutter); bottom: clamp(70px, 13vh, 150px);
  width: min(640px, calc(100% - 2 * var(--gutter))); will-change: transform, opacity;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.hero.trailer-mode .hero-content { opacity: 0; transform: translateY(30px); pointer-events: none; }
.hero.trailer-mode .hero-shade { opacity: .35; }
.hero-shade { transition: opacity .8s; }

.laurels { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; width: max-content; max-width: calc(100vw - 2 * var(--gutter)); }
.laurel { display: flex; align-items: center; gap: 4px; color: #efe7d6; opacity: 0; transform: translateY(10px); animation: up .9s var(--ease) forwards; }
.laurel:nth-child(2){animation-delay:.1s}.laurel:nth-child(3){animation-delay:.2s}.laurel:nth-child(4){animation-delay:.3s}
.laurel .lf { width: 15px; height: 40px; color: rgba(246, 213, 142, .9); }
.laurel .rf { transform: scaleX(-1); }
[dir="rtl"] .laurel .lf { transform: scaleX(-1); }
[dir="rtl"] .laurel .rf { transform: none; }
.laurel span { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.15; max-width: 130px; }
.laurel b { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.laurel i { font-style: normal; font-size: .64rem; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }

.award-pill { display: inline-flex; align-items: center; gap: 7px; margin: 6px 0 4px; padding: 4px 12px; border-radius: 999px; background: rgba(10,11,13,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(246,213,142,.35); color: var(--gold); font-size: .74rem; font-weight: 500; letter-spacing: .02em; opacity: 0; animation: up .9s 1.3s var(--ease) forwards; transform: translateY(10px); }
.award-pill svg { width: 8px; height: 19px; flex: none; }
.award-pill .rf, [dir="rtl"] .award-pill svg:first-child { transform: scaleX(-1); }
[dir="rtl"] .award-pill .rf { transform: none; }
.lbl-short { display: none; }
.kicker { margin: 0 0 4px; font-size: .95rem; letter-spacing: .28em; text-transform: uppercase; color: #e9e2d6; opacity: 0; animation: up 1s .35s var(--ease) forwards; }
[dir="rtl"] .kicker { letter-spacing: .06em; font-size: 1.05rem; }

.title { position: relative; margin: 0; line-height: .82; font-family: var(--f-display); font-weight: 700; color: var(--red); }
.title-main { display: block; font-size: clamp(120px, 21vw, 260px); letter-spacing: .02em; text-shadow: 0 10px 60px rgba(228, 84, 75, .25); opacity: 0; animation: titleIn 1.4s .45s var(--ease) forwards; }
.lang-ar .title-main { font-size: clamp(100px, 17vw, 210px); line-height: 1.05; letter-spacing: 0; }
.title-reflect::before { content: attr(data-text); }
.title-reflect {
  display: block; font-size: clamp(120px, 21vw, 260px); letter-spacing: .02em; transform: scaleY(-1); margin-top: -.18em; height: .42em; overflow: hidden;
  color: rgba(228, 84, 75, .35);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.65), transparent 80%); mask-image: linear-gradient(to top, rgba(0,0,0,.65), transparent 80%);
  filter: blur(1.5px); opacity: 0; animation: fadeIn 2s 1s var(--ease) forwards;
}
.lang-ar .title-reflect { font-size: clamp(100px, 17vw, 210px); line-height: 1.05; letter-spacing: 0; margin-top: -.35em; }
.pulse { position: absolute; inset-inline-start: calc(-1 * var(--gutter)); width: 100vw; max-width: none; top: 54%; height: 60px; pointer-events: none; overflow: visible; }
[dir="rtl"] .pulse { transform: scaleX(-1); }
.pulse { clip-path: inset(0 100% 0 0); animation: wipe 2.2s .9s var(--ease) forwards; }
[dir="rtl"] .pulse { animation-name: wipe; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
.pulse-path { fill: none; stroke: rgba(246,213,142,.55); stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(246,213,142,.6)); }
.pulse-run { fill: none; stroke: #fff6dc; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgba(246,213,142,1)) drop-shadow(0 0 16px rgba(246,213,142,.85));
  stroke-dasharray: 90 1000; stroke-dashoffset: 1090; animation: beat 2.4s 2.2s cubic-bezier(.45,.05,.55,.95) infinite; }
@keyframes beat { 0% { stroke-dashoffset: 1090; opacity: 0; } 6% { opacity: 1; } 92% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.pulse-path { animation: glow 2.4s 2.2s infinite; }
@keyframes glow { 0%, 38%, 60%, 100% { stroke: rgba(246,213,142,.5); } 47% { stroke: rgba(255,236,190,.95); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes titleIn { from { opacity: 0; transform: translateY(26px) scale(.98); letter-spacing: .12em; filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes up { to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }

.tagline { margin: 18px 0 10px; font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 300; color: #f1ece4; opacity: 0; transform: translateY(12px); animation: up 1s 1.1s var(--ease) forwards; }
.hero-desc { margin: 0 0 14px; max-width: 560px; color: #d9d3c9; font-size: clamp(.98rem, 1.3vw, 1.1rem); line-height: 1.6; opacity: 0; transform: translateY(12px); animation: up 1s 1.2s var(--ease) forwards; }
.facts { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; color: var(--muted); font-size: .92rem; opacity: 0; animation: fadeIn 1s 1.3s forwards; }
.facts li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--red); margin-inline: 12px; vertical-align: middle; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; transform: translateY(12px); animation: up 1s 1.45s var(--ease) forwards; }
.rental-note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
.hero .rental-note { opacity: 0; animation: fadeIn 1s 1.7s forwards; }

.mute-btn {
  position: absolute; inset-inline-end: var(--gutter); bottom: clamp(80px, 14vh, 160px); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); background: rgba(0,0,0,.25);
  display: grid; place-items: center; transition: background .2s, transform .2s;
}
.mute-btn:hover { background: rgba(255,255,255,.15); transform: scale(1.06); }
.mute-btn svg { width: 22px; height: 22px; }
.mute-btn .ic-sound, .mute-btn[aria-pressed="true"] .ic-mute { display: none; }
.mute-btn[aria-pressed="true"] .ic-sound { display: block; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: #bbb; text-decoration: none; }
.scroll-cue i { width: 1px; height: 36px; background: linear-gradient(var(--gold), transparent); animation: cue 2s infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- intro strip */
.intro { padding: clamp(56px, 8vw, 100px) 0 clamp(50px, 7vw, 90px); text-align: center; background: linear-gradient(var(--ink), var(--ink-2)); }
.intro-line { max-width: 860px; margin: 0 auto 22px; font: 300 clamp(1.35rem, 2.6vw, 2rem)/1.45 var(--f-body); color: #f1ece4; }
.lang-ar .intro-line { line-height: 1.8; }
.intro .facts { justify-content: center; margin: 0 0 40px; opacity: 1; animation: none; }
.intro .laurels { justify-content: center; margin: 0 auto; width: auto; max-width: 1100px; gap: 18px 34px; }
.intro .laurel { opacity: 1; transform: none; animation: none; }
.intro .laurel .lf { width: 18px; height: 50px; }
.intro .laurel span { max-width: 160px; }
.intro .laurel b { font-size: .76rem; }
.intro .laurel i { font-size: .7rem; }

/* ---------- parallax backgrounds */
.px-bg { position: absolute; inset: -18% 0; z-index: -2; will-change: transform; }
.px-bg img { width: 100%; height: 100%; object-fit: cover; }
.px-bg.soft img { filter: blur(2px) saturate(.9); }

/* ---------- quote */
.quote-sec { position: relative; isolation: isolate; min-height: 110vh; display: grid; place-items: center; overflow: hidden; padding: 20vh var(--gutter); }
.quote-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--ink), rgba(10,11,13,.55) 25%, rgba(10,11,13,.55) 75%, var(--ink)), rgba(10, 11, 13, .25); }
.quote { margin: 0; max-width: 1050px; text-align: center; font: 700 clamp(56px, 9vw, 132px)/.95 var(--f-display); color: #fff; text-shadow: 0 6px 40px rgba(0,0,0,.6); }
.lang-ar .quote { font-size: clamp(44px, 6.8vw, 96px); line-height: 1.3; }
.quote .w { display: inline-block; opacity: .12; transform: translateY(.15em); filter: blur(4px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s, color .6s; }
.quote .w.on { opacity: 1; transform: none; filter: none; }
.quote .w.hl { color: var(--blossom); }

/* ---------- story */
.story { position: relative; padding: clamp(90px, 14vw, 180px) 0; background: radial-gradient(ellipse 60% 50% at 20% 30%, rgba(228,84,75,.08), transparent 70%), var(--ink); }
.story-grid { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.poster-card { margin: 0; perspective: 1200px; }
.poster-inner { border-radius: 10px; overflow: hidden; box-shadow: 0 50px 100px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06); transform-style: preserve-3d; transition: transform .5s var(--ease); }
.poster-inner img { width: 100%; height: auto; }
.h2 { margin: 0 0 22px; font: 700 clamp(48px, 6.5vw, 84px)/.95 var(--f-display); color: #fff; letter-spacing: .01em; }
.lang-ar .h2 { font-size: clamp(38px, 5vw, 62px); line-height: 1.2; }
.h2 small { display: block; font-size: .5em; color: var(--muted); margin-top: 8px; }
.h3 { margin: 0 0 22px; font: 700 clamp(34px, 4vw, 50px)/1 var(--f-display); color: #fff; letter-spacing: .02em; }
.lang-ar .h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.3; }
.prose p { margin: 0 0 1.1em; color: #ddd7cd; font-size: clamp(1rem, 1.2vw, 1.14rem); }
.prose p:first-child::first-letter { color: var(--red); }
.ecg { margin: 30px 0 34px; height: 46px; max-width: 520px; }
.ecg svg, .sorry-art svg { width: 100%; height: 100%; overflow: visible; }
.ecg path, .sorry-art path { fill: none; stroke: var(--gold); stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(246,213,142,.7)); }
.ecg .ecg-base { stroke: rgba(246,213,142,.45); }
.ecg .ecg-run { stroke: #fff6dc; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(246,213,142,1)) drop-shadow(0 0 14px rgba(246,213,142,.8)); stroke-dasharray: 110 1000; stroke-dashoffset: 1110; opacity: 0; }
.ecg.in .ecg-run { animation: beat 2.2s .6s cubic-bezier(.45,.05,.55,.95) infinite; }
.sorry-art path { animation: flat 1.6s ease-in-out infinite alternate; }
@keyframes flat { from { opacity: 1; } to { opacity: .45; } }
[dir="rtl"] .ecg svg { transform: scaleX(-1); }

.award { display: flex; align-items: center; gap: 10px; margin: -6px 0 22px; color: var(--gold); font-weight: 500; font-size: 1.02rem; line-height: 1.45; }
.award svg { width: 14px; height: 36px; flex: none; color: var(--gold); }
.award .rf, [dir="rtl"] .award svg:first-child { transform: scaleX(-1); }
[dir="rtl"] .award .rf { transform: none; }
.story-credits { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.story-credits div { display: flex; gap: 12px; align-items: baseline; }
.story-credits dt { flex: none; min-width: 74px; color: var(--muted); font-size: .85rem; position: relative; padding-inline-end: 12px; }
.story-credits dt::after { content: "|"; position: absolute; inset-inline-end: 0; color: var(--red); }
.story-credits dd { margin: 0; color: #f1ece4; }
.h4 { margin: 28px 0 10px; font: 700 30px/1.1 var(--f-display); color: var(--gold); letter-spacing: .02em; }
.lang-ar .h4 { font-size: 24px; line-height: 1.4; }

/* ---------- events */
.events { position: relative; padding: clamp(90px, 12vw, 170px) 0; background:
  radial-gradient(ellipse 50% 60% at 85% 20%, rgba(228,84,75,.10), transparent 70%),
  radial-gradient(ellipse 40% 50% at 10% 90%, rgba(246,213,142,.06), transparent 70%), var(--ink-2); border-block: 1px solid var(--line); }
.events-grid { display: grid; grid-template-columns: 1fr minmax(320px, 520px); gap: clamp(36px, 6vw, 90px); align-items: start; }
.events .lead { margin: 0 0 22px; }
.events-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.events-points li { display: flex; gap: 12px; align-items: center; color: #e6e0d6; }
.events-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(228,84,75,.18); flex: none; }
.events-form { background: linear-gradient(180deg, #1a1b20, #141519); border-radius: 20px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 40px 80px -30px #000, inset 0 0 0 1px rgba(255,255,255,.08); }
.events-form h3 { margin: 0 0 18px; font: 700 32px/1.1 var(--f-display); color: #fff; }
.lang-ar .events-form h3 { font-size: 24px; line-height: 1.4; }
.ev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.ev-grid .wide { grid-column: 1 / -1; }
.field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 11px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: #fff; font: inherit; font-size: 16px; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
[dir="rtl"] .field select { background-position: 20px 22px, 25px 22px; }
.field select option { background: #1a1b20; }
.field textarea { resize: vertical; }
.field select:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field input[type="date"] { color-scheme: dark; }
.ev-ok { text-align: center; padding: 30px 0 10px; }
.ev-ok h3 { margin-bottom: 6px; }
.events-form.done .ev-grid, .events-form.done > button, .events-form.done > h3, .events-form.done .form-err { display: none; }

/* ---------- gallery */
.gallery { background: var(--ink); }
.gal-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.gal-head .h3 { margin: 0; }
.gal-count { color: var(--muted); font-size: .9rem; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 450; background: #050507; display: flex; flex-direction: column; animation: fadeIn .25s forwards; opacity: 0; }
.lb-stage { flex: 1; position: relative; overflow: hidden; display: grid; place-items: center; touch-action: pan-y; padding: 64px 80px 10px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px -20px #000; transition: transform .35s var(--ease), opacity .25s; user-select: none; -webkit-user-drag: none; }
.lb-stage img.swap { opacity: 0; transform: scale(.98); }
.lb-btn { position: absolute; z-index: 3; width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .2s, transform .2s; }
.lb-btn:hover { background: rgba(255,255,255,.18); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-x { top: 14px; inset-inline-end: 14px; width: 44px; height: 44px; }
.lb-x svg { width: 18px; height: 18px; }
.lb-prev { left: 18px; top: 50%; margin-top: -60px; }
.lb-next { right: 18px; top: 50%; margin-top: -60px; }
[dir="rtl"] .lb-prev { left: auto; right: 18px; transform: scaleX(-1); }
[dir="rtl"] .lb-next { right: auto; left: 18px; transform: scaleX(-1); }
.lb-foot { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); }
.lb-count { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto; max-width: 100%; padding: 2px; scrollbar-width: none; direction: ltr; }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumbs button { flex: none; width: 72px; height: 46px; padding: 0; border: 0; border-radius: 6px; overflow: hidden; opacity: .45; outline: 2px solid transparent; outline-offset: 1px; transition: .2s; background: #222; }
.lb-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumbs button.on { opacity: 1; outline-color: var(--red); }

/* ---------- stills */
.stills { padding: 0 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.stills-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 40vw); gap: 18px; overflow-x: auto; padding: 8px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 22px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.stills-row::-webkit-scrollbar { display: none; }
.still { margin: 0; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; scroll-snap-align: center; position: relative; box-shadow: 0 30px 60px -30px #000; transition: transform .5s var(--ease); }
.still:hover { transform: scale(1.025); }
.still-img { position: absolute; inset: 0 -12%; will-change: transform; }
.still-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- director */
.director { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; display: flex; align-items: center; padding: 16vh 0; }
.director-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--ink), rgba(10,11,13,.2) 30%, rgba(10,11,13,.2) 70%, var(--ink)), linear-gradient(to left, rgba(10,11,13,.92) 10%, rgba(10,11,13,.35) 60%, transparent); }
[dir="rtl"] .director-shade { background: linear-gradient(var(--ink), rgba(10,11,13,.2) 30%, rgba(10,11,13,.2) 70%, var(--ink)), linear-gradient(to right, rgba(10,11,13,.92) 10%, rgba(10,11,13,.35) 60%, transparent); }
.director-inner { display: flex; justify-content: flex-end; }
.director-card { max-width: 540px; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius); background: rgba(14, 15, 18, .55); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.eyebrow { margin: 0 0 8px; color: var(--gold); text-transform: uppercase; letter-spacing: .25em; font-size: .8rem; }
[dir="rtl"] .eyebrow { letter-spacing: .05em; font-size: .95rem; }

/* ---------- cast */
.cast { padding: clamp(90px, 12vw, 160px) 0 clamp(60px, 8vw, 110px); }
.cast-list { list-style: none; margin: 0 0 70px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.cast-list li { font: 700 clamp(38px, 5.6vw, 76px)/1.08 var(--f-display); color: #fff; }
.lang-ar .cast-list li { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.35; }
.cast-list li:not(:last-child)::after { content: "/"; color: var(--red); margin-inline: .35em; font-weight: 400; }
.credits { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px 40px; }
.credits div { border-top: 1px solid var(--line); padding-top: 14px; }
.credits dt { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 4px; }
[dir="rtl"] .credits dt { letter-spacing: 0; font-size: .9rem; }
.credits dd { margin: 0; font-size: 1.05rem; }

/* ---------- screens */
.screens { position: relative; isolation: isolate; overflow: hidden; padding: clamp(110px, 15vw, 190px) 0 clamp(64px, 8vw, 110px); text-align: center; }
.screens-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--ink), rgba(10,11,13,.72) 30%, rgba(10,11,13,.8) 70%, var(--ink)); }
.screens-inner { display: flex; flex-direction: column; align-items: center; }
.devices { display: flex; gap: 22px; color: var(--gold); margin-bottom: 26px; }
.devices svg { width: 46px; height: 46px; }
.lead { max-width: 640px; color: #ddd7cd; font-size: 1.12rem; margin: 0 0 34px; }

/* ---------- footer */
.foot { border-top: 1px solid var(--line); background: var(--ink); padding: 44px 0 22px; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 22px 40px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.foot-brand { display: flex; align-items: baseline; gap: 14px; }
.foot-brand .brand { font-size: 40px; }
.foot-brand span { color: var(--muted); font-size: .9rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-nav a { color: #cfc9bf; text-decoration: none; font-size: .92rem; transition: color .2s; }
.foot-nav a:hover { color: #fff; }
.foot-actions { display: flex; align-items: center; gap: 10px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; }
.foot-bottom p { margin: 0; color: #6f6b65; font-size: .82rem; }
.link-up { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--muted); transition: .2s; }
.link-up:hover { color: #fff; border-color: #555; }

/* ---------- sticky CTA */
.sticky-cta {
  position: fixed; z-index: 40; inset-inline-end: 24px; bottom: 24px;
  display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(18, 19, 23, .82); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.85), inset 0 0 0 1px rgba(255,255,255,.09);
  transform: translateY(140%); opacity: 0; transition: transform .6s var(--ease), opacity .4s;
}
[dir="rtl"] .sticky-cta { padding: 10px 22px 10px 10px; }
.sticky-cta.show { transform: none; opacity: 1; }
.sticky-info { display: flex; flex-direction: column; line-height: 1.25; }
.sticky-info b { font: 700 24px/1 var(--f-display); color: var(--red); letter-spacing: .04em; }
.sticky-info span { font-size: .76rem; color: var(--muted); }
.sticky-cta .btn-red { animation: breathe 3.2s infinite; }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(228,84,75,.55); } 50% { box-shadow: 0 0 0 10px rgba(228,84,75,0); } }

/* ---------- share */
.share-pop { position: fixed; z-index: 120; min-width: 210px; padding: 8px; border-radius: 14px; background: #1b1c21; box-shadow: 0 30px 60px -10px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.08); display: flex; flex-direction: column; }
.share-pop a, .share-pop button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; text-decoration: none; background: none; border: 0; font-size: .95rem; text-align: start; }
.share-pop a:hover, .share-pop button:hover { background: rgba(255,255,255,.08); }
.share-pop svg { width: 20px; height: 20px; color: var(--gold); }
.toast { position: fixed; left: 50%; bottom: 100px; z-index: 300; transform: translate(-50%, 20px); background: #fff; color: #111; padding: 10px 18px; border-radius: 999px; font-weight: 500; opacity: 0; pointer-events: none; transition: .35s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- modal */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 4, 6, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fadeIn .3s forwards; opacity: 0; }
.modal-box {
  position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto;
  background: linear-gradient(180deg, #1a1b20, #131418); border-radius: 20px; padding: 30px clamp(20px, 4vw, 34px);
  box-shadow: 0 40px 100px -20px #000, inset 0 0 0 1px rgba(255,255,255,.08);
  animation: pop .45s var(--ease) forwards; opacity: 0; transform: translateY(20px) scale(.97);
}
@keyframes pop { to { opacity: 1; transform: none; } }
.modal-x { position: absolute; inset-inline-end: 12px; top: 12px; width: 38px; height: 38px; border: 0; background: rgba(255,255,255,.08); border-radius: 50%; display: grid; place-items: center; z-index: 2; }
.modal-x svg { width: 16px; height: 16px; }
.buy-box.wide { width: min(620px, 100%); }
.buy-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; padding-inline-end: 34px; }
.buy-thumb { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; flex: none; }
.buy-head h3 { margin: 0; font: 700 34px/1 var(--f-display); color: #fff; }
.lang-ar .buy-head h3 { font-size: 26px; line-height: 1.3; }
.buy-head p { margin: 4px 0 0; font-size: .88rem; line-height: 1.5; }
.steps { list-style: none; display: flex; gap: 6px; margin: 0 0 22px; padding: 0; counter-reset: s; }
.steps li { flex: 1; font-size: .76rem; color: var(--muted); padding-top: 8px; border-top: 3px solid rgba(255,255,255,.1); transition: .3s; counter-increment: s; }
.steps li::before { content: counter(s) ". "; }
.steps li.on { color: #fff; border-color: var(--red); }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.field input { width: 100%; height: 50px; padding: 0 14px; border-radius: 11px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: #fff; font: inherit; font-size: 16px; transition: border .2s, background .2s; }
.field input:focus { outline: none; border-color: var(--red); background: rgba(255,255,255,.08); }
.field input.bad { border-color: #ff7a6e; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; display: flex; justify-content: space-between; align-items: center; height: 50px; padding: 0 14px; border-radius: 11px; border: 1px solid rgba(255,255,255,.12); cursor: pointer; transition: .2s; }
.seg input { position: absolute; opacity: 0; }
.seg b { font-size: .9rem; }
.seg i { font-style: normal; color: var(--muted); font-size: .9rem; }
.seg label:has(input:checked) { border-color: var(--red); background: rgba(228,84,75,.12); }
.seg label.on { border-color: var(--red); background: rgba(228,84,75,.12); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tier { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 14px 8px 12px; border-radius: 13px; border: 1px solid rgba(255,255,255,.12); cursor: pointer; transition: .2s; }
.tier input { position: absolute; opacity: 0; }
.tier b { font-size: .95rem; }
.tier small { font-size: .74rem; color: var(--muted); line-height: 1.3; }
.tier em { font-style: normal; font-weight: 700; font-size: 1.15rem; margin-top: 6px; color: #fff; }
.tier-ic { display: flex; gap: 3px; height: 22px; align-items: flex-end; margin-bottom: 4px; }
.tier-ic b { width: 9px; height: 18px; border-radius: 5px 5px 2px 2px; background: rgba(255,255,255,.35); position: relative; }
.tier-ic b::before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: inherit; top: -9px; left: .5px; }
.tier-ic { padding-top: 9px; height: 31px; }
.tier.on { border-color: var(--red); background: rgba(228,84,75,.12); }
.tier.on .tier-ic b { background: var(--red); }
.cur-switch { display: flex; justify-content: center; gap: 4px; margin: -2px auto 12px; width: max-content; background: rgba(255,255,255,.06); border-radius: 999px; padding: 3px; }
.cur-switch label { cursor: pointer; }
.cur-switch input { position: absolute; opacity: 0; }
.cur-switch span { display: block; padding: 5px 14px; border-radius: 999px; font-size: .8rem; color: var(--muted); transition: .2s; }
.cur-switch input:checked + span { background: #fff; color: #111; font-weight: 700; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: #cfc9bf; margin: 6px 0 12px; cursor: pointer; line-height: 1.5; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex: none; }
.form-err { min-height: 1.2em; margin: 0 0 8px; color: #ff8a7f; font-size: .88rem; }
.buy-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 16px; border-top: 1px solid var(--line); }
.buy-total b { font-size: 1.4rem; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .78rem; color: var(--muted); margin: 14px 0 0; }
.secure svg { width: 14px; height: 14px; flex: none; }
.pay-frame-wrap { position: relative; border-radius: 12px; overflow: hidden; background: #fff; min-height: 560px; }
#payFrame { width: 100%; height: 600px; border: 0; display: block; position: relative; z-index: 1; background: transparent; }
.pay-loading { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; color: #555; }
.newwin { display: block; text-align: center; margin-top: 12px; font-size: .85rem; color: var(--muted); }
.buy-step.center, .access-box { text-align: center; }
.buy-step[data-step="wait"], .buy-step[data-step="fail"] { padding: 40px 0; }
.fail-text { color: #ffb0a8; }
.spin { display: inline-block; width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(128,128,128,.25); border-top-color: var(--red); animation: rot .8s linear infinite; }
.spin.big { width: 42px; height: 42px; }
@keyframes rot { to { transform: rotate(360deg); } }
.ok-ring { width: 84px; height: 84px; margin: 10px auto 16px; }
.ok-ring svg { width: 100%; height: 100%; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ok-ring circle { stroke: var(--gold); stroke-dasharray: 160; stroke-dashoffset: 160; animation: drawc 1s var(--ease) forwards; }
.ok-ring path { stroke: #fff; stroke-dasharray: 40; stroke-dashoffset: 40; animation: drawc .6s .7s var(--ease) forwards; }
@keyframes drawc { to { stroke-dashoffset: 0; } }
.ok-title, .acc-title { margin: 0 0 8px; font: 700 40px/1.05 var(--f-display); color: #fff; }
.lang-ar .ok-title, .lang-ar .acc-title { font-size: 30px; line-height: 1.35; }
.ok-text { margin: 0 0 24px; }
.access-box { padding-block: 40px 36px; }
.acc-state[data-state="checking"] { padding: 30px 0; }
.acc-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: rgba(228,84,75,.14); color: var(--red); }
.acc-icon svg { width: 28px; height: 28px; }
.code-form { margin-top: 18px; }
#codeInput { width: 100%; height: 64px; text-align: center !important; font-size: 30px; letter-spacing: .5em; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #fff; margin-bottom: 8px; }
#codeInput:focus { outline: none; border-color: var(--red); }
.sorry-art { height: 50px; margin: 0 auto 18px; max-width: 320px; }
.sorry-art path { stroke-dashoffset: 0; stroke: var(--red); filter: drop-shadow(0 0 6px rgba(228,84,75,.7)); }
.acc-text { font-size: 1.08rem; margin: 0 0 4px; }
.acc-when { margin: 0 0 24px; font-size: .9rem; }

/* ---------- player */
.player { position: fixed; inset: 0; z-index: 400; background: #000; }
.player-stage { position: absolute; inset: 0; overflow: hidden; background: #000; }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.wm { position: absolute; z-index: 2; pointer-events: none; font-size: 13px; color: rgba(255,255,255,.16); white-space: nowrap; transition: top 2s, left 2s; user-select: none; text-shadow: 0 0 2px rgba(0,0,0,.3); }
.p-center { position: absolute; inset: 0; display: grid; place-items: center; z-index: 3; pointer-events: none; }
.p-big { pointer-events: auto; width: 96px; height: 96px; border-radius: 50%; border: 0; background: rgba(228,84,75,.92); display: grid; place-items: center; box-shadow: 0 20px 60px -10px rgba(228,84,75,.6); transition: transform .3s var(--ease), opacity .3s; }
.p-big svg { width: 38px; height: 38px; margin-inline-start: 5px; }
[dir="rtl"] .p-big svg { margin-inline-start: 0; margin-inline-end: 5px; }
.p-big:hover { transform: scale(1.06); }
.player.playing .p-big { opacity: 0; transform: scale(.8); pointer-events: none; }
.p-spin { position: absolute; display: none; }
.player.waiting .p-spin { display: block; }
.player.waiting .p-big { opacity: 0; }
.p-resume { position: absolute; z-index: 5; left: 50%; bottom: 120px; transform: translateX(-50%); display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.p-casting { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; background: radial-gradient(circle, #1b1c21, #000); color: var(--muted); }
.p-casting svg { width: 60px; height: 60px; color: var(--gold); }
.p-top, .p-bar { position: absolute; inset-inline: 0; z-index: 4; padding: 18px clamp(14px, 3vw, 34px); transition: opacity .4s, transform .4s var(--ease); }
.p-top { top: 0; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(rgba(0,0,0,.75), transparent); padding-top: max(18px, env(safe-area-inset-top)); }
.p-title { display: flex; flex-direction: column; line-height: 1.2; }
.p-title b { font: 700 30px/1 var(--f-display); color: var(--red); letter-spacing: .04em; }
.p-title span { font-size: .8rem; color: #bbb; }
.p-bar { bottom: 0; background: linear-gradient(transparent, rgba(0,0,0,.85)); padding-top: 60px; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
.player.idle .p-top { opacity: 0; transform: translateY(-20px); }
.player.idle .p-bar { opacity: 0; transform: translateY(20px); }
.player.idle { cursor: none; }
.p-progress { position: relative; height: 18px; cursor: pointer; display: flex; align-items: center; touch-action: none; }
.p-progress::before { content: ""; position: absolute; inset-inline: 0; height: 4px; background: rgba(255,255,255,.22); border-radius: 4px; transition: height .2s; }
.p-progress:hover::before { height: 6px; }
.p-buf, .p-played { position: absolute; left: 0; height: 4px; border-radius: 4px; pointer-events: none; transition: height .2s; }
.p-progress:hover .p-buf, .p-progress:hover .p-played { height: 6px; }
.p-buf { background: rgba(255,255,255,.4); width: 0; }
.p-played { background: var(--red); width: 0; }
.p-knob { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--red); margin-left: -8px; left: 0; box-shadow: 0 0 0 4px rgba(228,84,75,.25); transform: scale(0); transition: transform .2s; pointer-events: none; }
.p-progress:hover .p-knob, .p-progress.drag .p-knob { transform: scale(1); }
.p-tip { position: absolute; bottom: 24px; padding: 3px 8px; background: #000; border-radius: 6px; font-size: .78rem; transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity .2s; }
.p-progress:hover .p-tip { opacity: 1; }
.p-ctrls { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.p-btn { width: 46px; height: 46px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; transition: background .2s, transform .2s; }
.p-btn:hover { background: rgba(255,255,255,.12); transform: scale(1.08); }
.p-btn svg { width: 26px; height: 26px; }
#pPlay .ic-pause, .player.playing #pPlay .ic-play { display: none; }
.player.playing #pPlay .ic-pause { display: block; }
#pMute .ic-mute, .player.muted #pMute .ic-sound { display: none; }
.player.muted #pMute .ic-mute { display: block; }
.p-vol { display: flex; align-items: center; }
#pVol { width: 0; opacity: 0; transition: width .3s, opacity .3s; accent-color: var(--red); }
.p-vol:hover #pVol, #pVol:focus { width: 90px; opacity: 1; }
.p-time { font-size: .88rem; color: #ddd; margin-inline-start: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-sp { flex: 1; }
#pCast.on, #pAirplay.on { color: var(--gold); }

/* ---------- button rows (watch + trailer) */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-row.center { justify-content: center; }
.sticky-btns { display: flex; gap: 8px; }

/* ---------- player: subtitles */
.p-subs { position: absolute; z-index: 3; left: 50%; bottom: 7%; transform: translateX(-50%); width: min(92%, 1100px); text-align: center; pointer-events: none; transition: bottom .35s var(--ease); }
.player:not(.idle) .p-subs, .player:not(.playing) .p-subs { bottom: 132px; }
.p-subs span { display: inline; padding: .12em .45em; line-height: 1.5; font: 600 clamp(17px, 2.5vw, 34px)/1.45 "Heebo", "Noto Kufi Arabic", system-ui, sans-serif;
  color: #fff; background: transparent; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  /* default: no box – a soft dark outline keeps it readable on any image */
  text-shadow: 0 0 2px #000, 0 0 3px #000, 1px 1px 2px #000, -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 0 2px 8px rgba(0,0,0,.9); }
.p-subs.bg span { background: rgba(0,0,0,.75); font-weight: 500; text-shadow: none; }
#film::cue { background: transparent; color: #fff; text-shadow: 0 0 3px #000, 0 0 3px #000, 0 2px 6px #000; }
#film.cue-bg::cue { background: rgba(0,0,0,.75); text-shadow: none; }
.p-menu-sep { height: 1px; margin: 6px 6px; background: rgba(255,255,255,.1); }
.p-toggle { justify-content: space-between; }
.p-toggle span { font-size: .92rem; }
.sw { flex: none; width: 38px; height: 22px; border-radius: 999px; background: rgba(255,255,255,.2); position: relative; transition: background .2s; }
.sw::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.p-toggle[aria-checked="true"] .sw { background: var(--red); }
.p-toggle[aria-checked="true"] .sw::after { transform: translateX(16px); }
[dir="rtl"] .p-toggle[aria-checked="true"] .sw::after { transform: translateX(-16px); }
.p-subs[lang="ar"] span { font-family: "Noto Kufi Arabic", "Heebo", sans-serif; font-size: clamp(16px, 2.3vw, 31px); line-height: 1.75; }
.p-subs i { font-style: italic; }
.p-cc { height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px 0 10px; border: 1.5px solid rgba(255,255,255,.55); border-radius: 10px; background: rgba(255,255,255,.06); color: #fff; font-weight: 600; font-size: .88rem; transition: .2s; margin-inline-end: 4px; }
.p-cc svg { width: 22px; height: 22px; }
.p-cc b { min-width: 24px; padding: 1px 6px; border-radius: 5px; background: var(--red); font-size: .72rem; line-height: 1.5; }
.p-cc.off b { background: rgba(255,255,255,.22); }
.p-speed { padding: 0 9px 0 8px; }
.p-speed b { font-variant-numeric: tabular-nums; }
.p-speed b { min-width: 34px; text-align: center; transition: background .2s, transform .2s; }
.p-speed.off b { background: transparent; padding: 0 2px; font-size: .86rem; }
.p-speed:active b { transform: scale(.9); }
.p-speed.locked { opacity: .4; }
.p-speed.locked:not(.off) { border-color: transparent; color: inherit; }
.p-cc:hover, .p-cc[aria-expanded="true"] { background: rgba(255,255,255,.16); border-color: #fff; }
.p-menu { position: absolute; z-index: 6; bottom: 96px; right: clamp(14px, 3vw, 34px); min-width: 230px; padding: 8px; border-radius: 14px; background: rgba(20,21,25,.96); backdrop-filter: blur(12px); box-shadow: 0 24px 60px -10px #000, inset 0 0 0 1px rgba(255,255,255,.1); direction: inherit; }
.p-menu-title { display: flex; align-items: center; gap: 8px; margin: 2px 6px 6px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.1); color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.p-menu-title svg { width: 18px; height: 18px; color: var(--gold); }
.p-menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: 9px; background: none; font-size: 1rem; text-align: start; }
.p-menu button:hover { background: rgba(255,255,255,.08); }
.p-menu button i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); flex: none; position: relative; }
.p-menu button.on i { border-color: var(--red); }
.p-menu button.on i::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--red); }
.p-menu button.on { font-weight: 700; }
.p-hint { position: absolute; z-index: 5; top: 84px; left: 50%; transform: translateX(-50%); padding: 9px 16px; border-radius: 999px; background: rgba(0,0,0,.72); color: #fff; font-size: .88rem; white-space: nowrap; animation: fadeIn .3s forwards; opacity: 0; max-width: 92vw; overflow: hidden; text-overflow: ellipsis; }
.player.is-trailer #pCC, .player.is-trailer #pLeft { display: none !important; }

/* ---------- player: end of film (feedback + share) */
.p-end { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; padding: 16px; background: radial-gradient(ellipse at center, rgba(10,11,13,.7), rgba(0,0,0,.9)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .5s forwards; opacity: 0; overflow-y: auto; }
.p-end-card { position: relative; width: min(460px, 100%); padding: 30px clamp(20px, 4vw, 34px) 22px; border-radius: 22px; text-align: center; background: linear-gradient(180deg, #1b1c21, #131418); box-shadow: 0 40px 100px -20px #000, inset 0 0 0 1px rgba(255,255,255,.09); animation: pop .5s .1s var(--ease) forwards; opacity: 0; transform: translateY(20px) scale(.97); }
.p-end-x { position: absolute; top: 12px; inset-inline-end: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.p-end-x svg { width: 15px; height: 15px; }
.p-end-ecg { height: 34px; max-width: 220px; margin: 0 auto 10px; }
.p-end-ecg svg { width: 100%; height: 100%; overflow: visible; }
.p-end-ecg path { fill: none; stroke: var(--gold); stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(246,213,142,.8)); stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2s .4s var(--ease) forwards; }
.p-end h3 { margin: 0 0 4px; font: 700 40px/1.05 var(--f-display); color: #fff; }
.lang-ar .p-end h3 { font-size: 30px; line-height: 1.35; }
.p-end-sub { margin: 10px 0 12px; color: var(--muted); font-size: .95rem; }
.stars { display: flex; justify-content: center; gap: 6px; margin-bottom: 14px; }
.stars button { width: 44px; height: 44px; padding: 4px; border: 0; background: none; transition: transform .2s; }
.stars svg { width: 100%; height: 100%; fill: rgba(255,255,255,.14); transition: fill .2s; }
.stars button.on svg, .stars button.hov svg { fill: var(--gold); filter: drop-shadow(0 0 8px rgba(246,213,142,.5)); }
.stars button:hover { transform: scale(1.12); }
.p-end textarea { width: 100%; min-height: 84px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: #fff; font: inherit; font-size: 16px; resize: vertical; margin-bottom: 6px; }
.p-end textarea:focus { outline: none; border-color: var(--red); }
.p-fb-ok { margin: 18px 0 6px; padding: 14px; border-radius: 12px; background: rgba(246,213,142,.08); color: var(--gold); font-weight: 500; }
.p-end-share { margin-top: 20px; padding-top: 6px; border-top: 1px solid var(--line); }
.p-share-row { display: flex; justify-content: center; gap: 10px; }
.p-share-row a, .p-share-row button { width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .2s, transform .2s; }
.p-share-row a:hover, .p-share-row button:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.p-share-row svg { width: 21px; height: 21px; }
.p-share-row [data-net="wa"] { background: rgba(37,211,102,.18); }
.p-end .link-btn { margin-top: 16px; font-size: .88rem; }

/* ---------- responsive */
@media (max-width: 1000px) {
  .nav { display: none; }
}
@media (max-width: 800px) {
  body { font-size: 16px; }
  .top { height: 62px; gap: 12px; }
  .brand { font-size: 28px; }
  .hide-sm { display: none !important; }
  .langs a { min-width: 34px; height: 32px; padding: 0 8px; }
  /* mobile hero: the trailer as a cinema frame in the middle, buttons pinned to the bottom */
  .hero { height: 100vh; height: 100svh; min-height: 600px; max-height: 1000px; display: flex; flex-direction: column; padding: 62px 0 0; }
  .hero::before { content: ""; position: absolute; inset: -60px; z-index: -1; background: url("../img/trailer-frame.jpg") center / cover no-repeat; filter: blur(34px) saturate(1.25) brightness(.42); transform: scale(1.15); }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(10,11,13,.65), rgba(10,11,13,0) 30%, rgba(10,11,13,.2) 55%, var(--ink) 88%); }
  .hero-media { position: relative; inset: auto; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; }
  .hero-video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transform: none; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9);
    -webkit-mask-image: linear-gradient(transparent 0, #000 9%, #000 86%, transparent 100%); mask-image: linear-gradient(transparent 0, #000 9%, #000 86%, transparent 100%); }
  .hero-shade, [dir="rtl"] .hero-shade { display: none; }
  .grain { display: none; }
  .mute-btn { position: absolute; top: auto; bottom: auto; inset-inline-end: 12px; top: calc(50% - 28.1vw + 14px); width: 38px; height: 38px; border-width: 1px; background: rgba(0,0,0,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .mute-btn svg { width: 18px; height: 18px; }
  .hero-content { position: relative; inset: auto; bottom: auto; width: 100%; padding: 0 var(--gutter) calc(16px + env(safe-area-inset-bottom)); margin-top: -10vw; }
  .kicker { font-size: .78rem; letter-spacing: .22em; margin-bottom: 0; }
  [dir="rtl"] .kicker { font-size: .92rem; letter-spacing: .04em; }
  .title-main, .title-reflect { font-size: clamp(92px, 29vw, 150px); }
  .lang-ar .title-main, .lang-ar .title-reflect { font-size: clamp(76px, 23vw, 124px); }
  .lang-ar .title { margin-top: 14px; }
  .title-reflect { height: .3em; margin-top: -.14em; }
  .pulse { top: 50%; }
  .award-pill { font-size: .64rem; padding: 3px 10px; margin: 16px 0 0; max-width: 100%; gap: 5px; }
  .award-pill svg { width: 6px; height: 15px; }
  .award-pill span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tagline { margin: 12px 0 16px; font-size: 1.05rem; }
  .hero-cta { flex-wrap: nowrap; gap: 8px; }
  .hero-cta .btn { --h: 50px; font-size: .98rem; padding-inline: 1.1em; }
  .hero-cta .btn-red { flex: 1 1 auto; min-width: 0; }
  .hero-cta .btn-red .price { display: none; }
  .hero-cta .btn-ghost { flex: 0 0 auto; }
  .hero-cta .lbl-full { display: none; }
  .hero-cta .lbl-short { display: inline; }
  .hero .rental-note { font-size: .74rem; margin-top: 9px; text-align: center; }
  .scroll-cue { display: none; }
  .quote-sec { min-height: 90vh; }
  .story-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .lb-stage { padding: 60px 0 6px; }
  .lb-prev, .lb-next { display: none; }
  .lb-thumbs button { width: 56px; height: 38px; }
  .intro-line { font-size: 1.2rem; }
  .intro .facts { margin-bottom: 28px; font-size: .85rem; }
  .intro .laurels { gap: 14px 18px; }
  .intro .laurel .lf { width: 12px; height: 34px; }
  .intro .laurel b { font-size: .62rem; } .intro .laurel i { font-size: .58rem; }
  .intro .laurel span { max-width: 104px; }
  .foot { padding: 34px 0 18px; }
  .foot-top { flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 20px; }
  .foot-brand { flex-direction: column; align-items: flex-start; gap: 2px; }
  .foot-brand .brand { font-size: 34px; }
  .foot-nav { gap: 8px 18px; }
  .ev-grid { grid-template-columns: 1fr; }
  .tier { padding: 12px 4px 10px; }
  .tier b { font-size: .86rem; }
  .hero-desc { font-size: .95rem; }
  .poster-card { max-width: 340px; margin-inline: auto; }
  .stills-row { grid-auto-columns: 84vw; }
  .director { min-height: 0; padding: 50vh 0 60px; }
  .director-shade, [dir="rtl"] .director-shade { background: linear-gradient(var(--ink), rgba(10,11,13,0) 20%, rgba(10,11,13,.4) 50%, var(--ink) 82%); }
  .director-inner { justify-content: stretch; }
  .px-bg { inset: -10% 0; }
  .director .px-bg { inset: -6% 0 30%; }
  .sticky-cta, [dir="rtl"] .sticky-cta { inset-inline: 0; bottom: 0; border-radius: 18px 18px 0 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); gap: 12px; }
  .sticky-info span { display: none; }
  .sticky-btns { flex: 1; }
  .sticky-cta .btn { --h: 48px; }
  .sticky-cta .btn-red { flex: 1; }
  .sticky-cta .btn-red .price { display: none; }
  .sticky-cta .btn-ghost { flex: 0 0 auto; padding-inline: 1em; }
  .cta-row .btn-ghost .lbl-full { display: none; }
  .cta-row .btn-ghost .lbl-short { display: inline; }
  .cta-row { flex-wrap: nowrap; }
  .cta-row .btn-red { flex: 1 1 auto; min-width: 0; }
  .cta-row .btn-red .price { display: none; }
  /* compact, evenly spread control bar on phones */
  .p-ctrls { justify-content: space-between; gap: 0; }
  .p-sp { display: none; }
  .p-btn { width: 38px; height: 38px; }
  .p-btn svg { width: 22px; height: 22px; }
  .p-cc .p-cc-lbl, #pCC b { display: none; }            /* subtitles: icon only (language is shown in the menu) */
  .p-cc { padding: 0; width: 40px; height: 36px; justify-content: center; gap: 0; border-width: 1px; margin: 0; }
  .p-cc svg { width: 21px; height: 21px; flex: none; }
  .p-speed svg { display: none; }                           /* speed: just the number */
  .p-speed b, .p-speed.off b { background: transparent; padding: 0; min-width: 0; font-size: .82rem; }
  .p-speed:not(.off) { border-color: var(--red); color: var(--red); }
  .p-speed { width: 42px; margin-inline-end: 6px; }
  .p-time { white-space: nowrap; font-size: .72rem; margin: 0 2px; }
  .p-vol { display: none; }
  .sticky-info { display: none; }
  .p-menu { bottom: 86px; left: 12px; right: 12px; min-width: 0; }
  .p-subs span { font-size: 16px; }
  .p-subs[lang="ar"] span { font-size: 15px; }
  .player:not(.idle) .p-subs, .player:not(.playing) .p-subs { bottom: 118px; }
  .modal { padding: 0; align-items: end; }
  .modal-box { width: 100%; border-radius: 22px 22px 0 0; max-height: 94vh; max-height: 94dvh; padding-bottom: calc(26px + env(safe-area-inset-bottom)); animation-name: sheet; transform: translateY(100%); }
  @keyframes sheet { to { opacity: 1; transform: none; } }
  .pay-frame-wrap { min-height: 520px; }
  #payFrame { height: 560px; }
  .p-btn { width: 42px; height: 42px; }
  .p-btn svg { width: 23px; height: 23px; }
  #pVol { display: none; }
  .p-time { font-size: .78rem; margin-inline-start: 4px; }
  .p-big { width: 78px; height: 78px; }
}
@media (max-width: 380px) {
  #pBack, #pFwd { display: none; }
  .btn-lg { --h: 54px; padding-inline: 1.2em; font-size: 1rem; }
}
@media (hover: none) {
  .p-vol #pVol { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .quote .w { opacity: 1; filter: none; transform: none; }
}

/* short phones (iPhone SE etc.): tighten the hero */
@media (max-width: 800px) and (max-height: 700px) {
  .title-main, .title-reflect { font-size: clamp(80px, 24vw, 120px); }
  .tagline { margin: 6px 0 10px; font-size: .98rem; }
  .hero .rental-note { display: none; }
}
/* landscape phones: back to full-bleed video */
@media (max-width: 950px) and (orientation: landscape) and (max-height: 500px) {
  .hero { height: auto; min-height: 100vh; }
  .hero-media { position: absolute; inset: 0; }
  .hero-video { height: 100%; aspect-ratio: auto; -webkit-mask-image: none; mask-image: none; }
  .hero-content { margin-top: auto; padding-top: 80px; }
}

/* =========================================================
   Cinematic layer (fx.js): two worlds separated by a golden line
   ========================================================= */

/* ---------- opening veil */
.veil { position: fixed; inset: 0; z-index: 900; pointer-events: auto; cursor: pointer; }
.no-veil .veil { display: none; }
.veil-half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); transition: transform 1.1s cubic-bezier(.77,0,.18,1); }
.veil-top { top: 0; }
.veil-bot { bottom: 0; background: linear-gradient(#0a0b0d, #07080a); }
.veil-line { position: absolute; top: 50%; left: 0; width: 100%; height: 160px; transform: translateY(-50%); overflow: visible; transition: opacity .6s, transform 1.1s cubic-bezier(.77,0,.18,1); }
.veil-line path { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
/* 1. a flat line opens from the centre */
.vl-flat { stroke: rgba(246,213,142,.22); stroke-width: 1; transform-box: fill-box; transform-origin: 50% 50%; transform: scaleX(0); animation: vlFlat .6s .05s cubic-bezier(.6,.05,.3,1) forwards; }
/* 2. the heartbeat runs across it, a bright head drawing the trace */
.vl-trace { stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 1000; stroke-dashoffset: 1000; opacity: .8; filter: drop-shadow(0 0 3px rgba(246,213,142,.45)); animation: draw 1.1s .4s cubic-bezier(.4,0,.6,1) forwards; }
.vl-head { display: none; }
/* 3. on the beat, the name appears – and a second, softer beat echoes it */
.veil-title { position: absolute; left: 0; right: 0; top: calc(50% - 128px); margin: 0; text-align: center; font: 700 clamp(60px, 9vw, 108px)/1 var(--f-display); letter-spacing: .3em; text-indent: .3em; color: var(--red); opacity: 0; animation: vlThump 1.1s .75s cubic-bezier(.2,.7,.1,1) forwards; transition: opacity .4s, transform 1.1s cubic-bezier(.77,0,.18,1); }
.veil-sub { position: absolute; left: 0; right: 0; top: calc(50% + 46px); margin: 0; text-align: center; font-size: .82rem; letter-spacing: .32em; color: #cfc8bc; opacity: 0; animation: vlSub .9s 1.1s var(--ease) forwards; transition: opacity .3s; }
[dir="rtl"] .veil-sub { letter-spacing: .12em; }
.veil-glow { display: none; }
@keyframes vlFlat { to { transform: scaleX(1); } }
@keyframes vlHead { 0% { opacity: 1; stroke-dashoffset: 55; } 92% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: -945; } }
@keyframes vlThump { from { opacity: 0; transform: translateY(8px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes vlGlow { 0% { opacity: 0; } 12% { opacity: 1; } 35% { opacity: .35; } 48% { opacity: .75; } 100% { opacity: 0; } }
@keyframes vlSub { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.veil-open .veil { pointer-events: none; }
.veil-open .veil-top { transform: translateY(-101%); }
.veil-open .veil-bot { transform: translateY(101%); }
.veil-open .veil-line { opacity: 0; transform: translateY(-50%) scaleY(.2); }
.veil-open .veil-title { opacity: 0 !important; transform: translateY(-36px); }
.veil-open .veil-sub, .veil-open .veil-glow { opacity: 0 !important; }
.lang-he .veil-title { letter-spacing: .08em; text-indent: .08em; }
.lang-ar .veil-title { letter-spacing: 0; text-indent: 0; }
/* the hero waits behind the veil */
.veil-on .hero, .veil-on .hero * { animation-play-state: paused !important; }

/* ---------- reading heartbeat in the header */
.top { overflow: visible; }
.top-ecg { position: absolute; left: 0; right: 0; bottom: -12px; height: 24px; pointer-events: none; opacity: 0; transition: opacity .5s; }
.top.solid .top-ecg { opacity: 1; }
[dir="rtl"] .top-ecg { transform: scaleX(-1); }
.top-ecg svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.top-ecg path { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.top-ecg-base path { stroke: rgba(255,255,255,.08); }
.top-ecg-run { clip-path: inset(0 100% 0 0); -webkit-clip-path: inset(0 100% 0 0); }
.top-ecg-run path { stroke: var(--gold); filter: drop-shadow(0 0 4px rgba(246,213,142,.6)); }

/* ---------- the quote and the golden line under it */
.quote-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.quote-line { width: min(900px, 84vw); height: 40px; margin: clamp(14px, 2.4vw, 26px) 0 0; }
.quote-line svg { width: 100%; height: 100%; overflow: visible; }
.quote-line path { fill: none; stroke: var(--gold); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1000; stroke-dashoffset: calc(1000 - var(--p, 0) * 1000); filter: drop-shadow(0 0 6px rgba(246,213,142,.65)); }
[dir="rtl"] .quote-line svg { transform: scaleX(-1); }

/* ---------- headings rise word by word from behind a mask */
.split.reveal { opacity: 1; transform: none; }
.split .wl { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin-bottom: -.1em; }
.split .wi { display: inline-block; transform: translateY(110%) rotate(3deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease) calc(var(--i, 0) * 80ms); }
.split.in .wi { transform: none; }

/* ---------- poster opens like a curtain */
.poster-card.reveal { opacity: 1; transform: none; }
.poster-card.reveal .poster-inner { clip-path: inset(0 0 100% 0 round 10px); transition: transform .5s var(--ease), clip-path 1.5s cubic-bezier(.77,0,.18,1); }
.poster-card.reveal .poster-inner img { transform: scale(1.25); transition: transform 2.2s var(--ease); }
.poster-card.reveal.in .poster-inner { clip-path: inset(0 0 0 0 round 10px); }
.poster-card.reveal.in .poster-inner img { transform: none; }

/* ---------- film-strip gallery: a horizontal strip – scroll sideways, drag, swipe or use the arrows */
.strip { position: relative; padding: clamp(80px, 10vw, 130px) 0 clamp(36px, 4vw, 56px); }
.strip-pin { display: flex; flex-direction: column; gap: clamp(18px, 3vh, 30px); }
.strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; width: 100%; }
.strip-head .h3 { margin: 0; }
.strip-count { margin: 0; font: 700 clamp(28px, 3vw, 44px)/1 var(--f-display); color: rgba(255,255,255,.3); letter-spacing: .04em; }
.strip-cur { color: var(--text); display: inline-block; min-width: 1.1em; }
.strip-viewport { position: relative; padding-bottom: 70px; }
/* the golden border line the stills stand on */
.strip-viewport::after { content: ""; position: absolute; left: 0; right: 0; bottom: 70px; transform: translateY(-6px); height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(246,213,142,.55) 30%, rgba(246,213,142,.55) 70%, transparent); box-shadow: 0 0 12px rgba(246,213,142,.45); }
.strip-track { display: flex; align-items: flex-end; gap: clamp(14px, 1.6vw, 26px); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: none; padding: 10px 12vw 70px; margin-bottom: -70px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; cursor: grab; }
.strip-track::-webkit-scrollbar { display: none; }
.strip-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.strip-track.dragging .strip-frame { pointer-events: none; }
.strip-frame { --k: 0; position: relative; flex: none; height: min(46vh, 420px); aspect-ratio: 16 / 9; padding: 0; border: 0; background: transparent; border-radius: 6px; overflow: visible; cursor: zoom-in; scroll-snap-align: center;
  transform: scale(calc(.84 + .16 * var(--k))); transform-origin: 50% 100%; transition: transform .25s linear;
  -webkit-box-reflect: below 6px linear-gradient(transparent 62%, rgba(255,255,255,.2)); }
.frame-img { position: absolute; inset: 0; border-radius: 6px; overflow: hidden; background: var(--ink-3); box-shadow: 0 30px 60px -30px #000, 0 0 0 1px rgba(255,255,255,.06); }
.frame-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); filter: brightness(calc(.45 + .55 * var(--k))) saturate(calc(.6 + .45 * var(--k))); transition: transform 1.2s var(--ease), filter .3s linear; -webkit-user-drag: none; user-select: none; }
.strip-frame:hover .frame-img img, .strip-frame:focus-visible .frame-img img { transform: scale(1.1); }
.frame-no { position: absolute; top: 10px; inset-inline-start: 12px; z-index: 2; font: 500 .7rem/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .18em; color: var(--gold); opacity: calc(.2 + .8 * var(--k)); text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.strip-foot { display: flex; align-items: center; gap: 18px; width: 100%; }
.strip-arrows { display: flex; gap: 8px; }
.strip-arrow { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: var(--text); transition: background .25s, box-shadow .25s, opacity .25s; }
.strip-arrow:hover { background: rgba(246,213,142,.12); box-shadow: inset 0 0 0 1px rgba(246,213,142,.6); }
.strip-arrow:disabled { opacity: .3; cursor: default; }
.strip-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .strip-arrow svg { transform: scaleX(-1); }
.strip-bar { position: relative; flex: 0 0 min(240px, 40vw); height: 1px; background: rgba(255,255,255,.14); }
.strip-bar i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 8px rgba(246,213,142,.6); }
[dir="rtl"] .strip-bar i { transform-origin: right; }
.strip-hint { color: var(--muted); font-size: .85rem; }
@media (max-width: 899px) {
  .strip-viewport { padding-bottom: 20px; }
  .strip-viewport::after { display: none; }
  .strip-track { scroll-snap-type: x mandatory; padding: 6px 9vw 14px; margin-bottom: 0; cursor: auto; }
  .strip-frame { height: auto; width: 82vw; max-width: 560px; -webkit-box-reflect: none; transform: scale(calc(.9 + .1 * var(--k))); }
  .strip-arrows, .strip-hint { display: none; }
}

.hero .btn, .cta-row .btn, .screens .btn { transition: transform .45s var(--ease), background .3s, box-shadow .3s, color .3s; }

@media (max-width: 800px) {
  .veil-title { top: calc(50% - 118px); }
  .veil-sub { top: calc(50% + 40px); font-size: .74rem; }
  .veil-line { height: 120px; }
  .strip-count { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .veil { display: none !important; }
  .split .wi, .poster-card.reveal .poster-inner, .poster-card.reveal .poster-inner img { transform: none; clip-path: none; }
}

/* ---------- footer link + privacy policy */
.foot-sep { margin: 0 10px; opacity: .6; }
.foot-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.25); transition: color .2s; }
.foot-link:hover { color: var(--text); }
.privacy-box { width: min(720px, 100%); max-height: min(86vh, 900px); display: flex; flex-direction: column; }
.privacy-title { margin: 0 0 14px; padding-inline-end: 40px; font: 700 clamp(30px, 4vw, 42px)/1.05 var(--f-display); color: var(--text); }
.privacy-body { flex: 1; min-height: 0; overflow-y: auto; padding-inline-end: 8px; color: #d6d0c6; font-size: .95rem; line-height: 1.75; overscroll-behavior: contain; }
.privacy-body h3 { margin: 22px 0 6px; font-size: 1.02rem; color: var(--gold); font-weight: 600; }
.privacy-body p { margin: 0 0 10px; }
.privacy-ok { align-self: flex-start; margin-top: 16px; }
@media (max-width: 800px) { .top-ecg { height: 18px; bottom: -9px; } .top-ecg path { stroke-width: 1.3; } }

/* ---------- director portrait */
.director-head { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 24px); margin-bottom: 8px; }
.director-head .eyebrow { margin-top: 0; }
.director-head .h2 { margin-bottom: 0; }
.director-photo { flex: none; margin: 0; width: clamp(96px, 10vw, 132px); aspect-ratio: 1; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, rgba(246,213,142,.9), rgba(246,213,142,.15) 40%, rgba(242,185,198,.6) 70%, rgba(246,213,142,.9)); box-shadow: 0 20px 50px -20px #000, 0 0 30px -8px rgba(246,213,142,.35); }
.director-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }

/* ---------- end credits: roll like the end of the film */
.roll-sec { position: relative; background: #050506; }
.roll-pin { position: relative; }
.roll { text-align: center; padding: clamp(80px, 12vw, 140px) 16px; }
.rolling .roll-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 8%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 8%, #000 88%, transparent); }
.rolling .roll { position: absolute; left: 0; right: 0; top: 0; padding-top: 0; padding-bottom: 0; will-change: transform; }
.roll-kicker { margin: 0; font-size: .78rem; letter-spacing: .32em; color: var(--muted); text-transform: uppercase; }
[dir="rtl"] .roll-kicker { letter-spacing: .14em; }
.roll-film { margin: 6px 0 clamp(44px, 7vh, 80px); font: 700 clamp(70px, 10vw, 120px)/1 var(--f-display); color: var(--red); text-shadow: 0 0 40px rgba(228,84,75,.25); }
.roll-blk { margin: 0 auto clamp(28px, 4.2vh, 42px); max-width: 640px; }
.roll-role { font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
[dir="rtl"] .roll-role { letter-spacing: .06em; font-size: .86rem; }
.roll-name { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 300; color: #f4f1ec; line-height: 1.5; }
.roll-notes { margin: clamp(56px, 8vh, 90px) auto 0; max-width: 620px; }
.roll-notes p { margin: 0 0 14px; font-size: .9rem; line-height: 1.7; color: #bdb7ad; }
.roll-notes p:first-child { color: var(--gold); letter-spacing: .06em; }
.roll-end { margin: clamp(70px, 10vh, 110px) auto 0; max-width: 760px; }
.roll-dedication { margin: 0 0 clamp(50px, 7vh, 80px); font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 300; font-style: italic; line-height: 1.8; color: #e8e1d6; }
.roll-logos { display: block; width: min(760px, 100%); height: auto; margin: 0 auto; opacity: .85; }
.roll-copy { margin: 26px 0 0; font-size: .78rem; letter-spacing: .2em; color: var(--muted); }
@media (max-width: 800px) { .roll-logos { width: 100%; } .roll-name { font-size: 1.05rem; } }
