/*
 * Redattar design tokens (v0.1, from style guide v1 draft).
 * Source of truth. After editing, run build/sync-tokens.sh to copy into the theme.
 * Brand colours confirmed 26 Oct 2026: Burgundy #681C35, Maroon #421522, Olive #656B3C.
 */
:root {
  /* Colour: brand (confirmed) */
  --color-brand: #681c35;      /* Burgundy: primary accent, buttons, links, sale badge */
  --color-brand-dark: #421522; /* Maroon: dark surfaces (footer), button hover */
  --color-olive: #656b3c;      /* Olive: secondary accent, "Authentic" badge, trust details */

  /* Colour: neutrals and state */
  --color-ink: #1a1a1a;
  --color-ivory: #faf7f2;
  --color-sand: #efe8dd;
  --color-gold: #b08d57;  /* NOT a brand colour. Fine details only, never text. Pending removal. */
  --color-muted: #6b6b6b;
  --color-line: #e2dcd2;
  --color-success: #2e7d4f;
  --color-error: #b3261e;

  /* Typography (fonts to be self-hosted; fallbacks until then) */
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --tracking-caps: 0.08em;

  /* Type scale, mobile first */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 28px;
  --text-3xl: 34px;

  /* Spacing (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Layout and shape */
  --container-max: 1320px;
  --gutter: 16px;
  --section-pad: 48px;
  --radius-card: 0;
  --radius-control: 2px;
  --shadow-overlay: 0 8px 24px rgba(26, 26, 26, 0.12); /* drawers and popup only */
  --tap-size: 48px;
}

@media (min-width: 768px) {
  :root {
    --text-lg: 20px;
    --text-xl: 28px;
    --text-2xl: 36px;
    --text-3xl: 52px;
    --gutter: 32px;
    --section-pad: 96px;
  }
}

/* Breakpoints for reference (CSS variables cannot be used in media queries):
   360 base, 768 tablet, 1024 desktop, 1280 wide. */
