/*
Theme Name: MONOMARK Child
Description: Custom storefront foundation for MONOMARK, based on Blocksy.
Template: blocksy
Version: 1.0.0
Text Domain: monomark-child
*/

/* Custom storefront styles will be added here. */

/* ===================================
   MONOMARK — BRAND TYPOGRAPHY
   =================================== */

/* Manrope — local variable font */

@font-face {
    font-family: 'Manrope Local';
    src: url('./fonts/manrope-variable.ttf') format('truetype');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

/* HV Preston — local preview */

@font-face {
    font-family: 'HV Preston Preview';
    src: local('HV Preston Regular'),
         local('HVPreston-Regular');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HV Preston Preview';
    src: local('HV Preston Bold'),
         local('HVPreston-Bold');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Brand design variables */

:root {
    --mnm-wine: #761E30;
    --mnm-cream: #F7F6F2;
    --mnm-blue: #96B2F0;
    --mnm-text: #2B2B2B;
    --mnm-border: #D9D6D1;

    --mnm-body-font: 'Manrope Local', sans-serif;
    --mnm-display-font: 'HV Preston Preview',
                        'Manrope Local', sans-serif;
}

/* Base typography */

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

/* Headings */

h1, h2, h3, h4, h5, h6 {
    --theme-font-family: var(--mnm-body-font);
    font-family: var(--mnm-body-font);
}

/* Editorial headings */

.mnm-display,
.mnm-display h1,
.mnm-display h2 {
    --theme-font-family: var(--mnm-display-font);
    font-family: var(--mnm-display-font);
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.15;
}

/* Russian language typography */

html:lang(ru) .mnm-display,
html:lang(ru) .mnm-display h1,
html:lang(ru) .mnm-display h2,
.mnm-display:lang(ru) {
    --theme-font-family: var(--mnm-body-font);
    font-family: var(--mnm-body-font);
    font-weight: 300;
}

/* Temporary English heading preview */

html:lang(ru) .mnm-display:lang(en),
html:lang(ru) .mnm-display:lang(en) h1,
html:lang(ru) .mnm-display:lang(en) h2 {
    --theme-font-family: var(--mnm-display-font);
    font-family: var(--mnm-display-font);
    font-weight: 400;
}
