/* Header, wordmark, footer. */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  pointer-events: none;
}

.site-header a,
.site-header button {
  pointer-events: auto;
}

.nav__actions,
.hero__actions,
.card__actions,
.confirm-actions,
.wish-list__actions,
.step-move {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas:
    ". logo actions"
    "switch switch switch";
  align-items: center;
  gap: 0.15rem 1rem;
  padding: 0.7rem 1.4rem 0.2rem;
  background: transparent;
  border-bottom: 0;
}

.switcher {
  grid-area: switch;
  display: flex;
  justify-content: center;
  justify-self: center;
  gap: 1.6rem;
  padding-bottom: 0.35rem;
}

.switcher__tab {
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--burgundy-primary);
  min-height: 44px;
  padding: 0.45rem 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.switcher__tab.is-selected {
  background: transparent;
  color: var(--burgundy-primary);
  border-bottom-color: var(--burgundy-primary);
}

#header-cta {
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: var(--burgundy-primary);
  min-height: 44px;
  padding: 0.2rem 0;
}

.wordmark {
  display: grid;
  justify-items: center;
  max-width: 100%;
  color: var(--burgundy-primary);
  font-family: var(--font-script);
  grid-area: logo;
  font-size: clamp(2.15rem, 4vw, 3rem);
  line-height: 0.72;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
}

.wordmark--on-dark { color: var(--bg-blush-primary); }

.nav__actions { grid-area: actions; justify-self: end; }

.wish-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: var(--burgundy-primary);
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 500;
}

.wish-btn__count {
  display: grid;
  place-items: center;
  min-width: 1.7rem;
  height: 1.7rem;
  border-radius: var(--radius-pill);
  background: var(--burgundy-primary);
  color: var(--bg-blush-primary);
  font-family: var(--font-mono);
  letter-spacing: 0;
}

.site-footer {
  background: var(--burgundy-darkest);
  color: var(--bg-blush-primary);
  padding: var(--space-7) 0;
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--space-6);
  min-width: 0;
}

.footer__links { display: grid; gap: 0.35rem; text-align: right; }

.site-footer a { display: block; text-underline-offset: 0.2em; }

.site-footer p { margin: 0; }
