/* Shared public-site top nav (matches homepage) */
:root {
  --sn-bg: #080C10;
  --sn-border: rgba(255,255,255,0.07);
  --sn-gold: #F5C542;
  --sn-gold2: #E89B1A;
  --sn-cyan: #5BE5D0;
  --sn-white: #EEF2F8;
  --sn-muted: #6B7C93;
}

nav.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 48px; height: 80px; box-sizing: border-box;
  background: rgba(8,12,16,0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  max-width: 1320px;
  width: min(1320px, calc(100vw - 0px));
  min-width: 100%;
  margin: 0 auto;
  border-radius: 0 0 16px 16px;
  border-bottom: 1px solid var(--sn-border);
  overflow: hidden;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.5px;
  color: var(--sn-gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nav-logo img { display:block; height:60px; width:auto; }
.nav-logo span { color: var(--sn-white); }
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
  text-align: center;
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-links::-webkit-scrollbar {
  display: none;
}
.nav-links a {
  color: var(--sn-muted);
  text-decoration: none;
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 500;
  line-height: 1.25;
  transition: color 0.18s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--sn-white); }
.nav-actions a.nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sn-cyan);
  text-decoration: none;
  border: 1px solid var(--sn-cyan);
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.2s;
}
.nav-actions a.nav-login:hover {
  background: rgba(91,229,208,0.1);
  color: var(--sn-cyan);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sn-gold);
  color: #080C10 !important;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 500 !important;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.18s, color 0.18s !important;
}
.nav-cta:hover { background: var(--sn-gold2) !important; color: #080C10 !important; }
.nav-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(91,229,208,0.4);
  background: rgba(15,22,32,0.9);
  color: var(--sn-white);
  padding: 0;
  cursor: pointer;
  flex: 0 0 auto;
}
.nav-menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  position: absolute;
}
.nav-menu-toggle {
  position: relative;
}
.nav-menu-toggle span:nth-child(1) { transform: translateY(-5px); }
.nav-menu-toggle span:nth-child(2) { transform: translateY(0); }
.nav-menu-toggle span:nth-child(3) { transform: translateY(5px); }

@media (max-width: 1330px) {
  nav.site-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px 10px;
    position: relative;
    overflow: visible;
    width: 100%;
  }
  .nav-logo {
    font-size: 18px;
    flex: 0 1 auto;
    min-width: 0;
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 10px);
    z-index: 120;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(8,12,16,0.96);
    border: 1px solid var(--sn-border);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.35);
    overflow: hidden;
  }
  .nav-links a {
    font-size: 15px;
  }
  .nav-actions a.nav-login,
  .nav-cta {
    font-size: 13px;
    padding: 11px 14px;
  }
  .nav-actions {
    gap: 6px;
    margin-left: auto;
  }
  .nav-menu-toggle { display: inline-flex; }
  nav.site-nav.nav-open .nav-links { display: flex; }
}

/* Clear fixed nav on content pages */
body.has-site-nav {
  padding-top: 80px;
}
body.has-site-nav.home-page {
  padding-top: 0;
}
@media (max-width: 1330px) {
  /* Nav is position: relative here, so no fixed-nav clearance needed */
  body.has-site-nav {
    padding-top: 0;
  }
}

.nav-links a.is-active { color: var(--sn-white); }

/* ≤500px: logo centered on its own row; buttons left, menu toggle right below it */
@media (max-width: 500px) {
  nav.site-nav {
    flex-wrap: wrap;
    height: auto;
    justify-content: center;
    row-gap: 10px;
  }
  nav.site-nav .nav-logo {
    flex: 0 0 100%;
    justify-content: center;
    max-width: none;
  }
  nav.site-nav .nav-actions {
    flex: 0 0 100%;
    justify-content: flex-start;
    margin-left: 0;
  }
  nav.site-nav .nav-menu-toggle { margin-left: auto; }
}

/* ── Pioneer Pass nav link (Sep 29, 2026) ──
   Desktop (>1330px): wooden-sign logo, 44px tall, vertically centered with the
   text links. ≤1330px hamburger menu: plain text "Pioneer Pass" instead.
   Only one of logo / text is ever displayed (the other is display:none, so it
   is also out of the accessibility tree). Same rules in site-nav.css and
   home-page.css (index.html has its own nav styles). */
.nav-links a.nav-pp {
  display: inline-flex;
  align-items: center;
  line-height: 1.25;
}
.nav-pp-pic { display: block; line-height: 0; }
.nav-pp-logo {
  display: block;
  height: 44px;
  width: auto;
  transition: filter 0.2s ease;
}
.nav-pp-text { display: none; }
.nav-links a.nav-pp:hover .nav-pp-logo,
.nav-links a.nav-pp:focus-visible .nav-pp-logo {
  filter: brightness(1.15) contrast(1.15);
}
/* current page (pioneer-pass.html): soft gold glow that follows the sign's shape */
.nav-links a.nav-pp.is-active .nav-pp-logo {
  filter: drop-shadow(0 0 5px rgba(245, 197, 66, 0.55));
}
.nav-links a.nav-pp.is-active:hover .nav-pp-logo,
.nav-links a.nav-pp.is-active:focus-visible .nav-pp-logo {
  filter: brightness(1.15) contrast(1.15) drop-shadow(0 0 5px rgba(245, 197, 66, 0.55));
}
.nav-links a.nav-pp:focus-visible { outline: 2px solid var(--sn-cyan, #5BE5D0); outline-offset: 3px; border-radius: 6px; }
@media (min-width: 1331px) {
  /* room above/below the 44px sign so the glow / focus ring aren't clipped by
     .nav-links' overflow-x:auto (row is still well inside the 80px bar) */
  .nav-links { padding-top: 8px; padding-bottom: 8px; }
}
@media (max-width: 1330px) {
  .nav-links a.nav-pp { display: inline; }
  .nav-pp-pic { display: none; }
  .nav-pp-text { display: inline; }
}
