/* tokens.css — Boardwalk Auctions design system
   Palette derived from the brand's animated-seller show graphics:
   warm wood-plank backdrop, cream/bone, and the signature gold/mustard. */

:root, [data-theme='light'] {
  /* Surfaces — warm cream, nothing cold */
  --color-bg: #FBF7EF;              /* bone cream */
  --color-surface: #FFFDF7;          /* near-white warm */
  --color-surface-2: #F4EDDD;        /* card tint */
  --color-surface-offset: #EDE3CD;   /* subtle section break */

  /* Brand woods */
  --color-wood-light: #C89966;
  --color-wood: #8A5A2B;
  --color-wood-dark: #3E2614;

  /* Text */
  --color-text: #2A1D0F;
  --color-text-muted: #6B5640;
  --color-text-faint: #A89680;
  --color-text-inverse: #FBF7EF;

  /* Borders / dividers */
  --color-divider: #E6D9BD;
  --color-border: #C9B791;

  /* Signature accent — show-poster gold */
  --color-gold: #F2B21A;
  --color-gold-hover: #D99A08;
  --color-gold-active: #B37D00;
  --color-gold-soft: #FFE7A3;

  /* Secondary accent — deep wood-brown (for CTAs on gold fields) */
  --color-accent: #3E2614;
  --color-accent-hover: #231206;

  /* Status */
  --color-live: #E53935;             /* "LIVE" red */
  --color-live-soft: #FFE6E3;
  --color-success: #437A22;

  /* Radius */
  --radius-xs: 0.25rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows — warm tone */
  --shadow-sm: 0 1px 2px rgba(62, 38, 20, 0.08);
  --shadow-md: 0 6px 18px rgba(62, 38, 20, 0.12);
  --shadow-lg: 0 16px 40px rgba(62, 38, 20, 0.18);
  --shadow-xl: 0 28px 64px rgba(62, 38, 20, 0.24);

  /* Content widths */
  --content-narrow: 720px;
  --content-default: 1040px;
  --content-wide: 1280px;

  /* Typography */
  --font-display: 'Fraunces', 'Georgia', serif;    /* bold slab-ish serif — matches the logo's confident frame */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-ui: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 7rem);

  /* 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-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

[data-theme='dark'] {
  --color-bg: #1A140C;
  --color-surface: #221A10;
  --color-surface-2: #2B2116;
  --color-surface-offset: #35291B;

  --color-wood-light: #D9B07E;
  --color-wood: #B98449;
  --color-wood-dark: #EFD9B7;

  --color-text: #F4E9D4;
  --color-text-muted: #B8A586;
  --color-text-faint: #7A6B53;
  --color-text-inverse: #1A140C;

  --color-divider: #3A2D1C;
  --color-border: #4D3C25;

  --color-gold: #F5BE3A;
  --color-gold-hover: #FFD261;
  --color-gold-active: #FFDE85;
  --color-gold-soft: #4A3815;

  --color-accent: #F2B21A;
  --color-accent-hover: #FFCC4A;

  --color-live: #FF6B63;
  --color-live-soft: #4D1C1A;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 28px 64px rgba(0, 0, 0, 0.7);
}
