/**
 * Kiva Custom Fonts
 * Code Next: modern geometric sans-serif for UI, headings, tech content
 * Aloevera Display: expressive display font for hero/brand accents
 */

/* ─── Code Next ─── */
@font-face {
    font-family: 'Code Next';
    src: url('../fonts/CodeNext-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Code Next';
    src: url('../fonts/CodeNext-Book.otf') format('opentype');
    font-weight: 350;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Code Next';
    src: url('../fonts/CodeNext-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Code Next';
    src: url('../fonts/CodeNext-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Code Next';
    src: url('../fonts/CodeNext-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Code Next';
    src: url('../fonts/CodeNext-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ─── Aloevera Display ─── */
@font-face {
    font-family: 'Aloevera Display';
    src: url('../fonts/AloeveraDisplay-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aloevera Display';
    src: url('../fonts/AloeveraDisplay-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aloevera Display';
    src: url('../fonts/AloeveraDisplay-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aloevera Display';
    src: url('../fonts/AloeveraDisplay-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ─── Default font stack ─── */
:root {
    --font-body: 'Code Next', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Code Next', 'Inter', system-ui, sans-serif;
    --font-display: 'Aloevera Display', 'Code Next', Georgia, serif;
    --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

body {
    font-family: var(--font-body);
}

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