/* Informàtica Funcional — typography tokens */
:root {
  /* Families — EB Garamond inherits the serif voice of the logo wordmark; Inter carries body & UI */
  --font-serif-display: "EB Garamond", "Spectral", Georgia, serif;
  --font-sans-body: "Inter", "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale (fluid, mobile-first) */
  --text-hero: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); /* @kind spacing */ /* 40 → 72px */
  --text-h2: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); /* @kind spacing */ /* 32 → 52px */
  --text-h3: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); /* @kind spacing */ /* 22 → 28px */
  --text-lede: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); /* @kind spacing */ /* 18 → 22px */
  --text-body-size: 1.0625rem;                              /* 17px */
  --text-small: 0.9375rem;                                  /* 15px */
  --text-caption: 0.8125rem;                                /* 13px */
  --text-eyebrow: 0.8125rem;                                /* 13px, tracked caps */

  /* Weights & details */
  --weight-display: 560;          /* EB Garamond variable (wght 400–800), slightly bolder than book */
  --weight-display-light: 420;
  --weight-body: 400;
  --weight-medium: 500;
  --weight-semibold: 600;

  --leading-display: 1.06;
  --leading-heading: 1.15;
  --leading-body: 1.65;

  --tracking-display: -0.015em;
  --tracking-eyebrow: 0.14em;

  /* EB Garamond solo expone el eje wght (lo controla --weight-display); sin ejes ópticos/soft */
  --serif-settings: normal; /* @kind other */
}
