/*
Theme Name: Jabre & Partners
Template: jabre
Description: The Jabre & Partners skin for the Jabre base theme. Holds everything specific to this
             client: the brand palette, the firm's identity marks, the photography, the approved
             copy the importer writes, and the contractual text. The base theme holds the design
             system, the templates and the interactive pieces.
Author: Abiroot
Version: 0.1.0
Requires PHP: 8.1
Text Domain: jabre
*/

/* ── Brand tokens ───────────────────────────────────────────────────────────────────────────
   These override the base theme's defaults. Re-skinning for another firm means changing this
   block and the identity files in img/, not touching the base theme.

   No serif and no italic exist in this identity. Do not add a fallback that introduces either.

   Unified system (29/10/2026). Five rounds had layered three palettes on top of each other: a
   neutral near-black and a neutral grey from round 1, bistre and paper from round 2, sand and
   burgundy from round 5. The firm's round 5 brief asks for "refined, contemporary, harmonious",
   "understated", "not excessively decorative", in the August palette. So there is now one set:

   grounds   white (most of the site), linen (the one light band, sand at low strength),
             espresso (the one dark band), burgundy (the enquiry band only)
   ink       espresso-black for headings, a warm dark grey for reading text
   accents   sand on dark grounds; on light grounds burgundy for large type, bark for small type
   Headings stay in one colour. The coloured phrase survives only in the page title (h1). */
:root{
  --white:#FFFFFF;
  --off:#F6F1EA; --paper:#F6F1EA;   /* linen: sand at low strength, the one light band */
  --vellum:#EFE7DB;                 /* linen, one step deeper, for panels on linen */
  --ink:#1E1814;                    /* espresso-black: headings */
  --grey:#4D443D;                   /* reading text, 9.6:1 on white */
  --mute:#6E655B;                   /* secondary text, 5.6:1 on white */
  --dark:#241C17; --bistre:#241C17; /* espresso: the one dark ground */

  /* dividers, warm: structural ones are quiet, meaningful ones are darker */
  --hair:#ECE5DA;
  --line:#DDD3C5;
  --hair-d:#372C24;
  --line-d:#4A3D32;

  --esp:#4A342A; --esp-l:#DCC4A6;
  --esp-t:#6E2A2E;   /* burgundy, the wax seal: accents on large type on white */
  --esp-m:#6B4C39;   /* bark: small type on white, 7.6:1 */

  --f:'Outfit',-apple-system,BlinkMacSystemFont,sans-serif;
  --gut:clamp(20px,3.4vw,64px);
  --max:1440px;
  --ease:cubic-bezier(.16,.84,.2,1);
}

/* Eyebrows: short, set apart, and the most repeated element on the site. */
.lab{color:var(--esp-m)}
.dk .lab,.tlband .lab,footer .lab{color:var(--esp-l)}

/* One colour per heading. The page title keeps its coloured phrase (the year, usually), so the
   accent appears once per page, where it means something. */
h2 em,.dk h2 em,.tlband h2 em{font-style:normal;color:inherit}
h1 em,.hero h1 em{font-style:normal;color:var(--esp-t)}
.dk h1 em{color:var(--esp-l)}

/* Figures on the stat strip: the second place burgundy is allowed on white. */
.glance .n{color:var(--esp-t)}

/* ── Round 6 (02/11/2026) ─────────────────────────────────────────────────────────────────────
   The firm: "replace the copper tones with espresso and introduce touches of burgundy as accents",
   and the emphasis between black and espresso "is very subtle". So:
   - sand goes. On dark grounds the light accent is a neutral parchment, not a tan.
   - bark (the copper-brown small type) goes. Eyebrows, numbers and highlighted phrases are burgundy.
   - the burgundy for type is a step clearer than the wax seal (#6E2A2E read as near-black next to the
     headings): #912F3B, 7.9:1 on white, about twice as distinct from the ink as before.
   - outlines that were bark become espresso.
   The deep wax-seal burgundy stays for grounds and buttons (--burg). */
:root{
  --accent:#912F3B;
  --esp-t:#912F3B; --esp-m:#912F3B; --gold-d:#912F3B; --gold-text:#912F3B;
  --gold:#E6DCD0; --sand:#E6DCD0; --esp-l:#E6DCD0;
  --bark:#4A342A;
}
/* the highlighted phrase in a heading is burgundy again, on light grounds; on dark ones it steps back */
h2 em,h1 em,.hero h1 em,.phero h1 em{font-style:normal;color:var(--accent)}
.dk h2 em,.dk h1 em,.tlband h2 em,.cta.bx h2 em{color:rgba(244,238,230,.6)}
/* buttons on dark bands: burgundy, not sand */
.dk .btn{background:var(--burg);border-color:var(--burg);color:#fff}
.dk .btn::before{background:#fff} .dk .btn:hover{color:var(--burg)}
.cta.bx .btn{background:#fff;border-color:#fff;color:var(--burg-d)}
.cta.bx .btn::before{background:var(--bistre)} .cta.bx .btn:hover{color:#fff}
/* the reach map: espresso countries, burgundy on hover */
#map .c.on{fill:#4A342A} #map .c.on:hover,#map .c.hot{fill:#912F3B} #map .c.pre{fill:#7A6458}
#map .c.sel{fill:#912F3B;stroke:#F6F2EB}
/* --gold and --sand are now parchment, which is right on the dark bands and nearly invisible (about
   1.3:1) on white, linen and vellum. The parent uses them on light grounds in a few places; those take
   burgundy for marks and a deeper parchment for fills. Dark grounds keep the parchment. */
.phero .crumb a:hover{color:var(--accent)}
.subnav a[aria-current]{border-bottom-color:var(--accent)}
.pf{border-top-color:#CDBDAE} .pf:hover{border-top-color:var(--accent)} .pf:hover .ic svg *{stroke:var(--accent)}
.dk .pf{border-top-color:var(--line-d)} .dk .pf:hover .ic svg *{stroke:var(--gold)}
.pp:hover .ph,.tm:hover .ph,.tm.open .ph{background:#D9CBBE}
.person .exp li::before{background:var(--accent)}
.mrow .j{border-color:rgba(145,47,59,.4)}
