/* ===================================================================
   3F Forum Tajikistan 2026 · Design Tokens
   Direction: Persian-Modern Deal Room (editorial luxury × investment-grade trust)
   =================================================================== */

:root {
  /* ---------- Colour ---------- */
  --ink: #1F2937;          /* Graphite — body text */
  --ink-soft: #4B5563;     /* Secondary text */
  --ink-mute: #6B7280;     /* Tertiary / meta */
  --cream: #FAF7EE;        /* Page background */
  --paper: #FFFFFF;        /* Cards */
  --mist: #E8E4D8;         /* Soft divider */
  --mist-strong: #D4CFC0;  /* Stronger divider */

  --emerald: #0A6B38;      /* Pillar Founders · Hero gradient */
  --emerald-deep: #064925;
  --emerald-soft: #D6E7DC;

  --azure: #0066CC;        /* Pillar Tech · Links */
  --azure-deep: #004499;
  --azure-soft: #D6E2F0;

  --gold: #C9A227;         /* Pillar Investment · Signing · MOU */
  --gold-deep: #9A7B19;
  --gold-soft: #F1E6BD;

  --terracotta: #B8693E;   /* Hafzun retreat · warm */
  --terracotta-deep: #8E4F2D;
  --terracotta-soft: #F2DDC9;

  --danger: #B91C1C;
  --success: #15803D;

  /* ---------- Typography ---------- */
  --font-display: 'Fraunces', 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Responsive type scale — clamp(min, fluid, max) */
  --text-xs: clamp(0.72rem, 0.68rem + 0.15vw, 0.78rem);
  --text-sm: clamp(0.82rem, 0.78rem + 0.18vw, 0.9rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --text-md: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  --text-lg: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --text-xl: clamp(1.45rem, 1.3rem + 0.8vw, 1.85rem);
  --text-2xl: clamp(1.8rem, 1.5rem + 1.3vw, 2.5rem);
  --text-3xl: clamp(2.25rem, 1.8rem + 2vw, 3.4rem);
  --text-hero: clamp(2.6rem, 1.8rem + 4vw, 5.6rem);

  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.55;
  --leading-loose: 1.75;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.08em;
  --tracking-wider: 0.18em;

  /* ---------- Spacing scale (8-base) ---------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;
  --space-section: clamp(64px, 5vw + 48px, 128px);

  /* ---------- Layout ---------- */
  --container-max: 1200px;
  --container-narrow: 880px;
  --container-pad: clamp(20px, 4vw, 48px);

  /* ---------- Radius ---------- */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* ---------- Shadows ---------- */
  --shadow-sm: 0 1px 2px rgba(31, 41, 55, 0.06), 0 1px 3px rgba(31, 41, 55, 0.05);
  --shadow-md: 0 4px 10px rgba(31, 41, 55, 0.06), 0 2px 4px rgba(31, 41, 55, 0.04);
  --shadow-lg: 0 18px 40px rgba(31, 41, 55, 0.1), 0 6px 12px rgba(31, 41, 55, 0.05);
  --shadow-xl: 0 30px 60px rgba(10, 107, 56, 0.12), 0 12px 24px rgba(31, 41, 55, 0.08);

  /* ---------- Motion ---------- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 160ms;
  --duration-base: 280ms;
  --duration-slow: 480ms;

  /* ---------- Z-index ---------- */
  --z-base: 1;
  --z-sticky: 20;
  --z-header: 40;
  --z-overlay: 70;
  --z-modal: 80;
  --z-toast: 90;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
