/* NXT Agency: "concept" badge shown on the demo copies inside the portfolio */
.nxt-concept{position:fixed;left:16px;bottom:16px;z-index:2147483000;display:inline-flex;align-items:center;gap:10px;
  padding:9px 14px 9px 10px;border-radius:999px;background:#0E0D0B;color:#F2EDE4;text-decoration:none;
  font:500 12px/1.1 "JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.02em;
  box-shadow:0 8px 24px rgba(0,0,0,.35);border:1px solid rgba(242,237,228,.18);cursor:pointer}
.nxt-concept b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#B7A5F0;color:#0E0D0B;font-weight:700}
.nxt-concept:hover{background:#B7A5F0;color:#0E0D0B}
.nxt-concept:hover b{background:#0E0D0B;color:#B7A5F0}
.nxt-concept:focus-visible{outline:3px solid #B7A5F0;outline-offset:3px}
@media (max-width:640px){.nxt-concept{bottom:calc(84px + env(safe-area-inset-bottom,0px));left:10px;font-size:11px;padding:7px 12px 7px 8px}}

/* Page transition in and out of the concept copies: the same diagonal pool-blue sheet as the NXT portfolio.
   In a layer, so a concept site's own transitions (Cooper has them between its pages) still win. */
@view-transition{navigation:auto}
@layer nxt-transition{
  ::view-transition{background:#B7A5F0}
  ::view-transition-old(root){animation:nxtVtOut .32s cubic-bezier(.76,0,.24,1) both}
  ::view-transition-new(root){animation:nxtVtIn .5s cubic-bezier(.76,0,.24,1) both}
  @keyframes nxtVtOut{to{opacity:.55;transform:translateY(-4vh)}}
  @keyframes nxtVtIn{from{transform:translateY(100%) skewY(-6deg)}}
  @media (prefers-reduced-motion:reduce){
    ::view-transition-old(root){animation:nxtVtFade .15s linear both}
    ::view-transition-new(root){animation:nxtVtFade .15s linear reverse both}
    @keyframes nxtVtFade{to{opacity:0}}
  }
}

/* the badge steps aside while a site's phone menu is open (it was covering menu links) */
html:has(.burger[aria-expanded="true"], .menu-btn[aria-expanded="true"], [aria-controls*="menu" i][aria-expanded="true"], [aria-controls="mnav"][aria-expanded="true"]) .nxt-concept{opacity:0;visibility:hidden;pointer-events:none}
.nxt-concept{transition:opacity .2s ease,visibility .2s}
