/* Brain Dead's reels: the frame and Telemyr's transitions from the Hastko case study (as Capeesh's
   reels carry them), the data map with the platforms' marks, and the apps toured with the services
   reels' kit (white apps, hairline cards, greyscale charts, the light purple for the one thing that
   matters). The site's light purple replaces the green everywhere in these reels (the user,
   2026-10-08). Flat: hairlines and fills only, never a shadow. Telemyr's parts use palette tokens or
   tints mixed from them; literal colours appear only in the --hx-* app block. */
.reel { position: relative; margin: 0; display: grid; gap: .75rem; min-width: 0; }
.reel-viewport { position: relative; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-white); border-radius: clamp(.5rem, 1.1vw, 1rem); isolation: isolate; }
.reel-stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; overflow: hidden; background: var(--color-white); font-family: var(--font-primary); font-weight: 400; color: var(--color-black); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; font-synthesis: none; }
.reel-stage * { box-sizing: border-box; }
/* The stage is an illustration drawn in stage pixels: its paragraphs take the stage's sizes,
   not the page's paragraph role (which sets size, leading and spacing on every p). */
:where(.reel-stage) p { margin: 0; font-size: inherit; line-height: inherit; letter-spacing: inherit; }
:where(.reel-stage) p + p { margin-top: 0; }
.reel-scene { position: absolute; inset: 0; overflow: hidden; isolation: isolate; }
.reel-scene img { display: block; max-width: none; }
.k-mask { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .06em .18em; margin: -.04em -.06em -.18em; line-height: inherit; }
.k-in { display: inline-block; will-change: transform; }

/* Chapter controls: one segment per chapter, sized to its length, with its own progress. */
.reel-controls { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: .75rem 1rem; }
.reel-toggle { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: var(--rule); background: var(--color-white); color: var(--color-black); cursor: pointer; padding: 0; touch-action: manipulation; }
.reel-toggle:hover { border-color: var(--color-black); }
.reel-toggle:focus-visible, .reel-seg:focus-visible { outline: 2px solid var(--color-black); outline-offset: 3px; }
.reel-segs { display: flex; gap: 4px; min-width: 0; padding-top: 1.1rem; }
.reel-seg { flex: 1 1 0; min-width: 0; display: grid; gap: .5rem; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--color-text-grey); font: inherit; touch-action: manipulation; }
.reel-seg-track { position: relative; display: block; height: 3px; border-radius: 2px; background: var(--color-rule-grey); overflow: hidden; }
.reel-seg-fill { position: absolute; inset: 0; background: var(--color-black); transform-origin: 0 50%; transform: scaleX(0); }
.reel-seg-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel-seg.is-current, .reel-seg:hover { color: var(--color-black); }
.reel-clock { padding-top: .8rem; color: var(--color-text-grey); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Up to 950px the chapter names no longer fit their segments, so only the bar and the clock
   show (spec docs/specs/2026-10-08-mobile-pass.md). */
@media (max-width: 950px) {
  .reel-seg-label { display: none; }
  .reel-segs { padding-top: 1.2rem; }
  .reel-clock { padding-top: .85rem; }
}

/* Tints of the palette, each landing on a grey approved in the Hastko reels. */
.reel-stage {
  --rl-ink-soft: color-mix(in srgb, var(--color-black) 63.92157%, var(--color-white));
  --rl-ink-faint: color-mix(in srgb, var(--color-black) 36.07843%, var(--color-white));
  --rl-trace: color-mix(in srgb, var(--color-black) 16.86275%, var(--color-white));
  --bd-lilac-soft: color-mix(in srgb, var(--color-highlight-lilac) 55%, var(--color-white));
  --bd-peri-soft: color-mix(in srgb, var(--color-periwinkle) 40%, var(--color-white));
}
.reel-scene.is-white { background: var(--color-white); }
.bd-icon { display: block; flex: none; }

/* ---- Type: lines of masked words, sized in stage pixels. */
.sr-line { position: relative; width: max-content; isolation: isolate; white-space: nowrap; }
.sr-head { position: absolute; left: 150px; top: 236px; font-size: 100px; line-height: 1.04; letter-spacing: -.05em; }
.sr-head--xl { top: 300px; font-size: 156px; line-height: 1.02; letter-spacing: -.055em; }
.sr-sub { position: absolute; left: 156px; top: 600px; font-size: 44px; line-height: 1.22; letter-spacing: -.02em; color: var(--rl-ink-soft); }
.sr-muted { color: var(--rl-ink-soft); }
.rl-hl { position: absolute; left: -.02em; right: .1em; top: .58em; height: .3em; background: var(--color-highlight-lilac); z-index: -1; transform-origin: 0 50%; transform: scaleX(0); }
.rl-cap { position: absolute; left: 160px; top: 48px; right: 160px; display: flex; align-items: baseline; justify-content: space-between; gap: 40px; }
.rl-cap-title { font-size: 64px; letter-spacing: -.04em; line-height: 1.05; white-space: nowrap; }
.rl-cap-text { font-size: 28px; line-height: 1.3; color: var(--rl-ink-soft); text-align: right; letter-spacing: -.01em; max-width: 820px; }

/* The Brain Dead x Telemyr lockup: Brain Dead's head mark (from the site's partner logo), the cross
   and Telemyr's name. */
.rl-lockup { position: absolute; left: 156px; top: 790px; display: flex; align-items: center; gap: 22px; }
.bd-mark { display: block; height: 92px; width: auto; }
.rl-lockup-x { font-size: 34px; color: var(--color-text-grey); line-height: 1; }
.rl-lockup-telemyr { font-size: 46px; letter-spacing: -.045em; line-height: 1; }

/* ---- 1. Opening: "One brand." over the facts, then the line, over Brain Dead's photography. */
.bd-swaprow { position: relative; height: 1.04em; }
.bd-swaprow > .sr-line { position: absolute; left: 0; top: 0; }
.sr-card { position: absolute; left: 1090px; top: 110px; width: 680px; height: 860px; border-radius: 28px; overflow: hidden; background: var(--color-light-grey); }
.sr-shot { position: absolute; inset: 0; overflow: hidden; background: var(--color-charcoal); }
.sr-shot img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; transform-origin: 55% 50%; }
.bd-photo-chip { position: absolute; right: 26px; top: 26px; height: 64px; padding: 0 26px; display: inline-flex; align-items: center; gap: 14px; visibility: hidden; border-radius: 999px; background: var(--color-highlight-lilac); color: var(--color-black); font-size: 30px; letter-spacing: -.015em; white-space: nowrap; transform-origin: 100% 0; }
.sr-label { position: absolute; left: 24px; bottom: 24px; height: 52px; padding: 0 20px; border-radius: 999px; background: var(--color-white); display: inline-flex; align-items: center; gap: 10px; font-size: 22px; letter-spacing: -.005em; white-space: nowrap; }

/* ---- Chapter cards and the Telemyr mark (reel-brand.js), always black. */
.rl-cv { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }
.rl-iris { position: absolute; inset: 0; z-index: 41; visibility: hidden; }
.rl-iris.is-dark { overflow: hidden; background: var(--color-black); color: var(--color-white); }
.rl-iris-mark { position: absolute; left: 50%; top: 470px; width: 220px; height: 220px; visibility: hidden; }
.rl-iris-word { position: absolute; left: 50%; top: 640px; font-size: 54px; letter-spacing: -.045em; line-height: 1; visibility: hidden; }
.rl-chap { position: absolute; inset: 0; z-index: 42; visibility: hidden; overflow: hidden; background: var(--color-off-white); color: var(--color-black); }
.rl-chap.is-dark { background: var(--color-black); color: var(--color-white); }
.rl-chap-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; transform-origin: 30% 30%; }
.rl-chap-cv { position: absolute; inset: 0; }
.rl-chap-body { position: absolute; inset: 0; transform-origin: 50% 45%; }
.rl-chap-head { position: absolute; left: 120px; right: 120px; top: 84px; display: flex; align-items: center; justify-content: space-between; font-size: 24px; letter-spacing: -.01em; }
.rl-chap-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 34px; letter-spacing: -.04em; }
.rl-chap-mark { width: 46px; height: 46px; }
.rl-chap-num { position: absolute; left: 124px; top: 296px; font-size: 34px; font-variant-numeric: tabular-nums; }
.rl-chap-title { position: absolute; left: 112px; top: 360px; font-size: 200px; line-height: 1.02; letter-spacing: -.055em; white-space: nowrap; }
.rl-chap-line { position: absolute; left: 122px; top: 610px; width: 1400px; font-size: 46px; line-height: 1.2; letter-spacing: -.025em; opacity: .78; }
.rl-chap-row { position: absolute; left: 120px; right: 120px; bottom: 96px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; font-size: 22px; }
.rl-chap-row span { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 14px; opacity: .42; white-space: nowrap; }
.rl-chap-row em { font-style: normal; font-variant-numeric: tabular-nums; }
.rl-chap-row span.is-on, .rl-chap-row span.is-done { opacity: 1; }
.rl-chap-row b { grid-column: 1 / -1; position: relative; height: 3px; background: currentColor; opacity: .25; overflow: hidden; }
.rl-chap-row span.is-on b { opacity: 1; background: color-mix(in srgb, var(--color-white) 22%, transparent); }
.rl-chap-row b i { position: absolute; inset: 0; background: currentColor; transform-origin: 0 50%; transform: scaleX(0); }
.rl-chap-row span:not(.is-on) b i { display: none; }
/* The line along the bottom: inverts against whatever is behind it, so it reads on white and black. */
.rl-disclaimer { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 60; margin: 0; text-align: center; font-size: 19px; letter-spacing: .01em; color: var(--color-white); mix-blend-mode: difference; opacity: .8; pointer-events: none; }

/* ---- Bret's line, with confetti that flies over the photo and behind the words. */
.reel-scene--quote .sr-card { z-index: 1; left: 1420px; top: 150px; width: 360px; height: 780px; }
.reel-scene--quote .sr-quote, .sr-quote-mark, .sr-quote-who { z-index: 3; }
.sr-quote-mark { position: absolute; left: 140px; top: 40px; font-size: 190px; line-height: 1; letter-spacing: -.05em; }
.sr-head.sr-quote { top: 260px; font-size: 66px; line-height: 1.08; letter-spacing: -.045em; }
.sr-quote-who { position: absolute; left: 156px; top: 770px; display: grid; gap: 8px; font-size: 44px; letter-spacing: -.02em; line-height: 1.15; }
.sr-quote-who .sr-muted { font-size: 32px; letter-spacing: -.01em; }
.sr-quote-mark.is-pair { top: 96px; font-size: 150px; }
.sr-head.sr-quote.is-pair { top: 276px; font-size: 54px; line-height: 1.1; }
.sr-quote-who.is-pair { top: 784px; font-size: 40px; }
.sr-quote-who.is-pair .sr-muted { font-size: 30px; }
.sr-quote-mark.is-left { left: 140px; } .sr-head.sr-quote.is-left { left: 150px; } .sr-quote-who.is-left { left: 154px; }
.sr-quote-mark.is-right { left: 1000px; } .sr-head.sr-quote.is-right { left: 1010px; } .sr-quote-who.is-right { left: 1014px; }
.sr-confetti { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; z-index: 2; pointer-events: none; }

/* ---- The end card: Brain Dead x Telemyr on black; the first frame under it for the loop. */
.rl-end { position: absolute; inset: 0; overflow: hidden; }
.rl-end.is-dark { background: var(--color-black); color: var(--color-white); }
.rl-end-lock { position: absolute; left: 0; right: 0; top: 384px; display: flex; align-items: center; justify-content: center; gap: 40px; }
.rl-end-client { display: block; height: 190px; width: auto; }
.rl-end-x { font-size: 64px; color: color-mix(in srgb, var(--color-white) 55%, transparent); line-height: 1; }
.rl-end-telemyr { display: inline-flex; align-items: center; gap: 18px; font-size: 118px; letter-spacing: -.05em; line-height: 1; }
.rl-end-mark { width: 96px; height: 96px; }
.rl-end-apps { position: absolute; left: 0; right: 0; top: 586px; margin: 0; text-align: center; font-size: 36px; letter-spacing: -.015em; }
.rl-end-line { position: absolute; left: 0; right: 0; top: 646px; margin: 0; text-align: center; font-size: 28px; letter-spacing: -.01em; color: color-mix(in srgb, var(--color-white) 66%, transparent); }
.sr-end-poster { position: absolute; inset: 0; overflow: hidden; background: var(--color-white); visibility: hidden; }

/* ---- The square cut for LinkedIn (1080 x 1080): the same parts, laid out for the frame. The figure
   carries .is-square; layout that the scripts compute (the map, the charts) comes from their L. */
.is-square .rl-cv, .is-square .sr-confetti { width: 1080px; height: 1080px; }
.is-square .sr-head { left: 66px; top: 66px; font-size: 72px; }
.is-square .sr-head--xl { top: 80px; font-size: 128px; }
.is-square .sr-sub { left: 70px; top: 312px; font-size: 34px; }
.is-square .rl-lockup { left: 70px; top: 402px; gap: 18px; }
.is-square .rl-lockup-telemyr { font-size: 38px; }
.is-square .bd-mark { height: 62px; }
.is-square .rl-lockup-x { font-size: 28px; }
.is-square .sr-card { left: 70px; top: 480px; width: 940px; height: 530px; }
.is-square .sr-shot img { object-position: 50% 6%; transform-origin: 50% 15%; } /* the face, not the middle (the user, 2026-10-09) */
.is-square .rl-iris-mark { top: 460px; width: 200px; height: 200px; }
.is-square .rl-iris-word { top: 610px; font-size: 48px; }
.is-square .rl-chap-head { left: 64px; right: 64px; top: 60px; }
.is-square .rl-chap-num { left: 68px; top: 320px; }
.is-square .rl-chap-title { left: 56px; top: 370px; font-size: 128px; }
.is-square .rl-chap-line { left: 66px; top: 540px; width: 900px; font-size: 38px; text-wrap: balance; }
.is-square .rl-cap { left: 46px; right: 46px; top: 40px; display: block; }
.is-square .rl-cap-title { font-size: 56px; }
.is-square .rl-cap-text { margin-top: 10px; font-size: 25px; text-align: left; max-width: none; }
.is-square .sr-quote-mark { left: 58px; top: 10px; font-size: 150px; }
.is-square .sr-head.sr-quote { left: 66px; top: 176px; font-size: 52px; }
.is-square .sr-quote-who { left: 70px; top: 610px; font-size: 38px; }
.is-square .sr-quote-who .sr-muted { font-size: 28px; }
.is-square .reel-scene--quote .sr-card { left: 620px; top: 600px; width: 390px; height: 410px; }
.is-square .rl-end-lock { top: 420px; gap: 28px; }
.is-square .rl-end-telemyr { font-size: 86px; }
.is-square .rl-end-client { height: 140px; }
.is-square .rl-end-x { font-size: 46px; }
.is-square .rl-end-mark { width: 70px; height: 70px; }
.is-square .rl-end-telemyr { gap: 14px; }
.is-square .rl-end-apps { top: 560px; font-size: 32px; }
.is-square .rl-end-line { top: 614px; font-size: 26px; }

/* ================================================================ Brain Dead's own scenes */
.reel-cursor { position: absolute; left: 0; top: 0; z-index: 50; width: 34px; height: 34px; margin: -4px 0 0 -6px; transform-origin: 6px 4px; pointer-events: none; }
.reel-cursor svg { display: block; }
.reel-click { position: absolute; left: 0; top: 0; z-index: 49; width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--color-periwinkle); background: color-mix(in srgb, var(--color-periwinkle) 18%, transparent); pointer-events: none; visibility: hidden; }

/* The platforms' marks (bd-logos.js), one colour, sized in em. */
.bd-logo { display: inline-flex; align-items: center; gap: .26em; line-height: 1; white-space: nowrap; color: inherit; }
.bd-logo-mark { display: block; width: 1.05em; height: 1.05em; flex: none; }
.bd-logo-img.is-sym { height: 1.3em; margin: -.12em 0; }
.bd-logo-word { letter-spacing: -.02em; }
.bd-logo.is-lower .bd-logo-word { letter-spacing: -.045em; }
.bd-logo.is-caps .bd-logo-word { letter-spacing: .04em; }
.bd-logo.is-wide .bd-logo-word { letter-spacing: .16em; }
.bd-logo.is-tight .bd-logo-word { letter-spacing: -.01em; }
.bd-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; flex: none; }
.bd-photo-chip .bd-logo { font-size: 28px; }
.bd-svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.bd-slot { position: relative; display: block; height: 1.25em; overflow: hidden; white-space: nowrap; }
.bd-slot > span { position: absolute; left: 0; top: 0; line-height: 1.25; white-space: nowrap; }

/* ================================================================ The apps (from the services reels' kit)
   White apps; the site's light purple marks the active item and the one thing that matters;
   everything else is greyscale. Brain Dead's own mark is the logo, and the window has no address. */
.reel-stage {
  --hx-acc: #D4D1EF; --hx-acc-deep: #B3ABF0; --hx-acc-edge: #9C93E6; --hx-bg: #FAFAFA; --hx-app-bg: #FFFFFF; --hx-line: #EBEBEB;
  --hx-muted: #6B6B6B; --hx-faint: #A3A3A3; --hx-ink-2: #3A3A3A; --hx-slate: #6B7280; --hx-bar: #BDBDBD; --hx-dash: #CFCFCF;
  --hx-gain: var(--hx-ink-2); --hx-gain-bg: var(--hx-acc); --hx-veil: rgba(250, 250, 250, .75);
}
.hx-icon { display: block; flex: none; }
.hx-window { position: absolute; background: var(--color-white); border: 1px solid var(--color-rule-grey); border-radius: 24px; overflow: hidden; transform-origin: 50% 0; }
.hx-bar { position: absolute; left: 0; right: 0; top: 0; height: 58px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--hx-line); background: var(--color-white); }
.hx-dots { position: absolute; left: 24px; top: 23px; display: flex; gap: 9px; }
.hx-dots i { width: 13px; height: 13px; border-radius: 50%; background: var(--color-rule-grey); }
.hx-app { position: absolute; left: 0; right: 0; top: 58px; bottom: 0; background: var(--hx-app-bg); overflow: hidden; font-size: 18px; line-height: 1.35; color: var(--color-black); }
.hx-page { position: absolute; inset: 0; }
.hx-logo { position: absolute; left: 34px; top: 26px; height: 46px; width: auto; }
.hx-brand { position: absolute; left: 34px; top: 27px; display: flex; align-items: center; gap: 14px; }
.hx-brand-name { font-size: 26px; letter-spacing: -.025em; line-height: 1; white-space: nowrap; }
.hx-title { position: absolute; font-size: 30px; letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; white-space: nowrap; }
.hx-sub { position: absolute; font-size: 18px; color: var(--hx-muted); white-space: nowrap; }
.hx-card { position: absolute; isolation: isolate; background: var(--color-white); border: 1px solid var(--hx-line); border-radius: 22px; overflow: hidden; }
.hx-card-head { position: absolute; left: 26px; right: 26px; top: 22px; display: flex; align-items: center; gap: 14px; }
.hx-card-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--hx-acc); color: var(--color-black); flex: none; }
.hx-card-icon.is-black { background: var(--color-black); color: var(--color-white); }
.hx-card-title { font-size: 21px; line-height: 1.2; white-space: nowrap; }
.hx-card-sub { font-size: 15px; color: var(--hx-muted); white-space: nowrap; }
.hx-thumb { position: relative; display: inline-block; flex: none; border-radius: 12px; background: var(--color-light-grey); overflow: hidden; }
.hx-thumb img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; }
.hx-dock { position: absolute; display: flex; align-items: center; padding: 0 7px; background: var(--color-white); border: 1px solid var(--hx-line); border-radius: 22px; }
.hx-dock-fill { position: absolute; left: 0; top: 7px; border-radius: 15px; background: var(--hx-acc); }
.hx-dock-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: 13px; color: var(--hx-muted); white-space: nowrap; }
.hx-dock-item.is-on { color: var(--color-black); }
.hx-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 13px; border-radius: 999px; font-size: 15px; background: var(--color-light-grey); color: var(--color-black); white-space: nowrap; }
.hx-chip--acc { background: var(--hx-acc); }
.hx-chip--black { background: var(--color-black); color: var(--color-white); }
.hx-chip--line { background: var(--color-white); border: 1px solid var(--hx-line); }
.hx-chip--gain { background: var(--hx-gain-bg); color: var(--hx-gain); }
.hx-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--hx-line); background: var(--color-white); font-size: 17px; white-space: nowrap; }
.hx-btn--acc { background: var(--hx-acc); border-color: var(--hx-acc); }
.hx-btn--black { background: var(--color-black); border-color: var(--color-black); color: var(--color-white); }
.hx-num { font-variant-numeric: tabular-nums; }
.hx-row { position: absolute; left: 0; right: 0; display: grid; align-items: center; column-gap: 16px; padding: 0 26px; border-top: 1px solid var(--hx-line); font-size: 17px; white-space: nowrap; }
.hx-row.is-head { border-top: 0; color: var(--hx-muted); font-size: 14px; letter-spacing: .02em; text-transform: uppercase; }
.hx-row > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hx-right { text-align: right; }
.hx-pop { position: absolute; background: var(--color-white); border: 1px solid var(--color-rule-grey); border-radius: 18px; overflow: hidden; }
.hx-pop-item { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 18px; font-size: 18px; white-space: nowrap; }
.hx-pop-item.is-hover { background: var(--color-light-grey); }
.hx-kpi-label { font-size: 15px; color: var(--hx-muted); white-space: nowrap; }
.hx-kpi-value { font-size: 42px; letter-spacing: -.03em; line-height: 1.05; white-space: nowrap; }
.hx-delta { display: inline-flex; align-items: center; gap: 3px; font-size: 15px; color: var(--hx-gain); white-space: nowrap; }
.hx-delta .hx-icon { color: var(--hx-acc-edge); }
.hx-toast { position: absolute; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; background: var(--color-black); color: var(--color-white); font-size: 18px; white-space: nowrap; }
.hx-toast .hx-icon { color: var(--hx-acc); }
.rl-label { position: absolute; left: 28px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--hx-muted); }
.rl-q-row { position: absolute; left: 28px; right: 28px; height: 44px; display: grid; grid-template-columns: 180px minmax(0, 1fr) 76px; align-items: center; gap: 16px; font-size: 17px; border-top: 1px solid var(--hx-line); }
.rl-q-track { position: relative; height: 10px; border-radius: 5px; background: var(--color-light-grey); overflow: hidden; }
.rl-q-fill { position: absolute; inset: 0; border-radius: 5px; background: var(--hx-bar); transform-origin: 0 50%; transform: scaleX(0); }
.rl-q-fill.is-acc { background: var(--hx-acc-deep); }
.rl-q-fill.is-black { background: var(--color-black); }
.rl-q-val { text-align: right; }
.hx-btn.is-hover { background: var(--color-light-grey); }
.hx-btn.is-press { transform: scale(.94); }
.rl-scen { position: absolute; left: 1370px; top: 21px; width: 194px; height: 58px; justify-content: space-between; border-radius: 16px; padding: 0 14px 0 18px; }
.rl-scen-text { display: grid; line-height: 1.15; }
.rl-scen-wh { font-size: 12px; color: var(--hx-muted); }
.rl-scen-name { font-size: 16px; white-space: nowrap; }
.rl-legend { display: inline-flex; align-items: center; gap: 8px; margin-left: 22px; font-size: 15px; color: var(--hx-muted); }
.rl-legend i { width: 14px; height: 14px; border-radius: 4px; }
.rl-legend i.is-dash { width: 22px; height: 0; border-top: 2px dashed var(--hx-slate); border-radius: 0; }
.rl-flag { position: absolute; width: 0; transform-origin: 0 100%; display: grid; justify-items: start; }
.rl-flag .hx-chip { height: 34px; font-size: 15px; transform: translateX(-50%); }
.rl-flag.is-end .hx-chip { transform: translateX(-88%); }
.rl-flag i { width: 2px; height: 26px; background: var(--color-black); margin-left: -1px; }
.rl-po-tag { position: absolute; transform: translateX(-50%); font-size: 14px; white-space: nowrap; padding: 4px 10px; border-radius: 8px; background: var(--color-black); color: var(--hx-acc); }
.rl-po-head { position: absolute; left: 26px; right: 26px; top: 22px; display: flex; align-items: center; gap: 14px; }
.rl-po-id { font-size: 28px; letter-spacing: -.02em; }
.rl-po-sup { font-size: 15px; color: var(--hx-muted); }
.rl-po-prod { position: absolute; left: 26px; top: 82px; display: flex; align-items: center; gap: 16px; }
.rl-po-prod > span:last-child { display: grid; gap: 2px; }
.rl-po-prod b { font-weight: 400; font-size: 19px; }
.rl-po-prod i { font-style: normal; font-size: 15px; color: var(--hx-muted); }
.rl-po-fields { position: absolute; left: 26px; right: 26px; top: 168px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rl-po-fields span { display: grid; gap: 2px; }
.rl-po-fields i { font-style: normal; font-size: 14px; color: var(--hx-muted); }
.rl-po-fields b { font-weight: 400; font-size: 26px; letter-spacing: -.02em; }
.rl-steps { position: absolute; left: 112px; right: 112px; top: 268px; height: 60px; }
.rl-steps-line, .rl-steps-fill { position: absolute; left: 0; right: 0; top: 13px; height: 4px; border-radius: 2px; background: var(--color-light-grey); }
.rl-steps-fill { background: var(--hx-acc-deep); transform-origin: 0 50%; transform: scaleX(0); }
.rl-step-dot { position: absolute; top: 0; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; display: grid; place-items: center; background: var(--color-white); border: 2px solid var(--color-rule-grey); color: transparent; }
.rl-step-dot.is-done { background: var(--color-black); border-color: var(--color-black); color: var(--hx-acc); }
.rl-step-label { position: absolute; top: 40px; transform: translateX(-50%); font-size: 14px; color: var(--hx-faint); white-space: nowrap; }
.rl-step-label.is-done { color: var(--color-black); }
.rl-del { position: absolute; left: 26px; right: 26px; height: 66px; padding: 0 18px; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 14px; border: 1px solid var(--hx-line); border-radius: 16px; background: var(--color-white); }
.rl-del > span:nth-child(2) { display: grid; line-height: 1.25; }
.rl-del b { font-weight: 400; font-size: 18px; }
.rl-del i { font-style: normal; font-size: 15px; color: var(--hx-muted); }
.rl-del-u { font-size: 20px; letter-spacing: -.01em; }
.rl-del-note { position: absolute; left: 26px; right: 26px; bottom: 24px; font-size: 15px; color: var(--hx-muted); }
.hx-toast { transform: translateX(-50%); z-index: 9; }
.rl-kbar { position: absolute; left: 34px; right: 34px; top: 98px; display: flex; align-items: center; gap: 8px; }
.rl-kbar .hx-btn { height: 42px; padding: 0 16px; font-size: 16px; }
.rl-kbar-sep { width: 1px; height: 26px; background: var(--hx-line); margin: 0 6px; }
.rl-kpill { color: var(--hx-muted); min-width: 170px; }
.rl-kpill kbd { font: inherit; font-size: 13px; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--hx-line); color: var(--hx-muted); margin-left: auto; }
.rl-kpi { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 22px; }
.rl-kpi .hx-kpi-value { font-size: 36px; }
.rl-end-chip { position: absolute; display: flex; align-items: center; gap: 10px; font-size: 22px; letter-spacing: -.01em; white-space: nowrap; }
.rl-tip { position: absolute; left: 0; top: 0; display: grid; gap: 6px; padding: 14px 16px; width: 290px; border-radius: 14px; background: var(--color-white); border: 1px solid var(--color-rule-grey); font-size: 15px; visibility: hidden; }
.rl-tip b { font-weight: 400; font-size: 16px; margin-bottom: 2px; }
.rl-tip > span { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 10px; color: var(--hx-muted); }
.rl-tip > span .hx-num { color: var(--color-black); text-align: right; }
.rl-tip i { width: 10px; height: 10px; border-radius: 3px; }
.rl-tour-cap { display: block; height: 96px; }
.rl-cap-item { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 40px; }
.rl-cap-left { display: flex; align-items: baseline; gap: 24px; min-width: 0; }
.rl-cap-idx { font-size: 22px; color: var(--color-text-grey); letter-spacing: .02em; visibility: hidden; }
.rl-k-titles { display: grid; gap: 2px; min-width: 0; }
.rl-k-muted { color: var(--hx-muted); }
.rl-k-cell { display: flex; align-items: center; gap: 12px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rl-tg { position: absolute; display: flex; padding: 4px; border-radius: 999px; background: var(--color-light-grey); }
.rl-tg-pill { position: absolute; left: 0; top: 4px; bottom: 4px; border-radius: 999px; background: var(--color-black); }
.rl-tg-opt { position: relative; height: 36px; display: grid; place-items: center; font-size: 15px; color: var(--hx-muted); }
.rl-tg-opt.is-on { color: var(--color-white); }
.hx-btn.rl-btn-sm { height: 40px; padding: 0 16px; font-size: 16px; }
.rl-swap-cell { position: relative; display: inline-flex; align-items: center; height: 40px; overflow: visible !important; }
.rl-swap-cell .hx-chip { position: absolute; left: 0; top: 50%; transform: translateY(-50%); visibility: hidden; }
.rl-k-two { display: grid; min-width: 0; line-height: 1.25; }
.rl-k-two > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl-k-two > i { font-style: normal; font-size: 14px; color: var(--hx-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl-gain { color: var(--hx-gain); }
.hx-row.rl-subrow { background: var(--hx-bg); }
.rl-okbox { position: absolute; left: 26px; right: 26px; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--hx-acc) 45%, transparent); font-size: 16px; }

/* ================================================================ Brain Dead's parts
   The platforms' marks, the data map, and the pieces of the Brain Dead pages the kit has no part for. */
.bd-logo { display: inline-flex; align-items: center; gap: .26em; line-height: 1; white-space: nowrap; color: inherit; }
.bd-logo-mark { display: block; width: 1.05em; height: 1.05em; flex: none; }
/* A logo from a file (Cin7): drawn in the text colour through its own shape, so it is black on
   white and white on black like the rest. */
.bd-logo-img { display: block; height: 1.05em; flex: none; background: currentColor; -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.bd-logo-word { letter-spacing: -.02em; }
.bd-logo.is-lower .bd-logo-word { letter-spacing: -.045em; }
.bd-logo.is-caps .bd-logo-word { letter-spacing: .04em; }
.bd-logo.is-wide .bd-logo-word { letter-spacing: .16em; }
.bd-logo.is-tight .bd-logo-word { letter-spacing: -.01em; }
.bd-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; flex: none; }
.bd-photo-chip .bd-logo { font-size: 28px; }
.bd-svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.bd-icon { display: block; flex: none; }

/* ---- 2. The data map: white tiles with hairlines, light purple when a platform is live. */
.bd-trace { fill: none; stroke: var(--rl-trace); stroke-width: 2; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.bd-pulse { fill: none; stroke: var(--color-black); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .06 .94; opacity: 0; }
.bd-src { position: absolute; border: 1px solid var(--color-rule-grey); border-radius: 22px; background: var(--color-white); overflow: hidden; visibility: hidden; }
.bd-src-logo { position: absolute; left: 20px; top: 22px; font-size: 21px; }
.bd-src-name { font-size: 19px; letter-spacing: -.015em; white-space: nowrap; }
.bd-src-dot { position: absolute; right: 20px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--color-rule-grey); }
.bd-src.is-on .bd-src-dot { background: var(--hx-acc-deep); }
.bd-src-text { position: absolute; left: 20px; right: 20px; bottom: 18px; display: grid; gap: 10px; }
.bd-src-sub { font-size: 16px; color: var(--hx-muted); line-height: 1.25; white-space: nowrap; }
.bd-stores { display: flex; gap: 5px; }
.bd-stores i { width: 11px; height: 11px; border-radius: 3px; background: var(--color-light-grey); }
.bd-stores i.is-on { background: var(--hx-acc-deep); }
.bd-hub { position: absolute; display: flex; align-items: center; gap: 22px; padding: 0 30px; border-radius: 30px; background: var(--color-black); color: var(--color-white); visibility: hidden; }
.bd-hub-icon { color: var(--hx-acc); flex: none; }
.bd-hub-text { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.bd-hub-name { font-size: 34px; letter-spacing: -.025em; line-height: 1.05; white-space: nowrap; }
.bd-hub-sub { font-size: 17px; color: var(--color-text-grey); white-space: nowrap; }
.bd-hub-live { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 15px; border-radius: 999px; background: color-mix(in srgb, var(--color-white) 14%, transparent); color: var(--color-white); font-size: 16px; flex: none; }
.bd-hub-live i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.bd-hub.is-live .bd-hub-live { background: var(--hx-acc); color: var(--color-black); }
.bd-app { position: absolute; display: flex; align-items: center; gap: 18px; padding: 0 24px; border: 1px solid var(--color-rule-grey); border-radius: 24px; background: var(--color-white); visibility: hidden; }
.bd-app-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--color-light-grey); color: var(--color-black); flex: none; }
.bd-app.is-on .bd-app-ic { background: var(--hx-acc); }
.bd-app-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bd-app-name { font-size: 23px; letter-spacing: -.02em; white-space: nowrap; }
.bd-app-sub { font-size: 16px; color: var(--hx-muted); white-space: nowrap; }

/* ---- The Brain Dead app's own pieces */
.bd-app-mark { position: absolute; left: 34px; top: 22px; height: 56px; width: auto; }
.hx-kpi-note { font-size: 15px; color: var(--hx-muted); white-space: nowrap; }
.bd-store-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--hx-bg); border: 1px solid var(--hx-line); }
.bd-total { position: absolute; left: 26px; right: 26px; height: 46px; padding: 0 18px; border-radius: 14px; background: var(--hx-bg); border: 1px solid var(--hx-line); display: flex; align-items: center; justify-content: space-between; font-size: 17px; white-space: nowrap; }
.bd-total .hx-num { font-size: 22px; letter-spacing: -.01em; }
.bd-total.is-acc { background: color-mix(in srgb, var(--hx-acc) 60%, var(--color-white)); border-color: transparent; }
.bd-ev { position: absolute; left: 26px; right: 26px; height: 86px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 14px; row-gap: 12px; align-items: center; border-top: 1px solid var(--hx-line); padding-top: 12px; }
.bd-ev .rl-k-two > span { font-size: 18px; }
.bd-ev-src { font-size: 16px; justify-self: end; }
.bd-ev-track { grid-column: 1; }
.bd-ev .hx-chip, .bd-ev-pct { justify-self: end; }
.bd-ev-pct { font-size: 16px; }
.bd-reads { display: flex; align-items: center; gap: 14px; font-size: 16px; overflow: visible !important; }
.hx-row .rl-q-track { display: block; }
.bd-flash-head { position: absolute; left: 26px; right: 26px; top: 24px; display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--hx-line); }
.bd-flash-thumb { width: 52px; height: 52px; border-radius: 14px; background: var(--hx-bg); border: 1px solid var(--hx-line); display: grid; place-items: center; flex: none; }
.bd-flash-thumb img { display: block; height: 38px; width: auto; }
.bd-flash-head .rl-k-two > span { font-size: 19px; }
.bd-flash-hi { position: absolute; left: 26px; right: 26px; top: 110px; font-size: 17px; color: var(--hx-muted); }
.bd-flash-nums { position: absolute; left: 26px; right: 26px; top: 136px; display: grid; }
.bd-flash-nums > span { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; align-items: end; padding: 6px 0; border-top: 1px solid var(--hx-line); }
.bd-flash-nums i { font-style: normal; font-size: 14px; color: var(--hx-muted); }
.bd-flash-nums b { grid-row: 2; font-weight: 400; font-size: 26px; letter-spacing: -.02em; line-height: 1.15; }
.bd-flash-nums em { grid-column: 2; grid-row: 2; font-style: normal; align-self: center; }
.bd-flash-label { position: absolute; left: 26px; top: 354px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--hx-muted); }
.bd-flash-bars { position: absolute; left: 26px; right: 26px; top: 378px; height: 84px; display: flex; gap: 8px; }
.bd-flash-bars > span { flex: 1; min-width: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 6px; font-size: 12px; color: var(--hx-muted); text-align: center; white-space: nowrap; }
.bd-flash-bars em { position: relative; display: block; border-radius: 6px; overflow: hidden; }
.bd-flash-bars em i { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; border-radius: 6px; transform-origin: 50% 100%; transform: scaleY(0); }
/* The go to market tracker's launch calendar: months, drop rows with their bars and launch dots,
   today's line. */
.bd-gantt-month { position: absolute; transform: translateX(-50%); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--hx-muted); white-space: nowrap; }
.bd-gantt-grid { position: absolute; width: 0; border-left: 1px dashed var(--hx-line); }
.bd-gantt-row { position: absolute; left: 0; right: 0; border-top: 1px solid var(--hx-line); }
.bd-gantt-row.is-on { background: var(--hx-bg); }
.bd-gantt-label { position: absolute; left: 26px; top: 50%; transform: translateY(-50%); }
.bd-gantt-label > span { font-size: 17px; }
.bd-gantt-bar { position: absolute; top: 50%; height: 14px; margin-top: -7px; border-radius: 7px; transform-origin: 0 50%; transform: scaleX(0); }
.bd-gantt-dot { position: absolute; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--hx-acc-deep); border: 3px solid var(--color-white); }
.bd-gantt-row.is-on .bd-gantt-dot.is-acc { border-color: var(--color-black); }
.bd-gantt-st { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); display: flex; }
.bd-gantt-today { position: absolute; width: 0; border-left: 2px solid var(--color-black); }
.bd-gantt-today b { position: absolute; left: 0; bottom: -26px; transform: translateX(-50%); padding: 2px 8px; border-radius: 6px; background: var(--color-black); color: var(--color-white); font-weight: 400; font-size: 13px; white-space: nowrap; }
.rl-tip.is-narrow { width: 254px; }
.bd-chipcell { width: 96px; }
.bd-chipcell.is-wide { width: 200px; }
.bd-total-r { display: flex; align-items: center; gap: 12px; }
.rl-q-fill.is-off { background: var(--hx-dash); }
/* Store fulfilment: the locations an order is checked against, and how it reaches the customer. */
.bd-loc { position: absolute; height: 110px; padding: 16px 18px; display: grid; align-content: space-between; border: 1px solid var(--hx-line); border-radius: 16px; background: var(--color-white); }
.bd-loc .rl-k-two > span { font-size: 18px; }
.bd-loc.is-pick { background: color-mix(in srgb, var(--hx-acc) 60%, var(--color-white)); border-color: transparent; }
.bd-loc-swap { position: relative; height: 24px; }
.bd-loc-res { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 16px; color: var(--hx-muted); white-space: nowrap; visibility: hidden; }
.bd-loc-res.is-res { color: var(--color-black); }
.bd-ful { position: absolute; left: 26px; right: 26px; top: 172px; display: grid; gap: 8px; visibility: hidden; }
.bd-ful b { font-weight: 400; font-size: 30px; letter-spacing: -.02em; line-height: 1.1; }
.bd-ful i { font-style: normal; font-size: 16px; color: var(--hx-muted); }

/* ---- The square cut: the data map down both sides, the tours' captions above their window. */
.is-square .bd-src-logo { left: 18px; top: 18px; font-size: 20px; }
.is-square .bd-src-name { font-size: 16px; }
.is-square .bd-src-dot { right: 16px; top: 20px; width: 11px; height: 11px; }
.is-square .bd-src-text { left: 18px; right: 18px; bottom: 14px; gap: 8px; }
.is-square .bd-src-sub { font-size: 14px; }
.is-square .bd-stores { gap: 4px; }
.is-square .bd-stores i { width: 9px; height: 9px; border-radius: 2px; }
.is-square .bd-hub { flex-wrap: wrap; align-content: center; gap: 12px 16px; padding: 0 24px; border-radius: 26px; }
.is-square .bd-hub-name { font-size: 28px; }
.is-square .bd-hub-sub { font-size: 15px; }
.is-square .bd-hub-live { height: 32px; padding: 0 13px; font-size: 15px; }
.is-square .bd-app { flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; padding: 0 20px; border-radius: 22px; }
.is-square .bd-app-ic { width: 44px; height: 44px; border-radius: 13px; }
.is-square .bd-app-name { font-size: 22px; }
.is-square .bd-app-sub { font-size: 14px; }
.is-square .rl-tour-cap { height: 130px; }
.is-square .rl-cap-item { display: grid; align-content: start; gap: 8px; }
.is-square .rl-cap-left { gap: 16px; }
.is-square .rl-cap-idx { font-size: 20px; }
.is-square .bd-app-mark { left: 28px; top: 22px; height: 52px; }
.is-square .rl-kbar { left: 28px; right: 28px; }
