/* ==========================================================================
   CatyKat — THEME TOKENS
   --------------------------------------------------------------------------
   This is the only file you need to touch to re-colour the whole site.

   The neutral base (ivory / cream / charcoal / grey) stays fixed.
   The five ACCENTS are temporary placeholders. Once the real paintings are
   scanned, sample the colours from them (see tools/extract_palette.py) and
   replace --accent-* below. Everything else — placeholder plates, the Art
   section ground, links, labels — is derived from these tokens.
   ========================================================================== */

:root {
  /* --- Neutral base ------------------------------------------------------ */
  --ivory:        #F7F4EE;   /* page background */
  --cream:        #EFEADF;   /* secondary surfaces, image grounds */
  --paper:        #FBF9F5;   /* lightest — cards, forms */
  --ink:          #232220;   /* soft charcoal / almost black */
  --ink-soft:     #4A4845;
  --grey:         #8C8882;   /* muted grey — metadata */
  --line:         #D9D3C8;   /* hairlines */
  --plate:        #E8E2D6;   /* base of image placeholders */

  /* --- Accents (PLACEHOLDERS — replace with colours from the paintings) -- */
  --accent-1:     #7C8B6F;   /* muted green      */
  --accent-2:     #8A9CAB;   /* dusty blue       */
  --accent-3:     #D4B5AE;   /* faded pink       */
  --accent-4:     #B89A5E;   /* muted ochre      */
  --accent-5:     #B7785F;   /* soft terracotta  */

  /* --- Semantic roles (map roles → accents, not raw hex) ------------------ */
  --bg:           var(--ivory);
  --fg:           var(--ink);
  --muted:        var(--grey);
  --link-hover:   var(--accent-5);
  --art-ground:   color-mix(in srgb, var(--accent-2) 13%, #FAF8F3); /* dreamlike Art section */
  --charity-ground: color-mix(in srgb, var(--accent-3) 16%, var(--ivory));
  --lilac:        #B7A3D6;   /* soft lilac, from the painted flowers */
  --lilac-ground: color-mix(in srgb, var(--lilac) 16%, #FAF8F5);   /* very pale lilac band — used on a few blocks only */
  --status-available: var(--accent-1);
  --status-reserved:  var(--accent-4);
  --status-sold:      var(--grey);
  --status-donated:   var(--accent-5);

  /* --- Typography --------------------------------------------------------- */
  --serif: "Instrument Serif", "CK Cyrillic Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans:  "Instrument Sans", "CK Cyrillic Sans", "Helvetica Neue", Arial, sans-serif;

  --fs-mega:   clamp(4.5rem, 17vw, 17rem);   /* CatyKat wordmark */
  --fs-display:clamp(3rem, 8vw, 7.5rem);
  --fs-h1:     clamp(2.6rem, 5.6vw, 5.2rem);
  --fs-h2:     clamp(2rem, 3.8vw, 3.4rem);
  --fs-h3:     clamp(1.5rem, 2.2vw, 2rem);
  --fs-lead:   clamp(1.45rem, 2.4vw, 2.2rem);
  --fs-body:   1rem;
  --fs-small:  0.8125rem;
  --fs-micro:  0.6875rem;

  /* --- Space & grid ------------------------------------------------------- */
  --gutter:    clamp(16px, 3.2vw, 48px);
  --col-gap:   clamp(12px, 1.6vw, 24px);
  --section:   clamp(96px, 14vw, 200px);   /* vertical rhythm between sections */
  --max:       1600px;

  /* --- Motion ------------------------------------------------------------- */
  --ease:      cubic-bezier(.2,.7,.1,1);
  --slow:      1100ms;
}
