/* Design Tokens — Vestnes Musikkverksted (4-kelleren-warm)
   Warm dark with honey/gold accent. Editorial typography with rounded corners. */

:root {
  /* --- Neutral palette (warm dark scale) --- */
  --neutral-50:  #1a1a1a;
  --neutral-100: #242424;
  --neutral-200: #2e2e2e;
  --neutral-300: #383838;
  --neutral-400: #8a8680;
  --neutral-500: #b0aaa0;
  --neutral-600: #d0c8bc;
  --neutral-700: #e0d8cc;
  --neutral-800: #f0ece4;
  --neutral-900: #ffffff;

  /* --- Semantic colors --- */
  --color-bg:           #1a1a1a;
  --color-surface:      #242424;
  --color-elevated:     #2e2e2e;
  --color-text:         #f0ece4;
  --color-muted:        #8a8680;
  --color-border:       rgba(232, 197, 71, 0.12);
  --color-input-border: rgba(232, 197, 71, 0.2);

  /* --- Brand (honey gold) --- */
  --color-accent:       #e8c547;
  --color-accent-hover: #d4b23e;
  --color-cta:          #e8c547;
  --color-cta-hover:    #d4b23e;

  /* --- Status --- */
  --color-success:      #15803d;
  --color-success-bg:   #dcfce7;
  --color-warning:      #b45309;
  --color-warning-bg:   #fef3c7;
  --color-warning-text: #92400e;
  --color-error:        #dc2626;

  /* --- Typography scale --- */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1.0625rem;
  --text-lg:   1.1875rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.625rem;
  --text-3xl:  2rem;
  --text-4xl:  2.5rem;
  --text-5xl:  3.25rem;

  /* --- Spacing (4px base grid) --- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* --- Border radius (rounded, warm) --- */
  --radius-sm:   8px;
  --radius:      12px;
  --radius-lg:   16px;
  --radius-full: 999px;
  --radius-btn:  3px;

  /* --- Shadows (warm golden glow) --- */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow:    0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 20px rgba(232, 197, 71, 0.15);

  /* --- Transitions --- */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --duration:    150ms;
  --duration-md: 250ms;
  --duration-lg: 400ms;

  /* --- Typography (families) --- */
  --font-heading: 'Familjen Grotesk', sans-serif;
  --font-body:    'Familjen Grotesk', sans-serif;
  --font-serif:   'Newsreader', Georgia, serif;

  /* --- Typography (weights) --- */
  --weight-light:    300;
  --weight-normal:   400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  /* --- Typography (line heights) --- */
  --leading-tight:  1.15;
  --leading-snug:   1.35;
  --leading-normal: 1.6;
  --leading-loose:  1.8;

  /* --- Layout --- */
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 5vw, 2.5rem);
  --section-pad-y: clamp(4rem, 10vw, 7rem);
  --nav-height:    72px;

  /* --- Z-index --- */
  --z-nav:   100;
  --z-modal: 1000;
  --z-skip:  10000;

  /* --- Component tokens --- */
  --btn-padding:     0.875rem 2rem;
  --btn-radius:      var(--radius-btn);
  --btn-font-weight: var(--weight-semibold);

  --card-radius:       var(--radius);
  --card-padding:      var(--space-6);
  --card-shadow:       var(--shadow);
  --card-shadow-hover: var(--shadow-md);

  --input-padding: var(--space-3) var(--space-4);
  --input-radius:  var(--radius-sm);

  /* --- Overlay --- */
  --overlay-bg:   rgba(0, 0, 0, 0.7);
  --hero-overlay: linear-gradient(to top, rgba(26, 26, 26, 0.95) 0%, rgba(26, 26, 26, 0.6) 40%, rgba(26, 26, 26, 0.2) 70%, transparent 100%);
}
