/*
 * Global design tokens.
 * Keep semantic variables stable: they can be mapped directly to
 * WordPress theme.json or ACF-controlled component styles later.
 */

:root {
  /* Brand palette */
  --color-accent: #aa0b28;
  --color-text: #14100d;
  --color-neutral: #b6b6b6;
  --color-block: #f6f6f6;
  --color-white: #ffffff;

  /* Semantic colors */
  --color-page: var(--color-white);
  --color-surface: var(--color-block);
  --color-surface-muted: var(--color-block);
  --color-border: var(--color-neutral);
  --color-link: var(--color-accent);
  --color-focus: var(--color-accent);

  /* Temporary aliases for components retained during the redesign. */
  --color-beige-strong: var(--color-neutral);
  --color-beige-medium: var(--color-block);
  --color-beige-light: var(--color-block);

  /* Typography */
  --font-body: "Manrope", Arial, sans-serif;
  --font-heading: "Google Sans", "Manrope", Arial, sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: clamp(1.0625rem, 0.99rem + 0.32vw, 1.25rem);
  --text-lg: clamp(1.5rem, 1.25rem + 1.1vw, 2.25rem);
  --text-xl: clamp(2.5rem, 1.7rem + 3.5vw, 5.5rem);

  /* Shared section-heading scale. Module 2 is the visual baseline. */
  --section-title-size: clamp(1.9rem, 3.25vw, 3.85rem); /* was 2.35rem / 4.05vw / 4.8rem (−20%) */
  --section-title-size-mobile: clamp(1.75rem, 8vw, 2.55rem); /* was 2.15rem / 10vw / 3.2rem (−20%) */

  --line-height-tight: 0.98;
  --line-height-heading: 1.08;
  --line-height-body: 1.6;
  --letter-spacing-caps: 0.12em;

  /* Layout */
  --container-width: 1560px;
  --container-gutter: clamp(15px, 1.25vw, 24px);
  --section-space: clamp(3rem, 4vw, 4.5rem);

  /* Spacing */
  --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;
  --space-8: 4rem;

  /* UI */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 2rem;
  --transition-fast: 180ms ease;
  --transition-base: 300ms ease;
}
