/*
 * CV-052 Batch 3 — Code Vault self-hosted fonts (bacola-child/assets/css/cv-fonts.css).
 * Deployed 2026-09-15 under Shaun's approval. Replaces Bacola's Google Fonts handles
 * (bacola-font-dmsans = Inter, bacola-font-crimson = Dosis), which Complianz blocked pre-consent.
 * Source binaries: Google Fonts, SIL OFL 1.1 — see work/CV-052-staging-regression-recovery/fable-batch3-font-prep/FONT-ASSET-RECEIPT.md
 */

/* Inter: variable opsz 14..32 and wght 100..900 in the binary (fvar read 2026-09-16). Exposes 400..700:
   body range 400..600 plus 700 for the Delta Reign PDP price/eyebrow, which replaced a Google Fonts request. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Space Grotesk: variable wght 300..700 in the binary; expose approved heading weights only. */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Cormorant remains available for current bespoke decorative normal and italic text. */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-ext-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metrics are derived from the downloaded target binaries and the named local fallback. */
@font-face {
  font-family: "CV Inter Fallback";
  src: local("Segoe UI");
  size-adjust: 109.1797%;
  ascent-override: 88.7299%;
  descent-override: 22.093%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "CV Space Grotesk Fallback";
  src: local("Segoe UI");
  size-adjust: 97.2%;
  ascent-override: 101.2346%;
  descent-override: 30.0412%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "CV Cormorant Fallback";
  src: local("Georgia");
  font-style: normal;
  size-adjust: 80.1753%;
  ascent-override: 115.2475%;
  descent-override: 35.7966%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "CV Cormorant Fallback";
  src: local("Georgia Italic");
  font-style: italic;
  size-adjust: 78.9738%;
  ascent-override: 117.0008%;
  descent-override: 36.3412%;
  line-gap-override: 0%;
}

/*
 * Bacola resolves every font through custom properties declared in the parent theme's :root
 * (style.css "01 - Root"). Redefining them here (same specificity, loaded later) keeps every
 * consumer coherent — including higher-specificity rules such as `.products .product .price`
 * and `.site-module .module-header .entry-title` that the element rules below cannot reach.
 * Dosis (the retired secondary face) maps to Space Grotesk; product names stay Inter to match
 * the approved Destined Rivals reference. Kirki emits no typography on this site.
 */
:root {
  --theme-body-font: "Inter", "CV Inter Fallback", Arial, sans-serif;
  --theme-heading-font: "Space Grotesk", "CV Space Grotesk Fallback", Arial, sans-serif;
  --theme-product-name-font: "Inter", "CV Inter Fallback", Arial, sans-serif;
  --theme-product-price-font: "Space Grotesk", "CV Space Grotesk Fallback", Arial, sans-serif;
  --theme-topbar-font: "Inter", "CV Inter Fallback", Arial, sans-serif;
  --theme-main-menu-font: "Space Grotesk", "CV Space Grotesk Fallback", Arial, sans-serif;
  --font-primary: "Inter", "CV Inter Fallback", Arial, sans-serif;
  --font-secondary: "Space Grotesk", "CV Space Grotesk Fallback", Arial, sans-serif;
}

/* Direct owners for the base elements, independent of the variables. */
body {
  font-family: "Inter", "CV Inter Fallback", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Space Grotesk", "CV Space Grotesk Fallback", Arial, sans-serif;
}

.cv-font-cormorant,
.cv-font-cormorant em,
.cv-font-cormorant i {
  font-family: "Cormorant Garamond", "CV Cormorant Fallback", Georgia, serif;
}
