/* ==========================================================================
   Brand layer: Embroidered Occasions
   Colours from the October 2026 design (cream, cocoa, rose), tuned so every
   pair passes WCAG 2.2 AA. Check with: node tools/check-contrast.mjs css/brand.css
   ========================================================================== */
:root {
  /* Light grounds */
  --bg: #FDF6F0;            /* cream */
  --bg-alt: #F6E6E1;        /* blush */
  --surface: #FFFFFF;
  --heading: #3D2B2B;       /* cocoa */
  --text: #5A4441;
  --text-muted: #765553;
  --line: #EAD5D0;          /* decorative only */
  --line-strong: #A27774;   /* control borders, 3:1 or more */
  --line-strong-alt: #94696A;

  /* Accent: dusty rose as a fill, and as words */
  --accent: #8C5756;
  --accent-text: #864F4E;
  --on-accent: #FFFFFF;
  --accent-wash: #FBEEEA;

  --focus: #3D2B2B;

  /* Depth: light on the top edge, a darker lip below, a soft glow under accent fills */
  --edge-hi: rgb(255 255 255 / 0.35);
  --edge-lo: rgb(0 0 0 / 0.2);
  --accent-glow: rgb(140 87 86 / 0.6);

  /* Dark bands (cocoa) */
  --dark-bg: #3D2B2B;
  --dark-bg-deep: #2C1F1F;
  --dark-heading: #FFF8F4;
  --dark-text: #F3E4E0;
  --dark-muted: #D9C0BC;
  --dark-accent-text: #F4BDB5;
  --dark-line: #5E4644;
  --dark-line-strong: #A88684;
  --dark-focus: #FFFFFF;

  /* The rose band */
  --rose-bg: #8C5756;
  --rose-heading: #FFFFFF;
  --rose-text: #FFF4F1;
  --rose-muted: #FBE3DF;

  /* Status */
  --success: #2F6B45;  --success-wash: #EEF6F0;
  --info:    #864F4E;  --info-wash:    #FBEEEA;
  --warning: #8A5312;  --warning-wash: #FCF3E6;
  --danger:  #A8322B;  --danger-wash:  #FDF0EE;

  /* Type: sans-serif, plus one serif for the hero headline */
  --font-heading: Jost, "Avenir Next", Avenir, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif; /* audit-ok: the hero headline only, Shahad's call (26 Nov) */
  --font-body: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Corners: soft, like fabric */
  --radius-card: 20px;
  --radius-button: 999px;
  --radius-media: 20px;

  /* Links: no underline at rest, semibold in sentences */
  --link-decoration: none;
  --link-inline-weight: 600;

  --shadow-rgb: 61 43 43;
}

/* Decoration: the wooden hoop and fabric in the hero (never carries text) */
:root {
  --hoop-wood: #C49A74;
  --hoop-wood-dark: #A97C57;
  --fabric: #FFFDFB;
  --weave: #F1E3DE;
  /* Thread and needle under "occasion" */
  --thread-hi: #B88280;
  --thread-mid: #8C5756;
  --transfer-blue: #2F6A9E;   /* the washable marker an embroiderer traces a design with; 5.3:1 on cream, 4.2:1 on the darkest linen */
  --thread-lo: #5E3534;
  --thread-hole: #BC9590;
  --thread-light-hi: #FFFFFF;
  --thread-light-mid: #F6E3DE;
  --thread-light-lo: #D2ABA5;
  --steel-hi: #F3F6F8;
  --steel-mid: #9AA5AF;
  --steel-lo: #48525C;
}
