/* Public navigation mirrors index.html. Keep the homepage as the visual reference. */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@900&family=Inter:wght@500;600&display=swap');

/* Isolate the menu from the older page-specific navigation and body styles. */
.nav.bynic-nav, .nav.bynic-nav * { all: revert; box-sizing: border-box; }
html:has(.bynic-nav) { scrollbar-gutter: stable; }
body.menu-open:has(.bynic-nav) { overflow-y: auto; }
body:has(.bynic-nav--reserved) { padding-top: 73px; }
.nav.bynic-nav {
  position: absolute; z-index: 20; inset: 0 0 auto; margin: 0; padding: 0;
  border: 0; border-bottom: 1px solid rgba(241,244,241,.16); background: #242724;
  color: #202421; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem; font-weight: 400; font-style: normal; line-height: normal; letter-spacing: normal;
  font-kerning: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  text-align: start; text-transform: none; box-shadow: none; backdrop-filter: none;
}
.nav.bynic-nav .nav-inner {
  width: min(calc(100% - 5rem), 78rem); max-width: none; min-height: 4.5rem; height: auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap;
  gap: 2rem; margin: 0 auto; padding: 0; border: 0; font: inherit; color: inherit;
}
.nav.bynic-nav a { font: inherit; -webkit-tap-highlight-color: transparent; }
.nav.bynic-nav .wordmark {
  color: #f1f4f1; font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.1rem; font-weight: 900; letter-spacing: .02em; line-height: normal;
  text-decoration: none; margin: 0; padding: 0;
}
.nav.bynic-nav .nav-links {
  display: flex; align-items: center; flex-direction: row; flex-wrap: nowrap;
  gap: 2rem; width: auto; margin: 0; padding: 0; border: 0; list-style: none;
  font: inherit; color: inherit;
}
.nav.bynic-nav .nav-links li { margin: 0; padding: 0; width: auto; font: inherit; color: inherit; list-style: none; }
.nav.bynic-nav .nav-links a {
  display: inline; margin: 0; padding: 0; border: 0; background: transparent;
  color: rgba(241,244,241,.76); font-size: .9rem; font-weight: 500;
  letter-spacing: normal; line-height: normal; text-decoration: none; text-align: start;
  transition: color 180ms ease;
}
.nav.bynic-nav .nav-links a:hover, .nav.bynic-nav .nav-links a:focus-visible { color: #f1f4f1; }
.nav.bynic-nav .nav-links a.btn-nav {
  min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: normal;
  padding: 0 1.1rem; margin: 0; border: 1px solid rgba(241,244,241,.32); border-radius: .4rem;
  background: rgba(242,244,239,.1); box-shadow: inset 0 1px 0 rgba(242,244,239,.12);
  backdrop-filter: blur(.75rem) saturate(120%); color: #f1f4f1; font-weight: 600;
}
.nav.bynic-nav .nav-hamburger {
  width: 2.75rem; height: 2.75rem; display: none; flex: 0 0 auto;
  flex-direction: column; justify-content: center; align-items: normal; gap: .34rem;
  padding: .72rem; margin: 0; border: 1px solid rgba(241,244,241,.32); border-radius: .4rem;
  background: rgba(242,244,239,.1); box-shadow: inset 0 1px 0 rgba(242,244,239,.12);
  backdrop-filter: blur(.75rem) saturate(120%); color: #000; font: inherit; text-align: center;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.nav.bynic-nav .nav-hamburger span {
  width: 100%; height: 1.5px; border-radius: 1rem; background: #f1f4f1;
  transform: none; transform-origin: 50% 50%; opacity: 1;
  transition: transform 220ms cubic-bezier(.23,1,.32,1), opacity 160ms ease;
}
.nav.bynic-nav .nav-hamburger.open span:nth-child(1) { transform: translateY(.42rem) rotate(45deg); }
.nav.bynic-nav .nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav.bynic-nav .nav-hamburger.open span:nth-child(3) { transform: translateY(-.42rem) rotate(-45deg); }
@media (max-width: 56.25rem) {
  body:has(.bynic-nav--reserved) { padding-top: 61px; }
  .nav.bynic-nav .nav-inner { width: min(calc(100% - 2.5rem), 78rem); min-height: 3.75rem; flex-wrap: wrap; padding-block: .5rem; }
  .nav.bynic-nav .nav-hamburger { display: flex; }
  .nav.bynic-nav .nav-links {
    width: 100%; display: none; flex-direction: column; align-items: stretch; gap: .15rem;
    margin-top: .1rem; padding-block: .75rem 1rem; border-top: 1px solid rgba(241,244,241,.16);
  }
  .nav.bynic-nav .nav-links.mobile-open { display: flex; }
  .nav.bynic-nav .nav-links a { display: block; padding: .75rem .25rem; font-size: 1rem; }
  .nav.bynic-nav .nav-links a.btn-nav { display: inline-flex; justify-content: center; padding: .75rem 1.1rem; margin-top: .5rem; }
}
