/* Shared Wacord glass navigation. Content lives in the page markup. */
.w-nav {
  position: fixed;
  z-index: 200;
  top: 26px;
  left: 50%;
  width: min(1280px, calc(100% - 64px));
  transform: translateX(-50%);
  color: #fff;
  font-family: Inter, Arial, sans-serif;
}

.w-nav, .w-nav * { box-sizing: border-box; }

.w-nav__shell,
.w-nav__panel {
  background: linear-gradient(165deg, rgba(163, 255, 147, .2) 0%, rgba(163, 255, 147, .1) 45%, rgba(76, 112, 70, .12) 100%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .28), 0 0 0 1px rgba(163, 255, 147, .06), inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .18);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  backdrop-filter: blur(22px) saturate(1.35);
}

.w-nav__shell {
  position: relative;
  min-height: 68px;
  padding: 8px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* The same highlight layer as .site-nav__shine on the homepage. */
.w-nav__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .04) 28%, transparent 55%);
}
.w-nav__shell > * { position: relative; z-index: 1; }

.w-nav__logo {
  display: flex;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
}

.w-nav__logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.w-nav a { color: #fff; text-decoration: none; }
.w-nav__links, .w-nav__actions { display: flex; align-items: center; gap: 26px; }
.w-nav__links { margin: 0 auto; }
.w-nav__links a, .w-nav__actions a { font-size: 15px; line-height: 1.3; white-space: nowrap; }
.w-nav__links a:hover, .w-nav__actions a:not(.w-nav__demo):hover { opacity: .8; }
/* Keep text legible on pale pages without changing the shared glass layers. */
.w-nav--light .w-nav__links a, .w-nav--light .w-nav__actions a:not(.w-nav__demo) { color: #233b22; }
.w-nav__actions { gap: 20px; }
.w-nav__demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: #4c7046;
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, .25);
}

.w-nav__toggle {
  display: none;
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .13);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.w-nav__bars, .w-nav__bars::before, .w-nav__bars::after {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.w-nav__bars { top: 21px; }
.w-nav__bars::before, .w-nav__bars::after { content: ''; left: 0; }
.w-nav__bars::before { top: -6px; }
.w-nav__bars::after { top: 6px; }
.w-nav__toggle[aria-expanded="true"] .w-nav__bars { background: transparent; }
.w-nav__toggle[aria-expanded="true"] .w-nav__bars::before { top: 0; transform: rotate(45deg); }
.w-nav__toggle[aria-expanded="true"] .w-nav__bars::after { top: 0; transform: rotate(-45deg); }

.w-nav__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  max-height: min(420px, calc(100dvh - 112px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
  border-radius: 24px;
}
.w-nav__panel[hidden] { display: none; }
.w-nav__panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.3;
}
.w-nav__panel a:hover { background: rgba(255, 255, 255, .12); }
.w-nav :focus-visible { outline: 2px solid #d8ffce; outline-offset: 3px; }

/* Match the desktop homepage's fixed 1440px design canvas and its scale. */
@media (min-width: 1200px) {
  .w-nav {
    top: calc(30px * var(--w-nav-scale, 1));
    width: 1280px;
    height: 68.8px;
    margin: 0;
    transform: translateX(-50%) scale(var(--w-nav-scale, 1));
    transform-origin: top center;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    pointer-events: none;
  }
  .w-nav * { pointer-events: auto; }
  .w-nav__shell {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1321px;
    height: 69px;
    min-height: 0;
    margin-left: -660.5px;
    padding: 0;
    border-radius: 34.5px;
    display: block;
  }
  .w-nav__shell > .w-nav__logo {
    position: absolute;
    left: 15px;
    top: 50%;
    width: 45px;
    height: 45px;
    margin-top: -22.5px;
    z-index: 3;
  }
  .w-nav__shell > .w-nav__links {
    position: absolute;
    left: 477.95px;
    top: 0;
    width: 480px;
    height: 68.8px;
    margin: 0;
    gap: 18px;
    white-space: nowrap;
    font-size: 15px;
    line-height: 20.8px;
  }
  .w-nav__shell > .w-nav__actions {
    position: absolute;
    left: 993px;
    top: 10.39px;
    width: 312px;
    height: 48px;
    justify-content: flex-end;
    gap: 20px;
  }
  .w-nav__links a,
  .w-nav__actions a:not(.w-nav__demo) { opacity: .92; transition: opacity .2s ease; }
  .w-nav__links a:hover,
  .w-nav__actions a:not(.w-nav__demo):hover { opacity: 1; }
  .w-nav__links a { font-size: 15px; line-height: 20.8px; }
  .w-nav__actions a:not(.w-nav__demo) { font-size: 15px; line-height: 16px; }
  .w-nav__demo { min-height: 0; padding: 14px 23px; border-radius: 64px; font-size: 16px !important; line-height: 1 !important; }
}

@media (max-width: 1199px) {
  .w-nav {
    top: 8px;
    left: 8px;
    width: max-content;
    max-width: calc(100% - 16px);
    transform: none;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: linear-gradient(165deg, rgba(163, 255, 147, .2) 0%, rgba(163, 255, 147, .1) 45%, rgba(76, 112, 70, .12) 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .28), 0 0 0 1px rgba(163, 255, 147, .06), inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .18);
    -webkit-backdrop-filter: blur(22px) saturate(1.35);
    backdrop-filter: blur(22px) saturate(1.35);
  }
  .w-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .04) 28%, transparent 55%);
  }
  .w-nav__shell::before { display: none; }
  .w-nav.is-open { width: 160px; border-radius: 16px; }
  .w-nav__shell { min-height: 44px; padding: 0; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .w-nav__logo { display: none; }
  .w-nav__links, .w-nav__actions { display: none; }
  .w-nav__toggle { display: inline-flex; align-items: center; justify-content: flex-start; gap: 5px; width: 100%; height: 44px; padding: 6px 12px 6px 6px; border-radius: inherit; background: transparent; font: inherit; }
  .w-nav__mobile-logo { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
  .w-nav__mobile-logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .w-nav__label { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
  .w-nav__panel { position: relative; z-index: 1; top: auto; left: auto; right: auto; max-height: min(420px, calc(100dvh - 68px)); padding: 3px 5px 6px; border: 0; border-top: 1px solid rgba(255, 255, 255, .1); border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .w-nav__panel a { font-size: 14px; padding: 7px 9px; border-radius: 10px; }
  .w-nav--light .w-nav__label, .w-nav--light .w-nav__panel a { color: #233b22; }
  .w-nav--light :focus-visible { outline-color: #2f4a2c; }
}

@media (prefers-reduced-motion: reduce) {
  .w-nav *, .w-nav *::before, .w-nav *::after { transition: none !important; animation: none !important; }
}
