/* NOVARIC® Brand Guidelines v4.2: canonical design tokens
   Source: brief §13–14 (4 Dec 2026). sRGB IEC61966-2.1.
   Navigate tokens are deliberately NOT in this file: see novaric-tokens-provisional-v4.2.css. */
:root {
    /* ── Official brand colours (logo + identity) ─────────────────────────── */
    --novaric-cyan: #009AE4;              --novaric-cyan-rgb: 0, 154, 228;
    --novaric-white: #FFFFFF;             --novaric-white-rgb: 255, 255, 255;
    --novaric-light-grey: #F4F6F8;        --novaric-light-grey-rgb: 244, 246, 248;
    --novaric-navy: #2F384B;              --novaric-navy-rgb: 47, 56, 75;
    --novaric-corporate: var(--novaric-navy);
    --novaric-recruitment: #861A1B;       --novaric-recruitment-rgb: 134, 26, 27;
    --novaric-academy: #006B50;           --novaric-academy-rgb: 0, 107, 80;
    --novaric-media: #E4191E;             --novaric-media-rgb: 228, 25, 30;
    --novaric-red: var(--novaric-media);  --novaric-red-rgb: var(--novaric-media-rgb);
    --novaric-real-estate: #180C14;       --novaric-real-estate-rgb: 24, 12, 20;

    /* ── Independently governed product identity: NVRCX ───────────────────── */
    --nvrcx-navy: #2F384B;                --nvrcx-navy-rgb: 47, 56, 75;   /* decision 4 Dec 2026 */
    --nvrcx-logo-border: var(--novaric-cyan);   /* #009AE4; was #4CBFEF in v5 (decision 4 Dec 2026) */

    /* ── Universal hexagonal logo architecture ────────────────────────────── */
    --novaric-logo-border: var(--novaric-cyan);
    --novaric-logo-wordmark: var(--novaric-white);
    --novaric-logo-registered-mark: #010202;          /* original artwork colour: light backgrounds */
    --novaric-logo-registered-mark-on-dark: #FFFFFF;  /* approved colour-only dark-background variant (4 Dec 2026) */

    /* ── Neutral interface colours (not logo colours) ─────────────────────── */
    --novaric-text: #1E2732;
    --novaric-text-secondary: #4D5A6B;
    --novaric-border-subtle: #D9DFE7;
    --novaric-surface: var(--novaric-white);
    --novaric-surface-alt: var(--novaric-light-grey);

    /* ── Functional colours (not official brand colours) ──────────────────── */
    --novaric-success: #1F7A4D;   --novaric-success-bg: #EDF7F0;
    --novaric-warning: #8A5A00;   --novaric-warning-bg: #FFF6E0;
    --novaric-error: #B3261E;     --novaric-error-bg: #FEF2F2;

    /* ── Interaction derivatives (functional; never used in logo artwork) ─── */
    /* Functional accessible-text derivative of Digital Cyan (approved 4 Dec 2026). NOT a brand colour. 5.28:1 on white, 4.87:1 on Light Grey. */
    --novaric-link: #0072A9;
    --novaric-link-hover: #005A86;
    --novaric-focus-ring: #0072A9;
    --novaric-focus-ring-on-dark: #66C8F2;
    --novaric-disabled-text: #8D9DAD;  /* decorative/disabled only, never essential text */
    --novaric-disabled-bg: #E8EDF2;

    /* ── Typography ───────────────────────────────────────────────────────── */
    --novaric-font-family: "Helvetica Neue", Arial, sans-serif;
    --novaric-fs-h1: 32px; --novaric-fs-h2: 22px; --novaric-fs-h3: 17px;
    --novaric-fs-body: 15px; --novaric-fs-caption: 12px; --novaric-fs-label: 10px; /* labels never carry legal text */

    /* ── Spacing (8px grid) and layout ────────────────────────────────────── */
    --space-xs: 8px; --space-sm: 16px; --space-md: 24px; --space-lg: 32px; --space-xl: 48px; --space-2xl: 72px;
    --content-max-width: 1280px;
    --content-gutter: 24px;
}

/* ── Semantic identity scopes ───────────────────────────────────────────── */
[data-brand="corporate"]   { --brand-primary: var(--novaric-corporate);   --brand-primary-rgb: var(--novaric-navy-rgb);        --brand-accent: var(--novaric-cyan); }
[data-brand="recruitment"] { --brand-primary: var(--novaric-recruitment); --brand-primary-rgb: var(--novaric-recruitment-rgb); --brand-accent: var(--novaric-cyan); }
[data-brand="academy"]     { --brand-primary: var(--novaric-academy);     --brand-primary-rgb: var(--novaric-academy-rgb);     --brand-accent: var(--novaric-cyan); }
[data-brand="real-estate"] { --brand-primary: var(--novaric-real-estate); --brand-primary-rgb: var(--novaric-real-estate-rgb); --brand-accent: var(--novaric-cyan); }
[data-brand="nvrcx"]       { --brand-primary: var(--nvrcx-navy);          --brand-primary-rgb: var(--nvrcx-navy-rgb);          --brand-accent: var(--novaric-cyan); }

/* ── Media House / AI Journal (brief §14) ──────────────────────────────── */
[data-brand="media"] {
    --brand-primary: var(--novaric-media);
    --brand-primary-rgb: var(--novaric-media-rgb);
    --brand-accent: var(--novaric-cyan);
    --header-background: var(--brand-primary);
    --footer-background: var(--brand-primary);
    --slogan-background: var(--brand-primary);
    --location-pin-colour: var(--brand-primary);
    --source-chip-background: var(--brand-primary);
    --primary-cta-background: var(--brand-primary);
    --on-brand-primary: var(--novaric-white);            /* 4.71:1, AA for normal text */
    /* Functional derivatives: interaction states only, never logo artwork */
    --primary-cta-background-hover: #C3151A;              /* 6.10:1 with white */
    --primary-cta-background-active: #A31216;             /* 7.91:1 with white */
    --focus-ring: var(--novaric-navy);                     /* drawn with offset against page background (11.74:1 on white) */
}
