/* Curve Agency — V3 "Bend" design layer.
   Strict black and white (greys only as opacity). One easing everywhere.
   Layout uses logical properties so the Arabic (RTL) pages mirror automatically. */

@font-face{font-family:"RB";src:url("/assets/fonts/RB-Light.woff2") format("woff2");font-weight:300;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F}
@font-face{font-family:"RB";src:url("/assets/fonts/RB-Regular.woff2") format("woff2");font-weight:400 500;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F}
@font-face{font-family:"RB";src:url("/assets/fonts/RB-Bold.woff2") format("woff2");font-weight:600 800;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F}

:root{
  --ease:cubic-bezier(.16,.84,.24,1);
  --pad:max(24px,4.5vw);
  --bend:min(30vw,420px) min(10vw,150px);
  --hw:600; --hls:-.04em; --hlh:1; --blh:1.6; --strong:600;
  --font:Poppins,"Helvetica Neue",Arial,sans-serif;
}
html[lang="ar"]{--hw:700; --hls:0; --hlh:1.15; --blh:1.8; --strong:700; --font:"RB",Poppins,Tahoma,Arial,sans-serif}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:#000;color:#000;font-family:var(--font);line-height:var(--blh);-webkit-font-smoothing:antialiased;overflow-x:hidden}
body.menu-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
img,video{max-width:100%}
h1,h2,h3,p,dl,dd,blockquote,figure{margin:0}
:focus-visible{outline:2px solid currentColor;outline-offset:3px}
[hidden]{display:none !important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ltr{direction:ltr;unicode-bidi:isolate;font-family:Poppins,Arial,sans-serif}
.skip{position:absolute;inset-inline-start:12px;top:-60px;z-index:100;background:#fff;color:#000;padding:10px 16px;border-radius:999px}
.skip:focus{top:12px}

.wrap{max-width:1440px;margin-inline:auto;padding-inline:var(--pad)}
.dark{background:#000;color:#fff}
.light{background:#fff;color:#000}
.h2{font-weight:var(--hw);letter-spacing:var(--hls);line-height:var(--hlh);font-size:clamp(40px,5.2vw,84px);text-wrap:balance}
.h2.m{font-size:clamp(34px,4vw,64px)}
.h2.s{font-size:clamp(32px,3.6vw,56px)}
.lead{font-size:18px}
.eyebrow{display:block;font-size:15px;color:rgba(0,0,0,.6)}
.dark .eyebrow{color:rgba(255,255,255,.6)}
.muted{color:rgba(0,0,0,.7)}
.dark .muted{color:rgba(255,255,255,.75)}
.rule-top{border-top:1.5px solid #000;padding-top:48px}
.dark .rule-top{border-top:1px solid rgba(255,255,255,.25)}

/* two-column section head: heading at the start, text at the end */
.split{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;row-gap:20px;align-items:end}
.split>:first-child{grid-column:1 / span 6}
.split>:last-child{grid-column:8 / span 5}
.split.wide>:first-child{grid-column:1 / span 7}
.split.wide>:last-child{grid-column:9 / span 4}
.cols{display:grid;gap:40px 24px}
.cols.c3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cols.c4{grid-template-columns:repeat(4,minmax(0,1fr))}
.stack{display:flex;flex-direction:column;gap:14px}

.pill{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;padding:13px 24px;font-size:16px;font-weight:var(--strong);min-height:44px;border:1px solid transparent;cursor:pointer;transition:background .3s,color .3s,border-color .3s}
.pill.w{background:#fff;color:#000}
.pill.k{background:#000;color:#fff}
.pill.ow{border-color:rgba(255,255,255,.6);color:#fff}
.pill.ow:hover{background:#fff;color:#000}
.under{font-size:16px;font-weight:var(--strong);border-bottom:1.5px solid currentColor;padding-bottom:3px}

/* ---------- header ---------- */
.topbar{position:fixed;top:0;left:0;right:0;z-index:40;color:#fff;transition:background .35s,color .35s}
.topbar .bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;height:76px}
.topbar nav{display:flex;gap:28px;font-size:15px}
.topbar .rule{height:1px;background:rgba(255,255,255,.35);transition:background .35s}
.topbar .logo{display:block;justify-self:center;line-height:0}
.topbar .logo img{height:26px;width:auto}
.topbar .logo-w{filter:invert(1)}
.topbar .logo-b{display:none}
.topbar .end{justify-self:end;display:flex;align-items:center;gap:20px;font-size:15px}
.talk{border-radius:999px;padding:11px 22px;font-weight:var(--strong);background:#fff;color:#000;transition:background .35s,color .35s;white-space:nowrap}
.topbar.solid{background:#fff;color:#000}
.topbar.solid .rule{background:rgba(0,0,0,.12)}
.topbar.solid .logo-w{display:none}
.topbar.solid .logo-b{display:inline}
.topbar.solid .talk{background:#000;color:#fff}
.menu-btn{all:unset;cursor:pointer;font-size:16px;color:inherit;padding:10px 0;justify-self:start;display:none}
.menu-btn:focus-visible{outline:2px solid currentColor;outline-offset:3px}

/* ---------- full-screen menu ---------- */
.menu{position:fixed;inset:0;z-index:50;background:#fff;color:#000;display:flex;flex-direction:column;overflow:auto;animation:menuIn .6s var(--ease) both}
@keyframes menuIn{from{clip-path:circle(0% at 100% 0%)}to{clip-path:circle(150% at 100% 0%)}}
[dir="rtl"] .menu{animation-name:menuInR}
@keyframes menuInR{from{clip-path:circle(0% at 0% 0%)}to{clip-path:circle(150% at 0% 0%)}}
.menu .top{display:flex;justify-content:space-between;align-items:center;padding-top:24px}
.menu .top img{height:26px;width:auto}
.menu .x{width:52px;height:52px;border-radius:50%;background:#000;color:#fff;border:0;cursor:pointer;display:grid;place-items:center}
.menu .links{flex:1;display:flex;flex-direction:column;justify-content:center;gap:12px;padding-block:24px}
.menu a.big{font-size:clamp(40px,7vw,104px);font-weight:var(--hw);letter-spacing:var(--hls);line-height:1.2;transition:transform .4s var(--ease)}
.menu a.big:hover{transform:translateX(24px)}
[dir="rtl"] .menu a.big:hover{transform:translateX(-24px)}
.menu .foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding-bottom:28px;font-size:15px;color:rgba(0,0,0,.7)}

/* ---------- home hero ---------- */
.hero{position:relative;height:100vh;min-height:640px;max-height:1100px;overflow:hidden;color:#fff;background:#000}
.reel-v{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 52%;transform-origin:50% 52%;will-change:transform}
.hero .shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.45) 0%,rgba(0,0,0,0) 22%,rgba(0,0,0,.05) 45%,rgba(0,0,0,.75) 100%)}
.hero .in{position:absolute;left:0;right:0;bottom:56px}
.hero .box{display:flex;flex-direction:column;gap:22px;max-width:760px}
.hero h1{font-weight:var(--hw);letter-spacing:var(--hls);font-size:clamp(40px,5vw,76px);line-height:calc(var(--hlh) + .05);text-wrap:balance}
.hero p{font-size:18px;color:rgba(255,255,255,.85);max-width:56ch}
.line{display:block;overflow:hidden;padding-bottom:.1em}
.line>span{display:block;animation:rise 1.1s var(--ease) both}
@keyframes rise{from{transform:translateY(105%)}to{transform:translateY(0)}}
.fadein{animation:fade 1s .8s ease both}
@keyframes fade{from{opacity:0}to{opacity:1}}
.btns{display:flex;flex-wrap:wrap;gap:10px}

/* ---------- bends ---------- */
.bend-s{border-start-start-radius:var(--bend)}
.bend-e{border-start-end-radius:var(--bend)}

/* ---------- work ---------- */
.work{position:relative;z-index:4;margin-top:-1px;background:#fff;padding-block:110px}
.chips{display:flex;flex-wrap:wrap;gap:10px;padding-block:32px}
.chip{all:unset;cursor:pointer;box-sizing:border-box;border:1.5px solid #000;border-radius:999px;padding:10px 20px;font-size:15px;min-height:44px;display:inline-flex;align-items:center;transition:background .25s,color .25s}
.chip[aria-pressed="true"]{background:#000;color:#fff}
.chip:focus-visible{outline:2px solid #000;outline-offset:3px}
.tiles-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-inline:12px}
.case{position:relative;display:block;aspect-ratio:1/1;border-radius:10px;overflow:hidden;background:#111;color:#fff;isolation:isolate;transition:border-start-start-radius .8s var(--ease)}
.case:hover,.case:focus-visible{border-start-start-radius:24% 20%}
.case-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.001);transition:transform 1.4s var(--ease)}
.case:hover .case-img{transform:scale(1.09)}
.case-vid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .45s ease}
.case.playing .case-vid{opacity:1}
.case-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.88) 100%)}
.case::after{content:"";position:absolute;inset:0;z-index:1;background:rgba(0,0,0,.45);opacity:0;transition:opacity .6s;pointer-events:none}
.case.has-desc:hover::after,.case.has-desc:focus-visible::after{opacity:1}
.case-meta{position:absolute;inset-inline:28px;bottom:30px;z-index:2;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;color:#fff;transition:transform .7s var(--ease)}
.case:hover .case-meta{transform:translateY(-8px)}
.case-client{font-size:14px;color:rgba(255,255,255,.78)}
.case-title{font-size:clamp(20px,2vw,30px);font-weight:var(--strong);line-height:1.3;text-shadow:0 2px 14px rgba(0,0,0,.55)}
.case-desc{font-size:15px;line-height:1.7;color:rgba(255,255,255,.88);max-width:46ch;max-height:0;opacity:0;overflow:hidden;transition:max-height .7s var(--ease),opacity .5s}
.case:hover .case-desc,.case:focus-visible .case-desc{max-height:200px;opacity:1}
.case.c45{aspect-ratio:4/5}
.case.c45 .case-meta{align-items:flex-start;text-align:start;inset-inline:22px;bottom:22px}
.case.c45 .case-title{font-size:20px}

/* ---------- services: pinwheel tiles ---------- */
.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1.5px solid #000}
.tile{position:relative;overflow:hidden;min-height:420px;background:#fff;color:#000;display:flex;flex-direction:column;justify-content:space-between;gap:24px;padding:32px;isolation:isolate;border-inline-end:1.5px solid #000;border-bottom:1.5px solid #000}
.tile:nth-child(3n){border-inline-end:0}
.tile:nth-last-child(-n+3){border-bottom:0}
.tile .q{position:absolute;width:38%;aspect-ratio:1/1;background:#000;z-index:-1;transition:transform .8s var(--ease)}
.tile .q.tl{left:0;top:0;border-bottom-right-radius:100%;transform-origin:0 0}
.tile .q.tr{right:0;top:0;border-bottom-left-radius:100%;transform-origin:100% 0}
.tile .q.br{right:0;bottom:0;border-top-left-radius:100%;transform-origin:100% 100%}
.tile .q.bl{left:0;bottom:0;border-top-right-radius:100%;transform-origin:0 100%}
.tile:hover .q,.tile:focus-visible .q{transform:scale(4.2)}
.tile .txt{mix-blend-mode:difference;color:#fff;display:flex;flex-direction:column;gap:8px}
.tile .t{font-size:clamp(26px,2.4vw,38px);font-weight:var(--hw);letter-spacing:var(--hls);line-height:1.2}
.tile .sub{font-size:15px}
.tile .d{font-size:16px}
.tile .its{display:flex;flex-direction:column;gap:6px;font-size:14px;padding-block:6px}
.tile .go{font-size:15px;font-weight:var(--strong);text-decoration:underline;text-underline-offset:6px}

/* ---------- partners ---------- */
.clients{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid rgba(255,255,255,.25)}
.logo-cell{height:150px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid rgba(255,255,255,.15)}
.logo-cell img{width:auto;max-width:72%;opacity:.8;transition:opacity .3s,transform .5s var(--ease)}
.logo-cell:hover img{opacity:1;transform:scale(1.1)}

/* ---------- method ---------- */
.circle{width:min(100%,200px);aspect-ratio:1/1;border-radius:50%;border:1.5px solid currentColor}
.circle.sm{width:min(100%,160px)}
[dir="rtl"] .circle{transform:scaleX(-1)}
.step{display:flex;flex-direction:column;gap:16px}
.step .t{font-size:24px;font-weight:var(--strong)}
.step .d{font-size:16px}

/* ---------- about / why / market ---------- */
.card-top{display:flex;flex-direction:column;gap:14px;border-top:1.5px solid #000;padding-top:22px}
.card-top h3{font-size:28px;font-weight:var(--strong);line-height:1.3}
.card-top p{font-size:17px}
.why-box{background:rgba(0,0,0,.05);padding:40px}
.why-box .t{font-size:20px;font-weight:var(--strong);line-height:1.4}
.why-box .d{font-size:15px;color:rgba(0,0,0,.72)}
.stat{display:flex;flex-direction:column;gap:10px;border-top:1.5px solid #000;padding-top:18px}
.stat .v{font-family:Poppins,Arial,sans-serif;font-weight:600;font-size:clamp(48px,5vw,84px);line-height:1;letter-spacing:-.04em;direction:ltr;text-align:start}
[dir="rtl"] .stat .v{text-align:right}
.stat .d{font-size:15px;color:rgba(0,0,0,.72)}
.small{font-size:13px;color:rgba(0,0,0,.72)}
.dark .small{color:rgba(255,255,255,.72)}

/* ---------- talent ---------- */
.talent{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;row-gap:28px;align-items:center;border-top:1px solid rgba(255,255,255,.25);padding-top:64px}
.talent .n{grid-column:1 / span 6;font-family:Poppins,Arial,sans-serif;font-weight:600;font-size:clamp(80px,11vw,190px);line-height:1;letter-spacing:-.06em;direction:ltr;text-align:start}
[dir="rtl"] .talent .n{text-align:right}
.talent .b{grid-column:8 / span 5;display:flex;flex-direction:column;gap:16px;align-items:flex-start}
.talent h2{font-size:28px;font-weight:var(--strong);line-height:1.35}

/* ---------- contact + forms ---------- */
.tabs{display:flex;flex-wrap:wrap;gap:10px}
.tab{all:unset;cursor:pointer;box-sizing:border-box;border:1px solid rgba(255,255,255,.5);border-radius:999px;padding:12px 24px;font-size:16px;font-weight:var(--strong);color:#fff;min-height:44px;transition:background .3s,color .3s}
.tab[aria-selected="true"]{background:#fff;color:#000;border-color:#fff}
.tab:focus-visible,.chipd:focus-visible{outline:2px solid #fff;outline-offset:3px}
.chipd{all:unset;cursor:pointer;box-sizing:border-box;border:1px solid rgba(255,255,255,.4);border-radius:999px;padding:9px 18px;font-size:15px;color:#fff;min-height:40px;transition:background .3s,color .3s}
.chipd[aria-pressed="true"]{background:#fff;color:#000}
.panel{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;row-gap:40px;padding-top:40px}
.panel>.side{grid-column:1 / span 6;display:flex;flex-direction:column;gap:24px}
.panel>.formbox{grid-column:8 / span 5}
.panel.svc>.side{grid-column:1 / span 5}
.panel.svc>.formbox{grid-column:7 / span 6}
.side .big{font-size:22px}
.kv{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px 20px;font-size:15px}
.kv dt{color:rgba(255,255,255,.6)}
.fields{display:flex;flex-direction:column;gap:24px}
.fld{display:flex;flex-direction:column;gap:6px;font-size:14px;color:rgba(255,255,255,.7)}
.fld input,.fld select,.fld textarea{border:0;border-bottom:1px solid #fff;border-radius:0;padding:10px 0;font-size:19px;background:transparent;color:#fff;width:100%}
.fld select{background:#000}
.fld textarea{resize:vertical}
.fld input::placeholder{color:rgba(255,255,255,.4)}
.fld .err{display:none;font-size:13px;color:#fff}
.fld.bad .err{display:block}
.fld.bad input,.fld.bad textarea{border-bottom-width:3px}
.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 24px}
.send{background:#fff;color:#000;border:0;border-radius:999px;padding:18px 38px;font-size:17px;font-weight:var(--strong);cursor:pointer;min-height:44px}
.send[disabled]{opacity:.6;cursor:default}
.form-end{display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:space-between}
.form-end .small{max-width:44ch}
.form-end a,.small a{text-decoration:underline;text-underline-offset:3px}
.done{font-size:20px;font-weight:var(--strong);padding:32px 0;border-top:1px solid #fff;border-bottom:1px solid #fff}
.done a{text-decoration:underline;text-underline-offset:4px}

/* ---------- footer ---------- */
.foot{padding-top:96px;font-size:14px;color:rgba(255,255,255,.7)}
.socs{display:flex;flex-wrap:wrap;gap:12px;padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid rgba(255,255,255,.2)}
.soc{display:inline-grid;place-items:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.35);border-radius:50%;color:#fff;transition:background .3s,color .3s,border-color .3s}
.soc:hover{background:#fff;color:#000;border-color:#fff}
.soc svg{display:block}
.foot-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px 32px}
.foot-row .tag{color:#fff;font-size:16px}
.foot-links{display:flex;flex-wrap:wrap;gap:8px 22px;padding-top:18px}
.foot-links a:hover{color:#fff}

/* ---------- service page ---------- */
.shero{position:relative;overflow:hidden;color:#fff;background:#000;padding-top:172px;padding-bottom:180px}
.hq{position:absolute;inset-inline-end:-8vw;bottom:-8vw;width:44vw;max-width:640px;aspect-ratio:1/1;background:#fff;border-start-start-radius:100%;opacity:.08;animation:breathe 9s ease-in-out infinite alternate}
@keyframes breathe{to{transform:scale(1.08) rotate(-6deg)}}
.crumb{display:flex;flex-wrap:wrap;gap:10px;font-size:14px;color:rgba(255,255,255,.6);padding-bottom:20px}
.crumb [aria-current]{color:#fff}
.light .crumb,.crumb.k{color:rgba(0,0,0,.6)}
.crumb.k [aria-current]{color:#000}
.shero .grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;row-gap:32px;align-items:end}
.shero h1{grid-column:1 / span 8;font-weight:var(--hw);letter-spacing:var(--hls);font-size:clamp(42px,5.8vw,92px);line-height:calc(var(--hlh) + .02)}
.shero .aside{grid-column:9 / span 4;display:flex;flex-direction:column;gap:22px;align-items:flex-start}
.shero .aside p{font-size:17px;color:rgba(255,255,255,.82)}
.shero .wa{font-size:15px;color:rgba(255,255,255,.78);text-decoration:underline;text-underline-offset:5px}
.w{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.12em;margin-inline-end:.22em}
.w>span{display:inline-block;animation:bendin 1.1s var(--ease) both}
@keyframes bendin{from{transform:translateY(110%) rotate(6deg)}to{transform:translateY(0) rotate(0)}}
.body-up{position:relative;background:#fff;color:#000;margin-top:-120px;padding-top:120px}
.sec{padding-bottom:110px}
.item{border-top:1.5px solid #000;padding-top:22px;display:flex;flex-direction:column;gap:12px}
.item .dot{width:28px;height:28px;background:#000;border-start-start-radius:100%;transition:transform .6s var(--ease)}
.item:hover .dot{transform:rotate(180deg)}
.item .t{font-size:22px;font-weight:var(--strong);line-height:1.4}
.item .d{font-size:15px;color:rgba(0,0,0,.72)}
.band{padding-block:110px}
.faq{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;row-gap:24px}
.faq>.side{grid-column:1 / span 4;display:flex;flex-direction:column;gap:14px}
.faq>.side p{font-size:20px;font-weight:var(--strong);line-height:1.5}
.faq>.list{grid-column:5 / span 8;border-top:1.5px solid #000}
.qa{border-bottom:1px solid rgba(0,0,0,.2)}
.qbtn{all:unset;box-sizing:border-box;width:100%;cursor:pointer;display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:16px;align-items:center;padding:24px 0;font-size:20px;font-weight:var(--strong);line-height:1.5}
.qbtn:focus-visible{outline:2px solid #000;outline-offset:3px}
.plus{transition:transform .4s var(--ease)}
.qbtn[aria-expanded="true"] .plus{transform:rotate(45deg)}
.faq-b{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s var(--ease)}
.faq-b.open{grid-template-rows:1fr}
.faq-b>div{overflow:hidden}
.faq-b p{padding-block:0 26px;padding-inline-end:48px;font-size:16px;color:rgba(0,0,0,.74)}
.form-sec{padding-top:130px;padding-bottom:64px}
.related{display:flex;flex-wrap:wrap;gap:10px}
.related .pill{font-weight:400}
.mbar{display:none}

/* ---------- insights + article ---------- */
.ihero{color:#fff;background:#000;padding-top:186px;padding-bottom:200px}
.ihero .row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:32px}
.ihero h1{font-weight:var(--hw);letter-spacing:var(--hls);font-size:clamp(64px,11vw,190px);line-height:var(--hlh)}
html[lang="en"] .ihero h1{letter-spacing:-.06em;line-height:.86}
.ihero p{max-width:36ch;font-size:17px;color:rgba(255,255,255,.78)}
.posts{border-top:1.5px solid #000}
.post{display:grid;grid-template-columns:150px minmax(0,1fr) 150px 40px;gap:24px;align-items:baseline;padding:30px 0;border-bottom:1px solid rgba(0,0,0,.18);transition:padding .4s var(--ease)}
.post:hover{padding-inline-start:16px}
.post .m{font-size:14px;color:rgba(0,0,0,.6)}
.post .tt{display:flex;flex-direction:column;gap:6px;min-width:0}
.post .tt b{font-size:clamp(22px,2.4vw,34px);font-weight:var(--hw);letter-spacing:var(--hls);line-height:1.25}
.post .tt span{font-size:15px;color:rgba(0,0,0,.65)}
.post .go{opacity:0;transition:opacity .3s}
.post:hover .go{opacity:1}
[dir="rtl"] .post .go svg{transform:scaleX(-1)}
.art{background:#fff;color:#000;padding-top:76px}
.art-head{padding-top:72px;padding-bottom:56px}
.art-head h1{font-weight:var(--hw);letter-spacing:var(--hls);font-size:clamp(36px,5vw,80px);line-height:calc(var(--hlh) + .06);max-width:22ch;text-wrap:balance}
.art-meta{display:flex;flex-wrap:wrap;gap:12px 32px;font-size:14px;color:rgba(0,0,0,.65);border-top:1.5px solid #000;padding-top:20px;margin-top:28px}
.art-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;row-gap:40px;align-items:start;padding-bottom:120px}
.toc{grid-column:1 / span 3;position:sticky;top:100px}
.toc p{font-size:13px;color:rgba(0,0,0,.6);padding-bottom:12px}
.toc a{display:block;padding-block:8px;padding-inline-start:14px;border-inline-start:1.5px solid rgba(0,0,0,.15);font-size:14px;line-height:1.5;color:rgba(0,0,0,.65);transition:border-color .25s,color .25s,padding .3s}
.toc a:hover{border-inline-start-color:#000;color:#000;padding-inline-start:20px}
.prose{grid-column:5 / span 7;min-width:0}
.prose .dek{font-size:22px;line-height:1.6;color:#000;padding-bottom:8px}
.prose h2{font-size:30px;font-weight:var(--hw);letter-spacing:var(--hls);line-height:1.3;margin:56px 0 16px;scroll-margin-top:100px}
.prose h3{font-size:20px;font-weight:var(--strong);line-height:1.45;margin:0 0 10px}
.prose p,.prose li{font-size:18px;line-height:1.8;color:rgba(0,0,0,.82)}
.prose p{margin:0 0 18px}
.prose ul{margin:0 0 18px;padding-inline-start:22px}
.prose .qa2{border-top:1px solid rgba(0,0,0,.18);padding-top:18px;padding-bottom:6px}
.art-cta{display:block;margin:64px 0;background:#000;color:#fff;padding:36px;border-start-start-radius:120px 60px}
.art-cta b{display:block;font-size:28px;font-weight:var(--hw);letter-spacing:var(--hls);line-height:1.3;padding-bottom:10px}
.art-cta span{display:block;font-size:16px;color:rgba(255,255,255,.78);padding-bottom:20px}
.more{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
.more a{display:flex;flex-direction:column;gap:12px;border-top:1px solid #fff;padding-top:18px}
.more .m{font-size:13px;color:rgba(255,255,255,.65)}
.more b{font-size:22px;font-weight:var(--strong);line-height:1.35}
.closing{display:flex;flex-wrap:wrap;justify-content:space-between;gap:24px;align-items:end;padding-top:100px}
.closing .q{font-weight:var(--hw);letter-spacing:var(--hls);font-size:clamp(36px,4.6vw,72px);line-height:var(--hlh);max-width:16ch}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none !important;transition:none !important}
}
/* touch: descriptions always visible, no hover states to wait for */
@media (hover:none),(max-width:900px){
  .case-desc{max-height:none !important;opacity:1 !important}
  .case.has-desc .case-shade{background:linear-gradient(180deg,rgba(0,0,0,.1) 0%,rgba(0,0,0,.9) 70%)}
}

/* ---------- small screens ---------- */
@media (max-width:900px){
  .hide-m{display:none !important}
  .menu-btn{display:inline-block}
  .topbar .bar{height:64px}
  .split,.talent,.panel,.faq,.shero .grid,.art-grid{column-gap:16px}
  .split>*,.split.wide>*,.talent .n,.talent .b,.panel>.side,.panel>.formbox,.panel.svc>.side,.panel.svc>.formbox,.faq>.side,.faq>.list,.shero h1,.shero .aside,.prose,.toc{grid-column:1 / -1 !important}
  .cols.c3,.cols.c4,.two,.tiles,.tiles-grid{grid-template-columns:1fr}
  .tiles-grid{padding-inline:12px}
  .case{aspect-ratio:4/5}
  .tile{min-height:0;border-inline-end:0 !important;border-bottom:1.5px solid #000 !important;padding:24px}
  .tile:last-child{border-bottom:0 !important}
  .clients{grid-template-columns:repeat(2,minmax(0,1fr))}
  .logo-cell{height:120px}
  .logo-cell img{max-height:56%}
  .work,.band{padding-block:72px}
  .sec{padding-bottom:72px}
  .why-box{padding:24px}
  .hero .in{bottom:40px}
  .hero p{font-size:16px}
  .shero{padding-top:124px;padding-bottom:160px}
  .ihero{padding-top:130px;padding-bottom:170px}
  .form-sec{padding-top:96px}
  .toc{position:static}
  .post{grid-template-columns:1fr;gap:8px}
  .post .go{display:none}
  .faq-b p{padding-inline-end:0}
  .art-head{padding-top:40px}
  .mbar{display:grid;grid-template-columns:1fr 1fr;position:sticky;bottom:0;z-index:20}
  .mbar a{text-align:center;padding:18px 0;font-weight:var(--strong);font-size:15px}
  .mbar a:first-child{background:#fff;color:#000;border-top:1px solid #000}
  .mbar a:last-child{background:#000;color:#fff;border-top:1px solid rgba(255,255,255,.4)}
}

/* latin fields inside Arabic forms keep LTR typing but line up with the labels */
[dir="rtl"] .fld input[dir="ltr"]{text-align:right}
/* the "عربي" switch on English pages uses the Arabic face */
.topbar a[lang="ar"],.menu a[lang="ar"]{font-family:"RB",Tahoma,Arial,sans-serif;font-size:16px}
.menu>.wrap{width:100%}
/* contact details never push the page wider than the phone */
.kv{grid-template-columns:minmax(0,auto) minmax(0,1fr)}
.kv dd{overflow-wrap:anywhere}
@media (max-width:900px){.kv{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}.talk{padding:10px 16px;font-size:14px}}
/* phones: while a tile's film plays, keep the top half clear so the film is visible above the text */
@media (hover:none),(max-width:900px){
  .case.playing.has-desc .case-shade{background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.86) 62%,rgba(0,0,0,.92) 100%)}
}

/* phone header: language switch sits beside the menu button */
.m-start{display:none;align-items:center;gap:12px;justify-self:start}
.lang-m{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:4px 11px;border:1px solid currentColor;border-radius:999px;font-family:Poppins,Arial,sans-serif;font-size:12px;font-weight:500;letter-spacing:.06em;line-height:1;white-space:nowrap}
.topbar .lang-m[lang="ar"]{font-family:"RB",Tahoma,Arial,sans-serif;font-size:13px;letter-spacing:0;padding-inline:10px}
@media (max-width:900px){
  .m-start{display:flex}
  .topbar .bar{gap:10px}
  .topbar .logo img{height:22px}
  .talk{padding:9px 14px;font-size:13px}
}
@media (max-width:380px){
  .topbar .wrap{padding-inline:16px}
  .m-start{gap:9px}
  .menu-btn{font-size:15px}
  .topbar .logo img{height:20px}
  .talk{padding:9px 12px}
}

/* background films never show the phone's own play button or controls */
.reel-v::-webkit-media-controls,.case-vid::-webkit-media-controls,
.reel-v::-webkit-media-controls-start-playback-button,.case-vid::-webkit-media-controls-start-playback-button,
.reel-v::-webkit-media-controls-overlay-play-button,.case-vid::-webkit-media-controls-overlay-play-button{display:none !important;-webkit-appearance:none;opacity:0 !important}
.reel-v,.case-vid{pointer-events:none}
