/* Stencil Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..700;1,400..700&family=Open+Sans:ital,wght@0,400..800;1,400..800&display=swap');
/* /Stencil Fonts */

/* Nicole Eldridge Ads: red on cream, lilac and pale yellow as fills, indigo for focus,
   orange as a sparing highlight. Text is a near-black with an indigo cast. */

:root {
  /* ── shadcn base tokens ───────────────────────────────────────── */
  --background: #FFF9EC;
  --foreground: oklch(0.21 0.035 285);
  --card: oklch(0.997 0.004 85);
  --card-foreground: oklch(0.21 0.035 285);
  --popover: oklch(0.997 0.004 85);
  --popover-foreground: oklch(0.21 0.035 285);
  --primary: #FF2020;
  --primary-foreground: oklch(0.99 0.008 85);
  --secondary: color-mix(in srgb, var(--lilac) 22%, var(--background));
  --secondary-foreground: oklch(0.25 0.05 295);
  --muted: oklch(0.95 0.02 85);
  --muted-foreground: oklch(0.47 0.03 285);
  --accent: oklch(0.945 0.025 85);
  --accent-foreground: oklch(0.21 0.035 285);
  --destructive: oklch(0.5 0.19 28);
  --destructive-foreground: oklch(0.99 0.008 85);
  --border: oklch(0.89 0.028 80);
  --input: oklch(0.85 0.032 80);
  --ring: #5238D0;
  --success: oklch(0.5 0.12 150);
  --warning: oklch(0.76 0.15 72);
  --chart-1: #FF2020;
  --chart-2: #5136D1;
  --chart-3: #D599FB;
  --chart-4: #FF571D;
  --chart-5: oklch(0.86 0.12 100);
  --sidebar: oklch(0.96 0.02 85);
  --sidebar-foreground: oklch(0.21 0.035 285);
  --sidebar-primary: #FF2020;
  --sidebar-primary-foreground: oklch(0.99 0.008 85);
  --sidebar-accent: oklch(0.935 0.028 85);
  --sidebar-accent-foreground: oklch(0.21 0.035 285);
  --sidebar-border: oklch(0.89 0.028 80);
  --sidebar-ring: #5238D0;

  /* ── brand fills (never text) ─────────────────────────────────── */
  --lilac: #D599FB;
  --sun: #FFF6A6;
  --tangerine: #FF571D;
  --indigo: #5136D1;

  /* ── surface hierarchy ────────────────────────────────────────── */
  --background-secondary: oklch(0.955 0.022 85);
  --surface-hover:   color-mix(in srgb, var(--foreground) 6%,  var(--background));
  --surface-active:  color-mix(in srgb, var(--foreground) 10%, var(--background));
  --surface-elevated: oklch(0.997 0.004 85);

  /* ── border hierarchy ─────────────────────────────────────────── */
  --border-subtle: oklch(0.935 0.022 85);
  --border-muted: oklch(0.91 0.026 82);
  --border-strong: oklch(0.74 0.04 80);

  /* ── text hierarchy ───────────────────────────────────────────── */
  --foreground-secondary: oklch(0.35 0.035 285);

  /* ── primary depth (hover/tint states for brand colour) ─────── */
  --primary-hover: color-mix(in srgb, var(--primary) 86%, var(--foreground));
  --primary-muted: color-mix(in srgb, var(--primary) 15%, var(--background));
  --primary-soft:  color-mix(in srgb, var(--primary) 8%,  var(--background));
  --primary-tint:  color-mix(in srgb, var(--primary) 6%,  var(--background));
  /* the brand red, deepened enough to read as text on cream */
  --primary-ink: oklch(0.53 0.21 27);

  /* ── highlight: pale yellow, a fill only (never text) ────────── */
  --highlight: #FFF6A6;
  --highlight-foreground: oklch(0.21 0.035 285);

  /* ── focus ring (alpha-blended, for soft ring style) ────────── */
  --focus-ring: oklch(0.47 0.21 283 / 0.35);

  /* ── error (form validation — distinct from destructive) ─────── */
  --error: oklch(0.5 0.19 28);
  --error-foreground: oklch(0.99 0.008 85);

  /* ── radius ───────────────────────────────────────────────────── */
  --radius: 0.625rem;
  --radius-none: 0rem;
  --radius-sm: 0.375rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* ── typography ───────────────────────────────────────────────── */
  --font-display: "Playfair Display", Georgia, serif;
  --font-sans: "Open Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, monospace;
  --font-weight-display: 500;
  --line-height-display: 1.15;
  --tracking-display: -0.02em;
  --font-weight-body: 400;
  --line-height-body: 1.6;
  --tracking-body: 0em;
  --font-weight-mono: 400;

  /* ── shadows ──────────────────────────────────────────────────── */
  --shadow-sm: 0 1px 2px oklch(0.3 0.04 60 / 0.07);
  --shadow-md: 0 4px 14px oklch(0.3 0.04 60 / 0.1);
  --shadow-lg: 0 14px 36px oklch(0.3 0.04 60 / 0.14);

  /* ── motion ───────────────────────────────────────────────────── */
  --duration-fast: 120ms;
  --duration-normal: 200ms;
  --duration-slow: 300ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
  --ease-decelerate: cubic-bezier(0, 0, 0.2, 1);

  /* ── spacing ──────────────────────────────────────────────────── */
  --spacing-base: 0.25rem;
}

.dark {
  /* ── shadcn base tokens ───────────────────────────────────────── */
  --background: oklch(0.19 0.03 285);
  --foreground: oklch(0.96 0.018 85);
  --card: oklch(0.23 0.035 285);
  --card-foreground: oklch(0.96 0.018 85);
  --popover: oklch(0.23 0.035 285);
  --popover-foreground: oklch(0.96 0.018 85);
  --primary: oklch(0.66 0.22 27);
  --primary-foreground: oklch(0.99 0.008 85);
  --secondary: color-mix(in srgb, var(--lilac) 22%, var(--background));
  --secondary-foreground: oklch(0.96 0.018 85);
  --muted: oklch(0.27 0.035 285);
  --muted-foreground: oklch(0.77 0.03 285);
  --accent: oklch(0.29 0.04 285);
  --accent-foreground: oklch(0.96 0.018 85);
  --destructive: oklch(0.7 0.17 25);
  --destructive-foreground: oklch(0.18 0.03 25);
  --border: oklch(0.34 0.04 285);
  --input: oklch(0.4 0.04 285);
  --ring: oklch(0.72 0.15 285);
  --success: oklch(0.76 0.13 150);
  --warning: oklch(0.82 0.14 75);
  --chart-1: oklch(0.66 0.22 27);
  --chart-2: oklch(0.72 0.15 285);
  --chart-3: #D599FB;
  --chart-4: #FF571D;
  --chart-5: #FFF6A6;
  --sidebar: oklch(0.21 0.032 285);
  --sidebar-foreground: oklch(0.96 0.018 85);
  --sidebar-primary: oklch(0.66 0.22 27);
  --sidebar-primary-foreground: oklch(0.99 0.008 85);
  --sidebar-accent: oklch(0.28 0.038 285);
  --sidebar-accent-foreground: oklch(0.96 0.018 85);
  --sidebar-border: oklch(0.34 0.04 285);
  --sidebar-ring: oklch(0.72 0.15 285);

  /* ── brand fills (never text) ─────────────────────────────────── */
  --lilac: #D599FB;
  --sun: #FFF6A6;
  --tangerine: #FF571D;
  --indigo: oklch(0.72 0.15 285);

  /* ── surface hierarchy ────────────────────────────────────────── */
  --background-secondary: oklch(0.21 0.032 285);
  --surface-hover:   color-mix(in srgb, var(--foreground) 6%,  var(--background));
  --surface-active:  color-mix(in srgb, var(--foreground) 10%, var(--background));
  --surface-elevated: oklch(0.27 0.037 285);

  /* ── border hierarchy ─────────────────────────────────────────── */
  --border-subtle: oklch(0.27 0.035 285);
  --border-muted: oklch(0.3 0.037 285);
  --border-strong: oklch(0.47 0.04 285);

  /* ── text hierarchy ───────────────────────────────────────────── */
  --foreground-secondary: oklch(0.86 0.022 85);

  /* ── primary depth ────────────────────────────────────────────── */
  --primary-hover: color-mix(in srgb, var(--primary) 88%, var(--foreground));
  --primary-muted: color-mix(in srgb, var(--primary) 22%, var(--background));
  --primary-soft:  color-mix(in srgb, var(--primary) 12%, var(--background));
  --primary-tint:  color-mix(in srgb, var(--primary) 8%, var(--background));
  --primary-ink: oklch(0.74 0.17 27);

  /* ── highlight ────────────────────────────────────────────────── */
  --highlight: #FFF6A6;
  --highlight-foreground: oklch(0.21 0.035 285);

  /* ── focus ring ───────────────────────────────────────────────── */
  --focus-ring: oklch(0.72 0.15 285 / 0.45);

  /* ── error ────────────────────────────────────────────────────── */
  --error: oklch(0.74 0.16 25);
  --error-foreground: oklch(0.18 0.03 25);

  /* ── radius ───────────────────────────────────────────────────── */
  --radius: 0.625rem;
  --radius-none: 0rem;
  --radius-sm: 0.375rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* ── typography ───────────────────────────────────────────────── */
  --font-mono: ui-monospace, SFMono-Regular, monospace;
  --font-weight-display: 500;
  --line-height-display: 1.15;
  --tracking-display: -0.02em;
  --font-weight-body: 450;
  --line-height-body: 1.68;
  --tracking-body: 0.01em;
  --font-weight-mono: 400;

  /* ── shadows ──────────────────────────────────────────────────── */
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 14px oklch(0 0 0 / 0.38);
  --shadow-lg: 0 14px 36px oklch(0 0 0 / 0.48);

  /* ── motion ───────────────────────────────────────────────────── */
  --duration-fast: 120ms;
  --duration-normal: 200ms;
  --duration-slow: 300ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
  --ease-decelerate: cubic-bezier(0, 0, 0.2, 1);

  /* ── spacing ──────────────────────────────────────────────────── */
  --spacing-base: 0.25rem;
}

/* Stencil Tweaks */
/* /Stencil Tweaks */
