/**
 * Proxima Nova Font Styles - Self-hosted Implementation
 * 
 * Using actual Proxima Nova font files for pixel-perfect Figma matching
 */

/* Proxima Nova Light - 300 weight */
@font-face {
    font-family: 'proxima-nova';
    src: url('Proxima Nova/proximanova_light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Proxima Nova Regular - 400 weight */
@font-face {
    font-family: 'proxima-nova';
    src: url('Proxima Nova/proximanova_regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Proxima Nova Bold - 700 weight */
@font-face {
    font-family: 'proxima-nova';
    src: url('Proxima Nova/proximanova_bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Proxima Nova Bold Italic - 700 weight italic */
@font-face {
    font-family: 'proxima-nova';
    src: url('Proxima Nova/proximanova_boldit.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Proxima Nova Extra Bold - 800 weight */
@font-face {
    font-family: 'proxima-nova';
    src: url('Proxima Nova/proximanova_extrabold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Proxima Nova Black - 900 weight */
@font-face {
    font-family: 'proxima-nova';
    src: url('Proxima Nova/proximanova_black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Proxima Nova Black Italic - 900 weight italic */
@font-face {
    font-family: 'proxima-nova';
    src: url('Proxima Nova/proximanova_blackit.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* 
 * Font weights mapping for design consistency:
 * - 300: Light
 * - 400: Regular (default)
 * - 700: Bold
 * - 800: Extra Bold
 * - 900: Black
 */

/* Global CSS Custom Properties */
:root {
    --proxima-nova-font: "proxima-nova", "Proxima Nova", "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Global Font Application - Make Proxima Nova the main site font */
body,
html,
* {
    font-family: var(--proxima-nova-font);
}

/* Preserve WordPress Admin Bar fonts */
#wpadminbar,
#wpadminbar * {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
