const Hero = () => { // Subtle parallax: the keyline drifts up a touch slower than the page as the // fold scrolls away. Disabled under reduced-motion. React.useEffect(() => { if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) return; const wm = document.querySelector(".casaley-hero__wordmark"); const hero = document.querySelector(".casaley-hero"); if (!wm || !hero) return; let raf = 0; const update = () => { raf = 0; const rect = hero.getBoundingClientRect(); const progress = Math.min(Math.max(-rect.top / (rect.height || 1), 0), 1); wm.style.setProperty("--wm-parallax", (progress * -64).toFixed(1) + "px"); }; const onScroll = () => { if (!raf) raf = requestAnimationFrame(update); }; update(); window.addEventListener("scroll", onScroll, { passive: true }); window.addEventListener("resize", onScroll); return () => { window.removeEventListener("scroll", onScroll); window.removeEventListener("resize", onScroll); }; }, []); return (
Casaley

Opportunity
Unearthed

A hidden gem is taking shape in Officer, offering a simple way to invest in one of Melbourne’s growing communities.

These finished, turnkey homes are designed to make ownership easy, with everything ready from day one. Well connected to shops, schools and transport, it’s a smart opportunity for investors looking for quality, convenience and strong long-term appeal in a well established location.

); }; window.Hero = Hero;