/* =========================================================
   NAVIGATION
========================================================= */

.site-nav {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;

  height: var(--nav-height);
  padding: 0 var(--page-pad);

  display: flex;
  align-items: center;

  border-bottom: 1px solid rgba(138, 190, 223, 0.08);
  background: linear-gradient(
    180deg,
    rgba(1, 9, 15, 0.84),
    rgba(1, 9, 15, 0.24)
  );
  backdrop-filter: blur(13px);

  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(2, 10, 17, 0.88);
  border-color: rgba(110, 178, 218, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(89, 187, 245, 0.38);
  border-radius: 11px;

  background:
    linear-gradient(145deg, rgba(28, 126, 191, 0.26), rgba(4, 20, 31, 0.82));

  color: #68c2f7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;

  box-shadow: 0 0 28px rgba(32, 141, 209, 0.09);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong {
  color: #f5fbff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.brand-copy strong span {
  color: var(--blue);
}

.brand-copy small {
  color: #56778d;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.nav-links {
  margin-left: auto;
  margin-right: 34px;

  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  position: relative;
  padding: 6px 0;

  color: #7893a4;
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.07em;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;

  width: 0;
  height: 1px;

  background: var(--blue);
  transition: width 0.22s ease;
}

.nav-links a:hover {
  color: white;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-toggle {
  width: 42px;
  height: 42px;

  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;

  border: 1px solid rgba(103, 178, 224, 0.12);
  border-radius: 9px;

  background: rgba(5, 20, 30, 0.7);
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 17px;
  height: 1px;
  background: #84a5b9;
}
