/* Albracht Harwood Insurance Agency: design tokens. Custom properties only.
   Every brand value is sampled from the agency's own logo (photo-facts.md). */
:root {
  /* Brand, sampled */
  --ah-maroon: #7d1315;        /* logo upper half; median of the maroon field in source-photos/wix-logo.jpg */
  --ah-charcoal: #231f20;      /* logo lower half; source-photos/logo-ahainsured.png (wix-logo.jpg renders it #000000) */
  --ah-white: #ffffff;         /* logo horse head and H */

  /* Derived from the two logo colours (mixes, not new hues) */
  --ah-maroon-deep: #5c0e10;   /* maroon toward charcoal: pressed state; 13.8:1 with white */
  --ah-maroon-lift: #a3262a;   /* maroon toward white: primary button on dark grounds; 7.3:1 with white */
  --ah-maroon-glow: #e58f91;   /* maroon toward white: links on dark grounds; 7.6:1 on night */
  --ah-stone-50: #f4f3f3;      /* charcoal 4% into white: quiet page (look B) */
  --ah-stone-100: #ebe9e9;     /* charcoal 9%: segmented track, hover fill */
  --ah-stone-200: #dcd9d9;     /* charcoal 15%: rules and input borders */
  --ah-stone-500: #67605f;     /* charcoal 70%: secondary text; 6.2:1 on white, 5.6:1 on stone-50 */
  --ah-night: #161314;         /* charcoal toward black: dark page */
  --ah-night-2: #231f20;       /* the logo charcoal itself: dark surfaces */
  --ah-night-3: #2f2a2b;       /* raised dark surface */
  --ah-mist: #b9b1b2;          /* secondary text on night; 8.8:1 */
  --ah-mist-rule: #3d3738;     /* rules on night */

  /* Type: one serif or slab plus one sans per look, self-hosted (site/fonts/) */
  --font-a-display: "Source Serif 4", Georgia, serif;
  --font-a-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --font-b-display: "Bitter", Georgia, serif;
  --font-b-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --font-c-display: "Spectral", Georgia, serif;
  --font-c-body: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;

  /* Type scale, ratio about 1.25 from a 17px body */
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  --step-3: clamp(2.2rem, 1.4rem + 3.2vw, 3.9rem);
  --measure: 64ch;

  /* Space, on a 4px base */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 7rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 75rem;

  /* Shape: the brand's square cut, 4px at most (ai-tells rule 3) */
  --radius: 4px;
  --radius-sm: 2px;
  --tap: 44px;

  /* Motion. Curves from the animate skill; springs as CSS linear() for A */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  /* Critically damped spring (damping 1.0, response 0.35 s), sampled to linear(); settles in 0.5 s */
  --spring-ui: linear(0, 0.054 2%, 0.18 4.4%, 0.37 7.5%, 0.55 11%, 0.7 14.8%, 0.81 18.8%, 0.89 23.5%, 0.94 28.6%, 0.97 34.5%, 0.987 41%, 0.995 50%, 0.999 62%, 1);
  --spring-ui-dur: 500ms;
  /* Critically damped spring, response 0.6 s, for the hero entrance; settles in 0.86 s */
  --spring-soft: linear(0, 0.054 2%, 0.18 4.4%, 0.37 7.5%, 0.55 11%, 0.7 14.8%, 0.81 18.8%, 0.89 23.5%, 0.94 28.6%, 0.97 34.5%, 0.987 41%, 0.995 50%, 0.999 62%, 1);
  --spring-soft-dur: 860ms;
  --press: 120ms;
}
