/* ==========================================================================
   Barrel Smuggler - design tokens
   Centrale bron voor kleuren, typografie, ruimte en vormen (afgeleid van de
   desktop- en mobiele designreferenties). Voeg GEEN losse kleuren of margins
   toe in componenten; breid hier uit.
   ========================================================================== */
:root {
  /* Kleur: deep charcoal, oud hout, goud, creme */
  --color-bg: #0d0b09;
  --color-bg-soft: #120f0c;
  --color-bg-elevated: #171310;
  --color-surface: #1e1813;
  --color-surface-hover: #261e17;
  --color-wood: #3a2a1c;

  --color-text: #efe5d2;
  --color-text-strong: #f8f1e3;
  --color-muted: #b3a48c;
  --color-muted-strong: #d2c4a8;
  --color-parchment: #e6d8bc;

  /* Papier: lichte secties (logboek, verkooppunten) met donkere inkt */
  --paper-bg: #efe6d4;
  --paper-bg-deep: #e7dcc5;
  --paper-surface: #f8f2e6;
  --paper-ink: #2b2118;
  --paper-ink-strong: #1b140d;
  --paper-muted: #5c4d3c;
  --paper-accent: #84601f;
  --paper-accent-strong: #5f4314;

  --color-gold: #c9a55e;
  --color-gold-soft: #dcbd7c;
  --color-brass: #a8894f;
  --color-amber: #c4762c;
  --color-cognac: #7d4320;

  --color-border: rgba(201, 165, 94, 0.28);
  --color-border-strong: rgba(201, 165, 94, 0.55);
  --color-border-subtle: rgba(239, 229, 210, 0.1);
  --color-focus: #dcbd7c;
  --color-error: #e3785f;
  --color-success: #8cc59a;
  --color-overlay: rgba(13, 11, 9, 0.65);

  --color-btn-primary-bg: var(--color-gold);
  --color-btn-primary-text: #1a1409;
  --color-btn-primary-hover: var(--color-gold-soft);

  /* Typografie: serif voor koppen en lopende tekst, sans voor labels, script als accent */
  --font-display: "Cormorant Garamond", "EB Garamond", "Times New Roman", Georgia, serif;
  --font-body: "EB Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-label: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Caveat", "Segoe Script", "Bradley Hand", cursive;

  --text-xs: 0.75rem;
  --text-sm: 0.9rem;
  --text-base: 1.0625rem;
  --text-md: 1.2rem;
  --text-lg: clamp(1.35rem, 1.2rem + 0.6vw, 1.65rem);
  --text-xl: clamp(1.75rem, 1.4rem + 1.3vw, 2.5rem);
  --text-2xl: clamp(2rem, 1.5rem + 1.6vw, 3rem);
  --text-3xl: clamp(2.7rem, 1.8rem + 4vw, 5rem);

  --leading-tight: 1.14;
  --leading-hero: 1.05;
  --leading-snug: 1.25;
  --leading-normal: 1.55;
  --tracking-label: 0.22em;

  /* Ruimte */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.25rem;
  --space-2xl: 5rem;
  --section-y: clamp(2.5rem, 3.2vw, 3.5rem);
  --gutter: clamp(1rem, 4vw, 2.5rem);

  --max-width: 1320px;
  --max-width-narrow: 760px;
  --max-width-wide: 1480px;

  /* Vorm en beweging: strakke, bijna rechte hoeken zoals in de referenties */
  --radius-sm: 2px;
  --radius: 4px;
  --radius-lg: 6px;
  --radius-pill: 999px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 220ms;
  --dur-slow: 650ms;
  --header-height: 72px;
}

@media (min-width: 1024px) {
  :root {
    --header-height: 80px;
  }
}
