/*
  HEADER STYLES
  =============
  Announcement bar on top, then logo + nav + icons below.
*/

/*
  SKIP-TO-CONTENT LINK
  =====================
  This link exists for keyboard-only users to jump past the header.
  It should be invisible for everyone else, but pop into view the moment
  someone tabs to it with a keyboard -- never delete it, just hide it
  visually until it's needed.
*/
.skip-to-content-link {
  position: absolute;
  top: -100px; /* pushes it off-screen, above the visible page */
  left: 16px;
  z-index: 1000;
  background-color: #372345;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--font-body);
  transition: top 0.2s ease;
}

.skip-to-content-link:focus {
  top: 16px; /* slides into view only when keyboard-focused */
}

.announcement-bar {
  background-color: #f0e6ef;
  color: #372345;
  text-align: center;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background-color: #f0e6ef;
  color: #372345;
}

.site-header__logo {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  text-decoration: none;
  color: #372345;
  font-weight: 400;
}

.site-header__nav {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__nav a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-decoration: none;
  color: #372345;
}

.site-header__nav a:hover {
  opacity: 0.7;
}

.site-header__icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.site-header__icons button {
  background: none;
  border: none;
  cursor: pointer;
  color: #372345;
  display: flex;
}

.site-header__icons svg {
  width: 22px;
  height: 22px;
}

/* Hamburger menu button - hidden on desktop, shown on mobile */
.site-header__menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #372345;
}

@media (max-width: 900px) {
  .site-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #f0e6ef;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    z-index: 10;
  }

  .site-header__nav.is-open {
    display: flex;
  }

  .site-header__nav a {
    padding: 12px 40px;
  }

  .site-header__menu-toggle {
    display: flex;
  }

  .site-header {
    position: relative;
    padding: 16px 20px;
  }
}
