/* ==========================================================================
   Shared token contract. Every template defines these same custom properties
   so a real build only ever edits this block, never the rules below it.

   Swap procedure for a client build:
     1. Sample the palette from their logo (ImageMagick), fill --c-* .
     2. Pick ONE display face not already in the playbook registry, set --f-display.
     3. Leave everything else alone unless the concept demands it.
   ========================================================================== */

:root {
  /* --- colour -------------------------------------------------------------
     Sanriq Tours. Sampled from the logo: plum #994E61, ember #DE6934.
     Concept: "a line on the horizon". Plum is the ink, ember is the one
     accent, the surface is warm paper. */
  --c-ink:        #2b1a1f;   /* primary text */
  --c-ink-soft:   #74384a;   /* plum, two steps darker than the logo for 7:1+ on paper */   /* secondary text */
  --c-stock:      #fbf7f3;   /* page background */
  --c-stock-warm: #f3e9e3;   /* alternate band background */
  --c-rule:       #bfa89f;   /* hairlines and borders */
  --c-accent:     #de6934;   /* THE one accent. Used sparingly. */
  --c-accent-ink: #ffffff;   /* text on accent */
  --c-ember-text: #ad481b;   /* ember for TEXT on pale surfaces (4.7:1+). --c-accent stays for rules, focus, deep band */
  --c-deep:       #24151a;   /* dark band background */

  /* --- type ---------------------------------------------------------------
     --f-display is the swap point. --f-body can repeat across sites. */
  --f-display: 'Bodoni Moda', 'Bodoni 72', Didot, Georgia, serif;
  --f-body:    Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono:    Inter, system-ui, sans-serif;   /* labels echo the wide-tracked SANRIQ wordmark */

  /* Fluid scale. clamp() keeps the ratio honest without breakpoint soup. */
  --t-xs:   clamp(0.8125rem, 0.78rem + 0.2vw, 0.9rem);
  --t-sm:   clamp(0.875rem, 0.85rem + 0.2vw, 0.95rem);
  --t-base: clamp(1rem, 0.96rem + 0.25vw, 1.12rem);
  --t-lg:   clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --t-xl:   clamp(1.6rem, 1.35rem + 1.2vw, 2.25rem);
  --t-2xl:  clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem);
  --t-3xl:  clamp(2.8rem, 1.9rem + 4.2vw, 5.5rem);

  --lh-tight: 1.1;
  --lh-head:  1.14;
  --lh-body:  1.62;

  /* --- space --------------------------------------------------------------- */
  --s-1: 0.35rem;  --s-2: 0.7rem;   --s-3: 1.1rem;   --s-4: 1.7rem;
  --s-5: 2.6rem;   --s-6: 4rem;     --s-7: 6rem;     --s-8: 9rem;

  /* --- measure ------------------------------------------------------------- */
  --w-page:  1280px;   /* outer max width */
  --w-text:  66ch;     /* reading measure, never exceed for body copy */
  --pad-x:   clamp(1.15rem, 5vw, 4.5rem);
}
