/* Unifor national identity palette (Identity Guidelines 2023, digital screen colours). Never adjust these values.
   Names follow the guidelines. Quantity rule: no secondary outweighs a primary; no tertiary outweighs a secondary. */
:root{
/* Primary — carry the brand; nothing may outweigh them */
--unifor-red:#C31A1A;
--unifor-blue:#005EB8;
/* Secondary — accents and supporting colour */
--deep-amber:#EAAA00;
--earth-green:#A8AD00;
--midnight-blue:#002855;
--raspberry-fuchsia:#991E66;
/* Tertiary — supporting colour */
--warm-charcoal:#796E65;
--light-charcoal:#CBC4BC;
/* Neutrals — system-defined; the guidelines name only "black" and "white" */
--ink-black:#1A1A1A;
--paper-white:#FFFFFF;

/* Derived colours — a closed set. Each is a palette colour mixed with white (tints) or ~8% toward black
   (hover/active shades), stored as a fixed hex; never opacity. Add one only through DESIGN.md. */
--light-charcoal-25:#F2F0EE;   /* Light Charcoal at 25% on white */
--midnight-blue-75:#405E80;    /* white at 25% over Midnight Blue; dividers on Midnight grounds only */
--unifor-red-8:#FAEDED;        /* Unifor Red at 8% on white; the error Notice panel only */
--unifor-red-hover:#B31818;
--unifor-red-active:#A21616;
--unifor-blue-hover:#0056A9;
--unifor-blue-active:#004E9A;
--deep-amber-hover:#D79C00;

/* Former names, kept so older markup keeps working. Use the guideline names above. */
--navy:var(--midnight-blue);
--raspberry:var(--raspberry-fuchsia);
--stone-grey:var(--light-charcoal);

/* Semantic aliases — colour semantics: blue = act, amber = join, red = alarm/brand.
   Components use these, not the primitives, wherever a role exists. */
--text-body:var(--ink-black);
--text-heading:var(--ink-black);
--text-muted:var(--warm-charcoal);
--text-on-color:var(--paper-white);
--text-link:var(--unifor-blue);
--text-urgent:var(--unifor-red);

--surface-page:var(--paper-white);
--surface-card:var(--paper-white);
--surface-form:var(--paper-white);        /* client decision: forms always on white */
--surface-hover:var(--light-charcoal-25); /* hover fill on white and inverse controls */
--surface-notice:var(--light-charcoal-25); /* Notice panel (info, success): tinted and frameless, never a card */
--surface-notice-error:var(--unifor-red-8); /* error Notice panel: a form error must be impossible to miss */
--surface-hero:var(--unifor-red);         /* the site's one red field: the homepage Hero */
--surface-panel:var(--midnight-blue);     /* the Stay Connected panel */
--surface-join:var(--deep-amber);         /* the success Notice: amber = join, so a sent form answers the Stay Connected button */
--surface-feature:var(--unifor-blue);     /* the featured Page Title band: the Stay Connected page only */
--surface-band:var(--midnight-blue);      /* ground behind a washed photo band */
--surface-footer:var(--midnight-blue);
--surface-deep:var(--midnight-blue);
--surface-brand:var(--unifor-red);

--border-hairline:var(--light-charcoal);
--border-on-dark:var(--midnight-blue-75);
--border-interactive:var(--unifor-blue);
--border-urgent:var(--unifor-red);

--action-primary:var(--unifor-blue);
--action-primary-hover:var(--unifor-blue-hover);
--action-secondary:var(--unifor-blue);
--action-secondary-hover:var(--unifor-blue-hover);
--action-join:var(--deep-amber);
--action-join-hover:var(--deep-amber-hover);

--focus-ring-color:var(--unifor-blue);
--signal-urgent:var(--unifor-red);
}
