@font-face {
  font-family: "ABC Oracle";
  src:
    url("/wp-content/themes/femfert-theme/fonts/ABCOracle-Medium.woff2") format("woff2"),
    url("/wp-content/themes/femfert-theme/fonts/ABCOracle-Medium.woff") format("woff"),
    url("/wp-content/themes/femfert-theme/fonts/ABCOracle-Medium.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #66605f;
  --muted: #ccc0be;
  --gutter: 18px;
  --brand-h: 22px;
  --header-pad: 20px;
  --chrome-font-family: "ABC Oracle", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-height: calc(var(--brand-h) + (var(--header-pad) * 2));
  --duration-default: .25s;
  --duration-long: .35s;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: var(--nav-height);
  margin: 0;
  padding: 0;
  color: var(--primary);
  font-family: var(--chrome-font-family);
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  background: hsla(0, 0%, 100%, .25);
  -webkit-backdrop-filter: blur(4rem);
  backdrop-filter: blur(4rem);
  overflow: clip;
  transition:
    height var(--duration-long) cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color var(--duration-default);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-header *,
.site-header *::before,
.site-header *::after {
  box-sizing: border-box;
  font-family: inherit;
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
}

.site-header a,
.site-header button {
  color: inherit;
  font: inherit;
  text-decoration: none;
  text-transform: none;
}

.site-header img,
.site-header svg {
  display: block;
  max-width: none;
}

html.is-menu-open .site-header {
  height: 100vh;
  background-color: rgba(0, 0, 0, .11);
  -webkit-backdrop-filter: blur(4rem);
  backdrop-filter: blur(4rem);
}

.nav {
  position: relative;
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  align-items: center;
  width: 100%;
  height: var(--nav-height);
  margin: 0 auto;
  padding: 0 var(--header-pad);
  color: var(--primary);
}

.nav__left {
  display: block;
}

.nav__brand {
  position: relative;
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: var(--brand-h);
  margin: 0;
  padding: 0;
  line-height: 0;
}

.nav__brand-logo {
  display: block;
  width: auto;
  height: var(--brand-h);
  max-width: none;
  margin: 0;
  transition: opacity var(--duration-default) ease;
}

.nav__brand-logo--white {
  position: absolute;
  inset: 0;
  opacity: 0;
}

html.is-menu-open .nav__brand-logo--primary {
  opacity: 0;
}

html.is-menu-open .nav__brand-logo--white {
  opacity: 1;
}

.nav__burger {
  grid-column: 3;
  justify-self: end;
  display: inline-grid;
  place-items: center;
  width: var(--brand-h);
  height: var(--brand-h);
  margin: 0;
  padding: 0;
  color: var(--primary);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav__burger:hover,
.nav__burger:focus-visible {
  cursor: pointer;
}

.burger-icon {
  position: relative;
  display: block;
  width: var(--brand-h);
  height: var(--brand-h);
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.burger-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 999px;
  background: var(--primary);
  opacity: 1;
  cursor: pointer;
  transition: background-color var(--duration-default) ease;
}

.burger-icon svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  transition: opacity var(--duration-default) ease;
}

.burger-icon .icon-x,
html.is-menu-open .burger-icon .icon-x {
  opacity: 0;
}

html.is-menu-open .burger-icon::before {
  background: #fff;
}

.menu {
  position: absolute;
  top: var(--nav-height);
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 2rem var(--gutter);
  color: #fff;
  font-family: var(--chrome-font-family);
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-default) ease;
}

html.is-menu-open .menu {
  opacity: 1;
  pointer-events: auto;
}

.menu__links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
  align-items: start;
  width: min(72vw, 2000px);
  margin: 0;
  padding: 0;
  column-gap: clamp(86px, 19vw, 450px);
  text-align: left;
  transform: translateY(-2vh);
}

.menu__group {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.menu__group:nth-child(1) {
  justify-self: end;
}

.menu__group:nth-child(2) {
  justify-self: center;
}

.menu__group:nth-child(3) {
  justify-self: start;
}

.menu__links a.nav__link {
  display: block;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}

.menu__group:first-child .nav__link:not(:first-child) {
  color: var(--muted);
}

.site-footer {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--primary);
  font-family: var(--chrome-font-family);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
  font-family: inherit;
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
}

.site-footer a {
  color: inherit;
  font: inherit;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer img {
  display: block;
  max-width: none;
}

.footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 96px;
  margin: 100px 0 0;
  padding: 0 var(--gutter);
  color: var(--primary);
  font-family: var(--chrome-font-family);
  font-size: 18px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer__meta {
  display: block;
  margin: 0;
  padding-bottom: 25px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}

.footer__links .nav__link,
.footer__copyright {
  display: block;
  margin: 0;
  padding: 0;
  color: var(--primary);
  font-family: var(--chrome-font-family);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.footer__copyright {
  white-space: nowrap;
}

.footer__sms3d-logo {
  display: block;
  align-self: flex-start;
  width: 89px;
  height: 59px;
  max-width: none;
  max-height: none;
  margin-top: 18px;
  margin-bottom: 0;
  margin-left: 0;
  object-fit: contain;
  object-position: center center;
}

@media (max-width: 899px) {
  :root {
    --gutter: 14px;
  }

  .nav__left,
  .nav__right {
    display: none;
  }

  .nav {
    grid-template-columns: 1fr max-content 1fr;
  }

  .nav__brand {
    justify-self: center;
  }

  .menu {
    place-items: start stretch;
    padding: 27vh 32px 2rem;
  }

  .menu__links {
    grid-template-columns: 1fr;
    gap: 4.9rem;
    width: 100%;
    transform: none;
  }

  .menu__group,
  .menu__group:nth-child(2),
  .menu__group:nth-child(3) {
    justify-self: start;
  }

  .menu__links a.nav__link {
    font-size: clamp(26px, 6vw, 30px);
    line-height: 1.35;
  }

  .footer {
    min-height: 141px;
    padding-bottom: 24px;
  }

  .footer__meta {
    padding-bottom: 0;
  }

  .footer__sms3d-logo {
    margin-top: 18px;
    margin-right: 8px;
  }
}
