/* Preffin Brand Fonts - Owned by Queritel Corp */

/* Preffin Sans - Body/UI Font (all weights) */
@font-face {
    font-family: 'Preffin Sans';
    src: url('/assets/fonts/PreffinSans-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Preffin Sans';
    src: url('/assets/fonts/PreffinSans-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Preffin Sans';
    src: url('/assets/fonts/PreffinSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Preffin Sans';
    src: url('/assets/fonts/PreffinSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Preffin Sans';
    src: url('/assets/fonts/PreffinSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Preffin Sans';
    src: url('/assets/fonts/PreffinSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Preffin Sans';
    src: url('/assets/fonts/PreffinSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Preffin Sans';
    src: url('/assets/fonts/PreffinSans-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Preffin Sans';
    src: url('/assets/fonts/PreffinSans-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Preffin Text - Supporting/UI Font (all weights) */
@font-face {
    font-family: 'Preffin Text';
    src: url('/assets/fonts/PreffinText-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Preffin Text';
    src: url('/assets/fonts/PreffinText-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Preffin Text';
    src: url('/assets/fonts/PreffinText-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Preffin Text';
    src: url('/assets/fonts/PreffinText-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Preffin Text';
    src: url('/assets/fonts/PreffinText-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Preffin Text';
    src: url('/assets/fonts/PreffinText-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Preffin Text';
    src: url('/assets/fonts/PreffinText-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Preffin Text';
    src: url('/assets/fonts/PreffinText-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Preffin Text';
    src: url('/assets/fonts/PreffinText-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Preffin Grotesque - Display Font (headlines, marketing) */
@font-face {
    font-family: 'Preffin Grotesque';
    src: url('/assets/fonts/PreffinGrotesque-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Preffin Grotesque';
    src: url('/assets/fonts/PreffinGrotesque-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Legacy aliases for backward compatibility */
@font-face {
    font-family: 'Lenia Sans';
    src: url('/assets/fonts/PreffinSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lenia Sans';
    src: url('/assets/fonts/PreffinSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lenia Sans';
    src: url('/assets/fonts/PreffinSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lenia Sans';
    src: url('/assets/fonts/PreffinSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chairo Sans';
    src: url('/assets/fonts/PreffinText-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chairo Sans';
    src: url('/assets/fonts/PreffinText-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chairo Sans';
    src: url('/assets/fonts/PreffinText-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chairo Sans';
    src: url('/assets/fonts/PreffinText-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Force normal style for display font class */
.font-display {
    font-style: normal !important;
}

/* Custom text selection styling - Preffin brand colors */
::selection {
    background-color: #bef264; /* Preffin lime */
    color: #14532d; /* Preffin forest dark */
}

::-moz-selection {
    background-color: #bef264; /* Preffin lime */
    color: #14532d; /* Preffin forest dark */
}

/* For WebKit browsers that support ::selection */
::-webkit-selection {
    background-color: #bef264; /* Preffin lime */
    color: #14532d; /* Preffin forest dark */
}
