/* Homepage. One orchestrated motion: the hero wall of real client sites drifting behind the headline.
   Everything else is still until the visitor acts (hover to scroll a site, tap a filter). */
body.home{background:var(--snow)}
/* ---------- hero ---------- */
.h-hero{position:relative;overflow:hidden;background:#060d24;color:#fff;padding:clamp(3.5rem,7vw,6.5rem) 0 0;isolation:isolate}
.h-hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(90deg,#060d24 0%,#060d24 34%,rgba(6,13,36,.82) 50%,rgba(6,13,36,.15) 72%,rgba(6,13,36,.35) 100%),
             linear-gradient(0deg,#060d24 0%,rgba(6,13,36,0) 26%)}
.h-wall{position:absolute;inset:0;z-index:-2;perspective:1600px;pointer-events:none;overflow:hidden}
.wall-plane{position:absolute;left:-30%;right:-30%;top:-4%;display:flex;flex-direction:column;gap:22px;transform:rotateX(32deg) rotateZ(-10deg) scale(1.05);transform-origin:60% 40%}
.wall-row{display:flex;gap:22px;width:max-content;animation:wallLeft 70s linear infinite;will-change:transform}
.wall-row.r2{animation-name:wallRight;animation-duration:85s;margin-left:-180px}
.wall-row.r3{animation-duration:100s}
.wall-row img{flex:none;width:330px;height:auto;aspect-ratio:16/11;object-fit:cover;object-position:top;border-radius:10px;box-shadow:0 22px 40px -18px rgba(0,0,0,.75),0 0 0 1px rgba(255,255,255,.08)}
.h-wall.paused .wall-row,.h-wall.user-paused .wall-row{animation-play-state:paused}
@keyframes wallLeft{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 11px))}}
@keyframes wallRight{from{transform:translateX(calc(-50% - 11px))}to{transform:translateX(0)}}

.h-hero-in{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:2rem;align-items:end;min-height:min(70vh,640px)}
.h-copy{max-width:40rem;padding-bottom:1rem}
.h-hero h1{color:#fff;font-size:clamp(2.5rem,5vw,4.5rem);line-height:.98;letter-spacing:-.045em;max-width:14ch;margin-bottom:1.4rem}
.h-hero .lede{color:#b9c3dc;max-width:34rem;margin-bottom:2rem}
.h-hero .hero-audit{border-color:transparent;box-shadow:0 30px 60px -30px rgba(0,0,0,.8)}
.h-hero .hero-sub{color:#93a0bf}.h-hero .hero-sub a{color:#fff}
.h-stage{align-self:end;justify-self:end;width:min(410px,100%);padding-bottom:1.5rem}
.h-stage .chat{margin:0;max-width:none;box-shadow:0 40px 90px -30px rgba(0,0,0,.85),0 0 0 1px rgba(255,255,255,.06)}
.h-stage .chat .cite{display:inline-flex;align-items:center;gap:.4rem;font-size:.85rem;font-weight:600;color:var(--cobalt);text-decoration:none;margin-top:.4rem}
.h-stage .chat .cite svg{width:15px;height:15px;stroke-width:2}
.h-stage .chat .cite:hover{text-decoration:underline}

.h-facts{margin-top:clamp(2.5rem,5vw,4rem);border-top:1px solid rgba(255,255,255,.12)}
.h-facts ul{list-style:none;margin:0;padding:1.4rem 0 1.8rem;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5rem}
.h-facts li{display:flex;flex-direction:column;gap:.2rem}
.h-facts b{font:700 1.45rem/1.1 var(--display);letter-spacing:-.03em;color:#fff}
.h-facts span{font-size:.9rem;color:#93a0bf;line-height:1.4}

.h-engines{background:#060d24;border-color:rgba(255,255,255,.08)}
.h-engines p{color:#93a0bf}.h-engines li{color:#8e9bbd}

@media(max-width:980px){
  .h-hero-in{grid-template-columns:1fr;min-height:0}
  .h-wall{inset:-10% -40% 30% -10%;opacity:.45}
  .h-hero::after{background:linear-gradient(180deg,rgba(6,13,36,.55) 0%,#060d24 62%)}
  .h-stage{justify-self:start}
  .h-facts ul{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ---------- work ---------- */
.h-work{background:#0b1533;color:#fff;padding-top:clamp(3.5rem,7vw,6rem)}
.h-work-head{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:1rem 3rem;align-items:end;margin-bottom:2rem}
.h-work-head h2{color:#fff;margin:0;font-size:clamp(2rem,4.2vw,3.4rem);max-width:16ch}
.h-work-head p{color:#b9c3dc;margin:0;max-width:30rem}
@media(max-width:820px){.h-work-head{grid-template-columns:1fr}}
.wk-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.8rem}
.wk-tabs button{font:600 .95rem var(--sans);color:#c9d1e6;background:transparent;border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:.55rem 1.05rem;cursor:pointer}
.wk-tabs button:hover{border-color:rgba(255,255,255,.5);color:#fff}
.wk-tabs button[aria-pressed="true"]{background:#fff;color:var(--ink);border-color:#fff}
.wk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.2rem 1.6rem}
@media(max-width:980px){.wk-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.wk-grid{grid-template-columns:1fr}}
.wk{display:block;text-decoration:none;color:#fff}
.wk[hidden]{display:none}
.wk-frame{display:block;position:relative;aspect-ratio:4/3.1;border-radius:14px;overflow:hidden;background:#16224a;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 30px 50px -30px rgba(0,0,0,.8)}
.wk-frame img{width:100%;height:100%;object-fit:cover;object-position:50% 0;transition:object-position 7s cubic-bezier(.45,0,.55,1)}
.wk:hover .wk-frame img,.wk:focus-visible .wk-frame img{object-position:50% 100%;transition-duration:9s}
.wk:focus-visible{outline:none}.wk:focus-visible .wk-frame{box-shadow:0 0 0 3px var(--marker)}
.wk-cap{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin-top:.9rem}
.wk-cap b{font:700 1.1rem var(--display);letter-spacing:-.02em}
.wk-cap span{font-size:.88rem;color:#93a0bf;white-space:nowrap}
.h-work .btn-row{margin-top:2.8rem}

/* ---------- industries ---------- */
.ind-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
@media(max-width:980px){.ind-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ind{position:relative;display:block;aspect-ratio:4/5;border-radius:14px;overflow:hidden;text-decoration:none;background:var(--night-2)}
.ind img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
.ind::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(6,13,36,.88) 0%,rgba(6,13,36,.1) 55%)}
.ind span{position:absolute;left:1rem;right:1rem;bottom:.9rem;z-index:1;color:#fff;font:700 1.15rem/1.15 var(--display);letter-spacing:-.02em}
.ind:hover img,.ind:focus-visible img{transform:scale(1.07)}
@media(max-width:600px){.ind{aspect-ratio:1/1}.ind span{font-size:1rem}}

/* ---------- reviews ---------- */
.h-reviews{background:var(--white)}
.h-rv-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:.6rem 1.6rem;margin-bottom:2rem}
.h-rv-head h2{margin:0}
.h-rv-score{display:flex;align-items:center;gap:.6rem;margin:0;color:var(--slate)}
.h-rv-head .more{margin-left:auto}
.h-rv-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.4rem}
@media(max-width:860px){.h-rv-list{grid-template-columns:1fr}}
.h-rv{margin:0;padding-top:1.2rem;border-top:2px solid var(--ink)}
.h-rv blockquote{margin:.8rem 0;font:400 1.12rem/1.55 var(--sans);color:var(--ink)}
.h-rv figcaption{font-weight:600;color:var(--slate)}

/* ---------- closing call to action (AI photo behind, navy if the photo is not there yet) ---------- */
.h-final{background:linear-gradient(90deg,rgba(6,13,36,.94) 0%,rgba(6,13,36,.8) 50%,rgba(6,13,36,.55) 100%),url(/assets/img/home/cta-dusk.webp?v=31e8ef096b) center/cover no-repeat,#060d24;padding:clamp(4.5rem,9vw,7.5rem) 0}
.h-final::before{display:none}
.h-final h2{font-size:clamp(2.2rem,4.6vw,3.6rem)}

@media(prefers-reduced-motion:reduce){.wall-row{animation:none!important}.wk-frame img,.ind img{transition:none!important}}

/* Refinements: calmer hero headline so the audit form sits higher on the screen */
.h-hero h1{font-size:clamp(2.4rem,4vw,3.6rem);line-height:1.03;letter-spacing:-.035em;max-width:21ch;margin-bottom:1.2rem}
.h-hero .lede{margin-bottom:1.6rem}
@media(max-width:600px){.h-hero h1{font-size:clamp(2.1rem,9vw,2.6rem);max-width:none}}

/* Hero leads with web design: two clear buttons and a finished website as the picture */
.h-cta{display:flex;flex-wrap:wrap;gap:.7rem;margin:0}
.h-cta .btn{font-size:1.05rem;padding:.95rem 1.5rem}
.h-shots{position:relative;align-self:end;justify-self:end;width:min(540px,100%);margin:0;padding:0 0 1.6rem}
.h-shot{display:block;border-radius:14px;overflow:hidden;background:#fff;text-decoration:none;box-shadow:0 40px 90px -30px rgba(0,0,0,.85),0 0 0 1px rgba(255,255,255,.08);transition:transform .3s cubic-bezier(.2,.7,.2,1)}
.h-chrome{display:flex;align-items:center;justify-content:flex-start;gap:6px;height:28px;padding:0 12px;background:#eef1f7}
.h-chrome i{flex:none;display:block;width:8px;height:8px;border-radius:50%;background:#c5cbdb}
.h-shot img{display:block;width:100%;height:auto}
.h-shots figcaption{position:absolute;left:-1.2rem;bottom:2.8rem;display:flex;align-items:center;gap:.55rem;padding:.6rem .95rem;border-radius:12px;background:#fff;color:var(--ink);font:600 .9rem/1.3 var(--sans);box-shadow:0 20px 40px -18px rgba(0,0,0,.65);pointer-events:none}
.h-shots figcaption::before{content:"";flex:none;width:.6rem;height:.6rem;border-radius:2px;background:var(--marker);box-shadow:0 0 0 2px rgba(11,23,54,.12)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){a.h-shot:hover{transform:translateY(-4px)}}
@media(max-width:980px){.h-shots{justify-self:start}.h-shots figcaption{left:.8rem;bottom:2.4rem}}
.h-assure{list-style:none;margin:1.1rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem 1.3rem;font-size:.92rem;color:#c3cdea}
.h-assure li{display:flex;align-items:center;gap:.45rem}
.h-assure li::before{content:"";flex:none;width:.95rem;height:.95rem;border-radius:50%;background:#1fa971 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.3l2.4 2.4 5.2-5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat}
