/* mcarva shared project shell */
.project-shell-skip{position:fixed;z-index:10050;left:16px;top:16px;transform:translateY(-180%);background:#fff;color:#171713;padding:10px 14px;border-radius:2px;font:600 11px/1.2 "Manrope","Segoe UI",sans-serif;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;transition:transform .2s ease}
.project-shell-skip:focus{transform:none;outline:2px solid currentColor;outline-offset:3px}

.topbar-inner{position:relative!important}
.project-shell-center{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  max-width:34vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font:500 9px/1.2 "Manrope","Avenir Next","Segoe UI",sans-serif;
  letter-spacing:.18em;text-transform:uppercase;opacity:.62;pointer-events:none
}
.project-shell-tools{
  position:relative;z-index:8;
  display:flex;align-items:center;justify-content:flex-end;
  gap:clamp(12px,1.5vw,23px);margin-left:auto;
  pointer-events:auto!important;
}
.project-shell-back,.project-shell-lang,.project-shell-lang button,.project-shell-tools .menu-button{
  pointer-events:auto!important;
}
.project-shell-back,.project-shell-lang button{
  position:relative;border:0;background:none;color:inherit;text-decoration:none;cursor:pointer;
  touch-action:manipulation;-webkit-tap-highlight-color:transparent;
  min-width:40px;min-height:40px;padding:12px 6px;font:500 9px/1 "Manrope","Avenir Next","Segoe UI",sans-serif;display:inline-flex;align-items:center;justify-content:center;
  letter-spacing:.17em;text-transform:uppercase;opacity:.62;transition:opacity .22s ease
}
.project-shell-back:hover,.project-shell-back:focus-visible,.project-shell-lang button:hover,.project-shell-lang button:focus-visible{opacity:1;outline:none}
.project-shell-back::after,.project-shell-lang button.is-active::after{content:"";position:absolute;left:0;right:0;bottom:3px;height:1px;background:currentColor;opacity:.55}
.project-shell-lang{display:flex;align-items:center;gap:9px}
.project-shell-lang button+button::before{content:"/";position:absolute;left:-7px;opacity:.28}
.project-shell-lang button{opacity:.34}
.project-shell-lang button.is-active{opacity:.92}
.project-shell-tools .menu-button{margin-left:1px}

/* The original project headers intentionally disable pointer events on the
   full bar. Re-enable them only on the shared navigation cluster. */
.topbar .project-shell-tools,
.topbar .project-shell-tools *{pointer-events:auto}
.project-shell-tools .menu-button{position:relative;z-index:2;touch-action:manipulation}
.project-shell-back:focus-visible,
.project-shell-lang button:focus-visible,
.project-shell-tools .menu-button:focus-visible{
  outline:1px solid currentColor;outline-offset:5px
}

.loader-enter[hidden]{display:none!important}
/* Replace the legacy floating return control with the header navigation. */
.portfolio-return{display:none!important}
@media(max-width:760px){
  .project-shell-center,.top-center{display:none!important}
  .project-shell-tools{gap:11px}
  .project-shell-back{font-size:8px;letter-spacing:.13em;min-width:40px;min-height:40px}
  .project-shell-lang button{font-size:8px;letter-spacing:.11em;min-width:40px;min-height:40px}
  .project-shell-tools .menu-button{gap:8px}
}
@media(max-width:460px){
  .project-shell-back{font-size:0}
  .project-shell-back::before{content:"←";font-size:13px;line-height:1}
  .project-shell-back::after{display:none}
  .project-shell-tools{gap:10px}
}
