/* =====================================================================
   Ticket Monkey — Customer-Facing Design Tokens
   Sourced from the Ticket Monkey design system (colors_and_type.css).
   Loaded globally so the tokens/fonts are available, but the tokens are
   only *applied* by surfaces that opt in (e.g. .tm-event-page, .tm-modal)
   — it deliberately does NOT restyle html/body globally.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Hanken+Grotesk:wght@400;500;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* ---------- COLOR ---------- */
  --paper: #FFFFFF;
  --paper-50: #F7F7F8;
  --ink: #0A0A0B;
  --ink-80: #1F1F22;
  --ink-60: #5A5A60;
  --ink-40: #8E8E94;
  --ink-20: #C8C8CC;
  --ink-10: #E5E5E8;

  --orange: #F26B2C;
  --orange-hover: #DC5818;
  --orange-press: #B8480F;
  --orange-soft: #FFE3D2;

  --navy: #1F2A5C;
  --navy-hover: #16204A;
  --navy-press: #0F1738;
  --navy-soft: #DDE0EE;

  --success: #1F5D3A;
  --warning: #C97B00;
  --danger:  var(--orange);
  --info:    var(--navy);

  /* ---------- TYPE ---------- */
  --font-display: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body:    'Hanken Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-display-lg: clamp(2.75rem, 5vw, 4.5rem);
  --fs-h1: clamp(2.25rem, 3.6vw, 3.25rem);
  --fs-h2: clamp(1.75rem, 2.6vw, 2.25rem);
  --fs-h3: 1.5rem;
  --fs-h4: 1.25rem;
  --fs-body-lg: 1.125rem;
  --fs-body: 1rem;
  --fs-body-sm: 0.9375rem;
  --fs-caption: 0.8125rem;
  --fs-micro: 0.6875rem;

  --lh-tight: 1;
  --lh-snug: 1.15;
  --lh-base: 1.5;
  --lh-loose: 1.65;

  --tracking-tight: -0.02em;
  --tracking-snug: -0.005em;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.12em;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;

  /* ---------- SPACING ---------- */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px;
  --space-14: 56px; --space-16: 64px; --space-20: 80px; --space-24: 96px;

  /* ---------- RADII ---------- */
  --radius-xs: 4px; --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px;
  --radius-xl: 28px; --radius-pill: 999px;

  /* ---------- BORDERS ---------- */
  --border-width: 1px; --border-width-thick: 2px;

  /* ---------- SHADOWS ---------- */
  --shadow-stamp: 4px 4px 0 var(--ink);
  --shadow-stamp-sm: 2px 2px 0 var(--ink);
  --shadow-stamp-orange: 4px 4px 0 var(--orange);

  /* ---------- MOTION ---------- */
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-in:  cubic-bezier(0.6, 0, 0.8, 0.5);
  --duration-fast: 120ms;
  --duration-base: 200ms;
  --duration-slow: 320ms;

  /* ---------- LAYOUT ---------- */
  --content-max: 1200px;
  --header-h: 64px;
}
