/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: var(--space-sm) var(--space-md);
  background: rgba(247, 245, 240, 0.72);
  border-bottom: 1px solid rgba(58, 46, 34, 0.08);
}

.site-header .site-name {
  font-family: var(--font-hand);
  font-size: 1.85rem;
  font-weight: 400;
  font-synthesis: none;
  color: var(--ink);
  text-decoration: none;
  transform: rotate(-2deg);
  display: inline-block;
}

.site-nav {
  display: flex;
  gap: var(--space-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  position: relative;
  font-family: var(--font-hand);
  font-size: 1.38rem;
  font-weight: 400;
  font-synthesis: none;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.2rem 0.6rem;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--rust);
}

/* tape-label look on nav items, alternating tilt */
.site-nav li:nth-child(odd) a {
  transform: rotate(-1.5deg);
}
.site-nav li:nth-child(even) a {
  transform: rotate(1.5deg);
}

.nav-toggle {
  display: none;
}

@media (max-width: 720px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(247, 245, 240, 0.92);
    padding: var(--space-sm);
    border-bottom: 1px solid rgba(58, 46, 34, 0.12);
  }
  .site-nav.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
    font-family: var(--font-hand);
    font-size: 1.7rem;
    font-weight: 400;
    font-synthesis: none;
  }
}

