/* ============================================================
   THE BRAJ — DESIGN TOKENS (SINGLE SOURCE OF TRUTH)
   ------------------------------------------------------------
   RULES
   1. `--braj-*`  = RAW brand constants. Theme-INDEPENDENT.
      Use them only in always-dark chrome (header, footer, hero
      overlays) or anywhere the value must never flip with the
      day/night toggle.
   2. `--bg-* / --text-* / --gold* / --border-* / --shadow-* /
      --search-* / --mega-* / --skeleton-*` = SEMANTIC tokens.
      They are re-defined per theme (`dark` / `light`) and MUST
      be used by page content so dark/light mode keeps working.
   3. Never write a raw hex/rgba in a blade <style> block if a
      token with the same value exists.

   BREAKPOINTS (CSS variables cannot be used inside @media, so
   these are the canonical values to copy literally):
     --bp-sm: 480px   --bp-md: 767px   --bp-lg: 1199px   --bp-xl: 1440px
   ============================================================ */

/* ------------------------------------------------------------
   1. RAW BRAND PALETTE (theme-independent)
   ------------------------------------------------------------ */
:root {
    /* Neutrals / ink (Enforced Light Theme) */
    --braj-black: #FFFFFF;
    --braj-ink: #F8FAFC;
    --braj-ink-soft: #F1F5F9;
    --braj-cream: #F5F2EA;
    --braj-white: #FFFFFF;
    --braj-grey: #64748B;
    --braj-skeleton-a: #E2E8F0;
    --braj-skeleton-b: #F1F5F9;
    --braj-cream-line: #E2E8F0;
    --braj-cream-line-strong: #CBD5E1;
    --braj-cream-input: #FFFFFF;

    /* Gold family */
    --braj-gold: #F2B622;
    --braj-gold-light: #FFC94D;
    --braj-gold-dark: #AC6106;
    --braj-gold-deep: #6B4508;

    /* Gold tints (same alpha steps used across header/footer) */
    --braj-gold-05: rgba(242, 182, 34, .05);
    --braj-gold-08: rgba(242, 182, 34, .08);
    --braj-gold-10: rgba(242, 182, 34, .10);
    --braj-gold-15: rgba(242, 182, 34, .15);
    --braj-gold-20: rgba(242, 182, 34, .20);
    --braj-gold-25: rgba(242, 182, 34, .25);
    --braj-gold-30: rgba(242, 182, 34, .30);
    --braj-gold-40: rgba(242, 182, 34, .40);

    /* Muted text used by light chrome */
    --braj-muted: #64748B;
    --braj-muted-soft: #94A3B8;

    /* Overlays */
    --braj-overlay-50: rgba(0, 0, 0, .5);
    --braj-overlay-60: rgba(0, 0, 0, .6);

    /* Peacock feather accents (extracted from brand logo) */
    --peacock-green: #3D8D14;
    --peacock-teal: #14858A;
    --peacock-blue: #0554B4;
    --peacock-cyan: #0AAAC0;

    /* Status (content-agnostic primitives) */
    --braj-danger: #B52A2A;
    --braj-danger-hover: #8F1F1F;
    --braj-danger-text: #FF7A7A;
    --braj-danger-text-light: #E25555;
    --braj-success: #25D366;
    --braj-info: #0554B4;
    --braj-warning: #DB8D0D;

    /* --------------------------------------------------------
       2. TYPOGRAPHY
       -------------------------------------------------------- */
    --font-body: 'Inter', sans-serif;
    --font-display: 'Cormorant Garamond', serif;
    --font-alt: 'Cinzel', serif;
    --font-hindi: 'Noto Sans Devanagari', 'Inter', sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    /* Type scale (rem, 1rem = 16px) */
    --text-2xs: 0.625rem;  /* 10 */
    --text-xs: 0.6875rem;  /* 11 */
    --text-sm: 0.75rem;    /* 12 */
    --text-base: 0.8125rem;/* 13 */
    --text-md: 0.875rem;   /* 14 */
    --text-lg: 0.9375rem;  /* 15 */
    --text-xl: 1rem;       /* 16 */
    --text-2xl: 1.125rem;  /* 18 */
    --text-3xl: 1.25rem;   /* 20 */
    --text-4xl: 1.75rem;   /* 28 */
    --text-5xl: 2.625rem;  /* 42 */
    --text-6xl: 4rem;      /* 64 */

    --leading-tight: 1.1;
    --leading-snug: 1.3;
    --leading-normal: 1.6;
    --leading-relaxed: 1.75;

    --tracking-tight: 0.01em;
    --tracking-wide: 0.02em;
    --tracking-caps: 0.08em;

    /* --------------------------------------------------------
       3. SPACING / RADIUS / SHADOW / Z / MOTION
       -------------------------------------------------------- */
    --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;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 14px;
    --radius-2xl: 18px;
    --radius-pill: 999px;
    --radius-full: 50%;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .12);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, .18);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, .25);

    --z-base: 1;
    --z-dropdown: 10;
    --z-sticky: 100;
    --z-float: 999;
    --z-header: 1000;
    --z-drawer: 10000;
    --z-overlay: 50000;
    --z-preloader: 99999;

    --dur-fast: 0.2s;
    --dur-base: 0.25s;
    --dur-slow: 0.35s;
    --ease-default: ease;
    --ease-out: ease-out;
    --ease-in-out: ease-in-out;
}

/* ------------------------------------------------------------
   4. SEMANTIC TOKENS — LIGHT MODE ONLY (PERMANENT)
   ------------------------------------------------------------ */
:root,
[data-theme="light"] {
    --bg-body: #F5F2EA;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FFFDF8;
    --bg-header: #FFFFFF;
    --bg-header-top: #F8FAFC;
    --bg-footer: #F8FAFC;
    --bg-input: #FFFDF8;
    --bg-skeleton-start: #E7DED0;
    --bg-skeleton-mid: #F5F2EA;
    --text-primary: #1A1816;
    --text-secondary: #6D6A63;
    --text-heading: #AC6106;
    --gold: #AC6106;
    --gold-bright: #F2B622;
    --gold-dark: #6B4508;
    --gold-bg: rgba(172, 97, 6, .06);
    --border-color: #E7DED0;
    --border-strong: #D4C9B8;
    --shadow-card: 0 8px 30px rgba(0, 0, 0, .06);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, .1);
    --preloader-bg: #F5F2EA;
    --mega-bg: #FFFFFF;
    --mega-border: #E7DED0;
    --search-bg: #FFFFFF;
    --search-border: #D4C9B8;
    /* Peacock feather accents (extracted from brand logo) */
    --peacock-green: #3D8D14;
    --peacock-teal: #14858A;
    --peacock-blue: #0554B4;
    --peacock-cyan: #0AAAC0;
}
