/* =============================================================
   CCHCL Website — Design Tokens (CSS Custom Properties)
   Church Commissioners Holding Company Limited
   "Enterprise in God's Name"

   Source of truth: AGENTS.md
   ============================================================= */

:root {
  /* ── Primary Colors ── */
  --color-navy: #1B3A6B;
  --color-gold: #C5A028;
  --color-purple: #6B2D7B;
  --color-purple-dark: #4A1B55;
  --color-gold-dark: #A88620;
  --color-gold-light: #FDF6E3;

  /* ── Background Colors ── */
  --color-deep-navy: #0F2440;
  --color-cream: #F5F3EE;
  --color-soft-blue: #E8EFF7;
  --color-soft-purple: #F5F0F7;
  --color-surface: #FFFFFF;

  /* ── Text Colors ── */
  --color-text: #1A1A2E;
  --color-text-secondary: #555555;
  --color-text-muted: #888888;

  /* ── Utility Colors ── */
  --color-border: rgba(0,0,0,0.08);
  --color-border-light: rgba(0,0,0,0.04);
  --color-success: #2E7D32;
  --color-error: #C62828;

  /* ── Subsidiary Accent Colors ── */
  --color-bookshop: #8B5E3C;
  --color-publishing: #6B2D7B;
  --color-guest-house: #2E7D32;
  --color-holiday-centre: #0277BD;
  --color-church-house: #C5A028;

  /* ── Gradients ── */
  --gradient-purple: linear-gradient(135deg, #2A0E35 0%, #6B2D7B 50%, #3A1648 100%);
  --gradient-purple-subtle: linear-gradient(135deg, #6B2D7B 0%, #4A1B55 100%);
  --gradient-gold: linear-gradient(135deg, #C5A028 0%, #D4A017 50%, #E8C547 100%);
  --gradient-hero: linear-gradient(135deg, rgba(42,14,53,0.92) 0%, rgba(107,45,123,0.7) 40%, rgba(58,22,72,0.5) 70%, rgba(42,14,53,0.3) 100%);
  --gradient-overlay: linear-gradient(to bottom, rgba(42,14,53,0.6), rgba(42,14,53,0.85));

  /* ── Typography ── */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ── Spacing (8px grid) ── */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* ── Border Radius ── */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* ── Shadows (layered two-value for depth — NOT single flat shadows) ── */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.03), 0 8px 32px rgba(0,0,0,0.08);
  --shadow-xl: 0 8px 24px rgba(0,0,0,0.04), 0 16px 48px rgba(0,0,0,0.1);
  --shadow-purple: 0 4px 20px rgba(107,45,123,0.15);
  --shadow-gold: 0 4px 20px rgba(197,160,40,0.15);

  /* ── Easing ── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Transitions (choreographed — NOT uniform!) ── */
  --transition-fast: 0.2s ease;      /* nav, small UI */
  --transition-base: 0.35s ease;     /* cards, interactive */
  --transition-slow: 0.6s ease;      /* sections, reveals */
  --transition-spring: 0.4s var(--ease-out);

  /* ── Layout ── */
  --container-max: 1200px;
  --container-narrow: 720px;
  --nav-height: 80px;
  --nav-height-scrolled: 64px;
  --utility-height: 40px;
}
