/* Homepage navbar: vanilla port of React Bits CardNav (JS-CSS variant); behaviour in card-nav.js. */
.card-nav-container{position:absolute;top:2em;left:50%;z-index:99;box-sizing:border-box;width:90%;max-width:800px;transform:translateX(-50%)}
.card-nav{position:relative;display:block;height:60px;padding:0;overflow:hidden;background-color:#fff;border:.5px solid rgba(255,255,255,.1);border-radius:.75rem;
  box-shadow:0 4px 6px rgba(0,0,0,.1);will-change:height;transition:height .4s cubic-bezier(.215,.61,.355,1)}
.card-nav-top{position:absolute;top:0;left:0;right:0;z-index:2;display:flex;align-items:center;justify-content:space-between;height:60px;padding:.5rem .45rem .55rem 1.1rem}
.hamburger-menu{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:100%;padding:0 4px;border:0;background:none;cursor:pointer}
.hamburger-menu:hover .hamburger-line{opacity:.75}
.hamburger-line{width:30px;height:2px;background-color:currentColor;transform-origin:50% 50%;transition:transform .25s ease,opacity .2s ease,margin .3s ease}
.hamburger-menu.open .hamburger-line:first-child{transform:translateY(4px) rotate(45deg)}
.hamburger-menu.open .hamburger-line:last-child{transform:translateY(-4px) rotate(-45deg)}
.logo-container{position:absolute;left:50%;top:50%;display:flex;align-items:center;transform:translate(-50%,-50%)}
.logo{display:block;width:auto;height:28px}
.card-nav-cta-button{display:inline-flex;align-items:center;height:100%;padding:0 1rem;border:none;border-radius:calc(.75rem - .35rem);background-color:#111;color:#fff;
  font:500 15px/1 inherit;font-family:inherit;text-decoration:none;cursor:pointer;transition:background-color .3s ease}
.card-nav-cta-button:hover{background-color:#333}
.card-nav-content{position:absolute;left:0;right:0;top:60px;bottom:0;z-index:1;display:flex;align-items:flex-end;gap:12px;padding:.5rem;visibility:hidden;pointer-events:none}
.card-nav.open .card-nav-content{visibility:visible;pointer-events:auto}
.nav-card{position:relative;display:flex;flex-direction:column;flex:1 1 0;gap:8px;min-width:0;height:100%;padding:12px 16px;border-radius:calc(.75rem - .2rem);user-select:none;
  opacity:0;transform:translateY(50px);transition:opacity .4s cubic-bezier(.215,.61,.355,1) var(--d,0s),transform .4s cubic-bezier(.215,.61,.355,1) var(--d,0s)}
.card-nav.cards-in .nav-card{opacity:1;transform:none}
.nav-card-label{font-size:22px;font-weight:400;letter-spacing:-.5px}
.nav-card-links{display:flex;flex-direction:column;gap:2px;margin-top:auto}
.nav-card-link{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:none;color:inherit;font:inherit;font-size:16px;text-align:left;text-decoration:none;cursor:pointer;transition:opacity .3s ease}
.nav-card-link:hover{opacity:.75}
.nav-card-link-icon{flex:none;width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hamburger-menu:focus-visible,.card-nav-cta-button:focus-visible,.logo-container:focus-visible,.nav-card-link:focus-visible{outline:2px solid #1169dc;outline-offset:2px;border-radius:6px}
@media (max-width:768px){
  .card-nav-container{width:90%;top:1.2em}
  .card-nav-top{justify-content:space-between;padding:.5rem 1rem}
  .hamburger-menu{order:2}
  .logo-container{position:static;order:1;transform:none}
  .card-nav-cta-button{display:none}
  .card-nav-content{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;bottom:0;padding:.5rem}
  .nav-card{flex:1 1 auto;height:auto;min-height:60px;max-height:none}
  .nav-card-label{font-size:18px}
  .nav-card-link{font-size:15px}
}
@media (prefers-reduced-motion:reduce){.card-nav,.nav-card,.hamburger-line{transition:none}}

/* "Call NOVA" in place of "Get Started": avatar, label, phone icon */
.card-nav-cta-button{gap:8px;padding:0 14px 0 6px;font-size:14.5px;font-weight:600}
.card-nav-cta-button img{width:30px;height:30px;border-radius:50%;object-fit:cover}
.card-nav-cta-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nav-card{padding:14px 18px}
.nav-card-label{font-weight:500}
/* the phone layout puts the stage in normal flow: leave room for the floating navbar */
.stage.is-phone{padding-top:calc(1.2em + 60px + 18px)}
@media (max-width:768px){
  /* keep "Call NOVA" on phones as a compact avatar button next to the menu */
  .card-nav-cta-button{display:inline-flex;order:2;height:40px;margin:0 12px 0 auto;padding:0 10px 0 5px;border-radius:999px;font-size:13.5px}
  .card-nav-cta-button img{width:28px;height:28px}
  .card-nav-cta-button svg{display:none}
  .hamburger-menu{order:3}
}
@media (max-width:360px){.card-nav-cta-button span{display:none}.card-nav-cta-button{padding:0 5px}}

/* full logo (mark + wordmark) centred on wide screens; the mark alone on phones */
.logo--full{height:36px}
.logo--mark{display:none;height:30px}
@media (max-width:768px){.logo--full{display:none}.logo--mark{display:block}}

/* inner pages: the navbar floats over the top of the page (as on the homepage), so content starts below it;
   the full-screen /services hero and the AI Lab sequence run underneath it */
body.page:not(.page-vs):not(.page-lab):not(.page-it):not(.page-ah):not(.page-ap) > main{padding-top:calc(2em + 60px + 12px)}
@media (max-width:768px){body.page:not(.page-vs):not(.page-lab):not(.page-it):not(.page-ah):not(.page-ap) > main{padding-top:calc(1.2em + 60px + 12px)}}
.page .hw-jump{top:12px}
.page .sv-section,.page .hw-support{scroll-margin-top:84px}
