/* Burnt River Off-Road Vehicle Facility theme: BRMX red on black and warm white, taken from the BRMX logo. Studio edits these tokens. */
:root {
  --background: #f6f4f1;
  --foreground: #121212;
  --card: #ffffff;
  --card-foreground: #121212;
  --popover: #ffffff;
  --popover-foreground: #121212;
  --primary: #c8102e;
  --primary-foreground: #ffffff;
  --secondary: #0b0b0b;
  --secondary-foreground: #f6f4f1;
  --muted: #ebe7e2;
  --muted-foreground: #55504a;
  --accent: #fbe3e5;
  --accent-foreground: #8a0b20;
  --destructive: #b42318;
  --destructive-foreground: #ffffff;
  --border: #d9d3cc;
  --input: #fbfaf8;
  --ring: #c8102e;
  --chart-1: #c8102e;
  --chart-2: #8a0b20;
  --chart-3: #1d7a8c;
  --chart-4: #b45309;
  --chart-5: #4a5568;
  --sidebar: #ffffff;
  --sidebar-foreground: #121212;
  --sidebar-primary: #c8102e;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #fbe3e5;
  --sidebar-accent-foreground: #8a0b20;
  --sidebar-border: #d9d3cc;
  --sidebar-ring: #c8102e;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: Impact, 'Arial Narrow Bold', Haettenschweiler, 'Franklin Gothic Condensed', sans-serif;
  --tracking-normal: 0em;
  --radius: 0.75rem;
  --spacing: 0.25rem;
  --shadow-2xs: 0 1px 2px 0 rgb(18 12 10 / 0.06);
  --shadow-xs: 0 1px 2px 0 rgb(18 12 10 / 0.08);
  --shadow-sm: 0 1px 3px 0 rgb(18 12 10 / 0.12), 0 1px 2px -1px rgb(18 12 10 / 0.1);
  --shadow: 0 1px 3px 0 rgb(18 12 10 / 0.12), 0 1px 2px -1px rgb(18 12 10 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(18 12 10 / 0.14), 0 2px 4px -2px rgb(18 12 10 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(18 12 10 / 0.16), 0 4px 6px -4px rgb(18 12 10 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(18 12 10 / 0.18), 0 8px 10px -6px rgb(18 12 10 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(18 12 10 / 0.3);
  /* Site colours, moved here from css/brmx.css so Studio's Site look can change them. */
  --gp-accent: #ff3d3d;
  --gp-night: #000000;
  --gp-sand: #f6f4f1;
}

.dark {
  --background: #0b0b0c;
  --foreground: #f1eeea;
  --card: #151516;
  --card-foreground: #f1eeea;
  --popover: #151516;
  --popover-foreground: #f1eeea;
  --primary: #ff4b57;
  --primary-foreground: #0b0b0c;
  --secondary: #f1eeea;
  --secondary-foreground: #0b0b0c;
  --muted: #1d1d1f;
  --muted-foreground: #b6b0a8;
  --accent: #2d1316;
  --accent-foreground: #ff9aa2;
  --destructive: #f87171;
  --destructive-foreground: #0b0b0c;
  --border: #2c2c2f;
  --input: #1d1d1f;
  --ring: #ff4b57;
  --chart-1: #ff4b57;
  --chart-2: #ff9aa2;
  --chart-3: #7fd6c2;
  --chart-4: #f97316;
  --chart-5: #d6c85a;
  --sidebar: #151516;
  --sidebar-foreground: #f1eeea;
  --sidebar-primary: #ff4b57;
  --sidebar-primary-foreground: #0b0b0c;
  --sidebar-accent: #2d1316;
  --sidebar-accent-foreground: #ff9aa2;
  --sidebar-border: #2c2c2f;
  --sidebar-ring: #ff4b57;
}

/* Header and footer keyboard focus: solid 3px outline, not the template half-transparent ring. Header and footer are dark in both modes. */
header[data-site-header] :is(a, button, summary, [role="button"]):focus-visible,
footer.gp-footer :is(a, button, summary, [role="button"]):focus-visible { outline: 3px solid #ff4b57; outline-offset: 2px; box-shadow: none; }

/* Small red labels on dark panels: lighter red to reach 4.5:1. */
:root .gp-featured-label, :root .gp-band .gp-eyebrow, :root .gp-dark .gp-eyebrow, :root .gp-featured .gp-eyebrow, :root .gp-pagehead .gp-eyebrow, :root .gp-hero .gp-eyebrow { color: #ff7a7a; }

/* Menus opened from the header: body-level dropdowns/mobile sheet and the in-header theme menu. */
:is(.imported-menu-popup, .imported-sheet-panel) :is(a, button, summary, [role="button"]):focus-visible,
[role="menu"] [role^="menuitem"]:focus-visible { outline: 3px solid currentColor; outline-offset: -3px; box-shadow: none; }
