/* ================================================================
   DEKEVA — fonts.css
   Self-host de las fuentes desde /assets/fonts/
   font-display: block para que el browser espere la fuente real
   antes de mostrar texto (evita FOUT/flash). Combinado con preload
   y el preloader DKV, las fuentes están listas antes de mostrar
   contenido.
================================================================ */

/* ── Cormorant Garamond — display ─────────────────────────────── */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: block;
  src: url('../fonts/cormorant-garamond-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../fonts/cormorant-garamond-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url('../fonts/cormorant-garamond-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: block;
  src: url('../fonts/cormorant-garamond-300-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: block;
  src: url('../fonts/cormorant-garamond-400-italic.woff2') format('woff2');
}

/* ── Cormorant — variante extra fina italic ──────────────────── */
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-weight: 300;
  font-display: block;
  src: url('../fonts/cormorant-300-italic.woff2') format('woff2');
}
/* Mapear weights 100/200 a 300 (no existen en Cormorant pero
   nuestro CSS los usa — el browser elige 300 como más cercano) */
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-weight: 100 200;
  font-display: block;
  src: url('../fonts/cormorant-300-italic.woff2') format('woff2');
}

/* ── Inter — body ─────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: block;
  src: url('../fonts/inter-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url('../fonts/inter-500.woff2') format('woff2');
}

/* ── JetBrains Mono — mono ────────────────────────────────────── */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../fonts/jetbrains-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url('../fonts/jetbrains-mono-500.woff2') format('woff2');
}
/* Mapear weight 300 a 400 (no descargado, browser usa 400) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 300;
  font-display: block;
  src: url('../fonts/jetbrains-mono-400.woff2') format('woff2');
}
