/*
 * Design tokens: Private Tour Vietnam
 * Palette sampled from the brand's own route maps (assets/MAP TOURS) and
 * "Why choose us" illustrations: indigo sea, lantern orange, teal water, navy ink.
 * Every colour / size used in components.css must come from this file.
 */
:root {
  /* Brand */
  --indigo-800: oklch(0.32 0.17 268);
  --indigo-700: oklch(0.39 0.2 268);
  --indigo-600: oklch(0.45 0.22 268);   /* #2838D0 sampled from maps */
  --indigo-200: oklch(0.86 0.06 268);
  --indigo-100: oklch(0.93 0.03 268);
  --orange-600: oklch(0.62 0.2 36);
  --orange-500: oklch(0.67 0.2 36);     /* #F85830 sampled from map titles */
  --orange-100: oklch(0.94 0.04 36);
  --teal-600: oklch(0.6 0.11 200);
  --teal-500: oklch(0.73 0.12 200);     /* #01BEC7 sampled from maps */
  --teal-100: oklch(0.95 0.035 200);
  --navy-900: oklch(0.24 0.07 262);     /* deep sea in illustrations */

  /* Neutrals tinted toward the indigo hue */
  --n-0: oklch(0.99 0.004 268);
  --n-50: oklch(0.975 0.006 268);
  --n-100: oklch(0.95 0.008 268);
  --n-200: oklch(0.9 0.01 268);
  --n-300: oklch(0.83 0.012 268);
  --n-500: oklch(0.6 0.014 268);
  --n-600: oklch(0.5 0.016 268);
  --n-700: oklch(0.4 0.018 268);
  --n-900: oklch(0.22 0.02 268);

  /* Semantic roles */
  --bg: var(--n-0);
  --surface: var(--n-50);
  --surface-2: var(--n-100);
  --line: var(--n-200);
  --text: var(--n-900);
  --text-muted: var(--n-600);
  --brand: var(--indigo-600);
  --brand-strong: var(--indigo-700);
  --on-brand: var(--n-0);
  --on-brand-muted: var(--indigo-100);
  --accent: var(--orange-500);
  --accent-strong: var(--orange-600);
  --on-accent: var(--navy-900);
  --focus: var(--orange-500);

  /* Type: Gloock echoes the serif wordmark; Geist carries reading text */
  --font-display: "Gloock", "Noto Kufi Arabic", Georgia, serif;
  --font-body: "Geist", "IBM Plex Sans Arabic", "Helvetica Neue", sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.3125rem;
  --fs-lg: 1.625rem;
  --fs-xl: clamp(1.875rem, 2vw + 1.2rem, 2.5rem);
  --fs-display: clamp(2.75rem, 4.2vw + 1rem, 5rem);
  --lh-tight: 1.1;
  --lh-body: 1.6;

  /* 4pt spacing scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  /* Shape: one soft radius system */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;

  /* Depth: layered shadows tinted with the indigo hue (single strategy) */
  --shadow-1: 0 1px 2px oklch(0.3 0.1 268 / 0.08), 0 2px 6px oklch(0.3 0.1 268 / 0.06);
  --shadow-2: 0 2px 4px oklch(0.3 0.1 268 / 0.08), 0 8px 20px oklch(0.3 0.1 268 / 0.1), 0 24px 48px oklch(0.3 0.1 268 / 0.1);

  /* Motion */
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 120ms;
  --t-base: 240ms;
  --t-slow: 420ms;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --z-sticky: 100;
  --z-overlay: 200;
}

/* Arabic pages swap families; Latin stays first only on EN pages */
:root:lang(ar) {
  --font-display: "Noto Kufi Arabic", "Gloock", serif;
  --font-body: "IBM Plex Sans Arabic", "Geist", sans-serif;
  --lh-body: 1.75;
}
