/*
 * @urbicon-ui/blocks – Rose Theme
 *
 * Soft pink-rose palette for elegant, modern interfaces.
 * Import AFTER the base styles:
 *
 *   @import '@urbicon-ui/blocks/style/index.css';
 *   @import '@urbicon-ui/blocks/style/themes/rose.css';
 */

@theme {
  --color-primary-50: oklch(0.95 0.03 350);
  --color-primary-100: oklch(0.9 0.05 350);
  --color-primary-200: oklch(0.82 0.08 350);
  --color-primary-300: oklch(0.74 0.11 350);
  --color-primary-400: oklch(0.66 0.14 350);
  --color-primary-500: oklch(0.6 0.16 350);
  --color-primary-600: oklch(0.53 0.15 350);
  --color-primary-700: oklch(0.45 0.13 350);
  --color-primary-800: oklch(0.36 0.1 350);
  --color-primary-900: oklch(0.28 0.07 350);
  --color-primary-950: oklch(0.18 0.04 350);

  --color-secondary-50: oklch(0.95 0.03 310);
  --color-secondary-100: oklch(0.9 0.05 310);
  --color-secondary-200: oklch(0.82 0.08 310);
  --color-secondary-300: oklch(0.74 0.1 310);
  --color-secondary-400: oklch(0.66 0.12 310);
  --color-secondary-500: oklch(0.55 0.12 310);
  --color-secondary-600: oklch(0.48 0.12 310);
  --color-secondary-700: oklch(0.4 0.1 310);
  --color-secondary-800: oklch(0.32 0.08 310);
  --color-secondary-900: oklch(0.25 0.06 310);
  --color-secondary-950: oklch(0.18 0.04 310);

  /*
   * Chassis neutral ramp — re-tinted warm-pink (Hue 350) so surfaces, text
   * and borders carry a soft rosé warmth instead of reading cool grey (the
   * library default neutral sits at Hue 240). Lightness and chroma match the
   * foundation ramp one-to-one — only the hue shifts — so WCAG contrast
   * stays unchanged. surface-*, text-* and border-* pick this up
   * automatically through semantic.css.
   */
  --color-neutral-25: oklch(0.985 0.003 350);
  --color-neutral-50: oklch(0.965 0.006 350);
  --color-neutral-100: oklch(0.95 0.008 350);
  --color-neutral-200: oklch(0.89 0.012 350);
  --color-neutral-300: oklch(0.83 0.014 350);
  --color-neutral-400: oklch(0.7 0.015 350);
  --color-neutral-500: oklch(0.55 0.016 350);
  --color-neutral-600: oklch(0.42 0.017 350);
  --color-neutral-650: oklch(0.38 0.016 350);
  --color-neutral-700: oklch(0.32 0.016 350);
  --color-neutral-750: oklch(0.28 0.014 350);
  --color-neutral-800: oklch(0.23 0.015 350);
  --color-neutral-850: oklch(0.18 0.014 350);
  --color-neutral-900: oklch(0.15 0.012 350);
  --color-neutral-950: oklch(0.08 0.008 350);

  /*
   * Intent re-tuning — the pink primary (Hue 350) shares the warm-red register
   * with the default danger (Hue 25). Danger is nudged toward an orange-red
   * (Hue 34) so an error state reads distinctly from both the pink brand and
   * the magenta secondary (Hue 310). Same L/C profile as the foundation ramp;
   * only the hue shifts. Success, warning and info keep the library defaults.
   * Derived --color-danger re-resolves at :root automatically (global @theme).
   */
  --color-danger-50: oklch(0.95 0.05 34);
  --color-danger-100: oklch(0.9 0.08 34);
  --color-danger-200: oklch(0.82 0.1 34);
  --color-danger-300: oklch(0.74 0.12 34);
  --color-danger-400: oklch(0.62 0.16 34);
  --color-danger-500: oklch(0.5 0.17 34);
  --color-danger-600: oklch(0.44 0.16 34);
  --color-danger-700: oklch(0.38 0.14 34);
  --color-danger-800: oklch(0.3 0.12 34);
  --color-danger-900: oklch(0.22 0.1 34);
  --color-danger-950: oklch(0.14 0.07 34);
}

/*
 * Warm rosé shadow tint — keeps shadows in the warm family of the chassis
 * rather than neutral black. :root (not @theme) to mirror semantic.css;
 * imported after the base styles, so it wins.
 */
:root {
  --blocks-shadow-tint: 0.22 0.03 352;
  /* Neutral intent (bg-neutral / text-neutral / borders) follows the warm
     rosé chassis instead of the library-default cool grey. */
  --neutral-chrome-hue: 350;
}
