/* Shared Header A: owner-approved five-category menu, 17 October 2026.
   Layers: page 0; header 10, booking dock 20, open navigation 30.
   Within the header context: scrim -1 and panel 1; native dialogs remain above both.
   The approved logo is displayed through CSS windows without editing it. */
html:has(.bw-header) { scrollbar-gutter: stable; }
html:has(.bw-header .bw-disclosure[open]) { overflow: hidden; }
.bw-header {
  --bw-surface: var(--ground); --bw-paper: var(--paper); --bw-ink: var(--slate-deep);
  --bw-muted: var(--muted); --bw-rule: var(--steel); --bw-accent: var(--orange);
  --bw-header-height: 76px;
  position: relative; z-index: 10; min-width: 0; height: var(--bw-header-height);
  display: flex; align-items: center; gap: 32px;
  padding: 0 max(32px, calc((100vw - 1280px) / 2));
  color: var(--bw-ink); background: var(--bw-surface); border-bottom: 1px solid var(--bw-rule);
  font-family: var(--font-body);
}
.bw-header :is(summary, a) { -webkit-tap-highlight-color: transparent; }
.bw-header:has(.bw-disclosure[open]) { z-index: 30; }
.bw-header :focus-visible { outline: 2px solid var(--bw-ink); outline-offset: 4px; }
.bw-header ::selection { background: var(--bw-accent); color: #17363b; }
.bw-brand { display: flex; align-items: center; gap: 10px; flex: none; width: 196px; height: 48px; }
.bw-brand-mark, .bw-brand-name { position: relative; display: block; flex: none; overflow: hidden; }
.bw-brand-mark { width: 40px; height: 40px; }
.bw-brand-name { width: 146px; height: 23px; }
.bw-brand img { position: absolute; max-width: none; height: auto; mix-blend-mode: darken; }
.bw-brand-mark img { width: 109px; left: -35px; top: -10px; }
.bw-brand-name img { width: 246px; left: -50px; top: -114px; }
.bw-brand--inverse img { mix-blend-mode: lighten; }
.bw-main-nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin-left: auto; white-space: nowrap; height: 100%; }
.bw-main-nav > a, .bw-disclosure > summary { font-size: 16px; font-weight: 650; }
.bw-main-nav > a { display: flex; align-items: center; min-height: 44px; }
.bw-main-nav > a:hover { text-decoration: underline; text-underline-offset: 6px; }
.bw-main-nav > a[aria-current], .bw-mobile-secondary > a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.bw-disclosure > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 9px; list-style: none; }
.bw-disclosure > summary::-webkit-details-marker { display: none; }
.bw-disclosure > summary::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.bw-disclosure[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.bw-disclosure[open] > summary { text-decoration: underline; text-decoration-color: var(--bw-accent); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.bw-header-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.bw-help { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--bw-rule); min-height: 44px; padding: 0 17px; font-size: 15px; font-weight: 650; white-space: nowrap; }
.bw-help:hover { background: var(--bw-ink); color: var(--bw-paper); border-color: var(--bw-ink); }
.bw-mobile-menu, .bw-menu-close-label { display: none; }
.bw-panel {
  position: absolute; z-index: 1; top: calc(var(--bw-header-height) - 1px); left: 0; right: 0;
  max-height: calc(100dvh - var(--bw-header-height)); overflow-y: auto; overscroll-behavior: contain;
  padding: 38px max(32px, calc((100vw - 1456px) / 2)) 16px;
  color: var(--bw-ink); background: var(--bw-paper); border-bottom: 1px solid var(--bw-rule);
  scrollbar-color: var(--bw-muted) var(--bw-surface); scrollbar-width: thin;
}
.bw-panel h2 { margin: 0 0 12px; font-family: var(--font-body); font-size: 18px; line-height: 1.3; font-weight: 750; }
.bw-panel :focus-visible { outline-color: var(--bw-ink); }
.bw-category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.bw-category { display: block; min-width: 0; color: inherit; text-decoration: none; }
.bw-category-photo { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; background: var(--bw-surface); }
.bw-category-label { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-width: 0; min-height: 44px; padding-top: 14px; font-size: 18px; font-weight: 700; line-height: 1.35; white-space: normal; }
.bw-category-label > span:first-child { min-width: 0; }
.bw-nav-arrow {
  display: block; flex: none; width: 20px; height: 20px; margin-top: 2px; background: currentColor;
  mask: url('./assets/tabler/arrow-up-right.svg') center / contain no-repeat;
  transform: rotate(45deg);
}
.bw-category:hover .bw-category-label > span:first-child, .bw-all-activities:hover > span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.bw-category:active .bw-category-label, .bw-all-activities:active { background: var(--bw-surface); }
.bw-all-activities { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 56px; margin-top: 24px; padding-top: 10px; border-top: 1px solid var(--bw-rule); color: inherit; font-size: 17px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.bw-all-activities .bw-nav-arrow { margin-top: 0; }
.bw-menu-scrim { display: none; position: fixed; z-index: -1; inset: var(--bw-header-height) 0 0; background: rgb(15 35 38 / .56); }
.bw-header:has(.bw-disclosure[open]) .bw-menu-scrim { display: block; }
@media (min-width: 1024px) and (max-width: 1199px) {
  .bw-header { padding: 0 24px; gap: 22px; }
  .bw-main-nav { gap: 22px; }
  .bw-panel { padding-inline: 24px; }
  .bw-category-grid { gap: 16px; }
  .bw-category-label { font-size: 16px; gap: 8px; }
}
@media (max-width: 1023px) {
  .bw-header { --bw-header-height: 68px; padding: 0 24px; gap: 16px; }
  .bw-main-nav, .bw-header-actions > .bw-help { display: none; }
  .bw-header-actions { margin-left: auto; gap: 20px; }
  .bw-mobile-menu { display: block; }
  .bw-mobile-menu > summary { justify-content: center; min-width: 56px; font-size: 15px; }
  .bw-mobile-menu > summary::after { display: none; }
  .bw-mobile-menu[open] .bw-menu-open-label { display: none; }
  .bw-mobile-menu[open] .bw-menu-close-label { display: inline; }
  .bw-mobile-panel { left: auto; right: 24px; width: min(520px, calc(100vw - 48px)); padding: 22px 24px max(20px, env(safe-area-inset-bottom)); border: 1px solid var(--bw-rule); border-top: 0; }
  .bw-mobile-panel nav { min-width: 0; }
  .bw-mobile-categories { display: grid; gap: 4px; }
  .bw-mobile-panel .bw-category { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 14px; min-height: 64px; padding-block: 4px; }
  .bw-mobile-panel .bw-category-photo { width: 72px; height: 52px; aspect-ratio: auto; }
  .bw-mobile-panel .bw-category-label { align-items: center; min-height: 44px; padding-top: 0; font-size: 16px; line-height: 1.35; }
  .bw-mobile-panel .bw-nav-arrow { width: 18px; height: 18px; margin-top: 0; }
  .bw-mobile-panel .bw-all-activities { min-height: 48px; margin-top: 12px; padding-top: 6px; font-size: 16px; }
  .bw-mobile-secondary { display: flex; flex-direction: column; align-items: stretch; margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--bw-rule); }
  .bw-mobile-secondary > a { display: flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 650; }
  .bw-mobile-secondary > a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .bw-mobile-panel .bw-help { display: flex; width: 100%; margin-top: 12px; color: var(--bw-ink); border-color: var(--bw-rule); }
  .bw-mobile-panel .bw-help:hover { background: var(--bw-ink); color: var(--bw-paper); }
}
@media (max-width: 600px) {
  .bw-mobile-panel { left: 0; right: 0; width: auto; padding-inline: 20px; border-inline: 0; }
}
@media (max-width: 500px) {
  .bw-header { --bw-header-height: 64px; padding: 0 16px; gap: 10px; }
  .bw-brand { width: 157px; height: 44px; gap: 5px; }
  .bw-brand-mark { width: 32px; height: 32px; }
  .bw-brand-name { width: 120px; height: 19px; }
  .bw-brand-mark img { width: 88px; left: -28px; top: -8px; }
  .bw-brand-name img { width: 202px; left: -41px; top: -94px; }
  .bw-header-actions { gap: 14px; }
  .bw-mobile-panel { padding-top: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
  .bw-header a { transition: background-color 140ms ease-out, color 140ms ease-out; }
}
@media (forced-colors: active) {
  .bw-nav-arrow { background: CanvasText; forced-color-adjust: none; }
  .bw-menu-scrim { background: transparent; }
  .bw-panel { border: 1px solid CanvasText; }
}
