/* themes/hokaido-vietnam/core/css/tokens.css — DESIGN TOKENS THEME HOKAIDO VIỆT NAM
   Nguồn: Figma 3KNFhezinTyXgZE8rwcEkW (Blue-Hokkaido #0152DB, Black #272722, Hok-Yellow #CF9E26, Text #525252)
   Giữ nguyên TÊN biến --stch-* vì các module EJS dùng bridge --color-* bên dưới. */

:root {
  /* 1. TYPOGRAPHY — font THIẾT KẾ THẬT (user upload public/fonts 16/07, /css/fonts.css tự sinh):
     Gilroy (body, đủ 10 weight) + SFUSouvenir (heading, Bold 700). Montserrat/Lora giữ làm fallback. */
  --stch-font-heading: 'SFUSouvenir', 'Lora', Georgia, serif;
  --stch-font-body: 'Gilroy', 'Montserrat', 'Segoe UI', sans-serif;

  --stch-font-display-lg: 3.4375rem; /* 55px — heading hero/section theo Figma */
  --stch-font-display-md: 2.5rem;
  --stch-letter-spacing-tight: 0;
  --stch-line-height-tight: 1.3;

  /* 2. COLORS */
  --stch-primary: #0152DB;
  --stch-primary-container: #0143B5;
  --stch-on-primary: #ffffff;

  --stch-surface: #ffffff;
  --stch-surface-low: #f6f8fb;
  --stch-surface-lowest: #ffffff;

  --stch-on-surface: #272722;          /* Black Hokkaido */
  --stch-on-surface-variant: #525252;  /* Color Text */
  --stch-accent: #CF9E26;              /* Hok - Yellow */

  --stch-outline-ghost: rgba(39, 39, 34, 0.1);

  /* 3. SHAPES & ELEVATION — thiết kế Hokaido dùng góc vuông */
  --stch-radius-full: 0;
  --stch-radius-lg: 0;
  --stch-radius-md: 0;

  --stch-shadow-ambient: 0 24px 48px rgba(39, 39, 34, 0.06);

  /* 4. MOTION */
  --stch-transition-kinetic: all 0.3s ease;
  --stch-hover-scale: none;

  /* 5. Z-INDEX SYSTEM */
  --stch-z-header: 1050;
  --stch-z-modal: 1100;

  /* 6. MODULE-COMPATIBLE ALIASES (ĐX-10)
     Các module EJS dùng --color-* thay vì --stch-*
     Bridge này đảm bảo theme color luôn được áp dụng đúng */
  --color-primary: var(--stch-primary);
  --color-primary-hover: var(--stch-primary-container);
  --color-primary-light: color-mix(in srgb, var(--stch-primary) 12%, white);
  --color-text-primary: var(--stch-on-surface);
  --color-text-secondary: var(--stch-on-surface-variant);
  --color-surface: var(--stch-surface-lowest);
  --color-surface-alt: var(--stch-surface-low);
  --color-border: var(--stch-outline-ghost);
  --primary: var(--stch-primary);

  /* 7. SPACING SCALE (8px base) */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 24px;  --sp-6: 32px;  --sp-7: 48px;  --sp-8: 64px;
  --sp-9: 96px;  --sp-10: 128px;

  /* 8. TYPOGRAPHY SCALE */
  --fs-xs: 0.75rem;    /* 12px */
  --fs-sm: 0.875rem;   /* 14px */
  --fs-base: 1rem;     /* 16px */
  --fs-lg: 1.125rem;   /* 18px */
  --fs-xl: 1.25rem;    /* 20px */
  --fs-2xl: 1.5625rem; /* 25px — body lớn hero */
  --fs-3xl: 2rem;      /* 32px */
  --fs-4xl: 2.5rem;    /* 40px */
  --fs-5xl: 3.4375rem; /* 55px */
}

/* Base Body Refinement */
body.dmdc-theme-default {
  font-family: var(--stch-font-body);
  background-color: var(--stch-surface);
  color: var(--stch-on-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--stch-font-heading);
  letter-spacing: var(--stch-letter-spacing-tight);
  line-height: var(--stch-line-height-tight);
}
