/* One quiet menu control keeps the page open and navigation within reach. */
html{scroll-padding-top:88px}
html body .scroll-dock{position:fixed;z-index:20;top:max(16px,env(safe-area-inset-top));right:var(--page-gutter,var(--gutter,16px));display:block;width:fit-content;max-width:calc(100% - 32px);padding:0;border:0;border-radius:4px;background:#f1ede5f2;color:#2c3026;transform:translateY(-6px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity 180ms ease,transform 220ms cubic-bezier(.22,1,.36,1),visibility 180ms}
html body .scroll-dock.is-visible{transform:none;opacity:1;visibility:visible;pointer-events:auto}
html body .scroll-dock .scroll-dock-menu{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;margin:0;padding:10px 14px;border:0;border-radius:4px;background:transparent;color:#2c3026;font:500 14px/20px Inter,Arial,sans-serif;letter-spacing:0;white-space:nowrap;text-transform:uppercase;cursor:pointer;transition:background-color 180ms}
html body .scroll-dock .scroll-dock-menu:hover{background:#e4dfd3}
.scroll-dock-menu>span{display:flex;flex-direction:column;gap:4px;width:18px}.scroll-dock-menu i{display:block;height:1px;width:18px;background:currentColor}
html body .scroll-dock-menu:focus-visible{outline:2px solid #2c3026;outline-offset:3px}
@media(max-width:760px){html body .scroll-dock{top:max(12px,env(safe-area-inset-top));right:16px}}
@media(prefers-reduced-motion:reduce){html body .scroll-dock,html body .scroll-dock button{transition:none}}
/* Direct service routes at wide widths; the native menu remains the mobile entry. */
html body :is(.site-header,.bb-site-header) .service-nav{display:flex;align-items:center;gap:24px;margin-left:auto;margin-right:28px}
html body .service-nav a{display:inline-flex;align-items:center;min-height:44px;font:400 13px/1.3 Inter,Arial,sans-serif;color:inherit;opacity:.78;white-space:nowrap;text-decoration:none;transition:opacity 180ms}
html body .service-nav a:hover,html body .service-nav a:focus-visible,html body .service-nav a[aria-current]{opacity:1}
html body .service-nav a[aria-current]{font-weight:500}
@media(min-width:1200px){html body .service-nav~.bb-cart-link{margin-left:0;margin-right:24px}}
html body :is(.site-menu,.bb-menu-dialog) nav a[aria-current]{font-weight:500;color:var(--ink,#2c3026)}
html body main:focus{outline:none}
@media(max-width:1199px){html body :is(.site-header,.bb-site-header) .service-nav{display:none}}
@media(prefers-reduced-motion:reduce){html body .service-nav a{transition:none}}
@media(min-width:1200px){html body .site-header>.header-link{display:inline-flex;align-items:center;min-height:44px}}

/* Keep the logo on the page centerline while each side holds its own group. */
html body .balanced-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "services brand actions";
  align-items: center;
  gap: 12px;
  padding-block: 20px;
}
html body .balanced-header > :is(.wordmark,.bb-wordmark) {
  position: static;
  grid-area: brand;
  transform: none;
  justify-self: center;
}
html body .balanced-header > .service-nav {
  grid-area: services;
  gap: clamp(16px, 1.5vw, 28px);
  margin: 0;
}
html body .balanced-header :is(.service-nav a,.header-actions a) {
  font: 400 14px/1.3 Inter, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}
html body .balanced-header .service-nav a[aria-current] { font-weight: 500; }
html body .balanced-header .header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 24px;
}
html body .balanced-header .header-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  white-space: nowrap;
}
html body .balanced-header .header-actions a:hover { opacity: .78; }
html body .balanced-header .header-actions a:focus-visible,
html body .balanced-header .service-nav a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
html body .site-header.balanced-header .header-link::before { content: none; }

@media (min-width: 900px) {
  html body .balanced-header > .service-nav { display: flex; }
}
@media (width < 900px) {
  html body .balanced-header > .service-nav { display: none; }
  html body .balanced-header .header-enquire {
    position: absolute;
    inset-inline-start: var(--page-gutter, var(--gutter, 16px));
    top: 50%;
    transform: translateY(-50%);
  }
  html body .balanced-header .header-actions { gap: 12px; }
}
@media (max-width: 760px) {
  html body .balanced-header { padding-block: 16px; }
}
@media (max-width: 420px) {
  html body .balanced-header { gap: 8px; }
  html body .balanced-header > :is(.wordmark,.bb-wordmark) {
    width: 80px !important;
    height: 80px !important;
  }
  html body .balanced-header .header-actions { gap: 4px; }
  .balanced-header:has(.bb-cart-link) .header-menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
/* The old shop layout uses two utility rows at this width. */
@media (max-width: 360px) {
  html body:has(main.shell[data-page]) .bb-site-header.balanced-header {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: "services brand actions";
    gap: 8px;
  }
}
