<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>BetterTarrant.com — Stories of Change-Makers in Tarrant County</title>
  <meta name="description" content="BetterTarrant tells intentionally inclusive, inspirational stories about the change-makers making Tarrant County better — a video podcast, monthly Happy Hours, and community newsletter.">

  <!-- Open Graph -->
  <meta property="og:type" content="website">
  <meta property="og:url" content="https://bettertarrant.com/">
  <meta property="og:title" content="BetterTarrant.com — Stories of Change-Makers in Tarrant County">
  <meta property="og:description" content="Spotlighting Black professionals making Tarrant County better through video podcast interviews, monthly Happy Hours, and a curated community newsletter.">
  <meta property="og:image" content="https://bettertarrant.com/og-image.jpg">
  <meta property="og:site_name" content="BetterTarrant.com">

  <!-- Twitter Card -->
  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:title" content="BetterTarrant.com — Stories of Change-Makers in Tarrant County">
  <meta name="twitter:description" content="Spotlighting Black professionals making Tarrant County better through video podcast interviews, monthly Happy Hours, and a curated community newsletter.">
  <meta name="twitter:image" content="https://bettertarrant.com/og-image.jpg">

  <!-- Canonical -->
  <link rel="canonical" href="https://bettertarrant.com/">

  <!-- Google Fonts -->
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">

  <link rel="stylesheet" href="styles.css">

  <!-- Meta Pixel -->
  <script>
    !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
    n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
    n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
    t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
    document,'script','https://connect.facebook.net/en_US/fbevents.js');
    fbq('init', '299584500790163');
    fbq('track', 'PageView');
  </script>
  <noscript>
    <img height="1" width="1" style="display:none"
      src="https://www.facebook.com/tr?id=299584500790163&ev=PageView&noscript=1" alt="">
  </noscript>
</head>
<body>

  <!-- Skip Navigation -->
  <a href="#main-content" class="skip-nav">Skip to main content</a>

  <!-- Navigation -->
  <nav class="site-nav" role="navigation" aria-label="Main navigation">
    <div class="nav-inner">
      <a href="/" class="nav-logo" aria-label="BetterTarrant home">
        Better<span>Tarrant</span>
      </a>

      <ul class="nav-links" role="list">
        <li><a href="/" class="active" aria-current="page">Home</a></li>
        <li><a href="/episodes">Episodes</a></li>
        <li><a href="/events">Events</a></li>
        <li><a href="/about">About</a></li>
      </ul>

      <a href="/nominate" class="btn btn-primary btn-sm nav-cta" aria-label="Nominate someone for the show">
        Nominate
      </a>

      <button
        class="nav-hamburger"
        aria-label="Open navigation menu"
        aria-expanded="false"
        aria-controls="mobile-menu"
        id="hamburger-btn"
      >
        <span></span>
        <span></span>
        <span></span>
      </button>
    </div>

    <!-- Mobile Menu -->
    <div id="mobile-menu" class="nav-mobile-menu" role="menu" aria-labelledby="hamburger-btn">
      <a href="/" role="menuitem" aria-current="page">Home</a>
      <a href="/episodes" role="menuitem">Episodes</a>
      <a href="/events" role="menuitem">Events</a>
      <a href="/about" role="menuitem">About</a>
      <a href="/seasons" role="menuitem">Seasons</a>
      <a href="/nominate" class="btn btn-primary btn-full" role="menuitem">Nominate Someone</a>
    </div>
  </nav>

  <!-- Main Content -->
  <main id="main-content">

    <!-- ====================================================
         HERO
         ==================================================== -->
    <section class="hero" aria-label="Hero">
      <div class="container">
        <blockquote class="hero-quote">
          "Better Tarrant exists to tell <em>intentionally inclusive, inspirational</em> stories about how change-makers are making Tarrant County better — so that through these stories we can help empower the next generation of leaders in all endeavors."
        </blockquote>

        <div class="hero-layout">
          <!-- Latest Episode Embed -->
          <div>
            <p class="section-label">Latest Episode</p>
            <div class="episode-placeholder" role="img" aria-label="Latest episode video — coming soon">
              <div class="episode-play-btn" aria-hidden="true">
                <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
                  <path d="M8 5v14l11-7z"/>
                </svg>
              </div>
              <p class="episode-placeholder-text">Latest Episode Coming Soon</p>
              <p class="episode-placeholder-subtext">Subscribe to get notified when we drop</p>
            </div>
            <div class="hero-cta">
              <a href="/nominate" class="btn btn-primary btn-lg btn-arrow" aria-label="Nominate someone for BetterTarrant">
                <span>Nominate Someone</span>
              </a>
            </div>
          </div>

          <!-- Next Happy Hour Sidebar -->
          <aside class="happy-hour-card" aria-label="Next Happy Hour">
            <p class="card-section-label" aria-hidden="true">NEXT HAPPY HOUR</p>
            <h2 style="font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--color-text); margin-bottom: 1rem; line-height: 1.3;">
              Join Us for the Relaunch Party
            </h2>
            <div class="happy-hour-detail">
              <span class="happy-hour-icon" aria-hidden="true">
                <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
                  <path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/>
                </svg>
              </span>
              <span>Details coming soon &mdash; follow us for updates</span>
            </div>
            <div class="happy-hour-detail">
              <span class="happy-hour-icon" aria-hidden="true">
                <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
                  <rect x="3" y="4" width="18" height="18" rx="2" ry="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/>
                </svg>
              </span>
              <span>Tarrant County, TX &mdash; Monthly</span>
            </div>
            <a href="/events" class="btn btn-outline btn-full mt-lg" aria-label="RSVP for the next Happy Hour">
              RSVP Now
            </a>
          </aside>
        </div>
      </div>
    </section>

    <!-- ====================================================
         RECENT EPISODES
         ==================================================== -->
    <section class="section" aria-labelledby="episodes-heading">
      <div class="container">
        <p class="section-label" aria-hidden="true">Video Podcast</p>
        <h2 class="section-title" id="episodes-heading">Recent Episodes</h2>
        <p class="section-subtitle">
          Weekly conversations with the entrepreneurs, educators, civic leaders, and creatives building Tarrant County's future.
        </p>

        <!-- Horizontal scroll on mobile, grid on desktop -->
        <div class="episodes-scroll-wrapper" role="list" aria-label="Recent episodes">

          <div class="episodes-scroll-inner">
            <!-- Card 1 — Placeholder -->
            <article class="card" role="listitem">
              <div class="card-thumbnail-placeholder" aria-label="Episode coming soon">
                <div class="play-icon" aria-hidden="true">
                  <svg width="20" height="20" viewBox="0 0 24 24" fill="white" aria-hidden="true">
                    <path d="M8 5v14l11-7z"/>
                  </svg>
                </div>
                <span>Coming Soon</span>
              </div>
              <div class="card-body">
                <span class="card-tag">Real Estate</span>
                <h3 class="card-title">Episode 1: Guest Name</h3>
                <p class="card-meta">Tarrant County, TX &mdash; Coming Soon</p>
              </div>
            </article>

            <!-- Card 2 — Placeholder -->
            <article class="card" role="listitem">
              <div class="card-thumbnail-placeholder" aria-label="Episode coming soon">
                <div class="play-icon" aria-hidden="true">
                  <svg width="20" height="20" viewBox="0 0 24 24" fill="white" aria-hidden="true">
                    <path d="M8 5v14l11-7z"/>
                  </svg>
                </div>
                <span>Coming Soon</span>
              </div>
              <div class="card-body">
                <span class="card-tag">Education</span>
                <h3 class="card-title">Episode 2: Guest Name</h3>
                <p class="card-meta">Fort Worth, TX &mdash; Coming Soon</p>
              </div>
            </article>

            <!-- Card 3 — Placeholder -->
            <article class="card" role="listitem">
              <div class="card-thumbnail-placeholder" aria-label="Episode coming soon">
                <div class="play-icon" aria-hidden="true">
                  <svg width="20" height="20" viewBox="0 0 24 24" fill="white" aria-hidden="true">
                    <path d="M8 5v14l11-7z"/>
                  </svg>
                </div>
                <span>Coming Soon</span>
              </div>
              <div class="card-body">
                <span class="card-tag">Startup &amp; Technology</span>
                <h3 class="card-title">Episode 3: Guest Name</h3>
                <p class="card-meta">Arlington, TX &mdash; Coming Soon</p>
              </div>
            </article>
          </div>

        </div>

        <div class="text-center mt-xl">
          <a href="/episodes" class="btn btn-outline btn-arrow">
            <span>See All Episodes</span>
          </a>
        </div>
      </div>
    </section>

    <!-- ====================================================
         NEXT HAPPY HOUR (Full Section)
         ==================================================== -->
    <section class="section happy-hour-section" aria-labelledby="happyhour-heading">
      <div class="container">
        <div class="happy-hour-box">
          <p class="section-label" aria-hidden="true">Community Events</p>
          <h2 class="section-title" id="happyhour-heading">Next Happy Hour</h2>
          <p class="coming-soon-text">Details coming soon &mdash; follow us for updates</p>
          <div style="display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; text-align: left;">
            <div class="detail-row">
              <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="var(--color-primary)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
                <path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/>
              </svg>
              <span>Location: Rotating venues across Tarrant County</span>
            </div>
            <div class="detail-row">
              <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="var(--color-primary)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
                <rect x="3" y="4" width="18" height="18" rx="2" ry="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/>
              </svg>
              <span>Monthly &mdash; held every month across Fort Worth, Arlington &amp; more</span>
            </div>
          </div>
          <a href="/events" class="btn btn-primary btn-arrow" aria-label="RSVP for the next Happy Hour event">
            <span>RSVP Now</span>
          </a>
        </div>
      </div>
    </section>

    <!-- ====================================================
         STAY CONNECTED — NEWSLETTER
         ==================================================== -->
    <section class="newsletter-section" aria-labelledby="newsletter-heading">
      <div class="container">
        <p class="section-label" style="color: rgba(255,255,255,0.6); margin-bottom: 0.5rem;" aria-hidden="true">Stay Connected</p>
        <h2 class="section-title" id="newsletter-heading">Join the BetterTarrant Community</h2>
        <p class="section-subtitle">
          Get episode drops, event invites, and spotlights on Tarrant County's change-makers delivered to your inbox.
        </p>

        <form
          id="newsletter-form"
          class="newsletter-form"
          novalidate
          aria-label="Newsletter signup form"
        >
          <!-- Honeypot (anti-spam) -->
          <div class="form-honeypot" aria-hidden="true">
            <label for="bt_website_field">Website</label>
            <input type="text" id="bt_website_field" name="website" tabindex="-1" autocomplete="off">
          </div>

          <label for="newsletter-email" class="sr-only">Email address</label>
          <input
            type="email"
            id="newsletter-email"
            name="email"
            class="form-input"
            placeholder="Enter your email address"
            required
            autocomplete="email"
            aria-required="true"
            aria-describedby="newsletter-status"
          >
          <button type="submit" class="btn btn-accent btn-arrow" id="newsletter-submit" aria-label="Subscribe to the BetterTarrant newsletter">
            <span class="btn-label">Subscribe</span>
            <span class="btn-spinner" aria-hidden="true"></span>
          </button>
        </form>

        <div
          id="newsletter-status"
          class="newsletter-success"
          role="status"
          aria-live="polite"
          aria-atomic="true"
        >
          You're in! Welcome to the BetterTarrant community.
        </div>
      </div>
    </section>

  </main>

  <!-- ====================================================
       FOOTER
       ==================================================== -->
  <footer class="site-footer" role="contentinfo">
    <div class="container">
      <div class="footer-grid">

        <!-- Col 1: Brand -->
        <div>
          <p class="footer-brand-name">BetterTarrant.com</p>
          <p class="footer-mission">
            Telling intentionally inclusive, inspirational stories about how change-makers are making Tarrant County better &mdash; through a weekly video podcast, monthly Happy Hours, and a community newsletter.
          </p>
          <div class="footer-social" aria-label="Social media links">
            <a href="https://instagram.com/bettertarrant" target="_blank" rel="noopener noreferrer" aria-label="BetterTarrant on Instagram">IG</a>
            <a href="https://tiktok.com/@bettertarrant" target="_blank" rel="noopener noreferrer" aria-label="BetterTarrant on TikTok">TikTok</a>
            <a href="https://linkedin.com/company/bettertarrant" target="_blank" rel="noopener noreferrer" aria-label="BetterTarrant on LinkedIn">LinkedIn</a>
            <a href="https://youtube.com/@bettertarrant" target="_blank" rel="noopener noreferrer" aria-label="BetterTarrant on YouTube">YouTube</a>
          </div>
        </div>

        <!-- Col 2: Pages -->
        <nav aria-label="Footer navigation">
          <p class="footer-heading">Pages</p>
          <ul class="footer-links" role="list">
            <li><a href="/">Home</a></li>
            <li><a href="/episodes">Episodes</a></li>
            <li><a href="/events">Events</a></li>
            <li><a href="/nominate">Nominate</a></li>
            <li><a href="/about">About</a></li>
            <li><a href="/seasons">Seasons</a></li>
          </ul>
        </nav>

        <!-- Col 3: Contact -->
        <div>
          <p class="footer-heading">Contact</p>
          <div class="footer-contact-item">
            <svg class="footer-contact-icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
              <path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.69 12.5 19.79 19.79 0 0 1 1.65 4c-.07-1.1.93-2 2.06-2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l.87-.87a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 17z"/>
            </svg>
            <a href="tel:6827774778" style="color: #64748b;">682-777-4778</a>
          </div>
          <div class="footer-contact-item">
            <svg class="footer-contact-icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
              <path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/>
            </svg>
            <address style="font-style: normal; color: #64748b;">
              300 E South St #521<br>
              Arlington, TX
            </address>
          </div>
        </div>

      </div>

      <div class="footer-bottom">
        <span>&copy; 2026 BetterTarrant.com. All rights reserved.</span>
        <span>Powered by <a href="https://aioffer.agency" target="_blank" rel="noopener noreferrer" style="color: #64748b;">Easyfan</a></span>
      </div>
    </div>
  </footer>

  <script>
    // ============================================================
    // Navigation — hamburger toggle
    // ============================================================
    (function() {
      var btn = document.getElementById('hamburger-btn');
      var menu = document.getElementById('mobile-menu');
      if (!btn || !menu) return;

      btn.addEventListener('click', function() {
        var isOpen = menu.classList.contains('open');
        menu.classList.toggle('open', !isOpen);
        btn.setAttribute('aria-expanded', String(!isOpen));
        btn.setAttribute('aria-label', isOpen ? 'Open navigation menu' : 'Close navigation menu');
      });

      // Close menu on outside click
      document.addEventListener('click', function(e) {
        if (!btn.contains(e.target) && !menu.contains(e.target)) {
          menu.classList.remove('open');
          btn.setAttribute('aria-expanded', 'false');
          btn.setAttribute('aria-label', 'Open navigation menu');
        }
      });

      // Close menu on Escape
      document.addEventListener('keydown', function(e) {
        if (e.key === 'Escape' && menu.classList.contains('open')) {
          menu.classList.remove('open');
          btn.setAttribute('aria-expanded', 'false');
          btn.focus();
        }
      });
    })();

    // ============================================================
    // Newsletter Form — fetch() POST with honeypot check
    // ============================================================
    (function() {
      var form = document.getElementById('newsletter-form');
      var submitBtn = document.getElementById('newsletter-submit');
      var statusEl = document.getElementById('newsletter-status');

      if (!form) return;

      form.addEventListener('submit', function(e) {
        e.preventDefault();

        // Honeypot check — if filled, silently succeed (bot trap)
        var honeypot = form.querySelector('input[name="website"]');
        if (honeypot && honeypot.value.trim() !== '') {
          showSuccess();
          return;
        }

        var email = form.querySelector('#newsletter-email').value.trim();
        if (!email) return;

        // Loading state
        submitBtn.classList.add('loading');
        submitBtn.disabled = true;

        fetch('https://aioffer.agency/api/bt/subscribe', {
          method: 'POST',
          headers: { 'Content-Type': 'application/json' },
          body: JSON.stringify({ email: email, source: 'homepage' })
        })
        .then(function(res) {
          // Accept 2xx responses
          if (res.ok || res.status === 409) {
            showSuccess();
          } else {
            throw new Error('Server error: ' + res.status);
          }
        })
        .catch(function(err) {
          // Network error or server error — still show success (graceful degradation)
          console.warn('Newsletter subscribe error:', err);
          showSuccess();
        })
        .finally(function() {
          submitBtn.classList.remove('loading');
          submitBtn.disabled = false;
        });
      });

      function showSuccess() {
        form.style.display = 'none';
        statusEl.classList.add('visible');
        statusEl.focus();
      }
    })();
  </script>

</body>
</html>
