/* BMS-HEADER-UNIFY-1 (2026-11-23). One header on every page: the theme's site-header pattern prints the homepage header
   (bms_h26_header) inside <div class="bh26 bh26-shell">. These rules are the homepage header rules from home.css, scoped
   to .bh26-shell so the homepage and mood pages (which style the header with home.css / mood.css) are not changed.
   On theme pages the header is always in its "stuck" look (solid navy, blur, hairline) and position:sticky, so it stays
   at the top while scrolling and needs no body padding. ROLLBACK: delete this file (theme pages go back to the old header). */
@font-face{font-family:Jost;src:url('../../../themes/buildmyscent/assets/fonts/Jost.woff2') format('woff2');font-weight:300 700;font-display:swap}

/* the wrappers must not be the sticky header's containing box, or it can only stick inside its own height */
.wp-block-template-part:has(> .bh26-shell),.bh26.bh26-shell{display:contents}

.bh26-shell{--navy:#112632;--navy-rgb:17,38,50;--ink:#F5F1E9;--sub:#B9C3CB;--muted:#9AA6B0;--gold:#E2B26A;
  --rule:rgba(226,178,106,.28);--rule-soft:rgba(245,241,233,.12);--wrap:1200px;--gut:96px;
  --sans:Jost,'Helvetica Neue',Arial,sans-serif;
  color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
.bh26-shell *{box-sizing:border-box;margin:0;padding:0}
.bh26-shell img{display:block;max-width:100%}
.bh26-shell a{color:inherit;text-decoration:none}
.bh26-shell .wrap{max-width:calc(var(--wrap) + 2*var(--gut));margin:0 auto;padding:0 var(--gut)}

.bh26-shell .hdr,.bh26-shell .hdr.is-stuck{position:-webkit-sticky;position:sticky;top:0;left:auto;right:auto;z-index:100;
  color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.65;
  background:rgba(var(--navy-rgb),.94);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--rule-soft);transition:background-color .3s ease}
.bh26-shell .hdr .wrap{display:flex;align-items:center;justify-content:space-between;height:88px}
.bh26-shell .logo{display:inline-flex;align-items:center;min-height:44px}
.bh26-shell .logo img{height:22px;width:auto}
.bh26-shell .logo:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
.bh26-shell .right{display:flex;align-items:center;gap:28px}

.bh26-shell .nav{display:flex;gap:36px;font:400 13px/1 var(--sans);letter-spacing:.08em;color:var(--sub)}
.bh26-shell .nav ul{list-style:none;display:flex;gap:36px;align-items:center;margin:0;padding:0}
.bh26-shell .nav li{position:relative}
.bh26-shell .nav a,.bh26-shell .nav button{font:inherit;letter-spacing:inherit;color:inherit;background:none;border:0;cursor:pointer;display:inline-flex;align-items:center;min-height:24px;gap:6px;padding:0;text-transform:none;box-shadow:none;border-radius:0}
.bh26-shell .nav a:hover,.bh26-shell .nav button:hover,.bh26-shell .nav a[aria-current="page"]{color:var(--ink)}
.bh26-shell .nav a:focus-visible,.bh26-shell .nav button:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
.bh26-shell .nav .caret{width:6px;height:6px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg) translateY(-2px)}
.bh26-shell .nav .sub{display:none;position:absolute;top:calc(100% + 14px);left:-18px;min-width:240px;flex-direction:column;align-items:flex-start;gap:0;padding:10px 0;background:rgba(17,38,50,.97);border:1px solid var(--rule-soft);border-radius:6px;box-shadow:0 12px 32px rgba(0,0,0,.35)}
.bh26-shell .nav .sub.is-open{display:flex}
.bh26-shell .nav .sub a{display:flex;width:100%;padding:10px 18px;min-height:44px}

.bh26-shell .pill{display:inline-flex;align-items:center;height:40px;padding:0 22px;border:1px solid var(--gold);border-radius:999px;color:var(--gold);font:500 12px/1 var(--sans);letter-spacing:.16em;text-transform:uppercase;
  background:rgba(var(--navy-rgb),.6);box-shadow:0 0 16px rgba(226,178,106,.40);transition:box-shadow .3s ease,background-color .3s ease,color .3s ease}
.bh26-shell .pill:hover,.bh26-shell .pill:focus-visible{box-shadow:0 0 20px rgba(226,178,106,.60);background:rgba(226,178,106,.10);color:#F0C988}
.bh26-shell .pill:focus-visible{outline:2px solid #F5F1E9;outline-offset:3px}
.bh26-shell .pill.is-pulsing{animation:bms-connect-pulse 1.6s ease-in-out 1}
@keyframes bms-connect-pulse{0%,100%{box-shadow:0 0 16px rgba(226,178,106,.40);transform:scale(1)}50%{box-shadow:0 0 22px rgba(226,178,106,.65);transform:scale(1.02)}}

.bh26-shell .menu{display:none;background:transparent;cursor:pointer;width:40px;height:40px;min-width:44px;min-height:44px;border:1px solid var(--rule-soft);border-radius:999px;align-items:center;justify-content:center;padding:0}
.bh26-shell .menu span{display:block;width:16px;height:1px;background:var(--ink);box-shadow:0 5px 0 var(--ink),0 -5px 0 var(--ink)}
.bh26-shell .menu:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

@media (max-width:900px){
.bh26-shell{--gut:24px}
.bh26-shell .hdr .wrap{height:72px}
.bh26-shell .logo img{height:16px}
.bh26-shell .nav{display:none}
.bh26-shell .right{gap:10px}
.bh26-shell .pill{height:36px;padding:0 14px;font-size:11px;letter-spacing:.12em}
.bh26-shell .menu{display:inline-flex;width:44px;height:44px}
.bh26-shell .nav.is-open{display:block;position:absolute;top:100%;left:0;right:0;background:rgba(17,38,50,.98);border-bottom:1px solid var(--rule-soft);padding:8px 24px 20px;max-height:calc(100vh - 72px);overflow-y:auto}
.bh26-shell .nav.is-open ul{flex-direction:column;align-items:stretch;gap:0}
.bh26-shell .nav.is-open a,.bh26-shell .nav.is-open button{display:flex;width:100%;min-height:44px;font-size:15px;justify-content:space-between}
.bh26-shell .nav.is-open .sub{position:static;display:flex;border:0;box-shadow:none;background:none;padding:0 0 6px 14px;min-width:0}
.bh26-shell .nav.is-open .sub a{padding:0;font-size:14px}
.bh26-shell .nav.is-open .caret{display:none}
.bh26-shell .hdr.is-menu{background:rgba(17,38,50,.98)}}

@media (prefers-reduced-motion:reduce){.bh26-shell .hdr,.bh26-shell .pill{transition:none}.bh26-shell .pill.is-pulsing{animation:none}}

/* mobile menu open: hide the floating AI scent concierge launcher, as on the homepage */
body:has(.bh26-shell .nav.is-open) .bms-chat-launcher{display:none}

/* WP admin bar (logged-in only): keep the header below it. Under 601px the admin bar scrolls away, so no offset there. */
@media (min-width:601px){
body.admin-bar .bh26-shell .hdr{top:var(--wp-admin--admin-bar--height,32px)}
body.admin-bar .bh26 .hdr.is-stuck{top:var(--wp-admin--admin-bar--height,32px)}}
