/* ==========================================================================
   FARO Design Tokens
   All CSS custom properties. Import this first in every page.
   ========================================================================== */

:root {

  /* --------------------------------------------------------------------------
     Colors — Core
     -------------------------------------------------------------------------- */
  --color-black:      #0a0a0a;
  --color-white:      #fafafa;
  --color-cream:      #f5f0eb;
  --color-warm-gray:  #a8a29e;
  --color-dark-gray:  #1c1917;
  --color-mid-gray:   #44403c;
  --color-light-gray: #78716c;

  /* --------------------------------------------------------------------------
     Colors — Semantic
     -------------------------------------------------------------------------- */
  --color-bg-primary:    var(--color-black);
  --color-bg-secondary:  var(--color-dark-gray);
  --color-text-primary:  var(--color-white);
  --color-text-secondary: var(--color-warm-gray);
  --color-text-muted:    var(--color-mid-gray);
  --color-accent:        var(--color-cream);

  /* --------------------------------------------------------------------------
     Colors — Overlays
     -------------------------------------------------------------------------- */
  --overlay-hero: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.72) 0%,
    rgba(10, 10, 10, 0.3) 40%,
    transparent 70%
  );
  --overlay-card: rgba(10, 10, 10, 0.45);

  /* --------------------------------------------------------------------------
     Typography — Font Families
     -------------------------------------------------------------------------- */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* --------------------------------------------------------------------------
     Typography — Scale (fluid via clamp)
     -------------------------------------------------------------------------- */
  --text-hero:     clamp(3.25rem, 7.5vw, 6.5rem);
  --text-display:  clamp(2.5rem, 5vw, 4.25rem);
  --text-heading:  clamp(1.5rem, 3vw, 2.25rem);
  --text-subhead:  clamp(1rem, 1.75vw, 1.375rem);
  --text-body:     1rem;
  --text-caption:  0.875rem;
  --text-micro:    0.75rem;

  /* --------------------------------------------------------------------------
     Typography — Line Heights
     -------------------------------------------------------------------------- */
  --leading-tight:   1.1;
  --leading-snug:    1.25;
  --leading-normal:  1.5;
  --leading-relaxed: 1.75;

  /* --------------------------------------------------------------------------
     Typography — Letter Spacing
     -------------------------------------------------------------------------- */
  --tracking-tight:  -0.02em;
  --tracking-normal:  0em;
  --tracking-wide:    0.05em;
  --tracking-wider:   0.1em;

  /* --------------------------------------------------------------------------
     Spacing — 4px base grid
     -------------------------------------------------------------------------- */
  --space-1:  0.25rem;   /*  4px */
  --space-2:  0.5rem;    /*  8px */
  --space-3:  0.75rem;   /* 12px */
  --space-4:  1rem;      /* 16px */
  --space-5:  1.25rem;   /* 20px */
  --space-6:  1.5rem;    /* 24px */
  --space-8:  2rem;      /* 32px */
  --space-10: 2.5rem;    /* 40px */
  --space-12: 3rem;      /* 48px */
  --space-16: 4rem;      /* 64px */
  --space-20: 5rem;      /* 80px */
  --space-24: 6rem;      /* 96px */
  --space-32: 8rem;      /* 128px */
  --space-40: 10rem;     /* 160px */

  /* --------------------------------------------------------------------------
     Layout
     -------------------------------------------------------------------------- */
  --content-max-width: 1200px;
  --content-narrow:    640px;
  --content-padding:   var(--space-6);
  --section-gap:       var(--space-32);
  --section-gap-mobile: var(--space-20);

  /* --------------------------------------------------------------------------
     Motion — Durations
     -------------------------------------------------------------------------- */
  --duration-fast:   150ms;
  --duration-normal: 300ms;
  --duration-slow:   500ms;
  --duration-slower: 800ms;

  /* --------------------------------------------------------------------------
     Motion — Easings
     -------------------------------------------------------------------------- */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-in:     cubic-bezier(0.55, 0, 1, 0.45);

  /* --------------------------------------------------------------------------
     Borders & Radius
     -------------------------------------------------------------------------- */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   24px;
  --radius-full: 9999px;
  --border-thin: 1px solid var(--color-mid-gray);

  /* --------------------------------------------------------------------------
     Shadows
     -------------------------------------------------------------------------- */
  --shadow-subtle:   0 1px 2px rgba(0, 0, 0, 0.15);
  --shadow-elevated: 0 4px 24px rgba(0, 0, 0, 0.3);

  /* --------------------------------------------------------------------------
     Z-Index Scale
     -------------------------------------------------------------------------- */
  --z-base:       1;
  --z-overlay:    10;
  --z-nav:        100;
  --z-modal:      200;
  --z-transition: 300;

  /* --------------------------------------------------------------------------
     Breakpoints (for reference — use in @media queries directly)
     --bp-sm:  480px
     --bp-md:  768px
     --bp-lg:  1024px
     --bp-xl:  1440px
     -------------------------------------------------------------------------- */
}
