/* Shared Binbin masthead. The logo and corridor photograph use the original site assets. */
:root {
  --bth-nav-height: 76px;
  --bth-ink: #102b30;
  --bth-green: #16373b;
  --bth-text: #19383c;
  --bth-gold: #edc676;
  --bth-rule: #d7d5c8;
  --bth-page: #faf8f0;
  --bth-gutter: var(--pad, clamp(20px, 5vw, 96px));
}
.bth-masthead, .bth-utility, .bth-masthead *, .bth-utility * { box-sizing: border-box; }
.bth-utility, .bth-masthead { font-family: Inter, "Helvetica Neue", Arial, sans-serif; }
.bth-utility {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #eeede3; color: #304a4b; padding: 6px var(--bth-gutter);
  font-size: 12px; line-height: 1.3;
}
.bth-location, .bth-contacts { display: flex; align-items: center; }
.bth-location { gap: 9px; font-weight: 650; }
.bth-location i {
  display: block; width: 10px; height: 10px; border: 1.5px solid #805b1f;
  border-radius: 50% 50% 50% 1px; transform: translateY(-1px) rotate(-45deg); position: relative;
}
.bth-location i::after {
  content: ""; width: 3px; height: 3px; border-radius: 50%; background: #805b1f;
  position: absolute; left: 2px; top: 2px;
}
.bth-contacts { gap: 16px; }
.bth-contacts a { color: inherit; text-decoration: none; font-variant-numeric: tabular-nums; }
.bth-contacts a + a { border-left: 1px solid #bbbfb3; padding-left: 16px; }
.bth-contacts a:hover { text-decoration: underline; text-underline-offset: 3px; }

.bth-masthead {
  position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 24;
  background: var(--bth-ink); color: #fff; border-bottom: 1px solid #49615d;
}
.bth-bar {
  min-height: 75px; padding: 0 var(--bth-gutter); display: flex; align-items: center; gap: clamp(18px, 3.4vw, 62px);
}
.bth-brand { display: block; flex: 0 0 99px; height: 64px; }
.bth-brand span { display: block; height: 100%; background: var(--img-logo) left center / contain no-repeat; }
.bth-navigation {
  margin-left: auto; display: flex; align-items: center; gap: clamp(17px, 2.3vw, 41px); align-self: stretch;
}
.bth-link {
  display: inline-flex; align-items: center; gap: 8px; position: relative; height: 100%;
  font: 600 15px/1.25 Inter, "Helvetica Neue", Arial, sans-serif; color: #f5f6ed; white-space: nowrap;
  text-decoration: none; list-style: none; cursor: pointer;
}
.bth-link::after {
  content: ""; height: 2px; position: absolute; left: 0; right: 0; bottom: 13px;
  background: var(--bth-gold); transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
.bth-masthead a:hover, .bth-link:hover { text-decoration: none; }
.bth-link:hover::after, .bth-link[aria-current]::after,
.bth-current-group > .bth-link::after, .bth-services[open] > .bth-link::after { transform: scaleX(1); }
.bth-link:hover, .bth-link[aria-current], .bth-current-group > summary, .bth-services[open] > summary { color: var(--bth-gold); }
.bth-services { align-self: stretch; }
.bth-services > summary::-webkit-details-marker { display: none; }
.bth-chevron {
  display: inline-block; width: 7px; height: 7px; flex: none; border: solid currentColor;
  border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform .18s ease;
}
.bth-services[open] > summary .bth-chevron { transform: translateY(2px) rotate(225deg); }
.bth-quote, .bth-mobile-quote {
  display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 3px;
  background: var(--bth-gold); color: #163336; font-size: 15px; font-weight: 750; line-height: 1.2;
  padding: 0 21px; min-height: 44px; text-decoration: none; white-space: nowrap;
}
.bth-quote:hover, .bth-mobile-quote:hover { background: #ffdb8f; color: #112a2e; }
.bth-mobile-quote, .bth-mobile-toggle { display: none; }
.bth-masthead :is(a, button, summary):focus-visible { outline: 3px solid #eabc55; outline-offset: 3px; }
.bth-masthead .bth-link:focus-visible { outline-offset: -4px; }

.bth-mega {
  position: absolute; top: 100%; left: 0; right: 0;
  max-height: calc(100dvh - var(--bth-nav-height) - 80px); overflow: auto; overscroll-behavior: contain;
  background: var(--bth-page); color: var(--bth-text); border-bottom: 2px solid #b9893a;
  box-shadow: 0 19px 28px -15px rgba(8, 28, 29, .48);
}
.bth-mega-inner { padding: clamp(22px, 2.4vw, 39px) var(--bth-gutter); display: grid; grid-template-columns: 1.85fr 1fr; gap: clamp(29px, 5vw, 90px); align-items: stretch; }
.bth-directory-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 23px; }
.bth-directory-head h2 { color: var(--bth-text); margin: 0; padding: 0; font: 650 clamp(28px, 2.6vw, 42px)/1.05 Inter, "Helvetica Neue", Arial, sans-serif; letter-spacing: -.055em; }
.bth-index-link { font-size: 14px; font-weight: 700; line-height: 1.3; text-decoration: underline; text-decoration-color: #a07830; text-underline-offset: 4px; color: var(--bth-text); }
.bth-index-link:hover, .bth-index-link[aria-current] { color: #73500e; text-decoration: underline; }
.bth-groups { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 60px); }
.bth-group h3 { margin: 0 0 4px; padding: 0 0 10px; border-bottom: 1px solid #abae9d; color: #785824; font: 700 12px/1.4 "IBM Plex Mono", "Courier New", monospace; letter-spacing: .075em; text-transform: uppercase; }
.bth-group ul { list-style: none; padding: 0; margin: 0; }
.bth-group li { margin: 0; padding: 0; }
.bth-group li + li { border-top: 1px solid #dddcd0; }
.bth-service-link { padding: 10px 4px 9px 0; display: block; text-decoration: none; color: var(--bth-text); transition: background-color .15s ease; }
.bth-service-link strong { display: block; font-size: 17px; font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
.bth-service-link small { display: block; color: #4b605c; margin-top: 3px; font-size: 13px; line-height: 1.35; }
.bth-service-link:hover, .bth-service-link[aria-current] { background: #efe9d7; color: #365247; }
.bth-journey {
  position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start;
  justify-content: flex-end; gap: 9px; padding: clamp(21px, 2vw, 32px); min-height: 215px; overflow: hidden;
  background: #243e3d; color: #fff; text-decoration: none; border-radius: 3px;
}
.bth-journey::before, .bth-journey::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.bth-journey::before { background: var(--img-route) 60% center / cover no-repeat; transition: transform .26s ease; }
.bth-journey::after { background: linear-gradient(0deg, rgba(8, 29, 30, .97), rgba(8, 29, 30, .65) 34%, rgba(8, 29, 30, .02) 80%); }
.bth-journey:hover::before { transform: scale(1.025); }
.bth-journey span { color: #fff; font-size: clamp(24px, 2.45vw, 40px); font-weight: 650; line-height: 1.05; letter-spacing: -.045em; }
.bth-journey small { font-size: 14px; color: #ffdf9d; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }

body:has(.bth-masthead) .localnav { top: calc(var(--bth-nav-height) + var(--wp-admin--admin-bar--height, 0px)); }
body:has(.bth-masthead) .long-section { scroll-margin-top: calc(var(--bth-nav-height) + var(--wp-admin--admin-bar--height, 0px) + 58px); }
.bth-skip { position:absolute; left:-200vw; }
.bth-skip:focus { left:12px; top:8px; z-index:90; background:white; color:#102b30; padding:12px; }

@media (max-width: 960px) {
  :root { --bth-nav-height: 65px; }
  .bth-bar { min-height: 64px; gap: clamp(8px, 2vw, 18px); }
  .bth-brand { flex-basis: 79px; height: 53px; margin-right: auto; }
  .bth-quote { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .bth-mobile-toggle {
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    border: 1px solid #637a74; color: #fff; border-radius: 3px; min-height: 42px;
    padding: 0 11px; background: transparent; font: 650 14px/1.1 Inter, Arial, sans-serif;
  }
  .bth-lines { position: relative; height: 12px; width: 15px; display: inline-block; }
  .bth-lines::before, .bth-lines::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .17s ease, top .17s ease; }
  .bth-lines::before { top: 3px; }
  .bth-lines::after { top: 9px; }
  .bth-open .bth-lines::before { top: 6px; transform: rotate(45deg); }
  .bth-open .bth-lines::after { top: 6px; transform: rotate(-45deg); }
  .bth-navigation {
    position: absolute; top: 100%; right: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bth-page); color: var(--bth-text); padding: 6px var(--bth-gutter) 17px;
    border-bottom: 2px solid #b9893a; box-shadow: 0 18px 26px -14px rgba(8,28,29,.5);
    max-height: calc(100vh - var(--bth-nav-height) - 32px);
    max-height: calc(100dvh - var(--bth-nav-height) - 32px); overflow-y: auto; overscroll-behavior: contain;
  }
  .bth-enhanced:not(.bth-open) .bth-navigation { display: none; }
  .bth-link { width: 100%; min-height: 48px; height: auto; justify-content: space-between; color: var(--bth-text); border-bottom: 1px solid var(--bth-rule); font-size: 18px; letter-spacing: -.02em; font-weight: 650; }
  .bth-link::after { display: none; }
  .bth-link:hover, .bth-link[aria-current], .bth-current-group > summary, .bth-services[open] > summary { color: #775315; }
  .bth-masthead .bth-link:focus-visible { outline-offset:-2px; }
  .bth-mobile-quote { display: flex; margin-top: 14px; }
  .bth-mega { position: static; overflow: visible; max-height: none; box-shadow: none; border: 0; }
  .bth-mega-inner { padding: 16px 10px 10px; display: block; }
  .bth-directory-head { margin: 0 0 16px; }
  .bth-directory-head h2 { display: none; }
  .bth-index-link { font-size: 15px; }
  .bth-groups { gap: 20px; }
  .bth-group h3 { font-size: 11px; padding-bottom: 6px; }
  .bth-service-link { padding: 9px 2px 10px 0; }
  .bth-service-link strong { font-size: 15px; }
  .bth-service-link small { font-size: 13px; }
  .bth-journey { display: none; }
  .bth-masthead:not(.bth-enhanced) { position: relative; }
  .bth-masthead:not(.bth-enhanced) .bth-mobile-toggle { display: none; }
  .bth-masthead:not(.bth-enhanced) .bth-bar { flex-wrap: wrap; padding-top: 6px; }
  .bth-masthead:not(.bth-enhanced) .bth-navigation { position: static; flex-basis: 100%; order: 3; max-height: none; }
}
@media (max-width: 530px) {
  .bth-utility { font-size: 11px; }
  .bth-contacts a:first-child { display: none; }
  .bth-contacts a + a { padding: 0; border: 0; }
  .bth-groups { grid-template-columns: 1fr; gap: 13px; }
  .bth-group small { display: none; }
  .bth-service-link { min-height: 44px; display:flex; align-items:center; }
}
@media (max-width: 355px) {
  .bth-bar { padding-inline: 12px; gap: 7px; }
  .bth-brand { flex-basis: 70px; }
  .bth-quote, .bth-mobile-toggle { padding-inline: 9px; }
}
@media print {
  .bth-masthead, body:has(.bth-masthead) .localnav { position: static; }
  .bth-mega, .bth-mobile-toggle { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .bth-masthead *, .bth-masthead *::before, .bth-masthead *::after { transition: none !important; }
}
body.proof .bth-masthead, body.proof:has(.bth-masthead) .localnav { position: static; }
