.bhf-header {
  position: relative;
  z-index: 999;
  background: rgba(247, 242, 232, .97);
  border-bottom: 1px solid var(--bh-border, rgba(28,43,74,.14));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.bhf-header--sticky { position: sticky; top: 0; }
.bhf-header__inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: minmax(170px, 250px) 1fr;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}
.bhf-brand { display: flex; align-items: center; min-width: 0; }
.bhf-logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.bhf-logo { display: block; width: auto; object-fit: contain; }
.bhf-logo--header { max-width: 230px; max-height: 56px; }
.bhf-logo--footer { max-width: 250px; max-height: 74px; }
.bhf-brand .custom-logo-link { display: inline-flex; }
.bhf-brand .custom-logo { width: auto; max-height: 52px; }
.bhf-brand__text {
  color: var(--bh-navy, #1C2B4A);
  font-family: var(--bh-heading-font, Georgia, serif);
  font-size: 1.7rem;
  font-weight: 700;
  text-decoration: none;
}
.bhf-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(18px, 2vw, 30px); }
.bhf-menu, .bhf-menu ul, .bhf-footer__links { margin: 0; padding: 0; list-style: none; }
.bhf-menu { display: flex; align-items: center; gap: clamp(14px, 1.75vw, 28px); }
.bhf-menu > li { position: relative; }
.bhf-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--bh-navy, #1C2B4A);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
}
.bhf-menu a:hover, .bhf-menu .current-menu-item > a, .bhf-menu .current-menu-ancestor > a { color: #9B7712; }
.bhf-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  padding: 14px;
  border: 1px solid var(--bh-border, rgba(28,43,74,.16));
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(28,43,74,.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.bhf-menu li:hover > .sub-menu,
.bhf-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bhf-menu .sub-menu a { display: flex; padding: 7px 10px; border-radius: 10px; }
.bhf-menu .sub-menu a:hover { background: var(--bh-cream, #F7F2E8); }

/* Add CSS class "mega-menu" to a top-level WordPress menu item to opt into a wide dropdown. */
.bhf-menu > li.mega-menu { position: static; }
.bhf-menu > li.mega-menu > .sub-menu {
  left: 50%;
  width: min(900px, calc(100vw - 48px));
  transform: translate(-50%, 8px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 20px;
}
.bhf-menu > li.mega-menu:hover > .sub-menu,
.bhf-menu > li.mega-menu:focus-within > .sub-menu { transform: translate(-50%, 0); }

.bhf-cta {
  flex: 0 0 auto;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.2rem;
  border: 1px solid rgba(28,43,74,.08);
  border-radius: 999px;
  background: var(--bh-gold, #E8B840);
  color: var(--bh-navy, #1C2B4A);
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.bhf-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(232,184,64,.24); background: #f0c85f; }
.bhf-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.bhf-toggle span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; background: var(--bh-navy, #1C2B4A); transition: .2s ease; }

.bhf-footer {
  position: relative;
  overflow: hidden;
  background: var(--bh-navy, #1C2B4A);
  color: #fff;
  padding: clamp(70px, 8vw, 112px) 0 26px;
}
.bhf-footer::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -180px;
  top: -220px;
  border: 1px solid rgba(232,184,64,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(232,184,64,.025), 0 0 0 144px rgba(232,184,64,.02);
  pointer-events: none;
}
.bhf-footer a { color: #fff; }
.bhf-footer__cta-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(58px, 7vw, 90px);
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(232,184,64,.28);
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(232,184,64,.13), rgba(255,255,255,.035));
}
.bhf-footer__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--bh-gold, #E8B840);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.bhf-footer__cta-card h2 {
  margin: 0;
  color: #fff;
  font-family: var(--bh-heading-font, Georgia, serif);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.08;
}
.bhf-footer__cta {
  flex: 0 0 auto;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .82rem 1.35rem;
  border-radius: 999px;
  background: var(--bh-gold, #E8B840);
  color: var(--bh-navy, #1C2B4A) !important;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.bhf-footer__cta:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.bhf-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 1.55fr) repeat(3, minmax(140px, .72fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.bhf-footer__brand { min-width: 0; }
.bhf-footer__logo { margin-bottom: 22px; }
.bhf-footer__statement {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--bh-heading-font, Georgia, serif);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 600;
}
.bhf-footer__description {
  max-width: 520px;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 1rem;
  line-height: 1.7;
}
.bhf-footer__contact { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; }
.bhf-footer__contact a { color: rgba(255,255,255,.84); text-decoration: none; }
.bhf-footer__contact a:hover { color: var(--bh-gold, #E8B840); }
.bhf-footer__column h3 {
  margin: 4px 0 18px;
  color: var(--bh-gold, #E8B840);
  font-family: var(--bh-body-font, Arial, sans-serif);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.bhf-footer__links { display: grid; gap: 10px; }
.bhf-footer__links a,
.bhf-footer__placeholder {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  color: rgba(255,255,255,.76);
  font-size: .97rem;
  line-height: 1.45;
  text-decoration: none;
}
.bhf-footer__links a:hover { color: #fff; transform: translateX(2px); }
.bhf-footer__placeholder { cursor: default; }
.bhf-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.bhf-socials a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.bhf-socials a:hover { background: var(--bh-gold, #E8B840); border-color: var(--bh-gold, #E8B840); transform: translateY(-2px); }
.bhf-socials svg { width: 18px; height: 18px; fill: currentColor; }
.bhf-socials a:hover { color: var(--bh-navy, #1C2B4A); }
.bhf-footer__bottom {
  position: relative;
  z-index: 1;
  margin-top: clamp(54px, 6vw, 76px);
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.13);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: rgba(255,255,255,.52);
  font-size: .88rem;
}
.bhf-back-to-top { color: rgba(255,255,255,.74) !important; font-weight: 700; text-decoration: none; }
.bhf-back-to-top:hover { color: var(--bh-gold, #E8B840) !important; }

@media (max-width: 1120px) {
  .bhf-footer__grid { grid-template-columns: 1.35fr repeat(3, minmax(120px, .7fr)); gap: 30px; }
}

@media (max-width: 1040px) {
  .bhf-header__inner { grid-template-columns: 1fr auto; min-height: 78px; }
  .bhf-logo--header { max-width: 205px; max-height: 50px; }
  .bhf-toggle { display: block; }
  .bhf-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    padding: 18px var(--bh-gutter, 24px) 26px;
    background: var(--bh-cream, #F7F2E8);
    border-bottom: 1px solid var(--bh-border, rgba(28,43,74,.16));
    box-shadow: 0 18px 36px rgba(28,43,74,.10);
  }
  .bhf-nav.is-open { display: block; }
  .bhf-menu { display: block; }
  .bhf-menu > li { border-bottom: 1px solid rgba(28,43,74,.09); }
  .bhf-menu a { width: 100%; min-height: 52px; }
  .bhf-menu .sub-menu,
  .bhf-menu > li.mega-menu > .sub-menu {
    position: static;
    width: auto;
    min-width: 0;
    padding: 0 0 12px 18px;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: block;
  }
  .bhf-cta { width: 100%; margin-top: 18px; }
  .bhf-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .bhf-footer__column:last-child { grid-column: 2 / 4; }
}

@media (max-width: 760px) {
  .bhf-footer__cta-card { align-items: flex-start; flex-direction: column; }
  .bhf-footer__cta { width: 100%; }
  .bhf-footer__grid { grid-template-columns: 1fr 1fr; }
  .bhf-footer__brand { grid-column: 1 / -1; max-width: 620px; }
  .bhf-footer__column:last-child { grid-column: auto; }
}

@media (max-width: 520px) {
  .bhf-header__inner { min-height: 72px; }
  .bhf-logo--header { max-width: 176px; max-height: 44px; }
  .bhf-footer { padding-top: 58px; }
  .bhf-footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .bhf-footer__brand, .bhf-footer__column:last-child { grid-column: auto; }
  .bhf-footer__bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .bhf-menu .sub-menu, .bhf-cta, .bhf-toggle span, .bhf-footer__cta, .bhf-socials a, .bhf-footer__links a { transition: none !important; }
}
