/**
 * @file theme.css
 * shadcn/ui-compatible theme variables for Oaisys.
 *
 * You can customize these values without rebuilding the compiled CSS.
 * Tools like https://tweakcn.com can help generate these values. Copy this
 * file to your web root, so it sits next to index.php, and clear Drupal's
 * cache. Then, any changes you make in this file should be reflected right away.
 */

:root {
  /* Brand values below were re-derived directly from the live source site's
     computed styles (drupal-ai-event.ddev.site), NOT from SPACEtokens.json
     — that file's "primary" color group (teal, #17494d) turned out not to
     be the real brand color at all. The real accent, confirmed on the
     rendered page (the "PURPOSE" eyebrow label, hero CTA), is the vivid red
     also present in the token file under a different, easy-to-miss key:
     text.primaryDark / defaultRed (#ed1c24). Headline font is really
     MartianMono (confirmed via getComputedStyle, not Space Grotesk); body
     font is really Inter (not Helvetica Now Display). See fonts.css. */
  --background: #ffffff;
  --foreground: #121212; /* text.body — still correct, confirmed live */
  --card: #f8f9f9;
  --card-foreground: #333333;
  --primary: #ed1c24; /* text.primaryDark / defaultRed, confirmed live */
  --primary-foreground: #ffffff;
  --secondary: #e9ebed;
  --secondary-foreground: #121212;
  --muted: #f8f9f9;
  --muted-foreground: #68737d;
  --accent: #fff0f1; /* danger.100 — soft red tint for accent surfaces */
  --accent-foreground: #681219; /* danger.800 */
  --destructive: #cc3340; /* danger.600 — distinct shade from primary red */
  --destructive-foreground: #ffffff;
  --border: #d8dcde;
  --input: #d8dcde;
  --font-sans: "Martian Mono", "Courier New", monospace;
  --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-mono: "Martian Mono", "Fira Mono", "Menlo", "Consolas", "Liberation Mono", monospace;
  --font-body: "Inter", Arial, Helvetica, sans-serif;
  --radius: 0.5rem;
  --shadow-x: 0;
  --shadow-y: 1px;
  --shadow-blur: 3px;
  --shadow-spread: 0px;
  --shadow-opacity: 0.1;
  --shadow-color: oklch(0 0 0);
  --shadow-2xs: 0 1px 3px 1px hsl(0 0% 0% / 0.05);
  --shadow-xs: 0 1px 3px 1px hsl(0 0% 0% / 0.05), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
  --shadow-sm: 0 1px 3px 1px hsl(0 0% 0% / 0.1), 0 2px 4px -1px hsl(0 0% 0% / 0.1);
  --shadow: 0 1px 3px 1px hsl(0 0% 0% / 0.1), 0 2px 4px -1px hsl(0 0% 0% / 0.1);
  --shadow-md: 0 1px 3px 1px hsl(0 0% 0% / 0.1), 0 4px 6px -2px hsl(0 0% 0% / 0.1);
  --shadow-lg: 0 1px 3px 1px hsl(0 0% 0% / 0.1), 0 8px 10px -2px hsl(0 0% 0% / 0.1);
  --shadow-xl: 0 1px 3px 1px hsl(0 0% 0% / 0.1), 0 12px 14px -3px hsl(0 0% 0% / 0.1);
  --shadow-2xl: 0 1px 3px 1px hsl(0 0% 0% / 0.1), 0 16px 18px -3px hsl(0 0% 0% / 0.1);
  --tracking-normal: 0em;
  --spacing: 0.25rem;

  /* Set navbar height for hero billboard overlay */
  --navbar-height: calc(var(--spacing) * 15);

  @media (min-width: 768px) {
    --navbar-height: calc(var(--spacing) * 18);
  }
}

.dark {
  /* The source site has no real dark-mode toggle — individual components
     (hero, card, team-section, etc.) get dark BACKGROUNDS via their own
     explicit "background_color: inverted/dark" props, not a site-wide OS
     dark-mode switch. So this block deliberately mirrors :root exactly,
     rather than diverging as Mercury's stock dark palette did — without
     this, a visitor with OS dark-mode on would see Mercury's original blue
     leak back in despite every other brand value being overridden above. */
  --background: #ffffff;
  --foreground: #121212;
  --card: #f8f9f9;
  --card-foreground: #333333;
  --primary: #ed1c24;
  --primary-foreground: #ffffff;
  --secondary: #e9ebed;
  --secondary-foreground: #121212;
  --muted: #f8f9f9;
  --muted-foreground: #68737d;
  --accent: #fff0f1;
  --accent-foreground: #681219;
  --destructive: #cc3340;
  --destructive-foreground: #ffffff;
  --border: #d8dcde;
  --input: #d8dcde;
  --font-sans: "Martian Mono", "Courier New", monospace;
  --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-mono: "Martian Mono", "Fira Mono", "Menlo", "Consolas", "Liberation Mono", monospace;
  --font-body: "Inter", Arial, Helvetica, sans-serif;
  --radius: 0.5rem;
  --shadow-x: 0;
  --shadow-y: 1px;
  --shadow-blur: 3px;
  --shadow-spread: 0px;
  --shadow-opacity: 0.1;
  --shadow-color: oklch(0 0 0);
  --shadow-2xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
  --shadow-xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
  --shadow-sm: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
  --shadow: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
  --shadow-md: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 2px 4px -1px hsl(0 0% 0% / 0.1);
  --shadow-lg: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 4px 6px -1px hsl(0 0% 0% / 0.1);
  --shadow-xl: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 8px 10px -1px hsl(0 0% 0% / 0.1);
  --shadow-2xl: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 12px 14px -1px hsl(0 0% 0% / 0.1);
}
