/* ==========================================================================
   FROZEN WORKS — Design Tokens
   Cool industrial palette: ice blue + steel gray.
   ========================================================================== */

:root {
  /* ---- Color: core ---- */
  --color-primary: #0B2436;        /* deep steel-blue — headlines, footer, primary buttons */
  --color-primary-hover: #123349;
  --color-primary-soft: #16324A;   /* cards/panels on dark sections */

  --color-secondary: #2E5E77;      /* mid steel-blue — icons, links, secondary accents */
  --color-secondary-hover: #24506A;

  --color-accent: #4FC6E8;         /* ice accent — decorative only, never as body text on light bg */
  --color-accent-strong: #1FA8D1;  /* accent for small text on white where contrast allows (large/bold only) */

  --color-bg: #F5F9FA;             /* page background, cool off-white */
  --color-surface: #E9F0F3;        /* card backgrounds, alternating sections */
  --color-surface-strong: #DCE8EC; /* borders, dividers on light */

  --color-text: #0E1A22;           /* near-black, cool tint — body copy */
  --color-text-muted: #47606C;     /* secondary copy */
  --color-text-on-dark: #EAF4F7;   /* body copy on dark sections */
  --color-text-on-dark-muted: #9FC2CF;

  --color-border: #CFE0E6;
  --color-white: #FFFFFF;

  --color-success: #1E8E6B;
  --color-danger: #C4453A;

  /* ---- Gradients ---- */
  --gradient-ice: linear-gradient(135deg, #0B2436 0%, #1B4D64 55%, #2E93B4 100%);
  --gradient-frost: linear-gradient(160deg, #123349 0%, #0B2436 100%);
  --gradient-mark: linear-gradient(135deg, #4FC6E8 0%, #2E5E77 100%);

  /* ---- Typography ---- */
  --font-head: 'Space Grotesk', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --text-xs: clamp(0.75rem, 0.72rem + 0.1vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.15vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.06rem + 0.3vw, 1.25rem);
  --text-xl: clamp(1.375rem, 1.25rem + 0.6vw, 1.625rem);
  --text-2xl: clamp(1.75rem, 1.5rem + 1.2vw, 2.25rem);
  --text-3xl: clamp(2.25rem, 1.85rem + 2vw, 3.25rem);
  --text-hero: clamp(2.6rem, 2rem + 3vw, 4.5rem);

  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.65;

  --tracking-tight: -0.01em;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.12em;
  --tracking-widest: 0.22em;

  /* ---- Spacing ---- */
  --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: clamp(3rem, 2.4rem + 3vw, 5.5rem);
  --space-section: clamp(4rem, 3.2rem + 4.5vw, 7.5rem);

  --container-max: 1240px;
  --container-narrow: 780px;
  --container-pad: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);

  /* ---- Radii & shadows ---- */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 36, 54, 0.06), 0 1px 1px rgba(11, 36, 54, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(11, 36, 54, 0.18), 0 2px 8px -2px rgba(11, 36, 54, 0.08);
  --shadow-lg: 0 24px 60px -20px rgba(11, 36, 54, 0.35), 0 8px 24px -8px rgba(11, 36, 54, 0.15);
  --shadow-focus: 0 0 0 3px rgba(79, 198, 232, 0.45);

  /* ---- Motion ---- */
  --duration-fast: 150ms;
  --duration-normal: 280ms;
  --duration-slow: 500ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* ---- Layering ---- */
  --z-header: 100;
  --z-overlay: 200;
  --z-cookie: 300;
}

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