/* Arabic version: fonts, direction and Arabic type settings */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(https://fonts.gstatic.com/s/changa/v29/2-cm9JNi2YuVOUckY5y-au8.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(https://fonts.gstatic.com/s/changa/v29/2-cm9JNi2YuVOUckY5y-au8.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(https://fonts.gstatic.com/s/changa/v29/2-cm9JNi2YuVOUckY5y-au8.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 900; font-display: swap; src: url(https://fonts.gstatic.com/s/changa/v29/2-cm9JNi2YuVOUckY5y-au8.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YOW_uCRXMR5Kw.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3CZRtWPQCuHme67tEYUIx3Kh0PHR9N6Ys43PWrfQ.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YPO_-CRXMR5Kw.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YPi-OCRXMR5Kw.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YOG-eCRXMR5Kw.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YOG-eCRXMR5Kw.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 900; font-display: swap; src: url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YOG-eCRXMR5Kw.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

html[lang=ar] body *:not(svg *) { letter-spacing: 0 !important; }
html[lang=ar] .nav-links a { font-size: .86rem; font-weight: 600; }
html[lang=ar] .primary-btn, html[lang=ar] .ghost-btn, html[lang=ar] .cv-download-btn { font-size: .95rem; font-weight: 700; }
html[lang=ar] .primary-btn svg { transform: scaleX(-1); }
html[lang=ar] .back-to-top { right: auto; left: 28px; }
html[lang=ar] .scroll-progress { left: auto; right: 0; }

/* Hero: the frame is mirrored, so the dark side of the set is on the right */
html[lang=ar] .hf-copy { left: auto; right: clamp(24px, 4.4vw, 110px); }
html[lang=ar] .hf-kicker { font-size: 1rem; font-weight: 500; }
html[lang=ar] .hf-title { font-size: min(6.5vw, 14vh); line-height: 1.02; padding-bottom: .22em; }
html[lang=ar] .hf-title span { padding: .1em .06em .22em; margin: -.1em 0 -.2em; }
html[lang=ar] .hf-title b { transform: translateY(140%); }
@media (min-width: 981px) { html[lang=ar] .hf-view { scale: -1 1; } }

/* About */
html[lang=ar] .ab-label { font-size: 1.05rem; }
html[lang=ar] .ab-title { font-size: clamp(2.7rem, 4.5vw, 5.4rem); line-height: 1.18; }
html[lang=ar] .ab-copy .cinema-bio p { font-size: clamp(1.04rem, 1.12vw, 1.2rem); line-height: 1.95; }
html[lang=ar] .ab-frame .cinema-stat { text-align: right; padding: 0 0 0 24px; }
html[lang=ar] .cinema-stat b { direction: ltr; }
html[lang=ar] .ab-frame .cinema-stat span { font-size: 1rem; }
html[lang=ar] .ab-skills h3 { line-height: 1.15; }
html[lang=ar] .ab-skills .cinema-skill-item { padding: 18px 0; line-height: 1.25; }
html[lang=ar] .ab-skills .cinema-skill-item:hover { padding-left: 0; padding-right: 14px; }
html[lang=ar] .cinema-skill-item::before { left: auto; right: 0; }
html[lang=ar] .skill-bands { direction: ltr; }
html[lang=ar] .skill-band span { direction: rtl; font-size: .84rem; }
@media (min-width: 981px) {
  html[lang=ar] .ab-b .ab-photo { left: -10%; scale: -1 1; transform-origin: 50% 52%; }
  html[lang=ar] .ab-glow, html[lang=ar] .ab-shade { scale: -1 1; }
  html[lang=ar] .ab-copy { width: min(500px, 100%); }
  html[lang=ar] .ab-shade { background: linear-gradient(180deg, #0a0a0a 0, rgba(10,10,10,.2) 16%, transparent 30%), linear-gradient(0deg, #0a0a0a 0, rgba(10,10,10,.82) 15%, rgba(10,10,10,.1) 40%, transparent 52%), linear-gradient(90deg, rgba(6,8,8,.94) 0, rgba(6,8,8,.86) 38%, rgba(6,8,8,.5) 48%, transparent 62%); }
}

/* AI films */
html[lang=ar] .film-tag { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
html[lang=ar] .film-title { font-size: clamp(2.9rem, 6.2vw, 6rem); line-height: 1.16; }
html[lang=ar] .fs-play { right: auto; left: clamp(16px, 2.4vw, 36px); padding: 0 20px 0 26px; }
html[lang=ar] .fs-play svg { transform: scaleX(-1); }
html[lang=ar] .film-list button { text-align: right; }
html[lang=ar] .film-list span { direction: ltr; text-align: left; }
html[lang=ar] .fi-logline { font-style: normal; font-size: clamp(1.3rem, 1.9vw, 1.95rem); line-height: 1.65; font-family: "Inter", sans-serif; }
html[lang=ar] .film-info dl div { font-size: 1.02rem; line-height: 1.7; grid-template-columns: 8em 1fr; }
html[lang=ar] .film-info dd bdi { unicode-bidi: isolate; }
html[lang=ar] .ai-offer h3 { line-height: 1.2; }
html[lang=ar] .ai-offer ul { font-size: 1.04rem; line-height: 1.7; }

@media (max-width: 980px) {
  html[lang=ar] .nav-links a { font-size: 1.05rem; }
  html[lang=ar] .hf-copy { left: 24px; right: 24px; }
  html[lang=ar] .hf-title { font-size: min(14.4vw, 10.5vh); }
  html[lang=ar] .hf-kicker { font-size: .9rem; }
  html[lang=ar] .ab-title { font-size: clamp(2.5rem, 11vw, 4.8rem); }
}
@media (max-width: 680px) {
  html[lang=ar] .hf-actions a { font-size: .98rem; }
  html[lang=ar] .film-title { font-size: 8.8vw; }
  html[lang=ar] .hf-kicker { font-size: min(.86rem, 3.5vw); }
  html[lang=ar] .hf-actions { margin-top: 26px; }
  html[lang=ar] .back-to-top { left: 16px; }
  html[lang=ar] .ab-frame .cinema-stat, html[lang=ar] .ab-frame .cinema-stat:nth-child(n) { padding: 0; }
  html[lang=ar] .film-info dl div { grid-template-columns: 1fr; }
}

/* Selected work */
html[lang=ar] .wk-head h2, html[lang=ar] .lk-head h3, html[lang=ar] .ac-head h2, html[lang=ar] .cr-head h2, html[lang=ar] .wl-head h1 { line-height: 1.16; }
html[lang=ar] .wk-filters button, html[lang=ar] .lk-tabs button { font-size: 1.04rem; line-height: 1.2; }
html[lang=ar] .wk-meta { font-size: 1rem; }
html[lang=ar] .wk-text h3 { line-height: 1.22; }
html[lang=ar] .wk-open, html[lang=ar] .ac-ask, html[lang=ar] .ac-see, html[lang=ar] .lk-send { font-size: 1.04rem; }
html[lang=ar] .wk-nav svg, html[lang=ar] .pv-back svg, html[lang=ar] .pv-a svg { transform: scaleX(-1); }
html[lang=ar] .wk-count { direction: ltr; }

/* Contact sheet */
html[lang=ar] .lk-head h3 { font-size: clamp(2.2rem, 3.8vw, 4.6rem); }
html[lang=ar] .lk-head p { font-size: 1.06rem; line-height: 1.85; }
html[lang=ar] .lk-tray p { font-size: 1.04rem; }
html[lang=ar] .lk-cell { text-align: right; }
html[lang=ar] .lk-loupe { direction: ltr; }

/* Services */
html[lang=ar] .ac-name { font-size: clamp(.92rem, 1.1vw, 1.25rem); line-height: 1.2; }
html[lang=ar] .ac-text h3 { line-height: 1.2; font-size: clamp(1.6rem, 2.5vw, 2.9rem); }
html[lang=ar] .ac-text p { font-size: 1.1rem; line-height: 1.85; }

/* Clients */
html[lang=ar] .cr-loop h3 { line-height: 1.2; }
html[lang=ar] .cr-rows dt { text-align: left; font-size: clamp(.86rem, 1.05vw, 1.25rem); }
html[lang=ar] .cr-rows dd { line-height: 1.35; }

/* Contact */
html[lang=ar] .ct-copy h2 { line-height: 1.14; font-size: clamp(2.8rem, 5.2vw, 6.2rem); }
html[lang=ar] .ct-copy > p { font-size: 1.1rem; line-height: 1.9; }
html[lang=ar] .contact-phone-btn { direction: ltr; }
html[lang=ar] .ct-f > span { font-size: .92rem; line-height: 1.3; }
html[lang=ar] .ct-f input, html[lang=ar] .ct-f select, html[lang=ar] .ct-f textarea { line-height: 1.5; }
html[lang=ar] .ct-f input[type=email], html[lang=ar] .ct-f input[type=tel] { direction: ltr; text-align: right; }
html[lang=ar] .ct-f select { background-position: left 2px center; padding-right: 0; padding-left: 30px; }
html[lang=ar] .ct-f.l { border-right: 0; padding-right: 0; border-left: 2px solid rgba(255,255,255,.2); padding-left: 18px; }
html[lang=ar] .ct-f.r { padding-left: 0; padding-right: 18px; }
html[lang=ar] .ct-meta { font-size: .95rem; }
html[lang=ar] .ct-meta b { margin: 0 6px 0 0; line-height: 1.3; }
html[lang=ar] .ct-go { line-height: 1.2; }
html[lang=ar] .ct::before { background: linear-gradient(180deg, #0a0a0a 0, transparent 14%, transparent 82%, #0a0a0a 100%), linear-gradient(270deg, rgba(5,6,6,.72) 0, transparent 54%); }
html[lang=ar] .ct-beam { right: auto; left: calc(var(--gutter) + 330px); translate: -50% 0; }
html[lang=ar] .ct-arm { transform-origin: calc(100% - 14px) 36px; transform: rotate(11deg); }
html[lang=ar] .ct-arm::after { left: auto; right: 6px; }
html[lang=ar] .ct-slate.clap .ct-arm { transform: rotate(0deg); }

/* Work wall and project pages */
html[lang=ar] .wl-cap b { line-height: 1.25; }
html[lang=ar] .wl-cap span { font-size: clamp(.94rem, 1vw, 1.1rem); }
html[lang=ar] .wl-empty b { line-height: 1.15; }
html[lang=ar] .wl-empty .wl-art > span { font-size: 1.04rem; }
html[lang=ar] .pv-copy h1 { line-height: 1.12; font-size: clamp(3rem, 6.6vw, 9rem); max-width: 6.2em; letter-spacing: 0; }
html[lang=ar] .pv-hero.wide .pv-copy h1 { max-width: none; font-size: clamp(2.4rem, 3.8vw, 5rem); }
html[lang=ar] .pv-line { font-size: clamp(1.16rem, 1.5vw, 1.7rem); }
html[lang=ar] .pv-meta { font-size: clamp(1rem, 1.05vw, 1.15rem); }
html[lang=ar] .pv-back { margin-left: 0; margin-right: -4px; font-size: 1.04rem; }
html[lang=ar] .pv-hero .pv-light { right: auto; left: -4vw; }
html[lang=ar] .pv-shade { scale: -1 1; }
html[lang=ar] .pv-brief h2 { line-height: 1.2; font-size: clamp(1.4rem, 1.7vw, 2rem); }
html[lang=ar] .pv-brief p { line-height: 1.9; }
html[lang=ar] .pv-end h2 { line-height: 1.16; }
html[lang=ar] .pv-nt b { line-height: 1.15; }
html[lang=ar] .pv-next .pv-light { right: auto; left: 0; }
html[lang=ar] .pv-a.prev { left: auto; right: 18px; }
html[lang=ar] .pv-a.next { right: auto; left: 18px; }
html[lang=ar] .pv-box p { left: auto; right: 24px; direction: ltr; }
html[lang=ar] .pv-x { right: auto; left: 18px; }

@media (max-width: 980px) { html[lang=ar] .ct-beam { left: 50%; } }
@media (max-width: 900px) {
  html[lang=ar] .pv-copy h1, html[lang=ar] .pv-hero.wide .pv-copy h1 { font-size: clamp(2.6rem, 12.5vw, 5.4rem); }
  html[lang=ar] .pv-back { left: auto; right: var(--edge); margin: 0; }
  html[lang=ar] .pv-hero .pv-light { left: -15vw; }
  html[lang=ar] .ac-stage { transition: margin-right .8s cubic-bezier(.2,.8,.2,1); }
  html[lang=ar] .ac-name { font-size: .86rem; }
}
@media (max-width: 680px) {
  html[lang=ar] .ct-f.l, html[lang=ar] .ct-f.r { border-left: 0; padding-left: 0; padding-right: 0; }
  html[lang=ar] .ct-arm { transform-origin: calc(100% - 12px) 30px; transform: rotate(9deg); }
  html[lang=ar] .pv-a.prev { right: auto; left: 80px; }
  html[lang=ar] .pv-a.next { left: 14px; }
}
html[lang=ar] .wk-text h3, html[lang=ar] .wl-cap b, html[lang=ar] .pv-copy h1, html[lang=ar] .pv-nt b, html[lang=ar] .cr-rows dd { text-transform: none; }
