/* Identidad visual de Hugo y Caro: fuentes y colores compartidos por la página y los documentos PDF.
   Paleta "Atardecer" tomada de la sesión Reconocerte: negro cálido de la marca, marfil, arena, vino (blusa de Caro)
   y dorado (luz de las lámparas). El logo oficial es negro o blanco: sobre fondos claros va en --texto, sobre oscuros en --marfil. */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/fraunces-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/fraunces-cursiva.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/figtree-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/figtree-cursiva.woff2') format('woff2');
}

:root {
  /* colores fijos de la marca */
  --negro: #1d1815;
  --marfil: #f7f1e7;
  --vino: #7a2e24;
  --vino-hondo: #5a2019;
  --oro: #b98a4c;

  /* colores por función (modo claro) */
  --fondo: var(--marfil);
  --fondo-alt: #eee4d4;
  --texto: var(--negro);
  --texto-suave: #564a42;
  --acento: var(--vino);
  --acento-hover: var(--vino-hondo);
  --sobre-acento: var(--marfil);
  --detalle: var(--oro);
  --linea: #dccdb8;
  --noche: #1d1815;
  --sobre-noche: #f3ebdf;

  /* tipografía */
  --f-titulo: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-texto: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --fondo: #16120f;
    --fondo-alt: #211b17;
    --texto: #f3ebdf;
    --texto-suave: #c8baa8;
    --acento: #d9957b;
    --acento-hover: #e7ad96;
    --sobre-acento: #16120f;
    --detalle: #d8ad6c;
    --linea: #3a302a;
    --noche: #0f0c0a;
  }
}
