/* ===== Site Header ===== */
.site-header {
  background-color: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-bar {
  width: 100%;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand / Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  letter-spacing: -0.015em;
  text-decoration: none;
  font-size: 1.25rem;
}


.brand span {
  text-transform: none;
  line-height: 1;
}


.brand img {
  display: block;
  width: 44px;
  height: 44px;
}

/* Main Navigation */
.main-menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 12rem;
  margin-right: 2rem;
}

.menu-link {
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  text-decoration: none;
  font-style: normal;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.menu-link:hover {
  color: #1ed760;
}

.menu-link:focus-visible {
  outline: 2px solid #1ed760;
  outline-offset: 2px;
  border-radius: 0.5rem;
}

/* Active Link State - italic and underlined */
.menu-link.active,
.menu-link.is-active {
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: #fff;
  padding: 0;
  border-radius: 0;
  cursor: pointer;
  font: inherit;
}

.nav-toggle {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .header-bar {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-menu {
    display: none;
  }

  .menu-link {
    font-size: 1rem;
  }
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.nav-overlay.is-open {
  display: flex;
}

.nav-overlay__panel {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 2.5rem 1.5rem;
  display: grid;
  gap: 1.25rem;
  text-align: center;
  align-content: center;
}

.nav-overlay__link {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 300;
  padding: 0.4rem 0.75rem;
  border-radius: 0;
  background: transparent;
}

.nav-overlay__link:hover,
.nav-overlay__link:focus-visible,
.nav-overlay__link:active {
  color: #1ed760;
}

body.nav-open {
  overflow: hidden;
}
