/* Shared Apabae navigation: the header and opening section use the same navy. */
:root { --nav-height: 72px; }
.site-header { position: sticky; z-index: 100; top: 0; border: 0; background: var(--navy, #0b1220); box-shadow: 0 1px 0 var(--navy, #0b1220); color: #fff; }
.site-header .nav { min-height: var(--nav-height); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-header .brand { position: relative; z-index: 2; display: inline-flex; align-items: center; flex: none; width: auto; min-height: 44px; }
.site-header .brand img { width: 132px; height: auto; filter: brightness(0) invert(1); }
.site-header .nav-links { display: flex; align-items: center; gap: 30px; color: #bdc7d7; font-size: .79rem; font-weight: 700; }
.site-header .nav-links > a { display: inline-flex; align-items: center; min-height: 44px; }
.site-header .nav-links > a:hover { color: #fff; }
.site-header .nav-links > .btn { color: #08221d; }
.site-header .nav-links > .btn:hover { color: #08221d; }
.nav-toggle { position: relative; z-index: 2; display: none; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
.nav-toggle:hover { background: rgba(255,255,255,.06); }
.nav-toggle span { position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.site-header a:focus-visible, .nav-toggle:focus-visible { outline: 2px solid var(--mint, #42dfbd); outline-offset: 5px; }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-header .nav-links { position: fixed; z-index: 1; top: var(--nav-height); right: 0; left: 0; width: 100%; height: auto; min-height: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(20px, calc((100vw - 720px) / 2)) 18px; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(11,18,32,.985); box-shadow: 0 18px 32px rgba(2,8,18,.24); color: #fff; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility 0s .2s; }
  .site-header .nav-links.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: none; transition-delay: 0s; }
  .site-header .nav-links > a { min-height: 52px; padding: 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .94rem; line-height: 1.4; font-weight: 700; letter-spacing: 0; }
  .site-header .nav-links > a:hover { color: var(--mint, #42dfbd); }
  .site-header .nav-links > .btn { width: 100%; min-height: 46px; margin-top: 14px; padding: 11px 18px; border: 0; border-radius: 999px; font-size: .88rem; letter-spacing: 0; }
}
@media (max-width: 600px) {
  :root { --nav-height: 66px; }
  .site-header .nav { gap: 16px; }
  .site-header .brand img { width: 119px; }
}
@media (max-height: 450px) and (max-width: 820px) {
  .site-header .nav-links { max-height: calc(100dvh - var(--nav-height)); overflow-y: auto; }
  .site-header .nav-links > a { min-height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .nav-links { transition: none; }
}
