/* ===============================
   FONT FACE DECLARATIONS
================================ */

/* Book / Regular */
@font-face {
    font-family: 'Font Primary';
    src: url('./primary-font/Albula-Regular.ttf') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Medium */
@font-face {
    font-family: 'Font Primary';
    src: url('./primary-font/Albula-Medium.ttf') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Bold */
@font-face {
    font-family: 'Font Primary';
    src: url('./primary-font/Albula-Heavy.ttf') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===============================
   CSS VARIABLES (DESIGN TOKENS)
================================ */
:root {
    --font-base: 'Font Primary', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Font Primary', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
}

/* ===============================
   GLOBAL APPLICATION
================================ */
body {
    font-family: var(--font-base);
    font-weight: var(--font-weight-regular);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
}

/* ===============================
   UTILITY CLASSES
================================ */
.font-primary-regular {
    font-family: var(--font-base);
}

.font-primary-medium {
    font-weight: var(--font-weight-medium);
}

.font-primary-bold {
    font-weight: var(--font-weight-bold);
}


