/* =========================================================
   FORMAL — design system
   black / red / white · cinematic · RTL Hebrew
   ========================================================= */

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #171717;
  --fg: #f2f2f2;
  --fg-dim: rgba(242, 242, 242, 0.62);
  --fg-mute: rgba(242, 242, 242, 0.38);
  --red: #e10600;
  --red-2: #ff2a1f;
  --red-glow: rgba(225, 6, 0, 0.55);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);

  --font-display: "Frank Ruhl Libre", "Times New Roman", serif;
  --font-body: "Heebo", "Segoe UI", Arial, sans-serif;
  --font-mono: "Courier New", ui-monospace, monospace;

  --max: 1320px;
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 4px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  background: var(--bg);
  color: var(--fg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.7;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-transitioning { pointer-events: none; }

img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 900; line-height: 1.05; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

::selection { background: var(--red); color: #fff; }

/* ---------- media protection ---------- */
.protected, .protected * {
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}
.protected img, .protected video { pointer-events: none; }
.shield { position: absolute; inset: 0; z-index: 2; }

/* ---------- global layers ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 9000; pointer-events: none;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.06;
  mix-blend-mode: overlay;
  animation: grain 0.9s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.curtain {
  position: fixed; inset: 0; z-index: 9500; background: #000;
  opacity: 0; pointer-events: none;
  transition: opacity 0.45s var(--ease-in-out);
}
.curtain.is-on { opacity: 1; pointer-events: auto; }
.curtain.is-boot { opacity: 1; transition: opacity 0.9s var(--ease-in-out); animation: curtainOff 0.8s ease 3s forwards; }
@keyframes curtainOff { to { opacity: 0; visibility: hidden; } }

/* custom cursor (desktop only): the "o" play mark from the logo */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor .filter, body.has-cursor label { cursor: none; }
  body.has-cursor input, body.has-cursor textarea, body.has-cursor select { cursor: auto; }
  .cursor {
    display: block; position: fixed; z-index: 9800; top: 0; left: 0;
    width: 42px; height: 42px; margin: -21px 0 0 -21px; pointer-events: none; will-change: transform;
    transition: opacity 0.25s;
  }
  .cursor img { display: block; width: 100%; height: 100%; transition: transform 0.35s var(--ease-out), filter 0.35s; filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 8px rgba(225, 6, 0, 0.35)); }
  body.cursor-hover .cursor img { transform: scale(1.35) rotate(14deg); filter: drop-shadow(0 0 14px rgba(225, 6, 0, 0.6)); }
  body.cursor-media .cursor img { transform: scale(2.2); filter: drop-shadow(0 0 22px rgba(225, 6, 0, 0.7)); }
  body.cursor-text .cursor, body.cursor-hidden .cursor { opacity: 0; }
}

/* ---------- layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(72px, 10vw, 140px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--line { border-top: 1px solid var(--line); }

.section__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(32px, 5vw, 64px);
}
.section__title { font-size: clamp(2.2rem, 5.2vw, 4.4rem); }
.section__title em { font-style: normal; color: var(--red); }
.section__link {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 0.95rem;
  color: var(--fg-dim); white-space: nowrap; padding-bottom: 6px;
  border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s;
}
.section__link:hover { color: var(--fg); border-color: var(--red); }
.section__link .arrow { display: inline-block; transition: transform 0.3s var(--ease-out); }
.section__link:hover .arrow { transform: translateX(-6px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--red); }

.lead { font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.6; color: var(--fg-dim); max-width: 60ch; }

.side-label {
  position: absolute; top: 50%; right: 14px; transform: translateY(-50%) rotate(90deg);
  transform-origin: center; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.3em;
  color: var(--red); opacity: 0.75; white-space: nowrap; pointer-events: none;
}
@media (max-width: 1100px) { .side-label { display: none; } }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 500; font-size: 0.98rem;
  letter-spacing: 0.01em; overflow: hidden; isolation: isolate;
  transition: color 0.35s, border-color 0.35s, transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.btn--red { background: var(--red); color: #fff; box-shadow: 0 0 0 rgba(225, 6, 0, 0); }
.btn--red::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: #fff;
  transform: translateY(101%); transition: transform 0.45s var(--ease-out);
}
.btn--red:hover { color: #0a0a0a; box-shadow: 0 10px 40px -10px var(--red-glow); }
.btn--red:hover::before { transform: translateY(0); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--fg); background: rgba(10, 10, 10, 0.35); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--white { background: var(--fg); color: #0a0a0a; }
.btn--white:hover { background: #fff; transform: translateY(-2px); }

/* ---------- header ---------- */
.header {
  position: fixed; inset-inline: 0; top: 0; z-index: 1000;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s, transform 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(10, 10, 10, 0.72); backdrop-filter: blur(14px); border-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.logo {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--font-display); font-weight: 900; font-size: 1.55rem; letter-spacing: 0.08em;
  line-height: 1; direction: ltr;
}
.logo__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px var(--red); align-self: center; }
.logo__img { display: block; height: 40px; width: auto; filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.12)); transition: transform 0.4s var(--ease-out); }
.logo:hover .logo__img { transform: scale(1.04); }
.footer__bottom .logo__img { height: 34px; }
@media (max-width: 640px) { .logo__img { height: 34px; } }
.logo__sub { font-family: var(--font-body); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.3em; color: var(--fg-mute); }

.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav__link {
  position: relative; font-weight: 400; font-size: 0.98rem; color: var(--fg-dim);
  padding: 8px 0; transition: color 0.3s;
}
.nav__link::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 2px; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { color: var(--fg); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { margin-inline-start: 8px; min-height: 42px; padding-inline: 20px; font-size: 0.9rem; }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 1200; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--fg);
  transition: transform 0.4s var(--ease-out), opacity 0.3s, top 0.4s var(--ease-out);
}
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
body.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: block; }
  .header.is-scrolled { backdrop-filter: none; background: rgba(10, 10, 10, 0.94); }
  .nav {
    position: fixed; inset: 0; z-index: 1100; flex-direction: column; justify-content: center; gap: 28px;
    background: rgba(8, 8, 8, 0.96); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
  }
  body.menu-open .nav { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
  .nav__link { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--fg); transform: translateY(20px); opacity: 0; transition: transform 0.6s var(--ease-out), opacity 0.6s; }
  body.menu-open .nav__link { transform: none; opacity: 1; }
  body.menu-open .nav__link:nth-child(2) { transition-delay: 0.05s; }
  body.menu-open .nav__link:nth-child(3) { transition-delay: 0.1s; }
  body.menu-open .nav__link:nth-child(4) { transition-delay: 0.15s; }
  .nav__cta { margin-top: 10px; transform: translateY(20px); opacity: 0; transition: transform 0.6s var(--ease-out) 0.2s, opacity 0.6s 0.2s; }
  body.menu-open .nav__cta { transform: none; opacity: 1; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center;
  overflow: hidden; background: #050505; isolation: isolate;
}
.hero__fog { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__fallback {
  position: absolute; inset: -20%; z-index: 0; display: none;
  background:
    radial-gradient(ellipse 50% 70% at 25% 0%, rgba(255, 255, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 45% 60% at 78% 5%, rgba(225, 6, 0, 0.45), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(225, 6, 0, 0.25), transparent 60%),
    #050505;
  filter: blur(40px);
  animation: fogdrift 18s ease-in-out infinite alternate;
}
.hero.no-webgl .hero__fallback { display: block; }
.hero.no-webgl .hero__fog { display: none; }
@keyframes fogdrift { from { transform: translate(-3%, -2%) scale(1); } to { transform: translate(3%, 2%) scale(1.08); } }

.hero__vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 50% 45%, transparent 40%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 25%, transparent 70%, var(--bg) 100%);
}

/* viewfinder HUD */
.hud { position: absolute; inset: clamp(16px, 3vw, 40px); top: 96px; z-index: 3; pointer-events: none; opacity: 0.55; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; color: var(--fg); }
.hud__corner { position: absolute; width: 26px; height: 26px; border: 1px solid rgba(242, 242, 242, 0.55); }
.hud__corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud__corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud__corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud__corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hud__rec { position: absolute; top: 6px; left: 40px; display: flex; align-items: center; gap: 8px; direction: ltr; }
.hud__rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.hud__tc { position: absolute; top: 6px; right: 40px; direction: ltr; font-variant-numeric: tabular-nums; }
.hud__scene { position: absolute; bottom: 6px; right: 40px; direction: ltr; }
.hud__brand { position: absolute; bottom: 6px; left: 40px; direction: ltr; }
@media (max-width: 640px) { .hud__scene, .hud__brand { display: none; } .hud { top: 84px; } .hud__tc { right: 0; } .hud__rec { left: 0; } }

.hero__stage { position: relative; z-index: 4; width: min(100% - 2 * var(--gutter), var(--max)); text-align: center; padding-top: 40px; }

.hero__count { position: relative; height: clamp(120px, 24vw, 260px); display: grid; place-items: center; }
.hero__word {
  position: absolute; inset-inline: 0; margin: 0; text-align: center;
  font-family: var(--font-display); font-weight: 900; line-height: 1;
  font-size: clamp(4.6rem, 22vw, 13rem); letter-spacing: -0.02em; color: var(--fg);
  opacity: 0; will-change: transform, opacity, filter;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
}
.hero__word--action {
  color: var(--red);
  text-shadow: 0 0 30px var(--red-glow), 0 0 80px rgba(225, 6, 0, 0.35);
}
.hero__word .ch { display: inline-block; will-change: transform, opacity, filter; }

/* clapperboard */
.clap { position: absolute; left: 50%; top: 50%; z-index: 3; width: clamp(260px, 42vw, 560px); opacity: 0; pointer-events: none; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.75)); will-change: transform, opacity; }
.clap__arm { position: relative; width: 100%; aspect-ratio: 8 / 1.15; border: 3px solid #f2f2f2; border-bottom: 0; border-radius: 8px 8px 0 0; background: repeating-linear-gradient(-55deg, #0d0d0d 0 7.2%, #f2f2f2 7.2% 14.4%); transform-origin: 1.5% 100%; will-change: transform; }
.clap__bar { width: 100%; aspect-ratio: 8 / 1.15; border: 3px solid #f2f2f2; border-bottom: 0; background: repeating-linear-gradient(55deg, #0d0d0d 0 7.2%, #f2f2f2 7.2% 14.4%); position: relative; }
.clap__bar::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--red) 0 20%, transparent 20%); mix-blend-mode: multiply; opacity: 0.9; }
.clap__hinge { position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%; background: var(--red); border: 3px solid #f2f2f2; z-index: 2; }
.clap__slate { background: #0d0d0d; border: 3px solid #f2f2f2; border-radius: 0 0 12px 12px; padding: 3.5% 4.5% 3%; display: grid; gap: 2.5%; color: #f2f2f2; direction: ltr; }
.clap__row { display: grid; grid-template-columns: auto 1fr auto 1fr; align-items: baseline; gap: 2.5%; border-bottom: 1px solid rgba(242, 242, 242, 0.35); padding-bottom: 1.5%; }
.clap__row--title { grid-template-columns: auto 1fr; }
.clap__row span { font-family: var(--font-mono); font-size: clamp(0.5rem, 1vw, 0.75rem); letter-spacing: 0.22em; color: rgba(242, 242, 242, 0.6); }
.clap__row b { font-family: var(--font-display); font-weight: 900; font-size: clamp(0.9rem, 2vw, 1.5rem); letter-spacing: 0.04em; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clap__row--title b { font-size: clamp(1.3rem, 3.2vw, 2.5rem); letter-spacing: 0.12em; color: #fff; }
.clap__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3%; }
.clap__grid div { border: 1px solid rgba(242, 242, 242, 0.35); border-radius: 4px; padding: 3% 6%; display: grid; gap: 2px; }
.clap__grid span { font-family: var(--font-mono); font-size: clamp(0.45rem, 0.9vw, 0.7rem); letter-spacing: 0.22em; color: rgba(242, 242, 242, 0.6); }
.clap__grid b { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.4rem, 3.6vw, 3rem); line-height: 1; color: var(--red); }
.clap__row--foot { border-bottom: 0; padding-bottom: 0; }
@media (max-width: 640px) { .clap { width: 86vw; } }
.hero__flash { position: absolute; inset: 0; z-index: 6; background: #fff; opacity: 0; pointer-events: none; }

.hero__after { margin-top: clamp(8px, 2vw, 24px); opacity: 0; transform: translateY(24px); }
.hero__kicker.hero__kicker--he { font-family: var(--font-body); font-weight: 400; text-transform: none; direction: rtl; letter-spacing: 0.12em; font-size: clamp(0.85rem, 1.4vw, 1rem); color: var(--fg-dim); }
.hero__kicker { font-family: var(--font-mono); font-size: clamp(0.58rem, 1.6vw, 0.72rem); letter-spacing: clamp(0.14em, 1vw, 0.35em); padding-inline: 8px; color: var(--fg-mute); text-transform: uppercase; direction: ltr; }
.hero__sub {
  margin: 18px auto 0; max-width: 34ch; font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.6; color: var(--fg-dim);
}
.hero__cta { display: flex; justify-content: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; bottom: clamp(20px, 4vw, 44px); left: 50%; transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--fg-mute); opacity: 0;
}

.hero__scroll i { width: 1px; height: 48px; background: linear-gradient(to bottom, var(--red), transparent); animation: drop 1.8s var(--ease-in-out) infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.hero__replay {
  position: absolute; bottom: clamp(20px, 4vw, 44px); right: clamp(16px, 3vw, 40px); z-index: 4;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--fg-dim);
  display: grid; place-items: center; opacity: 0; transition: color 0.3s, border-color 0.3s, transform 0.5s var(--ease-out);
}
.hero__replay:hover { color: var(--fg); border-color: var(--red); transform: rotate(-180deg); }
.hero__replay svg { width: 16px; height: 16px; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; direction: ltr; -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 36px; padding-inline-end: 36px;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.6rem); color: rgba(242, 242, 242, 0.42); white-space: nowrap; direction: rtl;
}
.marquee__item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- works ---------- */
.works-grid { display: grid; gap: clamp(20px, 3vw, 36px); grid-template-columns: repeat(12, 1fr); }
.works-grid .work:nth-child(1) { grid-column: span 7; }
.works-grid .work:nth-child(2) { grid-column: span 5; }
.works-grid .work:nth-child(3) { grid-column: span 5; }
.works-grid .work:nth-child(4) { grid-column: span 7; }
.works-grid--all .work { grid-column: span 4 !important; }
@media (max-width: 960px) {
  .works-grid .work, .works-grid--all .work { grid-column: span 6 !important; }
}
@media (max-width: 600px) {
  .works-grid .work, .works-grid--all .work { grid-column: span 12 !important; }
}

.work { position: relative; }
.work__media {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius);
  background: var(--bg-2); isolation: isolate; text-align: inherit;
}
.works-grid--all .work__media { aspect-ratio: 4 / 3; }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out), filter 0.6s; filter: saturate(0.85) contrast(1.05); }
.work:hover .work__media img { transform: scale(1.06); filter: saturate(1) contrast(1.05); }
.work__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.75), transparent 55%);
  opacity: 0.8; transition: opacity 0.5s;
}
.work:hover .work__media::after { opacity: 1; }
.work__play {
  position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.9);
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10, 10, 10, 0.55); border: 1px solid rgba(255, 255, 255, 0.35); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.4s, transform 0.5s var(--ease-out), background 0.3s, border-color 0.3s;
}
.work__play svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.work:hover .work__play, .work:focus-within .work__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.work__play:hover { background: var(--red); border-color: var(--red); }
.work--image .work__play svg { display: none; }
.work--image .work__play::after { content: "+"; font-size: 30px; font-weight: 300; color: #fff; line-height: 1; }
@media (hover: none) { .work__play { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

.work__tag {
  position: absolute; z-index: 3; top: 16px; inset-inline-start: 16px; padding: 6px 12px;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  background: rgba(10, 10, 10, 0.6); border: 1px solid var(--line-2); border-radius: 999px; color: var(--fg); backdrop-filter: blur(6px);
}
.work__meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: baseline; margin-top: 16px; }
.work__num { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.15em; color: var(--red); grid-row: span 2; align-self: start; padding-top: 6px; }
.work__title { font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 700; transition: color 0.3s; }
.work:hover .work__title { color: #fff; }
.work__sub { font-size: 0.88rem; color: var(--fg-mute); display: flex; gap: 10px; flex-wrap: wrap; }
.work__sub span + span::before { content: "·"; margin-inline-end: 10px; color: var(--red); }

/* filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.filter {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg-dim); font-size: 0.9rem;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.filter:hover { color: var(--fg); border-color: var(--line-2); }
.filter.is-active { color: #fff; background: var(--red); border-color: var(--red); }
.filter__count { font-family: var(--font-mono); font-size: 0.7rem; margin-inline-start: 8px; opacity: 0.7; }

.empty { padding: 60px 0; text-align: center; color: var(--fg-mute); }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { position: relative; background: var(--bg); padding: clamp(28px, 3vw, 44px); min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow: hidden; transition: background 0.5s; }
.service::before { content: ""; position: absolute; inset: auto -40% -60% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--red-glow), transparent 65%); opacity: 0; transition: opacity 0.6s, transform 0.8s var(--ease-out); transform: scale(0.6); }
.service:hover { background: var(--bg-2); }
.service:hover::before { opacity: 0.55; transform: scale(1); }
.service__num { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; color: var(--red); }
.service__title { font-size: 1.6rem; font-weight: 700; margin-bottom: 10px; }
.service__text { color: var(--fg-dim); font-size: 0.95rem; }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } .service { min-height: 0; gap: 20px; } }

/* ---------- quote (home) ---------- */
.quote-block { text-align: center; padding-block: clamp(56px, 8vw, 110px); position: relative; }
.quote-block::before { content: "”"; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); font-family: var(--font-display); font-size: 12rem; line-height: 1; color: var(--red); opacity: 0.25; }
.quote-block blockquote { margin: 0 auto; max-width: 28ch; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.3; position: relative; }
.quote-block figcaption { margin-top: 26px; color: var(--fg-mute); font-size: 0.95rem; }
.quote-block figcaption b { color: var(--fg); font-weight: 500; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; padding-block: clamp(90px, 14vw, 180px); }
.cta__glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 60% 60% at 50% 110%, rgba(225, 6, 0, 0.45), transparent 65%); }
.cta .container { position: relative; z-index: 1; }
.cta__title { font-size: clamp(2.8rem, 8vw, 7rem); }
.cta__title em { font-style: normal; color: var(--red); }
.cta__text { margin: 22px auto 36px; max-width: 48ch; color: var(--fg-dim); font-size: 1.1rem; }

/* ---------- footer / contact ---------- */
.footer { border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 96px) 32px; background: #070707; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.footer__title { font-size: 2rem; margin-bottom: 14px; }
.footer__text { color: var(--fg-dim); max-width: 40ch; }
.footer__list li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.footer__list a { color: var(--fg); transition: color 0.3s; direction: ltr; unicode-bidi: isolate; }
.footer__list a:hover { color: var(--red-2); }
.footer__list .lbl { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; color: var(--fg-mute); min-width: 84px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--fg-mute); font-size: 0.8rem; }
.footer__bottom .logo { font-size: 1.1rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 12px; }
.form__row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 16px 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--fg); font: inherit; font-size: 0.98rem; resize: vertical; transition: border-color 0.3s, background 0.3s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--red); background: var(--bg-3); }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-mute); }
.form__hint { font-size: 0.8rem; color: var(--fg-mute); }
.form .btn { justify-self: start; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(76px + clamp(64px, 10vw, 140px)) 0 clamp(48px, 6vw, 88px); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 85% 0%, rgba(225, 6, 0, 0.32), transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 10%, rgba(255, 255, 255, 0.07), transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title { font-size: clamp(3rem, 9vw, 7.5rem); max-width: 12ch; }
.page-hero__title em { font-style: normal; color: var(--red); }
.page-hero__lead { margin-top: 24px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__frame { position: absolute; inset: 18px; border: 1px solid rgba(255, 255, 255, 0.18); pointer-events: none; }
.portrait__tag { position: absolute; bottom: 30px; inset-inline-start: 30px; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.25em; color: var(--fg); direction: ltr; }
.portrait__caption { margin-top: 14px; font-size: 0.85rem; color: var(--fg-mute); }
.about-text p + p { margin-top: 1.1em; }
.about-text p { color: var(--fg-dim); font-size: 1.08rem; }
.about-text p:first-child { color: var(--fg); font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 400; line-height: 1.5; }
.about-text strong { color: var(--fg); font-weight: 500; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(40px, 5vw, 64px); }
.stat { background: var(--bg); padding: 28px; }
.stat__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; color: var(--fg); }
.stat__num small { color: var(--red); font-size: 0.5em; vertical-align: top; }
.stat__label { margin-top: 8px; color: var(--fg-mute); font-size: 0.9rem; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.process__item { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.process__item::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 48px; height: 1px; background: var(--red); }
.process__num { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; color: var(--red); }
.process__title { font-size: 1.5rem; font-weight: 700; margin: 10px 0 8px; }
.process__text { color: var(--fg-dim); font-size: 0.95rem; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.9rem; color: var(--fg-dim); transition: border-color 0.3s, color 0.3s; }
.chip:hover { border-color: var(--red); color: var(--fg); }

/* ---------- testimonials ---------- */
.testimonials { display: grid; gap: clamp(56px, 8vw, 120px); }
.testimonial { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.testimonial:nth-child(even) { grid-template-columns: 5fr 7fr; }
.testimonial:nth-child(even) .testimonial__body { order: 2; }
.testimonial:nth-child(even) .testimonial__media { order: 1; }
@media (max-width: 860px) {
  .testimonial, .testimonial:nth-child(even) { grid-template-columns: 1fr; }
  .testimonial:nth-child(even) .testimonial__body { order: 1; }
  .testimonial:nth-child(even) .testimonial__media { order: 2; }
}
.testimonial__index { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.25em; color: var(--red); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.testimonial__index::after { content: ""; flex: 1; max-width: 80px; height: 1px; background: var(--red); opacity: 0.6; }
.testimonial__quote { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1.3; }
.testimonial__quote::before { content: "“"; color: var(--red); margin-inline-end: 0.1em; }
.testimonial__quote::after { content: "”"; color: var(--red); margin-inline-start: 0.1em; }
.testimonial__who { margin-top: 26px; display: grid; gap: 2px; }
.testimonial__name { font-weight: 500; font-size: 1.05rem; }
.testimonial__role { color: var(--fg-mute); font-size: 0.9rem; }
.testimonial__project { margin-top: 10px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; color: var(--fg-mute); }
.testimonial__project b { color: var(--fg-dim); font-weight: 400; }
.testimonial__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); display: block; width: 100%; }
.testimonial__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8); transition: transform 1.1s var(--ease-out), filter 0.6s; }
.testimonial__media:hover img { transform: scale(1.05); filter: saturate(1); }
.testimonial__media .work__play { opacity: 1; transform: translate(-50%, -50%); }
.testimonial__media--placeholder { display: grid; place-items: center; }
.testimonial__initial { font-family: var(--font-display); font-weight: 900; font-size: clamp(5rem, 12vw, 10rem); color: rgba(255, 255, 255, 0.08); line-height: 1; }
.testimonial__media--placeholder::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 70% 20%, rgba(225, 6, 0, 0.35), transparent 60%); }

/* credits roll */
.credits { position: relative; height: 420px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent); }
.credits__track { display: grid; gap: 22px; text-align: center; animation: roll 40s linear infinite; }
.credits:hover .credits__track { animation-play-state: paused; }
.credits__item { display: grid; gap: 4px; }
.credits__role { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.3em; color: var(--red); }
.credits__name { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; }
@keyframes roll { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* ---------- modal / player ---------- */
.modal { position: fixed; inset: 0; z-index: 8000; display: grid; place-items: center; padding: clamp(12px, 3vw, 40px); overflow-y: auto; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.92); backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.4s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__dialog {
  position: relative; z-index: 1; width: min(100%, 1180px, calc((100vh - 270px) * 16 / 9)); display: grid; gap: 18px;
  opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__media { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line); }
.modal__media iframe, .modal__media video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__media video { pointer-events: auto; }
.modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.modal__media--image { background: #050505; }
.modal__media .shield { z-index: 3; }
.modal__loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--fg-mute); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.3em; }
.modal__loading::after { content: ""; width: 40px; height: 1px; background: var(--red); position: absolute; top: calc(50% + 24px); animation: load 1.2s var(--ease-in-out) infinite alternate; }
@keyframes load { from { transform: scaleX(0.2); opacity: 0.4; } to { transform: scaleX(1); opacity: 1; } }
.modal__info { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.modal__title { font-size: clamp(1.3rem, 2.2vw, 1.9rem); }
.modal__sub { color: var(--fg-mute); font-size: 0.9rem; margin-top: 6px; }
.modal__desc { color: var(--fg-dim); margin-top: 10px; max-width: 70ch; font-size: 0.98rem; }
.modal__nav { display: flex; gap: 8px; flex: none; }
.modal__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--fg); transition: border-color 0.3s, background 0.3s; }
.modal__btn:hover { border-color: var(--red); background: rgba(225, 6, 0, 0.15); }
.modal__btn svg { width: 16px; height: 16px; }
.modal__close { position: absolute; top: -8px; inset-inline-start: 0; transform: translateY(-100%); z-index: 2; display: inline-flex; align-items: center; gap: 10px; color: var(--fg-dim); font-size: 0.85rem; letter-spacing: 0.1em; padding: 10px 0; transition: color 0.3s; }
.modal__close:hover { color: var(--fg); }
.modal__close kbd { font-family: var(--font-mono); font-size: 0.65rem; border: 1px solid var(--line-2); border-radius: 3px; padding: 2px 6px; }
@media (max-height: 700px) { .modal__desc { display: none; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--fade { transform: none; }

/* ---------- 404 / misc ---------- */
.center-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 100px var(--gutter); }
.big-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(6rem, 25vw, 18rem); line-height: 0.9; color: var(--red); }

.skip { position: absolute; top: -100px; inset-inline-start: 16px; z-index: 10000; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 4px; }
.skip:focus { top: 16px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .grain { animation: none; }
}

/* ---------- contact form extras / legal ---------- */
.check { display: flex; align-items: flex-start; gap: 10px; color: var(--fg-dim); font-size: 0.9rem; line-height: 1.5; }
.check input { width: 18px; height: 18px; accent-color: var(--red); margin-top: 3px; flex: none; }
.check a { color: var(--fg); border-bottom: 1px solid var(--red); }
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.footer { position: relative; }
.form__note { font-size: 0.95rem; color: var(--fg); padding: 12px 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); }
.form__note--error { border-color: var(--red); color: var(--red-2); }
.footer__legal { color: var(--fg-dim); border-bottom: 1px solid var(--line-2); margin-inline-start: 6px; transition: color 0.3s, border-color 0.3s; }
.footer__legal:hover { color: var(--fg); border-color: var(--red); }
.footer__admin { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; color: var(--fg-mute); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; transition: color 0.3s, border-color 0.3s; }
.footer__admin:hover { color: var(--fg); border-color: var(--red); }
.modal__source { margin-top: 10px; font-size: 0.9rem; }
.modal__source a { color: var(--fg-dim); border-bottom: 1px solid var(--line-2); }
.modal__source a:hover { color: var(--fg); border-color: var(--red); }
