/* Jobell design tokens: the single source of brand colour, type, spacing and depth for the
   storefront and the staff dashboard. Loaded first by both base templates.

   Contrast notes (on white): --jb-gold is decorative only (fills, bars, focus rings, icons
   on dark). For gold TEXT use --jb-gold-deep (about 6:1). --jb-gold-strong (about 3.3:1)
   is for borders, large text and icons, never body copy. */
:root {
  /* Brand */
  --jb-gold: var(--primary-color, #d4af37);
  --jb-gold-strong: #b8860b;
  --jb-gold-deep: #805e24;
  --jb-gold-soft: #e5bd68;
  --jb-gold-tint: #f6edd3;
  --jb-black: #050505;
  --jb-ink: #191916;
  --jb-ink-soft: #2c2b25;
  --jb-muted: #6f6a5e;
  --jb-cream: #f8f5ef;
  --jb-paper: #ffffff;
  --jb-line: #ebe4d6;
  --jb-line-strong: #dcd2bf;

  /* Status */
  --jb-success: #1f6b3a;
  --jb-success-tint: #e8f3ec;
  --jb-warning: #b45309;
  --jb-warning-tint: #fdf3e4;
  --jb-danger: #b12704;
  --jb-danger-tint: #fcece7;
  --jb-info: #2c2b25;
  --jb-info-tint: #f1eee8;

  /* Type */
  --jb-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --jb-font-ui: Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --jb-text-xs: .75rem;
  --jb-text-sm: .8125rem;
  --jb-text-md: .9375rem;
  --jb-text-lg: 1.125rem;

  /* Shape and space */
  --jb-radius-sm: 9px;
  --jb-radius: var(--border-radius, 12px);
  --jb-radius-lg: 16px;
  --jb-space-1: 4px;
  --jb-space-2: 8px;
  --jb-space-3: 12px;
  --jb-space-4: 16px;
  --jb-space-5: 24px;
  --jb-space-6: 32px;

  /* Depth and motion */
  --jb-shadow-sm: 0 1px 2px rgba(25, 25, 22, .06);
  --jb-shadow: 0 1px 2px rgba(25, 25, 22, .06), 0 10px 30px rgba(70, 55, 20, .07);
  --jb-shadow-hover: 0 2px 4px rgba(25, 25, 22, .08), 0 18px 40px rgba(70, 55, 20, .14);
  --jb-ease: cubic-bezier(.2, .7, .2, 1);
  --jb-focus: 0 0 0 3px var(--jb-paper), 0 0 0 5px var(--jb-gold);
  --jb-tap: 44px;
}

@media (prefers-reduced-motion: reduce) {
  :root { --jb-ease: linear; }
  .jb-motion-safe, .jb-motion-safe * { transition: none !important; animation: none !important; }
}
