body.menu-open { overflow:hidden; }
#nav.site-nav { position:fixed; z-index:50; top:24px; right:auto; left:50%; width:calc(100% - 64px); min-height:72px; padding:10px 12px 10px 18px; display:flex; align-items:center; justify-content:space-between; gap:24px; border:0; border-radius:999px; background:#fff; box-shadow:none; backdrop-filter:blur(18px); transform:translateX(-50%); transition:top .25s ease,width .25s ease,min-height .25s ease,background-color .25s ease,box-shadow .25s ease; }
#nav.site-nav.scrolled { top:14px; width:min(calc(100% - 32px),var(--max)); min-height:58px; background:rgba(255,255,255,.96); box-shadow:0 10px 28px rgba(22,0,59,.18); }
#nav .brand { display:inline-flex; align-items:center; flex:0 0 auto; }
#nav .brand img { display:block; width:121.5px; height:auto; }
#nav .nav-links { display:flex; align-items:center; gap:18px; font:450 15px "Upperling Geist",system-ui,sans-serif; font-feature-settings:"ss02" 1; }
#nav .nav-links a { position:relative; padding:0; text-decoration:none; color:var(--ink); }
#nav .nav-links a::after { content:""; position:absolute; left:0; right:100%; bottom:-7px; height:2px; background:var(--ink); transition:right .25s ease; }
#nav .nav-links a:hover::after,#nav .nav-links a:focus-visible::after,#nav .nav-links a[aria-current="page"]::after { right:0; }
#nav .nav-cta { position:relative; isolation:isolate; width:auto; min-height:44px; padding:0 16px; display:inline-flex; align-items:center; justify-content:center; gap:6px; border:1.5px solid var(--ink); border-radius:27.5px; background:transparent; color:var(--ink)!important; font:450 14px "Upperling Geist",system-ui,sans-serif; font-feature-settings:"ss02" 1; line-height:normal; text-align:left; text-decoration:none; white-space:nowrap; transition:background-color .2s,color .2s; }
#nav .nav-cta::before,#nav .nav-cta::after { content:none; }
#nav .nav-cta .nav-cta-icon { width:24px; height:24px; display:grid; place-items:center; flex:0 0 auto; border-radius:50%; background:var(--ink); color:#fff; font-size:14px; line-height:1; }
#nav .nav-cta:hover,#nav .nav-cta:focus-visible { border-radius:27.5px; background:var(--ink); color:#fff!important; filter:none; box-shadow:none; transform:none; }
#nav .nav-cta:hover .nav-cta-icon,#nav .nav-cta:focus-visible .nav-cta-icon { background:#fff; color:var(--ink); }
#nav .mobile-nav-cta { display:none; }
#nav .menu-button { display:none; width:44px; height:44px; padding:0; border:0; border-radius:50%; background:var(--ink); color:#fff; font-size:23px; cursor:pointer; }
#nav .exam-menu-panel a { display:block; padding:10px 12px; }
#nav .exam-menu-panel a::after { content:none; }
@media (max-width:900px) {
  #nav.site-nav { top:18px; width:calc(100% - 36px); min-height:64px; padding:8px 10px 8px 16px; }
  #nav.site-nav.scrolled { top:10px; width:calc(100% - 20px); }
  #nav .brand img { width:128px; }
  #nav .menu-button { display:grid; place-items:center; }
  #nav .nav-links { position:fixed; inset:78px 10px auto; max-height:calc(100dvh - 110px); padding:24px; display:none; align-items:stretch; overflow-y:auto; overscroll-behavior:contain; border:1px solid var(--line); border-radius:8px; background:#fff; box-shadow:0 24px 60px rgba(22,0,59,.22); }
  #nav .nav-links.open { display:grid; }
  #nav .nav-links a { padding:10px 0; }
  #nav > .nav-cta { display:none; }
  #nav .nav-links .mobile-nav-cta { display:inline-flex; width:100%; min-height:48px; margin-top:8px; padding:0 16px; justify-content:space-between; }
  #nav .exam-menu-panel a { min-height:42px; padding:9px 12px; }
}
@media (max-width:580px) {
  #nav.site-nav,#nav.site-nav.scrolled { top:10px; width:calc(100% - 20px); min-height:62px; }
  #nav .brand img { width:119px; }
  #nav .menu-button { width:42px; height:42px; }
  #nav .nav-links { inset:78px 10px auto; padding:18px; }
  #nav .nav-links a { min-height:44px; display:flex; align-items:center; }
}
@media (prefers-reduced-motion:reduce) { #nav,#nav * { transition:none!important; } }
