<footer class="site-footer">
  <div class="container">
    <div class="footer-grid">
      <div>
        <a href="/" class="brand" style="color:#fff; margin-bottom: 1rem;">
          <img src="/images/logo.png" alt="Kubera Wealth Management" class="brand__logo" />
          <span class="brand__word">Kubera Wealth Management</span>
        </a>
        <p style="max-width: 32ch; margin-top: 1rem; font-size: 0.9375rem;">Backing extraordinary founders building the future — from first check to IPO.</p>

        <form class="newsletter-form" action="/api/newsletter" method="POST" data-ajax-form data-newsletter-source>
          <input type="hidden" name="_csrf" value="<%= csrfToken %>" />
          <input type="hidden" name="source" value="footer" />
          <label class="visually-hidden" for="footer-newsletter-email">Email address</label>
          <input id="footer-newsletter-email" type="email" name="email" placeholder="Your email" required />
          <button class="btn btn-primary btn-sm" type="submit">Subscribe</button>
        </form>
        <p class="form-status" data-form-status></p>
      </div>

      <div class="footer-links">
        <h4>Firm</h4>
        <a href="/portfolio">Portfolio</a>
        <a href="/thesis">Investment Thesis</a>
        <a href="/team">Team</a>
        <a href="/insights">Insights</a>
      </div>

      <div class="footer-links">
        <h4>Founders</h4>
        <a href="/apply">Apply for Funding</a>
        <a href="/founder/login">Founder Portal</a>
        <a href="/contact">Talk to Us</a>
        <a href="/careers">Careers</a>
        <a href="/events">Events</a>
      </div>

      <div class="footer-links">
        <h4>Sectors</h4>
        <a href="/portfolio?category=artificial-intelligence">AI</a>
        <a href="/portfolio?category=healthcare">Healthcare</a>
        <a href="/portfolio?category=climate">Climate</a>
        <a href="/portfolio?category=fintech">FinTech</a>
      </div>

      <div class="footer-links">
        <h4>Legal</h4>
        <a href="/contact">Contact</a>
        <a href="/privacy-policy">Privacy Policy</a>
        <a href="/terms-of-use">Terms of Use</a>
        <a href="/sitemap.xml">Sitemap</a>
      </div>
    </div>

    <div class="footer-bottom">
      <p style="font-size: 0.8125rem; color: rgba(255,255,255,0.45);">© <%= new Date().getFullYear() %> Kubera Wealth Management. All rights reserved.</p>
      <% if (SOCIAL_LINKEDIN_URL || SOCIAL_TWITTER_URL) { %>
      <div class="social-row">
        <% if (SOCIAL_LINKEDIN_URL) { %>
        <a href="<%= SOCIAL_LINKEDIN_URL %>" target="_blank" rel="noopener" aria-label="LinkedIn" data-cursor-hover><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="color:#fff"><path d="M20.45 20.45h-3.55v-5.57c0-1.33-.02-3.03-1.85-3.03-1.85 0-2.14 1.45-2.14 2.94v5.66H9.36V9h3.41v1.56h.05c.47-.9 1.63-1.85 3.36-1.85 3.6 0 4.27 2.37 4.27 5.45v6.29zM5.34 7.43a2.06 2.06 0 1 1 0-4.12 2.06 2.06 0 0 1 0 4.12zM7.12 20.45H3.56V9h3.56v11.45z"/></svg></a>
        <% } %>
        <% if (SOCIAL_TWITTER_URL) { %>
        <a href="<%= SOCIAL_TWITTER_URL %>" target="_blank" rel="noopener" aria-label="X (Twitter)" data-cursor-hover><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="color:#fff"><path d="M18.9 2H22l-7.6 8.7L23.3 22h-7l-5.5-6.6L4.6 22H1.5l8.1-9.3L1 2h7.2l5 6.1L18.9 2zm-1.2 18h1.7L7.3 4h-1.8l12.2 16z"/></svg></a>
        <% } %>
      </div>
      <% } %>
    </div>
  </div>
</footer>

<div class="cookie-consent" data-cookie-consent>
  <p>We use a small number of strictly necessary cookies to keep you securely signed in and protect our forms. See our <a href="/privacy-policy" style="color:#fff; text-decoration: underline;">Privacy Policy</a> for details.</p>
  <div class="cookie-consent__actions">
    <button class="btn btn-primary btn-sm" data-cookie-action="accepted">Accept</button>
    <button class="btn btn-outline btn-sm" style="color:#fff; border-color: rgba(255,255,255,0.3);" data-cookie-action="declined">Decline</button>
  </div>
</div>

<button class="back-to-top" data-back-to-top aria-label="Back to top">
  <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 19V5M5 12l7-7 7 7"/></svg>
</button>

<script src="https://unpkg.com/lucide@latest/dist/umd/lucide.js" defer></script>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.12.5/dist/gsap.min.js" defer></script>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.12.5/dist/ScrollTrigger.min.js" defer></script>
<script src="https://cdn.jsdelivr.net/npm/lenis@1.1.13/dist/lenis.min.js" defer></script>
<script src="/js/nav.js" defer></script>
<script src="/js/cursor.js" defer></script>
<script src="/js/particles.js" defer></script>
<script src="/js/animations.js" defer></script>
<script src="/js/forms.js" defer></script>
<script src="/js/portfolio.js" defer></script>
<script src="/js/main.js" defer></script>
