/* Brand-kit hero headline (Sam, 27 Nov 2026): the homepage, /journal,
   journal posts and /contact (the venue pages have their own copy of the
   same look in venue_outside.html).

   Brand kit (instagram-plan/brand-kit): the headline is tall condensed
   caps (Anton) in warm cream #EBC794 with the last word in light teal,
   never white and never one colour; cover photos are black and white and
   dark, so the type carries the colour.

   Markup:
     <h1 class="… bk-h" style="--lw:{{ text|brand_lw }}">{{ text|brand_tt }}</h1>
   brand_tt wraps the last word in <span class="bk-tt">; a heading that
   already holds its own <span> keeps it as the teal part. --lw (the
   longest word's length) caps the size so that word fits one phone line.
   Photos behind a hero take .bk-ph (or the page's own img rule below).

   Anton is self-hosted (static/fonts/anton-400.woff2, SIL Open Font
   License) so no page needs another Google Fonts request. */
@font-face{font-family:'Anton';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/anton-400.woff2') format('woff2');}

/* Caps: the Title Case hook injects
   :is(h1,h2,h3,h4):not([data-keep-case]){text-transform:none!important}
   (specificity 0,1,1), so the doubled class (0,2,0) wins it back. */
.bk-h.bk-h{text-transform:uppercase !important;}
.bk-h{--bk-cream:#EBC794;--bk-teal:#3FB6B2;--bk-max:128px;--bk-min:52px;--bk-gut:48px;
  font-family:'Anton','Archivo Narrow','Archivo',sans-serif !important;font-weight:400 !important;font-stretch:normal !important;font-style:normal;
  text-transform:uppercase !important;letter-spacing:0 !important;line-height:.94 !important;
  color:var(--bk-cream) !important;overflow-wrap:normal;word-break:normal;hyphens:none;text-wrap:balance;
  font-size:min(clamp(var(--bk-min),9vw,var(--bk-max)),calc((min(100vw,1240px) - var(--bk-gut)) / (var(--lw,8) * .5))) !important;}
/* The teal part: .bk-tt, a bare <span> (headings written as
   "Music Events <span>This Week</span>") or an <em> accent. */
.bk-h .bk-tt,.bk-h span:not([class]),.bk-h em{font:inherit !important;font-style:normal !important;letter-spacing:inherit !important;color:var(--bk-teal) !important;}
.bk-h em::after{content:none !important;}
.bk-h br{display:block;}
.bk-ph{filter:grayscale(1) brightness(.6) contrast(1.15) !important;}
/* The short page hero's three club photos go black and white and darker
   only on pages whose headline is a brand-kit one. */
.tph:has(.bk-h) .tph-mix img{filter:grayscale(1) brightness(.56) contrast(1.15);}
