/* Compact glass navigation with a slow, cloud-like green current. */
.site-header {
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: none;
  min-height: 91px;
  height: 91px;
  margin: 0;
  padding: 20px 5.4%;
  border: 1px solid rgba(126, 217, 163, .2);
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background: rgba(7, 27, 19, .78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(18px);
}

.site-header::before,
.site-header::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(20px);
  opacity: .52;
}

.site-header::before {
  width: 42%;
  height: 170%;
  left: 13%;
  top: -42%;
  background: radial-gradient(ellipse, rgba(74, 205, 132, .34), rgba(25, 113, 71, .12) 42%, transparent 72%);
  animation: navbar-cloud-one 12s ease-in-out infinite alternate;
}

.site-header::after {
  width: 48%;
  height: 180%;
  right: 8%;
  top: -48%;
  background: radial-gradient(ellipse, rgba(156, 239, 185, .2), rgba(28, 136, 84, .1) 42%, transparent 72%);
  animation: navbar-cloud-two 16s ease-in-out infinite alternate;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.brand img {
  width: 138px;
}

.nav-links {
  gap: 24px;
}

.nav-links a {
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}

.nav-links a:not(.nav-cta):hover {
  color: #8fe0ad;
}

.nav-cta {
  padding: 11px 15px;
  border: 1px solid rgba(143, 224, 173, .25);
  border-radius: 999px;
  background: rgba(39, 142, 87, .7);
}

.nav-cta:hover {
  background: #38b879;
}

@keyframes navbar-cloud-one {
  from { transform: translate3d(-20%, 5%, 0) scale(1); }
  to { transform: translate3d(54%, -8%, 0) scale(1.35); }
}

@keyframes navbar-cloud-two {
  from { transform: translate3d(20%, 4%, 0) scale(1.08); }
  to { transform: translate3d(-54%, -10%, 0) scale(1.4); }
}

@media (prefers-reduced-motion: reduce) {
  .site-header::before,
  .site-header::after { animation: none; }
}

@media (max-width: 800px) {
  .site-header {
    min-height: 75px;
    height: 75px;
    margin: 0;
    padding: 16px 6%;
    border-radius: 0;
  }

  .brand img { width: 116px; }

  .nav-links {
    top: 75px;
    left: 0;
    right: 0;
    border: 1px solid rgba(126, 217, 163, .2);
    border-radius: 0;
    background: rgba(7, 27, 19, .96);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .22);
  }
}
