/* Brand tokens from the visual guide v1.5 (pages 4, 13 and 14). Use these, never raw values. */
:root {
  /* Palette */
  --color-ivory: #F4EFE5;
  --color-olive: #6F7250;
  --color-burgundy: #7A3944;
  --color-ochre: #B58B4A;
  --color-graphite: #34322F;
  --color-blue: #6E8293;
  --color-espresso: #5A3421;

  /* Derived surfaces and lines */
  --color-paper: #FBF8F2;
  --color-text: var(--color-graphite);
  --color-text-muted: #5E5A53;
  --color-ink: #141312;
  --color-line: color-mix(in srgb, var(--color-graphite) 14%, var(--color-ivory));
  --color-accent: var(--color-burgundy);

  /* Category labels (v1.5 mapping, page 13); text colours chosen for WCAG AA contrast */
  --color-poticaj: var(--color-olive);
  --color-poticaj-text: var(--color-paper);
  --color-igra: var(--color-blue);
  --color-igra-text: var(--color-ink);
  --color-materijal: var(--color-ochre);
  --color-materijal-text: var(--color-ink);

  /* Type */
  --font-heading: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Libre Baskerville", Georgia, serif;
  --text-xs: 0.75rem;
  --text-sm: 1rem; /* Smallest size for reading text; never go below 1rem here. */
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
  --text-2xl: clamp(2.25rem, 1.7rem + 2vw, 3.25rem);
  --text-display: clamp(2.75rem, 1.9rem + 3.6vw, 4.75rem);
  --leading-body: 1.75;
  --leading-heading: 1.08;
  --tracking-label: 0.12em;

  /* Rhythm (page 6): text column 680-760 px, sections 72-112 px on desktop */
  --measure: 720px;
  --page-width: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-space: clamp(4.5rem, 2.5rem + 6vw, 7rem);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;

  /* Shape: softly rounded, no strong shadows */
  --radius: 12px;
  --radius-pill: 999px;
  --transition: 160ms ease;
}
