/* Brand kit layer: see brandkit.js. Everything here applies only under html.bk. The kit's colours are tokens (tokens.css). */

/* The pill: the circled TS mark in place of the traced one. The current page keeps its underline (Millar, 10 November);
   the highlighter is for choices made inside a page. */
.bk-mark{height:19px;width:auto;fill:currentColor}
html:not(.bk) .bk-mark{display:none!important}
html.bk .nav .bk-mark{display:block}
html.bk .nav a > svg:not(.bk-mark){display:none}

/* Devices */
/* Brackets are visual only: the alt text after the slash keeps screen readers from announcing them */
html.bk .bk-name::before{content:"[";content:"[" / ""}
html.bk .bk-name::after{content:"]";content:"]" / ""}
html.bk .bk-out::after{content:"";display:inline-block;width:.62em;height:.62em;margin-left:.32em;vertical-align:.02em;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 8.5L8.5 1.5M3 1.5h5.5V7' fill='none' stroke='black' stroke-width='1.2'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 8.5L8.5 1.5M3 1.5h5.5V7' fill='none' stroke='black' stroke-width='1.2'/%3E%3C/svg%3E") center/contain no-repeat}
html.bk .bk-hl{background:var(--bk-aqua);color:var(--ink);box-shadow:0 0 0 .14em var(--bk-aqua)}
html.bk .bk-dot::before{content:"";display:inline-block;width:.6em;height:.6em;border-radius:50%;background:var(--bk-blue);margin-right:.5em;vertical-align:.04em}
.bk-tag{display:none}
html.bk .bk-tag{display:inline-block;background:var(--bk-butter);color:var(--ink);font-size:var(--t-label);line-height:1;padding:4px 6px 3px;border-radius:2px;text-transform:uppercase;font-weight:700;font-stretch:condensed;letter-spacing:.004em}

/* The wordmark, where a page asks for it */
[data-bk-wordmark]{display:none}
html.bk [data-bk-wordmark]{display:block}
.bk-word,[data-bk-wordmark] > .bk-word{display:block;height:100%;width:auto;fill:currentColor}
/* One wordmark size everywhere it signs off a page */
.bk-signoff{height:42px}
@media (max-width:760px){ .bk-signoff{height:30px} }

/* The loading screen (mock H). A white sheet over the page; the mark is placed from .bk-intro-at, which is sized like the mock's:
   clamp(240px,35vw,520px) wide, centred (40% down on phones). Nothing shows until the script has measured and starts it (.go). */
.bk-intro{position:fixed;inset:0;z-index:100;cursor:pointer;--mw:clamp(240px,35vw,520px);--my:50%}
.bk-intro-sheet{position:absolute;inset:0;background:var(--paper)}
.bk-intro-lx{position:absolute;inset:0;width:100%;height:100%;display:block;overflow:hidden;visibility:hidden}
.bk-intro.go .bk-intro-lx,.bk-intro.go .bk-cap{visibility:visible}
.bk-intro-at{position:absolute;left:50%;top:var(--my);width:var(--mw);aspect-ratio:167/83;margin:calc(var(--mw) * -83 / 334) 0 0 calc(var(--mw) / -2);visibility:hidden;pointer-events:none}
.bk-d{fill:var(--ink);font-family:var(--display);font-weight:700;font-stretch:condensed;font-size:115px;text-anchor:middle}
.bk-o{fill:none;stroke:var(--ink)}
.bk-lt{fill:var(--ink);transform:translateY(84px)}
.bk-cap{position:absolute;left:0;right:0;top:0;margin:0;height:18px;overflow:hidden;text-align:center;font-size:12px;line-height:18px;font-variant-numeric:tabular-nums;color:var(--ink);visibility:hidden}
.bk-cap span{display:block;height:18px}
.bk-cap .bk-roll{height:auto}
@media (max-width:760px){ .bk-intro{--mw:64vw;--my:40%} }
