/* *********************************************** */
/* ** NRS website colors ************************* */
/* *********************************************** */
/*
   The colors, font and logo of the public website, so the member
   area looks like the same site. Values are copied from the WordPress
   theme (wp-content/themes/nrs/theme.json). When the website's colors
   change, change them here too. The website itself loads nothing
   from this file.

   Loaded by the new member view only (see inc-theme-switch.php).
   It also re-points the older --nrs-* variables used by
   nrs-theme-2026.css, so existing page content picks up these colors.

   The website has no dark mode, so neither does this, for now.
*/

@font-face { font-family: 'Satoshi'; font-weight: 400; font-style: normal; font-display: swap; src: url('graphics/fonts/satoshi/Satoshi-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-weight: 500; font-style: normal; font-display: swap; src: url('graphics/fonts/satoshi/Satoshi-Medium.woff2')  format('woff2'); }
@font-face { font-family: 'Satoshi'; font-weight: 700; font-style: normal; font-display: swap; src: url('graphics/fonts/satoshi/Satoshi-Bold.woff2')    format('woff2'); }
@font-face { font-family: 'Satoshi'; font-weight: 900; font-style: normal; font-display: swap; src: url('graphics/fonts/satoshi/Satoshi-Black.woff2')   format('woff2'); }

:root {
    /* website palette */
    --site-ink:         #121418;
    --site-ink-2:       #1d2128;
    --site-red:         #cf2029;
    --site-red-dark:    #a8141c;
    --site-blue:        #2d4597;
    --site-blue-soft:   #e3e6f2;
    --site-bg:          #e5e4df;
    --site-surface:     #f4f4ef;
    --site-surface-2:   #ecebe5;
    --site-border:      #c9c6bd;
    --site-border-soft: #d8d6cf;
    --site-text:        #121418;
    --site-muted:       #51565f;
    --site-on-accent:   #ffffff;

    /* status */
    --site-ok:          #18713f;  --site-ok-soft:   #dcebdd;
    --site-warn:        #8a5800;  --site-warn-soft: #f5e7c4;
    --site-bad:         #a8141c;  --site-bad-soft:  #f6dcdb;
    --site-idle:        #51565f;  --site-idle-soft: #d8d6cf;

    --site-font:        'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --site-radius:      6px;
    --site-shadow:      0 1px 2px rgba(18,20,24,.06), 0 10px 24px -14px rgba(18,20,24,.35);

    /* older variables used by nrs-theme-2026.css */
    --nrs-navy:         var(--site-ink);
    --nrs-navy-2:       var(--site-ink-2);
    --nrs-gold:         var(--site-red);
    --nrs-gold-soft:    var(--site-warn-soft);
    --nrs-blue:         var(--site-blue);
    --nrs-blue-dark:    #22367a;
    --nrs-blue-soft:    var(--site-blue-soft);
    --nrs-green:        var(--site-ok);
    --nrs-green-dark:   #125a31;
    --nrs-red:          var(--site-red);
    --nrs-red-dark:     var(--site-red-dark);
    --nrs-bg:           var(--site-bg);
    --nrs-surface:      var(--site-surface);
    --nrs-border:       var(--site-border);
    --nrs-border-soft:  var(--site-border-soft);
    --nrs-text:         var(--site-text);
    --nrs-text-muted:   var(--site-muted);
    --nrs-radius:       var(--site-radius);
    --nrs-radius-sm:    var(--site-radius);
    --nrs-shadow:       var(--site-shadow);
    --nrs-focus:        0 0 0 3px rgba(45,69,151,.3);
    --nrs-font:         var(--site-font);
}

/* No dark mode yet. Older page content (Bootstrap 3 tables, forms and
   panels) has light colors built in, so a dark shell around it would
   look broken. Add dark values here once those pages are redesigned. */
