/* ==========================================================================
   RecruitingSniper Design Tokens
   Single source of truth for colour, type, spacing, radius, shadow, motion.
   No rules here — variables only. Extracted from websiteindex.html (V1).
   ========================================================================== */

:root {

  /* ---- Color: base ---- */
  --color-bg: #0a0a0a;
  --color-bg-nav: rgba(10, 10, 10, 0.95);
  --color-text: #f5f5f5;
  --color-text-secondary: #d1d5db;
  --color-text-muted: #9ca3af;
  --color-text-subtle: #6b7280;
  --color-white: #ffffff;

  --color-gold: #D4AF37;
  --color-gold-hover: #C19A2E;
  --color-gold-secondary: #F4D03F;

  /* ---- Color: RGB channels (for rgba() composition) ---- */
  --color-gold-rgb: 212, 175, 55;
  --color-gold-secondary-rgb: 244, 208, 63;
  --color-white-rgb: 255, 255, 255;
  --color-offwhite-rgb: 245, 245, 245;
  --color-black-rgb: 10, 10, 10;

  /* ---- Color: overlays (borders, tints, glass backgrounds) ---- */
  --overlay-gold-03: rgba(var(--color-gold-rgb), 0.03);
  --overlay-gold-05: rgba(var(--color-gold-rgb), 0.05);
  --overlay-gold-10: rgba(var(--color-gold-rgb), 0.1);
  --overlay-gold-15: rgba(var(--color-gold-rgb), 0.15);
  --overlay-gold-30: rgba(var(--color-gold-rgb), 0.3);
  --overlay-gold-40: rgba(var(--color-gold-rgb), 0.4);
  --overlay-gold-50: rgba(var(--color-gold-rgb), 0.5);
  --overlay-gold-secondary-15: rgba(var(--color-gold-secondary-rgb), 0.15);

  --overlay-white-03: rgba(var(--color-white-rgb), 0.03);
  --overlay-white-05: rgba(var(--color-white-rgb), 0.05);
  --overlay-white-08: rgba(var(--color-white-rgb), 0.08);
  --overlay-white-10: rgba(var(--color-white-rgb), 0.1);

  --overlay-offwhite-30: rgba(var(--color-offwhite-rgb), 0.3);
  --overlay-offwhite-60: rgba(var(--color-offwhite-rgb), 0.6);

  /* ---- Typography ---- */
  --font-family-base: 'Plus Jakarta Sans', sans-serif;
  --font-family-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

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

  --font-size-xs: 0.85rem;
  --font-size-sm: 0.9rem;
  --font-size-sm-alt: 0.95rem;
  --font-size-base: 1rem;
  --font-size-md: 1.05rem;
  --font-size-lg: 1.1rem;
  --font-size-xl: 1.2rem;
  --font-size-2xl: 1.3rem;
  --font-size-3xl: 1.5rem;
  --font-size-4xl: 1.8rem;
  --font-size-5xl: 3.5rem;

  --font-size-hero-title: clamp(2.75rem, 6vw, 5rem);
  --font-size-hero-subtitle: clamp(1.2rem, 2vw, 1.5rem);
  --font-size-section-title: clamp(2.5rem, 5vw, 3.5rem);
  --font-size-final-cta-title: clamp(2.5rem, 5vw, 4rem);

  --line-height-tight: 1.1;
  --line-height-base: 1.6;
  --line-height-relaxed: 1.7;

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

  /* ---- Spacing: rem scale (component-level margin/gap) ---- */
  --space-3xs: 0.3rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 2.5rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* ---- Spacing: px scale (section padding, button padding, borders) ---- */
  --space-px-1: 1px;
  --space-px-2: 2px;
  --space-px-3: 3px;
  --space-px-5: 5px;
  --space-px-8: 8px;
  --space-px-10: 10px;
  --space-px-12: 12px;
  --space-px-14: 14px;
  --space-px-15: 15px;
  --space-px-20: 20px;
  --space-px-24: 24px;
  --space-px-30: 30px;
  --space-px-40: 40px;
  --space-px-45: 45px;
  --space-px-50: 50px;
  --space-px-60: 60px;
  --space-px-80: 80px;
  --space-px-100: 100px;
  --space-px-120: 120px;

  /* ---- Sizing: fixed component dimensions ---- */
  --size-icon-md: 48px; /* nav/footer brand mark; bumped 2026-09-18 for legibility */
  --size-icon-lg: 45px;
  --size-avatar: 60px;

  /* ---- Sizing: containers & breakpoints ---- */
  --container-max: 1400px;
  --content-max: 1200px;
  --prose-max: 900px;
  --prose-max-sm: 700px;
  --prose-max-xs: 600px;
  --card-min: 350px;
  --mobile-cta-max: 300px;
  --max-height-expand: 500px;

  --breakpoint-tablet: 1024px;
  --breakpoint-mobile: 768px;

  /* ---- Border radius ---- */
  --radius-full: 50%;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 30px;

  /* ---- Shadow ---- */
  --shadow-gold-sm: 0 10px 30px var(--overlay-gold-40);
  --shadow-gold-md: 0 10px 40px var(--overlay-gold-30);
  --shadow-gold-lg: 0 15px 50px var(--overlay-gold-50);

  /* ---- Motion ---- */
  --duration-fast: 0.3s;
  --duration-slow: 0.8s;
  --duration-shimmer: 2.5s;
  --duration-aurora-slow: 32s;
  --duration-aurora-mid: 22s;
  --duration-aurora-breathe: 14s;
  --duration-aurora-pulse: 9s;
  --stagger-step: 0.15s;
  --ease-default: ease;
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --lift-sm: -2px;
  --lift-md: -3px;
  --lift-lg: -5px;
  --shift-x: 10px;
  --reveal-offset: 50px;
  --fade-offset: 30px;

  --blur-sm: 10px;

  /* ---- Motion: scroll reveal & pointer response ---- */
  --duration-quick: 0.2s;
  --duration-reveal: 0.9s;
  --duration-sheen: 0.7s;
  --duration-scan: 9s;
  --duration-spin-slow: 68s;
  --duration-spin-mid: 44s;
  --duration-pulse: 2.4s;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);

  --stagger-tight: 0.08s;
  --stagger-max-steps: 6;

  --reveal-shift: 26px;
  --magnet-pull: 8px;

  --grain-opacity: 0.045;
  --reticle-size: 30px;
  --reticle-size-locked: 52px;
  --progress-height: 2px;

  /* ---- Optics: target lock, rangefinder grid, tracer ---- */
  --duration-lock: 0.38s;
  --duration-tracer: 5.5s;
  --duration-scramble: 0.7s;

  --lock-bracket: 14px;
  --lock-inset: 10px;
  --lock-weight: 1.5px;

  --grid-cell: 64px;
  --grid-line: rgba(var(--color-white-rgb), 0.028);
  --grid-mark: rgba(var(--color-gold-rgb), 0.16);

  /* ---- Z-index ---- */
  --z-nav: 1000;
  --z-content: 2;
  --z-progress: 1050;
  --z-grain: 1100;
  --z-reticle: 1200;
}
