/* Canonical WIFS nav — mobile-first dark chrome from 2026 design HTML.
   Loaded last so it wins over duplicated design-pack extracts. */

html.Wifs .skip-to-main {
  position: absolute;
  left: -9999px;
  z-index: 1200;
}

html.Wifs .skip-to-main:focus {
  left: 1rem;
  top: calc(1rem + env(safe-area-inset-top, 0px));
  background: #fff;
  color: #111;
  padding: 0.75rem 1rem;
  font-weight: 700;
}

html.Wifs .nav,
html.Wifs nav.nav,
html.Wifs #siteHeader {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1100 !important;
  box-sizing: border-box !important;
  display: block !important;
  margin: 0 !important;
  padding: env(safe-area-inset-top, 0px) 0 0 !important;
  height: auto !important;
  min-height: calc(72px + env(safe-area-inset-top, 0px)) !important;
  max-height: none !important;
  background: rgba(16, 10, 22, 0.84) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(238, 229, 247, 0.22);
}

html.Wifs .nav-inner {
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  justify-content: space-between !important;
  gap: 0.75rem;
  width: 100% !important;
  max-width: 1240px;
  min-height: 72px !important;
  height: 72px !important;
  margin: 0 auto;
  padding: 0.75rem 1rem;
}

html.Wifs .nav-logo {
  position: relative;
  z-index: 1012 !important;
  flex: 0 0 auto;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #f7f4f8 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

html.Wifs .nav-logo span {
  position: static !important;
  display: inline !important;
  color: #cdb6e4 !important;
}

html.Wifs .nav-mobile {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
  z-index: 1012 !important;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(238, 229, 247, 0.22) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #fff !important;
  line-height: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

html.Wifs .nav-mobile:focus-visible,
html.Wifs .nav-mobile:active {
  outline: 2px solid #cdb6e4;
  outline-offset: 2px;
}

html.Wifs .nav-mobile svg {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
  overflow: visible;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

html.Wifs .nav-mobile line {
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

html.Wifs .nav-mobile .nav-icon-menu,
html.Wifs .nav-mobile .nav-icon-close {
  transform-origin: 12px 12px;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

html.Wifs .nav-mobile .nav-icon-close {
  opacity: 0;
}

html.Wifs body.nav-open .nav-mobile .nav-icon-menu {
  opacity: 0;
}

html.Wifs body.nav-open .nav-mobile .nav-icon-close {
  opacity: 1;
}

html.Wifs .nav-panel {
  display: none !important;
  position: fixed !important;
  top: calc(72px + env(safe-area-inset-top, 0px)) !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: 1 !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 0.35rem !important;
  width: 100% !important;
  height: calc(100dvh - 72px - env(safe-area-inset-top, 0px)) !important;
  min-height: calc(100svh - 72px - env(safe-area-inset-top, 0px)) !important;
  margin: 0 !important;
  padding: 1rem 1rem calc(1.5rem + env(safe-area-inset-bottom, 0px)) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: rgba(16, 10, 22, 0.96) !important;
}

html.Wifs .nav-panel.open,
html.Wifs body.nav-open .nav-panel {
  display: flex !important;
}

html.Wifs .nav-links,
html.Wifs .nav-links.open,
html.Wifs body.nav-open .nav-links,
html.Wifs .nav-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 0.35rem !important;
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html.Wifs .nav-links > li,
html.Wifs .nav-actions > li {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

html.Wifs .nav-links a,
html.Wifs .nav-links a:not(.nav-cta):not(.nav-awards),
html.Wifs .nav-actions a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  padding: 0.75rem 1rem !important;
  border: 0;
  border-radius: 0.75rem;
  background: transparent;
  color: #f7f4f8 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  text-align: center !important;
  text-decoration: none !important;
  opacity: 0.9;
  white-space: nowrap;
}

html.Wifs .nav-links a::after,
html.Wifs .nav-actions a::after {
  display: none !important;
  content: none !important;
}

html.Wifs .nav-links a.active,
html.Wifs .nav-links a[aria-current="page"] {
  color: #cdb6e4 !important;
  opacity: 1;
}

html.Wifs .nav-links a:hover,
html.Wifs .nav-links a:focus-visible,
html.Wifs .nav-links a:active {
  color: #cdb6e4 !important;
  background: rgba(205, 182, 228, 0.1);
  opacity: 1;
}

html.Wifs .nav-actions a.nav-awards,
html.Wifs a.nav-awards {
  margin-top: 0.5rem;
  border: 1px solid rgba(230, 218, 242, 0.38) !important;
  border-radius: 999px !important;
  background: linear-gradient(120deg, #52236c, #7e46ad) !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  opacity: 1;
}

html.Wifs .nav-actions a.nav-cta,
html.Wifs a.nav-cta {
  margin-top: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 999px !important;
  background: linear-gradient(120deg, #f6f2f8, #c9c5d2) !important;
  color: #1b1022 !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  opacity: 1;
}

html.Wifs .nav-actions a.nav-awards:hover,
html.Wifs .nav-actions a.nav-awards:focus-visible,
html.Wifs .nav-actions a.nav-awards:active,
html.Wifs a.nav-awards:hover,
html.Wifs a.nav-awards:focus-visible,
html.Wifs a.nav-awards:active,
html.Wifs .nav-actions a.nav-cta:hover,
html.Wifs .nav-actions a.nav-cta:focus-visible,
html.Wifs .nav-actions a.nav-cta:active,
html.Wifs a.nav-cta:hover,
html.Wifs a.nav-cta:focus-visible,
html.Wifs a.nav-cta:active {
  transform: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

html.Wifs .nav-backdrop {
  display: none !important;
  pointer-events: none !important;
}

html.Wifs body.nav-open {
  overflow: hidden;
  overscroll-behavior: none;
}


@media (min-width: 768px) {
  html.Wifs .nav-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    justify-content: initial !important;
    gap: 0.75rem;
  }

  html.Wifs .nav-logo {
    justify-self: start;
  }

  html.Wifs .nav-mobile {
    display: none !important;
  }

  html.Wifs .nav-panel,
  html.Wifs .nav-panel.open,
  html.Wifs body.nav-open .nav-panel {
    display: contents !important;
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
  }

  html.Wifs .nav-links,
  html.Wifs .nav-links.open,
  html.Wifs body.nav-open .nav-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.15rem !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
  }

  html.Wifs .nav-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.35rem !important;
    width: auto !important;
    justify-self: end;
  }

  html.Wifs .nav-links > li,
  html.Wifs .nav-actions > li {
    width: auto;
  }

  html.Wifs .nav-links a,
  html.Wifs .nav-links a:not(.nav-cta):not(.nav-awards) {
    min-height: 44px;
    width: auto;
    padding: 0.5rem 0.7rem !important;
    font-size: 0.8rem !important;
    opacity: 0.82;
  }

  html.Wifs .nav-actions a.nav-awards,
  html.Wifs .nav-actions a.nav-cta,
  html.Wifs a.nav-awards,
  html.Wifs a.nav-cta {
    min-height: 46px;
    margin-top: 0;
    margin-left: 0;
    padding: 0.75rem 1.15rem !important;
  }

  html.Wifs .nav-actions a.nav-awards:hover,
  html.Wifs .nav-actions a.nav-cta:hover,
  html.Wifs a.nav-awards:hover,
  html.Wifs a.nav-cta:hover {
    transform: translateY(-2px);
  }
}

@media (hover: none) {
  html.Wifs .nav-actions a.nav-awards:hover,
  html.Wifs .nav-actions a.nav-cta:hover,
  html.Wifs a.nav-awards:hover,
  html.Wifs a.nav-cta:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.Wifs .nav-mobile .nav-icon-menu,
  html.Wifs .nav-mobile .nav-icon-close,
  html.Wifs .nav-actions a.nav-awards,
  html.Wifs .nav-actions a.nav-cta {
    transition: none;
  }
}
