#brxe-3e661e {
  position: sticky;
  top: 0;
  z-index: 9999;
  background-color: transparent;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

#brxe-3e661e.hide {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

#brxe-3e661e.bg-visible {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%) !important;
}
document.addEventListener("DOMContentLoaded", () => {
  const header = document.querySelector("#brxe-3e661e");
  if (!header) return;

  let lastScrollY = window.scrollY;
  const threshold = 100;
  let ticking = false;

  function updateHeader() {
    const currentScrollY = window.scrollY;
    const scrollingDown = currentScrollY > lastScrollY;

    if (scrollingDown && currentScrollY > threshold) {
      header.classList.add("hide");
      header.classList.remove("bg-visible");
    } else {
      header.classList.remove("hide");
      if (currentScrollY > threshold) {
        header.classList.add("bg-visible");
      } else {
        header.classList.remove("bg-visible");
      }
    }

    lastScrollY = currentScrollY;
    ticking = false;
  }

  window.addEventListener("scroll", () => {
    if (!ticking) {
      requestAnimationFrame(updateHeader);
      ticking = true;
    }
  });
});

Ongoing Care

BOOK A TOUR

Our friendly, caring staff prioritise you and your needs and we walk with you every step of the way, to ensure you have choice and dignity in all aspects of your life. Our aim is to create fun, safe and beautiful spaces where you can live with the greatest level of comfort and wellbeing, make new friends and enjoy the support of our wonderful team, including pastoral care.

Enquire Now

Let us know as much about the person requiring care as you feel comfortable with.

Form