/* Yachay — fuentes y tokens. Valores provisionales hasta medir contraste con fotos reales. */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/work-sans-latin-400-normal.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/work-sans-latin-500-normal.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-medium.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }

:root {
  color-scheme: light;
  --lh-body: 1.6;

  /* Color — día (paleta de la maqueta de Lovable) */
  --bg: oklch(0.965 0.007 80);
  --fg: oklch(0.24 0.01 60);
  --fg-muted: oklch(0.5 0.012 65);
  --surface: oklch(0.92 0.01 78);
  --placeholder: oklch(0.9 0.012 76);
  --rule: oklch(0.82 0.012 70);

  /* Bandas oscuras ("piedra oscura") */
  --band-bg: oklch(0.22 0.01 55);
  --band-fg: oklch(0.93 0.008 80);
  --band-muted: oklch(0.68 0.012 70);
  --band-rule: oklch(0.36 0.01 60);

  /* Tipografía */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --weight-body: 400;
  --text-xs: 0.6875rem;
  --text-sm: 0.8125rem;
  --text-base: 1rem;
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  --track-eyebrow: 0.22em;

  /* Espacio y movimiento */
  --container: 1300px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 2.5rem + 6vw, 8rem);
  --dur: 420ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Noche (valores del sitio en construcción; superficie y bandas son propuesta) */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #242321;
  --fg: #f1eee6;
  --fg-muted: #aaa69d;
  --surface: #2c2b28;
  --placeholder: #2f2e2b;
  --rule: rgb(241 238 230 / 16%);
  --band-bg: #1a1917;
  --band-fg: #f1eee6;
  --band-muted: #aaa69d;
  --band-rule: rgb(241 238 230 / 16%);
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur: 0.01ms; }
}
/* Yachay · Work Sans 300 (prueba), botón y radios */
@font-face { font-family: "Work Sans"; src: url("../fonts/work-sans-latin-300-normal.woff2") format("woff2"); font-style: normal; font-weight: 300; font-display: swap; }

:root {
  --scrim: rgb(36 35 33 / 82%);
  --btn-bg: rgb(36 35 33 / 90%);
  --btn-fg: #f1eee6;
  --radius-btn: 11px;
  --radius-media: 1.25rem;
}
:root[data-theme="dark"] {
  --btn-bg: #f1eee6;
  --btn-fg: #242321;
}
