/* AuraSonics — compact top bar for phones and tablets (added 11-05-2026)
   At 1040px wide and narrower, every page gets the same slim bar:
     logo · "Request Briefing" button · menu button
   and the four page links open as a drop-down panel (mobile-menu.js).
   Wider screens are not affected.
   Selectors start with "html body" so they win over the older !important
   top-bar rules that are still inside each page. */

.menu-toggle{display:none}

@media (max-width:1040px){
  html{scroll-padding-top:62px!important}
  html body section[id],html body #inquire{scroll-margin-top:62px!important}

  html body .topbar{position:sticky!important;top:0!important;left:auto!important;right:auto!important;z-index:10000!important;width:100%!important;margin:0!important;padding:0!important;background:rgba(9,12,13,.97)!important;border-bottom:1px solid rgba(236,230,218,.12)!important;box-shadow:0 6px 18px rgba(0,0,0,.32)!important;-webkit-backdrop-filter:blur(12px)!important;backdrop-filter:blur(12px)!important}
  html body .topbar .wrap{position:relative!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;width:100%!important;max-width:none!important;min-height:56px!important;margin:0!important;padding:0 16px!important}
  html body .brand{display:block!important;flex:0 0 auto!important;font-size:1.05rem!important;line-height:1!important;letter-spacing:.03em!important;white-space:nowrap!important}

  html body .navwrap{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex:0 1 auto!important;width:auto!important;min-width:0!important}

  html body .cta-mini{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;width:auto!important;max-width:none!important;min-height:40px!important;padding:0 12px!important;font-size:.7rem!important;line-height:1!important;letter-spacing:.1em!important;white-space:nowrap!important;text-align:center!important;box-shadow:none!important}
  html body .cta-mini .cta-w2{display:none!important}

  html body .menu-toggle{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;flex:0 0 auto;min-width:44px;min-height:40px;margin:0;padding:0 12px;border:1px solid rgba(236,230,218,.30);border-radius:0;background:transparent;color:var(--bone,#ece6da);font-family:var(--mono,monospace);font-size:.7rem;line-height:1;letter-spacing:.14em;text-transform:uppercase;cursor:pointer;-webkit-tap-highlight-color:transparent}
  html body .menu-toggle:focus-visible{outline:2px solid var(--signal,#56e0c0);outline-offset:2px}
  html body .menu-icon{position:relative;display:block;width:16px;height:2px;background:currentColor}
  html body .menu-icon::before,html body .menu-icon::after{content:"";position:absolute;left:0;width:16px;height:2px;background:currentColor;transition:transform .2s ease}
  html body .menu-icon::before{top:-5px}
  html body .menu-icon::after{top:5px}
  html body .topbar.menu-open .menu-toggle{border-color:var(--arterial,#e1342a);color:var(--arterial,#e1342a)}
  html body .topbar.menu-open .menu-icon{background:transparent}
  html body .topbar.menu-open .menu-icon::before{transform:translateY(5px) rotate(45deg)}
  html body .topbar.menu-open .menu-icon::after{transform:translateY(-5px) rotate(-45deg)}

  /* The four page links stay hidden until the menu button is pressed. */
  html body .nav{display:none!important}
  html body .topbar.menu-open .nav{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;width:auto!important;margin:0!important;padding:4px 16px 16px!important;gap:0!important;overflow:visible!important;background:#0b0f10!important;border-bottom:1px solid rgba(236,230,218,.12)!important;box-shadow:0 18px 40px rgba(0,0,0,.55)!important;font-size:0!important;letter-spacing:normal!important;color:transparent!important}
  html body .topbar.menu-open .nav a{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex:0 0 auto!important;width:auto!important;min-height:48px!important;margin:8px 0 0!important;padding:0 16px!important;border:1px solid rgba(236,230,218,.14)!important;border-radius:0!important;background:rgba(236,230,218,.03)!important;color:var(--bone,#ece6da)!important;font-family:var(--mono,monospace)!important;font-size:.78rem!important;line-height:1.2!important;letter-spacing:.14em!important;text-transform:uppercase!important;text-align:left!important;text-decoration:none!important;white-space:nowrap!important;transform:none!important;box-shadow:none!important}
  html body .topbar.menu-open .nav a:hover,html body .topbar.menu-open .nav a:focus-visible{border-color:var(--signal,#56e0c0)!important;color:var(--signal,#56e0c0)!important}
  html body .topbar.menu-open .nav a.active{border-color:var(--arterial,#e1342a)!important;color:var(--arterial,#e1342a)!important;background:rgba(225,52,42,.10)!important}
}

/* Small phones: the button shows only the menu icon (it still says "Open menu" to screen readers). */
@media (max-width:480px){
  html body .menu-toggle .menu-word{display:none!important}
  html body .menu-toggle{padding:0 13px}
}

/* Very narrow phones: the red button just says "Briefing". */
@media (max-width:350px){
  html body .cta-mini .cta-w1{display:none!important}
  html body .brand{font-size:.95rem!important}
  html body .topbar .wrap{padding:0 12px!important}
}
