/* Tashweesh landing page (approved version, V3b). Light look: navy carries text, sky is the accent, yellow is rare, the pink gradient is reserved for CTAs. Every .snap section fills one screen; see README.md. */
:root{
  --white:#FFFFFF; --paper:#F3F6FA; --line:#E3E8F0;
  --navy:#0A1A3A; --navy-2:#132A57; --navy-3:#1E3C73;
  --sky:#35B6E9; --sky-soft:#E7F6FD; --yellow:#FFC93C;
  --ink:#0A1A3A; --muted:#5F6E87; --muted-2:#8B97AB;
  --font:"Almarai","Geeza Pro","Segoe UI",Tahoma,sans-serif;
  --r:26px; --r-sm:16px;
  --gut-l:max(16px, env(safe-area-inset-left, 0px)); --gut-r:max(16px, env(safe-area-inset-right, 0px));
  --header:96px;
  --blue-card:radial-gradient(120% 90% at 0% 0%, #2E5585 0%, transparent 60%),linear-gradient(160deg,#24497A,#132A57);
  /* type scale: 5 sizes. Light (300) only at 24px and up; Regular (400) below 18px */
  --fs-display:clamp(32px,5.2vw,60px); --fs-h2:clamp(28px,3.6vw,44px); --fs-h3:20px; --fs-body:16px; --fs-small:13px;
  /* spacing scale */
  --s1:8px; --s2:16px; --s3:24px; --s4:40px; --s5:64px; --s6:120px;
  color-scheme:light;
}
html{scroll-padding-top:calc(var(--header) + env(safe-area-inset-top,0px));scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
body{background:var(--white);color:var(--ink);font-family:var(--font);font-weight:400;font-size:var(--fs-body);line-height:1.8;-webkit-font-smoothing:antialiased}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:60;background:var(--white)}
*{box-sizing:border-box}
h1,h2,h3{margin:0;font-weight:300;line-height:1.3;letter-spacing:0;text-wrap:balance}
b,strong{font-weight:400}
p{margin:0}
a{color:inherit}
:focus-visible{outline:2px solid var(--sky);outline-offset:3px;border-radius:8px}
.page{direction:rtl}
.wrap{max-width:1160px;margin-inline:auto;padding-left:var(--gut-l);padding-right:var(--gut-r)}
.sec{padding-block:clamp(64px,8vw,112px);position:relative}
.sec > .wrap{width:100%}
#about{padding-top:clamp(8px,2vw,24px)}

.hero{padding-block:8px 16px!important;justify-content:flex-start!important}

/* type */
.h-xl{font-size:var(--fs-display);line-height:1.25}
.h-lg{font-size:var(--fs-h2);line-height:1.3}
.h-md{font-size:var(--fs-h3);font-weight:400;line-height:1.45}
.lead{color:var(--muted);font-size:var(--fs-body);line-height:1.85;max-width:58ch}
.accent{color:var(--sky)}

/* buttons */

/* header */
.hdr{position:sticky;top:env(safe-area-inset-top,0px);z-index:50;height:var(--header);background:rgba(255,255,255,.86);backdrop-filter:blur(14px) saturate(1.4);-webkit-backdrop-filter:blur(14px) saturate(1.4)}

/* media placeholder */
.img{position:relative;overflow:hidden;border-radius:var(--r);background:
  radial-gradient(120% 80% at 80% 0%, rgba(53,182,233,.30), transparent 60%),
  linear-gradient(165deg,var(--navy-3),var(--navy));color:#fff;max-width:100%}
.img.v2{background:radial-gradient(100% 70% at 10% 10%, rgba(255,255,255,.10), transparent 60%),linear-gradient(200deg,#24497F,#0D1F45)}

.img::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 14px, transparent 14px 28px)}

/* notes */

/* ---------- one section per screen (desktop + mobile): every section fills the screen and scrolling stops at its top ---------- */
html{scroll-snap-type:y mandatory}
.foot{scroll-snap-align:end}  /* the footer is its own stop, aligned to the bottom, so the page can rest on it */
@media (max-width:860px){.snap{scroll-snap-stop:always}}  /* phones: one swipe = one section, like a carousel; a section taller than the screen still scrolls inside before moving on */
@media (min-width:861px){
  .snap{scroll-snap-align:start;min-height:calc(100svh - var(--header) - env(safe-area-inset-top,0px));display:flex;flex-direction:column;justify-content:center;padding-block:clamp(24px,3vw,40px)!important}
  .snap > .wrap,.snap > .about-in{width:100%}
  .snap.hero{padding-block:8px 16px!important;justify-content:flex-start}
}
@media (max-width:860px){
  .snap{scroll-snap-align:start;min-height:calc(100svh - var(--header) - env(safe-area-inset-top,0px));display:flex;flex-direction:column;justify-content:center}
  .snap > .wrap,.snap > .about-in{width:100%}
  .snap.hero{justify-content:flex-start}
}
.about-in{display:flex;flex-direction:column;gap:clamp(28px,4vw,48px)}
.about-in > .wrap{width:100%}
.about-clients{width:100%}
/* desktop: the six client logos sit still in a row of boxes, as wide as the hero; phones keep the moving strip */
@media (min-width:861px){
  .about-clients{max-width:1160px;margin-inline:auto;padding-inline:var(--gut-r) var(--gut-l)}
  .about-clients .marquee{mask-image:none;-webkit-mask-image:none;overflow:visible}
  .about-clients .track{animation:none!important;width:100%;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
  .about-clients .track > .logo-cell{width:auto;margin:0}
  .about-clients .track > .logo-cell[aria-hidden="true"]{display:none}
}
@media (min-width:1800px){.about-clients{max-width:1480px}}

/* navbar: floating pill as on tashweeshagency.com */
.hdr{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

@media (max-width:860px){:root{--header:76px}}

/* ---------- 01 hero v2: 3D corridor of real ads (cards fly from the vanishing point out past the edges) ---------- */
.hero2{--lift:clamp(0px,calc((100svh - 720px) * .45),10svh);padding-bottom:var(--lift);box-sizing:border-box;height:calc(100svh - var(--header) - 24px);min-height:540px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:clamp(6px,1svh,12px)}
.hero2 h1{font-size:clamp(28px,4.2vw,56px);line-height:1.25;color:var(--ink);max-width:24ch;position:relative;z-index:3}
.hero2 .lead{font-size:clamp(15px,1.5vw,19px);color:var(--muted);max-width:52ch;position:relative;z-index:3}
.hero2 .lead strong{font-weight:700;color:var(--ink)}
.hero2 > div:last-child{position:relative;z-index:3;margin-top:6px}
@media (min-width:1100px){.hero2 .lead{white-space:nowrap;max-width:none}}
/* cards keep their full frame until they leave the screen: only the sides are clipped (no top/bottom cut, no fade) */
.corridor{position:relative;z-index:1;--pw:calc(100vw - var(--sbw,0px));width:var(--pw);margin-left:calc(50% - var(--pw) / 2);margin-right:calc(50% - var(--pw) / 2);--cor:clamp(240px,calc(100svh - var(--header) - 324px - var(--lift)),calc(520px - var(--lift)));flex:none;height:var(--cor);margin-block:0;perspective:900px;perspective-origin:50% 50%;overflow-x:clip;overflow-y:visible}
#hero{overflow-x:clip}
.cor-stage{position:absolute;inset:0;transform-style:preserve-3d}
.cc{--h:60svh;--w:calc(var(--h) * .58);position:absolute;left:50%;top:50%;width:var(--w);height:var(--h);margin:calc(var(--h) / -2) 0 0 calc(var(--w) / -2);border-radius:14px;overflow:hidden;background:var(--navy-3);
  animation:fly 40s linear infinite;animation-delay:var(--d);will-change:transform;backface-visibility:hidden;box-shadow:0 20px 40px -24px rgba(10,26,58,.5)}
.cc.t{--h:66svh;--w:calc(var(--h) * .5)}
.cc img,.cc video{width:100%;height:100%;object-fit:cover;display:block}
.cc.l{--x:-56vw;--ry:62deg}
.cc.r{--x:56vw;--ry:-62deg}
@keyframes fly{
  0%{transform:translate3d(var(--x),0,-6400px) rotateY(var(--ry));opacity:0}
  6%{opacity:1}
  35%{transform:translate3d(var(--x),0,-2600px) rotateY(var(--ry))}
  100%{transform:translate3d(var(--x),0,560px) rotateY(var(--ry));opacity:1}
}
@media (max-width:760px){
  .hero2{--lift:clamp(0px,calc((100svh - 700px) * .3),6svh);height:calc(100svh - var(--header) - 16px);min-height:560px;gap:10px;padding-block:8px var(--lift)}
  .corridor{flex:1 1 auto;height:auto;min-height:260px;max-height:none;margin-block:6px;perspective:700px}
  /* phones: four image cards per wall (no video), no shadows: light enough for a phone's GPU */
  .cc{--h:39svh;--w:calc(var(--h) * .58);box-shadow:none;animation-name:flym;animation-duration:20s;animation-delay:var(--dm,0s)}
  .cc.t{--h:44svh;--w:calc(var(--h) * .5)}
  .cc.l{--x:-52vw}.cc.r{--x:52vw}
  .cc:not(.m){display:none}
}
@keyframes flym{
  0%{transform:translate3d(var(--x),0,-4200px) rotateY(var(--ry));opacity:0}
  8%{opacity:1}
  30%{transform:translate3d(var(--x),0,-1500px) rotateY(var(--ry))}
  100%{transform:translate3d(var(--x),0,420px) rotateY(var(--ry));opacity:1}
}
@media (prefers-reduced-motion:reduce){.cc{animation-play-state:paused}}
.corridor.off .cc{animation-play-state:paused}

/* ---------- 01 hero ---------- */
.hero{padding-block:8px clamp(56px,8vw,96px)}
/* hero card: always full content width; height follows width (landscape) but never taller than the screen */

/* ---------- 02 about + stats ---------- */

.stats{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:12px}
@media (max-width:860px){.stats{grid-template-columns:1fr 1fr}.stat.hero-stat{grid-column:1 / -1}}
@media (max-width:560px){.stats{grid-template-columns:minmax(0,1fr)}.stat{min-height:0;gap:22px}.stat .n{font-size:clamp(32px,9.5vw,42px)}.stat.hero-stat .n{font-size:clamp(34px,10.2vw,46px)}}
.stat .n{white-space:nowrap}
@media (max-width:860px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.stats{grid-template-columns:minmax(0,1fr)!important}}
.stat{position:relative;border-radius:var(--r);padding:22px;display:flex;flex-direction:column;justify-content:space-between;gap:28px;min-height:170px;overflow:hidden;background:var(--paper);min-width:0}
.stat.hero-stat{min-height:220px;color:#fff;background:radial-gradient(120% 90% at 0% 0%, rgba(53,182,233,.32), transparent 60%),linear-gradient(165deg,var(--navy-3),var(--navy))}
.stat.hero-stat::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 14px, transparent 14px 28px)}
.stat > *{position:relative}
.stat .unit{font-size:var(--fs-small);color:var(--muted);display:flex;align-items:center;gap:8px}
.stat .unit .rs{width:22px;height:22px;flex:none}
.stat.hero-stat .unit{color:#fff}
.stat.hero-stat .n{color:var(--sky)}
.stat.hero-stat .unit{color:#A9B8D3}
.stat .n{font-size:clamp(30px,3.4vw,40px);line-height:1;letter-spacing:-.01em;direction:ltr;text-align:right;font-variant-numeric:tabular-nums}
.stat.hero-stat .n{font-size:clamp(44px,6.4vw,72px)}
.stat p{color:var(--muted);font-size:var(--fs-small);line-height:1.6;max-width:30ch}
.stat.hero-stat p{color:rgba(255,255,255,.78);text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.stat .foot-row{display:flex;flex-direction:column;gap:8px}

.logo-cell{flex:none;width:clamp(146px,12.5vw,184px);height:clamp(78px,6.3vw,92px);display:grid;place-items:center;background:var(--paper);border-radius:var(--r-sm);padding:14px 22px}
.logo-cell img{max-width:88%;max-height:82%;width:auto;height:auto;display:block;opacity:.9}
.track > .logo-cell{margin-inline-end:12px}

/* ---------- 03 work (expanding card) ---------- */

/* ---------- section head ---------- */
.head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:clamp(28px,3.5vw,48px)}
.head .t{display:flex;flex-direction:column;gap:12px;min-width:0}

/* ---------- 04 services ---------- */

/* services on phones: stacked, not a carousel */

/* services v2: simple cards (icon · name · one line), the first carries the brand accent */
.svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.sv{border:1px solid var(--line);border-radius:var(--r-sm);padding:clamp(20px,2.2vw,28px);min-height:clamp(240px,24vw,300px);display:flex;flex-direction:column;gap:14px;background:var(--white);min-width:0}
.sv-ic{width:48px;height:48px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;flex:none}
.sv-ic svg{width:22px;height:22px}
.sv h3{font-size:clamp(20px,1.8vw,24px);font-weight:400;line-height:1.4}
.sv h3 em{font-style:normal;direction:ltr;unicode-bidi:isolate}
.sv-d{margin-top:auto;font-size:var(--fs-small);line-height:1.7;color:var(--muted);max-width:34ch}

a.sv{position:relative;text-decoration:none;color:inherit;transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s}
a.sv:hover{transform:translateY(-4px);box-shadow:0 24px 50px -30px rgba(10,26,58,.4)}
a.sv::after{content:"←";position:absolute;inset-inline-end:22px;top:24px;font-size:20px;opacity:.5;transition:transform .3s,opacity .3s}
a.sv:hover::after{opacity:1;transform:translateX(-4px)}
/* featured card: same surface as the founder photo placeholders (navy gradient, sky glow, fine stripes) */
.sv.featured{position:relative;overflow:hidden;border-color:transparent;color:#fff;background:radial-gradient(120% 80% at 80% 0%, rgba(53,182,233,.30), transparent 60%),linear-gradient(165deg,var(--navy-3),var(--navy))}
.sv.featured::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 14px, transparent 14px 28px);pointer-events:none}
.sv.featured > *{position:relative}
.sv.featured .sv-ic{background:#fff;color:var(--navy)}
.sv.featured .sv-d{color:rgba(255,255,255,.78)}
@media (max-width:860px){.svc-grid{grid-template-columns:1fr}.sv{min-height:0;gap:12px}.sv-d{margin-top:8px}}

/* ---------- 05 results bento ---------- */

/* case dialog */
dialog{border:0;padding:0;border-radius:var(--r);width:min(860px,calc(100vw - 32px));max-height:calc(100svh - 48px);color:var(--ink);background:var(--white);direction:rtl;font-family:var(--font)}
dialog::backdrop{background:rgba(10,26,58,.55);backdrop-filter:blur(4px)}
.flow{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.stage{border-radius:var(--r-sm);padding:24px;display:flex;flex-direction:column;gap:12px;background:var(--paper);min-width:0}
.stage.on{background:var(--blue-card);color:#fff}
.stage .w{font-size:var(--fs-small);color:var(--muted)}.stage.on .w{color:var(--sky)}
.stage .big{font-size:clamp(28px,3vw,38px);line-height:1.1}

.stage .big.gold{color:var(--yellow)}

.stage p{font-size:var(--fs-small);line-height:1.7}
@media (max-width:760px){.flow{grid-template-columns:1fr}}

/* saudi store monthly chart: bars carry sales; ROAS sits in its own row (no second axis) */
.schart{margin:6px 0 0;position:relative;border-top:1px solid var(--line);padding-top:20px}
.sc-head{display:flex;justify-content:flex-start;margin-bottom:14px}
.sc-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:var(--fs-small);color:var(--muted)}
.sc-legend span{display:inline-flex;align-items:center;gap:8px}
.lg{width:12px;height:12px;border-radius:3px;display:inline-block}
.lg.b{background:#A3AEC2}.lg.a{background:#1E88C8}
.sc-scroll{overflow-x:auto;scrollbar-width:thin}
.sc-inner{min-width:620px}
.sc-plot{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px;height:clamp(200px,24vw,280px);align-items:end;border-bottom:1px solid #C9D1DE}
.ccol{min-width:0;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px;cursor:default;outline:none}
.ccol .cv{font-size:11px;color:var(--muted);direction:ltr;font-variant-numeric:tabular-nums;white-space:nowrap}
.ccol.a .cv{font-size:13px;color:var(--ink)}
.cb{display:block;width:72%;max-width:44px;border-radius:4px 4px 0 0;background:#A3AEC2;transition:filter .2s}
.ccol.a .cb{background:#1E88C8}
.ccol:hover .cb,.ccol:focus-visible .cb{filter:brightness(.9)}
.sc-months{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px;text-align:center;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.sc-months{padding-top:8px}
.sc-rlabel{font-size:11px;color:var(--muted);margin-top:2px}
@media (max-width:700px){
  .sc-inner{min-width:0}
  .sc-scroll{overflow:visible}
  .sc-plot,.sc-months{gap:4px}
  .sc-plot{height:220px}
  .ccol.b .cv{display:none}
  .ccol.a .cv{font-size:9px;letter-spacing:-.02em}
  .cb{width:86%}
  .sc-months{font-size:10px}
}

/* ROAS line over the bars (as on the official site) */
.sc-plotwrap{position:relative}
.sc-line{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:2}
.sc-line polyline{fill:none;stroke:#5F6E87;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.sc-line circle{fill:#fff;stroke:#5F6E87;stroke-width:2}
.sc-line text{font:400 11px var(--font);fill:#0A1A3A;text-anchor:middle;direction:ltr}
.lg.ln{width:22px;height:2px;border-radius:2px;background:#5F6E87;position:relative}
.lg.ln::after{content:"";position:absolute;left:7px;top:-3px;width:6px;height:6px;border-radius:50%;background:#fff;border:2px solid #5F6E87;box-sizing:border-box}
.sc-plot{--n:12}
@media (max-width:700px){
  .ccol.early,.sc-months .early{display:none!important}
  .sc-plot,.sc-months{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important}
  .sc-plot{height:240px!important}
  .ccol.b .cv{display:block!important;font-size:10px}
  .ccol.a .cv{font-size:11px!important}
  .sc-months{font-size:12px!important}
  .cb{width:70%!important}
  .sc-line text{font-size:11px}
}

/* match the official site: navy panel, sky "after" bars, light-gray "before" bars, ROAS line crossing the bars */
.schart{background:radial-gradient(120% 90% at 0% 0%, #2E5585 0%, transparent 60%),linear-gradient(160deg,#24497A,#132A57);border:0!important;border-radius:20px;padding:clamp(18px,3vw,32px)!important;color:#fff;margin-top:8px!important}
.schart .sc-plot{border-bottom:1.5px solid rgba(255,255,255,.75)!important;height:clamp(260px,30vw,380px)!important}
.schart .cb{background:#BFC3CF!important;border-radius:2px 2px 0 0!important;width:64%!important;max-width:72px!important}
.schart .ccol.a .cb{background:#5BC4F5!important}
.schart .ccol .cv{color:#fff!important;font-size:12px!important}
.schart .ccol.a .cv{font-size:14px!important}
.schart .sc-months{color:#fff!important;font-size:13px!important}
.schart .sc-rlabel{color:rgba(255,255,255,.8)!important}
.schart .sc-line polyline{stroke:#C7CBD6;stroke-width:3}
.schart .sc-line circle{fill:#C7CBD6;stroke:none}
.schart .sc-line text{fill:#fff;font-size:12px}
.schart .sc-head{justify-content:center!important;margin:22px 0 0!important}
.schart .sc-legend{color:#fff!important;gap:28px!important}
.schart .lg.b{background:#BFC3CF!important}.schart .lg.a{background:#5BC4F5!important}
.schart .lg.ln{background:#C7CBD6!important}.schart .lg.ln::after{background:#C7CBD6!important;border-color:#C7CBD6!important}
@media (max-width:700px){
  .schart .sc-plot{height:260px!important}
  .schart .ccol .cv{font-size:10px!important}
  .schart .ccol.a .cv{font-size:11px!important}
  .schart .sc-legend{gap:14px!important;font-size:12px!important;justify-content:center}
}

/* navy cards share the chart-panel gradient */
.stat.hero-stat{background:var(--blue-card)!important}
.stat.hero-stat::before{display:none}

/* chart panel: secondary (light) surface, it supports the story rather than leading it */
.schart{background:var(--paper)!important;color:var(--ink)!important}
.schart .sc-plot{border-bottom-color:#C9D1DE!important}
.schart .cb{background:#C3CAD7!important}
.schart .ccol.a .cb{background:#35B6E9!important}
.schart .ccol .cv{color:var(--muted)!important}
.schart .ccol.a .cv{color:var(--ink)!important;font-weight:700}
.schart .sc-months{color:var(--muted)!important}
.schart .sc-rlabel{color:var(--muted)!important}
.schart .sc-line polyline{stroke:#5F6E87}
.schart .sc-line circle{fill:#5F6E87}
.schart .sc-line text{fill:var(--ink)}
.schart .sc-legend{color:var(--muted)!important}
.schart .lg.b{background:#C3CAD7!important}.schart .lg.a{background:#35B6E9!important}
.schart .lg.ln{background:#5F6E87!important}.schart .lg.ln::after{background:#5F6E87!important;border-color:#5F6E87!important}

/* chart legend: one row, reading right to left */
.schart .sc-head{display:flex!important;justify-content:flex-start!important}
.schart .sc-legend{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:flex-start!important;gap:22px!important;white-space:nowrap}
@media (max-width:700px){.schart .sc-legend{flex-wrap:wrap!important;gap:8px 14px!important;font-size:12px!important;white-space:normal}.schart .sc-legend span{gap:6px!important}.schart .lg{width:10px;height:10px}.schart .lg.ln{width:18px;height:2px}}

/* CTA: taken from tashweeshagency.com (same gradient, weight, radius, shadow) */

/* hero CTA: soft sky glow that slowly breathes (hero only) */

.pipe-vid video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block;border-radius:inherit;z-index:1}
.sc-tip{position:absolute;z-index:5;pointer-events:none;background:var(--navy);color:#fff;border-radius:10px;padding:8px 12px;font-size:12px;line-height:1.6;box-shadow:0 10px 24px -12px rgba(10,26,58,.6);white-space:nowrap}
.sc-tip b{font-weight:400;color:#7FD0F2}
/* ---------- results: live-site case cards (white bg), details open in a dialog ---------- */
#results{background:var(--white)!important}
#results .head{margin-bottom:clamp(16px,2vw,24px)}
#results .cases{gap:clamp(12px,1.4vw,18px)}
.pcase{all:unset;box-sizing:border-box;display:flex;flex-direction:column;gap:clamp(18px,2.4vw,30px);width:100%;cursor:pointer;background:linear-gradient(180deg,#F7FBFE,#F1F7FC);border:1px solid rgba(53,182,233,.28);border-radius:24px;padding:clamp(20px,2.6vw,34px) clamp(18px,2vw,26px) clamp(24px,3.4vw,46px);transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s,border-color .3s}
.pcase:hover{transform:translateY(-3px);border-color:rgba(53,182,233,.6);box-shadow:0 26px 50px -34px rgba(10,26,58,.35)}
.pcase:focus-visible{outline:2px solid var(--sky);outline-offset:3px}
.pc-top{display:flex;justify-content:space-between;align-items:center;gap:12px}
.pc-badge{display:inline-flex;align-items:center;height:40px;padding:0 20px;border-radius:999px;background:var(--sky);color:var(--navy);font-weight:700;font-size:16px;line-height:1}
.pc-plus{width:40px;height:40px;border-radius:50%;border:1.5px solid var(--navy);color:var(--navy);display:grid;place-items:center;flex:none;transition:transform .35s cubic-bezier(.2,.7,.2,1),background .25s,color .25s}
.pc-plus svg{width:18px;height:18px}
.pcase:hover .pc-plus{transform:rotate(90deg);background:var(--navy);color:#fff}
.pc-ba{display:flex;align-items:center;justify-content:flex-start;gap:clamp(20px,4vw,64px);padding-inline-start:clamp(0px,4vw,56px)}
.pc-col{display:flex;flex-direction:column;gap:8px;min-width:0}
.pc-ba .w{font-size:clamp(16px,1.5vw,22px);color:var(--muted);line-height:1.3}
.pc-ba .big{display:flex;align-items:center;gap:10px;direction:ltr;justify-content:flex-end;font-family:"Anton",var(--font);font-weight:400;font-size:clamp(44px,4.9vw,70px);line-height:1;letter-spacing:.5px;color:var(--navy);white-space:nowrap}
.pc-ba .big .rs{width:.36em;height:.39em;flex:none}
.pc-a .big{color:var(--sky)}
.pc-ba .cap{font-size:clamp(14px,1.4vw,20px);color:var(--muted-2);line-height:1.3}
.pc-ba .roas{font-size:clamp(14px,1.4vw,20px)}
.pc-arrow{flex:none;width:clamp(70px,9vw,128px);height:20px;color:var(--navy);opacity:.75}
.pc-arrow svg{width:100%;height:100%;display:block}
.roas{font-size:var(--fs-body);font-weight:700;line-height:1.4;color:var(--ink)}
.stage.on .roas{color:#fff}
@media (max-width:760px){.pcase{gap:18px;padding:20px 18px 24px}.pc-badge{height:34px;padding:0 14px;font-size:13px}.pc-plus{width:34px;height:34px}.pc-ba{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0}.pc-arrow{display:none}.pc-col{gap:5px}.pc-ba .w{font-size:12px}.pc-ba .cap,.pc-ba .roas{font-size:12px}.pc-ba .big{font-size:clamp(24px,7.4vw,32px);gap:5px}}
.case-dlg{width:min(1040px,calc(100vw - 24px));max-height:calc(100svh - 32px);overflow:auto;padding:0;overscroll-behavior:contain}
.case-dlg .case{padding:clamp(20px,3vw,36px);padding-top:clamp(56px,6vw,64px)}
.case-dlg[open]{animation:dlgIn .35s cubic-bezier(.2,.7,.2,1)}
@keyframes dlgIn{from{opacity:0;transform:translateY(16px) scale(.98)}}
.dlg-x{position:sticky;top:12px;display:grid;margin:12px 12px -52px auto;z-index:3;width:40px;height:40px;border-radius:50%;border:0;background:var(--paper);color:var(--ink);place-items:center;cursor:pointer}
.dlg-x svg{width:18px;height:18px}
body:has(dialog[open]){overflow:hidden}

/* ---------- results cases ---------- */
.cases{display:flex;flex-direction:column;gap:16px}
.case{background:var(--white);border-radius:var(--r);padding:clamp(20px,3vw,32px);display:flex;flex-direction:column;gap:24px}

.stage .quote{font-size:clamp(18px,1.8vw,22px);line-height:1.75;font-weight:300}
.stage .quote em{font-style:normal;color:var(--yellow)}
.minis{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;margin-top:4px}
.minis div{display:flex;flex-direction:column;justify-content:center;gap:4px;border-top:1px solid rgba(255,255,255,.14);padding-block:14px}
.minis .full{grid-column:1 / -1}
.minis .mn{font-size:clamp(20px,2vw,26px);font-weight:400;line-height:1.1;direction:ltr;text-align:right;font-variant-numeric:tabular-nums}
.minis span{font-size:var(--fs-small);color:#A9B8D3}
.stage .cap{font-size:var(--fs-small);color:var(--muted);line-height:1.5;margin-top:-4px}
.stage.on .cap{color:#A9B8D3}
.case .stage .big{font-size:clamp(30px,3.4vw,40px)}

/* ---------- 06 platforms ---------- */

.chips{display:flex;gap:8px;flex-wrap:wrap}
.chips span{font-size:var(--fs-small);padding:7px 14px;border-radius:999px;background:var(--paper);color:var(--ink)}

/* ---------- 07 tiktok ---------- */
.tt{background:var(--blue-card);color:#fff;border-radius:var(--r);padding:clamp(28px,5vw,64px);display:grid;grid-template-columns:1.2fr 1fr;gap:32px;align-items:center;overflow:hidden;position:relative}
.tt::after{content:"";position:absolute;inset:auto -10% -60% auto;width:60%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle, rgba(53,182,233,.25), transparent 65%)}
.tt .copy{display:flex;flex-direction:column;gap:16px;position:relative;z-index:1}
.tt .copy .lead{color:#A9B8D3}

.tt .big{position:relative;z-index:1}
.tt .big .n{font-size:clamp(90px,14vw,190px);line-height:.9;color:var(--yellow);direction:ltr;text-align:right;letter-spacing:-.03em}
.tt .big .n sup{font-size:.32em;color:#fff;vertical-align:top}
.tt .big p{color:#A9B8D3;margin-top:12px}
@media (max-width:860px){.tt{grid-template-columns:1fr}}

/* ---------- 05/06 motion, clickup: one platform per screen ---------- */
.plat-box{display:flex;flex-direction:column;gap:18px;width:100%;max-width:calc((100svh - var(--header) - 190px) * 2.1333);margin-inline:auto}
.plat-media{aspect-ratio:2560/1200;width:100%}
.face-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.cu-logo{display:inline-flex;align-items:center;gap:.32em;font-family:"Almarai",sans-serif;font-weight:700;letter-spacing:-.01em;color:#292D34}
.cu-mark{width:.92em;height:1.1em;flex:none}
@media (max-width:760px){.plat-box{max-width:none}.plat-media{aspect-ratio:1080/1350}.face-row{gap:10px}}

/* ---------- 07 partners: logo grid ---------- */
.pgrid{display:grid;grid-template-columns:repeat(3,1fr);border-radius:var(--r);overflow:hidden;background:var(--line);gap:1px;border:1px solid var(--line)}
.pt{background:var(--white);min-height:clamp(150px,15vw,190px);display:flex;align-items:center;justify-content:center}
.pt-logo{display:inline-flex;align-items:center;gap:10px;direction:ltr}
.pt-logo img{display:block;height:clamp(36px,3.4vw,46px);width:auto}
.pt-logo img.sm{height:clamp(28px,2.6vw,36px)}
.pt-logo b{font-family:"Almarai",sans-serif;font-weight:700;font-size:clamp(20px,2vw,26px);color:#000;letter-spacing:-.01em}
/* logos rest in navy everywhere; on devices with a mouse, hover shows the logo's own colours (instant swap, nothing lags) */
.pt-logo img{filter:brightness(0) saturate(100%) invert(9%) sepia(36%) saturate(2700%) hue-rotate(205deg) brightness(92%)}
.pt-logo b{color:var(--navy)}
.pt-logo img.pt-col{display:none}
.pt-mono{display:block;width:clamp(36px,3.4vw,46px);height:clamp(36px,3.4vw,46px);color:var(--navy)}
@media (hover:hover) and (pointer:fine){
  .pt:hover .pt-logo img{filter:none}
  .pt:hover .pt-logo b{color:#000}
  .pt:hover .pt-logo img.pt-col{display:block}
  .pt:hover .pt-logo .pt-mono{display:none}
}
@media (max-width:760px){.pgrid{grid-template-columns:1fr 1fr}.pt{min-height:120px}}

/* ---------- 08 partners + appearances ---------- */

/* partner logos: one navy tone so the row reads as a set */

.marquee{overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.track{display:flex;gap:0;width:max-content;animation:slide 60s linear infinite}
.track > *{margin-inline-end:16px}
.marquee:hover .track,.marquee.off .track{animation-play-state:paused}
@keyframes slide{to{transform:translateX(50%)}}
.slider{overflow-x:auto;scrollbar-width:none;cursor:grab;-webkit-overflow-scrolling:touch}
.slider::-webkit-scrollbar{display:none}
.slider.drag{cursor:grabbing}
.slider.drag *{user-select:none;-webkit-user-select:none}
.strack{display:flex;width:max-content}
.strack > .ap,.strack > .sc{margin-right:16px;direction:rtl}
.strack > .sc{flex:none;width:min(280px,72vw)}
.strack img,.strack .img{pointer-events:none}
.ap{flex:none;width:250px;display:flex;flex-direction:column;gap:10px}
.ap .img{aspect-ratio:4/5}
.ap.w{width:360px}.ap.w .img{aspect-ratio:16/11.2}

.ap .img.photo{background:var(--navy)}.ap .img.photo::before{display:none}.ap .img.photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
@media (max-width:640px){.ap{width:190px}.ap.w{width:270px}}

/* ---------- 09 social ---------- */

.sc{flex:none;width:min(280px,76vw);scroll-snap-align:start;display:flex;flex-direction:column;gap:12px}
.sc .img{aspect-ratio:9/14}
.bubble{background:var(--paper);border-radius:18px;border-top-right-radius:6px;padding:14px 16px;font-size:var(--fs-small);line-height:1.6;display:flex;gap:10px}
.bubble .av{flex:none;width:30px;height:30px;border-radius:50%;background:var(--sky-soft)}
.bubble b{display:block;font-size:var(--fs-small);color:var(--muted)}
.sc .img.photo{background:var(--navy)}.sc .img.photo::before{display:none}.sc .img.photo video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.bubble img.av{object-fit:cover;display:block}
.bubble b{display:flex!important;direction:ltr;flex-direction:row;align-items:center;gap:4px;justify-content:flex-end;color:var(--ink)!important;font-weight:400;margin-bottom:2px}
.bubble .vf{width:14px;height:14px;flex:none}
.strack .sc .img.photo,.strack .sc .img.photo video{pointer-events:auto}.sc .img.photo video{cursor:pointer}
.sc .img.photo .pp{position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;background:rgba(10,26,58,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:grid;place-items:center;opacity:0;transform:scale(.85);transition:opacity .2s,transform .2s;z-index:2;pointer-events:none}
.sc .img.photo .pp svg{width:28px;height:28px;margin-left:3px}
.sc .img.photo.paused .pp{opacity:1;transform:none}
/* desktop: the 5 social cards sit still in one row, exactly the width of the section title (wrap), first card on the right */
@media (min-width:1100px){
  #socSlider{overflow:visible;cursor:default;padding-left:max(var(--gut-l),calc((100% - 1160px) / 2 + var(--gut-l)));padding-right:max(var(--gut-r),calc((100% - 1160px) / 2 + var(--gut-r)))}
  #socSlider .strack{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;width:auto;align-items:stretch}
  #socSlider .strack > .sc{width:auto;margin-right:0;min-width:0}
}
#socSlider .strack{align-items:stretch}#socSlider .sc .bubble{flex:1}
@media (min-width:1800px){
  #socSlider{padding-left:max(var(--gut-l),calc((100% - 1480px) / 2 + var(--gut-l)));padding-right:max(var(--gut-r),calc((100% - 1480px) / 2 + var(--gut-r)))}
}

/* ---------- 10 story ---------- */

/* story split in two screens: opening line / founders + how it started */
.story-a{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(28px,6vw,96px);align-items:center}
.story-head{display:flex;flex-direction:column;gap:16px}
.story-head .yr{font-size:clamp(64px,9vw,112px);line-height:1;color:var(--sky);letter-spacing:-.02em}
.story-lead{font-size:clamp(22px,2.4vw,32px);line-height:1.8;font-weight:300;color:var(--ink);max-width:30ch}
.story-b{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(28px,6vw,96px);align-items:center}
.story-b .founders{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-bottom:36px}
.story-b .founders figure{margin:0;display:flex;flex-direction:column;gap:8px}
.story-b .founders figure:nth-child(2){transform:translateY(36px)}
.story-b .founders .img{aspect-ratio:4/5;border-radius:var(--r-sm);max-height:calc(100svh - var(--header) - 200px)}
.story-b .founders .img.photo::before{display:none}
.story-b .founders .img.photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 20%;display:block}
.story-b .founders figcaption{display:flex;flex-direction:column;gap:2px;color:var(--ink)}
.story-b .founders figcaption b{font-size:var(--fs-h3);font-weight:400;line-height:1.4}
.story-b .founders figcaption span{font-size:var(--fs-small);color:var(--muted)}
.story-body{display:flex;flex-direction:column;gap:24px;font-size:clamp(16px,1.5vw,19px);line-height:2;color:#2E3D5A;max-width:62ch}
@media (max-width:860px){.story-a,.story-b{grid-template-columns:1fr}.story-lead{max-width:none}}
/* phones: services + founders fit one screen each */
@media (max-width:860px){
  .story-b{gap:18px}
  .story-b .founders{padding-bottom:0}
  .story-b .founders figure:nth-child(2){transform:none}
  .story-b .founders .img{aspect-ratio:1/1}
  .story-b .founders figcaption b{font-size:17px}
  .story-body{gap:14px;font-size:15px;line-height:1.85}
  #services .head{margin-bottom:14px}
  .sv{padding:16px 18px;gap:8px}
  .sv-ic{width:40px;height:40px}.sv-ic svg{width:19px;height:19px}
  .sv h3{font-size:19px}
}

/* ---------- 11 final ---------- */

.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* FAQ: in the page's own style (light cards, navy text, the same round + button as the result cards) */
.faq .head{margin-bottom:clamp(18px,2.4vw,28px)}
.fqs{display:flex;flex-direction:column;gap:10px;width:100%}
.fq{background:var(--paper);border-radius:var(--r-sm);padding:0 clamp(16px,2vw,24px);transition:background .3s}
.fq[open]{background:var(--white);box-shadow:0 0 0 1px var(--line),0 24px 50px -36px rgba(10,26,58,.35)}
.fq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;font-size:clamp(16px,1.5vw,19px);line-height:1.6;color:var(--ink)}
.fq summary::-webkit-details-marker{display:none}
.fq summary i{flex:none;width:32px;height:32px;border-radius:50%;background:var(--navy);position:relative;transition:transform .3s,background .3s}
.fq summary i::before,.fq summary i::after{content:"";position:absolute;left:50%;top:50%;width:13px;height:1.6px;background:#fff;transform:translate(-50%,-50%)}
.fq summary i::after{transform:translate(-50%,-50%) rotate(90deg);transition:transform .3s}
.fq[open] summary i{background:var(--sky);transform:rotate(180deg)}
.fq[open] summary i::after{transform:translate(-50%,-50%) rotate(0deg)}
.fq summary:hover i{background:var(--sky)}
.fa{display:flex;flex-direction:column;gap:12px;padding:0 0 22px;color:var(--muted);font-size:var(--fs-body);line-height:1.95;max-width:110ch}
@media (min-width:861px){.faq.snap{justify-content:flex-start;padding-top:clamp(40px,5vw,64px)!important}}

/* footer as on tashweeshagency.com: dark background image, white logo, social icons, copyright */
.foot{background:#020C18 url("../img/footer_bg.webp") center/cover no-repeat;color:#fff;padding:80px 0 50px;text-align:center}
.fl-in{display:flex;flex-direction:column;align-items:center}
.fl-logo{display:block;width:min(431px,80vw);height:auto}
.fl-soc{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin-top:40px}
.fl-soc a{display:block;width:32px;height:32px;transition:transform .2s,opacity .2s}
.fl-soc a:hover{transform:translateY(-2px);opacity:.85}
.fl-soc img{width:32px;height:32px;display:block}
.fl-copy{margin-top:42px;font-size:17px;color:#fff}
@media (max-width:640px){.foot{padding:56px 0 36px}.fl-soc{margin-top:28px}.fl-copy{margin-top:28px;font-size:14px}}

/* scroll progress (replaces the chapter chip) */
.progress{position:fixed;z-index:51;left:0;right:0;top:calc(env(safe-area-inset-top,0px) + var(--header));height:4px;display:flex;gap:3px;padding:0 3px;pointer-events:none}
.progress span{flex:1 1 0;min-width:0;background:rgba(120,134,160,.3);border-radius:2px;overflow:hidden}
.progress span i{display:block;height:100%;width:100%;background:var(--sky);transform-origin:right;transform:scaleX(0);transition:transform .35s cubic-bezier(.2,.7,.2,1)}
@media (max-width:768px){.progress{height:3px;gap:2px;padding:0 2px}}
/* sticky CTA on mobile, appears after the hero */
  background:rgba(255,255,255,.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--line);
  transform:translateY(110%);transition:transform .35s cubic-bezier(.2,.7,.2,1);display:none}
/* old chapter chip */

/* reveal: visible at rest */
.rv{transition:transform .8s cubic-bezier(.2,.7,.2,1), opacity .8s}
.rv.pre{transform:translateY(22px);opacity:.35}

/* design-system panel */

/* numbers: Anton (like the live site) */
.stat .n,.stage .big,.tt .big .n,.minis .mn{font-family:"Anton",var(--font);font-weight:400;letter-spacing:.5px;font-variant-numeric:normal}
.stat .n{font-size:clamp(36px,4vw,50px)}.stat.hero-stat .n{font-size:clamp(52px,7.4vw,86px)}
@media (max-width:560px){.stat .n{font-size:clamp(38px,11vw,50px)}.stat.hero-stat .n{font-size:clamp(42px,12.4vw,56px)}}
.stage .big{font-size:clamp(36px,3.8vw,52px)!important;line-height:1.05}
.minis .mn{font-size:clamp(24px,2.4vw,32px)}

.tt .big .n sup{font-weight:400}

/* desktop hero: always landscape, whatever the screen height */

/* large screens (27"): scale the layout up so it keeps the laptop proportions */
@media (min-width:1800px){
  .wrap{max-width:1480px}
  :root{--fs-display:clamp(60px,3.4vw,84px);--fs-h2:clamp(44px,2.4vw,56px);--fs-body:18px;--fs-h3:22px;--fs-small:14px;--header:100px}
}
/* hero mosaic: mixed-size videos and images drifting behind the copy */

/* preview controls */

/* ---------- navbar: copied 1:1 from the live site (tashweeshagency.com) ---------- */
:root{--header:110px}
@media (max-width:1192px){:root{--header:84px}}
@media (max-width:768px){:root{--header:80px}}
@media (min-width:1800px){:root{--header:110px}}
.hdr.floating-navbar-wrap{position:sticky;top:env(safe-area-inset-top,0px);z-index:1000;height:var(--header);display:flex;justify-content:center;align-items:flex-start;padding:24px 24px 0;box-sizing:border-box;pointer-events:none;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.floating-navbar{pointer-events:auto;width:100%;max-width:1320px;height:auto;background-color:rgb(231,232,236);border-radius:64px;padding:12px 28px;display:flex;align-items:center;justify-content:space-between;gap:28px;box-sizing:border-box;box-shadow:rgba(5,26,70,.08) 0 10px 30px;border:1px solid rgba(255,255,255,.6);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);position:relative}
.nav-logo{display:flex;align-items:center;justify-content:center;text-decoration:none;flex-shrink:0}
.nav-logo-img{width:auto;height:auto;max-width:257.31px;max-height:33.48px;display:block;object-fit:contain}
.nav-menu{display:flex;align-items:center;list-style:none;margin:0;padding:0;gap:28px}
.nav-item{display:flex;align-items:center}
.nav-link{font-family:Almarai,sans-serif;font-weight:700;font-style:normal;font-size:18px;line-height:100%;letter-spacing:.15px;color:rgb(5,26,70);text-decoration:none;position:relative;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;padding:8px 4px;transition:color .2s}
.nav-link:hover,.nav-link.active{color:rgb(0,191,253)}
.nav-active-bar{display:none;width:16px;height:4px;border-radius:9999px;background-color:rgb(0,191,253);position:absolute;bottom:-2px;left:50%;transform:translateX(-50%)}
.nav-link.active .nav-active-bar{display:block}
.nav-cta-wrap{display:flex;align-items:center;flex-shrink:0}
.nav-cta-btn{display:inline-flex;align-items:center;justify-content:center;width:206px;height:52px;min-height:52px;padding-right:16px;padding-left:16px;gap:10px;border-radius:24px;background:linear-gradient(270deg,rgb(218,28,126) 0%,rgb(137,14,125) 100%);color:#fff;font-family:Almarai,sans-serif;font-weight:700;font-size:14px;line-height:100%;letter-spacing:.15px;text-decoration:none;box-sizing:border-box;box-shadow:rgba(218,28,126,.25) 0 4px 14px;transition:transform .25s,filter .25s,box-shadow .25s;white-space:nowrap}
.nav-cta-btn:hover{transform:translateY(-2px);filter:brightness(1.08);box-shadow:rgba(218,28,126,.35) 0 8px 24px}
.nav-hamburger{display:none}
.mobile-nav-drawer{display:none}
@media (max-width:1192px){
  .hdr.floating-navbar-wrap{padding:16px 20px 0}
  .floating-navbar{width:100%;max-width:100%;height:auto;min-height:56px;padding:10px 20px;border-radius:36px;justify-content:space-between;gap:16px}
  .nav-logo-img{width:150.64px;height:auto;max-height:24px}
  .nav-menu,.nav-cta-wrap{display:none}
  .nav-hamburger{display:flex;flex-direction:column;justify-content:center;align-items:center;width:38px;height:38px;background:transparent;border:none;cursor:pointer;padding:0;gap:5px;position:relative}
  .hamburger-line{display:block;width:22px;height:2.2px;background-color:rgb(5,26,70);border-radius:2px;transition:transform .3s,opacity .3s}
  .nav-hamburger.active .hamburger-line:nth-child(1){transform:translateY(7.2px) rotate(45deg)}
  .nav-hamburger.active .hamburger-line:nth-child(2){opacity:0}
  .nav-hamburger.active .hamburger-line:nth-child(3){transform:translateY(-7.2px) rotate(-45deg)}
  .mobile-nav-drawer{display:flex;flex-direction:column;position:absolute;top:calc(100% + 10px);left:0;right:0;width:100%;background-color:rgb(231,232,236);border-radius:24px;padding:22px 18px;box-sizing:border-box;box-shadow:rgba(5,26,70,.15) 0 14px 34px;border:1px solid rgba(255,255,255,.7);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .25s,transform .25s,visibility .25s;pointer-events:none;z-index:999}
  .mobile-nav-drawer.open{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}
  .mobile-nav-menu{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;width:100%}
  .mobile-nav-link{display:block;padding:10px 14px;font-family:Almarai,sans-serif;font-weight:700;font-size:16px;color:rgb(5,26,70);text-decoration:none;border-radius:12px;text-align:right;transition:background-color .2s,color .2s}
  .mobile-nav-link:hover,.mobile-nav-link.active{color:rgb(0,191,253);background-color:rgba(255,255,255,.5)}
  .mobile-nav-cta{display:flex;align-items:center;justify-content:center;width:100%;height:48px;border-radius:24px;background:linear-gradient(270deg,rgb(218,28,126) 0%,rgb(137,14,125) 100%);color:#fff;font-family:Almarai,sans-serif;font-weight:700;font-size:15px;text-decoration:none;margin-top:14px;box-shadow:rgba(218,28,126,.25) 0 4px 14px}
}
@media (max-width:768px){.hdr.floating-navbar-wrap{padding:14px 16px 0}.floating-navbar{padding:10px 16px}}

/* ---------- hero CTA: copied 1:1 from the live site (.hero-cta-btn) ---------- */
.hero-cta-btn{display:inline-flex;align-items:center;justify-content:center;width:max-content;height:52px;min-height:52px;padding-right:16px;padding-left:16px;gap:10px;border:.8px solid transparent;border-radius:24px;background:linear-gradient(270deg,rgb(218,28,126) 0%,rgb(137,14,125) 100%);color:#fff;font-family:Almarai,sans-serif;font-weight:700;font-style:normal;font-size:21px;line-height:100%;letter-spacing:.15px;text-align:right;text-decoration:none;box-sizing:border-box;box-shadow:rgba(218,28,126,.35) 0 10px 24px -4px;transition:transform .25s,box-shadow .25s,filter .25s}
.hero-cta-btn:hover{transform:translateY(-2px);filter:brightness(1.08);box-shadow:rgba(218,28,126,.45) 0 14px 28px -4px}
@media (max-width:991px){.hero-cta-btn{display:inline-flex;align-items:center;justify-content:center;width:192px;height:45px;min-height:45px;gap:10px;border:.8px solid transparent;border-radius:24px;padding:16px;background:linear-gradient(270deg,rgb(218,28,126) 0%,rgb(137,14,125) 100%);color:#fff;font-family:Almarai,sans-serif;font-weight:700;font-style:normal;font-size:12px;line-height:100%;letter-spacing:0;text-align:center;box-sizing:border-box}}

/* ---------- one section per screen: height-aware fit (checked at 1280×720 → 1920×1080 and phones) ---------- */
@media (min-width:861px){
  #results .head{margin-bottom:clamp(10px,1.8vh,24px)}
  #results .cases{gap:clamp(10px,1.4vh,18px)}
  .pcase{gap:clamp(10px,1.8vh,30px);padding:clamp(14px,2.2vh,34px) clamp(18px,2vw,26px) clamp(16px,2.8vh,46px)}
  .pc-badge{height:clamp(32px,4vh,40px)}.pc-plus{width:clamp(32px,4vh,40px);height:clamp(32px,4vh,40px)}
  .pc-ba .big{font-size:clamp(40px,min(4.9vw,7vh),70px)}
  .pc-ba .w{font-size:clamp(15px,min(1.5vw,2.4vh),22px)}
  .pc-ba .cap,.pc-ba .roas{font-size:clamp(13px,min(1.4vw,2.2vh),20px)}
  .pc-col{gap:clamp(4px,.8vh,8px)}
}
.sc .img{max-height:max(220px,calc(100svh - var(--header) - 370px))}
#socSlider .sc{scroll-snap-align:none} /* cards must not become vertical stop points of the page */
@media (min-width:1100px) and (max-height:820px){
  #social.snap{padding-block:14px!important}
  #social .head{margin-bottom:12px}
  #socSlider .bubble{padding:10px 12px;font-size:13px;line-height:1.5;gap:8px}
  #socSlider .bubble img.av{width:26px;height:26px}
  #socSlider .sc{gap:8px}
  #socSlider .sc .img{max-height:calc(100svh - var(--header) - 262px)}
}
@media (min-width:861px) and (max-height:800px){.fq summary{padding:12px 0}.faq.snap{padding-top:clamp(20px,3vh,40px)!important}.faq .head{margin-bottom:14px}}
@media (max-width:860px){.hero2{height:calc(100svh - var(--header) - 24px)}}

/* ---------- sections stop at the very top of the screen; the strip under the floating navbar is painted with the
   section's OWN background (transparent top border, background shows through it) so the previous section never peeks ---------- */
html{scroll-padding-top:0}
.hdr.floating-navbar-wrap{position:fixed;left:0;right:0;width:100%}
.snap{box-sizing:border-box;border-top:calc(var(--header) + env(safe-area-inset-top,0px)) solid transparent;min-height:100svh}

/* ---------- CTA under a section (same live-site button) ---------- */
.sec-cta{display:flex;justify-content:center;margin-top:clamp(14px,2.6vh,30px)}
.sec-cta .hero-cta-btn,.tt .hero-cta-btn{width:max-content}
.tt .tt-cta{margin-top:clamp(16px,2.4vh,24px)}
.tt .tt-cta-d{display:none;margin-top:4px}
@media (min-width:861px){.tt .tt-cta-d{display:block}.tt .tt-cta-m{display:none}}
/* TikTok One: official logo (supplied by Tashweesh) */
.tt .tt-logo{height:clamp(40px,4.4vw,56px);width:auto;display:block;align-self:flex-start;margin-inline-start:-6px}
/* social reels: preview shows the play triangle; full reel shows it only when paused; speaker button */
.sc .img.photo:not(.full) .pp{opacity:1;transform:none}
.sc .img.photo .snd{position:absolute;top:10px;right:10px;width:36px;height:36px;border-radius:50%;border:0;padding:0;margin:0;background:rgba(10,26,58,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:grid;place-items:center;z-index:3;cursor:pointer;pointer-events:auto}
.sc .img.photo .snd svg{width:18px;height:18px;pointer-events:none}
.snd .w{display:none}.snd.on .w{display:inline}.snd.on .x{display:none}
.snd:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* مشاركاتنا: the caption is a tag inside the card */
.ap .img.photo video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.ap .img .tag{position:absolute;bottom:10px;right:10px;max-width:calc(100% - 20px);z-index:1;background:rgba(10,26,58,.62);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:#fff;font-size:13px;line-height:1.4;padding:6px 12px;border-radius:999px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* phones: two rows instead of one */
@media (max-width:640px){
  .ap .img .tag{font-size:12px;padding:5px 10px;bottom:8px;right:8px;max-width:calc(100% - 16px)}
}
@media (min-width:861px) and (max-height:780px){#results.snap{padding-block:16px!important}#results .sec-cta{margin-top:12px}#results .sec-cta .hero-cta-btn{height:46px;min-height:46px}}
/* phones: numbers + client logos share one screen */
@media (max-width:560px){
  .stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
  .stat.hero-stat{grid-column:1 / -1}
  .stat{padding:14px 14px 16px;gap:12px;min-height:0}
  .stat p{font-size:12px;line-height:1.5}
  .stat .unit{font-size:12px}
  .stat .n{font-size:clamp(28px,8.4vw,36px)}.stat.hero-stat .n{font-size:clamp(40px,12vw,52px)}
  .about-in{gap:18px}
}

/* مشاركاتنا: the earlier cards (portrait 4:5 + wide 16:11.2), now in two lines inside one slider */
#apSlider{--rh:clamp(120px,calc((100svh - var(--header) - 215px) / 2),300px)}
#apSlider .strack{flex-direction:column;gap:clamp(10px,1.6vh,14px);margin-left:auto}
#apSlider .ap-line{display:flex;justify-content:flex-end}
#apSlider .ap-line > .ap{margin-right:16px;direction:rtl}
#apSlider .ap-line > .ap:last-child{margin-right:0}
#apSlider .strack{padding-right:var(--gut-r);padding-left:var(--gut-l)} /* phones: both lines end on the title's right edge */
@media (min-width:861px){#apSlider .strack{padding-right:max(var(--gut-r),calc((100% - 1160px) / 2 + var(--gut-r)));padding-left:max(var(--gut-l),calc((100% - 1160px) / 2 + var(--gut-l)))}}
@media (min-width:1800px){#apSlider .strack{padding-right:calc((100% - 1480px) / 2 + var(--gut-r));padding-left:calc((100% - 1480px) / 2 + var(--gut-l))}}
#apSlider .ap{width:calc(var(--rh) * .8)}#apSlider .ap.w{width:calc(var(--rh) * 1.43)}
#apSlider .ap .img{aspect-ratio:auto;height:var(--rh)}
@media (max-width:640px){#apSlider{--rh:clamp(110px,calc((100svh - var(--header) - 215px) / 2),210px)}#apSlider .ap-line > .ap{margin-right:12px}}
/* short phones (about 800px tall and less): services + founders still fit one screen */
@media (max-width:860px) and (max-height:820px){
  .story-body{font-size:14px;line-height:1.75;gap:10px}
  .sv{padding:13px 16px;gap:6px}.sv h3{font-size:17px}.sv-d{font-size:13px;line-height:1.6;margin-top:4px}
  .svc-grid{gap:10px}
}
/* final CTA banner */
.fcta-pic{display:block;max-width:1160px;margin-inline:auto}
.fcta-pic img{display:block;width:100%;height:auto;border-radius:clamp(18px,2vw,28px);max-height:calc(100svh - var(--header) - 190px);object-fit:contain}
/* استشارة تشويش: icon in the CTA colours */
.sv-ic.ic-cta{background:linear-gradient(270deg,rgb(218,28,126) 0%,rgb(137,14,125) 100%);color:#fff}
/* phones: the corridor no longer stretches to fill tall screens, so headline, corridor, text and CTA sit together in the middle of any phone */
@media (max-width:760px){
  .hero2{--lift:0px;justify-content:center;padding-block:8px}
  .corridor{flex:none;height:clamp(240px,calc(100svh - var(--header) - 400px),360px);min-height:0;margin-block:31px}
}
body.tsp-home.twl-has-navbar{padding-top:0!important}
body.tsp-home{margin-top:0}
.tsp-home .tsp-footer{scroll-snap-align:end}
