/*
 * AVT brand palette: the one place the website's colours are set.
 *
 * Every page template refers to these names (color: var(--navy) and so on), so
 * changing a value here changes it across the site. After editing, clear the
 * LiteSpeed cache. The file is loaded by mu-plugins/avt-palette.php.
 *
 * Not covered (they need real colour codes, so they were updated directly):
 * emails, PDFs and standalone report pages in functions.php and the mu-plugins,
 * chart/canvas colours inside <script> blocks, and SVG fill/stroke attributes.
 */
:root {
  /* Navy: deep teal-navy backgrounds, darkest to lightest */
  --navy-deep: #081A22;
  --navy: #102C3B;
  --navy-ink: #1C3440;
  --navy-2: #143545;
  --navy-3: #183A4A;
  --navy-light: #214353;

  /* Orange accent */
  --orange: #F47734;
  --orange-deep: #E5652B;   /* the redder orange a few pages use as their main orange */
  --orange-light: #F88A4F;
  --orange-soft: #F9A27A;
  --orange-text: #B34A12;   /* orange text on white (readable) */

  /* On dark backgrounds */
  --headline: #F4F0E8;      /* warm cream hero headlines */
  --subtitle: #AFC3CC;      /* grey-blue subtitles */
  --divider: #41606D;
  --arc: #214353;           /* background arcs */

  /* Text on light backgrounds */
  --slate-800: #384B54;
  --slate-700: #3A505B;
  --text-mid: #3D5761;
  --slate-600: #435A64;
  --slate-500: #566B74;
  --text-muted: #6B7E8E;
  --slate-400: #788D96;
  --slate-300: #7A919A;

  /* Lines and pale panels */
  --line-strong: #D5E1E4;
  --border: #DBE5E8;
  --line: #E2EAEC;
  --panel: #EDF2F3;
  --panel-light: #F5F9F9;
  --panel-lightest: #F9FBFB;
  --off-white: #F7F6F2;
  --ivory: #F8F4ED;

  /* Other */
  --green: #1A7F5A;

  /* Same colours as R,G,B for see-through shades: rgba(var(--navy-rgb), .5).
     Keep these matching the hex values above. */
  --navy-deep-rgb: 8, 26, 34;
  --navy-rgb: 16, 44, 59;
  --orange-rgb: 244, 119, 52;
  --orange-deep-rgb: 229, 101, 43;
  --orange-soft-rgb: 249, 162, 122;
}

/* Hero headlines and subtitles on the dark banners */
.hero h1, [class*="-hero"] h1, [class^="hero"] h1 { color: var(--headline) !important; }
.hero p, [class*="-hero"] p { color: var(--subtitle); }
