/* ============================================
   HAOGOOD GROUP — Design Tokens v4
   Shared across 4 brand wireframes
   ============================================ */

/* --- Typography --- */
:root {
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Type scale (1.25 ratio) */
  --fs-xs: 0.75rem;     /* 12px */
  --fs-sm: 0.875rem;    /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-md: 1.125rem;    /* 18px */
  --fs-lg: 1.25rem;     /* 20px */
  --fs-xl: 1.5rem;      /* 24px */
  --fs-2xl: 1.875rem;   /* 30px */
  --fs-3xl: 2.25rem;    /* 36px */
  --fs-4xl: 3rem;       /* 48px */
  --fs-5xl: 3.75rem;    /* 60px */
  --fs-6xl: 4.5rem;     /* 72px */

  /* Font weight */
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 800;

  /* Line height */
  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.625;
}

/* --- Spacing (4px base) --- */
:root {
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */
}

/* --- Border Radius --- */
:root {
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
}

/* --- Shadows --- */
:root {
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px rgb(0 0 0 / 0.15);
  --shadow-card: 0 2px 8px rgb(0 0 0 / 0.08);
  --shadow-popover: 0 8px 32px rgb(0 0 0 / 0.12);
}

/* --- Brand Color Slots (each brand overrides these) --- */
:root {
  --brand-primary: #0a0a0a;
  --brand-accent: #d4af37;
  --brand-bg: #ffffff;

  /* Text colors */
  --text-primary: var(--brand-primary);
  --text-secondary: rgb(0 0 0 / 0.6);
  --text-muted: rgb(0 0 0 / 0.4);
  --text-on-primary: #ffffff;
  --text-on-accent: #000000;

  /* Surface colors */
  --surface-base: var(--brand-bg);
  --surface-raised: #ffffff;
  --surface-overlay: rgb(0 0 0 / 0.6);

  /* Border */
  --border-subtle: rgb(0 0 0 / 0.08);
  --border-strong: rgb(0 0 0 / 0.16);
}

/* --- Breakpoints Reference ---
   Mobile first:
   sm:  640px
   md:  768px
   lg:  1024px
   xl:  1280px
   2xl: 1536px
*/
