/* ==========================================================================
   BOB. REELS NINJA — STYLES
   Colors come from the logo. Red is an accent only — keep it rare.
   ========================================================================== */

:root {
  --black: #0E0D0C;
  --off-1: #171513;
  --off-2: #211E1A;
  --white: #F5F1EA;
  --red:   #800020;
  --red-hi: #C43156;
  --gray-d: #5C5750;
  --gray-l: #A39E96;
  --line:  rgba(255, 255, 255, .1);

  /* Outfit everywhere in English: its round O echoes the lens in the logo */
  --f-head: "Outfit", system-ui, sans-serif;
  --f-body: "Outfit", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 76px;
}

/* Arabic: Alexandria for headings/labels/buttons, IBM Plex Sans Arabic for running text */
html[lang="ar"] { --f-head: "Alexandria", "IBM Plex Sans Arabic", sans-serif; --f-body: "IBM Plex Sans Arabic", sans-serif; }
html[lang="ar"] body { line-height: 1.8; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font: 400 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }
::selection { background: var(--red); color: var(--white); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 999; background: var(--red); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 16px; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Film grain overlay ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' 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%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) }
  60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) }
}

/* ---------- Typography ---------- */
.label {
  font: 200 12px/1.4 var(--f-head); text-transform: uppercase; letter-spacing: .45em;
  color: var(--gray-l); margin: 0; display: flex; align-items: center; gap: .6em;
}
html[lang="ar"] .label { letter-spacing: .05em; font-size: 14px; font-weight: 400; }
.h2 {
  font: 800 clamp(36px, 6vw, 76px)/.95 var(--f-head); text-transform: uppercase;
  letter-spacing: -.02em; margin: 14px 0 0;
}
.h2--xl { font-size: clamp(44px, 8vw, 104px); }
html[lang="ar"] .h2 { letter-spacing: 0; line-height: 1.15; }
.sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head--center { text-align: center; }
.sec-head--center .label { justify-content: center; }

/* ---------- REC motif ---------- */
.rec-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 10px rgba(150,8,44,.7); animation: blink 1.4s steps(1) infinite; flex: none;
}
@keyframes blink { 50% { opacity: .15 } }
.rec { font: 600 11px/1 var(--f-head); letter-spacing: .3em; color: var(--white); display: inline-flex; align-items: center; gap: 8px; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 16px 30px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); font: 600 13px/1 var(--f-head); letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid transparent; position: relative; overflow: hidden;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s, transform .35s var(--ease);
}
html[lang="ar"] .btn { letter-spacing: 0; font-size: 15px; font-weight: 700; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: #9C0A2E; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.8); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }
.btn--sm { --pad: 11px 18px; font-size: 11px; }
.btn--xl { --pad: 22px 32px; width: 100%; font-size: 14px; }
.btn--wa { border-color: var(--line); background: var(--off-2); }
.btn--wa svg { width: 20px; height: 20px; color: #25D366; }
.btn--wa:hover { border-color: #25D366; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background .4s, border-color .4s, height .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(0,0,0,.94); border-color: var(--line); --nav-h: 64px; height: 64px; }
.nav__inner { height: 100%; max-width: 1440px; margin: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand__img { height: 44px; width: auto; }
.nav.is-solid .brand__img { height: 38px; }
.brand__img--lg { height: 72px; }

/* Text wordmark — fallback when assets/logo.png isn't present yet */
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; direction: ltr; }
.wordmark__top { font: 900 28px/1 "Outfit", sans-serif; display: inline-flex; align-items: center; letter-spacing: -.02em; }
.wordmark__lens {
  width: .78em; height: .78em; margin: 0 .04em; border-radius: 50%;
  border: .13em solid var(--white); position: relative;
  background: radial-gradient(circle, #242220 0 28%, var(--white) 29% 36%, #020000 37%);
}
.wordmark__dot { width: .22em; height: .22em; border-radius: 50%; background: var(--red); margin-inline-start: .06em; align-self: flex-end; margin-bottom: .08em; }
.wordmark__sub { font: 200 7.5px/1 "Outfit", sans-serif; letter-spacing: .62em; text-transform: uppercase; margin-top: 5px; color: var(--white); }
.wordmark--lg .wordmark__top { font-size: 44px; }
.wordmark--lg .wordmark__sub { font-size: 11px; }

.nav__links { display: none; gap: 30px; margin-inline-start: auto; }
.nav__links a {
  font: 400 12px/1 var(--f-head); letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.8);
  position: relative; padding: 8px 0; transition: color .3s;
}
html[lang="ar"] .nav__links a { letter-spacing: 0; font-size: 15px; }
.nav__links a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--white); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.lang {
  font: 600 11px/1 var(--f-head); letter-spacing: .2em; min-width: 44px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--line); transition: border-color .3s;
}
.lang:hover { border-color: var(--white); }
.nav__book { display: none; min-height: 44px; }

.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; position: relative; z-index: 70; }
.burger span:not(.sr-only) { display: block; width: 24px; height: 1.5px; background: var(--white); transition: transform .4s var(--ease); }
.burger[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(4.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-4.25px) rotate(-45deg); }

/* Mobile overlay */
.mmenu {
  position: fixed; inset: 0; z-index: 60; background: var(--black);
  display: flex; flex-direction: column; justify-content: safe center; padding: 100px var(--gutter) 72px;
  overflow-y: auto; overscroll-behavior: contain;
  animation: fadeIn .4s var(--ease);
}
.mmenu nav { display: flex; flex-direction: column; gap: 6px; }
.mmenu nav a:not(.btn) {
  font: 800 clamp(30px, 9vw, 48px)/1.2 var(--f-head); text-transform: uppercase; letter-spacing: -.01em;
  opacity: 0; transform: translateY(16px); animation: rise .6s var(--ease) forwards;
}
.mmenu nav a:nth-child(2) { animation-delay: .05s } .mmenu nav a:nth-child(3) { animation-delay: .1s }
.mmenu nav a:nth-child(4) { animation-delay: .15s } .mmenu nav a:nth-child(5) { animation-delay: .2s }
.mmenu nav a:hover { color: var(--red-hi); }
.mmenu .btn { margin-top: 28px; align-self: flex-start; }
.mmenu__rec { position: absolute; bottom: 32px; inset-inline-start: var(--gutter); margin: 0; font: 600 11px var(--f-head); letter-spacing: .3em; display: flex; gap: 8px; align-items: center; }
body.menu-open .nav { background: transparent; border-color: transparent; z-index: 65; }
body.menu-open { overflow: hidden; }

@media (min-width: 1080px) {
  .nav__links { display: flex; }
  .nav__actions { margin-inline-start: 24px; }
  .nav__book { display: inline-flex; }
  .burger { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate;
}
/* Background slider — slides are listed in index.html; each sets its own
   background-image inline (inline url() resolves from the page, not from css/) */
.hero__slides {
  position: absolute; inset: 0; z-index: -3; overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, #2c2a28 0%, #0d0b09 55%, #020000 100%); /* fallback */
}
.hero__slide {
  position: absolute; inset: 0; opacity: 0;
  background-size: cover; background-repeat: no-repeat; background-position: center;
  transition: opacity 1.8s ease-in-out;
  animation: kenburns 24s ease-in-out infinite alternate;
  transform-origin: 50% 40%;
}
.hero__slide.is-active { opacity: 1; }
.hero__dots { position: absolute; bottom: 34px; inset-inline-start: var(--gutter); display: flex; gap: 4px; z-index: 1; }
.hero__dots button { width: 44px; height: 44px; position: relative; }
.hero__dots button::after {
  content: ""; position: absolute; inset: 21px 6px; background: rgba(255,255,255,.3); transition: background .4s;
}
.hero__dots button[aria-selected="true"]::after { background: var(--red); }
@media (max-width: 640px) { .hero__dots { bottom: auto; top: calc(var(--nav-h) + 6px); } }
@keyframes kenburns { from { transform: scale(1) } to { transform: scale(1.14) translate(-1.5%, -1%) } }
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.65) 100%),       /* vignette */
    linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.5) 55%, rgba(0,0,0,.35) 100%);
}
/* Faint lens ring — echoes the "O" in the logo */
.hero__lens {
  position: absolute; z-index: -1; width: min(78vmin, 720px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 0 0 28px rgba(255,255,255,.015);
  animation: spin 60s linear infinite;
}
.hero__lens::before {
  content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.06);
}
@keyframes spin { to { transform: rotate(360deg) } }

.rec--hero { position: absolute; top: calc(var(--nav-h) + 20px); inset-inline-start: var(--gutter); }
.rec__time { font-weight: 300; color: var(--gray-l); letter-spacing: .15em; font-variant-numeric: tabular-nums; }

.hero__content { padding: 0 var(--gutter); max-width: 1180px; text-shadow: 0 2px 24px rgba(0,0,0,.55); }
.hero__l1 { justify-content: center; color: rgba(255,255,255,.78); font-size: clamp(10px, 2.6vw, 13px); }
.hero__l2 {
  margin: 22px 0 18px; font: 900 clamp(30px, 9.4vw, 112px)/.95 var(--f-head);
  text-transform: uppercase; letter-spacing: -.03em; text-wrap: balance;
}
html[lang="ar"] .hero__l2 { letter-spacing: 0; line-height: 1.15; font-weight: 800; }
.hero__l2 span { display: block; }
.hero__l3 { margin: 0; font: 600 clamp(14px, 3vw, 18px)/1 var(--f-head); letter-spacing: .32em; text-transform: uppercase; color: var(--red-hi); }
.hero__cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__cta .btn { min-width: 210px; }

.stagger { opacity: 0; transform: translateY(26px); animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none } }
@keyframes fadeIn { from { opacity: 0 } }

.scroll-ind { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-ind .label { font-size: 9px; }
.scroll-ind__line { width: 1px; height: 56px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.scroll-ind__line::after { content: ""; position: absolute; inset: 0; background: var(--red); animation: drip 2s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%) } to { transform: translateY(100%) } }

/* ==========================================================================
   PORTFOLIO
   ========================================================================== */
.work { padding: clamp(80px, 12vw, 150px) 0 40px; background: var(--black); }
.filters {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 6px; margin-bottom: 20px;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; padding: 12px 18px; border: 1px solid var(--line); font: 400 11px/1 var(--f-head);
  letter-spacing: .2em; text-transform: uppercase; color: var(--gray-l); transition: all .3s var(--ease);
}
html[lang="ar"] .filter { letter-spacing: 0; font-size: 14px; }
.filter:hover { color: var(--white); border-color: var(--gray-d); }
.filter.is-active { color: var(--white); border-color: var(--red-hi); background: rgba(150,8,44,.08); }

.cat { padding: clamp(48px, 7vw, 90px) 0; border-top: 1px solid var(--line); }
.cat:nth-child(even) { background: var(--off-1); }
.cat.is-hidden { display: none; }
.cat__head { display: grid; gap: 12px; margin-bottom: 32px; }
.cat__num { font: 300 13px/1 var(--f-head); letter-spacing: .4em; color: var(--red-hi); }
.cat__title { font: 800 clamp(32px, 6vw, 68px)/.95 var(--f-head); text-transform: uppercase; letter-spacing: -.02em; margin: 0; }
html[lang="ar"] .cat__title { letter-spacing: 0; line-height: 1.2; }
.cat__desc { color: var(--gray-l); margin: 0; max-width: 46ch; font-size: 17px; }
.cat__hint { font: 300 10px var(--f-head); letter-spacing: .3em; color: var(--gray-d); text-transform: uppercase; }

/* Reel row: swipe on mobile, grid of 4 on desktop */
.reels {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(62vw, 260px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px var(--gutter) 10px; margin-inline: calc(var(--gutter) * -1); overscroll-behavior-x: contain;
}
.reels::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
  .reels { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; gap: 22px; }
  .cat__hint { display: none; }
}

/* Phone-screen reel card */
.reel {
  scroll-snap-align: start; position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
  background: radial-gradient(circle at 50% 38%, #1f1d1b 0 18%, #12100e 19% 30%, #0c0a08 31%);
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 5px #100e0c, 0 0 0 6px rgba(255,255,255,.07), 0 30px 60px -20px rgba(0,0,0,.9);
  margin: 6px; cursor: pointer; text-align: start; color: var(--white);
  transition: transform .6s var(--ease), box-shadow .5s;
}
.reel:hover { transform: translateY(-6px); box-shadow: 0 0 0 5px #100e0c, 0 0 0 6px rgba(150,8,44,.55), 0 40px 70px -20px rgba(0,0,0,.95); }
/* Lens placeholder visible until a poster/video is added */
.reel::before {
  content: ""; position: absolute; left: 50%; top: 38%; width: 34%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.1);
}
.reel__notch { position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 32%; height: 5px; border-radius: 9px; background: rgba(0,0,0,.75); z-index: 3; }
.reel img, .reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel video { opacity: 0; transition: opacity .5s; }
.reel.is-playing video { opacity: 1; }
.reel img { transition: transform 1.2s var(--ease); }
.reel:hover img { transform: scale(1.05); }
.reel__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.88), transparent 45%, transparent 80%, rgba(0,0,0,.4)); z-index: 1; }
.reel__rec { position: absolute; top: 24px; inset-inline-start: 16px; z-index: 2; font-size: 9px; }
.reel__play {
  position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0,0,0,.35); border: 1.5px solid var(--red-hi);
  transition: transform .5s var(--ease), opacity .4s, background .3s;
}
.reel__play svg { width: 18px; height: 18px; fill: var(--red-hi); margin-left: 3px; }
.reel:hover .reel__play { background: var(--red); transform: scale(1.08); }
.reel:hover .reel__play svg { fill: var(--white); }
.reel.is-playing .reel__play { opacity: 0; transform: scale(.7); }
.reel__info { position: absolute; z-index: 2; inset: auto 16px 18px; }
.reel__title { font: 700 15px/1.2 var(--f-head); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 6px; }
.reel__loc { font: 300 10px/1 var(--f-head); letter-spacing: .3em; text-transform: uppercase; color: var(--gray-l); margin: 0; display: flex; gap: 6px; align-items: center; }
.reel__loc::before { content: ""; width: 14px; height: 1px; background: var(--red); }
.reel__ig { position: absolute; top: 20px; inset-inline-end: 14px; z-index: 2; width: 18px; height: 18px; color: var(--white); opacity: .85; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ==========================================================================
   CONCEPT
   ========================================================================== */
.concept { padding: clamp(80px, 12vw, 150px) 0; background: var(--off-2); }
.concept__grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .concept__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .concept__grid { grid-template-columns: repeat(4, 1fr); } }
.ccard { background: var(--off-2); padding: 44px 32px 48px; position: relative; transition: background .4s; }
.ccard::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
html[dir="rtl"] .ccard::before { transform-origin: right; }
.ccard:hover { background: #1a1816; }
.ccard:hover::before { transform: scaleX(1); }
.ccard__icon { width: 48px; height: 48px; fill: none; stroke: var(--white); stroke-width: 1.1; margin-bottom: 36px; transition: transform .6s var(--ease); }
.ccard:hover .ccard__icon { transform: rotate(-8deg) scale(1.06); }
.ccard__icon .fill-red { fill: var(--red-hi); stroke: none; }
.ccard__icon .stroke-red { stroke: var(--red-hi); }
.ccard h3 { font: 800 22px/1.1 var(--f-head); text-transform: uppercase; margin: 0 0 14px; letter-spacing: .01em; }
.ccard p { color: var(--gray-l); margin: 0; font-size: 15px; }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { background: var(--black); border-block: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: clamp(36px, 6vw, 64px) 12px; text-align: center; border-inline-end: 1px solid var(--line); }
.stat:nth-child(2n) { border-inline-end: 0; }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .stat:nth-child(2n) { border-inline-end: 1px solid var(--line); }
  .stat:last-child { border-inline-end: 0; }
  .stat:nth-child(-n+2) { border-bottom: 0; }
}
.stat__num { font: 900 clamp(40px, 7vw, 76px)/1 var(--f-head); letter-spacing: -.03em; font-variant-numeric: tabular-nums; direction: ltr; display: inline-block; }
.stat__num sup { font-size: .45em; color: var(--red-hi); vertical-align: top; margin-inline-start: 2px; position: relative; top: .2em; }
.stat .label { justify-content: center; margin-top: 14px; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testi { padding: clamp(80px, 12vw, 150px) 0; background: var(--off-1); }
.testi__slider { position: relative; max-width: 880px; margin: auto; min-height: 260px; display: grid; }
.tslide {
  grid-area: 1 / 1; text-align: center; opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), visibility .8s;
}
.tslide.is-active { opacity: 1; visibility: visible; transform: none; }
.tslide__mark { font: 900 90px/0.6 Georgia, serif; color: var(--red-hi); display: block; height: 40px; }
.tslide blockquote { margin: 0; font: 400 clamp(20px, 3.2vw, 32px)/1.45 var(--f-body); letter-spacing: -.01em; text-wrap: balance; }
.tslide figcaption { margin-top: 30px; }
.tslide__name { font: 800 14px var(--f-head); text-transform: uppercase; letter-spacing: .2em; display: block; }
.tslide__role { font: 300 11px var(--f-head); letter-spacing: .3em; text-transform: uppercase; color: var(--gray-l); }
html[lang="ar"] .tslide__role, html[lang="ar"] .tslide__name { letter-spacing: 0; font-size: 15px; }
.testi__dots { display: flex; justify-content: center; gap: 2px; margin-top: 28px; }
.testi__dots button { width: 44px; height: 44px; position: relative; }
.testi__dots button::after { content: ""; position: absolute; inset: 21px 6px; background: var(--gray-d); transition: background .3s; }
.testi__dots button[aria-selected="true"]::after { background: var(--red); }

/* ==========================================================================
   BOOKING
   ========================================================================== */
.book { position: relative; padding: clamp(90px, 13vw, 170px) 0; background: var(--black); overflow: hidden; border-top: 1px solid var(--line); }
.book__lens {
  position: absolute; width: 900px; aspect-ratio: 1; border-radius: 50%; top: -280px; inset-inline-start: -380px;
  border: 1px solid rgba(255,255,255,.05); box-shadow: inset 0 0 0 80px rgba(255,255,255,.012), 0 0 0 160px rgba(255,255,255,.008);
  pointer-events: none;
}
.book__grid { position: relative; display: grid; gap: 56px; }
@media (min-width: 1000px) { .book__grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } .book__intro { position: sticky; top: 120px; } }
.book__sub { font-size: 18px; color: var(--gray-l); margin: 22px 0 0; max-width: 32ch; }
.book__sub::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--red); vertical-align: middle; margin-inline-end: 12px; }

.direct { margin-top: 48px; display: grid; gap: 18px; justify-items: start; }
.direct__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px; }
.direct__list li { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.85); }
.direct__list svg { width: 18px; height: 18px; fill: none; stroke: var(--gray-l); stroke-width: 1.5; flex: none; }
.direct__list a { border-bottom: 1px solid transparent; transition: border-color .3s; word-break: break-all; }
.direct__list a:hover { border-color: var(--red-hi); }

.book__card {
  background: var(--off-2); border: 1px solid var(--line); padding: clamp(24px, 4vw, 52px);
  position: relative; box-shadow: 0 50px 100px -40px rgba(0,0,0,1);
}
.book__card::before { content: ""; position: absolute; inset: -1px -1px auto; height: 2px; background: var(--red); }
.row2 { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 22px; }
.field label { display: block; font: 400 11px/1 var(--f-head); letter-spacing: .25em; text-transform: uppercase; color: var(--gray-l); margin-bottom: 10px; }
html[lang="ar"] .field label { letter-spacing: 0; font-size: 14px; }
.field label b { color: var(--red-hi); font-weight: 400; }
.field label small { text-transform: none; letter-spacing: .05em; color: var(--gray-d); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--black); color: var(--white); border: 1px solid #282624; border-radius: 0;
  padding: 15px 16px; font: 400 16px/1.3 var(--f-body); transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gray-l) 50%), linear-gradient(-45deg, transparent 50%, var(--gray-l) 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
  padding-inline-end: 40px;
}
html[dir="rtl"] .field select { background-position: 15px 52%, 20px 52%; }
.field input[type="date"] { color-scheme: dark; min-height: 52px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gray-d); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--white); }
.field.has-error input, .field.has-error select { border-color: var(--red-hi); box-shadow: 0 0 0 3px rgba(150,8,44,.12); }
.err { margin: 8px 0 0; font-size: 13px; color: #ff4d4d; min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.form-err { background: rgba(150,8,44,.08); border-inline-start: 2px solid var(--red); padding: 14px 16px; margin: 0 0 18px; font-size: 14px; }

.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: var(--white); animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: .85; }

.success { text-align: center; padding: 40px 0; animation: rise .8s var(--ease) both; outline: none; }
.success__lens {
  width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); box-shadow: inset 0 0 0 10px #0f0d0b, inset 0 0 0 11px rgba(255,255,255,.08);
}
.success__lens svg { width: 36px; height: 36px; fill: none; stroke: var(--red-hi); stroke-width: 2; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .8s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0 } }
.success h3 { font: 800 clamp(32px, 5vw, 48px)/1 var(--f-head); text-transform: uppercase; margin: 0 0 16px; }
.success p { color: var(--gray-l); max-width: 36ch; margin: 0 auto 30px; font-size: 17px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { background: var(--off-1); border-top: 1px solid var(--line); padding: 80px 0 0; }
.foot__grid { display: grid; gap: 48px; padding-bottom: 60px; }
@media (min-width: 800px) { .foot__grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot__tag { margin-top: 22px; }
.foot__h { margin-bottom: 20px; color: var(--white); }
.foot__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot__links a { color: var(--gray-l); transition: color .3s; }
.foot__links a:hover { color: var(--white); }
.socials { display: flex; gap: 10px; }
.socials a { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); transition: border-color .3s, color .3s; color: var(--gray-l); }
.socials a:hover { border-color: var(--red-hi); color: var(--white); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--gray-d); }
.foot__bottom p { margin: 0; }
.foot__bottom .rec { color: var(--gray-d); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; z-index: 40; bottom: max(20px, env(safe-area-inset-bottom)); inset-inline-end: 20px;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: var(--white); box-shadow: 0 12px 30px rgba(0,0,0,.6);
  transition: transform .4s var(--ease);
}
.wa-float::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(37,211,102,.5); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: 1 } to { transform: scale(1.35); opacity: 0 } }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lb {
  position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.96);
  display: flex; align-items: center; justify-content: center; gap: 24px; animation: fadeIn .35s var(--ease);
  touch-action: pan-y;
}
.lb__stage { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lb__phone {
  height: min(78vh, calc((100vw - 32px) * 16 / 9)); aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden;
  background: #070503; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 0 0 6px #100e0c, 0 0 0 7px rgba(255,255,255,.08), 0 40px 120px rgba(0,0,0,1);
  position: relative; animation: rise .5s var(--ease) both;
}
.lb__phone video, .lb__phone iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.lb__empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--gray-l); font-size: 14px; }
/* YouTube fallback when the page is opened from disk */
.lb__thumb { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); }
.lb__yt { position: absolute; left: 50%; bottom: 12%; translate: -50% 0; white-space: nowrap; }
.lb__yt svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lb__meta { text-align: center; }
.lb__meta h3 { font: 800 18px/1.2 var(--f-head); text-transform: uppercase; margin: 8px 0 6px; }
.lb__meta .label { justify-content: center; font-size: 10px; }
.lb__btn { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(0,0,0,.5); transition: border-color .3s, background .3s; flex: none; }
.lb__btn:hover { border-color: var(--red-hi); background: var(--red); }
.lb__btn svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 1.5; }
html[dir="rtl"] .lb__nav svg { transform: scaleX(-1); }
.lb__close { position: absolute; top: 16px; inset-inline-end: 16px; z-index: 2; }
@media (max-width: 760px) {
  .lb__nav { position: absolute; bottom: 20px; z-index: 2; }
  .lb__prev { inset-inline-start: 20px; } .lb__next { inset-inline-end: 20px; }
  .lb__phone { height: min(72vh, calc((100vw - 32px) * 16 / 9)); }
}
body.lb-open { overflow: hidden; }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ==========================================================================
   RESPONSIVE REFINEMENTS — phones, landscape, tablets, large screens
   ========================================================================== */

/* Notched phones (landscape): keep content clear of the notch */
@supports (padding: max(0px)) {
  .nav__inner, .container { padding-inline: max(var(--gutter), env(safe-area-inset-left), env(safe-area-inset-right)); }
}

/* Touch screens: no sticky hover lift — tap opens the player directly */
@media (hover: none) {
  .reel:hover { transform: none; box-shadow: 0 0 0 5px #100e0c, 0 0 0 6px rgba(255,255,255,.07), 0 30px 60px -20px rgba(0,0,0,.9); }
  .reel:hover img { transform: none; }
  .reel:hover .reel__play { background: rgba(0,0,0,.35); transform: none; }
  .reel:hover .reel__play svg { fill: var(--red-hi); }
  .reel:active { transform: scale(.98); }
}

/* Small phones (≤ 380px) */
@media (max-width: 380px) {
  .hero__cta .btn { min-width: 0; width: 100%; }
  .hero__cta { flex-direction: column; align-items: stretch; max-width: 280px; margin-inline: auto; }
  .btn { --pad: 15px 20px; letter-spacing: .14em; }
  .wordmark__top { font-size: 24px; }
  .ccard { padding: 36px 24px 40px; }
  .book__card { padding: 22px 18px; }
}

/* Short screens — phones in landscape */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 100svh; height: auto; padding: calc(var(--nav-h) + 24px) 0 64px; }
  .hero__l2 { font-size: clamp(30px, 6.5vw, 56px); margin: 14px 0 12px; }
  .hero__cta { margin-top: 22px; }
  .rec--hero { display: none; }
  .scroll-ind { display: none; }
  .mmenu nav a:not(.btn) { font-size: 26px; }
  .mmenu .btn { margin-top: 14px; }
  .mmenu__rec { display: none; }
  /* Lightbox: player and info side by side */
  .lb__stage { flex-direction: row; gap: 28px; }
  .lb__phone { height: calc(100svh - 32px); }
  .lb__meta { text-align: start; max-width: 200px; }
  .lb__meta .label { justify-content: flex-start; }
  .lb__nav { position: static; }
}

/* Tablets (portrait): 3 reels visible while swiping */
@media (min-width: 640px) and (max-width: 899px) {
  .reels { grid-auto-columns: calc((100% - 28px) / 3.25); }
}

/* Large screens */
@media (min-width: 1600px) {
  :root { --max: 1480px; }
  .reels { gap: 30px; }
}

/* ==========================================================================
   BACKGROUNDS — inspired by the logo: the lens "O" (rings + arcs + core),
   the red dot (a faint red glow) and the logo grays (charcoal gradients).
   ========================================================================== */
:root {
  /* The logo's lens, drawn in white; used at very low opacity */
  --lens: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='white'%3E%3Ccircle cx='100' cy='100' r='94' stroke-width='4'/%3E%3Cpath d='M40 100 A60 60 0 0 1 100 40' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M152 132 A60 60 0 0 1 130 154' stroke-width='6' stroke-linecap='round'/%3E%3Ccircle cx='100' cy='100' r='40' fill='white' stroke='none'/%3E%3C/svg%3E");
  --glow-red: rgba(150,8,44, .10);
  --charcoal: #1c1a18;
}

.work, .concept, .stats, .testi, .book, .foot { position: relative; isolation: isolate; overflow: hidden; overflow: clip; }

/* Lens decoration layer */
.work::before, .concept::before, .testi::before, .book::after, .foot::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  aspect-ratio: 1; background: var(--lens) center / contain no-repeat;
}

/* WORK — red glow top corner + big lens bleeding off the side */
.work {
  background:
    radial-gradient(60% 40% at 100% 0%, var(--glow-red), transparent 70%),
    linear-gradient(180deg, #020000 0%, #090705 100%);
}
.work::before { width: min(70vw, 760px); top: 40px; inset-inline-start: max(-30vw, -320px); opacity: .035; animation: spin 120s linear infinite; }
.cat:nth-child(even) { background: linear-gradient(180deg, rgba(20,20,20,.85), rgba(11,11,11,.85)); }
.cat:nth-child(odd)  { background: transparent; }

/* CONCEPT — charcoal gradient (logo gray) + lens at the far edge */
.concept { background: radial-gradient(80% 60% at 50% 0%, var(--charcoal), #0d0b09 70%); }
.concept::before { width: 520px; bottom: -160px; inset-inline-end: -160px; opacity: .04; }
.ccard { background: rgba(20,20,20,.92); }
.ccard:hover { background: #1e1c1a; }

/* STATS — the red dot as a soft centered glow */
.stats { background: radial-gradient(50% 120% at 50% 50%, rgba(150,8,44,.07), transparent 70%), #020000; }

/* TESTIMONIALS — lens centered behind the quote */
.testi { background: linear-gradient(180deg, #0d0b09, #13110f 50%, #0d0b09); }
.testi::before { width: min(90vw, 620px); top: 50%; left: 50%; translate: -50% -42%; opacity: .035; }

/* BOOKING — glow behind the form + lens */
.book {
  overflow: clip;   /* clip (not hidden) keeps the sticky intro working */
  background:
    radial-gradient(45% 50% at 75% 60%, var(--glow-red), transparent 70%),
    linear-gradient(180deg, #020000, #0b0907);
}
.book::after { width: 460px; bottom: -140px; inset-inline-end: -120px; opacity: .04; }

/* FOOTER — small lens behind the logo */
.foot { background: linear-gradient(180deg, #0d0b09, #020000); }
.foot::before { width: 340px; top: -60px; inset-inline-start: -110px; opacity: .03; }

@media (max-width: 640px) {
  .work::before { width: 120vw; inset-inline-start: -60vw; }
  .concept::before, .book::after { width: 320px; }
}

/* ---- Stronger logo backgrounds ---------------------------------------- */
:root { --glow-red: rgba(150,8,44, .22); }

.work::before    { opacity: .10; }
.concept::before { opacity: .10; width: 640px; }
.testi::before   { opacity: .08; }
.book::after     { opacity: .10; width: 560px; }
.foot::before    { opacity: .08; }

/* Red "dot" orbs — the logo's red dot, blurred and breathing */
.work::after, .concept::after, .book::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(150,8,44,.55) 0%, rgba(150,8,44,.18) 40%, transparent 70%);
  filter: blur(30px); animation: breathe 7s ease-in-out infinite alternate;
}
.work::after    { width: 520px; height: 520px; top: -160px; inset-inline-end: -160px; }
.concept::after { width: 380px; height: 380px; top: 30%; inset-inline-start: -150px; animation-delay: -3s; }
.book::before   { width: 640px; height: 640px; top: 20%; inset-inline-end: 5%; opacity: .7; animation-delay: -5s; }
@keyframes breathe { from { transform: scale(.85); opacity: .55 } to { transform: scale(1.1); opacity: 1 } }

/* Thin red ring echoing the lens, around the big work lens */
.cat:first-child { position: relative; }
.stats { background:
  radial-gradient(40% 140% at 50% 50%, rgba(150,8,44,.20), transparent 70%),
  linear-gradient(90deg, #020000, #0f0d0b 50%, #020000); }
.stat__num { text-shadow: 0 0 40px rgba(150,8,44,.25); }

/* Concept cards: slightly see-through so the glow shows behind */
.ccard { background: rgba(18,18,18,.82); backdrop-filter: blur(6px); }

@media (max-width: 640px) {
  .work::after { width: 340px; height: 340px; }
  .book::before { width: 380px; height: 380px; inset-inline-end: -80px; }
}

/* ---- Base surface: graphite + viewfinder dot texture (not flat black) ---- */
:root {
  --dots: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px) 0 0 / 22px 22px;
  --graphite: linear-gradient(180deg, #141210 0%, #1d1b19 50%, #141210 100%);
}
body { background: #161412; }

.work {
  background:
    radial-gradient(60% 40% at 100% 0%, var(--glow-red), transparent 70%),
    var(--dots), var(--graphite);
}
.cat:nth-child(even) { background: rgba(255,255,255,.025); }

.concept {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(255,255,255,.05), transparent 70%),
    var(--dots), linear-gradient(180deg, #1e1c1a, #161412);
}
.stats {
  background:
    radial-gradient(40% 140% at 50% 50%, rgba(150,8,44,.20), transparent 70%),
    linear-gradient(90deg, #12100e, #1f1d1b 50%, #12100e);
}
.testi { background: var(--dots), linear-gradient(180deg, #161412, #201e1c 50%, #161412); }
.book {
  background:
    radial-gradient(45% 50% at 75% 60%, var(--glow-red), transparent 70%),
    var(--dots), linear-gradient(180deg, #13110f, #1b1917);
}
.foot { background: var(--dots), linear-gradient(180deg, #181614, #0f0d0b); }

/* Cards and fields stay a step darker than the surface so they still read as objects */
.book__card { background: rgba(12,12,12,.88); }
.reel { background-color: #0c0a08; }

/* ---- Background motion --------------------------------------------------
   1. dot texture drifts slowly   2. every lens turns   3. a viewfinder
   "scan" light sweeps the testimonials and stats strips.
   All of it stops automatically for visitors with reduced-motion on.   */

/* 1. drifting dots — only the dot layer moves (layer order matches each section) */
.work, .concept, .book { animation: drift3 40s linear infinite; }
.testi, .foot          { animation: drift2 40s linear infinite; }
@keyframes drift3 { from { background-position: 0 0, 0 0, 0 0 } to { background-position: 0 0, 220px 440px, 0 0 } }
@keyframes drift2 { from { background-position: 0 0, 0 0 }       to { background-position: 220px 440px, 0 0 } }

/* 2. lenses turn, alternating direction */
.concept::before { animation: spin 90s linear infinite reverse; }
.testi::before   { animation: spin 140s linear infinite; }
.book::after     { animation: spin 100s linear infinite reverse; }
.foot::before    { animation: spin 120s linear infinite; }

/* 3. viewfinder scan lines */
.testi::after {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 120px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.045) 50%, rgba(150,8,44,.06) 52%, transparent);
  animation: scanY 9s ease-in-out infinite;
}
@keyframes scanY { 0% { transform: translateY(-140px) } 60%, 100% { transform: translateY(calc(100vh + 400px)) } }
.stats::after {
  content: ""; position: absolute; inset-block: 0; width: 30%; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), rgba(150,8,44,.10), transparent);
  animation: scanX 7s ease-in-out infinite; left: 0;
}
@keyframes scanX { 0% { transform: translateX(-120%) } 55%, 100% { transform: translateX(400%) } }
.stats__grid { position: relative; z-index: 1; }

/* Hero lens: add a slow breathing pulse on top of its rotation */
.hero__lens::after {
  content: ""; position: absolute; inset: -6%; border-radius: 50%;
  border: 1px solid rgba(150,8,44,.25); animation: ring 4s ease-out infinite;
}
@keyframes ring { from { transform: scale(.92); opacity: .9 } to { transform: scale(1.12); opacity: 0 } }

/* ---- Pointer / finger parallax (vars set by main.js) ------------------- */
:root { --mx: 0; --my: 0; --px: 50vw; --py: 30vh; }

/* Lenses drift with the pointer; glows drift the opposite way for depth */
.work::before    { translate: calc(var(--mx) * 60px)  calc(var(--my) * 40px); }
.concept::before { translate: calc(var(--mx) * -50px) calc(var(--my) * -40px); }
.testi::before   { translate: calc(-50% + var(--mx) * 45px) calc(-42% + var(--my) * 35px); }
.book::after     { translate: calc(var(--mx) * -55px) calc(var(--my) * -45px); }
.foot::before    { translate: calc(var(--mx) * 40px)  calc(var(--my) * 30px); }
.work::after     { translate: calc(var(--mx) * -90px) calc(var(--my) * -70px); }
.concept::after  { translate: calc(var(--mx) * 80px)  calc(var(--my) * 60px); }
.book::before    { translate: calc(var(--mx) * 90px)  calc(var(--my) * 70px); }

/* Hero: photo and lens shift slightly in opposite directions */
.hero__slides { inset: -30px; translate: calc(var(--mx) * -18px) calc(var(--my) * -14px); }
.hero__lens   { translate: calc(var(--mx) * 35px) calc(var(--my) * 28px); }

/* Soft light that follows the pointer (red core, white halo) */
.spot {
  position: fixed; inset: 0; z-index: 85; pointer-events: none; opacity: 0; transition: opacity .8s;
  background: radial-gradient(260px circle at var(--px) var(--py), rgba(150,8,44,.10), rgba(255,255,255,.035) 45%, transparent 70%);
  mix-blend-mode: screen;
}
.has-pointer .spot { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .spot { display: none; } }

/* ---- Lens cursor -------------------------------------------------------- */
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor .reel { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }
.cursor { position: fixed; inset: 0; z-index: 120; pointer-events: none; transition: opacity .3s; }
.cursor.is-out { opacity: 0; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--red); box-shadow: 0 0 12px rgba(150,8,44,.8); }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid rgba(255,255,255,.75);
  display: grid; place-items: center; mix-blend-mode: difference;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, border-color .3s;
}
/* lens arcs inside the ring, like the logo */
.cursor__ring::before {
  content: ""; position: absolute; inset: 5px; border-radius: 50%;
  border: 1.5px solid transparent; border-top-color: rgba(255,255,255,.6); border-bottom-color: rgba(255,255,255,.35);
  animation: spin 3s linear infinite;
}
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255,255,255,.08); }
.cursor.is-play .cursor__ring  { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--red); border-color: var(--red-hi); mix-blend-mode: normal; }
.cursor.is-play .cursor__ring::before { border-top-color: rgba(255,255,255,.7); }
.cursor.is-play .cursor__dot { opacity: 0; }
.cursor.is-text .cursor__ring, .cursor.is-text .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
.cursor__label { font: 700 11px/1 var(--f-head); letter-spacing: .2em; color: #fff; opacity: 0; transition: opacity .2s; }
html[lang="ar"] .cursor__label { letter-spacing: 0; font-size: 13px; }
.cursor.is-play .cursor__label { opacity: 1; }

/* ---- Magnetic buttons: smooth spring ------------------------------------ */
.hero__cta .btn, .nav__book, .wa-float, #submitBtn { transition: translate .35s var(--ease), background .35s, color .35s, border-color .35s, transform .35s var(--ease); }

/* ---- 3D tilt + glare ----------------------------------------------------- */
.reel, .ccard { transform-style: preserve-3d; will-change: transform; }
.reel.is-tilting, .ccard.is-tilting { transition: transform .12s linear, box-shadow .5s, background .4s; }
.reel::after, .ccard::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; opacity: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.18), transparent 55%);
  transition: opacity .4s;
}
.reel.is-tilting::after, .ccard.is-tilting::after { opacity: 1; }

/* ---- Tap ripple (touch screens) ------------------------------------------ */
.tap-ripple {
  position: fixed; z-index: 120; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; pointer-events: none;
  border: 1.5px solid rgba(255,255,255,.7);
  background: radial-gradient(circle, rgba(150,8,44,.9) 0 5px, transparent 6px);
  animation: tapRing .85s var(--ease) forwards;
}
.tap-ripple::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); }
@keyframes tapRing { from { transform: scale(.3); opacity: 1 } to { transform: scale(1.6); opacity: 0 } }

/* Bigger, richer pointer light */
.spot { background: radial-gradient(340px circle at var(--px) var(--py), rgba(150,8,44,.13), rgba(255,255,255,.04) 45%, transparent 70%); }

/* ==========================================================================
   PERFORMANCE PASS — lighter motion
   Removes effects that repainted large areas every frame and halves the
   parallax distances. Only transform/opacity animate now (GPU-friendly).
   ========================================================================== */
.spot { display: none; }
.work, .concept, .book, .testi, .foot { animation: none; }          /* no background-position drift */
.ccard { backdrop-filter: none; background: rgba(18,18,18,.94); }
.cursor__ring { mix-blend-mode: normal; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }

/* Red orbs: the gradient is already soft, so no blur filter */
.work::after, .concept::after, .book::before { filter: none; will-change: transform, opacity; }

/* Gentler parallax */
.work::before    { translate: calc(var(--mx) * 28px)  calc(var(--my) * 20px); }
.concept::before { translate: calc(var(--mx) * -24px) calc(var(--my) * -18px); }
.testi::before   { translate: calc(-50% + var(--mx) * 20px) calc(-42% + var(--my) * 16px); }
.book::after     { translate: calc(var(--mx) * -26px) calc(var(--my) * -20px); }
.foot::before    { translate: calc(var(--mx) * 18px)  calc(var(--my) * 14px); }
.work::after     { translate: calc(var(--mx) * -40px) calc(var(--my) * -30px); }
.concept::after  { translate: calc(var(--mx) * 36px)  calc(var(--my) * 26px); }
.book::before    { translate: calc(var(--mx) * 40px)  calc(var(--my) * 30px); }
.hero__slides    { inset: -16px; translate: calc(var(--mx) * -10px) calc(var(--my) * -8px); will-change: translate; }
.hero__lens      { translate: calc(var(--mx) * 18px) calc(var(--my) * 14px); }
.work::before, .concept::before, .testi::before, .book::after, .foot::before { will-change: transform; }

/* Snappier springs */
.hero__cta .btn, .nav__book, .wa-float, #submitBtn { transition: translate .25s var(--ease), background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.reel.is-tilting, .ccard.is-tilting { transition: transform .08s linear, box-shadow .4s, background .3s; }
.cursor__ring { transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), background .25s, border-color .25s; }
.tap-ripple { animation-duration: .7s; }

/* ==========================================================================
   SITE-WIDE BACKDROP — one continuous background behind every section
   (graphite + viewfinder dots, two lens rings, two red-dot glows).
   It is position:fixed, so it costs nothing while scrolling; main.js feeds
   --scroll (0…1) and --mx/--my (pointer) to move the pieces.
   ========================================================================== */
html { background: #141210; }
body { background: transparent; }

.backdrop {
  --scroll: 0;
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px) 0 0 / 22px 22px,
    radial-gradient(120% 90% at 50% 50%, #1e1c1a 0%, #161412 55%, #0e0c0a 100%);
}
.bd-lens, .bd-orb { position: absolute; will-change: transform; }

/* Lens rings — the logo "O" */
.bd-lens { aspect-ratio: 1; background: var(--lens) center / contain no-repeat; }
.bd-lens--a {
  width: min(78vw, 820px); top: 4vh; left: max(-36vw, -380px); opacity: .10;
  translate: calc(var(--mx) * 28px) calc(var(--my) * 22px + var(--scroll) * -14vh);
  rotate: calc(var(--scroll) * 220deg);
}
.bd-lens--b {
  width: min(52vw, 560px); bottom: -14vh; right: max(-20vw, -200px); opacity: .08;
  translate: calc(var(--mx) * -24px) calc(var(--my) * -18px + var(--scroll) * -10vh);
  rotate: calc(var(--scroll) * -260deg);
}

/* Red-dot glows */
.bd-orb { border-radius: 50%; animation: breathe 7s ease-in-out infinite alternate; }
.bd-orb--a {
  width: 64vmax; height: 64vmax; top: -26vmax; right: -24vmax;
  background: radial-gradient(circle, rgba(150,8,44,.42) 0%, rgba(150,8,44,.14) 38%, transparent 68%);
  translate: calc(var(--mx) * -40px) calc(var(--my) * -30px + var(--scroll) * 70vh);
}
.bd-orb--b {
  width: 46vmax; height: 46vmax; bottom: -22vmax; left: -18vmax;
  background: radial-gradient(circle, rgba(150,8,44,.30) 0%, rgba(150,8,44,.10) 40%, transparent 68%);
  translate: calc(var(--mx) * 36px) calc(var(--my) * 26px + var(--scroll) * -60vh);
  animation-delay: -3.5s;
}

/* Sections become transparent so the backdrop shows everywhere */
.work, .concept, .testi, .foot, .cat:nth-child(odd) { background: transparent; }
.cat:nth-child(even) { background: rgba(255,255,255,.018); }
.work::before, .work::after, .concept::before, .concept::after,
.testi::before, .book::before, .book::after, .foot::before { display: none; }
.concept, .testi, .book, .foot { border-top: 1px solid var(--line); }

/* A few accents on top of the backdrop */
.stats { background: radial-gradient(40% 140% at 50% 50%, rgba(150,8,44,.18), transparent 70%), rgba(0,0,0,.35); }
.book  { background: radial-gradient(45% 55% at 72% 55%, rgba(150,8,44,.16), transparent 70%); }
.foot  { background: rgba(0,0,0,.45); }
.ccard { background: rgba(14,14,14,.86); }
.book__card { background: rgba(10,10,10,.9); }

@media (max-width: 640px) {
  .bd-lens--a { width: 130vw; left: -60vw; }
  .bd-lens--b { width: 90vw; right: -40vw; }
}
@media (prefers-reduced-motion: reduce) {
  .bd-lens, .bd-orb { translate: none; rotate: none; }
}


/* ---- Palette: champagne accent (use sparingly) ------------------------- */
:root { --champagne: #C9A46A; }
.tslide__mark { color: var(--champagne); }
.tslide__name { color: var(--champagne); }


/* ---- Burgundy accent: small marks use the brighter shade ---------------- */
.rec-dot, .cursor__dot, .scroll-ind__line::after, .nav__links a::after,
.reel__loc::before, .book__sub::before, .hero__dots button[aria-selected="true"]::after,
.testi__dots button[aria-selected="true"]::after { background: var(--red-hi); }
.rec-dot { box-shadow: 0 0 10px rgba(196,49,86,.75); }
.filter.is-active { background: rgba(128,0,32,.22); }
