*,
*::before,
*::after {
  box-sizing: border-box;
}

/* HEADER */

.site-header {
  width: 100%;
  max-width: 100%;
  min-height: 120px;

  display: grid !important;
  grid-template-columns: auto auto auto auto;
  align-items: center;
  justify-content: space-between;
  column-gap: 40px;

  padding: 0 clamp(24px, 4vw, 80px);

  background: var(--color-bg);
  color: var(--color-text);

  position: relative;
  z-index: 1000;
}

.site-header__logo {
  display: block;
  flex-shrink: 0;
}

.site-header__logo img {
  height: 58px;
  width: auto;
  display: block;
}

.site-header__lang {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 80px;
  white-space: nowrap;
}

.site-header__lang a {
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--fs-s);
  font-weight: var(--fw-light);
  text-transform: uppercase;
  line-height: 1;
}

.site-header__lang a:hover {
  color: var(--color-accent);
}

.site-header__burger {
  width: 18px;
  height: 16px;

  display: flex !important;
  flex-direction: column;
  justify-content: space-between;

  background: none;
  border: 0;
  padding: 0;
  margin: 0;

  cursor: pointer;
}

.site-header__burger span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--color-text);
}

.site-header__brand {
  color: var(--color-text);
  font-size: var(--fs-s);
  font-weight: var(--fw-light);
  letter-spacing: .03em;
  white-space: nowrap;
  line-height: 1;
}

.site-header__brand strong {
  font-weight: var(--fw-regular);
}

/* OVERLAY MENU */

.site-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;

  background: rgba(10, 13, 18, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity .35s ease, visibility .35s ease;
}

.site-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-menu-overlay__close {
  position: absolute;
  top: 40px;
  right: clamp(24px, 4vw, 80px);

  background: none;
  border: 0;
  padding: 0;

  color: var(--color-text);
  font-size: 40px;
  font-weight: 200;
  line-height: 1;

  cursor: pointer;
}

.site-menu-overlay__nav {
  position: absolute;
  top: 140px;
  right: 18vw;

  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}

.site-menu-overlay__nav a {
  color: var(--color-text);
  text-decoration: none;

  font-size: clamp(1.8rem, 2vw, 2.8rem);
  font-weight: 300;
  line-height: 1.1;

  transition: color .25s ease, transform .25s ease;
}

.site-menu-overlay__nav a:hover {
  color: var(--color-accent);
  transform: translateX(-10px);
}

body.menu-open {
  overflow: hidden;
}

/* MOBILE */

@media (max-width: 767px) {
  .site-header {
    min-height: 90px;
    grid-template-columns: auto auto;
    padding: 0 24px;
  }

  .site-header__lang,
  .site-header__brand {
    display: none !important;
  }

  .site-header__logo img {
    height: 42px;
  }

  .site-menu-overlay__nav {
    top: 120px;
    right: 24px;
  }
}

.site-menu-overlay__nav a {
  color: var(--color-text);
  text-decoration: none;

  font-size: clamp(1.8rem, 2vw, 2.8rem);
  font-weight: 100; /* THIN */

  line-height: 1.1;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;

  transition: color .25s ease;
}

.site-menu-overlay__nav a::after {
  content: "—";
  width: 0;
  overflow: hidden;

  margin-left: 0;

  color: var(--color-accent);

  transition:
    width .35s ease,
    margin-left .35s ease;
}

.site-menu-overlay__nav a:hover::after {
  width: 48px;
  margin-left: 16px;
}