/* Hallmark · genre: editorial · design-system: design.md (Fankaar house DNA, SAIRA gold) · designed-as-app
   The ONE token block for sairacontracting.com. Every page links this file; no page redeclares colours or faces.
   2026-09-18 redesign (Sir): Fankaar's dark warm-luxury system (design-refs/fankaar.md) carrying SAIRA's own gold.
   Contrast (WCAG, on --ground): text 17.6:1, body 7.1:1, gold 8.9:1, muted 5.4:1. Ground on gold (button text) 8.9:1.
   The pre-redesign names (--cream, --paper, --ink, --body, --sand, --taupe, --line) are kept as aliases so the
   hand-built pages (calculator, book, wardrobes, drawing-to-done) flip with the system; each old pair keeps its
   role (ground vs text), so every contrast the 15-09 audit verified still holds, inverted. */
/* Self-hosted (2026-09-18): no request reaches Google before consent. Latin subset, variable weight. */
@font-face{font-family:'Fraunces';src:url(/brand/fonts/fraunces-latin.woff2) format('woff2');font-weight:400 600;font-style:normal;font-display:swap}
@font-face{font-family:'Inter';src:url(/brand/fonts/inter-latin.woff2) format('woff2');font-weight:400 700;font-style:normal;font-display:swap}
:root{
  /* 2026-09-19 (Sir: "i dont like the black background"): Fankaar layout DNA kept, ground moved to
     SAIRA's own warm light palette. Contrast on --ground: text 12.8:1, body 6.7:1, muted 4.9:1, gold-ink 5.1:1;
     ink on gold button 6.1:1. Plain gold is 2.1:1 on light, so it is a FILL only, never text. */
  color-scheme:light;

  /* ground and surfaces: warm off-white, SAIRA cream for bands */
  --ground:#F4EFE7;      /* page */
  --ground-2:#ECE6DC;    /* alternate band (SAIRA cream) */
  --surface:#FBF8F3;     /* raised: forms, CTA block, logo cells */
  --surface-hover:#E6DED1;
  --rule:#D8CEBF;        /* hairlines and borders */

  /* text */
  --text:#2C2822;        /* SAIRA ink: headlines, primary text */
  --text-body:#5A5248;   /* running copy */
  --text-muted:#6F665B;  /* captions, labels */

  /* SAIRA gold: bright gold fills the primary button, deep gold carries gold text */
  --gold:#C9A24A;
  --gold-bright:#DDB866; /* button hover */
  --gold-ink:#7D6128;    /* figures, hover text, underlines, focus */
  --danger:#8F4631;      /* error text */

  /* aliases for pages built on the 15-09 names */
  --cream:var(--ground);
  --paper:var(--surface);
  --ink:var(--text);
  --body:var(--text-body);
  --sand:var(--rule);
  --sand-tint:rgba(201,162,74,.10);
  --line:var(--rule);
  --taupe:var(--text-muted);

  /* type: Fraunces display (modern crafted serif, warmer + sturdier than the old Bodoni Moda; Sir 2026-10-04) + Fankaar's Inter */
  --font-display:'Fraunces','Playfair Display',Georgia,serif;
  --font-body:'Inter',-apple-system,'Helvetica Neue',Arial,sans-serif;

  --radius:0px;          /* Fankaar: square, no pills */
  --focus:2px solid var(--gold-ink);

  --ease-out:cubic-bezier(.16,1,.3,1);
  --dur:180ms;
}
