/* Tokens de diseño: única fuente de verdad visual.
   Para cambiar el color de acento, una tipografía o un espaciado, se toca aquí. */

/* Fuentes alojadas en la propia web (subconjunto latino, variables). Licencia SIL Open Font License. */
@font-face {
  font-family: "Antonio";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fuentes/antonio-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fuentes/inter-latin.woff2") format("woff2");
}


:root {
  /* Color: tinta, papel y un solo acento */
  --tinta: #0f1011;
  --tinta-2: #1a1c1e;          /* tarjetas oscuras */
  --tinta-3: #2b2e31;          /* tarjetas oscuras elevadas */
  --papel: #f1f1ec;
  --papel-2: #e4e4dd;          /* líneas y fondos sutiles */
  --acento: #de5f19;           /* naranja único: 3,2:1 sobre papel y 4,7:1 sobre tinta-2 (el #F2681B de Figma da 2,7:1 sobre papel) */

  /* Texto secundario, teñido del propio fondo (no gris genérico) */
  --texto-suave-papel: #53554c;   /* 6,7:1 sobre --papel */
  --texto-suave-tinta: #b4b6ab;   /* 8,3:1 sobre --tinta-2 */

  /* Roles semánticos */
  --fondo: var(--papel);
  --texto: var(--tinta);
  --texto-suave: var(--texto-suave-papel);
  --linea: var(--tinta);
  --foco: var(--tinta);

  /* Tipografía */
  --fuente-titulo: "Antonio", "Arial Narrow", Impact, sans-serif;
  --fuente-texto: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-md: 1.5rem;
  --t-lg: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
  --t-xl: clamp(2.75rem, 1.9rem + 2.6vw, 3.75rem);
  --t-display: clamp(2.5rem, 11.8vw, 8.75rem); /* el titular gigante de la home */

  --interlinea-titulo: 1;
  --peso-titulo: 600;
  --peso-display: 700;          /* el titular gigante: el peso máximo de Antonio */
  --interlinea-texto: 1.55;
  --medida: 68ch;

  /* Espaciado (escala de 4px; separar más de lo que parece necesario) */
  --e-1: 0.25rem;
  --e-2: 0.5rem;
  --e-3: 0.75rem;
  --e-4: 1rem;
  --e-5: 1.5rem;
  --e-6: 2rem;
  --e-7: 3rem;
  --e-8: 4.5rem;
  --e-9: 7rem;

  --margen-pagina: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --ancho-max: 90rem;

  /* Formas */
  --radio-s: 0.5rem;
  --radio-m: 0.75rem;
  --radio-l: 1rem;
  --radio-pill: 999px;

  /* Sombra suave con desplazamiento (nunca halo ni bloque duro) */
  --sombra: 0 1px 2px rgb(15 16 17 / 0.08), 0 12px 32px -12px rgb(15 16 17 / 0.25);

  /* Movimiento */
  --ease-salida: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-rapida: 160ms;
  --dur-media: 320ms;
}
