/**
 * Led Sign 24 — dark-only brand theme.
 *
 * Values measured from the approved prototype (see docs/prototype/):
 *   background #0f0e12   foreground #f5f2ea   accent #ff7a1a
 *   surface    #14131a   muted      #b5b0bd   dim    #c9c5cf
 *   link       #ffab4a   link hover #ffc57e   hairline rgba(245,242,234,.14)
 *
 * The site never renders light, so `:root` and `html[data-theme="dark"]` carry
 * the same values — the duplicate block exists so any stray `data-theme`
 * toggle cannot wash the page out.
 */

:root {
  --background: #0f0e12;
  --foreground: #f5f2ea;

  /* Cards and panels sit just above the page. */
  --card: #14131a;
  --card-foreground: #f5f2ea;
  --popover: #16151d;
  --popover-foreground: #f5f2ea;

  /* Led Sign 24 orange carries every primary action. */
  --primary: #ff7a1a;
  --primary-foreground: #0f0e12;

  --secondary: #1c1b23;
  --secondary-foreground: #f5f2ea;

  --muted: #1c1b23;
  --muted-foreground: #b5b0bd;

  --accent: #ff7a1a;
  --accent-foreground: #0f0e12;

  --destructive: #ff5b5b;
  --destructive-foreground: #0f0e12;

  --border: rgba(245, 242, 234, 0.14);
  --input: rgba(245, 242, 234, 0.14);
  --ring: #ff7a1a;

  /* Secondary text tone used for nav links and card sub-copy. */
  --dim: #c9c5cf;
  --link: #ffab4a;
  --link-hover: #ffc57e;

  --chart-1: #ff7a1a;
  --chart-2: #ff4d9d;
  --chart-3: #5fe6ff;
  --chart-4: #77ff88;
  --chart-5: #bf7bff;

  --sidebar: #14131a;
  --sidebar-foreground: #f5f2ea;
  --sidebar-primary: #ff7a1a;
  --sidebar-primary-foreground: #0f0e12;
  --sidebar-accent: #1c1b23;
  --sidebar-accent-foreground: #f5f2ea;
  --sidebar-border: rgba(245, 242, 234, 0.14);
  --sidebar-ring: #ff7a1a;

  --font-sans: "Instrument Sans", system-ui, sans-serif;
  --font-display: Archivo, sans-serif;
  --font-serif: Archivo, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius: 0.625rem;

  --shadow-x: 0px;
  --shadow-y: 24px;
  --shadow-blur: 60px;
  --shadow-spread: -20px;
  --shadow-opacity: 0.7;
  --shadow-color: hsl(260 20% 2%);
  --shadow-2xs: 0 1px 2px 0 hsl(260 20% 2% / 0.3);
  --shadow-xs: 0 2px 6px -2px hsl(260 20% 2% / 0.4);
  --shadow-sm: 0 6px 16px -8px hsl(260 20% 2% / 0.5);
  --shadow: 0 12px 28px -12px hsl(260 20% 2% / 0.55);
  --shadow-md: 0 18px 40px -16px hsl(260 20% 2% / 0.6);
  --shadow-lg: 0 24px 60px -20px hsl(260 20% 2% / 0.7);
  --shadow-xl: 0 34px 70px -22px hsl(260 20% 2% / 0.8);
  --shadow-2xl: 0 44px 90px -24px hsl(260 20% 2% / 0.85);

  --tracking-normal: 0em;
  --spacing: 0.25rem;
}

html[data-theme="dark"] {
  --background: #0f0e12;
  --foreground: #f5f2ea;
  --card: #14131a;
  --card-foreground: #f5f2ea;
  --popover: #16151d;
  --popover-foreground: #f5f2ea;
  --primary: #ff7a1a;
  --primary-foreground: #0f0e12;
  --secondary: #1c1b23;
  --secondary-foreground: #f5f2ea;
  --muted: #1c1b23;
  --muted-foreground: #b5b0bd;
  --accent: #ff7a1a;
  --accent-foreground: #0f0e12;
  --destructive: #ff5b5b;
  --destructive-foreground: #0f0e12;
  --border: rgba(245, 242, 234, 0.14);
  --input: rgba(245, 242, 234, 0.14);
  --ring: #ff7a1a;
  --dim: #c9c5cf;
  --link: #ffab4a;
  --link-hover: #ffc57e;
  --sidebar: #14131a;
  --sidebar-foreground: #f5f2ea;
  --sidebar-primary: #ff7a1a;
  --sidebar-primary-foreground: #0f0e12;
  --sidebar-accent: #1c1b23;
  --sidebar-accent-foreground: #f5f2ea;
  --sidebar-border: rgba(245, 242, 234, 0.14);
  --sidebar-ring: #ff7a1a;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-dim: var(--dim);
  --color-link: var(--link);
  --color-link-hover: var(--link-hover);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --color-sidebar: var(--sidebar);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-ring: var(--sidebar-ring);

  --font-sans: var(--font-sans);
  --font-display: var(--font-display);
  --font-serif: var(--font-serif);
  --font-mono: var(--font-mono);

  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);

  --shadow-2xs: var(--shadow-2xs);
  --shadow-xs: var(--shadow-xs);
  --shadow-sm: var(--shadow-sm);
  --shadow: var(--shadow);
  --shadow-md: var(--shadow-md);
  --shadow-lg: var(--shadow-lg);
  --shadow-xl: var(--shadow-xl);
  --shadow-2xl: var(--shadow-2xl);
}
