/* Homepage visuals: hero column for the "Behind the Screen" demo (its own styles are in hero-bts.css), before and after slider, closing call to action mark. Loads on the homepage only. */

/* ---------- Hero visual column ---------- */
/* Desktop: text takes columns 1-5 and the demo (which scales itself to its column) columns 6-12. The hero heading is set about a fifth smaller
   than .t-display so its longest line ("e-commerce and", 7.37em) fits five columns at every width: it keeps its four-line wrap and the 24px grid gap
   stays clear between it and the front screen. Phones keep the .t-display size. */
.object.nsl-bts-col{align-self:center;display:block;margin-bottom:0}
@media (min-width:901px){
  .stage-inner{padding-block:clamp(28px,3vw,48px)}
  .stage-inner .stage-copy{grid-column:1 / span 5}
  .stage-inner .stage-copy h1{font-size:clamp(44px,4.6vw,72px)}
  .stage-inner .object.nsl-bts-col{grid-column:6 / span 7}
}
@media (max-width:900px){
  .object.nsl-bts-col{width:100%;margin:8px 0 48px}
}
/* Opacity fade-in only (nsl.js). Without GSAP, or with reduced motion, html has no .motion class and nothing is hidden. */
.motion .stage .object > .bts:not(.bts-portal){opacity:0}

/* ---------- A recent redesign: its own section between the service index and "Not every project needs a rebuild" ---------- */
.redesign-sec{padding:0 0 clamp(80px,9vw,140px)}
.nsl-v-redesign{background:var(--paper-hi);border:1px solid var(--line);border-radius:14px;padding:clamp(22px,4vw,48px);display:grid;gap:clamp(24px,3vw,36px)}
.nsl-v-rd-hd{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 48px;align-items:end}
.nsl-v-rd-hd p{margin:0;font-size:clamp(17px,1.4vw,19px);line-height:1.5;color:var(--text-muted);max-width:30em}
@media (max-width:760px){.nsl-v-rd-hd{grid-template-columns:minmax(0,1fr)}}

/* ---------- Before and after ---------- */
.nsl-v-cmp{margin:0}
.nsl-v-brw{border-radius:14px;overflow:hidden;background:#fff;border:1px solid var(--line);box-shadow:0 30px 60px -30px rgba(17,18,20,.35)}
.nsl-v-chrome{height:36px;display:flex;align-items:center;gap:7px;padding:0 14px;background:var(--paper-2);border-bottom:1px solid var(--line)}
.nsl-v-chrome i{width:10px;height:10px;border-radius:50%;background:#cbc6bb}
.nsl-v-chrome u{flex:0 1 40%;height:16px;border-radius:8px;background:var(--paper-hi);margin:0 auto;text-decoration:none}
.nsl-v-view{position:relative;aspect-ratio:1440/1283;overflow:hidden;background:#fff}
.nsl-v-view>img,.nsl-v-bef img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top;max-width:none}
.nsl-v-bef{position:absolute;inset:0;z-index:2;clip-path:inset(0 calc(100% - var(--pos,50%)) 0 0)}
.nsl-v-handle{position:absolute;z-index:4;top:0;bottom:0;left:var(--pos,50%);width:2px;margin-left:-1px;background:#fff;box-shadow:0 0 0 1px rgba(17,18,20,.2);pointer-events:none}
.nsl-v-handle::after{content:"";position:absolute;top:50%;left:50%;width:44px;height:44px;transform:translate(-50%,-50%);border-radius:50%;background:#fff;box-shadow:0 6px 16px -4px rgba(17,18,20,.5);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111214' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E");background-size:20px;background-repeat:no-repeat;background-position:center}
.nsl-v-view input[type=range]{position:absolute;z-index:6;inset:0;width:100%;height:100%;opacity:0;cursor:ew-resize;margin:0}
.nsl-v-view:has(input:focus-visible){outline:2px solid var(--focus);outline-offset:3px}
.nsl-v-tag{position:absolute;z-index:4;bottom:14px;font:600 12px/1 "Geist",sans-serif;padding:7px 10px;border-radius:999px;background:rgba(17,18,20,.84);color:#fff;pointer-events:none}
.nsl-v-tag.nsl-v-is-l{left:14px}.nsl-v-tag.nsl-v-is-r{right:14px}

/* ---------- Closing call to action: the page's single Möbius, shown large ---------- */
.foot-mark.nsl-v-signature{right:-9vw;bottom:-19vw;width:min(78vw,1100px);opacity:.22;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 42%);mask-image:linear-gradient(90deg,transparent 0%,#000 42%)}
@media (max-width:900px){.foot-mark.nsl-v-signature{right:-24vw;bottom:-28vw;width:112vw;opacity:.2;-webkit-mask-image:none;mask-image:none}}
@media (max-width:520px){.foot-mark.nsl-v-signature{right:-34vw;bottom:-32vw;width:135vw}}
