/*
 * global/colors.css — the JUGL colour token base.
 *
 * Registered as `colors_custom` in the child index.php (loads BEFORE jugl-chrome.css,
 * so the chrome and the section bands can consume these vars). Two jobs, no third source
 * of truth:
 *
 *  1. PARAM BRIDGE — surface the template-style params Cassiopeia does NOT expose as CSS
 *     vars in this child (headerbg / headercolor / footerbg / footercolor). Values MIRROR
 *     deploy/jugl-config.json — keep the two in sync; that file stays the source of truth.
 *     (Cassiopeia already exposes linkcolor/btnbg as --link-color/--btnbg, so those need no
 *     bridging — we alias them below instead.)
 *
 *  2. BRAND ALIASES — readable, semantic names for the bands and chrome to consume, that
 *     POINT AT the params rather than duplicating their values.
 *
 * topbarbg / topbarcolor / menucolor consume the brand tokens directly for now (topbar and
 * menu are just brand navy / white); they're tagged `@param-candidate` in jugl-chrome.css —
 * promote to their own params here only if a per-site retint is ever wanted (FLIGHT, cut #1).
 */

:root {
    /* Brand primitives — aliased to the params so there's one source of truth (the DB param),
       with a literal fallback for first paint / if the param var is ever absent. */
    --jugl-orange:      var(--link-color, #EE5926);   /* param: linkcolor            */
    --jugl-orange-deep: #C7481E;                      /* param: linkcolorh (hover)   */
    --jugl-navy:        #2D304E;                      /* param: footerbg / headercolor */
    --jugl-white:       #FFFFFF;
    --jugl-green:       #448B0F;                      /* $green--darker — meeting-location band + event-box title */
    --jugl-green-pale:  #DBEED0;                      /* pale-green event-box body (live .detailsWrap)          */
    --jugl-section-dark:#0F1E2E;                      /* dark "why attend" section (FLIGHT eyedrop)              */
    --jugl-cta:         #F0B055;                      /* amber CTA button — why-attend (FLIGHT eyedrop)          */
    --jugl-yellow:      #FEC34D;                      /* $yellow--joomla — launch-a-full-version band */

    /* Param bridge — the style params Cassiopeia leaves inert in this child, surfaced here so
       jugl-chrome.css and the bands can consume var(--…) instead of hardcoding.
       Mirror of deploy/jugl-config.json -> style_params. */
    --headerbg:    var(--jugl-white);   /* jugl-config.json: headerbg    #FFFFFF */
    --headercolor: var(--jugl-navy);    /* jugl-config.json: headercolor #2D304E */
    --footerbg:    var(--jugl-navy);    /* jugl-config.json: footerbg    #2D304E */
    --footercolor: var(--jugl-white);   /* jugl-config.json: footercolor #FFFFFF */
}
