/* The NevkaSystems navbar, for the pages that carry their own header (marketing, AI consultancy).
   It is the navbar every other page has (site/pages.css + site/site-navigation.css), measured at 1512 px:
   82px tall, the same gutters, the 40x35 mark with a 21px wordmark, 14px links 34px apart, the Industries
   menu, and the orange "Contact us" pill. Only the inks follow the ground under it: dark on paper, light
   over a dark section (.dark). .solid puts a pane behind it once the page has moved. With [data-sn-hide],
   site-nav.js sends it away as the page goes down and brings it back only when the page comes back up. */
@font-face { font-family:"JetBrains Mono Local"; src:url("/fonts/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg.woff2") format("woff2"); font-weight:400; font-display:swap; }
@font-face{font-family:"Inter";src:url("/fonts/inter/v20/UcCo3FwrK3iLTcviYwYZ8UA3.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
/* the site is set in Inter; the NevkaSystems wordmark keeps its own face */
#nav .wordmark,.page-header .brand,.nf-mobile-wordmark,.an-wordmark,.sn-brand{font-family:"Hanken Local","Hanken Grotesk",Arial,sans-serif}
.sn { position:fixed; z-index:60; inset:0 0 auto; box-sizing:border-box; height:82px; padding:0 clamp(24px, 5.5vw, 92px);
  display:flex; align-items:center; justify-content:space-between; gap:24px; border-bottom:1px solid transparent;
  color:#0d0e10; font:400 14px/1.4 "Inter",system-ui,sans-serif; -webkit-font-smoothing:antialiased;
  --sn-link:#3b3c3f; --sn-on:#0d0e10; --sn-mute:#77786f;
  transition:background .4s, border-color .4s, color .4s, translate .5s cubic-bezier(.2, .7, .1, 1); }
.sn.abs { position:absolute; }
.sn.solid { background:rgba(238,237,233,.86); backdrop-filter:saturate(1.5) blur(18px); -webkit-backdrop-filter:saturate(1.5) blur(18px); border-bottom-color:rgba(13,14,16,.08); }
.sn.dark { color:#ecebe3; --sn-link:#cccac4; --sn-on:#f5f4ef; --sn-mute:#96968f; }
.sn.dark.solid { background:rgba(24,25,27,.6); border-bottom-color:rgba(236,234,227,.11); }
.sn.away { translate:0 -102%; }
.sn a { color:inherit; text-decoration:none; }

.sn-brand { display:inline-flex; align-items:center; gap:12px; font-size:21px; font-weight:600; letter-spacing:-.035em; line-height:1.3; white-space:nowrap; }
.sn-brand svg { flex:none; width:40px; height:35px; }
.sn-brand > span > span { color:var(--sn-mute); transition:color .4s; }

.sn-nav { display:flex; align-items:center; gap:34px; }
.sn .sn-nav > a:not(.sn-contact), .sn-ind > summary { color:var(--sn-link); transition:color .25s; }
.sn .sn-nav > a:not(.sn-contact):hover, .sn .sn-nav > a[aria-current], .sn-ind > summary:hover, .sn-ind[open] > summary { color:var(--sn-on); }
.sn-nav > a:not(.sn-contact) { position:relative; padding:12px 0; }
.sn-nav > a:not(.sn-contact)::after { content:""; position:absolute; left:0; bottom:5px; width:100%; height:1px; background:#fe5b2a; transform:scaleX(0); transform-origin:left; transition:transform .35s cubic-bezier(.2, .7, .1, 1); }
.sn-nav > a:not(.sn-contact):hover::after, .sn-nav > a[aria-current]::after { transform:scaleX(1); }
.sn a:focus-visible, .sn summary:focus-visible { outline:2px solid #fe5b2a; outline-offset:6px; }

.sn .sn-contact { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; min-width:116px; min-height:44px; padding:12px 23px;
  border-radius:999px; background:#fe5b2a; color:#18191b; font-weight:500; line-height:1.25; white-space:nowrap; transition:background .25s; }
.sn .sn-contact:hover { background:#ff7045; }

/* the Industries menu: the same panel as the rest of the site */
.sn-ind { position:relative; letter-spacing:-.01em; }
.sn-ind > summary { display:flex; align-items:center; gap:9px; min-height:44px; box-sizing:border-box; padding:12px 0; cursor:pointer; list-style:none; user-select:none; -webkit-user-select:none; }
.sn-ind > summary::-webkit-details-marker { display:none; }
.sn-ind > summary svg { transition:transform .25s; }
.sn-ind[open] > summary svg { transform:rotate(180deg); }
.sn-panel { position:absolute; top:100%; left:-25px; z-index:2; width:366px; box-sizing:border-box; padding:25px; isolation:isolate;
  background:#fbfaf7; border:1px solid #e7e5de; border-radius:12px; color:#18191b; box-shadow:0 22px 65px rgba(0,0,0,.13); animation:sn-in .22s ease-out; }
.sn-panel > span { display:block; padding-bottom:17px; font:400 9px/1.4 "JetBrains Mono Local", "JetBrains Mono", ui-monospace, monospace; letter-spacing:.07em; text-transform:uppercase; color:#73746a; }
.sn .sn-panel a { display:flex; align-items:center; justify-content:space-between; gap:15px; min-height:0; padding:17px 0; border-top:1px solid #dddcd4; color:#18191b; }
.sn-panel a > span:last-child { font-size:18px; color:#9e9f93; transition:transform .25s, color .25s; }
.sn-panel a:hover > span:last-child { color:#fe5b2a; transform:translate(3px, -3px); }
.sn-panel strong { display:block; font-size:19px; font-weight:500; letter-spacing:-.035em; }
.sn-panel small { display:block; margin-top:3px; font-size:12px; font-weight:400; letter-spacing:0; color:#6d7068; }
.sn .sn-panel a.sn-all { min-height:44px; box-sizing:border-box; padding-bottom:0; font-size:12px; }
@keyframes sn-in { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:none; } }

@media (max-width:900px) { .sn { height:64px; } .sn-nav > :not(.sn-contact) { display:none; } .sn-brand { font-size:19px; gap:9px; } .sn-brand svg { width:33px; height:30px; } }
@media (prefers-reduced-motion:reduce) { .sn, .sn * { transition:none !important; animation:none !important; } }
