/* ============================================================
   Cascade Sole Atelier — Design Tokens
   Modern Heritage Workshop Aesthetic · 1360px Fluid Container
   ============================================================ */

:root {
  /* ---------- Color Palette ---------- */
  --color-bg:             #0c0b09;
  --color-bg-elevated:    #161411;
  --color-bg-card:        #1d1a15;
  --color-bg-soft:        #26221b;

  --color-text:           #f6f1e7;
  --color-text-muted:     #bfb6a7;
  --color-text-subtle:    #8c8375;

  --color-primary:        #d4ab38;
  --color-primary-hover:  #e6bf4d;
  --color-primary-dark:   #a9831c;
  --color-primary-soft:   rgba(212, 171, 56, 0.12);

  --color-accent:         #93613c;
  --color-accent-soft:    #b37e55;

  --color-success:        #4fa36b;
  --color-error:          #e56b6f;
  --color-error-bg:       rgba(229, 107, 111, 0.12);

  --color-border:         rgba(212, 171, 56, 0.16);
  --color-border-strong:  rgba(212, 171, 56, 0.42);
  --color-surface-line:   rgba(255, 248, 232, 0.07);

  --color-overlay:        rgba(9, 8, 6, 0.82);
  --color-glass:          rgba(20, 18, 14, 0.78);

  /* ---------- Typography ---------- */
  --font-sans:            "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display:         "Playfair Display", Georgia, "Times New Roman", serif;

  --text-xs:              0.75rem;
  --text-sm:              0.875rem;
  --text-base:            1rem;
  --text-lg:              1.125rem;
  --text-xl:              1.25rem;
  --text-2xl:             1.5rem;
  --text-3xl:             1.875rem;
  --text-4xl:             2.35rem;
  --text-5xl:             3.35rem;

  --leading-tight:        1.14;
  --leading-snug:         1.32;
  --leading-normal:       1.55;
  --leading-relaxed:      1.68;

  /* ---------- Spacing ---------- */
  --space-1:              0.25rem;
  --space-2:              0.5rem;
  --space-3:              0.75rem;
  --space-4:              1rem;
  --space-5:              1.25rem;
  --space-6:              1.5rem;
  --space-7:              1.75rem;
  --space-8:              2rem;
  --space-10:             2.5rem;
  --space-12:             3rem;
  --space-14:             3.5rem;
  --space-16:             4rem;
  --space-20:             5.5rem;
  --space-24:             6.5rem;

  /* ---------- Radii ---------- */
  --radius-sm:            6px;
  --radius-md:            10px;
  --radius-lg:            16px;
  --radius-xl:            22px;
  --radius-2xl:           28px;
  --radius-full:          9999px;

  /* ---------- Shadows ---------- */
  --shadow-sm:            0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-md:            0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg:            0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-glow:          0 0 32px rgba(212, 171, 56, 0.16);

  /* ---------- Layout ---------- */
  --container-max:        1360px;
  --container-gutter:     clamp(1rem, 2.5vw, 2rem);
  --container-narrow:     740px;
  --header-height:        76px;
  --sticky-bar-height:    66px;

  /* ---------- Transitions ---------- */
  --ease:                 cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast:        160ms;
  --duration:             280ms;
  --duration-slow:        520ms;

  /* ---------- Z-index ---------- */
  --z-sticky-bar:         90;
  --z-header:             100;
  --z-offcanvas-bg:       140;
  --z-offcanvas:          150;
  --z-modal:              200;
  --z-toast:              300;
}
