/* FYRE mobile menu: hamburger + full-screen overlay for screens 900px and under */
.fyre-burger { display: none; }

@media (max-width: 900px) {
  nav .nav-logo { position: relative; z-index: 3; }

  nav, nav.site-nav, nav#mainNav {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0 !important;
  }
  body.fyre-menu-open nav {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000 !important;
  }

  .fyre-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    margin-right: -10px;
    background: transparent;
    border: 0;
    cursor: pointer;
    position: relative;
    z-index: 3;
    -webkit-tap-highlight-color: transparent;
  }
  .fyre-burger span {
    display: block;
    height: 1px;
    width: 100%;
    background: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  body.fyre-menu-open .fyre-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.fyre-menu-open .fyre-burger span:nth-child(2) { opacity: 0; }
  body.fyre-menu-open .fyre-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  nav .nav-links {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 90px 24px 40px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: #0d0d0d;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  body.fyre-menu-open nav .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  nav .nav-links a {
    font-size: 1rem;
    letter-spacing: 0.25em;
    padding: 6px 12px;
  }
  body.fyre-menu-open { overflow: hidden; }

  /* Footer links were wider than a phone screen, which widened the whole page and pushed the menu button off-screen */
  .footer-links {
    flex-wrap: wrap;
    gap: 12px 24px;
  }
}
