/* ============================================================
   SSPL Hub + Surface Studio — Master Design Tokens
   Official Brand Identity: Shree Shyam Ply & Laminates & Surface Studio
   Primary Architectural Palette:
     - Charcoal:     #252522
     - Warm Ivory:   #F5F1EA
     - Muted Gold:   #B58A50
     - Walnut:       #806B55
     - Stone Beige:  #D9D0C3
     - Forest Green: #354C47
     - Pure White:   #FFFFFF
   ============================================================ */

:root {
  /* ── 1. Master Brand Color Palette (from Official 3D Logo) ─ */
  --color-charcoal:         #1C1916;   /* Deep architectural matte charcoal wall from logo */
  --color-ivory:            #F7F4EE;   /* Warm ivory / editorial background */
  --color-gold:             #C59B4E;   /* Signature Brushed Gold from 3D logo */
  --color-gold-hover:       #DFB76C;   /* Radiant Champagne Gold */
  --color-gold-bright:      #F5D699;   /* Specular highlight gold */
  --color-gold-dark:        #8F6A28;   /* Antique bronze shadow */
  --color-gold-subtle:      rgba(197, 155, 78, 0.12);
  --color-gold-glow:        rgba(197, 155, 78, 0.28);
  --color-gold-border:      rgba(197, 155, 78, 0.36);
  --gradient-gold:          linear-gradient(135deg, #F0D499 0%, #C59B4E 50%, #9E7428 100%);
  --gradient-gold-hover:    linear-gradient(135deg, #FCE5B5 0%, #D8AE61 50%, #AA8032 100%);
  --color-walnut:           #806B55;   /* Warm walnut tone for real wood materials */
  --color-stone:            #D9D0C3;   /* Stone beige for architectural divider lines & panels */
  --color-forest:           #354C47;   /* Forest green for Surface Studio architectural accents */
  --color-forest-dark:      #263834;
  --color-white:            #FFFFFF;   /* Pure white */

  /* ── 2. Functional Application Tokens ────────────────────── */
  --color-bg:               #F7F4EE;   /* Default page background: warm ivory */
  --color-bg-alt:           #EFE9DD;   /* Secondary light background */
  --color-surface:          #FFFFFF;   /* Clean content card / section surface */
  --color-surface-warm:     #EDE6D9;   /* Tinted architectural surface */
  --color-surface-dark:     #161412;   /* Premium dark section surface */
  --color-surface-dark-card:#221F1B;   /* Elevated card on charcoal */
  --color-surface-dark-hover:#2A2622;  /* Elevated card hover */

  --color-text:             #1C1916;   /* Primary high-contrast charcoal text */
  --color-text-muted:       #6C675F;   /* Refined editorial muted body text */
  --color-text-light:       #FAF7F2;   /* Warm ivory text on dark surfaces */
  --color-text-light-muted: #C2B9AC;   /* Secondary light text on dark surfaces */

  --color-accent:           #C59B4E;   /* Primary action / highlight gold */
  --color-accent-hover:     #DFB76C;
  --color-accent-light:     #F5D699;

  /* Borders & Dividers */
  --color-border:           #D9D0C3;   /* Natural stone beige hairline borders */
  --color-border-light:     rgba(217, 208, 195, 0.45);
  --color-border-dark:      rgba(255, 255, 255, 0.10);
  --color-border-gold:      rgba(197, 155, 78, 0.36);

  /* Overlays */
  --color-overlay:          rgba(37, 37, 34, 0.65);
  --color-overlay-dark:     rgba(37, 37, 34, 0.88);

  /* ── 3. Typography Stack ─────────────────────────────────── */
  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'Manrope', system-ui, -apple-system, sans-serif;
  --font-nav:       'Manrope', system-ui, -apple-system, sans-serif;

  --text-xs:    0.75rem;     /* 12px */
  --text-sm:    0.875rem;    /* 14px */
  --text-base:  1rem;        /* 16px */
  --text-lg:    1.125rem;    /* 18px */
  --text-xl:    1.25rem;     /* 20px */
  --text-2xl:   1.5rem;      /* 24px */
  --text-3xl:   2rem;        /* 32px */
  --text-4xl:   2.625rem;    /* 42px */
  --text-5xl:   3.5rem;      /* 56px */
  --text-6xl:   4.5rem;      /* 72px */
  --text-7xl:   5.75rem;     /* 92px */

  --leading-tight:   1.12;
  --leading-snug:    1.25;
  --leading-base:    1.65;
  --leading-relaxed: 1.8;

  --tracking-tight:  -0.025em;
  --tracking-snug:   -0.01em;
  --tracking-normal: 0;
  --tracking-wide:   0.06em;
  --tracking-wider:  0.14em;

  /* ── 4. Spacing Scale ────────────────────────────────────── */
  --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-28:  7rem;      /* 112px */
  --space-32:  8rem;      /* 128px */

  /* ── 5. Layout & Containers ──────────────────────────────── */
  --max-width:        1320px;
  --max-width-narrow: 900px;
  --max-width-wide:   1560px;
  --gutter:           clamp(1.25rem, 5vw, 3rem);
  --nav-height:       86px;

  /* ── 6. Border Radius (Architectural Minimal) ────────────── */
  --radius-none: 0;
  --radius-xs:   2px;
  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   10px;
  --radius-full: 9999px;

  /* ── 7. Shadows (Soft, Atmospheric, Architectural) ───────── */
  --shadow-sm:   0 1px 3px rgba(37, 37, 34, 0.05);
  --shadow-md:   0 6px 20px rgba(37, 37, 34, 0.07);
  --shadow-lg:   0 16px 40px rgba(37, 37, 34, 0.09);
  --shadow-xl:   0 24px 60px rgba(37, 37, 34, 0.12);
  --shadow-dark: 0 16px 48px rgba(0, 0, 0, 0.45);

  /* ── 8. Transitions & Timing ─────────────────────────────── */
  --ease:            cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-editorial:  cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast:   180ms;
  --duration-base:   300ms;
  --duration-slow:   500ms;
  --duration-slower: 800ms;

  /* ── 9. Z-Index Stack ────────────────────────────────────── */
  --z-base:     1;
  --z-raised:   10;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-drawer:   400;
  --z-modal:    500;
  --z-toast:    600;
}

/* Dark Section Themes */
.dark-surface,
.section--dark {
  --color-bg:               var(--color-charcoal);
  --color-surface:          var(--color-surface-dark-card);
  --color-text:             var(--color-text-light);
  --color-text-muted:       var(--color-text-light-muted);
  --color-border:           var(--color-border-dark);
}
