/* ============================================================
   Rosies — Font Declarations (REAL fonts, replaces placeholders)
   File:   /wp-content/themes/rosies/assets/css/fonts.css
   Fonts:  /wp-content/themes/rosies/assets/fonts/<family>/
   Self-hosted for privacy, performance, and cache control.

   Font role map:
     Rift Soft       — Display (H1/H2/H3, page titles, CTAs)
                       Medium 500 for section headings
                       Demi 600 for stronger emphasis
     Roboto          — Body copy (variable font, weights 100-900)
     Verveine        — Script #1 (hero tagline, "Passing it on GALA")
     Skippy Sharpie  — Script #2 (callouts, "Student Journey")
     Captain Comic   — Accent (limited comic-style use)

   Source: RTKids licensed fonts (self-hosted; not from Google Fonts
   or Adobe Fonts). Roboto: Google Fonts, Apache 2.0 license.
   ============================================================ */


/* ------------------------------------------------------------
   Rift Soft — Display font (Medium 500 + Demi 600)
   ------------------------------------------------------------ */

@font-face {
  font-family: 'Rift Soft';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/rift-soft/RiftSoft-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Rift Soft';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/rift-soft/RiftSoft-Demi.woff2') format('woff2');
}


/* ------------------------------------------------------------
   Roboto — Variable body font (single file covers 100-900)
   Split into Latin + Latin-Extended for optimal subset loading.
   ------------------------------------------------------------ */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;                       /* variable weight axis */
  font-display: swap;
  src: url('../fonts/roboto/Roboto-VF-latin.woff2') format('woff2-variations'),
       url('../fonts/roboto/Roboto-VF-latin.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;                       /* variable weight axis */
  font-display: swap;
  src: url('../fonts/roboto/Roboto-VF-latin-ext.woff2') format('woff2-variations'),
       url('../fonts/roboto/Roboto-VF-latin-ext.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;
}


/* ------------------------------------------------------------
   Verveine — Script #1 (thicker handwriting)
   ------------------------------------------------------------ */

@font-face {
  font-family: 'Verveine';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/verveine/Verveine-Regular.woff2') format('woff2');
}


/* ------------------------------------------------------------
   Skippy Sharpie — Script #2 (thinner marker handwriting)
   ------------------------------------------------------------ */

@font-face {
  font-family: 'Skippy Sharpie';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/skippy-sharpie/SkippySharpie-Regular.woff2') format('woff2');
}


/* ------------------------------------------------------------
   Captain Comic — Accent (limited comic-style use)
   ------------------------------------------------------------ */

@font-face {
  font-family: 'Captain Comic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/captain-comic/CaptainComic-Regular.woff2') format('woff2');
}


/* ============================================================
   Font-family variables — used by typography.css
   Reference these role variables everywhere in typography.css
   and NEVER hardcode font names. This lets us swap a family
   in one place without hunting through the codebase.
   ============================================================ */

:root {
  --rtk-font-display:   'Rift Soft', 'Impact', 'Arial Narrow', sans-serif;
  --rtk-font-body:      'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --rtk-font-script-1:  'Verveine', 'Brush Script MT', cursive;
  --rtk-font-script-2:  'Skippy Sharpie', 'Comic Sans MS', cursive;
  --rtk-font-accent:    'Captain Comic', 'Comic Sans MS', sans-serif;
}
