/* Stencil Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
/* /Stencil Fonts */

@import url("https://fonts.googleapis.com/css2?family=Anton&family=Playfair+Display:ital,wght@1,600&display=swap");

:root {
  /* ── shadcn base tokens ───────────────────────────────────────── */
  --background: #FAF6F0;
  --foreground: #4A2C27;
  --card: oklch(0.993 0.007 85);
  --card-foreground: oklch(0.22 0.045 340);
  --popover: oklch(0.993 0.007 85);
  --popover-foreground: oklch(0.22 0.045 340);
  --primary: #E8806A;
  --primary-foreground: oklch(0.98 0.014 85);
  --secondary: oklch(0.94 0.022 75);
  --secondary-foreground: oklch(0.28 0.08 340);
  --muted: oklch(0.945 0.018 80);
  --muted-foreground: #8A6A62;
  --accent: oklch(0.935 0.03 55);
  --accent-foreground: oklch(0.28 0.08 340);
  --destructive: oklch(0.52 0.2 27);
  --destructive-foreground: oklch(0.985 0.01 85);
  --border: #EBD9CF;
  --input: oklch(0.86 0.025 70);
  --ring: oklch(0.34 0.115 340);
  --success: oklch(0.46 0.11 155);
  --warning: oklch(0.5 0.115 65);
  --chart-1: oklch(0.34 0.115 340);
  --chart-2: oklch(0.7 0.16 35);
  --chart-3: oklch(0.55 0.13 350);
  --chart-4: oklch(0.78 0.12 70);
  --chart-5: oklch(0.48 0.07 300);
  --sidebar: oklch(0.955 0.02 80);
  --sidebar-foreground: oklch(0.22 0.045 340);
  --sidebar-primary: oklch(0.34 0.115 340);
  --sidebar-primary-foreground: oklch(0.98 0.014 85);
  --sidebar-accent: oklch(0.925 0.03 60);
  --sidebar-accent-foreground: oklch(0.28 0.08 340);
  --sidebar-border: oklch(0.885 0.022 70);
  --sidebar-ring: oklch(0.34 0.115 340);

  /* ── surface hierarchy ────────────────────────────────────────── */
  --background-secondary: oklch(0.955 0.02 80);
  --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.998 0.004 85);

  /* ── border hierarchy ─────────────────────────────────────────── */
  --border-subtle: oklch(0.94 0.018 75);
  --border-muted: oklch(0.915 0.02 72);
  --border-strong: oklch(0.78 0.03 60);

  /* ── text hierarchy ───────────────────────────────────────────── */
  --foreground-secondary: oklch(0.36 0.045 340);

  /* ── primary depth (hover/tint states for brand colour) ─────── */
  --primary-hover: color-mix(in srgb, var(--primary) 90%, 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));

  /* ── highlight: the theme's second brand colour, a fill only (never text) ── */
  --highlight: oklch(0.72 0.16 35);
  --highlight-foreground: oklch(0.2 0.05 340);

  /* ── cover palette (the wordmark) ─────────────────────────────── */
  --blush: oklch(0.8 0.085 2);
  --gold: oklch(0.79 0.12 80);
  --coral-deep: oklch(0.53 0.14 35);

  /* ── focus ring (alpha-blended, for soft ring style) ────────── */
  --focus-ring: oklch(0.34 0.115 340 / 0.35);

  /* ── error (form validation — distinct from destructive) ─────── */
  --error: oklch(0.5 0.19 27);
  --error-foreground: oklch(0.985 0.01 85);

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

  /* ── typography ───────────────────────────────────────────────── */
  --font-display: Inter;
  --font-sans: Inter;
  --font-mono: ui-monospace, SFMono-Regular, monospace;
  --font-weight-display: 700;
  --line-height-display: 1.12;
  --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.08 340 / 0.06);
  --shadow-md: 0 6px 16px oklch(0.3 0.08 340 / 0.09);
  --shadow-lg: 0 16px 40px oklch(0.3 0.08 340 / 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.185 0.03 335);
  --foreground: oklch(0.955 0.015 80);
  --card: oklch(0.23 0.035 335);
  --card-foreground: oklch(0.955 0.015 80);
  --popover: oklch(0.23 0.035 335);
  --popover-foreground: oklch(0.955 0.015 80);
  --primary: oklch(0.82 0.085 345);
  --primary-foreground: oklch(0.2 0.05 340);
  --secondary: oklch(0.28 0.04 335);
  --secondary-foreground: oklch(0.955 0.015 80);
  --muted: oklch(0.27 0.035 335);
  --muted-foreground: oklch(0.76 0.03 350);
  --accent: oklch(0.3 0.045 345);
  --accent-foreground: oklch(0.955 0.015 80);
  --destructive: oklch(0.7 0.18 25);
  --destructive-foreground: oklch(0.18 0.03 335);
  --border: oklch(0.34 0.04 335);
  --input: oklch(0.38 0.04 335);
  --ring: oklch(0.82 0.085 345);
  --success: oklch(0.78 0.13 155);
  --warning: oklch(0.84 0.13 75);
  --chart-1: oklch(0.82 0.085 345);
  --chart-2: oklch(0.75 0.15 35);
  --chart-3: oklch(0.65 0.14 350);
  --chart-4: oklch(0.83 0.12 75);
  --chart-5: oklch(0.68 0.09 300);
  --sidebar: oklch(0.21 0.033 335);
  --sidebar-foreground: oklch(0.955 0.015 80);
  --sidebar-primary: oklch(0.82 0.085 345);
  --sidebar-primary-foreground: oklch(0.2 0.05 340);
  --sidebar-accent: oklch(0.29 0.045 340);
  --sidebar-accent-foreground: oklch(0.955 0.015 80);
  --sidebar-border: oklch(0.34 0.04 335);
  --sidebar-ring: oklch(0.82 0.085 345);

  /* ── surface hierarchy ────────────────────────────────────────── */
  --background-secondary: oklch(0.21 0.033 335);
  --surface-hover:   color-mix(in srgb, var(--foreground) 7%,  var(--background));
  --surface-active:  color-mix(in srgb, var(--foreground) 12%, var(--background));
  --surface-elevated: oklch(0.27 0.038 335);

  /* ── border hierarchy ─────────────────────────────────────────── */
  --border-subtle: oklch(0.27 0.035 335);
  --border-muted: oklch(0.3 0.038 335);
  --border-strong: oklch(0.46 0.045 335);

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

  /* ── primary depth ────────────────────────────────────────────── */
  --primary-hover: color-mix(in srgb, var(--primary) 90%, 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));

  /* ── highlight ────────────────────────────────────────────────── */
  --highlight: oklch(0.75 0.15 35);
  --highlight-foreground: oklch(0.2 0.05 340);

  /* ── cover palette (the wordmark) ─────────────────────────────── */
  --blush: oklch(0.82 0.085 2);
  --gold: oklch(0.8 0.12 80);
  --coral-deep: oklch(0.8 0.1 35);

  /* ── focus ring ───────────────────────────────────────────────── */
  --focus-ring: oklch(0.82 0.085 345 / 0.45);

  /* ── error ────────────────────────────────────────────────────── */
  --error: oklch(0.76 0.15 25);
  --error-foreground: oklch(0.18 0.03 335);

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

  /* ── typography ───────────────────────────────────────────────── */
  --font-display: Inter, ui-sans-serif, system-ui, sans-serif;
  --font-sans: Inter, ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, monospace;
  --font-weight-display: 700;
  --line-height-display: 1.12;
  --tracking-display: -0.02em;
  --font-weight-body: 450;
  --line-height-body: 1.65;
  --tracking-body: 0.01em;
  --font-weight-mono: 400;

  /* ── shadows ──────────────────────────────────────────────────── */
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 6px 16px oklch(0 0 0 / 0.38);
  --shadow-lg: 0 16px 40px 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;
}

/* The cover's lettering: condensed caps, blush fill, gold outline, coral offset shadow. */
.brand-wordmark {
  font-family: "Anton", "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  color: var(--blush);
  -webkit-text-stroke: 0.05em var(--gold);
  paint-order: stroke fill;
  text-shadow:
    0.04em 0.04em 0 var(--primary),
    0.08em 0.08em 0 var(--primary),
    0.12em 0.12em 0 var(--primary);
}
.brand-tagline {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--coral-deep);
}

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

/* /Stencil Tweaks */