/* jufredo — tokens. Generado desde tokens.json. Para el tema de un cliente, cambia solo estos valores. */
/* Bebas Neue servida desde el propio hosting, no desde Google Fonts: así no se envía a Google la IP de cada visitante. */
@font-face { font-family: "Bebas Neue"; src: url("fuentes/bebas-neue-latin-400-normal.woff2") format("woff2"); font-weight: 400; 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: "Bebas Neue"; src: url("fuentes/bebas-neue-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; 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; }

/* Lora Italic: solo para poemas y letras (Poem). Servida desde el propio hosting, sin Google Fonts. */
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fuentes/lora-latin-400-italic.woff2") format("woff2");
  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: "Lora"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fuentes/lora-latin-ext-400-italic.woff2") format("woff2");
  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; }

:root, [data-theme="light"] {
  --surface: #faf6ef;
  --surface-raised: #ffffff;
  --surface-sunken: #f2eadf;
  --line: #e3d8c8;
  --line-strong: #8f7b66;
  --ink: #2a1f17;
  --ink-muted: #6b5847;
  --terracota: #a8421f;
  --terracota-strong: #8a3418;
  --terracota-soft: #f7e3d9;
  --on-terracota: #ffffff;
  --ocre: #b7791f;
  --ocre-soft: #f6e6c6;
  --exito: #1d5f73;
  --exito-soft: #dcedf1;
  --error: #b3261e;
  --error-soft: #fbe3e0;
  --focus: #8a3418;
  --link: var(--terracota);
  --header-bg: var(--surface-raised);
  --header-ink: var(--ink);
  --header-line: var(--line);
  --header-logo-accent: var(--terracota);
  --header-hover-ink: var(--terracota);
  --header-hover-bg: var(--surface-sunken);
  --header-active-bg: var(--terracota-soft);
  --header-active-ink: var(--terracota-strong);
  --header-focus: var(--focus);
  --footer-bg: var(--surface-sunken);
  --footer-ink: var(--ink);
  --footer-ink-muted: var(--ink-muted);
  --footer-line: var(--line);
  --footer-underline: var(--line-strong);
  --footer-logo-accent: var(--terracota);
  --footer-hover-ink: var(--terracota);
  --footer-focus: var(--focus);
  --scrim: rgba(27,21,18,0.55);
  --visor-fondo: #120d0a;
  --on-visor: #f4ece2;
  --visor-boton: rgba(18,13,10,0.72);
  --visor-boton-hover: rgba(18,13,10,0.92);
  --visor-borde: rgba(244,236,226,0.45);
  --logo-plate: #ffffff;
  --logo-plate-oscuro: #1f1f1f;
  --shadow-raised: 0 1px 2px rgba(42,31,23,0.08), 0 4px 12px rgba(42,31,23,0.06);
}

/* Oscuro: sigue la preferencia del sistema, salvo que el visitante haya elegido claro */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #1b1512;
    --surface-raised: #251d18;
    --surface-sunken: #140f0c;
    --line: #3b3029;
    --line-strong: #8d7a68;
    --ink: #f4ece2;
    --ink-muted: #bfae9c;
    --terracota: #ec8f6f;
    --terracota-strong: #f5ab91;
    --terracota-soft: #40241a;
    --on-terracota: #1b1512;
    --ocre: #e0a54a;
    --ocre-soft: #3d2c12;
    --exito: #86c9dc;
    --exito-soft: #14323b;
    --error: #ff8f84;
    --error-soft: #44191a;
    --focus: #f5ab91;
    --link: var(--terracota);
    --header-bg: var(--surface-raised);
    --header-ink: var(--ink);
    --header-line: var(--line);
    --header-logo-accent: var(--terracota);
    --header-hover-ink: var(--terracota);
    --header-hover-bg: var(--surface-sunken);
    --header-active-bg: var(--terracota-soft);
    --header-active-ink: var(--terracota-strong);
    --header-focus: var(--focus);
    --footer-bg: var(--surface-sunken);
    --footer-ink: var(--ink);
    --footer-ink-muted: var(--ink-muted);
    --footer-line: var(--line);
    --footer-underline: var(--line-strong);
    --footer-logo-accent: var(--terracota);
    --footer-hover-ink: var(--terracota);
    --footer-focus: var(--focus);
    --scrim: rgba(0,0,0,0.6);
    --visor-fondo: #0b0806;
    --on-visor: #f4ece2;
    --visor-boton: rgba(18,13,10,0.72);
    --visor-boton-hover: rgba(18,13,10,0.92);
    --visor-borde: rgba(244,236,226,0.45);
    --logo-plate: #ffffff;
    --logo-plate-oscuro: #1f1f1f;
    --shadow-raised: 0 1px 2px rgba(0,0,0,0.5);
  }
}
[data-theme="dark"] {
  --surface: #1b1512;
  --surface-raised: #251d18;
  --surface-sunken: #140f0c;
  --line: #3b3029;
  --line-strong: #8d7a68;
  --ink: #f4ece2;
  --ink-muted: #bfae9c;
  --terracota: #ec8f6f;
  --terracota-strong: #f5ab91;
  --terracota-soft: #40241a;
  --on-terracota: #1b1512;
  --ocre: #e0a54a;
  --ocre-soft: #3d2c12;
  --exito: #86c9dc;
  --exito-soft: #14323b;
  --error: #ff8f84;
  --error-soft: #44191a;
  --focus: #f5ab91;
  --link: var(--terracota);
  --header-bg: var(--surface-raised);
  --header-ink: var(--ink);
  --header-line: var(--line);
  --header-logo-accent: var(--terracota);
  --header-hover-ink: var(--terracota);
  --header-hover-bg: var(--surface-sunken);
  --header-active-bg: var(--terracota-soft);
  --header-active-ink: var(--terracota-strong);
  --header-focus: var(--focus);
  --footer-bg: var(--surface-sunken);
  --footer-ink: var(--ink);
  --footer-ink-muted: var(--ink-muted);
  --footer-line: var(--line);
  --footer-underline: var(--line-strong);
  --footer-logo-accent: var(--terracota);
  --footer-hover-ink: var(--terracota);
  --footer-focus: var(--focus);
  --scrim: rgba(0,0,0,0.6);
  --visor-fondo: #0b0806;
  --on-visor: #f4ece2;
  --visor-boton: rgba(18,13,10,0.72);
  --visor-boton-hover: rgba(18,13,10,0.92);
  --visor-borde: rgba(244,236,226,0.45);
  --logo-plate: #ffffff;
  --logo-plate-oscuro: #1f1f1f;
  --shadow-raised: 0 1px 2px rgba(0,0,0,0.5);
}

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 80px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-full: 9999px;
  --measure: 680px;
  --container: 1120px;
  --header-height: 64px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --font-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-verse: Lora, Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* Estilos de texto (clases .t-*) */
.t-display { font-family: var(--font-display); font-size: 72px; line-height: 0.92; font-weight: 400; letter-spacing: 0.01em; }
.t-h1 { font-family: var(--font-display); font-size: 48px; line-height: 1; font-weight: 400; letter-spacing: 0.01em; }
.t-h2 { font-family: var(--font-display); font-size: 32px; line-height: 1.05; font-weight: 400; letter-spacing: 0.02em; }
.t-card-title { font-family: var(--font-display); font-size: 26px; line-height: 1.05; font-weight: 400; letter-spacing: 0.02em; }
.t-label { font-family: var(--font-display); font-size: 18px; line-height: 1; font-weight: 400; letter-spacing: 0.06em; }
.t-h3 { font-family: var(--font-sans); font-size: 20px; line-height: 28px; font-weight: 700; }
.t-lead { font-family: var(--font-sans); font-size: 20px; line-height: 32px; font-weight: 400; }
.t-article { font-family: var(--font-sans); font-size: 18px; line-height: 30px; font-weight: 400; }
.t-body { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 400; }
.t-small { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }
.t-verse { font-family: var(--font-verse); font-size: 19px; line-height: 32px; font-weight: 400; font-style: italic; }
