/* =========================================================
   REEL — Liquid Glass Studio
   Apple-inspired multi-page, trilingual, glassmorphic
   ========================================================= */

:root {
  --bg: #0a0907;
  --bg-2: #14110d;
  --fg: #f0ebe2;
  --mute: #8a8276;
  --mute-2: #56514a;
  --accent: #e85c2a;
  --accent-2: #ff7a45;
  --glass-tint: 240, 235, 226;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-brd: rgba(255, 255, 255, 0.14);
  --glass-hi: rgba(255, 255, 255, 0.22);
  --shadow-1: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 20px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dock-blur: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
body[dir="rtl"] { font-family: 'Vazirmatn', 'Inter', sans-serif; }

/* Farsi headings use Vazirmatn instead of Anton (which is Latin only) */
body[dir="rtl"] .brand-r,
body[dir="rtl"] .mask-h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3,
body[dir="rtl"] h4 { font-family: 'Vazirmatn', sans-serif; font-weight: 700; letter-spacing: 0; }
body[dir="rtl"] em { font-family: 'Vazirmatn', sans-serif !important; font-style: normal !important; font-weight: 300 !important; }

/* =========================================================
   Ambient background — animated color orbs behind blur
   ========================================================= */
.ambient {
  position: fixed;
  inset: -20vh -10vw;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.ambient::before,
.ambient::after,
.ambient .orb {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.ambient::before {
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(232, 92, 42, 0.5), transparent 70%);
  top: -20vh; left: -10vw;
  animation: orb-a 22s ease-in-out infinite;
}
.ambient::after {
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(120, 60, 200, 0.28), transparent 70%);
  bottom: -20vh; right: -10vw;
  animation: orb-b 28s ease-in-out infinite;
}
.ambient .orb {
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgba(60, 130, 200, 0.22), transparent 70%);
  top: 30vh; left: 40vw;
  animation: orb-c 30s ease-in-out infinite;
}
@keyframes orb-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10vw, 12vh) scale(1.15); }
}
@keyframes orb-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-12vw, -8vh) scale(1.1); }
}
@keyframes orb-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-15vw, 10vh) scale(0.85); }
}

/* Film grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Main container above ambient */
main { position: relative; z-index: 2; }

/* =========================================================
   Liquid glass base
   ========================================================= */
.glass {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.04) 50%,
    rgba(255, 255, 255, 0.08) 100%
  );
  backdrop-filter: blur(var(--dock-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--dock-blur)) saturate(180%);
  border: 1px solid var(--glass-brd);
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    var(--shadow-2);
  border-radius: 24px;
  position: relative;
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), transparent 40%);
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* =========================================================
   Language switch (top)
   ========================================================= */
.lang-switch {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  animation: fade-down 0.9s var(--ease) 0.3s both;
}
.lang-switch button {
  position: relative;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  border-radius: 999px;
  transition: color 0.35s var(--ease);
  z-index: 2;
  min-width: 54px;
}
.lang-switch button:hover { color: var(--fg); }
.lang-switch button.active { color: #fff; }
.lang-switch .pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(232,92,42,0.9), rgba(255,122,69,0.75));
  box-shadow: 0 4px 20px rgba(232,92,42,0.4), inset 0 1px 0 rgba(255,255,255,0.35);
  transition: left 0.45s var(--ease), width 0.45s var(--ease);
  z-index: 1;
}

/* Now-showing badge (replaces old header info) */
.now-badge {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 55;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  animation: fade-down 0.9s var(--ease) 0.4s both;
  display: flex;
  align-items: center;
  gap: 10px;
}
.now-badge b { color: var(--accent); font-weight: 600; }
.now-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* Brand mark, top left */
.brand-mark {
  position: fixed;
  top: 24px;
  left: 32px;
  z-index: 55;
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  animation: fade-down 0.9s var(--ease) 0.2s both;
}
.brand-mark em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  text-transform: none;
  font-weight: 400;
  color: var(--accent);
}

/* =========================================================
   Liquid Glass Dock (bottom)
   ========================================================= */
.dock-wrap {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  animation: fade-up 0.9s var(--ease) 0.5s both;
}
.dock {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 28px;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 12px 40px rgba(0,0,0,0.55),
    0 0 0 1px rgba(0,0,0,0.4),
    0 24px 60px rgba(232, 92, 42, 0.14);
}
.dock::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent 60%);
  pointer-events: none;
  mix-blend-mode: overlay;
}
.dock-btn {
  position: relative;
  width: 58px; height: 58px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.22);
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), border 0.3s var(--ease), box-shadow 0.3s var(--ease);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.dock-btn::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.20), transparent 40%);
  pointer-events: none;
}
.dock-btn svg {
  width: 26px; height: 26px;
  stroke: #fff;
  stroke-width: 1.7;
  fill: none;
  transition: stroke 0.3s var(--ease), transform 0.4s var(--ease);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}
.dock-btn:hover {
  transform: translateY(-14px) scale(1.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06));
  border-color: rgba(255,255,255,0.22);
}
.dock-btn:hover svg { stroke: var(--accent); transform: scale(1.05); }
.dock-btn:hover + .dock-btn,
.dock-btn:has(+ .dock-btn:hover) { transform: translateY(-6px) scale(1.08); }
.dock-btn.active {
  background: linear-gradient(180deg, rgba(232,92,42,0.35), rgba(232,92,42,0.12));
  border-color: rgba(232,92,42,0.5);
  box-shadow: 0 8px 24px rgba(232,92,42,0.35);
}
.dock-btn.active svg { stroke: #fff; }
.dock-btn .label {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%; transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  background: rgba(20,17,13,0.9);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  transform: translateX(-50%) translateY(6px);
}
.dock-btn:hover .label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.dock .sep {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.15), transparent);
  margin: 8px 4px;
}

/* =========================================================
   Page system
   ========================================================= */
.page {
  min-height: 100vh;
  padding: 130px 32px 160px;
  display: none;
  animation: page-in 0.9s var(--ease) both;
}
.page.active { display: block; }

@keyframes page-in {
  from { opacity: 0; transform: translateY(20px) scale(0.98); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* =========================================================
   HOME — Hero (original layout, restored)
   ========================================================= */
.hero {
  min-height: 96vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  padding-top: 20px;
}
.hero .lead {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 24px;
  color: var(--mute);
  max-width: 620px;
  margin-bottom: 48px;
  font-weight: 300;
  opacity: 0;
  animation: hero-line 1s var(--ease) 0.9s both;
}
.hero .lead::before { content: "—  "; }
/* Farsi hero: use Vazirmatn at a tighter, more readable size */
body[dir="rtl"] .hero .lead {
  font-family: 'Vazirmatn', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.9;
  max-width: 680px;
}

.mask-h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(110px, 22vw, 360px);
  line-height: 0.84;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 48px;
  text-wrap: balance;
  text-align: center;
  position: relative;
}
/* Farsi hero headline: Vazirmatn + slightly smaller (Persian glyphs need more room), normal case */
body[dir="rtl"] .mask-h1 {
  font-family: 'Vazirmatn', sans-serif;
  font-weight: 800;
  font-size: clamp(72px, 14vw, 220px);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.05;
}
body[dir="rtl"] .mask-h1 em {
  font-family: 'Vazirmatn', sans-serif !important;
  font-weight: 300 !important;
  font-size: 0.6em;
  color: var(--accent);
}
.mask-h1 .row {
  display: block;
  overflow: hidden;
  padding: 0.02em 0;
}
.mask-h1 .row > * {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
  animation: hero-word 1.2s var(--ease) both;
}
.mask-h1 .row:nth-child(1) > * { animation-delay: 0.4s; }
.mask-h1 .row:nth-child(2) > * { animation-delay: 0.55s; }
.mask-h1 .row:nth-child(3) > * { animation-delay: 0.7s; }
.mask-h1 .row:nth-child(4) > * { animation-delay: 0.85s; }
@keyframes hero-word {
  from { transform: translateY(105%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes hero-line {
  to { opacity: 1; }
}
.mask-h1 .out {
  -webkit-text-stroke: 2px var(--fg);
  color: transparent;
  font-weight: 400;
}
.mask-h1 .mask {
  /* Solid-black filled words — the woman's face reveals BEHIND them on scroll. */
  color: #000;
  background: transparent;
  position: relative;
  -webkit-text-stroke: 1.5px var(--fg);
  text-shadow: 0 0 24px rgba(0, 0, 0, 0.6);
}
/* Scroll-triggered face reveal: sits BEHIND the hero (z-index 0) while the
   hero text sits above at z-index 1. As you scroll down the home page the
   JS in app.js writes --face-op (0 → 1) and --face-y (translateY px). */
.hero-face {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('img/20-reel-cinema.jpg') center 30% / cover no-repeat;
  filter: contrast(1.08) saturate(1.05) brightness(0.92);
  opacity: var(--face-op, 0);
  transform: translateY(var(--face-y, 40px)) scale(var(--face-scale, 1.06));
  transition: opacity 0.15s linear;
  /* Feather the edges so it reads like a spotlight behind the words */
  mask-image: radial-gradient(ellipse 62% 58% at 50% 45%, #000 25%, rgba(0,0,0,0.55) 60%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 45%, #000 25%, rgba(0,0,0,0.55) 60%, transparent 85%);
}
/* Make sure the hero text sits above the fixed face layer */
.hero { position: relative; z-index: 1; }
/* Optional darken layer that intensifies as the face comes in, so ambient orbs don't compete */
.hero-face::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 45%, transparent 40%, rgba(10,9,7,0.65) 90%);
  pointer-events: none;
}
.mask-h1 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  text-transform: none;
  font-size: 0.55em;
  vertical-align: baseline;
  letter-spacing: -0.015em;
}

/* Hero aperture (film metaphor) */
.hero-aperture {
  position: absolute;
  top: -20px;
  right: 4vw;
  width: 96px;
  height: 96px;
  opacity: 0;
  animation: hero-line 1s var(--ease) 1.2s both;
}
body[dir="rtl"] .hero-aperture { right: auto; left: 4vw; }

.hero-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding-top: 36px;
  border-top: 1px solid rgba(240, 235, 226, 0.15);
  gap: 24px;
  opacity: 0;
  animation: hero-line 1s var(--ease) 1.3s both;
}
.hero-foot p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--mute);
  max-width: 380px;
}
.hero-foot p b {
  color: var(--fg);
  font-weight: 600;
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hero-foot .ctr {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-foot .ctr::before {
  content: "";
  width: 24px; height: 24px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--accent) 30%, transparent 30%);
  animation: pulse 2.4s ease-in-out infinite;
}
.hero-foot .r { justify-self: end; text-align: right; max-width: 380px; }
body[dir="rtl"] .hero-foot .r { justify-self: start; text-align: left; }

/* Featured film (home page) */
.featured {
  margin-top: 120px;
  padding: 40px;
  border-radius: 32px;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 56px;
  align-items: center;
}
.feat-grid .info .label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
}
.feat-grid .info .label::before {
  content: "";
  width: 48px; height: 1px;
  background: var(--accent);
}
.feat-grid .info h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.feat-grid .info h2 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  text-transform: none;
}
.feat-grid .info p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--mute);
  margin-bottom: 14px;
  max-width: 480px;
}
.feat-grid .info p:first-of-type {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--fg);
  margin-bottom: 22px;
  line-height: 1.45;
  font-weight: 300;
}
.feat-grid .info .credits {
  margin-top: 28px;
  border-top: 1px solid rgba(240, 235, 226, 0.15);
  padding-top: 18px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  display: grid;
  gap: 8px;
}
.feat-grid .info .credits b { color: var(--fg); font-weight: 600; letter-spacing: 0.04em; }
.feat-grid .info .credits > div { transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
.feat-grid .info .credits > div:hover { color: var(--fg); transform: translateX(4px); }
body[dir="rtl"] .feat-grid .info .credits > div:hover { transform: translateX(-4px); }

.video-w {
  aspect-ratio: 16/10;
  background: url('img/20-reel-cinema.jpg') center/cover;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(240, 235, 226, 0.1);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.video-w::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 25%, rgba(0, 0, 0, 0.55));
  pointer-events: none;
  transition: 0.4s var(--ease);
}
.video-w:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(232, 92, 42, 0.25);
}
.video-w:hover::after {
  background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.3));
}
.play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  border-radius: 50%;
  background: rgba(232, 92, 42, 0.95);
  display: grid; place-items: center;
  transition: 0.4s var(--ease);
  z-index: 2;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 40px rgba(232, 92, 42, 0.6);
}
.video-w:hover .play {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--accent-2);
}
.play::before {
  content: "";
  border-left: 18px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px;
}
.play::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(232, 92, 42, 0.5);
  animation: ring 2.4s ease-out infinite;
}
@keyframes ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}
.tc {
  position: absolute;
  bottom: 14px; left: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(240, 235, 226, 0.85);
  z-index: 2;
}
.tc small {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: normal;
  margin-right: 8px;
  color: var(--accent);
  font-weight: 600;
}

/* =========================================================
   FILMS PAGE
   ========================================================= */
.page-head {
  max-width: 1600px;
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
}
.page-head h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.page-head h1 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  text-transform: none;
}
.page-head .meta {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}

.film-list {
  max-width: 1600px;
  margin: 0 auto;
  border-top: 1px solid rgba(240, 235, 226, 0.2);
  border-radius: 24px;
  overflow: hidden;
}
.film-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr 1fr 100px;
  gap: 32px;
  padding: 32px 24px;
  border-bottom: 1px solid rgba(240, 235, 226, 0.12);
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease);
  overflow: hidden;
}
.film-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(232, 92, 42, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.film-row:hover { padding-left: 42px; }
body[dir="rtl"] .film-row:hover { padding-left: 24px; padding-right: 42px; }
.film-row:hover::before { opacity: 1; }
.film-row:hover h4 { color: var(--accent); }
.film-row .yr {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 26px;
  color: var(--mute);
  font-weight: 300;
}
.film-row h4 {
  font-family: 'Anton', sans-serif;
  font-size: 36px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  line-height: 1;
  transition: color 0.3s var(--ease);
}
.film-row h4 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--mute);
  text-transform: none;
}
.film-row:hover h4 em { color: var(--accent-2); }
.film-row .typ {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}
.film-row .typ b { color: var(--fg); font-weight: 600; display: block; margin-bottom: 2px; }
.film-row .award {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  line-height: 1.4;
}
.film-row .arr {
  justify-self: end;
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  color: var(--mute);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
body[dir="rtl"] .film-row .arr { justify-self: start; transform: scaleX(-1); }
.film-row:hover .arr { color: var(--accent); transform: translateX(8px); }
body[dir="rtl"] .film-row:hover .arr { transform: scaleX(-1) translateX(8px); }

/* =========================================================
   STUDIO PAGE
   ========================================================= */
.studio-hero {
  max-width: 1600px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.studio-hero .img-w {
  aspect-ratio: 3/4;
  background: url('img/20-reel-camera.jpg') center/cover;
  filter: contrast(1.1) saturate(1.05);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ease);
}
.studio-hero .img-w::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.4));
}
.studio-hero .img-w:hover { transform: scale(1.02); }
.studio-hero .txt h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-wrap: balance;
}
.studio-hero .txt h2 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  text-transform: none;
}
.studio-hero .txt p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--mute);
  margin-bottom: 16px;
  max-width: 560px;
}
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(240, 235, 226, 0.15);
}
.stat-row .s { padding: 8px; transition: transform 0.3s var(--ease); }
.stat-row .s:hover { transform: translateY(-4px); }
.stat-row .s b {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 5vw, 68px);
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 6px;
}
.stat-row .s b em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.stat-row .s span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

/* Quote */
.statement {
  padding: 100px 32px;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 32px;
}
.statement blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin-bottom: 36px;
  text-wrap: balance;
  font-weight: 300;
}
.statement blockquote::before,
.statement blockquote::after {
  content: "";
  display: block;
  width: 80px; height: 1px;
  background: var(--accent);
  margin: 0 auto 32px;
}
.statement blockquote::after { margin: 32px auto 0; }
.statement blockquote em { color: var(--accent); font-style: italic; }
.statement cite {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  font-style: normal;
}
.statement cite b { display: block; color: var(--fg); font-size: 14px; letter-spacing: 0.06em; margin-bottom: 4px; }

/* People grid */
.people {
  max-width: 1600px;
  margin: 100px auto 0;
}
.people h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.95;
  margin-bottom: 40px;
}
.people h2 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  text-transform: none;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.person {
  padding: 28px;
  border-radius: 20px;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
  cursor: pointer;
}
.person:hover { transform: translateY(-6px); }
.person .role {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 600;
}
.person h4 {
  font-family: 'Anton', sans-serif;
  font-size: 30px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1;
}
.person p {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.55;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-wrap {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.contact-wrap h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-wrap: balance;
}
.contact-wrap h1 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  text-transform: none;
}
.contact-wrap .sub {
  font-size: 18px;
  color: var(--mute);
  max-width: 620px;
  margin: 0 auto 56px;
  line-height: 1.6;
}
.contact-card {
  padding: 48px;
  border-radius: 28px;
  text-align: left;
  margin-bottom: 28px;
}
.contact-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 32px;
  color: var(--fg);
  margin-bottom: 8px;
  font-weight: 400;
}
.contact-card .city-meta {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.contact-card p {
  color: var(--mute);
  margin-bottom: 8px;
  font-size: 15px;
}
.contact-card a {
  color: var(--fg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.contact-card a:hover { color: var(--accent); border-color: var(--accent); }
.contact-cities { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.btn-rl {
  padding: 18px 30px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(232, 92, 42, 0.4);
  margin-top: 28px;
}
.btn-rl:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(232, 92, 42, 0.55);
}

/* =========================================================
   Scroll animations
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  filter: blur(4px);
}
.reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}
/* Disappear on scroll away — controlled by JS via .out class */
.reveal.out {
  opacity: 0;
  transform: translateY(-24px);
  filter: blur(4px);
}

/* =========================================================
   Loading overlay — Aperture-style
   ========================================================= */
.loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  display: grid;
  place-items: center;
  opacity: 1;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-overlay .brand-tiny {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--mute);
  opacity: 0;
  animation: hero-line 0.8s var(--ease) 0.4s both;
}

/* Page transition loader — appears only during page switches */
.page-loader {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 65;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.page-loader.show { opacity: 1; }

/* Aperture loader (from circleloaders — film-appropriate) */
.ap-loader { color: var(--accent); }
.ap-loader .ap-halo { stroke: currentColor; stroke-width: 1; opacity: 0.15; fill: none; }
.ap-loader .ap-r1, .ap-loader .ap-r2, .ap-loader .ap-r3 {
  stroke: currentColor;
  stroke-linecap: round;
  fill: none;
  transform-box: view-box;
  transform-origin: center;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
.ap-loader .ap-r1 { stroke-width: 2; stroke-dasharray: 34 14 9 43; opacity: 0.95; animation: ap-cw 2.8s linear infinite; }
.ap-loader .ap-r2 { stroke-width: 2.4; stroke-dasharray: 24 10 24 42; opacity: 0.72; animation: ap-ccw 3.9s linear infinite; }
.ap-loader .ap-r3 { stroke-width: 2.8; stroke-dasharray: 16 12 16 56; opacity: 0.52; animation: ap-cw 2.1s linear infinite; }
.ap-loader .ap-core {
  fill: currentColor;
  transform-box: view-box;
  transform-origin: center;
  animation: ap-core 2.1s ease-in-out infinite;
}
@keyframes ap-cw { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ap-ccw { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes ap-core {
  0%, 100% { transform: scale(0.55); opacity: 0.45; }
  50% { transform: scale(1); opacity: 1; }
}

/* =========================================================
   Fade animations
   ========================================================= */
@keyframes fade-down {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
/* lang-switch specific translate override */
.lang-switch { animation: lang-fade-down 0.9s var(--ease) 0.3s both; }
@keyframes lang-fade-down {
  from { opacity: 0; transform: translate(-50%, -16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.dock-wrap { animation: dock-fade-up 0.9s var(--ease) 0.5s both; }
@keyframes dock-fade-up {
  from { opacity: 0; transform: translate(-50%, 40px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .brand-mark { top: 18px; left: 18px; font-size: 20px; }
  .now-badge { display: none; }
  .lang-switch { top: 16px; padding: 4px; }
  .lang-switch button { padding: 7px 12px; font-size: 10px; min-width: 44px; }
  .page { padding: 100px 18px 130px; }
  .mask-h1 { font-size: 60px; }
  .mask-h1 .mask { background-attachment: scroll; }
  .hero .lead { font-size: 18px; margin-bottom: 32px; }
  .hero-foot { grid-template-columns: 1fr; gap: 18px; }
  .hero-foot .r { justify-self: start; text-align: left; }
  .featured { padding: 24px; }
  .feat-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-head { grid-template-columns: 1fr; }
  .film-row { grid-template-columns: 50px 1fr 60px; gap: 12px; padding: 24px 16px; }
  .film-row:hover { padding-left: 20px; }
  .film-row .typ, .film-row .award { display: none; }
  .film-row h4 { font-size: 26px; }
  .studio-hero { grid-template-columns: 1fr; gap: 40px; }
  .stat-row { grid-template-columns: 1fr; gap: 14px; }
  .people-grid { grid-template-columns: 1fr; }
  .contact-cities { grid-template-columns: 1fr; }
  .contact-card { padding: 28px; }
  .dock { padding: 8px; gap: 4px; }
  .dock-btn { width: 50px; height: 50px; border-radius: 15px; }
  .dock-btn svg { width: 22px; height: 22px; }
  .dock-btn:hover { transform: translateY(-8px) scale(1.1); }
  .hero-aperture { width: 64px; height: 64px; top: -8px; right: 8px; }
}

@media (max-width: 560px) {
  .lang-switch button { padding: 6px 10px; min-width: 38px; }
  .brand-mark { font-size: 18px; }
  .brand-mark em { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .ambient { display: none; }
}
