/* ===== CSS CUSTOM PROPERTIES (DESIGN TOKENS) ===== */

:root {
  /* ── Brand Colors (static — same in both themes) ── */
  --graphite: #3a3335;
  --graphite-light: #4a4144;
  --raspberry: #d81e5b;
  --raspberry-hover: #b8184e;
  --cinnabar: #f0544f;
  --papaya: #fdf0d5;
  --ash-grey: #c6d8d3;
  --white: #FFFFFF;
  /* Legacy aliases */
  --navy: #3a3335;
  --navy-light: #4a4144;
  --slate: #8a7a70;
  --slate-light: #a89a90;
  --gold: #d81e5b;
  --gold-hover: #b8184e;
  --gold-light: #f0544f;
  --cream: #fdf0d5;
  --danger: #DC2626;
  --success: #16A34A;

  /* ── Semantic Tokens — Light Mode (default) ── */
  --bg-primary: #fdf0d5;
  --bg-surface: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-muted: #f0e4d0;
  --bg-inverse: #3a3335;
  --text-primary: #3a3335;
  --text-secondary: #8a7a70;
  --text-muted: rgba(58, 51, 53, 0.5);
  --text-inverse: #fdf0d5;
  --accent: #d81e5b;
  --accent-hover: #b8184e;
  --accent-muted: rgba(216, 30, 91, 0.12);
  --accent-text: #FFFFFF;
  --border: rgba(58, 51, 53, 0.15);
  --border-strong: rgba(58, 51, 53, 0.3);
  --focus-ring: 0 0 0 3px rgba(216, 30, 91, 0.22);
  --shadow-sm: 0 1px 3px rgba(58, 51, 53, 0.06);
  --shadow-md: 0 12px 36px rgba(58, 51, 53, 0.08);
  --shadow-lg: 0 22px 48px rgba(58, 51, 53, 0.14);
  --shadow-gold: 0 4px 16px rgba(216, 30, 91, 0.3);

  /* ── Spacing ── */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;
  --space-5xl: 112px;
  --space-section: 96px;
  --space-section-mobile: 64px;

  /* ── Typography ── */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Type Scale */
  --text-display: clamp(3rem, 7vw, 5rem);
  --text-h1: clamp(2.35rem, 5vw, 3.5rem);
  --text-h2: clamp(1.75rem, 3vw, 2.4rem);
  --text-h3: clamp(1.2rem, 2vw, 1.45rem);
  --text-body: 1rem;
  --text-sm: 0.9375rem;
  --text-label: 0.8125rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --line-height-tight: 1.1;
  --line-height-snug: 1.3;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.05em;
  --letter-spacing-wider: 0.1em;

  /* ── Layout ── */
  --max-width: 1200px;
  --max-width-narrow: 680px;
  --max-width-wide: 1400px;
  --max-width-reading: 760px;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 28px;
  --border-radius-full: 9999px;
  --header-height: 80px;
  --header-offset: calc(var(--header-height) + var(--space-lg));
  --transition-fast: 150ms ease;
  --transition-base: 220ms ease;
  --transition-slow: 320ms ease;
}
