/* =====================================================
   Branding Realm — Design Tokens
   Premium unified design system
===================================================== */

:root {
  /* Brand colors */
  --br-primary: #ff5a05;
  --br-primary-dark: #e04d00;
  --br-primary-light: #ff7a33;
  --br-navy: #1d123c;
  --br-ink: #1d1830;
  --br-muted: #5c5768;
  --br-cream: #fbf7f1;
  --br-dark: #120b24;
  --br-border: #eee7de;
  --br-white: #ffffff;
  --br-success: #0d7a4e;
  --br-error: #c62828;

  /* Typography scale */
  --br-font: "Inter", system-ui, -apple-system, sans-serif;
  --br-text-xs: 0.75rem;
  --br-text-sm: 0.875rem;
  --br-text-base: 1rem;
  --br-text-lg: 1.125rem;
  --br-text-xl: 1.25rem;
  --br-text-2xl: 1.5rem;
  --br-text-3xl: 2rem;
  --br-text-4xl: 2.5rem;
  --br-text-5xl: 3.25rem;
  --br-leading-tight: 1.15;
  --br-leading-normal: 1.6;
  --br-tracking-tight: -0.02em;
  --br-tracking-wide: 0.08em;

  /* Spacing scale */
  --br-space-1: 0.25rem;
  --br-space-2: 0.5rem;
  --br-space-3: 0.75rem;
  --br-space-4: 1rem;
  --br-space-5: 1.25rem;
  --br-space-6: 1.5rem;
  --br-space-8: 2rem;
  --br-space-10: 2.5rem;
  --br-space-12: 3rem;
  --br-space-16: 4rem;
  --br-space-20: 5rem;
  --br-space-24: 6rem;

  /* Layout */
  --br-container-max: 1400px;
  --br-container-wide: 1280px;
  --br-container-narrow: 720px;
  --br-header-height: 72px;

  /* Radius */
  --br-radius-sm: 8px;
  --br-radius-md: 14px;
  --br-radius-lg: 22px;
  --br-radius-xl: 32px;
  --br-radius-pill: 999px;

  /* Shadows */
  --br-shadow-sm: 0 4px 12px rgba(29, 18, 60, 0.06);
  --br-shadow-md: 0 12px 32px rgba(29, 18, 60, 0.1);
  --br-shadow-lg: 0 24px 56px rgba(29, 18, 60, 0.14);
  --br-shadow-glow: 0 8px 32px rgba(255, 90, 5, 0.25);

  /* Transitions */
  --br-transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
  --br-transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Map legacy prefixes to unified tokens */
  --br-orange: var(--br-primary);
  --br-text: var(--br-ink);
  --brs-orange: var(--br-primary);
  --brc-orange: var(--br-primary);
  --prt-orange: var(--br-primary);
  --tsb-orange: var(--br-primary);
  --bdx-orange: var(--br-primary);
  --uxhero-orange: var(--br-primary);
  --nxblog-orange: var(--br-primary);
  --vrd-primary: var(--br-primary);
  --vrd-color-orange: var(--br-primary);
}

/* Improved contrast for muted text */
.br-muted-text,
.br-footer p,
.brc-hero-copy,
.prt-hero-text {
  color: var(--br-muted);
}

@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;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}
