/* ==========================================================================
   NAV — sticky header (always visible)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: black;
  padding: 6px 4px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 4px;
  align-items: center;
}

.header__logo {
  grid-column: 1;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: -0.04em;
  color: white;
  text-decoration: none;
}

.header__cta {
  grid-column: 12;
  justify-self: start;
  display: flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  letter-spacing: -0.36px;
  color: white;
  text-decoration: none;
  transition: color 0.15s ease;
}

/* Dot pointer — collapses to zero width in default state */
.header__cta-pointer {
  display: flex;
  align-items: center;
  width: 0;
  overflow: hidden;
  transition: width 0.15s ease;
}

.header__cta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: white;
  flex-shrink: 0;
  margin-right: 3px; /* gap between dot and label */
  transition: background-color 0.15s ease;
}

/* Hovered — white dot slides in with 3px gap */
.header__cta:hover .header__cta-pointer {
  width: 9px; /* 6px dot + 3px margin-right */
}

/* Pressed — blue dot + blue text */
.header__cta:active {
  color: var(--color-bg-accent);
}

.header__cta:active .header__cta-pointer {
  width: 9px;
}

.header__cta:active .header__cta-dot {
  background-color: var(--color-bg-accent);
}

/* Mobile — collapse grid to flex */
@media (max-width: 899px) {
  .site-header {
    display: flex;
    justify-content: space-between;
  }
}
