/* ==========================================================
   BRAND LOOK — colours and fonts (Part 16: the G-ZEN identity).
   Taken from the logo and the first G-ZEN build: paper and ink,
   oxblood, walnut, the logo gold, a high-contrast serif.
   To change fonts: swap the Google Fonts link in every .html
   head and the font names below.
   ========================================================== */
:root{
  /* grounds */
  --bg:#15120f;                       /* ink: dark sections, header, footer */
  --bg-deep:#15120f;
  --bg-alt:#1c1814;                   /* raised dark: logo tab, photo placeholders */
  --paper:#fbf8f3;                    /* light sections (catalogue pages) */
  --stone:#f3ede3;                    /* second light ground */
  --sand:#e4d8c5;                     /* third light ground, placeholders */
  --oxblood:#3a0f13;                  /* signature band (quote, closing block) */
  --walnut:#2a1d16;                   /* newsletter band */

  --panel:transparent;
  --eyebrow-bg:transparent;
  --dropdown-bg:rgba(15,13,11,.94);
  --share:transparent;
  --loader-bg:var(--bg);

  --font-main:"Jost","Helvetica Neue",Arial,sans-serif;              /* text, menu, small labels */
  --font-menu:"Jost","Helvetica Neue",Arial,sans-serif;
  /* Part 30: the owner chose Playfair Display in the font switch. (The token is called --font-serif: "the title font".) */
  --font-serif:"Playfair Display",Georgia,"Times New Roman",serif;   /* titles and names */
  --font-italic:"Playfair Display",Georgia,"Times New Roman",serif;  /* italic taglines and quotes */
  --serif-w:400;                                                     /* weight of the titles */
}

/* ---- colour scopes ----
   Every text and hairline colour in the site follows these tokens, so a section is switched
   from dark to paper by adding its class to one of the two lists below. */

/* on ink or on a photo (the default) */
:root,
.pimg,.pcard,.sr-img,.drecent .row,.cx-scene,.sm-photo{
  --fg:243,237,227;                   /* text colour as R,G,B (cream) */
  --fgc:#f3ede3;
  --bgd:#0f0d0b;                      /* the opposite: text on a light button */
  --gold:#be9648;                     /* logo gold */
  --ink:#f3ede3;
  --body:rgba(243,237,227,.76);
  --muted:rgba(243,237,227,.5);
  --sub:rgba(243,237,227,.62);
  --accent:var(--gold);
  --accent-bright:var(--gold);
  --loader-accent:var(--gold);
}

/* on paper */
.story,.pj,.ptabs,.gz-bar,.pgrid,.pcards,.pgallery,.gz-quote,.dgrid,.dinfo,.dshare,.dnav,.drecent,.sr,.vf,.sr-map,.history,.content,.cx,.cx-part,.sm,.fam,.cidx,.pjp,.px,.fig,.sty{
  --fg:21,18,15;                      /* ink */
  --fgc:#15120f;
  --bgd:#fbf8f3;
  --gold:#8a6727;                     /* deeper brass, readable on paper */
  --ink:#15120f;
  --body:rgba(21,18,15,.8);
  --muted:rgba(21,18,15,.55);
  --sub:rgba(21,18,15,.62);
  color:var(--body);
}

/* text set straight on a photo inside a paper section stays cream */
.pimg,.pcard,.sr-img,.drecent .row,.cx-scene,.sm-photo{color:var(--fgc)}

/* Part 27 font lab (demo only): other title fonts to compare on the real pages. Chosen with the small switch at the
   bottom left of the site (fontLab in js/brand.js). When one is chosen for good, copy its three values into :root above. */
:root[data-font="cormorant"]{--font-serif:"Cormorant Garamond","Cormorant",Georgia,serif;--font-italic:"Cormorant Garamond",Georgia,serif;--serif-w:500}
:root[data-font="marcellus"]{--font-serif:"Marcellus",Georgia,serif;--font-italic:"Cormorant Garamond",Georgia,serif;--serif-w:400}
:root[data-font="playfair"]{--font-serif:"Playfair Display",Georgia,serif;--font-italic:"Playfair Display",Georgia,serif;--serif-w:400}
:root[data-font="bodoni"]{--font-serif:"Bodoni Moda","Didot",Georgia,serif;--font-italic:"Bodoni Moda","Didot",Georgia,serif;--serif-w:400}
