/* Hallmark · tokens · OÍDO — escucha guiada
 * Brand-locked: palette, Bristol + Helvetica come from the owner's identity sheet.
 * Every colour / font in style.css must reference a token below.
 */

@font-face {
  font-family: "Bristol";
  src: url("../assets/fonts/Bristol.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* colour — brand palette (beige, black, terracotta, gray) */
  --color-paper: #ded6c8;
  --color-paper-2: #e8e2d6;
  --color-ink: #121110;
  --color-ink-soft: #403c37;          /* muted text: 7:1 on paper, ≥5:1 over the veiled record */
  --color-accent: #bd653b;            /* terracotta — strokes, circles, strikes (decorative) */
  --color-accent-text: #8f421f;       /* terracotta darkened for text, 4.9:1 on paper */
  --color-rule: #a6a6a6;
  --pen-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 12' preserveAspectRatio='none'%3E%3Cpath d='M3 7 C 160 3 300 10 470 6 S 760 2 930 7 S 1120 9 1197 5' fill='none' stroke='%23bd653b' stroke-width='2.6' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");  /* trazo a mano del separador, en terracota (#bd653b = --color-accent) */              /* brand gray — hairlines only */
  --color-shadow: rgb(40 30 20 / 0.38); /* tonearm drop shadow on the plinth */
  --color-halo: rgb(222 214 200 / 0.78); /* paper glow behind the hero question, over the record */

  /* type */
  --font-display: "Bristol", "Marker Felt", "Comic Sans MS", cursive;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, "Courier New", monospace;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.6rem, 4.2vw, 2.4rem);
  --text-2xl: clamp(2rem, 5.2vw, 3.4rem);
  --text-display: clamp(2.1rem, 5.4vw, 3.6rem);
  --text-hook: clamp(2.2rem, 5.4vw, 4.6rem);

  /* space — 4pt scale */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* layout */
  --gutter: 1.25rem;
  --measure: 38rem;
  --page: 80rem;                       /* ancho máximo de la grilla de página */

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-short: 160ms;
  --dur-draw: 1400ms;

  /* line */
  --rule-hair: 1px;
  --rule-pen: 1.5px;
}
