.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 9, 7, 0.94),
    rgba(5, 9, 7, 0.72),
    transparent
  );
  color: white;
}
.nav {
  width: min(var(--max), 92%);
  height: 116px;
  margin: auto;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 35px;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  width: 250px;
  height: 125px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: contrast(1.08);
}
.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  position: relative;
}
.nav-links a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: #75a889;
  transition: 0.25s;
}
.nav-links a:hover:after,
.nav-links a[aria-current="page"]:after {
  right: 0;
}
.contact-pill {
  margin-left: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: var(--green);
  padding: 14px 22px;
  border-radius: 999px !important;
  color: white !important;
  transition: 0.2s;
}
.contact-pill:hover {
  background: var(--green-bright);
  transform: translateY(-1px);
}
.menu-toggle {
  display: none;
  border: 1px solid #ffffff55;
  background: #0b100d;
  color: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.25rem;
}
@media (max-width: 850px) {
  .nav {
    height: 92px;
    grid-template-columns: 1fr auto;
  }
  .brand img {
    width: 190px;
    height: 96px;
    transform: translateX(-25px);
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 92px;
    left: 4%;
    right: 4%;
    background: #0b100df5;
    border: 1px solid #ffffff1c;
    border-radius: 18px;
    padding: 25px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open {
    display: flex;
  }
  .contact-pill {
    text-align: center;
    margin: 4px 0 0;
  }
}
@media (max-width: 560px) {
  .nav {
    width: 90%;
    height: 86px;
  }
  .brand {
  transform: translateX(-10px);
}
  .brand img {
    width: 138px;
    height: 70px;
  }
  .nav-links {
    top: 86px;
    left: 5%;
    right: 5%;
    max-height: calc(100vh - 102px);
    overflow-y: auto;
  }
  .menu-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }
}
