nction (e) {
          const href = this.getAttribute('href') || '';
          if (href.startsWith('#')) {
            e.preventDefault();
            const id = href.slice(1);
            const target = document.getElementById(id) || document.querySelector(`[name="${id}"]`);
            if (target) target.scrollIntoView({ behavior: 'smooth' });
          }
        });
      });
    })();

    // Newsletter form handling + toast
    (function () {
      const form = document.getElementById('ne