/* ==========================================================================
   Site header — fixed variant for pages with no hero behind it. Content is
   pushed down by the header's height instead of sliding under it.

   Visually identical to header.css; kept self-contained because the cart,
   join and settings pages load this file on its own. Keep the two in sync.
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  /* No hero behind the header on these pages, so there is nothing to blur --
     an opaque bar avoids the per-frame compositor cost entirely. */
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: var(--page-max);
  margin-inline: auto;
  padding: 0 var(--gutter);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

/* No hero on these pages — clear the fixed bar */
body {
  padding-top: var(--header-h);
}

.logo {
  text-decoration: none;
  color: var(--ink);
}

.logo-text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: var(--step-0);
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  transition: color 0.18s ease, background-color 0.18s ease;
}

.site-nav a:hover {
  color: var(--ink);
  background-color: var(--accent-tint);
}

@media (max-width: 560px) {
  .logo-text {
    font-size: 1rem;
  }

  .site-nav a {
    padding: 0.5rem 0.6rem;
    font-size: var(--step--1);
  }
}
