/* Stencil Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
/* /Stencil Fonts */

/* Routine Flamingo brand: hot pink action colour, near-black nav and outlines,
   blush on page chrome only, white working surfaces. */
:root {
  /* ── shadcn base tokens ───────────────────────────────────────── */
  --background: #FEFBFC;
  --foreground: oklch(0.23 0.006 320);
  --card: #FFFFFF;
  --card-foreground: oklch(0.23 0.006 320);
  --popover: #FFFFFF;
  --popover-foreground: oklch(0.23 0.006 320);
  --primary: #E8197D;
  --primary-foreground: #FFFFFF;
  --secondary: #FCE4EC;
  --secondary-foreground: oklch(0.23 0.006 320);
  --muted: oklch(0.965 0.01 345);
  --muted-foreground: oklch(0.5 0.01 315);
  --accent: oklch(0.965 0.014 350);
  --accent-foreground: oklch(0.23 0.006 320);
  --destructive: oklch(0.52 0.19 25);
  --destructive-foreground: #FFFFFF;
  --border: oklch(0.92 0.014 345);
  --input: #1A1A1A;
  --ring: oklch(0.585 0.225 356);
  --success: oklch(0.48 0.11 155);
  --warning: oklch(0.52 0.12 65);
  --chart-1: #E8197D;
  --chart-2: #1A1A1A;
  --chart-3: #F9A8C9;
  --chart-4: oklch(0.6 0.12 300);
  --chart-5: oklch(0.55 0.08 200);
  --sidebar: #1A1A1A;
  --sidebar-foreground: oklch(0.88 0.008 345);
  --sidebar-primary: #E8197D;
  --sidebar-primary-foreground: #FFFFFF;
  --sidebar-accent: oklch(0.3 0.006 320);
  --sidebar-accent-foreground: #FFFFFF;
  --sidebar-border: oklch(0.34 0.006 320);
  --sidebar-ring: oklch(0.585 0.225 356);

  /* ── brand chrome ─────────────────────────────────────────────── */
  --blush: #FCE4EC;
  --blush-foreground: oklch(0.23 0.006 320);
  --border-ink: #1A1A1A;

  /* ── surface hierarchy ────────────────────────────────────────── */
  --background-secondary: #FEF6F9;
  --surface-hover:   color-mix(in srgb, var(--foreground) 5%,  var(--background));
  --surface-active:  color-mix(in srgb, var(--foreground) 9%, var(--background));
  --surface-elevated: #FFFFFF;

  /* ── border hierarchy ─────────────────────────────────────────── */
  --border-subtle: oklch(0.95 0.01 345);
  --border-muted: oklch(0.935 0.012 345);
  --border-strong: oklch(0.8 0.02 345);

  /* ── text hierarchy ───────────────────────────────────────────── */
  --foreground-secondary: oklch(0.38 0.008 320);

  /* ── primary depth (hover/tint states for brand colour) ─────── */
  --primary-hover: oklch(0.535 0.225 356);
  --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) 5%,  var(--background));

  /* ── highlight: the softer flamingo pink, a fill only (never text) ── */
  --highlight: #F9A8C9;
  --highlight-foreground: #2A2135;

  /* ── focus ring (alpha-blended, for soft ring style) ────────── */
  --focus-ring: oklch(0.585 0.225 356 / 0.4);

  /* ── error (form validation — distinct from destructive) ─────── */
  --error: oklch(0.52 0.19 25);
  --error-foreground: #FFFFFF;

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

  /* ── typography ───────────────────────────────────────────────── */
  --font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, monospace;
  --font-weight-display: 700;
  --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.23 0.006 320 / 0.06);
  --shadow-md: 0 4px 14px oklch(0.23 0.006 320 / 0.08);
  --shadow-lg: 0 14px 36px oklch(0.23 0.006 320 / 0.12);
  --shadow-pop: 4px 4px 0 0 #1A1A1A;
  --shadow-pop-sm: 3px 3px 0 0 #1A1A1A;

  /* ── 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.17 0.006 320);
  --foreground: oklch(0.96 0.006 345);
  --card: oklch(0.215 0.008 320);
  --card-foreground: oklch(0.96 0.006 345);
  --popover: oklch(0.215 0.008 320);
  --popover-foreground: oklch(0.96 0.006 345);
  --primary: oklch(0.7 0.19 356);
  --primary-foreground: #1A1A1A;
  --secondary: oklch(0.28 0.03 350);
  --secondary-foreground: oklch(0.96 0.006 345);
  --muted: oklch(0.26 0.008 320);
  --muted-foreground: oklch(0.76 0.01 345);
  --accent: oklch(0.27 0.012 340);
  --accent-foreground: oklch(0.96 0.006 345);
  --destructive: oklch(0.7 0.17 25);
  --destructive-foreground: #1A1A1A;
  --border: oklch(0.96 0.006 345 / 12%);
  --input: #1A1A1A;
  --ring: oklch(0.7 0.19 356);
  --success: oklch(0.76 0.12 155);
  --warning: oklch(0.82 0.12 75);
  --chart-1: oklch(0.7 0.19 356);
  --chart-2: oklch(0.9 0.006 345);
  --chart-3: #F9A8C9;
  --chart-4: oklch(0.72 0.12 300);
  --chart-5: oklch(0.72 0.08 200);
  --sidebar: oklch(0.12 0.004 320);
  --sidebar-foreground: oklch(0.88 0.008 345);
  --sidebar-primary: oklch(0.7 0.19 356);
  --sidebar-primary-foreground: #1A1A1A;
  --sidebar-accent: oklch(0.24 0.008 320);
  --sidebar-accent-foreground: #FFFFFF;
  --sidebar-border: oklch(0.96 0.006 345 / 12%);
  --sidebar-ring: oklch(0.7 0.19 356);

  /* ── brand chrome ─────────────────────────────────────────────── */
  --blush: oklch(0.26 0.035 352);
  --blush-foreground: oklch(0.96 0.006 345);
  --border-ink: oklch(0.86 0.01 345);

  /* ── surface hierarchy ────────────────────────────────────────── */
  --background-secondary: oklch(0.195 0.008 320);
  --surface-elevated: oklch(0.25 0.008 320);

  /* ── border hierarchy ─────────────────────────────────────────── */
  --border-subtle: oklch(0.96 0.006 345 / 7%);
  --border-muted: oklch(0.96 0.006 345 / 9%);
  --border-strong: oklch(0.96 0.006 345 / 24%);

  /* ── text hierarchy ───────────────────────────────────────────── */
  --foreground-secondary: oklch(0.85 0.008 345);

  /* ── primary depth ────────────────────────────────────────────── */
  --primary-hover: oklch(0.76 0.17 356);
  --primary-tint: color-mix(in srgb, var(--primary) 8%, var(--background));

  /* ── highlight ────────────────────────────────────────────────── */
  --highlight: #F9A8C9;
  --highlight-foreground: #2A2135;

  /* ── focus ring ───────────────────────────────────────────────── */
  --focus-ring: oklch(0.7 0.19 356 / 0.5);

  /* ── error ────────────────────────────────────────────────────── */
  --error: oklch(0.72 0.16 25);
  --error-foreground: #1A1A1A;

  /* ── typography (dark compensation) ───────────────────────────── */
  --line-height-body: 1.65;
  --tracking-body: 0.01em;
  --font-weight-body: 450;

  /* ── shadows ──────────────────────────────────────────────────── */
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 14px oklch(0 0 0 / 0.36);
  --shadow-lg: 0 14px 36px oklch(0 0 0 / 0.45);
  --shadow-pop: 4px 4px 0 0 oklch(0.86 0.01 345);
  --shadow-pop-sm: 3px 3px 0 0 oklch(0.86 0.01 345);
}

/* Stencil Tweaks */
@layer base {
  h1, h2, h3, h4 { font-weight: var(--font-weight-display); }
}
/* /Stencil Tweaks */
