/* Top bar: logo + all links (Home, Location, Menu, Call) + sound button. Shared by index.html and menu.html.
   Sizes are fixed px so the bar is identical on every page, whatever the page's root font size is.
   The previous full-screen nav is archived in archive/nav/. */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 10000; pointer-events: none; font-size: 16px; }
.topbar__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 20px 32px; }
.topbar__actions { display: flex; align-items: center; gap: 8px; }
.topbar__list { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }

.topbar__logo, .topbar__link, .topbar__sound {
  pointer-events: auto; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  height: 48px; color: #231f20; background: #f9eadf; border: 2px solid #231f20; text-decoration: none;
  font: 700 12.8px/1 "Helvetica Neue", "Nimbus Sans", Helvetica, Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase;
  transition: background-color .3s, color .3s;
}
.topbar__logo { padding: 0 17px; }
.topbar__link { padding: 0 17px; }
.topbar__sound { width: 48px; padding: 0; cursor: pointer; }
.topbar__sound svg { width: 24px; height: 24px; }
.topbar__sound-slash, .topbar__music-slash { display: none; }
.topbar__music[data-music-status="off"] .topbar__music-slash { display: block; }
.topbar__sound[data-sound-status="off"] .topbar__sound-slash { display: block; }
.topbar__sound[data-sound-status="off"] .topbar__sound-waves { display: none; }

/* Hover / focus: colour swap only. The page you are on is shown filled. */
.topbar :is(.topbar__logo, .topbar__link, .topbar__sound):is(:hover, :focus-visible),
.topbar__link[aria-current="page"] { color: #f9eadf; background: #231f20; }
.topbar :is(.topbar__logo, .topbar__link, .topbar__sound):focus-visible { outline: 3px solid #231f20; outline-offset: 3px; }

/* Phones: the four links and the sound button share one row, logo hidden (Home does its job) */
@media (max-width: 760px) {
  .topbar__bar { padding: 12px; justify-content: center; }
  .topbar__logo { display: none; }
  .topbar__actions { gap: 6px; width: 100%; justify-content: space-between; }
  .topbar__list { gap: 6px; }
  .topbar__link, .topbar__sound { height: 42px; }
  .topbar__link { padding: 0 7px; font-size: 11px; }
  .topbar__sound { width: 42px; flex: 0 0 42px; }
  .topbar__sound svg { width: 21px; height: 21px; }
}
