/**
 * Horizon Agency — Design Tokens
 * Source: logo palette (soft cyan → sky → deep blue → navy)
 */
:root {
  /* Brand — extracted from Horizon Agency logo */
  --cyan-soft: #a8d4f0;
  --cyan-glow: #d6ebf8;
  --sky: #7ab9e8;
  --sky-bright: #5aa6de;
  --blue-deep: #1a5278;
  --blue-mid: #3d7fad;
  --navy: #002d54;
  --navy-soft: #0a3a5c;
  --sun-glow: #fffef5;

  /* Surfaces */
  --bg: #f5f9fc;
  --bg-elevated: #ffffff;
  --bg-tint: #eaf3fa;
  --bg-tint-strong: #d6ebf8;
  --bg-dark: #002d54;
  --bg-dark-soft: #0a3a5c;

  /* Text */
  --text: #1a3348;
  --text-secondary: #3d5468;
  --text-muted: #6b8296;
  --text-inverse: #f5f9fc;
  --text-on-brand: #ffffff;

  /* Borders & glass */
  --border: rgba(0, 45, 84, 0.1);
  --border-strong: rgba(0, 45, 84, 0.18);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --glass-dark: rgba(0, 45, 84, 0.55);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 45, 84, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 45, 84, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 45, 84, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 45, 84, 0.12);
  --shadow-xl: 0 24px 64px rgba(0, 45, 84, 0.16);
  --shadow-glow: 0 0 40px rgba(122, 185, 232, 0.35);
  --shadow-glow-sm: 0 0 20px rgba(122, 185, 232, 0.25);
  --shadow-card-hover: 0 20px 40px rgba(0, 45, 84, 0.1);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #a8d4f0 0%, #7ab9e8 40%, #1a5278 100%);
  --grad-brand-soft: linear-gradient(160deg, #d6ebf8 0%, #f5f9fc 40%, #ffffff 100%);
  --grad-hero: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(122, 185, 232, 0.32) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(26, 82, 120, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #eaf3fa 0%, #f5f9fc 50%, #ffffff 100%);
  --grad-text: linear-gradient(135deg, #002d54 0%, #1a5278 100%);
  --grad-btn: linear-gradient(135deg, #7ab9e8 0%, #1a5278 100%);
  --grad-btn-hover: linear-gradient(135deg, #5aa6de 0%, #002d54 100%);
  --grad-accent-line: linear-gradient(90deg, transparent, #7ab9e8, transparent);

  /* Typography */
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --fs-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --fs-sm: clamp(0.875rem, 0.85rem + 0.15vw, 0.9375rem);
  --fs-base: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --fs-md: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --fs-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --fs-2xl: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  --fs-3xl: clamp(1.875rem, 1.5rem + 1.2vw, 2.5rem);
  --fs-4xl: clamp(2.25rem, 1.75rem + 1.8vw, 3.25rem);
  --fs-5xl: clamp(2.75rem, 2rem + 2.5vw, 4.25rem);
  --fs-hero: clamp(2.75rem, 2rem + 3.2vw, 4.75rem);

  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.55;
  --lh-relaxed: 1.7;
  --tracking-tight: -0.03em;
  --tracking-snug: -0.02em;
  --tracking-wide: 0.04em;
  --tracking-caps: 0.12em;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container: 72rem;
  --container-narrow: 42rem;
  --container-wide: 80rem;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(4.5rem, 8vw, 7.5rem);
  --header-h: 4.25rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.75rem;
  --radius-full: 9999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration: 280ms;
  --duration-slow: 480ms;
  --duration-reveal: 700ms;

  /* Z-index */
  --z-base: 1;
  --z-sticky: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-toast: 400;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 0ms;
    --duration: 0ms;
    --duration-slow: 0ms;
    --duration-reveal: 0ms;
  }
}
