/*
 * PEIBWA design tokens — font faces + brand CSS variables.
 *
 * Moved out of style.css so they can load anywhere components render
 * without dragging in the theme's global element resets: the frontend
 * (as a dependency of peibwa-style) and the Lake Builder canvas
 * (via the lake_builder_canvas_enqueue action in functions.php).
 */

/*
=======================
Font Face Declarations
=======================
*/

/* Mulish (Google Fonts, formerly Muli), self-hosted: 400 + 700, upright and
   italic, Latin + Latin Extended. Each file is variable; the weight
   descriptors pin it to exactly 400 or 700 (300 renders as 400, 600+ as 700). */
@font-face {
	font-family: 'Mulish';
	src: url('../fonts/Mulish-latin-ext.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Mulish';
	src: url('../fonts/Mulish-latin.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	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;
}

@font-face {
	font-family: 'Mulish';
	src: url('../fonts/Mulish-latin-ext.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Mulish';
	src: url('../fonts/Mulish-latin.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	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;
}

@font-face {
	font-family: 'Mulish';
	src: url('../fonts/Mulish-Italic-latin-ext.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
	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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Mulish';
	src: url('../fonts/Mulish-Italic-latin.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
	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;
}

@font-face {
	font-family: 'Mulish';
	src: url('../fonts/Mulish-Italic-latin-ext.woff2') format('woff2');
	font-weight: 700;
	font-style: italic;
	font-display: swap;
	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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Mulish';
	src: url('../fonts/Mulish-Italic-latin.woff2') format('woff2');
	font-weight: 700;
	font-style: italic;
	font-display: swap;
	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;
}

@font-face {
	font-family: 'GT Eesti Display';
	src: url('../fonts/GT-Eesti-Display-Medium-Trial.otf') format('opentype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

/*
=======================
CSS Variables for Branding
=======================
PEIBWA Official Color Palette
*/

:root {
	/* Brand gradients (Figma "Purple Gradient" / "Blue Gradient") */
	--gradient-purple: linear-gradient(136.71deg, #6F5EAF 17.611%, #2E2749 105.06%);
	--gradient-blue: linear-gradient(115.26deg, #093A80 17.611%, #2E2749 105.06%);

	/* Primary Colors */
	--color-primary: #093A80;
	--color-primary-dark: #062654;
	--color-primary-light: #9BBEF2;

	/* Secondary Colors */
	--color-secondary: #6F5EAE;
	--color-secondary-dark: #34285f;
	--color-secondary-light: #CABFE4;
	--color-secondary-lighter: #e4def1;

	/* Accent Colors */
	--color-accent: #115D6A;
	--color-accent-light: #A2D2DF;
	--color-lavender: #CABFE4;

	/* Neutral Colors */
	--color-white: #fff;
	--color-black: #272F38;
	--color-background: #F3EDE6;
	--color-gray-50: #FCF9F7;
	--color-gray-100: #f3f4f6;
	--color-gray-200: #e5e7eb;
	--color-gray-300: #d1d5db;
	--color-gray-400: #9ca3af;
	--color-gray-500: #6b7280;
	--color-gray-600: #4b5563;
	--color-gray-700: #374151;
	--color-gray-800: #272F38;
	--color-gray-900: #1a1f26;

	/* Typography  */
	--font-primary: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
	--font-secondary: 'GT Eesti Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
	--font-mono: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;

	/* Font Sizes */
	--font-size-xs: 0.75rem;     /* 12px */
	--font-size-sm: 0.875rem;    /* 14px */
	--font-size-base: 1rem;      /* 16px */
	--font-size-lg: 1.125rem;    /* 18px */
	--font-size-xl: 1.25rem;     /* 20px */
	--font-size-2xl: 1.5rem;     /* 24px */
	--font-size-3xl: 1.875rem;   /* 30px */
	--font-size-4xl: 2.25rem;    /* 36px */
	--font-size-5xl: 3rem;       /* 48px */
	--font-size-6xl: 3.75rem;    /* 60px */

	/* Spacing */
	--spacing-xs: 0.5rem;
	--spacing-sm: 1rem;
	--spacing-md: 1.5rem;
	--spacing-lg: 2rem;
	--spacing-xl: 3rem;
	--spacing-2xl: 4rem;
	--spacing-3xl: 6rem;

	/* Breakpoints (for reference in media queries) */
	--breakpoint-sm: 640px;
	--breakpoint-md: 768px;
	--breakpoint-lg: 1024px;
	--breakpoint-xl: 1280px;
	--breakpoint-2xl: 1536px;

	/* Other */
	--border-radius: 0.375rem;
	--transition-speed: 0.3s;
	--max-width: 1280px;
}
