/* HeroLinguist app logo lockup, one component for every app banner (owner's standard, 03.12 and 05.12.2026):
   the classic square HL mark of herolinguist.com (square, Montserrat 900, letters 0.4167 of the side as 15/36 on the site, never thinner),
   then the app name in Montserrat 900 caps with .16em tracking, the way the DACH Live banner writes HL DACH LIVE.
   One size variable (--hs, the side of the square) scales the whole lockup: at 34px the name is 22px, the gap 8px, a tag 11px.
   Colours: --hc square, --hf letters (per app from /hl-nav/projects.js); the name takes the banner's text colour. Straight corners only.
   Markup: <span class="hlmk" style="--hc:..;--hf:.."><b class="hlmk__sq">HL</b><span class="hlmk__n">APP</span>[<em class="hlmk__tag">LIVE</em>]</span>
   Builder for scripts: /banners/hl-mark.js (window.HLMark). */
.hlmk{--hs:34px;--hc:#fff;--hf:#0d0b2e;display:inline-flex;align-items:center;gap:calc(var(--hs) * .235);flex:none;min-width:0;max-width:100%;margin:0;padding:0;color:inherit;font-family:Montserrat,Arial,sans-serif;font-weight:900;line-height:1;text-transform:uppercase;text-decoration:none;white-space:nowrap;vertical-align:middle;border-radius:0;-webkit-font-smoothing:antialiased}
.hlmk>*{border-radius:0;margin:0}
.hlmk>.hlmk__sq{display:inline-flex;align-items:center;justify-content:center;flex:none;box-sizing:border-box;width:var(--hs);height:var(--hs);padding:0;background:var(--hc);color:var(--hf);font:900 calc(var(--hs) * .4167)/1 Montserrat,Arial,sans-serif;font-style:normal;letter-spacing:0;text-transform:none;border:0;box-shadow:none}
.hlmk>.hlmk__n{display:block;min-width:0;padding:0;color:inherit;font:900 calc(var(--hs) * .647)/1.05 Montserrat,Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase;overflow:hidden;text-overflow:ellipsis;background:none;-webkit-text-fill-color:currentColor}
.hlmk>.hlmk__tag{display:inline-block;flex:none;padding:calc(var(--hs) * .059) calc(var(--hs) * .176);background:#F2545B;color:#fff;font:900 calc(var(--hs) * .324)/1.27 Montserrat,Arial,sans-serif;font-style:normal;letter-spacing:.12em;text-transform:uppercase}
/* two-line names where a narrow slot needs it (the square keeps its size, the name wraps) */
.hlmk--wrap{white-space:normal}.hlmk--wrap>.hlmk__n{overflow:visible;line-height:1.1;overflow-wrap:normal}
[dir=rtl] .hlmk{direction:ltr}
