/* ==========================================================================
   Beyond PH — Design Tokens
   Sourced directly from BeyondPH_Brand_Guidelines.docx
   ========================================================================== */

:root {
  /* ---- Color: Primary Palette ---- */
  --navy: #0A2240;
  --navy-soft: #0F2C4C;
  --navy-deep: #071930;
  --cream: #F5EFE6;
  --off-white: #FAF6EE;
  --pure-white: #FFFFFF;

  /* ---- Color: Supporting Neutrals ---- */
  --body-grey: #2D3748;
  --mid-grey: #4A5568;
  --soft-accent: #94A3B8;
  --light-grey: #E2E8F0;

  /* ---- Color: Semantic aliases ---- */
  --bg-page: var(--off-white);
  --bg-surface: var(--pure-white);
  --bg-dark: var(--navy);
  --text-body: var(--body-grey);
  --text-muted: var(--mid-grey);
  --text-on-dark: var(--cream);
  --text-on-dark-muted: var(--soft-accent);
  --border-hairline: var(--light-grey);
  --divider: var(--soft-accent);

  /* ---- Typography ---- */
  --font-display: 'Poppins', 'Montserrat', -apple-system, sans-serif;
  --font-body: 'Inter', 'DM Sans', -apple-system, sans-serif;

  /* ---- Type Scale (fluid, clamps between mobile & desktop) ---- */
  --fs-hero: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem);
  --fs-h1: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  --fs-h2: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem);
  --fs-h3: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  --fs-sub: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  --fs-body: 1rem;
  --fs-body-sm: 0.9375rem;
  --fs-caption: 0.8125rem;
  --fs-tag: 0.75rem;

  /* ---- Spacing scale ---- */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 6.5rem;
  --space-4xl: 9rem;

  /* ---- Layout ---- */
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-base: 320ms;
  --dur-slow: 600ms;

  /* ---- Elevation ---- */
  --shadow-sm: 0 1px 2px rgba(10, 34, 64, 0.06), 0 1px 1px rgba(10, 34, 64, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 34, 64, 0.08), 0 2px 8px rgba(10, 34, 64, 0.06);
  --shadow-lg: 0 24px 64px rgba(10, 34, 64, 0.14), 0 4px 16px rgba(10, 34, 64, 0.08);
  --shadow-glow: 0 0 0 1px rgba(245, 239, 230, 0.08);
}
