/* ============================================================================
   THEME 2 · "Ivory" (v0.86.0, 26 Nov 2026) — cream, white and gold, like the
   studio and the Nov 2026 cream ads. Plum is retired from the page palette.
   ----------------------------------------------------------------------------
   Load AFTER themes/theme-1-plum.css. It is tokens only, same names, so it
   re-points what Plum set. Remove this one <link> from a page and that page is
   back on Plum exactly; remove both theme links and it is the original
   espresso site.

   Palette comes from the --lux-* tokens in design-system.css (the ad graphics).
   Light throughout: former dark bands are a deeper cream. Plum stays as the
   accent: the footer, headings and text. (Headings went warm ink for an hour
   on 26 Nov; Benay asked to keep the plum.)
   ============================================================================ */
:root {
  /* ---- Base palette ---- */
  --porcelain:   #FBF8F2;   /* page */
  --cream:       #F5EFE4;   /* alternating sections */
  --champagne:   #EDE3D2;   /* cards, bands, hover */
  --blush-nude:  #E8DCCB;
  --blush-lite:  #F5EFE4;   /* was a blush band; now the same cream */
  --marble:      #FFFFFF;

  --gold-antique: #B08A48;  /* buttons' edge, rules, active states */
  --gold-leaf:    #C9A45C;
  --gold-deep:    #6E5A3A;  /* gold-toned small text on light (passes AA) */

  --espresso:    #46213D;   /* headings and primary text stay plum (Benay, 26 Nov: keep the plum, not black) */
  --taupe:       #6F5A68;   /* body copy */
  --line:        #E6DCC8;

  --gold-gradient: linear-gradient(135deg, #C9A45C 0%, #B08A48 55%, #9C7A3C 100%);
  --gold-lite:  #F3E6BC;
  --gold-mid:   #E4D2A0;
  --gold-metal: linear-gradient(135deg, #F3E6BC 0%, #E4D2A0 55%, #D9C08A 100%);

  --focus-ring: var(--gold-antique);

  --shadow-xs:  0 1px 2px rgba(56,26,49, 0.05);
  --shadow-sm:  0 2px 8px rgba(56,26,49, 0.06);
  --shadow:     0 8px 24px rgba(56,26,49, 0.08);
  --shadow-lg:  0 18px 48px rgba(56,26,49, 0.10);

  /* ---- Semantic aliases (resolved at :root, so re-pointed here) ---- */
  --bg-page:        var(--porcelain);
  --bg-alt:         var(--cream);
  --bg-band:        var(--champagne);
  --surface-hover:  var(--champagne);
  --text-primary:   var(--espresso);
  --text-secondary: var(--taupe);
  --text-on-gold:   var(--espresso);
  --text-on-dark:   var(--porcelain);
  --border:         var(--line);
  --hairline:       1px solid var(--line);
  --layer-foundation: var(--espresso);

  /* ---- Light bands, plum footer (Benay, 26 Nov 2026: "white and cream and
     gold, much less dark") ----
     The "dark band" tokens are re-pointed to a deeper cream with ink text and
     gold accents, so the sections that used to be plum or espresso blocks are
     light. Plum stays as the accent in one place: the footer (its tokens are
     not touched here, so it keeps theme-1-plum's aubergine), which keeps the
     tie to the social accounts and the studio's plum scrubs. */
  --bg-nav: rgba(251,248,242,0.88);
  --bg-band-dark:   #F3EBDD;
  --bg-band-deep:   #EDE3D2;
  --bg-band-panel:  #FFFFFF;
  --text-band-hi:   #46213D;
  --text-band-title:#46213D;
  --text-band-body: #6F5A68;
  --text-band-muted:#6F5A68;
  --text-band-dim:  #6F5A68;
  --text-band-faint:#857383;
  --accent-band:    #7A5E2A;
  --border-band:    #B08A48;

  --grad-warm-a: #FBF8F2;
  --grad-warm-b: #F2EADC;

  --text-muted-soft: #8A7D70;

  --glow-warm-rgb:   236,224,204;
  --ink-rgb:         56,26,49;
  /* the ivory-and-gold set used on the offer pages follows: plum text there too */
  --lux-ink:      #46213D;
  --lux-ink-soft: #6F5A68;
  --taupe-rgb:       111,90,104;
}

/* The one band that paints with --espresso instead of a band token
   (visual-hierarchy.css .sec--plum). --espresso is text colour in this theme,
   so point the band at the light band colour. */
.sec--plum { background: var(--bg-band-dark); }

/* Inline espresso blocks (the CTA bands at the foot of the treatment pages and
   a few others are written as style="…background:var(--espresso)" in the
   HTML). A custom property set on an element applies to its own declarations,
   so re-pointing the tokens here turns the block itself light and its
   porcelain text dark, without touching 30-odd pages of markup. */
[style*="overflow:hidden; background:var(--espresso)"],
[style*="margin:0 -24px; background:var(--espresso)"] {
  --espresso:  #F3EBDD;              /* the block's background */
  --porcelain: #46213D;              /* its "light" text, now plum */
  --gold-leaf: #7A5E2A;              /* gold words, deep enough to read on cream */
  --accent-band: #7A5E2A;
  --text-band-muted: #6F5A68;
  border-top: 1px solid rgba(var(--lux-gold-rgb), 0.35);
  border-bottom: 1px solid rgba(var(--lux-gold-rgb), 0.35);
}
