/**
 * League Spartan — self-hosted.
 *
 * WHY THIS FILE EXISTS
 * Elementor's "local Google Fonts" cache wrote its @font-face rules with ABSOLUTE URLs
 * baked to the hostname the site had when the cache was built:
 *
 *   https://e5s.dae.myftpupload.com/wp-content/uploads/elementor/google-fonts/fonts/...
 *
 * That host now 301-redirects. A cross-origin redirect on a font request fails the CORS
 * check, so every League Spartan face reported `status: "error"` in document.fonts and
 * the ENTIRE SITE — nav, headings, body, Elementor pages and the new marketing pages
 * alike — silently fell back to Times New Roman. Measured on staging, 14 Aug 2026.
 *
 * The font files themselves are fine and present. Only the URLs are wrong.
 *
 * Rather than patch a file in wp-content/uploads (which would break again on the next
 * host change, and does not travel with a plugin upload), the two woff2 files are copied
 * into the plugin and served from `SURF_SHACK_CORE_URL`. That is host-agnostic: it works
 * on staging, on production, and on any future clone, with no external request.
 *
 * League Spartan is a variable font — both files cover the full 100–900 range, so two
 * faces replace the 27 the cache generated.
 *
 * @package SurfShack\Core
 */

/* latin-ext */
@font-face{
  font-family:'League Spartan';
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url('../fonts/leaguespartan-29b71d20.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face{
  font-family:'League Spartan';
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url('../fonts/leaguespartan-ef6ce596.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/**
 * Base family.
 *
 * Nothing on this site declares a font-family on `body`, so every element that did not
 * get an explicit Elementor typography setting inherited the browser default — a serif.
 * The header nav, the footer and large parts of the page were rendering in Times New
 * Roman by accident, not by choice.
 *
 * `body` is the lowest-specificity place to state the intent, so any element that DOES
 * declare its own family is unaffected — Elementor widgets, WooCommerce, and every icon
 * font (dashicons, eicons, Font Awesome) all set their own and are untouched. That is
 * why no icon-font exceptions are listed here: adding them risked breaking glyphs to
 * solve a problem that does not exist.
 */
body{
  font-family:'League Spartan', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
