<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <!-- Theme colors — match the Golden Circle family palette (light + dark) -->
    <meta name="theme-color" content="#F9F8F6" media="(prefers-color-scheme: light)" />
    <meta name="theme-color" content="#0F0E0D" media="(prefers-color-scheme: dark)" />
    <meta name="color-scheme" content="light dark" />

    <!-- Pre-paint theme — default to dark mode; user toggle persists via localStorage. -->
    <!-- Runs before paint to avoid FOUC. Mirrors the marketing sibling's strategy. -->
    <script>
      (function () {
        var stored = null;
        try { stored = localStorage.getItem('gc-theme'); } catch (e) {}
        var mode = stored || 'dark';
        if (mode === 'dark') document.documentElement.classList.add('dark');
      })();
    </script>

    <!-- Font loading — Bricolage Grotesque (display) + Instrument Serif (italic accents) + Inter (body) -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link rel="preload" as="font" type="font/woff2" crossorigin
          href="https://fonts.gstatic.com/s/bricolagegrotesque/v9/3y9H6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMnuECoAsyJBOm_OJ2iCwA1Xp.woff2" />
    <link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,700;12..96,800&family=Inter:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap" rel="stylesheet">

    <!-- Favicons -->
    <link rel="icon" type="image/x-icon" href="/favicon.ico">
    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="192x192" href="/favicon-192x192.png">
    <link rel="icon" type="image/png" sizes="512x512" href="/favicon-512x512.png">
    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
    <link rel="manifest" href="/site.webmanifest">

    <title>The Golden Circle - Luxury Spa &amp; Wellness Finder</title>
    <meta name="description" content="Discover premium spas and luxury wellness treatments with The Golden Circle. Find the perfect spa experience near you.">
    <meta name="ostrio-domain" content="nQSZ6eeeWWp2EoHpnrT9fTgl6JgrZQqWRIyhM6GlcdO">
    <meta name="google-site-verification" content="8YaPftr81LhM0E_Mkn672qpRNc1poAJP-OSStmTwGdc" />

    <!-- RSL 1.0 — machine-readable AI licensing (see /rsl.xml) -->
    <link rel="license" type="application/rsl+xml" href="/rsl.xml" />
    <link rel="rsl" href="/rsl.xml" />

    <!-- Default OG/Twitter (per-page <Helmet> values override these at runtime) -->
    <meta property="og:type" content="website" />
    <meta property="og:url" content="https://thegolden-circle.com/" />
    <meta property="og:title" content="The Golden Circle - Luxury Spa &amp; Wellness Finder" />
    <meta property="og:description" content="Discover premium spas and luxury wellness treatments with The Golden Circle. Find the perfect spa experience near you." />
    <meta property="og:image" content="https://thegolden-circle.com/og-default.png" />
    <meta name="twitter:card" content="summary_large_image" />
    <meta name="twitter:title" content="The Golden Circle - Luxury Spa &amp; Wellness Finder" />
    <meta name="twitter:description" content="Discover premium spas and luxury wellness treatments with The Golden Circle. Find the perfect spa experience near you." />
    <meta name="twitter:image" content="https://thegolden-circle.com/og-default.png" />

    <script type="module" crossorigin src="/assets/index-Bd1owwwV.js"></script>
    <link rel="stylesheet" crossorigin href="/assets/index-DZ6yMkWY.css">
  </head>

  <body>
    <div id="root"></div>

    <!-- Meta Pixel Code — queue stub only; init + track gated on marketing consent (see src/utils/cookieConsent.ts). -->
    <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');

      window.fbqInitialized = false;
      window.trackFBPageView = function () {
        try { if (window.fbqInitialized) window.fbq('track', 'PageView'); }
        catch (e) { console.error('FB PageView error:', e); }
      };

      // If user already granted marketing consent in a previous session,
      // initialize + track immediately. Otherwise wait for CookieConsent
      // to call initializeMarketingTracking().
      try {
        var raw = localStorage.getItem('cookieConsent');
        var prefs = raw ? JSON.parse(raw) : null;
        if (prefs && prefs.marketing) {
          window.fbq('init', '1269250561268895');
          window.fbqInitialized = true;
          window.trackFBPageView();
        }
      } catch (e) { /* localStorage unavailable — wait for consent */ }
    </script>
    <!-- No <noscript> pixel fallback: it would fire a PageView
         unconditionally, bypassing the marketing-consent gate above. -->

    <!-- Google tag (gtag.js) — analytics fires consent-aware via useAnalytics.ts. -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-4BVCSSSCC3"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
      gtag('config', 'G-4BVCSSSCC3', { anonymize_ip: true });
    </script>
  </body>
</html>
