/* ==========================================================================
   Wylie & Washburn, LLC: design tokens
   Colours, type, rhythm and motion for the website, loaded before site.css.
   The ww-core plugin loads this file on its admin screens as well, so both
   use the same values. Change a colour here and it changes everywhere.
   ========================================================================== */

:root{
  /* Brand — sampled from the firm's mark and signage */
  --ink:            #141833;   /* wordmark navy */
  --ink-deep:       #0A0E1F;   /* section / scrim navy */
  --ink-soft:       #232848;
  --accent:         #2E97C7;   /* monogram blue */
  --accent-bright:  #4FB2DE;
  --accent-pale:    #D6ECF6;
  /* The brand blue reaches only 3.2:1 as small text on the light surfaces. Small text and
     filled buttons use this deeper shade of the same blue (5.3:1); graphics and large type
     keep the brand blue. */
  --accent-text:    #1C7099;

  --paper:          #FBFAF8;   /* warm off-white */
  --sand:           #F1ECE5;   /* limestone / brick neutral */
  --sand-deep:      #E4DCD1;
  --white:          #FFFFFF;

  --text:           #1B1F33;
  --muted:          #5C6379;
  --muted-light:    #6B7186;   /* 4.5:1 on sand (was #8A90A3, 2.7:1) */
  --line:           rgba(20,24,51,.13);
  --line-soft:      rgba(20,24,51,.07);
  --line-invert:    rgba(255,255,255,.18);

  /* Type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --maxw: 1320px;
  --maxw-narrow: 780px;
  --section-y: clamp(5rem, 11vw, 10.5rem);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --dur: .8s;

  --nav-h: 84px;

  /* Status colours (the plugin's admin screens: enquiry states, checks). Not used by the
     public pages. */
  --ok:             #00A32A;
  --ok-text:        #00450C;
  --ok-pale:        #EDFAEF;
  --warn:           #DBA617;
  --warn-text:      #6E4F00;
  --warn-pale:      #FCF9E8;
  --bad:            #D63638;
  --bad-text:       #8A2424;
  --bad-pale:       #FCF0F1;
}

@media (max-width: 860px){ :root{ --nav-h: 68px; } }
