/* =====================================================================================================
   Mono v9 — loaded last. Palette: black #262626 · brick #B84626 · cream #EFE8DC · steel #91A2AF · ember #CB410B
   No gradients / patterns on the public pages: flat colours + one soft "velvet" grain (grain.png) only.
   ===================================================================================================== */
:root{
  --v9-black:#262626; --v9-brick:#B84626; --v9-cream:#EFE8DC; --v9-steel:#91A2AF; --v9-ember:#CB410B;
  --v9-ease:cubic-bezier(.22,1,.36,1); --v9-ease-io:cubic-bezier(.65,0,.35,1);
}


/* ---------- GLOBAL CONTAINER ALIGNMENT: the nav bar is the template ----------
   --pad is the distance from the screen edge to the nav bar's outer edge (3vw on small/medium screens, centred 1180px on large ones;
   never less than 16px). The nav bar itself and every section (copy, cards, grids, footer) use it, so all left/right edges line up.
   --sbw (scrollbar width) is filled in by v9.js so the alignment is pixel-exact on desktop browsers with a classic scrollbar. */
:root{ --sbw:0px; --pad:max(16px,3vw,calc((100vw - var(--sbw) - 1180px)/2)); }
html .topbar{ width:calc(100% - 2 * var(--pad)); max-width:1180px; }
.join-wrap{ max-width:none; }
html .work-pin{ padding-left:var(--pad); padding-right:var(--pad); }   /* v3.css narrows these at some widths — same edges as the nav bar everywhere */
html .sec{ padding-left:var(--pad); padding-right:var(--pad); }
html .sec-inner{ max-width:none; padding-left:0!important; padding-right:0!important; }
/* phones: the nav bar collapses to the burger button — it sits on the same edge line as the content */
@media(max-width:640px),(max-height:500px) and (orientation:landscape){ html .topbar{ right:max(var(--pad),env(safe-area-inset-right))!important; } html[dir=rtl] .topbar{ right:auto!important; left:max(var(--pad),env(safe-area-inset-left))!important; } }

/* ---------- 2. top bar: logo steps in from the corner, corners are sharper ---------- */
html .topbar{ border-radius:12px; padding:9px 10px 9px clamp(22px,2.6vw,34px); }
html[dir=rtl] .topbar{ padding:9px clamp(22px,2.6vw,34px) 9px 10px; }
.segmented button,.nav-contact-link{ border-radius:8px; }
.topbar .btn,.topbar .btn-sm{ border-radius:8px; }
.topbar .lang-toggle,.mobile-menu .lang-toggle{ border-radius:9px; }
.topbar .lang-toggle span,.mobile-menu .lang-toggle span{ border-radius:7px; }
.mobile-menu .btn{ border-radius:10px; }
@media (max-width:820px){ html .topbar{ padding:0; } }

/* flat buttons (no gradient) */
.btn-solid{ background:var(--v9-ember); color:#fff; box-shadow:none; }
.btn-solid:hover{ background:var(--v9-brick); }

/* ---------- 4. scroll progress, directly under the bar ---------- */
.scroll-progress{
  position:fixed; z-index:99; pointer-events:none; height:2px; overflow:hidden; border-radius:2px;
  left:var(--pb-left,0px); width:var(--pb-w,100%); top:var(--pb-top,0px);
  background:rgba(239,232,220,.14); opacity:1; transition:opacity .5s ease;
}
.scroll-progress i{ display:block; width:100%; height:100%; background:var(--v9-ember); transform:scaleX(var(--p,0)); transform-origin:0 50%; will-change:transform; }
html[dir=rtl] .scroll-progress i{ transform-origin:100% 50%; }
body.is-loading .scroll-progress{ opacity:0; }
body.modal-open .scroll-progress{ opacity:0; }

/* ---------- 3. scroll cue at the very start (same look as the showreel hint) ---------- */
.scroll-cue{
  position:absolute; z-index:5; left:50%; bottom:clamp(18px,4vh,36px); transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:10px; pointer-events:none;
  font-size:11px; letter-spacing:.3em; text-transform:uppercase; color:rgba(246,243,238,.82);
  opacity:var(--cue,1); transition:opacity .45s ease;
}
.scroll-cue:after{ content:""; width:1px; height:38px; background:var(--v9-cream); animation:hint 2s ease-in-out infinite; }
html[lang=fa] .scroll-cue{ letter-spacing:0; font-size:13px; }
body.is-loading .scroll-cue{ opacity:0!important; }
@media (prefers-reduced-motion:reduce){ .scroll-cue:after{ animation:none; transform:none; } }

/* ---------- 6. the film ends in exactly the colour of "02 — Selected work" ---------- */
/* darker bridge: starts earlier, passes through a slightly deeper black, and still lands exactly on #262626 (the colour of 02 — Selected work) */
.stage-scrim:after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(24,24,24,0) 26%,rgba(24,24,24,.58) 54%,rgba(29,29,29,.92) 78%,#262626 100%); opacity:var(--bridge,0); }
.scroll-stage{ background:#262626; }

/* velvet = flat black + the same soft grain as 02 */
.velvet{ position:relative; isolation:isolate; background:var(--v9-black); color:var(--v9-cream); }
.velvet:after{ content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:url(grain.png); opacity:.07; mix-blend-mode:overlay; }
.v3-work{ background:var(--v9-black); }
.work-bg{ background:none; }

/* ---------- 7. Who we are: black velvet, centred headline, cards below ---------- */
html .v3-who.velvet{ background:var(--v9-black); color:var(--v9-cream); }
.v3-who.velvet:before{ display:none; }
.v3-who .who-head{ max-width:none; margin:0; display:block; text-align:center; }
/* "03 — Who we are": same place and same look as every other section label (start edge of the container, short line before it, 30px under) */
.v3-who .who-head .v3-eyebrow{ display:flex; justify-content:flex-start; align-items:center; width:auto; margin:0 0 30px; text-align:start; color:var(--v9-steel); }
.v3-who .who-head .v3-h{ max-width:62rem; margin-inline:auto; }
html .who-head .v3-h{ color:var(--v9-cream); font-size:clamp(2rem,4.8vw,4.6rem); line-height:1.08; letter-spacing:-.03em; text-wrap:balance; }
html[lang=fa] .who-head .v3-h{ line-height:1.5; letter-spacing:0; }
html .who-head .v3-h em{ color:var(--v9-ember); font-style:normal!important; font-weight:inherit!important; }
.who-grid{ border:0; margin-top:clamp(40px,7vh,84px); }
.who-card{ background:var(--v9-cream); color:var(--v9-black); border-radius:16px; box-shadow:none; }
.who-card:hover{ background:#f6f1e6; transform:translateY(-4px); box-shadow:none; }
.who-card p{ color:rgba(38,38,38,.72); }
.wc3{ background:#1d1d1d; border:1px solid rgba(239,232,220,.14); color:var(--v9-cream); }
.wc3:hover{ background:#202020; }
.wc3 p{ color:rgba(239,232,220,.72); }
.wc3 h3{ color:var(--v9-cream); }

/* ---------- 8. Services (simple, GSAP-driven) ---------- */
.svc2{ height:480vh; }
.svc2-pin{
  position:sticky; top:0; height:100svh; display:grid; grid-template-rows:auto minmax(0,1fr) auto; align-content:stretch;
  padding:clamp(88px,12vh,120px) var(--pad) clamp(24px,4.5vh,48px); gap:clamp(12px,2vh,24px); overflow:hidden;
}
/* the middle row (the list + image/text) must be free to shrink to whatever
   room is actually left — without minmax(0, ...) a tall list at large desktop
   font sizes pushed the "All services" row down and under it, which is what
   made the button land on top of the last item ("Marketing") in Chrome on
   big screens. */
.svc2-body{ min-height:0; overflow:hidden; }
.svc2-list{ min-height:0; }
.svc2-top{ display:flex; align-items:center; justify-content:space-between; gap:16px; }
.svc2-top .v3-eyebrow{ margin:0; }
.svc2-count{ margin:0; display:flex; align-items:baseline; gap:8px; font-size:12px; letter-spacing:.2em; color:var(--v9-steel); }
.svc2-count b{ font-size:15px; font-weight:600; color:var(--v9-cream); letter-spacing:.08em; min-width:2ch; }
.svc2-body{ display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); align-items:center; gap:clamp(24px,5vw,80px); min-height:0; }
.svc2-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:clamp(2px,.8vh,10px); }
.svc2-item button{
  all:unset; box-sizing:border-box; cursor:pointer; display:flex; align-items:baseline; gap:clamp(10px,1.3vw,18px);
  font-weight:700; font-size:clamp(1.3rem,2.2vw,2.15rem); line-height:1.16; letter-spacing:-.02em; color:var(--v9-cream);
  opacity:.12; padding:.1em 0; transition:opacity .6s var(--v9-ease), transform .6s var(--v9-ease); transform:translateX(0);
}
html[lang=fa] .svc2-item button{ letter-spacing:0; line-height:1.4; font-weight:800; }
.svc2-item button small{ font-size:12px; letter-spacing:.2em; font-weight:500; color:var(--v9-ember); min-width:2.2ch; transform:translateY(-.5em); }
.svc2-item.is-active button{ opacity:1; transform:translateX(10px); }
html[dir=rtl] .svc2-item.is-active button{ transform:translateX(-10px); }
.svc2-item button:hover{ opacity:.45; }
.svc2-item.is-active button:hover{ opacity:1; }
.svc2-item button:focus-visible{ outline:2px solid var(--v9-ember); outline-offset:4px; border-radius:4px; }
.svc2-detail{ display:grid; gap:clamp(14px,2.4vh,26px); align-content:center; justify-items:start; min-width:0; }
.svc2-figs{ position:relative; width:min(100%,380px); aspect-ratio:4/3; border-radius:14px; overflow:hidden; background:#1d1d1d; }
.svc2-fig{ position:absolute; inset:0; margin:0; opacity:0; transform:scale(1.04); transition:opacity .7s var(--v9-ease), transform .9s var(--v9-ease); }
.svc2-fig.is-active{ opacity:1; transform:none; }
.svc2-fig img{ width:100%; height:100%; object-fit:cover; display:block; }
.svc2-texts{ position:relative; width:min(100%,380px); min-height:8.4em; }
.svc2-text{ position:absolute; inset:0 auto auto 0; width:100%; opacity:0; transform:translateY(14px); pointer-events:none; transition:opacity .55s var(--v9-ease), transform .7s var(--v9-ease); }
.svc2-text.is-active{ opacity:1; transform:none; pointer-events:auto; }
.svc2-text h3{ margin:0 0 8px; font-size:clamp(1.05rem,1.4vw,1.3rem); font-weight:700; letter-spacing:-.01em; color:var(--v9-cream); }
.svc2-text p{ margin:0; font-size:clamp(.88rem,1vw,.98rem); line-height:1.65; color:rgba(239,232,220,.7); }
.svc2-more{ justify-self:start; }
/* when GSAP drives the changes it owns opacity/transform */
.svc2[data-gsap] .svc2-item button,.svc2[data-gsap] .svc2-fig,.svc2[data-gsap] .svc2-text{ transition:none; }
@media (max-width:820px){
  .svc2{ height:520vh; }
  .svc2-pin{ padding-top:clamp(78px,11vh,96px); }
  .svc2-body{ grid-template-columns:1fr; align-content:center; gap:clamp(14px,3vh,28px); }
  .svc2-item button{ font-size:clamp(1.35rem,6.4vw,2rem); }
  .svc2-figs{ width:min(100%,300px); aspect-ratio:16/10; }
  .svc2-texts{ width:100%; min-height:7.6em; }
  .svc2-detail{ gap:12px; }
}
@media (prefers-reduced-motion:reduce){ .svc2-item button,.svc2-fig,.svc2-text{ transition-duration:.01s!important; } }

/* ---------- 10. Testimonials: the picture splits open, single-colour vertical cards are thrown away one by one ---------- */
.v3-voices{ position:relative; height:620vh; background:var(--v9-black); }
.vo-pin{ position:sticky; top:0; height:100svh; overflow:hidden; background:var(--v9-black); }
.vo-back{
  position:absolute; inset:0; display:grid; grid-template-rows:auto minmax(0,1fr); justify-items:center; align-items:center; background:var(--v9-black); filter:none; -webkit-filter:none; opacity:1;
  padding:clamp(88px,12vh,120px) var(--pad) clamp(20px,4vh,40px);
}
/* "07 — Testimonials": same label, same place and same spacing as "06 — Our Team" etc. (start edge of the container) */
.vo-eyebrow{ justify-self:start; align-self:start; margin:0; color:var(--v9-steel); }
/* a vertical card, centred in the room under the label: width and height are plain lengths (height = width x 1.42) so it can never collapse */
.vo-stack{ --cw:min(440px,86vw,calc(68svh*.7)); position:relative; width:var(--cw); height:calc(var(--cw)*1.42); perspective:1400px; align-self:center; justify-self:center; margin:0!important; }
.vc{
  position:absolute; inset:0; display:flex; flex-direction:column; justify-content:space-between; gap:20px; overflow:hidden;
  padding:calc(var(--cw)*.1); border-radius:calc(var(--cw)*.075); background:var(--v9-cream); color:var(--v9-black);
  box-shadow:0 40px 70px -38px rgba(0,0,0,.85), 0 2px 0 rgba(255,255,255,.55) inset;
  backface-visibility:hidden; will-change:transform,opacity; transform-origin:50% 60%;
  container-type:inline-size; contain:layout paint;
}
/* waiting cards sit a little deeper in the pile (the shade is set by v9.js) */
.vc:after{ content:""; position:absolute; inset:0; border-radius:inherit; background:var(--v9-black); opacity:var(--sh,0); pointer-events:none; }
.vc blockquote{ margin:0; font-size:clamp(18px,6.6vw,28px); line-height:1.32; font-weight:600; letter-spacing:-.028em; text-wrap:pretty; }
.vc-by{ margin:0; display:flex; flex-direction:column; gap:3px; font-size:clamp(12px,3.7vw,14px); line-height:1.4; }
.vc-by b{ font-weight:700; letter-spacing:-.005em; }
.vc-by span{ opacity:.58; }
@supports (width:1cqw){
  .vc blockquote{ font-size:clamp(17px,8.3cqw,32px); }
  .vc-by{ font-size:clamp(11.5px,3.9cqw,15px); }
}
html[lang=fa] .vc blockquote{ line-height:1.95; letter-spacing:0; font-weight:700; }
html[lang=fa] .vc-by{ letter-spacing:0; }
.vo-half{ position:absolute; top:0; bottom:0; width:50%; overflow:hidden; background:var(--v9-black); will-change:transform; z-index:3; }
.vo-l{ left:0; } .vo-r{ right:0; }
.vo-half img{ position:absolute; top:0; height:100%; width:200%; max-width:none; object-fit:cover; }
.vo-l img{ left:0; } .vo-r img{ right:0; }
.vo-seam{ position:absolute; z-index:4; top:0; bottom:0; left:50%; width:1px; background:var(--v9-cream); opacity:0; transform:translateX(-.5px); pointer-events:none; }
@media (max-width:820px){
  .v3-voices{ height:660vh; }
  .vo-stack{ --cw:min(400px,86vw,calc(66svh*.7)); }
}
@media (max-height:520px) and (orientation:landscape){ .vo-stack{ --cw:min(300px,60vw,calc(62svh*.7)); } .vo-back{ padding-top:72px; } }

/* ---------- 02 Selected work: the picture that is being left shrinks (frame and all) and slides in under the new one ---------- */
.work-stage{ background:#1b1b1b; }
.work-slide{
  transform-origin:50% 50%; backface-visibility:hidden; will-change:clip-path,transform;
  clip-path:inset(calc((1 - var(--t,0))*100%) 0 0 0 round calc(var(--u,0)*26px));
  transform:translate3d(0,calc(var(--u,0)*-2.2%),0) scale(calc(1 - .17*var(--u,0)));
}

/* ---------- 14. no gradients / patterns anywhere ---------- */
.ft-cta{ background:var(--v9-brick); }
.ft-main:before{ background:rgba(239,232,220,.16); }
.footer-glow,.auth-glow,.auth-panel-glow,.join-light:before,.glass-form:after,.live:before,.v3-who:before{ display:none!important; }
.glass-form{ background:#2e2e2e; border-color:rgba(239,232,220,.14); }
.join-light p{ background:none!important; -webkit-text-fill-color:currentColor; color:var(--v9-cream); }
.v3-join{ background:var(--v9-black); }
.marq{ -webkit-mask-image:none; mask-image:none; }
.how-intro{ background:rgba(239,232,220,.04); }
.dd-list{ background:#2a2a2a; }
.auth-card.su-card{ background:#2e2e2e; }
.slogan-text{ background:none!important; -webkit-text-fill-color:currentColor; color:var(--v9-cream); }
.slogan:before{ display:none; }
.cap-pop{ background:var(--v9-cream); }
.tback{ background:var(--v9-ember); }
.tface{ background:rgba(255,255,255,.07); }
.rc{ background:#1f1d1b; }
.wtile,.fcard-media,.pmodal-hero,.tavatar{ background:var(--tint-b,#2e2e2e); }
.wtile-info{ background:rgba(38,38,38,.9); }
.hw-ico:after{ background:var(--v9-ember); opacity:.5; }
.acct-card,.vv,.pcard-link,.pj-panel,.pj-meta,.pj-cover-in,.pj-fig{ background-image:none; }

/* ---------- 13. footer logo smaller ---------- */
.ft-brand img.logo{ width:min(150px,52%); margin-bottom:18px; }

/* patterns off: tiled hand prints behind the request form and the big watermarks */
.v3-join:before,.v3-who:before{ display:none!important; content:none!important; }

/* ================= Get started page ================= */
.auth-card{ background:#2e2e2e; background-image:none; box-shadow:0 24px 60px -30px rgba(0,0,0,.6); }
.auth-card::before{ display:none; }
.auth-check input:checked{ background:var(--v9-ember); }
.auth-panel{ background:var(--v9-black); }
[hidden]{ display:none!important; }
.hp{ position:absolute!important; left:-9999px; width:1px; height:1px; overflow:hidden; opacity:0; }
.auth-switch{ margin:20px 0 0; text-align:center; font-size:13.5px; color:var(--v9-steel); }
.auth-link{ all:unset; cursor:pointer; color:var(--v9-cream); font-weight:600; border-bottom:1px solid rgba(239,232,220,.4); padding-bottom:1px; transition:color .25s,border-color .25s; }
.auth-link:hover,.auth-link:focus-visible{ color:#fff; border-color:var(--v9-ember); }
.auth-link:focus-visible{ outline:2px solid var(--v9-ember); outline-offset:3px; border-radius:3px; }
.auth-note.err{ color:#ff9d7a; }

/* request panel: slides open under the form */
.req{ display:grid; grid-template-rows:0fr; opacity:0; margin-top:0; transition:grid-template-rows .55s var(--v9-ease), opacity .4s ease, margin-top .55s var(--v9-ease); }
.req.on{ grid-template-rows:1fr; opacity:1; margin-top:22px; }
.req-inner{ overflow:hidden; min-height:0; }
.req.on .req-inner{ border-top:1px solid rgba(239,232,220,.14); padding-top:22px; }
.req-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.req-head h2{ margin:0; font-size:1.2rem; font-weight:700; letter-spacing:-.01em; color:var(--v9-cream); }
.req-x{ all:unset; cursor:pointer; box-sizing:border-box; width:34px; height:34px; display:grid; place-items:center; border-radius:8px; font-size:22px; line-height:1; color:var(--v9-steel); border:1px solid rgba(239,232,220,.16); transition:color .2s,border-color .2s; }
.req-x:hover,.req-x:focus-visible{ color:var(--v9-cream); border-color:rgba(239,232,220,.4); }
.req-sub{ margin:8px 0 18px; font-size:13.5px; line-height:1.65; color:rgba(239,232,220,.72); }
.req-form{ display:grid; gap:14px; }
.auth-form select,.auth-form textarea{
  width:100%; box-sizing:border-box; font:inherit; font-size:14.5px; color:var(--v9-cream); background:rgba(0,0,0,.26);
  border:1px solid rgba(246,243,238,.2); border-radius:14px; padding:13px 16px; min-height:50px; transition:border-color .25s, box-shadow .25s;
}
.auth-form textarea{ resize:vertical; min-height:92px; line-height:1.55; }
.auth-form select{ appearance:none; -webkit-appearance:none; padding-inline-end:44px; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EFE8DC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-size:16px; background-position:right 16px center; }
html[dir=rtl] .auth-form select{ background-position:left 16px center; }
.auth-form select option{ background:#262626; color:var(--v9-cream); }
.auth-form select:hover,.auth-form textarea:hover{ border-color:rgba(246,243,238,.4); }
.auth-form select:focus,.auth-form textarea:focus{ outline:0; border-color:var(--v9-ember); box-shadow:0 0 0 3px rgba(203,65,11,.2); }
.req-done{ display:grid; justify-items:center; text-align:center; gap:10px; padding:14px 0 6px; }
.req-done svg{ width:58px; height:58px; fill:none; stroke:var(--v9-ember); stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.req-done circle{ stroke-dasharray:145; stroke-dashoffset:145; animation:reqDraw .8s var(--v9-ease) forwards; }
.req-done path{ stroke-dasharray:40; stroke-dashoffset:40; animation:reqDraw .5s .5s var(--v9-ease) forwards; }
.req-done h3{ margin:6px 0 0; font-size:1.1rem; font-weight:700; color:var(--v9-cream); }
.req-done p{ margin:0; font-size:13.5px; line-height:1.6; color:rgba(239,232,220,.72); }
@keyframes reqDraw{ to{ stroke-dashoffset:0; } }
@media (prefers-reduced-motion:reduce){ .req,.req-done circle,.req-done path{ transition:none; animation:none; stroke-dashoffset:0; } }


/* ---------- 08 — Trusted by: flat black + the same faint velvet grain as the other sections, NO gradients ---------- */
html .sec-trust,html #trusted{ background:var(--v9-black)!important; background-image:none!important; color:var(--v9-cream); position:relative; isolation:isolate; }
html .sec-trust:before,html #trusted:before{ content:none!important; display:none!important; background:none!important; }
html .sec-trust *,html #trusted *{ background-image:none!important; }
html .sec-trust .marq,html #trusted .marq{ -webkit-mask-image:none!important; mask-image:none!important; background:none!important; }
html .sec-trust .marq-track,html #trusted .marq-track{ background:none!important; }

/* the section right under "Trusted by" (request form): the coloured glow orbs are gone too — flat black velvet, no gradients */
html .join-orb{ display:none!important; }
html .v3-join,html .v3-join.velvet{ background:var(--v9-black)!important; background-image:none!important; }
html .v3-join:before{ display:none!important; content:none!important; }
html .join-light:before{ display:none!important; content:none!important; }
html[lang=fa] .join-light p{ text-shadow:none!important; }
