/* Homepage refinements: compact work cards, a real form and a signature footer. */
.home .home-grid{column-gap:clamp(1.2rem,2vw,2.3rem);row-gap:clamp(2rem,4.2vw,4.4rem)}
.home .home-grid .project-shouf{grid-column:1/7}
.home .home-grid .project-lexi{grid-column:7/-1}
.home .home-grid .project-erp{grid-column:1/8}
.home .home-grid .project-gnss{grid-column:8/-1}
.home .home-grid .editorial-project{padding:0;display:block;align-self:start;border:none}
.home .home-grid .editorial-project .entry-link{display:block;width:100%;height:auto}
.home .home-grid .editorial-project .entry-art{width:100%;height:clamp(18rem,26vw,29rem);aspect-ratio:auto;margin:0;overflow:hidden;background:#2b211b;border:1px solid #4b302221}
.home .home-grid .editorial-project .entry-art>img{display:block;position:static;width:100%;height:100%;max-width:none;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:center}
.home .home-grid .project-erp .entry-art>img,.home .home-grid .project-gnss .entry-art>img{object-fit:contain;background:#2b211b}
.home .home-grid .editorial-project .entry-text{display:block;flex:none;height:auto;min-height:0;padding:1rem 0 .95rem;border-bottom:1px solid #b9aa9f}
.home .home-grid .editorial-project .entry-text p{margin:.45rem 0 .9rem;max-width:56ch}
.home .home-grid .editorial-project .readcase{display:inline-block;margin:0;align-self:auto}
.home .home-grid .editorial-project .entry-text h3{margin:0;font-size:clamp(1.85rem,3.2vw,3.4rem);text-wrap:balance}
.service-frame{overflow:hidden}
.service-controls .service-auto{border-left:1px solid #d1bfb1;color:#8e2b1a;margin-left:.38rem}
.service-controls .service-auto[aria-pressed="true"]{color:#49312a}
.home .home-profile-links{justify-items:stretch;width:min(100%,32rem);gap:0}
.home .home-profile-links a{display:flex;align-items:baseline;justify-content:space-between;width:100%;padding:.15em .22em .14em .02em;border-bottom:1px solid #9c70665c;font-size:clamp(2.7rem,5.4vw,6rem);font-weight:950;letter-spacing:-.088em;line-height:1;transform-origin:left center;transition:transform .3s var(--ease),color .25s ease,border-color .25s ease}
.home .home-profile-links a::after{content:"\2197";font-size:.31em;letter-spacing:0;color:#9f341e;opacity:0;transform:translate(-.5em,.42em);transition:opacity .28s ease,transform .28s var(--ease)}
.home .home-profile-links a:is(:hover,:focus-visible){color:#a63520;border-color:#ac4327;transform:scale(1.06)}
.home .home-profile-links a:is(:hover,:focus-visible)::after{opacity:1;transform:none}
.motion .home-profile-links.seen a{animation-name:homeNavZoom}
@keyframes homeNavZoom{from{opacity:0;scale:.77;translate:0 12px}to{opacity:1;scale:1;translate:0 0}}
.home-contact-shell{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(1.5rem,6vw,6rem);align-items:center}
.home-contact .editorial-display{font-size:clamp(2.95rem,6vw,7rem)}
.home-message-form{min-width:0;display:grid;gap:.9rem;padding:clamp(1.15rem,3vw,2.5rem);background:#241712e8;border:1px solid #ffb99669;border-top:2px solid #ff9e74;box-shadow:0 24px 60px #1a0d064a}
.home-message-form .eyebrow{margin:0}
.home-message-form h3{font-size:clamp(1.65rem,3.1vw,2.7rem);margin:-.25rem 0 .35rem;line-height:1;letter-spacing:-.055em}
.home-message-form label{display:block;color:#ffebde;font-size:.88rem;font-weight:700}
.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.home-message-form input:not([type="checkbox"]),.home-message-form textarea{display:block;width:100%;min-height:44px;margin-top:.39rem;padding:.68rem .75rem;color:#fff6eb;background:#39251f;border:1px solid #a07160;border-radius:.16rem;font:inherit;font-size:.95rem}
.home-message-form input::placeholder,.home-message-form textarea::placeholder{color:#e6beac}
.home-message-form textarea{resize:vertical}
.form-consent{display:flex;align-items:flex-start;gap:.63rem}
.form-consent input{margin:.2rem 0 0;width:1rem;height:1rem;flex-shrink:0;accent-color:#eb7551}
.form-consent a,.home-message-form noscript a{color:#ffd2bb;text-underline-offset:.2em;font-size:.83rem}
.home-message-form .form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.form-submit{display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:46px;padding:.6rem .8rem;border:0;background:#fce6d7;color:#301810;font:inherit;font-weight:800;cursor:pointer}
.form-submit:hover:not(:disabled){background:#ff9f7c}
.form-submit:disabled{opacity:.6;cursor:wait}
.home-message-form :focus-visible{outline:2px solid #ffad86;outline-offset:3px}
.form-status{margin:0;color:#ffd1ba;font-size:.9rem;line-height:1.4}
.home-end{position:relative;isolation:isolate;background:radial-gradient(ellipse at bottom left,#4d241a,transparent 55%),#221610}
.home-end-top{align-items:stretch;gap:clamp(1.15rem,3vw,3.5rem);border-bottom:1px solid #e7a78c5c}
.home-end-top .foot-focus{display:grid;gap:.26rem}
.foot-focus .eyebrow{color:#ff9971;margin-bottom:.3rem}
.foot-focus strong{color:#fff3e7}
.home-end-top nav{gap:clamp(.75rem,3vw,2rem);justify-content:flex-start}
.home-end-top nav a{display:grid;gap:.24rem;text-decoration:none;min-width:55px;font-weight:750}
.home-end-top nav a small{color:#ffa786;font-size:.64rem;letter-spacing:.13em}
.home-end-top a:hover{color:#ffa786}
.foot-email{align-self:end;text-underline-offset:.3em}
.foot-signature{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:clamp(.45rem,2vw,2rem);padding-top:clamp(1.2rem,2.75vw,2.75rem);border-bottom:.4rem solid #e95d36}
.home-end .home-end-name{display:flex;align-items:baseline;flex-wrap:nowrap;gap:.11em;font-size:clamp(2.1rem,9.65vw,11rem);letter-spacing:-.085em;margin:0;padding:0 .1em .09em 0;color:#fff0e2;line-height:.91;min-width:0}
.home-end .home-end-name .foot-first{color:inherit}
.home-end .home-end-name .foot-last{color:transparent;-webkit-text-stroke:clamp(.8px,.13vw,2px) #f5c5ac;transition:color .3s ease}
.home-end .home-end-name:hover .foot-last{color:#f5c5ac}
.home-end .home-end-name .foot-last span{color:#f97d53;-webkit-text-stroke:0}
.foot-up{background:#e95d36;color:#29160e;width:clamp(2.8rem,8vw,7rem);aspect-ratio:1;display:grid;align-content:center;justify-items:center;line-height:1;text-decoration:none;font-weight:900;transition:background .23s ease}
.foot-up:hover{background:#ffb08e}
.foot-up>span{font-size:clamp(1.1rem,4.1vw,3.7rem)}
.foot-up>small{margin-top:.2rem;font-size:clamp(.48rem,.85vw,.78rem)}
.home-trusted[hidden],.home-reviews[hidden],.impact-stats>[hidden]{display:none!important}
.proof-pause{background:none;color:#78321f;border:0;padding:.25rem 0;font:inherit;font-size:.72rem;text-decoration:underline;cursor:pointer}
.home .home-reviews:not([hidden]){display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(1.8rem,7vw,6rem);align-items:center}
.client-reel{min-width:0}
.client-stage{position:relative;display:grid;isolation:isolate;padding:.35rem 2.2rem 1.8rem 0}
.client-review{grid-area:1/1;margin:0;min-height:12rem;padding:clamp(1.2rem,3vw,2.9rem);background:#fff9ef;border:1px solid #c6a894;border-top:3px solid #cf6445;box-shadow:0 9px 28px #53402f26;visibility:hidden;opacity:0;transform:translate3d(0,16px,0) rotate(-3deg) scale(.96);transition:transform .55s var(--ease),opacity .4s ease,visibility .55s;pointer-events:none}
.client-review[data-depth="1"],.client-review[data-depth="2"]{visibility:visible;opacity:1;background:#ead7c6;transform:translate3d(17px,13px,0) rotate(3deg);z-index:1}
.client-review[data-depth="2"]{background:#ddbfaa;transform:translate3d(31px,22px,0) rotate(6deg);z-index:0}
.client-review[data-depth="0"]{visibility:visible;opacity:1;transform:none;z-index:2;pointer-events:auto}
.client-review p{margin:0 0 1.2rem;font-size:clamp(1.1rem,2.15vw,2rem);line-height:1.2;font-weight:750;letter-spacing:-.03em}
.client-review figcaption{font-size:.85rem;color:#724836}
.review-controls{display:flex;gap:.4rem}
.review-controls[hidden]{display:none}
.review-controls button{background:#f4e5d6;color:#6b301e;border:1px solid #c19c85;min-height:42px;min-width:42px;font:inherit;cursor:pointer}
@media(max-width:780px){.home-contact-shell,.home .home-reviews:not([hidden]){grid-template-columns:minmax(0,1fr)}.home-contact-shell{padding-bottom:2.1rem}}
@media(max-width:720px){.home .home-grid .editorial-project{grid-column:1/-1}.home .home-grid .editorial-project .entry-art{height:auto;aspect-ratio:16/9}.home .home-grid .editorial-project .entry-art img{height:100%}.home-contact .editorial-display{font-size:clamp(2.75rem,10vw,4.6rem)}.home-end .home-end-name{font-size:clamp(1.95rem,9.4vw,5.3rem)}}
@media(max-width:385px){.form-pair{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.motion .home-profile-links.seen a{animation:none}.home .home-profile-links a:is(:hover,:focus-visible){transform:none}.client-review{transition:none}.service-controls .service-auto,.proof-pause{display:none}}

/* Make the project label, title and copy distinct without stretching the cards. */
.home .home-grid .editorial-project .entry-text{padding:1.08rem 0 1.15rem}
.home .home-grid .editorial-project .entry-text .tag,.home .home-grid .home-robot .tag{display:flex;align-items:center;gap:.5rem;margin:0 0 .47rem;font-size:.72rem;font-weight:750;line-height:1.35;letter-spacing:.105em}
.home .home-grid .entry-text .tag span{flex:0 0 .36rem;width:.36rem;height:.36rem}
.home .home-grid .editorial-project .entry-text h3{font-size:clamp(1.55rem,2.45vw,2.75rem);font-weight:750;line-height:1.12;letter-spacing:-.034em;text-wrap:pretty}
.home .home-grid .editorial-project .entry-text p{margin:.52rem 0 .85rem;max-width:56ch;color:#51443c;font-size:clamp(.96rem,1.07vw,1.0625rem);line-height:1.53}
.home .home-grid .editorial-project .readcase,.home .home-grid .home-robot .readcase{font-size:.875rem;text-decoration-thickness:1px;text-underline-offset:.23em}
.home .home-grid .editorial-project h3.cover-brand-title{gap:.32em}
.home .home-grid .editorial-project h3.cover-brand-title .cover-brand{flex-shrink:0}
.home .service-row .cap-copy h3{margin-bottom:.8rem}
.home .service-row .cap-copy .service-description{font-size:clamp(.98rem,1.27vw,1.2rem);line-height:1.58;max-width:36ch;margin:0;color:#534238}




/* Continuous logo reel; every mark is balanced by its visible footprint. */
.home-trusted{padding-block:clamp(1.15rem,2.3vw,2.2rem);background:var(--home-paper);border-bottom:1px solid #dbcdc0}
.trust-band{max-width:1480px;margin-inline:auto;display:grid;grid-template-columns:max-content minmax(0,1fr);gap:clamp(.9rem,2.25vw,2rem);align-items:center}
.trust-header h2{margin:0;color:#30231c;font-family:inherit;font-size:clamp(.68rem,.3vw + .54rem,.82rem);font-weight:850;line-height:1.35;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}

.trust-marquee{min-width:0}
.trust-window{overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 clamp(16px,5%,44px),#000 calc(100% - clamp(16px,5%,44px)),transparent)}
.trust-track{display:flex;width:max-content;animation:trustReel var(--trust-duration,42s) linear infinite}
.trust-logos{flex:none;display:flex;align-items:center;list-style:none;padding:0;margin:0}
.trust-logos li{width:var(--unit,clamp(103px,10vw,136px));height:clamp(57px,5.1vw,69px);display:grid;place-items:center;box-sizing:border-box;padding:0 9px}
.trust-logos img{display:block;width:min(var(--mark-w,111px),100%);height:var(--mark-h,41px);object-fit:contain;filter:brightness(0);opacity:.49}
.trust-logos [data-brand="yandex"]{--mark-w:102px;--mark-h:31px}
.trust-logos [data-brand="avito"]{--mark-w:102px;--mark-h:32px}
.trust-logos [data-brand="gazprom"]{--mark-w:118px;--mark-h:45px}
.trust-logos [data-brand="talabat"]{--mark-w:94px;--mark-h:35px}
.trust-logos [data-brand="classera"]{--unit:clamp(112px,11vw,149px);--mark-w:119px;--mark-h:40px}
.trust-logos [data-brand="ural"]{--unit:clamp(119px,11.5vw,157px);--mark-w:127px;--mark-h:42px}
.trust-logos [data-brand="emara"]{--unit:clamp(83px,8vw,103px);--mark-w:63px;--mark-h:56px}
.trust-logos [data-brand="restore"]{--mark-w:115px;--mark-h:27px}
.trust-logos [data-brand="noon"]{--mark-w:81px;--mark-h:33px}
.trust-logos [data-brand="agri"]{--unit:clamp(115px,11vw,146px);--mark-w:114px;--mark-h:46px}
.trust-logos :is([data-brand="lexi"],[data-brand="shouf"]){--unit:clamp(72px,7vw,96px);--mark-w:42px;--mark-h:40px}
.trust-logos [data-brand="lexi"] img{opacity:.54}
.trust-logos [data-brand="agroconsultant"]{--unit:clamp(114px,10.5vw,147px);--mark-w:112px;--mark-h:55px}
.trust-logos [data-brand="fandango"]{--mark-w:115px;--mark-h:34px}
.trust-window:focus-visible .trust-track{animation-play-state:paused}
@media(hover:hover){.trust-window:hover .trust-track{animation-play-state:paused}}
@keyframes trustReel{to{transform:translateX(-50%)}}
.trust-window:focus-visible{outline:2px solid #a0482f;outline-offset:2px;mask-image:none}
@media(max-width:620px){
  .trust-band{grid-template-columns:minmax(0,1fr);gap:.35rem}

}
@media(prefers-reduced-motion:reduce){
  .trust-track{animation:none}
  .trust-logos[aria-hidden]{display:none}
  .trust-window{overflow-x:auto;mask-image:none}
}

/* Trim the three transitions without changing the content or the hero. */
.home .home-impact{padding-block:clamp(2.05rem,4.1vw,4.5rem) clamp(1.9rem,3.5vw,3.75rem);align-items:center}
.home .home-work{padding-block:clamp(2rem,3.6vw,3.8rem) clamp(1.65rem,3.1vw,3.45rem)}
.home .capabilities{padding-top:clamp(1.45rem,2.6vw,2.95rem)}
.home .home-work .section-head{padding-bottom:clamp(1.15rem,2.5vw,2rem)}
.home .home-impact .editorial-display,.home .home-work .editorial-display{margin-top:0}
#home-profile-title{font-size:clamp(2.7rem,5.55vw,6.3rem);line-height:.99;letter-spacing:-.07em;text-wrap:balance}

/* Phone layout: bring the first section closer and keep the form readable. */
@media (max-width:700px){
  .home .hero{min-height:clamp(31rem,72svh,43rem)}
  .home .hero .ghost{top:25%}
  .home .hero .hero-descriptor{top:clamp(3.85rem,10svh,5.25rem);max-width:68%;padding-left:0;border-left:0}
  .home .hero .portrait{max-height:76%}
  .home .hero .name-stage{bottom:15%}
  .home .home-contact .contact-quick{margin-top:1.25rem}
  .home .home-message-form .form-pair{grid-template-columns:minmax(0,1fr);gap:.9rem}
}


/* Desktop contact-button spacing; keep the heading and form in place. */
@media (min-width:761px){
  .home .home-contact .contact-quick{position:relative;top:clamp(1.7rem,2.15vw,2.5rem)}
}

/* View all work: progress-style hover fill, independent of navigation. */
@media(max-width:700px){.home-work .section-head{flex-wrap:wrap;column-gap:1rem;row-gap:1.15rem}.home-work .section-head>div{flex:1 1 100%;min-width:0}.home-work .work-view-cta{align-self:start;min-height:48px}.work-view-face{padding:.7rem .9rem}}

/* Home profile preview: reserve the tallest slide, and flip on the horizontal axis. */
.profile-qa-stage{display:grid;perspective:1000px}
.profile-qa-slide{grid-area:1/1;min-width:0;visibility:hidden;backface-visibility:hidden}
.profile-qa-slide.is-current,.profile-qa-slide.is-turning{visibility:visible}
.home .home-profile .profile-qa-slide h2{font-size:clamp(2.45rem,5.1vw,5rem);font-weight:900;letter-spacing:-.065em;line-height:.99;margin:0 0 .25em;text-wrap:balance}
.home .home-profile .profile-qa-slide p{max-width:48ch;font-size:clamp(1rem,1.42vw,1.12rem);line-height:1.5;margin:0}
.profile-qa-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1.15rem;margin-top:1.3rem}
.profile-qa-controls:not([hidden]){display:flex;align-items:center;gap:.22rem}
.profile-qa-controls button{min-height:44px;min-width:44px;padding:.4rem .55rem;border:0;background:transparent;color:#684334;font-size:.83rem;font-weight:700;text-underline-offset:.28em}
.profile-qa-controls button:hover{text-decoration:underline}
.profile-qa-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:700px){.home-profile .work-view-cta{min-height:48px}.profile-qa-actions{gap:.4rem .6rem}}
