/* ==========================================================================
   VMR Newswire  |  brand-tokens.css  |  v1.0.0
   LOAD THIS FILE FIRST. It is the only file allowed to declare --vn-* values.
   Generated from tokens.json by brand/src/build_kit.py. Do not hand-edit values;
   change tokens in build_kit.py and rebuild. Every other stylesheet
   (brand-components.css, page CSS) must reference these variables and must
   never open a second :root block that redeclares them.
   Fonts: SIL OFL 1.1, self-hosted from ./fonts/ (path is relative to this file).
   ========================================================================== */

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/Newsreader-Variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/Newsreader-Italic-Variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/Geist-Variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/GeistMono-Variable.woff2') format('woff2');
}

:root {
  /* Brand */
  --vn-ink: #0B1721;
  --vn-signal-50: #FFF1EC;
  --vn-signal-100: #FFDDD2;
  --vn-signal-300: #FF9A7A;
  --vn-signal-400: #FF6A3D;
  --vn-signal-500: #F0481F;
  --vn-signal-600: #D03813;
  --vn-signal-700: #B93010;
  --vn-signal-800: #8F250C;
  --vn-teal-50: #E3F1F2;
  --vn-teal-100: #C5E3E5;
  --vn-teal-300: #5CC6CC;
  --vn-teal-500: #14808A;
  --vn-teal-700: #0E5A61;
  --vn-teal-800: #0A444A;

  /* Neutrals (cool grey, one family only) */
  --vn-n-0: #FFFFFF;
  --vn-n-25: #F8FAFB;
  --vn-n-50: #F3F6F7;
  --vn-n-100: #E8EDF0;
  --vn-n-200: #D7DFE4;
  --vn-n-300: #BCC8D0;
  --vn-n-400: #94A3AE;
  --vn-n-500: #66757F;
  --vn-n-600: #4A5964;
  --vn-n-700: #33424D;
  --vn-n-800: #1D2B36;
  --vn-n-900: #111F2B;
  --vn-n-950: #0B1721;

  /* Semantic states */
  --vn-success: #16794A;
  --vn-success-bg: #E6F4EC;
  --vn-success-on-dark: #5FD39A;
  --vn-warning: #A15C00;
  --vn-warning-bg: #FFF1C2;
  --vn-warning-on-dark: #F5B94A;
  --vn-error: #B0124A;
  --vn-error-bg: #FCE8EF;
  --vn-error-on-dark: #FF8FB3;
  --vn-info: #0E5A61;
  --vn-info-bg: #E3F1F2;
  --vn-info-on-dark: #5CC6CC;

  /* Category tags: fg on bg (light), -dark is the text colour on dark surfaces */
  --vn-cat-technology: #1D4E9E;
  --vn-cat-technology-bg: #E6EEFB;
  --vn-cat-technology-dark: #9DBDF5;
  --vn-cat-healthcare: #0F6B5C;
  --vn-cat-healthcare-bg: #E0F3EF;
  --vn-cat-healthcare-dark: #6FD3BF;
  --vn-cat-chemicals: #6B3FA0;
  --vn-cat-chemicals-bg: #F0E9FA;
  --vn-cat-chemicals-dark: #C6A8F0;
  --vn-cat-energy: #7D5200;
  --vn-cat-energy-bg: #FFEFB8;
  --vn-cat-energy-dark: #F2BE5C;
  --vn-cat-automotive: #3A4A5E;
  --vn-cat-automotive-bg: #E8EDF3;
  --vn-cat-automotive-dark: #B4C3D6;
  --vn-cat-food: #5A6410;
  --vn-cat-food-bg: #F1F4DA;
  --vn-cat-food-dark: #CBD66A;
  --vn-cat-consumer: #A21A5B;
  --vn-cat-consumer-bg: #FBE7F0;
  --vn-cat-consumer-dark: #F29AC4;
  --vn-cat-semiconductors: #3F3FB5;
  --vn-cat-semiconductors-bg: #EAEAFB;
  --vn-cat-semiconductors-dark: #ABABF7;
  --vn-cat-aerospace: #1F5F7A;
  --vn-cat-aerospace-bg: #E1F0F6;
  --vn-cat-aerospace-dark: #84C8E4;
  --vn-cat-finance: #1A6B3F;
  --vn-cat-finance-bg: #E2F3E9;
  --vn-cat-finance-dark: #7FD3A4;
  --vn-cat-industrial: #7A4A21;
  --vn-cat-industrial-bg: #EEF0F2;
  --vn-cat-industrial-dark: #E0B486;
  --vn-cat-agriculture: #2F6B1E;
  --vn-cat-agriculture-bg: #E8F4E1;
  --vn-cat-agriculture-dark: #97D680;

  /* Type */
  --vn-font-headline: 'Newsreader', 'Iowan Old Style', 'Charter', Georgia, serif;
  --vn-font-body: 'Geist', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --vn-font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --vn-text-2xs: 0.6875rem; /* 11px */
  --vn-text-xs: 0.75rem; /* 12px */
  --vn-text-sm: 0.875rem; /* 14px */
  --vn-text-base: 1rem; /* 16px */
  --vn-text-md: 1.125rem; /* 18px */
  --vn-text-lg: 1.25rem; /* 20px */
  --vn-text-xl: 1.5rem; /* 24px */
  --vn-text-2xl: 1.875rem; /* 30px */
  --vn-text-3xl: 2.375rem; /* 38px */
  --vn-text-4xl: 3rem; /* 48px */
  --vn-text-5xl: 3.75rem; /* 60px */
  --vn-weight-regular: 400;
  --vn-weight-medium: 500;
  --vn-weight-semibold: 600;
  --vn-weight-bold: 700;

  /* Space (4px base) */
  --vn-space-0: 0;
  --vn-space-0-5: 0.125rem; /* 2px */
  --vn-space-1: 0.25rem; /* 4px */
  --vn-space-2: 0.5rem; /* 8px */
  --vn-space-3: 0.75rem; /* 12px */
  --vn-space-4: 1rem; /* 16px */
  --vn-space-5: 1.25rem; /* 20px */
  --vn-space-6: 1.5rem; /* 24px */
  --vn-space-8: 2rem; /* 32px */
  --vn-space-10: 2.5rem; /* 40px */
  --vn-space-12: 3rem; /* 48px */
  --vn-space-16: 4rem; /* 64px */
  --vn-space-20: 5rem; /* 80px */
  --vn-space-24: 6rem; /* 96px */
  --vn-space-32: 8rem; /* 128px */

  /* Radius: sharp editorial system. Tags xs, buttons and inputs md, boxed modules lg, full only for avatars and the live dot */
  --vn-radius-xs: 2px;
  --vn-radius-sm: 3px;
  --vn-radius-md: 4px;
  --vn-radius-lg: 6px;
  --vn-radius-full: 999px;

  /* Shadows (ink tinted, used sparingly: hover, menus, modals) */
  --vn-shadow-sm: 0 1px 2px rgba(11, 23, 33, 0.06), 0 1px 1px rgba(11, 23, 33, 0.04);
  --vn-shadow-md: 0 4px 12px rgba(11, 23, 33, 0.08), 0 1px 3px rgba(11, 23, 33, 0.06);
  --vn-shadow-lg: 0 16px 40px rgba(11, 23, 33, 0.14), 0 4px 10px rgba(11, 23, 33, 0.06);

  /* Grid and layout */
  --vn-grid-columns: 12;
  --vn-grid-gutter: 24px;
  --vn-container: 1240px;
  --vn-margin: 20px;
  --vn-measure: 68ch;
  --vn-release-column: 720px;
  --vn-sidebar: 300px;

  /* Motion and layers */
  --vn-duration-fast: 120ms;
  --vn-duration-base: 200ms;
  --vn-duration-slow: 320ms;
  --vn-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --vn-z-base: 0;
  --vn-z-sticky: 100;
  --vn-z-dropdown: 200;
  --vn-z-overlay: 300;
  --vn-z-modal: 400;
  --vn-z-toast: 500;

  /* Theme aliases (light is the default). Components use ONLY these for colour. */
  --vn-bg: #FFFFFF;
  --vn-bg-subtle: #F8FAFB;
  --vn-surface: #FFFFFF;
  --vn-surface-2: #F3F6F7;
  --vn-border: #D7DFE4;
  --vn-border-subtle: #E8EDF0;
  --vn-border-strong: #66757F;
  --vn-text: #0B1721;
  --vn-text-muted: #4A5964;
  --vn-text-subtle: #66757F;
  --vn-link: #0E5A61;
  --vn-link-hover: #0A444A;
  --vn-accent: #D03813;
  --vn-accent-hover: #B93010;
  --vn-accent-text: #D03813;
  --vn-on-accent: #FFFFFF;
  --vn-accent-tint: #F3F6F7;
  --vn-focus: #14808A;
  --vn-tag-alpha: 1;
  --vn-inverse-bg: #0B1721;
  --vn-inverse-text: #FFFFFF;
  color-scheme: light;
}

@media (min-width: 768px) { :root { --vn-margin: 32px; } }
@media (min-width: 1280px) { :root { --vn-margin: 48px; } }

/* Dark theme: set data-theme="dark" on <html>. One theme per page, never per section. */
:root[data-theme="dark"] {
  --vn-bg: #0B1721;
  --vn-bg-subtle: #0E1C27;
  --vn-surface: #111F2B;
  --vn-surface-2: #1D2B36;
  --vn-border: #2B3B47;
  --vn-border-subtle: #1D2B36;
  --vn-border-strong: #66757F;
  --vn-text: #EEF2F4;
  --vn-text-muted: #BCC8D0;
  --vn-text-subtle: #94A3AE;
  --vn-link: #5CC6CC;
  --vn-link-hover: #C5E3E5;
  --vn-accent: #D03813;
  --vn-accent-hover: #F0481F;
  --vn-accent-text: #FF6A3D;
  --vn-on-accent: #FFFFFF;
  --vn-accent-tint: #2A1A16;
  --vn-focus: #5CC6CC;
  --vn-tag-alpha: 1;
  --vn-inverse-bg: #FFFFFF;
  --vn-inverse-text: #0B1721;
  --vn-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --vn-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.45);
  --vn-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
  --vn-success: #5FD39A;
  --vn-success-bg: color-mix(in srgb, #5FD39A 14%, #111F2B);
  --vn-warning: #F5B94A;
  --vn-warning-bg: color-mix(in srgb, #F5B94A 14%, #111F2B);
  --vn-error: #FF8FB3;
  --vn-error-bg: color-mix(in srgb, #FF8FB3 14%, #111F2B);
  --vn-info: #5CC6CC;
  --vn-info-bg: color-mix(in srgb, #5CC6CC 14%, #111F2B);
  --vn-cat-technology: #9DBDF5;
  --vn-cat-technology-bg: color-mix(in srgb, #9DBDF5 14%, #1D2B36);
  --vn-cat-healthcare: #6FD3BF;
  --vn-cat-healthcare-bg: color-mix(in srgb, #6FD3BF 14%, #1D2B36);
  --vn-cat-chemicals: #C6A8F0;
  --vn-cat-chemicals-bg: color-mix(in srgb, #C6A8F0 14%, #1D2B36);
  --vn-cat-energy: #F2BE5C;
  --vn-cat-energy-bg: color-mix(in srgb, #F2BE5C 14%, #1D2B36);
  --vn-cat-automotive: #B4C3D6;
  --vn-cat-automotive-bg: color-mix(in srgb, #B4C3D6 14%, #1D2B36);
  --vn-cat-food: #CBD66A;
  --vn-cat-food-bg: color-mix(in srgb, #CBD66A 14%, #1D2B36);
  --vn-cat-consumer: #F29AC4;
  --vn-cat-consumer-bg: color-mix(in srgb, #F29AC4 14%, #1D2B36);
  --vn-cat-semiconductors: #ABABF7;
  --vn-cat-semiconductors-bg: color-mix(in srgb, #ABABF7 14%, #1D2B36);
  --vn-cat-aerospace: #84C8E4;
  --vn-cat-aerospace-bg: color-mix(in srgb, #84C8E4 14%, #1D2B36);
  --vn-cat-finance: #7FD3A4;
  --vn-cat-finance-bg: color-mix(in srgb, #7FD3A4 14%, #1D2B36);
  --vn-cat-industrial: #E0B486;
  --vn-cat-industrial-bg: color-mix(in srgb, #E0B486 14%, #1D2B36);
  --vn-cat-agriculture: #97D680;
  --vn-cat-agriculture-bg: color-mix(in srgb, #97D680 14%, #1D2B36);
  color-scheme: dark;
}

/* Optional: follow the system when the page opts in with data-theme="auto". */
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
  --vn-bg: #0B1721;
    --vn-bg-subtle: #0E1C27;
    --vn-surface: #111F2B;
    --vn-surface-2: #1D2B36;
    --vn-border: #2B3B47;
    --vn-border-subtle: #1D2B36;
    --vn-border-strong: #66757F;
    --vn-text: #EEF2F4;
    --vn-text-muted: #BCC8D0;
    --vn-text-subtle: #94A3AE;
    --vn-link: #5CC6CC;
    --vn-link-hover: #C5E3E5;
    --vn-accent: #D03813;
    --vn-accent-hover: #F0481F;
    --vn-accent-text: #FF6A3D;
    --vn-on-accent: #FFFFFF;
    --vn-accent-tint: #2A1A16;
    --vn-focus: #5CC6CC;
    --vn-tag-alpha: 1;
    --vn-inverse-bg: #FFFFFF;
    --vn-inverse-text: #0B1721;
    --vn-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --vn-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.45);
    --vn-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
    --vn-success: #5FD39A;
    --vn-success-bg: color-mix(in srgb, #5FD39A 14%, #111F2B);
    --vn-warning: #F5B94A;
    --vn-warning-bg: color-mix(in srgb, #F5B94A 14%, #111F2B);
    --vn-error: #FF8FB3;
    --vn-error-bg: color-mix(in srgb, #FF8FB3 14%, #111F2B);
    --vn-info: #5CC6CC;
    --vn-info-bg: color-mix(in srgb, #5CC6CC 14%, #111F2B);
    --vn-cat-technology: #9DBDF5;
    --vn-cat-technology-bg: color-mix(in srgb, #9DBDF5 14%, #1D2B36);
    --vn-cat-healthcare: #6FD3BF;
    --vn-cat-healthcare-bg: color-mix(in srgb, #6FD3BF 14%, #1D2B36);
    --vn-cat-chemicals: #C6A8F0;
    --vn-cat-chemicals-bg: color-mix(in srgb, #C6A8F0 14%, #1D2B36);
    --vn-cat-energy: #F2BE5C;
    --vn-cat-energy-bg: color-mix(in srgb, #F2BE5C 14%, #1D2B36);
    --vn-cat-automotive: #B4C3D6;
    --vn-cat-automotive-bg: color-mix(in srgb, #B4C3D6 14%, #1D2B36);
    --vn-cat-food: #CBD66A;
    --vn-cat-food-bg: color-mix(in srgb, #CBD66A 14%, #1D2B36);
    --vn-cat-consumer: #F29AC4;
    --vn-cat-consumer-bg: color-mix(in srgb, #F29AC4 14%, #1D2B36);
    --vn-cat-semiconductors: #ABABF7;
    --vn-cat-semiconductors-bg: color-mix(in srgb, #ABABF7 14%, #1D2B36);
    --vn-cat-aerospace: #84C8E4;
    --vn-cat-aerospace-bg: color-mix(in srgb, #84C8E4 14%, #1D2B36);
    --vn-cat-finance: #7FD3A4;
    --vn-cat-finance-bg: color-mix(in srgb, #7FD3A4 14%, #1D2B36);
    --vn-cat-industrial: #E0B486;
    --vn-cat-industrial-bg: color-mix(in srgb, #E0B486 14%, #1D2B36);
    --vn-cat-agriculture: #97D680;
    --vn-cat-agriculture-bg: color-mix(in srgb, #97D680 14%, #1D2B36);
    color-scheme: dark;
  }
}
