/* =============================================================
   Pocargil Group — Design tokens
   Mirrors BRIEF.md §9 (typography), §10 (colour), §11 (spacing).
   No hard-coded values may appear in main.css; everything routes
   through these custom properties.
   ============================================================= */

:root {
  /* --- Colour: base ----------------------------------------- */
  --color-bg:            #FFFFFF;
  --color-text:          #0D0D0D;   /* near-black — pure #000 forbidden */
  --color-accent:        #C9A878;   /* honey beige — warmer than original spec */
  --color-accent-light:  #F0EBE3;   /* pale beige — backgrounds */
  --color-muted:         #888888;   /* labels, captions */

  /* --- Colour: dark sections (contact only) ----------------- */
  --color-bg-dark:       #0D0D0D;
  --color-text-dark:     #FFFFFF;
  --color-accent-dark:   #C9A878;

  /* --- Colour: interactive map (Component C) ---------------- */
  --map-region-inactive: #EFE4D2;
  --map-region-hover:    #DCC4A0;
  --map-region-active:   #C9A878;

  /* --- Spacing: 8px scale ----------------------------------- */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  32px;
  --space-lg:  64px;
  --space-xl:  128px;
  --space-2xl: 192px;

  /* --- Typography: families --------------------------------- */
  /* Adobe Hebrew loads later via Adobe Fonts kit (BRIEF.md §16).
     Until then the Palatino fallback (BRIEF.md §9) is the live face. */
  --font-display: "adobe-hebrew", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* --- Typography: fluid scale (derived; not in brief) ------ */
  --type-display: clamp(2.75rem, 4.5vw + 1rem, 5.5rem);
  --type-h1:      clamp(2.25rem, 3vw + 1rem, 4rem);
  --type-h2:      clamp(1.75rem, 2vw + 1rem, 2.75rem);
  --type-h3:      clamp(1.25rem, 1vw + 1rem, 1.75rem);
  --type-body:    1rem;
  --type-small:   0.875rem;
  --type-label:   0.75rem;

  --leading-tight:   1.1;
  --leading-snug:    1.25;
  --leading-normal:  1.55;

  --tracking-tight:  -0.01em;
  --tracking-normal: 0;
  --tracking-wide:   0.08em;
  --tracking-wider:  0.16em;

  /* --- Motion ----------------------------------------------- */
  --transition-default: 200ms ease;

  /* --- Layout ----------------------------------------------- */
  --container-max: 1280px;
  --content-max:   65ch;

  /* --- Photography ------------------------------------------ */
  /* Revised from BRIEF.md §13 (sepia 0.15 / sat 0.25 / bright 0.97).
     Original spec was tuned for textile close-ups; on the broader
     photo set it read as archival / lifeless. New filter keeps a
     light editorial hand without draining the colour. */
  --photo-filter: saturate(0.9) contrast(1.02);
}
