/* Site header — sticky glass bar with logo, section links and the contact CTA */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid transparent;
  background: rgba(6, 13, 15, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.25rem;
}

.logo {
  display: block;
  flex-shrink: 0;
}
.logo__wordmark {
  width: 132px;
  height: auto;
}

.site-header__nav {
  display: none;
  gap: 2rem;
  margin-left: auto;
}
.site-header__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-header__link:hover {
  color: var(--ink);
}

/* Scroll-driven hairline: the bar gains an edge once the page moves under it */
@supports (animation-timeline: scroll()) {
  .site-header {
    animation: site-header-edge linear both;
    animation-timeline: scroll();
    animation-range: 0 120px;
  }
}
@keyframes site-header-edge {
  to {
    border-bottom-color: var(--line);
  }
}

@media (min-width: 768px) {
  .site-header__nav {
    display: flex;
  }
  .logo__wordmark {
    width: 150px;
  }
}
