/* Shared header for every page except the homepage. Matches the homepage nav: frosted pale band, Satoshi, black CTA.
   Scoped to .site-nav so page styles can't fight it. Class names stay the same so site-nav.js keeps working. */
.nav.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.42); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(219,228,242,.78); }
.site-nav .site-nav-inner { width: min(100% - 40px, 1200px); margin: 0 auto; min-height: 72px; display: flex; align-items: center; gap: 16px; justify-content: space-between; }
.site-nav .site-brand { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; color: #0a1838; text-decoration: none; font: 600 15px/1.05 Satoshi, Montserrat, system-ui, sans-serif; letter-spacing: -0.1px; }
.site-nav .site-brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9999px; }
.site-nav .site-brand small { display: block; margin-top: 3px; font: 500 10px/1.05 Satoshi, Montserrat, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: rgba(10,24,56,.66); }
.site-nav .site-links { display: flex; align-items: center; gap: 24px; font: 400 14px Satoshi, Montserrat, system-ui, sans-serif; }
.site-nav .site-links a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(10,24,56,.66); text-decoration: none; }
.site-nav .site-links a:hover, .site-nav .site-links a[aria-current="page"] { color: #0a1838; text-decoration: underline; text-underline-offset: 4px; }
.site-nav .site-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; background: #0b0b0f; color: #fff; font: 700 15px Satoshi, Montserrat, system-ui, sans-serif; text-decoration: none; box-shadow: rgba(255,255,255,.2) 0 .5px 0 0 inset, rgba(0,0,0,.2) 0 0 0 .5px inset, rgba(0,0,0,.05) 0 1px 2px 0; }
.site-nav .site-cta::after { content: "\2192"; }
.site-nav .site-cta:hover { background: #22222a; }
.site-nav .site-toggle { display: none; min-height: 44px; width: 44px; border: 1px solid rgba(10,24,56,.2); border-radius: 10px; background: transparent; color: #0a1838; cursor: pointer; }
.site-nav a:focus-visible, .site-nav button:focus-visible { outline: 3px solid #1e6bff; outline-offset: 2px; }
@media (max-width: 860px) {
  .site-nav .site-nav-inner { min-height: 64px; width: min(100% - 28px, 1200px); gap: 12px; }
  .site-nav .site-toggle { display: inline-grid; place-items: center; }
  .site-nav .site-cta { display: none; }
  .site-nav .site-links { display: none; position: absolute; top: 64px; left: 14px; right: 14px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid rgba(10,24,56,.14); border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(10,24,56,.12); }
  .site-nav .site-links.is-open { display: flex; }
  .site-nav .site-links a { padding: 0 12px; }
  .site-nav .site-links .site-links-cta { display: inline-flex; color: #fff; background: #0b0b0f; border-radius: 10px; justify-content: center; font-weight: 700; margin-top: 6px; }
}
@media (min-width: 861px) { .site-nav .site-links .site-links-cta { display: none; } }

/* Footer links: 44px tap targets on touch screens */
@media (max-width: 860px) {
  footer.footer a, footer.footer .footer-links a, footer.footer .footer-social { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 6px; }
}
@media (max-width: 860px) {
  footer:not(.footer) a { display: inline-block; padding: 13px 6px; }
}

/* Services dropdown. Desktop: opens on hover, on keyboard focus, or with the toggle button.
   Mobile (inside the hamburger menu): the submenu sits inline, indented, and opens with the toggle button. */
.site-nav .site-dropdown { position: relative; display: flex; align-items: center; }
.site-nav .site-dropdown-trigger { min-height: 44px; }
.site-nav .site-dropdown-toggle { display: inline-grid; place-items: center; flex: 0 0 auto; width: 44px; min-height: 44px; margin-left: -10px; padding: 0; border: 0; background: none; color: rgba(10,24,56,.66); cursor: pointer; }
.site-nav .site-dropdown-toggle svg { transition: transform .2s ease; }
.site-nav .site-dropdown.is-open .site-dropdown-toggle svg { transform: rotate(180deg); }
.site-nav .site-dropdown-menu { display: none; position: absolute; top: 100%; left: -12px; z-index: 60; min-width: 270px; margin: 0; padding: 8px; list-style: none; border: 1px solid rgba(10,24,56,.14); border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(10,24,56,.12); }
.site-nav .site-dropdown-menu a { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px; color: rgba(10,24,56,.8); text-decoration: none; white-space: nowrap; }
.site-nav .site-dropdown-menu a:hover, .site-nav .site-dropdown-menu a:focus-visible { background: rgba(10,24,56,.05); color: #0a1838; text-decoration: underline; text-underline-offset: 4px; }
.site-nav .site-dropdown.is-open > .site-dropdown-menu { display: block; }
@media (hover: hover) and (min-width: 861px) {
  .site-nav .site-dropdown:hover > .site-dropdown-menu { display: block; }
}
@media (max-width: 860px) {
  .site-nav .site-dropdown { flex-wrap: wrap; }
  .site-nav .site-dropdown-trigger { flex: 1 1 auto; }
  .site-nav .site-dropdown-menu { position: static; flex-basis: 100%; min-width: 0; margin: 0 0 6px; padding: 0 0 0 16px; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .site-nav .site-dropdown-menu a { min-height: 40px; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav .site-dropdown-toggle svg { transition: none; }
}
