/**
 * Yekan Bakh Font Package (یکان باخ)
 * Includes all weights: Light (300), Regular (400), Medium (500), SemiBold (600), Bold (700), Heavy (800/900)
 * and Variable Font (100-900)
 */

/* ==========================================================================
   1. Primary Family: 'Yekan Bakh'
   ========================================================================== */

/* Variable Weight (100-900) */
@font-face {
    font-family: 'Yekan Bakh';
    src: url('../fonts/bakh-100-900.woff2') format('woff2-variations'),
         url('../fonts/bakh-100-900.woff2') format('woff2'),
         url('/fonts/bakh-100-900.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Light (300) */
@font-face {
    font-family: 'Yekan Bakh';
    src: url('../fonts/Yekan-Bakh-FaNum-03-Light.woff') format('woff'),
         url('/fonts/Yekan-Bakh-FaNum-03-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Regular (400) */
@font-face {
    font-family: 'Yekan Bakh';
    src: url('../fonts/Yekan-Bakh-FaNum-04-Regular.woff') format('woff'),
         url('/fonts/Yekan-Bakh-FaNum-04-Regular.woff') format('woff'),
         url('../fonts/bakh-100-900.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Medium (500) */
@font-face {
    font-family: 'Yekan Bakh';
    src: url('../fonts/Yekan-Bakh-FaNum-05-Medium.woff') format('woff'),
         url('/fonts/Yekan-Bakh-FaNum-05-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* SemiBold (600) */
@font-face {
    font-family: 'Yekan Bakh';
    src: url('../fonts/YekanBakh-SemiBold.woff2') format('woff2'),
         url('/fonts/YekanBakh-SemiBold.woff2') format('woff2'),
         url('../fonts/Yekan-Bakh-FaNum-05-Medium.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Bold (700) */
@font-face {
    font-family: 'Yekan Bakh';
    src: url('../fonts/Yekan-Bakh-FaNum-06-Bold.woff') format('woff'),
         url('/fonts/Yekan-Bakh-FaNum-06-Bold.woff') format('woff'),
         url('../fonts/bakh-100-900.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Heavy / Black (800 / 900) - Mapped to crisp Bold 700 to prevent glyph clogging & ink bleed */
@font-face {
    font-family: 'Yekan Bakh';
    src: url('../fonts/Yekan-Bakh-FaNum-06-Bold.woff') format('woff'),
         url('/fonts/Yekan-Bakh-FaNum-06-Bold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Yekan Bakh';
    src: url('../fonts/Yekan-Bakh-FaNum-06-Bold.woff') format('woff'),
         url('/fonts/Yekan-Bakh-FaNum-06-Bold.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   2. Aliases: 'Yekan-Bakh', 'YekanBakh', 'bakh'
   ========================================================================== */

@font-face {
    font-family: 'Yekan-Bakh';
    src: url('../fonts/bakh-100-900.woff2') format('woff2-variations'),
         url('../fonts/bakh-100-900.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Yekan-Bakh';
    src: url('../fonts/Yekan-Bakh-FaNum-04-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Yekan-Bakh';
    src: url('../fonts/Yekan-Bakh-FaNum-06-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/bakh-100-900.woff2') format('woff2-variations'),
         url('../fonts/bakh-100-900.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/Yekan-Bakh-FaNum-04-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/Yekan-Bakh-FaNum-06-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'bakh';
    src: url('../fonts/bakh-100-900.woff2') format('woff2-variations'),
         url('../fonts/bakh-100-900.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'bakh';
    src: url('../fonts/Yekan-Bakh-FaNum-04-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'bakh';
    src: url('../fonts/Yekan-Bakh-FaNum-06-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   3. Utility Classes
   ========================================================================== */
.font-yekan,
.font-yekan-bakh,
.font-bakh {
    font-family: 'Yekan Bakh', 'Yekan-Bakh', 'YekanBakh', 'bakh', 'Vazirmatn', sans-serif !important;
}
