@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600&display=swap");

html body.has-shared-header {
  width: 100%;
  max-width: 1390px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.site-header-host {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header-host::after {
  content: "";
  height: 1px;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.08);
}

.site-header {
  width: 100%;
  height: 64px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: visible;
  box-sizing: border-box;
  background: #fff;
  color: #666;
  font-family: "Instrument Sans", sans-serif;
}

.site-header__logo {
  width: 32px;
  height: 40px;
  flex: none;
  display: block;
  object-fit: cover;
}

.site-header > a:first-child {
  margin-left: 10px;
  flex: none;
}

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
}

.site-header__link {
  color: #666;
  font: 500 15px/2 "Instrument Sans", sans-serif;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__link:hover {
  color: #e3940b;
  text-decoration: underline;
}

.site-header__link[aria-current="page"],
.site-header__link[aria-current="page"]:hover {
  color: #e3940b;
  text-decoration: none;
}

.site-header__contact {
  width: 106px;
  height: 36px;
  padding: 8px;
  border: 1px solid #000;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-sizing: border-box;
  background: #ffb22d;
  color: #000;
  font: 500 14px/1.5 "Instrument Sans", sans-serif;
  letter-spacing: 0;
  text-decoration: none;
}

.site-header__menu-button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  display: none;
  position: relative;
  background: transparent;
  cursor: pointer;
}

.site-header__menu-line {
  width: 20px;
  height: 2px;
  border-radius: 10px;
  position: absolute;
  left: 12px;
  background: #999;
  transition: top 180ms ease, transform 180ms ease;
}

.site-header__menu-line:first-child {
  top: 17px;
}

.site-header__menu-line:last-child {
  top: 25px;
}

.site-header-host.is-open .site-header__menu-line:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.site-header-host.is-open .site-header__menu-line:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

/* Remove the two legacy Framer/header copies after the shared header mounts. */
body.has-shared-header .framer-1jdw7j9-container,
body.has-shared-header .framer-1muqd09-container {
  display: none !important;
}

body.has-shared-header [data-framer-root] {
  width: 100% !important;
  max-width: 1390px;
}

.shared-back-to-top {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #001122;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.shared-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.shared-back-to-top:hover {
  background: #002b4d;
  transform: translateY(-4px);
}

.shared-back-to-top svg {
  width: 20px;
  height: 20px;
}

.moes-back-to-top,
.back-to-top {
  display: none !important;
}

@media (min-width: 810px) {
  .site-header {
    width: 100%;
    max-width: 1390px;
  }
}

@media (max-width: 809.98px) {
  .site-header {
    height: 79px;
    padding: 16px 24px;
  }

  .site-header__logo {
    order: 0;
  }

  .site-header__menu-button {
    display: block;
    order: 1;
  }

  .site-header__nav,
  .site-header__contact {
    display: none;
  }

  .site-header-host.is-open .site-header {
    height: auto;
    min-height: 79px;
    padding-bottom: 20px;
    flex-wrap: wrap;
  }

  .site-header-host.is-open .site-header__nav {
    width: 100%;
    padding: 20px 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    order: 2;
  }

  .site-header-host.is-open .site-header__contact {
    margin-top: 16px;
    display: flex;
  }

  .shared-back-to-top {
    right: 20px;
    bottom: 20px;
  }
}
