.restored-site .nav-dropdown {
  position: relative;
  display: flex;
  align-self: stretch;
  align-items: center;
  min-width: 0;
}

/* Keep the primary navigation color consistent across every page and state. */
body.restored-site .navbar.restored-nav #primary-navigation.nav-links > a,
body.restored-site .navbar.restored-nav #primary-navigation.nav-links .nav-dropdown-link,
body.restored-site .navbar.restored-nav #primary-navigation.nav-links .nav-dropdown-toggle {
  color: #263033 !important;
  opacity: 1 !important;
}

/* Keep the product entry as dark as the other labels on the contact page. */
body.contact-page .navbar.restored-nav #primary-navigation .nav-dropdown-link,
body.contact-page .navbar.restored-nav #primary-navigation .nav-dropdown-toggle {
  color: #263033 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #263033 !important;
}

.restored-site .nav-dropdown-row {
  display: flex;
  align-items: center;
  min-height: var(--nav-current-height, 76px);
}

.restored-site .nav-dropdown-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--nav-current-height, 76px);
  padding: 0;
  color: #46504c;
  font-size: 17px;
  font-weight: 620;
  line-height: 1;
  letter-spacing: 0;
  opacity: 0.82;
  text-decoration: none;
  white-space: nowrap;
  transition: color 360ms cubic-bezier(0.22, 1, 0.36, 1), opacity 360ms cubic-bezier(0.22, 1, 0.36, 1), transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.restored-site .nav-dropdown-link:hover,
.restored-site .nav-dropdown-link.active,
.restored-site .nav-dropdown.is-open .nav-dropdown-link {
  color: var(--rs-ink);
  opacity: 1;
}

.restored-site .nav-dropdown-link::after {
  position: absolute;
  bottom: 1.08rem;
  left: 50%;
  width: 1.65rem;
  height: 2px;
  border-radius: 0;
  background: var(--rs-rust);
  content: "";
  opacity: 0.92;
  transform: translateX(-50%) scaleX(0);
  transform-origin: right center;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.restored-site .nav-dropdown-link:hover::after,
.restored-site .nav-dropdown-link.active::after,
.restored-site .nav-dropdown.is-open .nav-dropdown-link::after {
  transform: translateX(-50%) scaleX(1);
  transform-origin: left center;
}

/* Match the active product link with the black active state used elsewhere. */
.restored-site .nav-dropdown-link.active::after {
  background: var(--rs-ink);
}

.restored-site .nav-dropdown-toggle {
  display: inline-grid;
  width: 28px;
  height: 36px;
  margin: 0 -7px 0 2px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  opacity: 0.7;
  transition: background-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.restored-site .nav-dropdown-toggle:hover {
  background: rgba(21, 38, 46, 0.06);
  opacity: 1;
}

.restored-site .nav-dropdown-toggle:active {
  transform: scale(0.96);
}

.restored-site .nav-dropdown-toggle:focus-visible,
.restored-site .nav-dropdown-panel a:focus-visible {
  outline: 2px solid rgba(36, 90, 165, 0.72);
  outline-offset: 2px;
}

.restored-site .nav-dropdown-toggle svg {
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.restored-site .nav-dropdown.is-open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.restored-site .nav-dropdown-panel {
  position: absolute;
  top: calc(100% - 3px);
  left: 50%;
  z-index: 12;
  width: min(480px, calc(100vw - 32px));
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(21, 38, 46, 0.16);
  border-radius: 8px;
  background: rgba(251, 251, 247, 0.98);
  box-shadow: 0 18px 48px rgba(21, 38, 46, 0.13);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translate3d(-50%, 9px, 0) scale(0.96);
  transform-origin: 50% 0;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1), visibility 180ms ease;
}

.restored-site .nav-dropdown.is-open .nav-dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translate3d(-50%, 0, 0) scale(1);
}

.restored-site .nav-dropdown-overview {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 14px;
  padding: 10px 12px 14px;
  border-bottom: 1px solid rgba(21, 38, 46, 0.11);
  color: #15262e;
  text-decoration: none;
}

.restored-site .nav-dropdown-overview > span {
  grid-row: 1 / span 2;
  align-self: center;
  color: #245aa5;
  font-size: 11px;
  font-weight: 720;
}

.restored-site .nav-dropdown-overview strong,
.restored-site .nav-dropdown-grid strong {
  color: #15262e;
  font-size: 14px;
  font-weight: 680;
  line-height: 1.35;
}

.restored-site .nav-dropdown-overview small,
.restored-site .nav-dropdown-grid small {
  color: #6d7a80;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}

.restored-site .nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 4px;
}

.restored-site .nav-dropdown-grid a {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px;
  border-radius: 6px;
  color: #15262e;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.restored-site .nav-dropdown-overview:hover,
.restored-site .nav-dropdown-grid a:hover {
  background: #eef2f3;
}

.restored-site .nav-dropdown-grid a:active {
  transform: translateY(1px);
}

@media (max-width: 760px) {
  .restored-site .navbar.nav-open .nav-links {
    max-height: 52rem;
  }

  .restored-site .nav-dropdown {
    display: block;
    align-self: auto;
    min-height: 0;
  }

  .restored-site .nav-dropdown-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    min-height: 50px;
    border-bottom: 1px solid var(--c-line);
  }

  .restored-site .nav-dropdown-link {
    min-height: 50px;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    line-height: 1.2;
  }

  .restored-site .nav-dropdown-link::after {
    display: none;
  }

  .restored-site .nav-dropdown-toggle {
    width: 48px;
    height: 100%;
    min-height: 48px;
    margin: 0;
    border-left: 1px solid var(--c-line);
    border-radius: 0;
    color: #263036;
    text-shadow: none;
  }

  .restored-site .nav-dropdown-panel,
  .restored-site .nav-dropdown.is-open .nav-dropdown-panel {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0 12px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #f4f6f4;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: max-height 260ms cubic-bezier(0.22, 1, 0.36, 1), padding 220ms ease, opacity 160ms ease, visibility 160ms ease;
  }

  .restored-site .nav-dropdown.is-open .nav-dropdown-panel {
    max-height: 360px;
    padding: 8px 12px 12px;
    opacity: 1;
    visibility: visible;
  }

  .restored-site .nav-dropdown-overview {
    padding-inline: 8px;
  }

  .restored-site .nav-dropdown-grid {
    grid-template-columns: 1fr;
    padding-inline: 0;
  }

  .restored-site .nav-dropdown-grid a {
    padding: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .restored-site .nav-dropdown-panel,
  .restored-site .nav-dropdown-toggle,
  .restored-site .nav-dropdown-toggle svg,
  .restored-site .nav-dropdown-grid a {
    transition-duration: 0.01ms !important;
  }
}

/* Aceternity-inspired desktop resize: the page keeps a full-width header at the
   top, then the inner surface becomes a compact floating navigation on scroll. */
body.restored-site .navbar.restored-nav[data-resizable-navbar] {
  --nav-current-height: 76px;
  min-height: 76px !important;
  height: 76px !important;
  background: transparent !important;
  border-bottom: 1px solid transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: translate3d(0, 0, 0);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), background-color 460ms cubic-bezier(0.16, 1, 0.3, 1), border-color 460ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 460ms cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 460ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
}

/* Inner pages keep a legible top bar; the homepage is intentionally transparent
   over its opening visual until the floating state is reached. */
body.restored-site:not(.magic-site) .navbar.restored-nav[data-resizable-navbar] {
  background: rgba(250, 251, 251, 0.94) !important;
  border-bottom-color: rgba(16, 39, 40, 0.09) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

html.home-page {
  scroll-padding-top: 88px;
}

body.magic-site .navbar.restored-nav[data-resizable-navbar] {
  position: fixed !important;
  inset: 0 0 auto !important;
  width: 100%;
  overflow: visible;
}

body.magic-site .navbar.restored-nav[data-resizable-navbar].nav-hidden {
  transform: translate3d(0, calc(-100% - 18px), 0) !important;
  pointer-events: none;
}

body.restored-site .navbar.restored-nav[data-resizable-navbar] .nav-container {
  width: 100% !important;
  max-width: none !important;
  min-height: 76px !important;
  height: 76px !important;
  margin-inline: 0 !important;
  padding-inline: clamp(1.25rem, 4vw, 4rem) !important;
  gap: clamp(1rem, 2.5vw, 2rem) !important;
  border: 1px solid transparent;
  border-radius: 0;
  background-color: transparent;
  opacity: 1;
  box-shadow: none;
  transform: translate3d(0, 0, 0);
  transition: width 520ms cubic-bezier(0.16, 1, 0.3, 1),
    min-height 420ms cubic-bezier(0.16, 1, 0.3, 1),
    height 420ms cubic-bezier(0.16, 1, 0.3, 1),
    padding 420ms cubic-bezier(0.16, 1, 0.3, 1),
    gap 420ms cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 420ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 460ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 460ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 460ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: width, transform;
}

body.restored-site .navbar.restored-nav .logo-link {
  width: 94px !important;
  height: 60px !important;
  transition: width 360ms cubic-bezier(0.22, 1, 0.36, 1), height 360ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

body.restored-site .navbar.restored-nav[data-resizable-navbar] .nav-links {
  margin-right: clamp(24px, 4vw, 64px) !important;
  transition: gap 360ms cubic-bezier(0.22, 1, 0.36, 1), margin 360ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

body.restored-site .navbar.restored-nav[data-resizable-navbar] .nav-links > a,
body.restored-site .navbar.restored-nav[data-resizable-navbar] .nav-dropdown-row,
body.restored-site .navbar.restored-nav[data-resizable-navbar] .nav-dropdown-link {
  min-height: 76px !important;
  height: 76px !important;
  transition: min-height 360ms cubic-bezier(0.22, 1, 0.36, 1), height 360ms cubic-bezier(0.22, 1, 0.36, 1), color 220ms ease, opacity 220ms ease, transform 260ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@media (min-width: 1025px) {
  /* The pill (.nav-container) carries the whole floating treatment. Painting
     the bar as well left a full-width band behind it that read as the
     un-floated navbar showing through. */
  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized {
    background: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-container {
    width: min(calc(100% - 32px), 1120px) !important;
    min-height: 62px !important;
    height: 62px !important;
    margin-inline: auto !important;
    padding-inline: 14px !important;
    gap: 1rem !important;
    border-color: rgba(16, 39, 40, 0.1);
    border-radius: 999px;
    background-color: rgba(250, 251, 251, 0.82);
    opacity: 0.98;
    box-shadow: 0 10px 30px rgba(16, 39, 40, 0.1), 0 1px 0 rgba(255, 255, 255, 0.75) inset;
    backdrop-filter: blur(16px) saturate(115%);
    -webkit-backdrop-filter: blur(16px) saturate(115%);
    transform: translate3d(0, 8px, 0);
  }

  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .logo-link {
    width: 78px !important;
    height: 50px !important;
  }

  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-links {
    gap: clamp(1.1rem, 2vw, 2rem) !important;
    margin-right: 0 !important;
  }

  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-links > a,
  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-dropdown-row,
  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-dropdown-link {
    min-height: 62px !important;
    height: 62px !important;
  }

  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-links > a,
  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-dropdown-link {
    font-size: 15px !important;
  }

  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-links > a::after,
  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-dropdown-link::after {
    bottom: 0.72rem;
  }
}

@media (max-width: 1024px) {
  body.magic-site .navbar.restored-nav[data-resizable-navbar].nav-hidden {
    transform: none !important;
    pointer-events: auto;
  }

  body.restored-site .navbar.restored-nav[data-resizable-navbar] .nav-container,
  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-container {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none;
  }
}

@media (max-width: 760px) {
  html.home-page {
    scroll-padding-top: 76px;
  }

  body.restored-site .navbar.restored-nav[data-resizable-navbar],
  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized {
    --nav-current-height: 68px;
    min-height: 68px !important;
    height: 68px !important;
  }

  body.restored-site .navbar.restored-nav[data-resizable-navbar] .nav-container,
  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-container {
    min-height: 68px !important;
    height: 68px !important;
    padding-inline: 1rem !important;
  }

  body.restored-site .navbar.restored-nav[data-resizable-navbar] .logo-link,
  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .logo-link {
    width: 66px !important;
    height: 48px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.restored-site .navbar.restored-nav[data-resizable-navbar],
  body.restored-site .navbar.restored-nav[data-resizable-navbar] .nav-container,
  body.restored-site .navbar.restored-nav[data-resizable-navbar] .logo-link,
  body.restored-site .navbar.restored-nav[data-resizable-navbar] .nav-links,
  body.restored-site .navbar.restored-nav[data-resizable-navbar] .nav-links > a,
  body.restored-site .navbar.restored-nav[data-resizable-navbar] .nav-dropdown-row,
  body.restored-site .navbar.restored-nav[data-resizable-navbar] .nav-dropdown-link {
    transition-duration: 0.01ms !important;
  }
}

/* Keep the resize animation centered on the viewport.  The previous full
   state used a left-anchored container, so expanding from the compact pill
   looked like it was being pulled from left to right. */
@media (min-width: 1025px) {
  body.restored-site .navbar.restored-nav[data-resizable-navbar] .nav-container {
    position: relative;
    left: 50%;
    margin-inline: 0 !important;
    transform: translate3d(-50%, 0, 0);
    transform-origin: 50% 0;
  }

  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-container {
    left: 50%;
    margin-inline: 0 !important;
    transform: translate3d(-50%, 8px, 0);
    transform-origin: 50% 0;
  }

  body.restored-site .navbar.restored-nav[data-resizable-navbar] .nav-links,
  body.restored-site .navbar.restored-nav:not([data-resizable-navbar]) .nav-links {
    margin-left: auto !important;
    margin-right: 0 !important;
    justify-content: flex-end !important;
    gap: clamp(1.4rem, 2.6vw, 2.8rem) !important;
  }

  body.restored-site .navbar.restored-nav .nav-contact-link {
    margin-left: clamp(1rem, 2.2vw, 2.25rem);
  }

  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-links {
    gap: clamp(1.05rem, 1.9vw, 1.8rem) !important;
  }

  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-contact-link {
    margin-left: clamp(0.8rem, 1.5vw, 1.45rem);
  }
}

/* Refined brand lockup.  Keep the wordmark readable in both the full and
   floating states without allowing the old fixed image width to compress it. */
body.restored-site .navbar.restored-nav .logo-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: auto !important;
  min-width: 158px;
  height: 60px !important;
  flex: 0 0 auto;
  text-decoration: none;
}

body.restored-site .navbar.restored-nav .logo-link .nav-logo-img {
  display: block;
  width: 66px !important;
  height: 52px !important;
  flex: 0 0 66px;
  object-fit: contain;
  object-position: center;
}

body.restored-site .navbar.restored-nav .nav-brand-name {
  display: inline-block;
  flex: 0 0 auto;
  color: #102728;
  font-family: "Noto Serif SC", "Songti SC", "STSong", "Microsoft YaHei", serif;
  font-size: 20px !important;
  font-weight: 720 !important;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

@media (min-width: 1025px) {
  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .logo-link {
    min-width: 136px;
    height: 50px !important;
    gap: 7px;
  }

  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .logo-link .nav-logo-img {
    width: 56px !important;
    height: 44px !important;
    flex-basis: 56px;
  }

  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-brand-name {
    font-size: 17px !important;
    letter-spacing: 0.055em;
  }
}

@media (max-width: 1024px) {
  body.restored-site .navbar.restored-nav[data-resizable-navbar] .nav-container,
  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-container {
    left: 0;
    margin-inline: 0 !important;
    transform: none;
  }
}

@media (max-width: 760px) {
  body.restored-site .navbar.restored-nav .logo-link,
  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .logo-link {
    min-width: 132px;
    width: auto !important;
    height: 48px !important;
    gap: 6px;
  }

  body.restored-site .navbar.restored-nav .logo-link .nav-logo-img,
  body.restored-site .navbar.restored-nav[data-resizable-navbar].is-resized .logo-link .nav-logo-img {
    width: 54px !important;
    height: 42px !important;
    flex-basis: 54px;
  }

  body.restored-site .navbar.restored-nav .nav-brand-name {
    font-size: 15px !important;
    letter-spacing: 0.025em;
  }
}

/* -------------------------------------------------------------------------
   Homepage navigation state contract

   Keep the full and floating surfaces on one centered anchor. Width and
   padding grow/shrink from the middle instead of reflowing from a left edge
   when the user returns to the opening screen.
   ------------------------------------------------------------------------- */
@media (min-width: 1025px) {
  body.magic-site .navbar.restored-nav[data-resizable-navbar] .nav-container {
    box-sizing: border-box;
    position: relative;
    left: 50%;
    width: 100% !important;
    max-width: none !important;
    min-height: 76px !important;
    height: 76px !important;
    margin-inline: 0 !important;
    padding-inline: clamp(1.5rem, 4vw, 4rem) !important;
    gap: clamp(1rem, 2.4vw, 2rem) !important;
    border: 1px solid rgba(16, 39, 40, 0) !important;
    border-radius: 0 !important;
    background-color: rgba(250, 251, 251, 0) !important;
    box-shadow: 0 0 0 rgba(16, 39, 40, 0), inset 0 1px 0 rgba(255, 255, 255, 0) !important;
    backdrop-filter: blur(0) saturate(100%) !important;
    -webkit-backdrop-filter: blur(0) saturate(100%) !important;
    transform: translate3d(-50%, 0, 0);
    transform-origin: 50% 50%;
    transition:
      width 720ms cubic-bezier(0.22, 1, 0.36, 1),
      max-width 720ms cubic-bezier(0.22, 1, 0.36, 1),
      min-height 620ms cubic-bezier(0.22, 1, 0.36, 1),
      height 620ms cubic-bezier(0.22, 1, 0.36, 1),
      padding 620ms cubic-bezier(0.22, 1, 0.36, 1),
      gap 620ms cubic-bezier(0.22, 1, 0.36, 1),
      border-radius 660ms cubic-bezier(0.22, 1, 0.36, 1),
      background-color 480ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 480ms cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 540ms cubic-bezier(0.22, 1, 0.36, 1),
      backdrop-filter 540ms cubic-bezier(0.22, 1, 0.36, 1),
      -webkit-backdrop-filter 540ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 720ms cubic-bezier(0.22, 1, 0.36, 1) !important;
    will-change: width, height, transform, border-radius, background-color;
  }

  body.magic-site .navbar.restored-nav[data-resizable-navbar]:not(.is-resized) .nav-container {
    width: 100% !important;
    max-width: none !important;
    min-height: 76px !important;
    height: 76px !important;
    padding-inline: clamp(1.5rem, 4vw, 4rem) !important;
    border-color: rgba(16, 39, 40, 0) !important;
    border-radius: 0 !important;
    background-color: rgba(250, 251, 251, 0) !important;
    box-shadow: 0 0 0 rgba(16, 39, 40, 0), inset 0 1px 0 rgba(255, 255, 255, 0) !important;
    backdrop-filter: blur(0) saturate(100%) !important;
    -webkit-backdrop-filter: blur(0) saturate(100%) !important;
    transform: translate3d(-50%, 0, 0);
  }

  body.magic-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-container {
    width: min(calc(100% - 36px), 1180px) !important;
    max-width: none !important;
    min-height: 64px !important;
    height: 64px !important;
    padding-inline: 18px !important;
    gap: clamp(0.9rem, 1.8vw, 1.6rem) !important;
    border: 1px solid rgba(16, 39, 40, 0.1) !important;
    border-radius: 999px !important;
    background-color: rgba(249, 251, 250, 0.78) !important;
    box-shadow: 0 14px 36px rgba(16, 39, 40, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(18px) saturate(125%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(125%) !important;
    transform: translate3d(-50%, 10px, 0);
  }

  body.magic-site .navbar.restored-nav[data-resizable-navbar] .logo-link,
  body.magic-site .navbar.restored-nav[data-resizable-navbar] .logo-link .nav-logo-img,
  body.magic-site .navbar.restored-nav[data-resizable-navbar] .nav-brand-name,
  body.magic-site .navbar.restored-nav[data-resizable-navbar] .nav-links,
  body.magic-site .navbar.restored-nav[data-resizable-navbar] .nav-links > a,
  body.magic-site .navbar.restored-nav[data-resizable-navbar] .nav-dropdown-row,
  body.magic-site .navbar.restored-nav[data-resizable-navbar] .nav-dropdown-link {
    transition-duration: 620ms !important;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
  }

  body.magic-site .navbar.restored-nav[data-resizable-navbar].is-resized .logo-link {
    min-width: 145px;
    height: 54px !important;
  }

  body.magic-site .navbar.restored-nav[data-resizable-navbar].is-resized .logo-link .nav-logo-img {
    width: 60px !important;
    height: 47px !important;
    flex-basis: 60px;
  }

  body.magic-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-brand-name {
    font-size: 18.5px !important;
    letter-spacing: 0.065em;
  }

  body.magic-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-links > a,
  body.magic-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-dropdown-row,
  body.magic-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-dropdown-link {
    min-height: 64px !important;
    height: 64px !important;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.magic-site .navbar.restored-nav[data-resizable-navbar].is-resized .nav-container {
    background-color: rgba(249, 251, 250, 0.96) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.magic-site .navbar.restored-nav[data-resizable-navbar] .nav-container {
    transition-duration: 0.01ms !important;
  }
}
