/* =========================================================
   Unified hamburger menu button (all pages)
   - Soft white 3-line icon (opacity ~0.92)
   - Faint black halo HUGGING THE LINES (no rectangular frame)
   - Quiet, ambient, non-button presence
   ========================================================= */
.header .menu-btn{
  width: auto !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #ffffff !important;
  mix-blend-mode: normal !important;
  opacity: 0.92;
  /* Faint black halo follows the alpha shape of the 3 lines.
     Kept very light so the icon doesn't feel like a UI button. */
  filter:
    drop-shadow(0 0 0.5px rgba(0,0,0,0.45))
    drop-shadow(0 0 1px   rgba(0,0,0,0.32));
  transition: opacity .2s ease, filter .2s ease;
}
.header .menu-btn:hover,
.header .menu-btn:focus-visible{
  opacity: 0.98;
}

/* Icon: 3 white lines, thin, calm spacing */
.header .menu-btn .lines,
.header .menu-btn .lines::before,
.header .menu-btn .lines::after{
  background: #ffffff !important;
  box-shadow: none !important;
}
.header .menu-btn .lines{
  display: block;
  position: relative;
  width: 20px;
  height: 1px;
}
.header .menu-btn .lines::before,
.header .menu-btn .lines::after{
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1px;
}
.header .menu-btn .lines::before{ top: -7px; }
.header .menu-btn .lines::after { top:  7px; }

/* Neutralize any per-page state-based color/blend overrides */
.header.past-hero .menu-btn,
body.has-dark-hero .header .menu-btn,
body.has-dark-hero.past-hero .header .menu-btn{
  color: #ffffff !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  mix-blend-mode: normal !important;
}
.header.past-hero .menu-btn .lines,
.header.past-hero .menu-btn .lines::before,
.header.past-hero .menu-btn .lines::after,
body.has-dark-hero .header .menu-btn .lines,
body.has-dark-hero .header .menu-btn .lines::before,
body.has-dark-hero .header .menu-btn .lines::after,
body.has-dark-hero.past-hero .header .menu-btn .lines,
body.has-dark-hero.past-hero .header .menu-btn .lines::before,
body.has-dark-hero.past-hero .header .menu-btn .lines::after{
  background: #ffffff !important;
}

/* PC (>=768px): hamburger is replaced by the inline nav, hide it entirely */
@media (min-width: 768px){
  .header .menu-btn,
  .header.past-hero .menu-btn,
  body.has-dark-hero .header .menu-btn,
  body.has-dark-hero.past-hero .header .menu-btn{
    display: none !important;
    padding: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
  }
}
