/**
 * Skilter — light-only brand theme.
 *
 * The shop reads as a printed catalogue rather than a lit room: a white page,
 * near-black ink, hairline rules, and one blue that marks everything a visitor
 * can act on. Colour belongs to the photographs and to the signs, not to the
 * furniture around them.
 *
 *   background #ffffff   foreground #14141a   accent #0e6ba8
 *   surface    #f6f6f4   muted      #55555f   sunk   #efefec
 *   line       rgba(16,16,20,.10)             radius 6px
 *
 * The site never renders dark, so `:root` and `html[data-theme="dark"]` carry
 * the same values — the duplicate block exists so a stray `data-theme` toggle
 * from the auth or admin trees cannot black the page out.
 */

:root {
  --background: #ffffff;
  --foreground: #14141a;

  /* Cards are white on white and separated by a line, not by a fill. */
  --card: #ffffff;
  --card-foreground: #14141a;
  --popover: #ffffff;
  --popover-foreground: #14141a;

  /* One blue carries every primary action. */
  --primary: #0e6ba8;
  --primary-foreground: #ffffff;

  --secondary: #f6f6f4;
  --secondary-foreground: #14141a;

  --muted: #f6f6f4;
  --muted-foreground: #55555f;

  --accent: #0e6ba8;
  --accent-foreground: #ffffff;

  --destructive: #c0362b;
  --destructive-foreground: #ffffff;

  --border: rgba(16, 16, 20, 0.1);
  --input: rgba(16, 16, 20, 0.16);
  --ring: #0e6ba8;

  /* Secondary text tone used for nav links and card sub-copy. */
  --dim: #55555f;
  --link: #0e6ba8;
  --link-hover: #0b578a;

  --chart-1: #0e6ba8;
  --chart-2: #00b67a;
  --chart-3: #55555f;
  --chart-4: #9a9aa4;
  --chart-5: #c8c8cc;

  --sidebar: #f6f6f4;
  --sidebar-foreground: #14141a;
  --sidebar-primary: #0e6ba8;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #efefec;
  --sidebar-accent-foreground: #14141a;
  --sidebar-border: rgba(16, 16, 20, 0.1);
  --sidebar-ring: #0e6ba8;

  --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.375rem;

  /* Flat and short. A minimal page separates surfaces with a line; a shadow
     is only ever there to say a thing floats above the document. */
  --shadow-x: 0px;
  --shadow-y: 1px;
  --shadow-blur: 2px;
  --shadow-spread: 0px;
  --shadow-opacity: 0.05;
  --shadow-color: rgba(16, 16, 20, 0.05);
  --shadow-2xs: 0 1px 1px rgba(16, 16, 20, 0.04);
  --shadow-xs: 0 1px 2px rgba(16, 16, 20, 0.05);
  --shadow-sm: 0 1px 2px rgba(16, 16, 20, 0.06);
  --shadow: 0 1px 2px rgba(16, 16, 20, 0.06);
  --shadow-md: 0 4px 10px -4px rgba(16, 16, 20, 0.1);
  --shadow-lg: 0 10px 24px -12px rgba(16, 16, 20, 0.16);
  --shadow-xl: 0 18px 40px -18px rgba(16, 16, 20, 0.2);
  --shadow-2xl: 0 24px 56px -22px rgba(16, 16, 20, 0.24);

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

html[data-theme="dark"] {
  --background: #ffffff;
  --foreground: #14141a;
  --card: #ffffff;
  --card-foreground: #14141a;
  --popover: #ffffff;
  --popover-foreground: #14141a;
  --primary: #0e6ba8;
  --primary-foreground: #ffffff;
  --secondary: #f6f6f4;
  --secondary-foreground: #14141a;
  --muted: #f6f6f4;
  --muted-foreground: #55555f;
  --accent: #0e6ba8;
  --accent-foreground: #ffffff;
  --destructive: #c0362b;
  --destructive-foreground: #ffffff;
  --border: rgba(16, 16, 20, 0.1);
  --input: rgba(16, 16, 20, 0.16);
  --ring: #0e6ba8;
  --dim: #55555f;
  --link: #0e6ba8;
  --link-hover: #0b578a;
  --sidebar: #f6f6f4;
  --sidebar-foreground: #14141a;
  --sidebar-primary: #0e6ba8;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #efefec;
  --sidebar-accent-foreground: #14141a;
  --sidebar-border: rgba(16, 16, 20, 0.1);
  --sidebar-ring: #0e6ba8;
}

@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) - 2px);
  --radius-md: var(--radius);
  --radius-lg: calc(var(--radius) + 2px);
  --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);
}
